From 7d5cf4a3194f85f8ca843aaa7cae55b847aa9187 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Wed, 29 Jun 2022 17:36:35 -0700 Subject: [PATCH 1/3] Fix hot restart hang if injected client throws an error --- dwds/CHANGELOG.md | 4 + dwds/lib/src/debugging/inspector.dart | 4 +- dwds/lib/src/dwds_vm_client.dart | 23 +- dwds/lib/src/injected/client.js | 4234 +++++++++-------- .../src/services/chrome_debug_exception.dart | 17 +- dwds/lib/src/utilities/shared.dart | 9 +- dwds/lib/src/version.dart | 2 +- dwds/pubspec.yaml | 2 +- dwds/web/reloader/require_restarter.dart | 4 +- 9 files changed, 2262 insertions(+), 2037 deletions(-) diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md index e35a82aec..1badeeb1e 100644 --- a/dwds/CHANGELOG.md +++ b/dwds/CHANGELOG.md @@ -1,3 +1,7 @@ +## 15.0.1-dev +- Fix a hang and report errors on hot reload exceptions from the injected + client. + ## 15.0.0 - Port some `dwds` files to null safety. - Fix failing `frontend_server_evaluate` tests. diff --git a/dwds/lib/src/debugging/inspector.dart b/dwds/lib/src/debugging/inspector.dart index bc76be14c..58655512c 100644 --- a/dwds/lib/src/debugging/inspector.dart +++ b/dwds/lib/src/debugging/inspector.dart @@ -314,11 +314,13 @@ class AppInspector extends Domain { } /// Evaluate [expression] by calling Chrome's Runtime.evaluate. - Future jsEvaluate(String expression) async { + Future jsEvaluate(String expression, + {bool awaitPromise = false}) async { // TODO(alanknight): Support a version with arguments if needed. WipResponse result; result = await remoteDebugger.sendCommand('Runtime.evaluate', params: { 'expression': expression, + 'awaitPromise': awaitPromise, 'contextId': await contextId, }); handleErrorIfPresent(result, evalContents: expression, additionalDetails: { diff --git a/dwds/lib/src/dwds_vm_client.dart b/dwds/lib/src/dwds_vm_client.dart index 7c2618dd2..980e11b30 100644 --- a/dwds/lib/src/dwds_vm_client.dart +++ b/dwds/lib/src/dwds_vm_client.dart @@ -13,7 +13,8 @@ import 'package:vm_service/vm_service.dart'; import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart'; import 'events.dart'; -import 'services/chrome_proxy_service.dart' show ChromeProxyService; +import 'services/chrome_proxy_service.dart'; +import 'services/chrome_debug_exception.dart'; import 'services/debug_service.dart'; final _logger = Logger('DwdsVmClient'); @@ -187,10 +188,9 @@ Future> _hotRestart( chromeProxyService.terminatingIsolates = true; await _disableBreakpointsAndResume(client, chromeProxyService); - int context; try { _logger.info('Attempting to get execution context ID.'); - context = await chromeProxyService.executionContext.id; + await chromeProxyService.executionContext.id; _logger.info('Got execution context ID.'); } on StateError catch (e) { // We couldn't find the execution context. `hotRestart` may have been @@ -209,12 +209,9 @@ Future> _hotRestart( // Generate run id to hot restart all apps loaded into the tab. final runId = const Uuid().v4().toString(); _logger.info('Issuing \$dartHotRestartDwds request'); - await chromeProxyService.remoteDebugger - .sendCommand('Runtime.evaluate', params: { - 'expression': '\$dartHotRestartDwds(\'$runId\');', - 'awaitPromise': true, - 'contextId': context, - }); + await chromeProxyService + .appInspectorProvider() + .jsEvaluate('\$dartHotRestartDwds(\'$runId\');', awaitPromise: true); _logger.info('\$dartHotRestartDwds request complete.'); } on WipError catch (exception) { final code = exception.error['code']; @@ -229,6 +226,14 @@ Future> _hotRestart( } }; } + } on ChromeDebugException catch (exception) { + // Exceptions thrown by the injected client during hot restart. + return { + 'error': { + 'code': RPCError.kInternalError, + 'message': '$exception', + } + }; } _logger.info('Waiting for Isolate Start event.'); diff --git a/dwds/lib/src/injected/client.js b/dwds/lib/src/injected/client.js index 3a63f9227..705fda617 100644 --- a/dwds/lib/src/injected/client.js +++ b/dwds/lib/src/injected/client.js @@ -1,4 +1,4 @@ -// Generated by dart2js (NullSafetyMode.unsound, csp), the Dart to JavaScript compiler version: 2.18.0-163.0.dev. +// Generated by dart2js (NullSafetyMode.sound, csp), the Dart to JavaScript compiler version: 2.18.0-216.0.dev. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -242,16 +242,13 @@ 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 '" + A.S(fieldName) + "' has been assigned during initialization."); + return new A.LateError("Field '" + fieldName + "' has been assigned during initialization."); }, LateError$fieldNI(fieldName) { - return new A.LateError("Field '" + A.S(fieldName) + "' has not been initialized."); + return new A.LateError("Field '" + fieldName + "' has not been initialized."); }, LateError$fieldAI(fieldName) { - return new A.LateError("Field '" + A.S(fieldName) + "' has already been initialized."); - }, - ReachabilityError$(_message) { - return new A.ReachabilityError(_message); + return new A.LateError("Field '" + fieldName + "' has already been initialized."); }, hexDigitValue(char) { var letter, @@ -264,8 +261,6 @@ return -1; }, SystemHash_combine(hash, value) { - if (typeof hash !== "number") - return hash.$add(); hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; @@ -276,8 +271,6 @@ return hash + ((hash & 16383) << 15) & 536870911; }, checkNotNullable(value, $name, $T) { - if (value == null) - throw A.wrapException(new A.NotNullableError($name, $T._eval$1("NotNullableError<0>"))); return value; }, SubListIterable$(_iterable, _start, _endOrLength, $E) { @@ -346,7 +339,7 @@ } }, Sort__dualPivotQuicksort(a, left, right, compare, $E) { - var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, comp_pivot1, comp_pivot2, + var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6), index1 = left + sixth, index5 = right - sixth, @@ -444,8 +437,6 @@ comp = compare.call$2(ak, el2); if (comp === 0) continue; - if (typeof comp !== "number") - return comp.$lt(); if (comp < 0) { if (k !== less) { t1.$indexSet(a, k, t1.$index(a, less)); @@ -455,8 +446,6 @@ } else for (; true;) { comp = compare.call$2(t1.$index(a, great), el2); - if (typeof comp !== "number") - return comp.$gt(); if (comp > 0) { --great; continue; @@ -483,49 +472,34 @@ } else { for (k = less; k <= great; ++k) { ak = t1.$index(a, k); - comp_pivot1 = compare.call$2(ak, el2); - if (typeof comp_pivot1 !== "number") - return comp_pivot1.$lt(); - if (comp_pivot1 < 0) { + 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 { - comp_pivot2 = compare.call$2(ak, el4); - if (typeof comp_pivot2 !== "number") - return comp_pivot2.$gt(); - if (comp_pivot2 > 0) - for (; true;) { - comp = compare.call$2(t1.$index(a, great), el4); - if (typeof comp !== "number") - return comp.$gt(); - if (comp > 0) { - --great; - if (great < k) - break; - continue; - } else { - comp = compare.call$2(t1.$index(a, great), el2); - if (typeof comp !== "number") - return comp.$lt(); - 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); - less = less0; - } else { - t1.$indexSet(a, k, t1.$index(a, great)); - t1.$indexSet(a, great, ak); - } - great = great0; + } 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; } @@ -560,11 +534,8 @@ break; continue; } else { - comp = compare.call$2(t1.$index(a, great), el2); - if (typeof comp !== "number") - return comp.$lt(); great0 = great - 1; - if (comp < 0) { + 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)); @@ -626,17 +597,10 @@ LateError: function LateError(t0) { this._message = t0; }, - ReachabilityError: function ReachabilityError(t0) { - this._message = t0; - }, nullFuture_closure: function nullFuture_closure() { }, SentinelValue: function SentinelValue() { }, - NotNullableError: function NotNullableError(t0, t1) { - this._name = t0; - this.$ti = t1; - }, EfficientLengthIterable: function EfficientLengthIterable() { }, ListIterable: function ListIterable() { @@ -720,7 +684,7 @@ this.$ti = t1; }, Symbol: function Symbol(t0) { - this._name = t0; + this.__internal$_name = t0; }, __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { }, @@ -756,8 +720,6 @@ else if (value == null) return "null"; result = J.toString$0$(value); - if (typeof result != "string") - throw A.wrapException(A.ArgumentError$value(value, "object", "toString method returned 'null'")); return result; }, Primitives_objectHashCode(object) { @@ -773,10 +735,8 @@ return hash; }, Primitives_parseInt(source, radix) { - var match, decimalMatch, maxCharCode, digitsPart, t1, i, _null = null; - if (typeof source != "string") - A.throwExpression(A.argumentErrorValue(source)); - match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); + 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; if (3 >= match.length) @@ -806,23 +766,18 @@ return A.Primitives__objectTypeNameNewRti(object); }, Primitives__objectTypeNameNewRti(object) { - var interceptor, dispatchName, t1, $constructor, constructorName; + var interceptor, dispatchName, $constructor, constructorName; if (object instanceof A.Object) return A._rtiToString(A.instanceType(object), null); interceptor = J.getInterceptor$(object); if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) { dispatchName = B.C_JS_CONST(object); - t1 = dispatchName !== "Object" && dispatchName !== ""; - if (t1) + if (dispatchName !== "Object" && dispatchName !== "") 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) + if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "") return constructorName; } } @@ -1008,14 +963,14 @@ 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[A._asStringS(keys[_i])]; + defaultValue = defaultValues[A._asString(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) { - key = A._asStringS(keys[_i]); + key = A._asString(keys[_i]); if (namedArguments.containsKey$1(0, key)) { ++used; B.JSArray_methods.add$1($arguments, namedArguments.$index(0, key)); @@ -1041,17 +996,11 @@ throw A.wrapException(A.diagnoseIndexError(receiver, index)); }, diagnoseIndexError(indexable, index) { - var $length, t1, _s5_ = "index"; + var $length, _s5_ = "index"; if (!A._isInt(index)) return new A.ArgumentError(true, index, _s5_, null); - $length = A._asIntS(J.get$length$asx(indexable)); - if (!(index < 0)) { - if (typeof $length !== "number") - return A.iae($length); - t1 = index >= $length; - } else - t1 = true; - if (t1) + $length = A._asInt(J.get$length$asx(indexable)); + if (index < 0 || index >= $length) return A.IndexError$(index, indexable, _s5_, null, $length); return A.RangeError$value(index, _s5_); }, @@ -1067,8 +1016,6 @@ return new A.ArgumentError(true, object, null, null); }, checkNum(value) { - if (typeof value != "number") - throw A.wrapException(A.argumentErrorValue(value)); return value; }, wrapException(ex) { @@ -1132,10 +1079,13 @@ return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); }, unwrapException(ex) { + var t1; if (ex == null) return new A.NullThrownFromJavaScriptException(ex); - if (ex instanceof A.ExceptionAndStackTrace) - return A.saveStackTrace(ex, ex.dartException); + if (ex instanceof A.ExceptionAndStackTrace) { + t1 = ex.dartException; + return A.saveStackTrace(ex, t1 == null ? type$.Object._as(t1) : t1); + } if (typeof ex !== "object") return ex; if ("dartException" in ex) @@ -1179,12 +1129,12 @@ undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); match = nsme.matchTypeError$1(message); if (match != null) - return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asStringS(message), match)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); else { match = notClosure.matchTypeError$1(message); if (match != null) { match.method = "call"; - return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asStringS(message), match)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); } else { match = nullCall.matchTypeError$1(message); if (match == null) { @@ -1217,7 +1167,7 @@ } else t1 = true; if (t1) { - A._asStringS(message); + A._asString(message); return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method)); } } @@ -1270,7 +1220,7 @@ }, invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { type$.Function._as(closure); - switch (A._asIntS(numberOfArguments)) { + switch (A._asInt(numberOfArguments)) { case 0: return closure.call$0(); case 1: @@ -1313,7 +1263,6 @@ $function = container[$name], t1 = parameters.fT; t1.toString; - A.boolConversionCheck(isStatic); $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype); $prototype.$initialize = $prototype.constructor; if (isStatic) @@ -1363,7 +1312,7 @@ if (typeof functionType == "number") return functionType; if (typeof functionType == "string") { - if (A.boolConversionCheck(isStatic)) + if (isStatic) throw A.wrapException("Cannot compute signature for static tearoff."); return function(recipe, evalOnReceiver) { return function() { @@ -1375,7 +1324,7 @@ }, Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) { var getReceiver = A.BoundClosure_receiverOf; - switch (A.boolConversionCheck(needsDirectAccess) ? -1 : arity) { + switch (needsDirectAccess ? -1 : arity) { case 0: return function(entry, receiverOf) { return function() { @@ -1422,7 +1371,7 @@ }, Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) { var arity, t1; - if (A.boolConversionCheck(isIntercepted)) + if (isIntercepted) return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); arity = $function.length; t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function); @@ -1431,7 +1380,7 @@ Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) { var getReceiver = A.BoundClosure_receiverOf, getInterceptor = A.BoundClosure_interceptorOf; - switch (A.boolConversionCheck(needsDirectAccess) ? -1 : arity) { + switch (needsDirectAccess ? -1 : arity) { case 0: throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments.")); case 1: @@ -1537,7 +1486,7 @@ }, lookupAndCacheInterceptor(obj) { var interceptor, interceptorClass, altTag, mark, t1, - tag = A._asStringS($.getTagFunction.call$1(obj)), + tag = A._asString($.getTagFunction.call$1(obj)), record = $.dispatchRecordsForInstanceTags[tag]; if (record != null) { Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); @@ -1691,13 +1640,12 @@ throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); }, stringContainsUnchecked(receiver, other, startIndex) { - var t1, t2; + 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); - t2 = other._nativeRegExp; - return t2.test(t1); + return other._nativeRegExp.test(t1); } else { t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)); return !t1.get$isEmpty(t1); @@ -1887,7 +1835,7 @@ return t1.__late_helper$_value = t1; }, _Cell: function _Cell(t0) { - this.__late_helper$_name = t0; + this._name = t0; this.__late_helper$_value = null; }, _ensureNativeList(list) { @@ -1897,8 +1845,6 @@ return new Int8Array(arg); }, NativeUint8List_NativeUint8List$view(buffer, offsetInBytes, $length) { - if (!A._isInt(offsetInBytes)) - A.throwExpression(A.ArgumentError$("Invalid view offsetInBytes " + A.S(offsetInBytes), null)); return $length == null ? new Uint8Array(buffer, offsetInBytes) : new Uint8Array(buffer, offsetInBytes, $length); }, _checkValidIndex(index, list, $length) { @@ -2184,13 +2130,12 @@ return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); }, _installSpecializedIsTest(object) { - var unstarred, isFn, $name, testRti = this, - t1 = type$.Object; - if (testRti === t1) + 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 = testRti === t1; + t1 = false; else t1 = true; else @@ -2226,10 +2171,11 @@ return testRti._is(object); }, _installSpecializedAsCheck(object) { - var t1, asFn, testRti = this; + var t1, testRti = this, + asFn = A._generalAsCheckImplementation; if (!A.isStrongTopType(testRti)) if (!(testRti === type$.legacy_Object)) - t1 = testRti === type$.Object; + t1 = false; else t1 = true; else @@ -2238,8 +2184,11 @@ asFn = A._asTop; else if (testRti === type$.Object) asFn = A._asObject; - else - asFn = A._generalNullableAsCheckImplementation; + else { + t1 = A.isNullable(testRti); + if (t1) + asFn = A._generalNullableAsCheckImplementation; + } testRti._as = asFn; return testRti._as(object); }, @@ -2295,10 +2244,12 @@ return !!J.getInterceptor$(object)[tag]; }, _generalAsCheckImplementation(object) { - var testRti = this; - if (object == null) - return object; - else if (testRti._is(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); }, @@ -2317,11 +2268,11 @@ var _null = null; if (A._isSubtype(init.typeUniverse, type, _null, bound, _null)) return type; - throw A.wrapException(A._TypeError$fromMessage("The type argument '" + A.S(A._rtiToString(type, _null)) + "' is not a subtype of the type variable bound '" + A.S(A._rtiToString(bound, _null)) + "' of type variable '" + A.S(variable) + "' in '" + A.S(methodName) + "'.")); + throw A.wrapException(A._TypeError$fromMessage("The type argument '" + A._rtiToString(type, _null) + "' is not a subtype of the type variable bound '" + A._rtiToString(bound, _null) + "' of type variable '" + variable + "' in '" + methodName + "'.")); }, _Error_compose(object, objectRti, checkedTypeDescription) { var objectDescription = A.Error_safeToString(object); - return objectDescription + ": type '" + A.S(A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null)) + "' is not a subtype of type '" + A.S(checkedTypeDescription) + "'"; + return objectDescription + ": type '" + A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null) + "' is not a subtype of type '" + checkedTypeDescription + "'"; }, _TypeError$fromMessage(message) { return new A._TypeError("TypeError: " + message); @@ -2333,7 +2284,9 @@ return object != null; }, _asObject(object) { - return object; + if (object != null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "Object")); }, _isTop(object) { return true; @@ -2457,11 +2410,11 @@ _rtiArrayToString(array, genericContext) { var s, sep, i; for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ") - s += B.JSString_methods.$add(sep, A._rtiToString(array[i], genericContext)); + s += sep + A._rtiToString(array[i], genericContext); return s; }, _functionRtiToString(functionType, genericContext, bounds) { - var boundsLength, outerContextLength, offset, i, t1, t2, t3, typeParametersText, typeSep, t4, t5, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; + var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, t3, t4, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; if (bounds != null) { boundsLength = bounds.length; if (genericContext == null) { @@ -2472,23 +2425,23 @@ offset = genericContext.length; for (i = boundsLength; i > 0; --i) B.JSArray_methods.add$1(genericContext, "T" + (offset + i)); - for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, t3 = type$.Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { - t4 = genericContext.length; - t5 = t4 - 1 - i; - if (!(t5 >= 0)) - return A.ioore(genericContext, t5); - typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[t5]); + for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { + t3 = genericContext.length; + t4 = t3 - 1 - i; + if (!(t4 >= 0)) + return A.ioore(genericContext, t4); + typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[t4]); boundRti = bounds[i]; kind = boundRti._kind; if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1)) if (!(boundRti === t2)) - t4 = boundRti === t3; + t3 = false; else - t4 = true; + t3 = true; else - t4 = true; - if (!t4) - typeParametersText += B.JSString_methods.$add(" extends ", A._rtiToString(boundRti, genericContext)); + t3 = true; + if (!t3) + typeParametersText += " extends " + A._rtiToString(boundRti, genericContext); } typeParametersText += ">"; } else { @@ -2505,11 +2458,11 @@ namedLength = named.length; returnTypeText = A._rtiToString(t1, genericContext); for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_) - argumentsText += B.JSString_methods.$add(sep, A._rtiToString(requiredPositional[i], genericContext)); + argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext); if (optionalPositionalLength > 0) { argumentsText += sep + "["; for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_) - argumentsText += B.JSString_methods.$add(sep, A._rtiToString(optionalPositional[i], genericContext)); + argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext); argumentsText += "]"; } if (namedLength > 0) { @@ -2518,7 +2471,7 @@ argumentsText += sep; if (named[i + 1]) argumentsText += "required "; - argumentsText += J.$add$ns(A._rtiToString(named[i + 2], genericContext), " ") + named[i]; + argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i]; } argumentsText += "}"; } @@ -2526,7 +2479,7 @@ genericContext.toString; genericContext.length = outerContextLength; } - return typeParametersText + "(" + argumentsText + ") => " + A.S(returnTypeText); + return typeParametersText + "(" + argumentsText + ") => " + returnTypeText; }, _rtiToString(rti, genericContext) { var s, questionArgument, argumentKind, $name, $arguments, t1, t2, @@ -2549,10 +2502,10 @@ questionArgument = rti._primary; s = A._rtiToString(questionArgument, genericContext); argumentKind = questionArgument._kind; - return J.$add$ns(argumentKind === 11 || argumentKind === 12 ? B.JSString_methods.$add("(", s) + ")" : s, "?"); + return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?"; } if (kind === 8) - return "FutureOr<" + A.S(A._rtiToString(rti._primary, genericContext)) + ">"; + return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">"; if (kind === 9) { $name = A._unminifyOrTag(rti._primary); $arguments = rti._rest; @@ -2563,7 +2516,6 @@ if (kind === 12) return A._functionRtiToString(rti._primary, genericContext, rti._rest); if (kind === 13) { - genericContext.toString; t1 = rti._primary; t2 = genericContext.length; t1 = t2 - 1 - t1; @@ -2587,8 +2539,8 @@ }, _Universe_findErasedType(universe, cls) { var $length, erased, $arguments, i, $interface, - metadata = universe.eT, - probe = metadata[cls]; + t1 = universe.eT, + probe = t1[cls]; if (probe == null) return A._Universe_eval(universe, cls, false); else if (typeof probe == "number") { @@ -2598,7 +2550,7 @@ for (i = 0; i < $length; ++i) $arguments[i] = erased; $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments); - metadata[cls] = $interface; + t1[cls] = $interface; return $interface; } else return probe; @@ -2611,12 +2563,12 @@ }, _Universe_eval(universe, recipe, normalize) { var rti, - cache = universe.eC, - probe = cache.get(recipe); + t1 = universe.eC, + probe = t1.get(recipe); if (probe != null) return probe; rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize)); - cache.set(recipe, rti); + t1.set(recipe, rti); return rti; }, _Universe_evalInEnvironment(universe, environment, recipe) { @@ -2746,7 +2698,7 @@ t1 = baseType._kind; if (!A.isStrongTopType(baseType)) if (!(baseType === type$.legacy_Object)) - t2 = baseType === type$.Object; + t2 = false; else t2 = true; else @@ -2906,142 +2858,142 @@ return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; }, _Parser_parse(parser) { - var t1, i, ch, universe, array, head, base, u, parameters, optionalPositional, named, item, + var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item, source = parser.r, - stack = parser.s; - for (t1 = source.length, i = 0; i < t1;) { + 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, stack); + 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, stack, false); + i = A._Parser_handleIdentifier(parser, i, source, t1, false); else if (ch === 46) - i = A._Parser_handleIdentifier(parser, i, source, stack, true); + i = A._Parser_handleIdentifier(parser, i, source, t1, true); else { ++i; switch (ch) { case 44: break; case 58: - stack.push(false); + t1.push(false); break; case 33: - stack.push(true); + t1.push(true); break; case 59: - stack.push(A._Parser_toType(parser.u, parser.e, stack.pop())); + t1.push(A._Parser_toType(parser.u, parser.e, t1.pop())); break; case 94: - stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop())); + t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop())); break; case 35: - stack.push(A._Universe__lookupTerminalRti(parser.u, 5, "#")); + t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#")); break; case 64: - stack.push(A._Universe__lookupTerminalRti(parser.u, 2, "@")); + t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@")); break; case 126: - stack.push(A._Universe__lookupTerminalRti(parser.u, 3, "~")); + t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~")); break; case 60: - stack.push(parser.p); - parser.p = stack.length; + t1.push(parser.p); + parser.p = t1.length; break; case 62: - universe = parser.u; - array = stack.splice(parser.p); + t3 = parser.u; + array = t1.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); - parser.p = stack.pop(); - head = stack.pop(); + parser.p = t1.pop(); + head = t1.pop(); if (typeof head == "string") - stack.push(A._Universe__lookupInterfaceRti(universe, head, array)); + t1.push(A._Universe__lookupInterfaceRti(t3, head, array)); else { - base = A._Parser_toType(universe, parser.e, head); + base = A._Parser_toType(t3, parser.e, head); switch (base._kind) { case 11: - stack.push(A._Universe__lookupGenericFunctionRti(universe, base, array, parser.n)); + t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n)); break; default: - stack.push(A._Universe__lookupBindingRti(universe, base, array)); + t1.push(A._Universe__lookupBindingRti(t3, base, array)); break; } } break; case 38: - A._Parser_handleExtendedOperations(parser, stack); + A._Parser_handleExtendedOperations(parser, t1); break; case 42: - u = parser.u; - stack.push(A._Universe__lookupStarRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n)); + t3 = parser.u; + t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 63: - u = parser.u; - stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n)); + t3 = parser.u; + t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 47: - u = parser.u; - stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n)); + t3 = parser.u; + t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 40: - stack.push(parser.p); - parser.p = stack.length; + t1.push(parser.p); + parser.p = t1.length; break; case 41: - universe = parser.u; + t3 = parser.u; parameters = new A._FunctionParameters(); - optionalPositional = universe.sEA; - named = universe.sEA; - head = stack.pop(); + optionalPositional = t3.sEA; + named = t3.sEA; + head = t1.pop(); if (typeof head == "number") switch (head) { case -1: - optionalPositional = stack.pop(); + optionalPositional = t1.pop(); break; case -2: - named = stack.pop(); + named = t1.pop(); break; default: - stack.push(head); + t1.push(head); break; } else - stack.push(head); - array = stack.splice(parser.p); + t1.push(head); + array = t1.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); - parser.p = stack.pop(); + parser.p = t1.pop(); parameters._requiredPositional = array; parameters._optionalPositional = optionalPositional; parameters._named = named; - stack.push(A._Universe__lookupFunctionRti(universe, A._Parser_toType(universe, parser.e, stack.pop()), parameters)); + t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters)); break; case 91: - stack.push(parser.p); - parser.p = stack.length; + t1.push(parser.p); + parser.p = t1.length; break; case 93: - array = stack.splice(parser.p); + array = t1.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); - parser.p = stack.pop(); - stack.push(array); - stack.push(-1); + parser.p = t1.pop(); + t1.push(array); + t1.push(-1); break; case 123: - stack.push(parser.p); - parser.p = stack.length; + t1.push(parser.p); + parser.p = t1.length; break; case 125: - array = stack.splice(parser.p); + array = t1.splice(parser.p); A._Parser_toTypesNamed(parser.u, parser.e, array); - parser.p = stack.pop(); - stack.push(array); - stack.push(-2); + parser.p = t1.pop(); + t1.push(array); + t1.push(-2); break; default: throw "Bad character " + ch; } } } - item = stack.pop(); + item = t1.pop(); return A._Parser_toType(parser.u, parser.e, item); }, _Parser_handleDigit(i, digit, source, stack) { @@ -3148,7 +3100,7 @@ return true; if (!A.isStrongTopType(t)) if (!(t === type$.legacy_Object)) - t1 = t === type$.Object; + t1 = false; else t1 = true; else @@ -3161,7 +3113,7 @@ if (A.isStrongTopType(s)) return false; if (s._kind !== 1) - t1 = s === type$.Null || s === type$.JSNull; + t1 = false; else t1 = true; if (t1) @@ -3171,10 +3123,23 @@ 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 = t._primary; + t1 = A.Rti__getQuestionFromStar(universe, t); return A._isSubtype(universe, s, sEnv, t1, tEnv); } if (sKind === 8) { @@ -3183,8 +3148,8 @@ return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); } if (sKind === 7) { - t1 = A._isSubtype(universe, s._primary, sEnv, t, tEnv); - return t1; + 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)) @@ -3192,8 +3157,8 @@ return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv); } if (tKind === 7) { - t1 = A._isSubtype(universe, s, sEnv, t._primary, tEnv); - return t1; + t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv); + return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv); } if (leftTypeVariable) return false; @@ -3235,7 +3200,7 @@ 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; + 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; @@ -3281,14 +3246,26 @@ sIndex += 3; if (tName < sName) return false; - if (sName < tName) + 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) { @@ -3349,7 +3326,7 @@ var t1; if (!A.isStrongTopType(t)) if (!(t === type$.legacy_Object)) - t1 = t === type$.Object; + t1 = false; else t1 = true; else @@ -3523,9 +3500,15 @@ } }, Future_Future$value(value, $T) { - var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); - t1._asyncComplete$1(value); - return t1; + var t1, t2; + if (value == null) { + $T._as(value); + t1 = value; + } else + t1 = value; + t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t2._asyncComplete$1(t1); + return t2; }, Completer_Completer($T) { return new A._AsyncCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncCompleter<0>")); @@ -3590,7 +3573,6 @@ zone = t1.result._zone; if (hasError) { t1 = t5._zone; - t1.toString; t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone()); } else t1 = false; @@ -3601,7 +3583,7 @@ return; } oldZone = $.Zone__current; - if (oldZone != zone) + if (oldZone !== zone) $.Zone__current = zone; else oldZone = null; @@ -3624,19 +3606,16 @@ if (t5) { t4._as(t1); result = _box_0.listener.result; - if (t1 instanceof A._Future) - if ((t1._state & 24) !== 0) { - current = t3._as(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); + if ((t1._state & 24) !== 0) { + current = t3._as(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); return; } } @@ -3773,14 +3752,16 @@ _nullDataHandler(value) { }, _nullErrorHandler(error, stackTrace) { + type$.Object._as(error); type$.StackTrace._as(stackTrace); $.Zone__current.handleUncaughtError$2(error, stackTrace); }, _nullDoneHandler() { }, _cancelAndValue(subscription, future, value) { - var cancelFuture = subscription.cancel$0(0); - if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + 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); @@ -3808,10 +3789,8 @@ type$.Zone._as(zone); $R._eval$1("0()")._as(f); t1 = $.Zone__current; - if (t1 == zone) + if (t1 === zone) return f.call$0(); - if (!(zone instanceof A._Zone)) - throw A.wrapException(A.ArgumentError$value(zone, "zone", "Can only run in platform zones")); $.Zone__current = zone; old = t1; try { @@ -3829,10 +3808,8 @@ $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); $T._as(arg); t1 = $.Zone__current; - if (t1 == zone) + if (t1 === zone) return f.call$1(arg); - if (!(zone instanceof A._Zone)) - throw A.wrapException(A.ArgumentError$value(zone, "zone", "Can only run in platform zones")); $.Zone__current = zone; old = t1; try { @@ -3851,10 +3828,8 @@ T1._as(arg1); T2._as(arg2); t1 = $.Zone__current; - if (t1 == zone) + if (t1 === zone) return f.call$2(arg1, arg2); - if (!(zone instanceof A._Zone)) - throw A.wrapException(A.ArgumentError$value(zone, "zone", "Can only run in platform zones")); $.Zone__current = zone; old = t1; try { @@ -3902,7 +3877,7 @@ return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback); }, _rootPrint($self, $parent, zone, line) { - A.printString(A._asStringS(line)); + A.printString(A._asString(line)); }, _printToZone(line) { $.Zone__current.print$1(0, line); @@ -3912,9 +3887,8 @@ type$.nullable_ZoneSpecification._as(specification); type$.nullable_Map_of_nullable_Object_and_nullable_Object._as(zoneValues); $.printToZone = A.async___printToZone$closure(); - if (specification == null) - specification = B._ZoneSpecification_ALf; valueMap = zone.get$_async$_map(); + valueMap = valueMap; 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) @@ -4201,18 +4175,16 @@ }, _DelayedDone: function _DelayedDone() { }, - _PendingEvents: function _PendingEvents() { + _PendingEvents: function _PendingEvents(t0) { + var _ = this; + _._state = 0; + _.lastPendingEvent = _.firstPendingEvent = null; + _.$ti = t0; }, _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { this.$this = t0; this.dispatch = t1; }, - _StreamImplEvents: function _StreamImplEvents(t0) { - var _ = this; - _.lastPendingEvent = _.firstPendingEvent = null; - _._state = 0; - _.$ti = t0; - }, _StreamIterator: function _StreamIterator(t0) { this.$ti = t0; }, @@ -4377,12 +4349,17 @@ return new A._CustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_CustomHashMap<1,2>")); }, LinkedHashMap_LinkedHashMap(hashCode, isValidKey, $K, $V) { + var equals; if (isValidKey == null) { if (hashCode == null) return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); - } else if (hashCode == null) - hashCode = A.collection___defaultHashCode$closure(); - return A._LinkedCustomHashMap$(A.collection___defaultEquals$closure(), hashCode, isValidKey, $K, $V); + equals = A.collection___defaultEquals$closure(); + } else { + if (hashCode == null) + hashCode = A.collection___defaultHashCode$closure(); + equals = A.collection___defaultEquals$closure(); + } + return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V); }, LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) { return $K._eval$1("@<0>")._bind$1($V)._eval$1("LinkedHashMap<1,2>")._as(A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")))); @@ -4775,10 +4752,7 @@ __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() { }, _parseJson(source, reviver) { - var parsed, e, exception, t1; - if (typeof source != "string") - throw A.wrapException(A.argumentErrorValue(source)); - parsed = null; + var e, exception, t1, parsed = null; try { parsed = JSON.parse(source); } catch (exception) { @@ -4894,8 +4868,7 @@ return A.Primitives_applyFunction($function, positionalArguments, namedArguments == null ? null : A._symbolMapToStringMap(namedArguments)); }, Expando__checkType(object) { - var t1 = typeof object == "number" || false; - if (t1) + if (typeof object == "number" || false) throw A.wrapException(A.ArgumentError$value(object, "Expandos are not allowed on strings, numbers, booleans or null", null)); }, int_parse(source, radix) { @@ -4907,11 +4880,13 @@ Error__objectToString(object) { if (object instanceof A.Closure) return object.toString$0(0); - return "Instance of '" + A.S(A.Primitives_objectTypeName(object)) + "'"; + return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; }, Error__throw(error, stackTrace) { error = A.wrapException(error); - error.stack = J.toString$0$(stackTrace); + if (error == null) + error = type$.Object._as(error); + error.stack = stackTrace.toString$0(0); throw error; throw A.wrapException("unreachable"); }, @@ -5023,8 +4998,6 @@ _s16_ = "0123456789ABCDEF"; if (encoding === B.C_Utf8Codec) { t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp; - if (typeof text != "string") - A.throwExpression(A.argumentErrorValue(text)); t1 = t1.test(text); } else t1 = false; @@ -5155,8 +5128,6 @@ var t2, t1 = digits.length; while (true) { - if (typeof used !== "number") - return used.$gt(); if (used > 0) { t2 = used - 1; if (!(t2 < t1)) @@ -5171,21 +5142,15 @@ return used; }, _BigIntImpl__cloneDigits(digits, from, to, $length) { - var resultDigits, n, t1, i, t2; - if (!A._isInt($length)) - A.throwExpression(A.ArgumentError$("Invalid length " + A.S($length), null)); - resultDigits = new Uint16Array($length); - if (typeof to !== "number") - return to.$sub(); - if (typeof from !== "number") - return A.iae(from); - n = to - from; - for (t1 = resultDigits.length, i = 0; i < n; ++i) { + var t1, i, t2, + resultDigits = new Uint16Array($length), + n = to - from; + for (t1 = digits.length, i = 0; i < n; ++i) { t2 = from + i; - if (!(t2 >= 0 && t2 < digits.length)) + if (!(t2 >= 0 && t2 < t1)) return A.ioore(digits, t2); t2 = digits[t2]; - if (!(i < t1)) + if (!(i < $length)) return A.ioore(resultDigits, i); resultDigits[i] = t2; } @@ -5454,12 +5419,6 @@ return JSON.stringify(object); return A.Error__objectToString(object); }, - Error_throwWithStackTrace(error, stackTrace) { - A.checkNotNullable(error, "error", type$.Object); - A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace); - A.Error__throw(error, stackTrace); - A.ReachabilityError$(string$._null_); - }, AssertionError$(message) { return new A.AssertionError(message); }, @@ -5473,8 +5432,6 @@ return new A.ArgumentError(false, null, $name, "Must not be null"); }, ArgumentError_checkNotNull(argument, $name, $T) { - if (argument == null) - throw A.wrapException(A.ArgumentError$notNull($name)); return argument; }, RangeError$(message) { @@ -5503,7 +5460,7 @@ return value; }, IndexError$(invalidValue, indexable, $name, message, $length) { - var t1 = A._asIntS($length == null ? J.get$length$asx(indexable) : $length); + var t1 = A._asInt($length == null ? J.get$length$asx(indexable) : $length); return new A.IndexError(t1, true, invalidValue, $name, "Index out of range"); }, UnsupportedError$(message) { @@ -5528,7 +5485,7 @@ 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; + var t1, t2; if (B.C_SentinelValue === object3) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); @@ -5544,8 +5501,8 @@ object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); - object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4)); - return object4; + t2 = $.$get$_hashSeed(); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3), object4)); }, print(object) { var toZone = $.printToZone; @@ -5687,10 +5644,8 @@ if (schemeEnd > 0) scheme = A._Uri__makeScheme(uri, 0, schemeEnd); else { - if (schemeEnd === 0) { + if (schemeEnd === 0) A._Uri__fail(uri, 0, "Invalid empty scheme"); - A.ReachabilityError$(string$._null_); - } scheme = ""; } if (hostStart > 0) { @@ -5847,10 +5802,8 @@ return ""; if (B.JSString_methods.codeUnitAt$1(host, start) === 91) { t1 = end - 1; - if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93) { + if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93) A._Uri__fail(host, start, "Missing end `]` to match `[` in host"); - A.ReachabilityError$(string$._null_); - } t2 = start + 1; index = A._Uri__checkZoneID(host, t2, t1); if (index < t1) { @@ -5896,10 +5849,8 @@ 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 === "%") { + else if (replacement === "%") A._Uri__fail(host, index, "ZoneID should not contain % anymore"); - A.ReachabilityError$(string$._null_); - } buffer._contents = t2 + replacement; index += 3; sectionStart = index; @@ -6007,10 +5958,9 @@ t1 = (B.List_2Vk[t1] & 1 << (char & 15)) !== 0; } else t1 = false; - if (t1) { + if (t1) A._Uri__fail(host, index, "Invalid character"); - A.ReachabilityError$(string$._null_); - } else { + else { if ((char & 64512) === 55296 && index + 1 < end) { tail = B.JSString_methods.codeUnitAt$1(host, index + 1); if ((tail & 64512) === 56320) { @@ -6046,14 +5996,11 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__makeScheme(scheme, start, end) { - var i, containsUpperCase, codeUnit, t1, - _s67_ = string$._null_; + var i, containsUpperCase, codeUnit, t1; if (start === end) return ""; - if (!A._Uri__isAlphabeticCharacter(J._codeUnitAt$1$s(scheme, start))) { + if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start))) A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); - A.ReachabilityError$(_s67_); - } for (i = start, containsUpperCase = false; i < end; ++i) { codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i); if (codeUnit < 128) { @@ -6063,10 +6010,8 @@ t1 = (B.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; } else t1 = false; - if (!t1) { + if (!t1) A._Uri__fail(scheme, i, "Illegal scheme character"); - A.ReachabilityError$(_s67_); - } if (65 <= codeUnit && codeUnit <= 90) containsUpperCase = true; } @@ -6235,7 +6180,6 @@ t2 = false; if (t2) { A._Uri__fail(component, index, "Invalid character"); - A.ReachabilityError$(string$._null_); sourceLength = _null; replacement = sourceLength; } else { @@ -6560,13 +6504,13 @@ return tables; }, _scan(uri, start, end, state, indices) { - var t1, i, table, char, transition, + var i, table, char, transition, tables = $.$get$_scannerTables(); - for (t1 = J.getInterceptor$s(uri), i = start; i < end; ++i) { + for (i = start; i < end; ++i) { if (!(state >= 0 && state < tables.length)) return A.ioore(tables, state); table = tables[state]; - char = t1._codeUnitAt$1(uri, i) ^ 96; + char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96; transition = table[char > 95 ? 31 : char]; state = transition & 31; B.JSArray_methods.$indexSet(indices, transition >>> 5, i); @@ -6717,7 +6661,7 @@ _.path = t4; _._query = t5; _._fragment = t6; - _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; + _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, _Uri__makePath_closure: function _Uri__makePath_closure() { }, @@ -6754,18 +6698,20 @@ _.path = t4; _._query = t5; _._fragment = t6; - _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; + _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, Expando: function Expando(t0, t1) { this._jsWeakMap = t0; this.$ti = t1; }, CustomEvent_CustomEvent(type) { - var exception, + var e, exception, canBubble = true, cancelable = true, detail = null, - e = type$.CustomEvent._as(document.createEvent("CustomEvent")); + t1 = document.createEvent("CustomEvent"); + t1.toString; + e = type$.CustomEvent._as(t1); e._dartDetail = detail; if (type$.List_dynamic._is(detail) || type$.Map_dynamic_dynamic._is(detail) || typeof detail == "string" || typeof detail == "number") try { @@ -6779,54 +6725,56 @@ return e; }, Element_Element$html(html, treeSanitizer, validator) { - var fragment, + var t2, t1 = document.body; t1.toString; - fragment = B.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator); - fragment.toString; - t1 = type$._ChildNodeListLazy; - t1 = new A.WhereIterable(new A._ChildNodeListLazy(fragment), t1._eval$1("bool(ListMixin.E)")._as(new A.Element_Element$html_closure()), t1._eval$1("WhereIterable")); - return type$.Element._as(t1.get$single(t1)); + t2 = type$._ChildNodeListLazy; + t2 = new A.WhereIterable(new A._ChildNodeListLazy(B.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator)), t2._eval$1("bool(ListMixin.E)")._as(new A.Element_Element$html_closure()), t2._eval$1("WhereIterable")); + return type$.Element._as(t2.get$single(t2)); }, Element__safeTagName(element) { var t1, exception, result = "element tag unavailable"; try { t1 = J.getInterceptor$x(element); - if (typeof t1.get$tagName(element) == "string") - result = t1.get$tagName(element); + t1.get$tagName(element); + result = t1.get$tagName(element); } catch (exception) { } return result; }, EventSource__factoryEventSource(url, eventSourceInitDict) { var t1 = new EventSource(url, A.convertDartToNative_Dictionary(eventSourceInitDict)); + t1.toString; return t1; }, HttpRequest_request(url, method, responseType, sendData, withCredentials) { - var t2, t3, t4, + var t3, t4, t5, 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, method, url, true); + t2 = new XMLHttpRequest(); + t2.toString; + B.HttpRequest_methods.open$3$async(t2, method, url, true); if (withCredentials != null) - B.HttpRequest_methods.set$withCredentials(xhr, withCredentials); + B.HttpRequest_methods.set$withCredentials(t2, withCredentials); if (responseType != null) - xhr.responseType = responseType; - t2 = type$.nullable_void_Function_legacy_ProgressEvent; - t3 = t2._as(new A.HttpRequest_request_closure(xhr, completer)); + t2.responseType = responseType; + t3 = type$.nullable_void_Function_ProgressEvent; + t4 = t3._as(new A.HttpRequest_request_closure(t2, completer)); type$.nullable_void_Function._as(null); - t4 = type$.legacy_ProgressEvent; - A._EventStreamSubscription$(xhr, "load", t3, false, t4); - A._EventStreamSubscription$(xhr, "error", t2._as(completer.get$completeError()), false, t4); + t5 = type$.ProgressEvent; + A._EventStreamSubscription$(t2, "load", t4, false, t5); + A._EventStreamSubscription$(t2, "error", t3._as(completer.get$completeError()), false, t5); if (sendData != null) - xhr.send(sendData); + t2.send(sendData); else - xhr.send(); + t2.send(); return t1; }, WebSocket_WebSocket(url, protocols) { - return new WebSocket(url); + var t1 = new WebSocket(url); + t1.toString; + return t1; }, _EventStreamSubscription$(_target, _eventType, onData, _useCapture, $T) { var t1 = onData == null ? null : A._wrapZone(new A._EventStreamSubscription_closure(onData), type$.Event); @@ -6835,30 +6783,44 @@ return t1; }, _Html5NodeValidator$(uriPolicy) { - var e = document.createElement("a"), - t1 = new A._SameOriginUriPolicy(e, window.location); + var t1 = document.createElement("a"); + t1.toString; + t1 = new A._SameOriginUriPolicy(t1, type$.Location._as(window.location)); t1 = new A._Html5NodeValidator(t1); t1._Html5NodeValidator$1$uriPolicy(uriPolicy); return t1; }, _Html5NodeValidator__standardAttributeValidator(element, attributeName, value, context) { type$.Element._as(element); - A._asStringS(attributeName); - A._asStringS(value); + A._asString(attributeName); + A._asString(value); type$._Html5NodeValidator._as(context); return true; }, _Html5NodeValidator__uriAttributeValidator(element, attributeName, value, context) { - var t1, t2, t3; + var t1, t2, t3, t4, t5; type$.Element._as(element); - A._asStringS(attributeName); - A._asStringS(value); + A._asString(attributeName); + A._asString(value); t1 = type$._Html5NodeValidator._as(context).uriPolicy; t2 = t1._hiddenAnchor; B.AnchorElement_methods.set$href(t2, value); t3 = t2.hostname; t1 = t1._loc; - if (!(t3 == t1.hostname && t2.port == t1.port && t2.protocol == t1.protocol)) + if (t3 == t1.hostname) { + t4 = t2.port; + t5 = t1.port; + t5.toString; + if (t4 === t5) { + t4 = t2.protocol; + t1 = t1.protocol; + t1.toString; + t1 = t4 === t1; + } else + t1 = false; + } else + t1 = false; + if (!t1) if (t3 === "") if (t2.port === "") { t1 = t2.protocol; @@ -6875,9 +6837,9 @@ var t1 = type$.String, t2 = A.LinkedHashSet_LinkedHashSet$from(B.List_wSV, t1), t3 = A._setArrayType(["TEMPLATE"], type$.JSArray_String), - t4 = type$.String_Function_legacy_String._as(new A._TemplatingNodeValidator_closure()); + t4 = type$.String_Function_String._as(new A._TemplatingNodeValidator_closure()); 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, t4, type$.MappedListIterable_of_legacy_String_and_String), t3, null); + t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new A.MappedListIterable(B.List_wSV, t4, type$.MappedListIterable_String_String), t3, null); return t1; }, _convertNativeToDart_XHR_Response(o) { @@ -6886,8 +6848,10 @@ return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true); }, _DOMWindowCrossFrame__createSafe(w) { - if (w === window) - return w; + var t1 = window; + t1.toString; + if (w === t1) + return type$.WindowBase._as(w); else return new A._DOMWindowCrossFrame(); }, @@ -7267,30 +7231,41 @@ __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin: function __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _convertNativeToDart_Value(value) { - var values, i; + var t1, values, i; if (value == null) return value; if (typeof value == "string" || typeof value == "number" || A._isBool(value)) return value; if (A.isJavaScriptSimpleObject(value)) return A.convertNativeToDart_Dictionary(value); - if (Array.isArray(value)) { + t1 = Array.isArray(value); + t1.toString; + if (t1) { values = []; - for (i = 0; i < value.length; ++i) + i = 0; + while (true) { + t1 = value.length; + t1.toString; + if (!(i < t1)) + break; values.push(A._convertNativeToDart_Value(value[i])); + ++i; + } return values; } return value; }, convertNativeToDart_Dictionary(object) { - var dict, keys, t1, _i, key; + var dict, keys, t1, _i, key, t2; if (object == null) return null; dict = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); keys = Object.getOwnPropertyNames(object); for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { key = keys[_i]; - dict.$indexSet(0, key, A._convertNativeToDart_Value(object[key])); + t2 = key; + t2.toString; + dict.$indexSet(0, t2, A._convertNativeToDart_Value(object[key])); } return dict; }, @@ -7315,8 +7290,15 @@ return object; }, isJavaScriptSimpleObject(value) { - var proto = Object.getPrototypeOf(value); - return proto === Object.prototype || proto === null; + var proto = Object.getPrototypeOf(value), + t1 = proto === Object.prototype; + t1.toString; + if (!t1) { + t1 = proto === null; + t1.toString; + } else + t1 = true; + return t1; }, _StructuredClone: function _StructuredClone() { }, @@ -7353,9 +7335,9 @@ }, _callDartFunction(callback, captureThis, $self, $arguments) { var arguments0, t1, dartArgs; - A._asBoolS(captureThis); + A._asBool(captureThis); type$.List_dynamic._as($arguments); - if (A.boolConversionCheck(captureThis)) { + if (captureThis) { arguments0 = [$self]; B.JSArray_methods.addAll$1(arguments0, $arguments); $arguments = arguments0; @@ -7417,7 +7399,7 @@ else if (o instanceof Object && type$.TypedData._is(o)) return o; else if (o instanceof Date) - return A.DateTime$fromMillisecondsSinceEpoch(A._asIntS(o.getTime()), false); + return A.DateTime$fromMillisecondsSinceEpoch(A._asInt(o.getTime()), false); else if (o.constructor === $.$get$_dartProxyCtor()) return o.o; else @@ -7622,17 +7604,11 @@ return A._finish(B.JSArray_methods.fold$1$2(objects, 0, new A.hashObjects_closure(), type$.int)); }, _combine(hash, value) { - if (typeof hash !== "number") - return hash.$add(); - if (typeof value !== "number") - return A.iae(value); hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, _finish(hash) { - if (typeof hash !== "number") - return A.iae(hash); hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; @@ -7667,7 +7643,7 @@ this.$ti = t1; }, ListBuilder: function ListBuilder(t0) { - this.__ListBuilder__list = $; + this.__ListBuilder__list_A = $; this._listOwner = null; this.$ti = t0; }, @@ -7702,9 +7678,9 @@ }, ListMultimapBuilder: function ListMultimapBuilder(t0) { var _ = this; - _.__ListMultimapBuilder__builtMap = $; + _.__ListMultimapBuilder__builtMap_A = $; _._list_multimap$_builtMapOwner = null; - _.__ListMultimapBuilder__builderMap = $; + _.__ListMultimapBuilder__builderMap_A = $; _.$ti = t0; }, ListMultimapBuilder_replace_closure: function ListMultimapBuilder_replace_closure(t0) { @@ -7738,7 +7714,7 @@ MapBuilder: function MapBuilder(t0, t1, t2, t3) { var _ = this; _._mapFactory = t0; - _.__MapBuilder__map = t1; + _.__MapBuilder__map_A = t1; _._mapOwner = t2; _.$ti = t3; }, @@ -7771,7 +7747,7 @@ SetBuilder: function SetBuilder(t0, t1, t2, t3) { var _ = this; _._setFactory = t0; - _.__SetBuilder__set = t1; + _.__SetBuilder__set_A = t1; _._setOwner = t2; _.$ti = t3; }, @@ -7794,17 +7770,15 @@ }, SetMultimapBuilder: function SetMultimapBuilder(t0) { var _ = this; - _.__SetMultimapBuilder__builtMap = $; + _.__SetMultimapBuilder__builtMap_A = $; _._builtMapOwner = null; - _.__SetMultimapBuilder__builderMap = $; + _.__SetMultimapBuilder__builderMap_A = $; _.$ti = t0; }, SetMultimapBuilder_replace_closure: function SetMultimapBuilder_replace_closure(t0) { this.multimap = t0; }, $jc(hash, value) { - if (typeof value !== "number") - return A.iae(value); hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; @@ -7874,7 +7848,7 @@ t2 = type$.Serializer_dynamic, t3 = type$.String; t2 = new A.BuiltJsonSerializersBuilder(A.MapBuilder_MapBuilder(t1, t2), A.MapBuilder_MapBuilder(t3, t2), A.MapBuilder_MapBuilder(t3, t2), A.MapBuilder_MapBuilder(type$.FullType, type$.Function), A.ListBuilder_ListBuilder(B.List_empty0, type$.SerializerPlugin)); - t2.add$1(0, new A.BigIntSerializer(A.BuiltList_BuiltList$from([B.Type_BigInt_8OV, J.get$runtimeType$($.$get$_BigIntImpl_zero())], t1))); + t2.add$1(0, new A.BigIntSerializer(A.BuiltList_BuiltList$from([B.Type_BigInt_8OV, A.getRuntimeType($.$get$_BigIntImpl_zero())], t1))); t2.add$1(0, new A.BoolSerializer(A.BuiltList_BuiltList$from([B.Type_bool_lhE], t1))); t3 = type$.Object; t2.add$1(0, new A.BuiltListSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltList_iTR, A.getRuntimeType(A.BuiltList_BuiltList$from(B.List_empty0, t3))], t1))); @@ -7902,7 +7876,7 @@ }, FullType__getRawName(type) { var $name = J.toString$0$(type), - genericsStart = J.indexOf$1$s($name, "<"); + genericsStart = B.JSString_methods.indexOf$1($name, "<"); return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, DeserializationError_DeserializationError(json, type, error) { @@ -7941,7 +7915,7 @@ }, _getRawName(type) { var $name = J.toString$0$(type), - genericsStart = J.indexOf$1$s($name, "<"); + genericsStart = B.JSString_methods.indexOf$1($name, "<"); return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, BuiltJsonSerializers: function BuiltJsonSerializers(t0, t1, t2, t3, t4) { @@ -8294,7 +8268,7 @@ var _ = this; _._batchDelayMilliseconds = t0; _._inputController = t1; - _.__BatchedStreamController__inputQueue = $; + _.__BatchedStreamController__inputQueue_A = $; _._outputController = t2; _._completer = t3; _.$ti = t4; @@ -8350,10 +8324,10 @@ v2 = B.JSInt_methods._tdivFast$1(value, 17592186044416); value -= v2 * 17592186044416; v1 = B.JSInt_methods._tdivFast$1(value, 4194304); - t1 = v1 & 4194303; - t2 = v2 & 1048575; - t3 = value - v1 * 4194304 & 4194303; - return negative ? A.Int64__sub(0, 0, 0, t3, t1, t2) : new A.Int64(t3, t1, t2); + t1 = value - v1 * 4194304 & 4194303; + t2 = v1 & 4194303; + t3 = v2 & 1048575; + return negative ? A.Int64__sub(0, 0, 0, t1, t2, t3) : new A.Int64(t1, t2, t3); }, Int64__promote(value) { if (value instanceof A.Int64) @@ -8499,7 +8473,7 @@ _._logger = t2; _._onConnected = t3; _._lastMessageId = -1; - _.__SseClient__serverUrl = _.__SseClient__eventSource = $; + _.__SseClient__serverUrl_A = _.__SseClient__eventSource_A = $; _._errorTimer = null; }, SseClient_closure: function SseClient_closure(t0) { @@ -8544,7 +8518,7 @@ }, GuaranteeChannel: function GuaranteeChannel(t0) { var _ = this; - _.__GuaranteeChannel__streamController = _.__GuaranteeChannel__sink = $; + _.__GuaranteeChannel__streamController_F = _.__GuaranteeChannel__sink_F = $; _._guarantee_channel$_subscription = null; _._disconnected = false; _.$ti = t0; @@ -8570,7 +8544,7 @@ _GuaranteeSink__addError_closure: function _GuaranteeSink__addError_closure() { }, StreamChannelController: function StreamChannelController(t0) { - this.__StreamChannelController__foreign = this.__StreamChannelController__local = $; + this.__StreamChannelController__foreign_F = this.__StreamChannelController__local_F = $; this.$ti = t0; }, StreamChannelMixin: function StreamChannelMixin() { @@ -8587,11 +8561,10 @@ foreignToLocalController = A.StreamController_StreamController(_null, _null, true, t3); t4 = A._instanceType(foreignToLocalController); t5 = A._instanceType(localToForeignController); - t2.set$__StreamChannelController__local(A.GuaranteeChannel$(new A._ControllerStream(foreignToLocalController, t4._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(localToForeignController, t5._eval$1("_StreamSinkWrapper<1>")), true, t3)); + t2.set$__StreamChannelController__local_F(A.GuaranteeChannel$(new A._ControllerStream(foreignToLocalController, t4._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(localToForeignController, t5._eval$1("_StreamSinkWrapper<1>")), true, t3)); t3 = A.GuaranteeChannel$(new A._ControllerStream(localToForeignController, t5._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(foreignToLocalController, t4._eval$1("_StreamSinkWrapper<1>")), false, t3); - if (t2.__StreamChannelController__foreign !== $) - A.throwLateFieldAI("_foreign"); - t2.set$__StreamChannelController__foreign(t3); + t2.__StreamChannelController__foreign_F !== $ && A.throwLateFieldAI("_foreign"); + t2.set$__StreamChannelController__foreign_F(t3); t2 = new A.HtmlWebSocketChannel(t1, t2); t2.HtmlWebSocketChannel$1(t1); return t2; @@ -8601,7 +8574,7 @@ _.innerWebSocket = t0; _._localCloseReason = _._localCloseCode = null; _._html0$_controller = t1; - _.__HtmlWebSocketChannel_sink = $; + _.__HtmlWebSocketChannel_sink_FI = $; }, HtmlWebSocketChannel_closure: function HtmlWebSocketChannel_closure(t0) { this.$this = t0; @@ -8629,7 +8602,7 @@ this.message = t0; }, main() { - return A.runZonedGuarded(new A.main_closure(), new A.main_closure0(), type$.legacy_Future_void); + return A.runZonedGuarded(new A.main_closure(), new A.main_closure0(), type$.Future_void); }, _trySendEvent(sink, serialized, $T) { var exception; @@ -8684,16 +8657,24 @@ }, LegacyRestarter: function LegacyRestarter() { }, - LegacyRestarter_restart_closure: function LegacyRestarter_restart_closure(t0, t1) { - this._box_0 = t0; - this.reloadCompleter = t1; + LegacyRestarter_restart_closure: function LegacyRestarter_restart_closure(t0) { + this.reloadCompleter = t0; + }, + LegacyRestarter_restart_closure0: function LegacyRestarter_restart_closure0(t0) { + this.sub = t0; }, ReloadingManager: function ReloadingManager(t0, t1) { this._client = t0; this._restarter = t1; }, toPromise(future, $T) { - return new self.Promise(A.allowInterop(new A.toPromise_closure(future, $T), $T._eval$1("~(~(0*)*,~(@)*)*")), $T._eval$1("0*")); + return new self.Promise(A.allowInterop(new A.toPromise_closure(future, $T), $T._eval$1("~(~(0),~(@))")), $T); + }, + toFuture(promise, $T) { + var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); + J.then$2$x(promise, A.allowInterop($T._eval$1("~([0/?])")._as(completer.get$complete(completer)), $T._eval$1("@(0)")), A.allowInterop(new A.toFuture_closure(completer), type$.dynamic_Function_dynamic)); + return t1; }, Promise: function Promise() { }, @@ -8701,12 +8682,15 @@ this.future = t0; this.T = t1; }, + toFuture_closure: function toFuture_closure(t0) { + this.completer = t0; + }, HotReloadFailedException$(_s) { return new A.HotReloadFailedException(_s); }, RequireRestarter_create() { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.legacy_RequireRestarter), + $async$completer = A._makeAsyncAwaitCompleter(type$.RequireRestarter), $async$returnValue, reloader, t1, t2, t3; var $async$RequireRestarter_create = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) @@ -8715,12 +8699,12 @@ switch ($async$goto) { case 0: // Function start - t1 = type$.legacy_String; - t2 = A.HashMap_HashMap(null, null, null, t1, type$.legacy_int); - t3 = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_legacy_bool), type$._AsyncCompleter_legacy_bool); - t3.complete$0(0); + t1 = type$.String; + t2 = A.HashMap_HashMap(null, null, null, t1, type$.int); + t3 = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_bool), type$._AsyncCompleter_bool); + t3.complete$1(0, true); reloader = new A.RequireRestarter(t2, t3); - reloader.set$_dirtyModules(A.SplayTreeSet$(reloader.get$_moduleTopologicalCompare(), null, t1)); + reloader.set$__RequireRestarter__dirtyModules_A(type$.SplayTreeSet_String._as(A.SplayTreeSet$(reloader.get$_moduleTopologicalCompare(), null, t1))); $async$goto = 3; return A._asyncAwait(reloader._initialize$0(), $async$RequireRestarter_create); case 3: @@ -8747,7 +8731,7 @@ }, RequireRestarter: function RequireRestarter(t0, t1) { this._moduleOrdering = t0; - this._dirtyModules = null; + this.__RequireRestarter__dirtyModules_A = $; this._running = t1; }, RequireRestarter__reload_closure: function RequireRestarter__reload_closure(t0) { @@ -8761,33 +8745,36 @@ this.stackTrace = t1; }, _findNonce() { - var t2, elements, t3, nonceValue, + var t2, elements, t3, t4, nonceValue, t1 = window.document; - A.checkTypeBound(type$.legacy_Element, type$.Element, "T", "querySelectorAll"); - t2 = type$._FrozenElementList_legacy_Element; - elements = new A._FrozenElementList(t1.querySelectorAll("script"), t2); - for (t1 = new A.ListIterator(elements, elements.get$length(elements), t2._eval$1("ListIterator")), t2 = type$.legacy_HtmlElement; t1.moveNext$0();) { - t3 = t2._as(t1.__internal$_current); - nonceValue = t3.nonce; + t1.toString; + t2 = type$.Element; + A.checkTypeBound(t2, t2, "T", "querySelectorAll"); + t1 = t1.querySelectorAll("script"); + t1.toString; + t2 = type$._FrozenElementList_Element; + elements = new A._FrozenElementList(t1, t2); + for (t1 = new A.ListIterator(elements, elements.get$length(elements), t2._eval$1("ListIterator")), t3 = type$.HtmlElement, t2 = t2._eval$1("ListMixin.E"); t1.moveNext$0();) { + t4 = t1.__internal$_current; + t4 = t3._as(t4 == null ? t2._as(t4) : t4); + nonceValue = t4.nonce; if (nonceValue == null) - nonceValue = t3.getAttribute("nonce"); + nonceValue = t4.getAttribute("nonce"); if (nonceValue != null) { - t3 = $.$get$_noncePattern()._nativeRegExp; - t3 = t3.test(nonceValue); + t4 = $.$get$_noncePattern()._nativeRegExp; + t4 = t4.test(nonceValue); } else - t3 = false; - if (t3) + t4 = false; + if (t4) return nonceValue; } return null; }, runMain() { - var t1, - scriptElement = $.$get$_createScript().call$0(); - scriptElement.toString; - t1 = J.getInterceptor$x(scriptElement); + var scriptElement = $.$get$_createScript().call$0(), + t1 = J.getInterceptor$x(scriptElement); t1.setInnerHtml$1(scriptElement, "window.$dartRunMain();"); - document.body.appendChild(scriptElement); + document.body.appendChild(scriptElement).toString; A.Future_Future$microtask(t1.get$remove(scriptElement), type$.void); }, _createScript_closure: function _createScript_closure() { @@ -8885,15 +8872,13 @@ return B.UnknownJavaScriptObject_methods; }, JSArray_JSArray$fixed($length, $E) { - if (!A._isInt($length)) - throw A.wrapException(A.ArgumentError$value($length, "length", "is not an integer")); 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 (!A._isInt($length) || $length < 0) - throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + A.S($length), null)); + 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) { @@ -9046,14 +9031,6 @@ get$parent$z(receiver) { return J.getInterceptor$z(receiver).get$parent(receiver); }, - get$runtimeType$(receiver) { - return J.getInterceptor$(receiver).get$runtimeType(receiver); - }, - $add$ns(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver + a0; - return J.getInterceptor$ns(receiver).$add(receiver, a0); - }, $eq$(receiver, a0) { if (receiver == null) return a0 == null; @@ -9077,9 +9054,6 @@ _clearChildren$0$x(receiver) { return J.getInterceptor$x(receiver)._clearChildren$0(receiver); }, - _codeUnitAt$1$s(receiver, a0) { - return J.getInterceptor$s(receiver)._codeUnitAt$1(receiver, a0); - }, _initCustomEvent$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver)._initCustomEvent$4(receiver, a0, a1, a2, a3); }, @@ -9098,9 +9072,6 @@ cast$2$0$ax(receiver, $T1, $T2) { return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); }, - 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); }, @@ -9125,9 +9096,6 @@ getRange$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); }, - indexOf$1$s(receiver, a0) { - return J.getInterceptor$s(receiver).indexOf$1(receiver, a0); - }, keys$0$x(receiver) { return J.getInterceptor$x(receiver).keys$0(receiver); }, @@ -9230,7 +9198,7 @@ return A.Primitives_objectHashCode(receiver); }, toString$0(receiver) { - return "Instance of '" + A.S(A.Primitives_objectTypeName(receiver)) + "'"; + return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'"; }, noSuchMethod$1(receiver, invocation) { type$.Invocation._as(invocation); @@ -9265,9 +9233,6 @@ get$runtimeType(receiver) { return B.Type_Null_Yyn; }, - noSuchMethod$1(receiver, invocation) { - return this.super$Interceptor$noSuchMethod(receiver, type$.Invocation._as(invocation)); - }, $isNull: 1 }; J.JavaScriptObject.prototype = {}; @@ -9515,19 +9480,15 @@ return receiver.length; }, $index(receiver, index) { - if (!A._isInt(index)) - throw A.wrapException(A.diagnoseIndexError(receiver, index)); if (!(index >= 0 && index < receiver.length)) throw A.wrapException(A.diagnoseIndexError(receiver, index)); return receiver[index]; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); A._arrayInstanceType(receiver)._precomputed1._as(value); if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("indexed set")); - if (!A._isInt(index)) - throw A.wrapException(A.diagnoseIndexError(receiver, index)); if (!(index >= 0 && index < receiver.length)) throw A.wrapException(A.diagnoseIndexError(receiver, index)); receiver[index] = value; @@ -9539,7 +9500,8 @@ J.JSUnmodifiableArray.prototype = {}; J.ArrayIterator.prototype = { get$current(_) { - return this.__interceptors$_current; + var t1 = this.__interceptors$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var t2, _this = this, @@ -9564,9 +9526,7 @@ J.JSNumber.prototype = { compareTo$1(receiver, b) { var bIsNegative; - A._asNumS(b); - if (typeof b != "number") - throw A.wrapException(A.argumentErrorValue(b)); + A._asNum(b); if (receiver < b) return -1; else if (receiver > b) @@ -9776,10 +9736,7 @@ return receiver.charCodeAt(index); }, allMatches$2(receiver, string, start) { - var t1; - if (typeof string != "string") - A.throwExpression(A.argumentErrorValue(string)); - t1 = string.length; + 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); @@ -9800,8 +9757,6 @@ return new A.StringMatch(start, receiver); }, $add(receiver, other) { - if (typeof other != "string") - throw A.wrapException(A.ArgumentError$value(other, null, null)); return receiver + other; }, replaceRange$3(receiver, start, end, replacement) { @@ -9810,6 +9765,7 @@ }, startsWith$2(receiver, pattern, index) { var endIndex; + type$.Pattern._as(pattern); if (index < 0 || index > receiver.length) throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null)); if (typeof pattern == "string") { @@ -9882,15 +9838,12 @@ return this.lastIndexOf$2($receiver, pattern, null); }, contains$1(receiver, other) { - if (other == null) - A.throwExpression(A.argumentErrorValue(other)); + type$.Pattern._as(other); return A.stringContainsUnchecked(receiver, other, 0); }, compareTo$1(receiver, other) { var t1; - A._asStringS(other); - if (typeof other != "string") - throw A.wrapException(A.argumentErrorValue(other)); + A._asString(other); if (receiver === other) t1 = 0; else @@ -9977,7 +9930,7 @@ }, $indexSet(_, index, value) { var t1 = this.$ti; - J.$indexSet$ax(this.__internal$_source, A._asIntS(index), t1._precomputed1._as(t1._rest[1]._as(value))); + J.$indexSet$ax(this.__internal$_source, A._asInt(index), t1._precomputed1._as(t1._rest[1]._as(value))); }, sort$1(_, compare) { var t1; @@ -10080,24 +10033,13 @@ return "LateInitializationError: " + this._message; } }; - A.ReachabilityError.prototype = { - toString$0(_) { - return "ReachabilityError: " + this._message; - } - }; A.nullFuture_closure.prototype = { call$0() { return A.Future_Future$value(null, type$.Null); }, - $signature: 33 + $signature: 24 }; A.SentinelValue.prototype = {}; - A.NotNullableError.prototype = { - toString$0(_) { - return "Null is not a valid value for '" + this._name + "' of type '" + A.createRuntimeType(this.$ti._precomputed1).toString$0(0) + "'"; - }, - $isTypeError: 1 - }; A.EfficientLengthIterable.prototype = {}; A.ListIterable.prototype = { get$iterator(_) { @@ -10223,8 +10165,6 @@ endOrLength = _this._endOrLength; if (endOrLength != null && endOrLength < end) end = endOrLength; - if (typeof end !== "number") - return end.$sub(); $length = end - start; if ($length <= 0) { t1 = _this.$ti._precomputed1; @@ -10244,7 +10184,8 @@ }; A.ListIterator.prototype = { get$current(_) { - return this.__internal$_current; + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var t3, _this = this, @@ -10298,7 +10239,8 @@ return false; }, get$current(_) { - return this.__internal$_current; + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, set$__internal$_current(_current) { this.__internal$_current = this.$ti._eval$1("2?")._as(_current); @@ -10424,7 +10366,7 @@ A.FixedLengthListMixin.prototype = {}; A.UnmodifiableListMixin.prototype = { $indexSet(_, index, value) { - A._asIntS(index); + A._asInt(index); A._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, @@ -10449,17 +10391,17 @@ var hash = this._hashCode; if (hash != null) return hash; - hash = 664597 * J.get$hashCode$(this._name) & 536870911; + hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911; this._hashCode = hash; return hash; }, toString$0(_) { - return 'Symbol("' + A.S(this._name) + '")'; + return 'Symbol("' + A.S(this.__internal$_name) + '")'; }, $eq(_, other) { if (other == null) return false; - return other instanceof A.Symbol && this._name == other._name; + return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name; }, $isSymbol0: 1 }; @@ -10481,7 +10423,6 @@ t1._precomputed1._as(key); t1._rest[1]._as(val); A.ConstantMap__throwUnmodifiable(); - A.ReachabilityError$(string$._null_); }, map$2$1(_, transform, K2, V2) { var result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); @@ -10517,7 +10458,7 @@ $index(_, key) { if (!this.containsKey$1(0, key)) return null; - return this._jsObject[A._asStringS(key)]; + return this._jsObject[A._asString(key)]; }, forEach$1(_, f) { var keys, t2, t3, i, t4, @@ -10525,7 +10466,7 @@ t1._eval$1("~(1,2)")._as(f); keys = this.__js_helper$_keys; for (t2 = keys.length, t3 = this._jsObject, t1 = t1._rest[1], i = 0; i < t2; ++i) { - t4 = A._asStringS(keys[i]); + t4 = A._asString(keys[i]); f.call$2(t4, t1._as(t3[t4])); } }, @@ -10590,9 +10531,9 @@ A.Primitives_functionNoSuchMethod_closure.prototype = { call$2($name, argument) { var t1; - A._asStringS($name); + A._asString($name); t1 = this._box_0; - t1.names = t1.names + "$" + A.S($name); + t1.names = t1.names + "$" + $name; B.JSArray_methods.add$1(this.namedArgumentList, $name); B.JSArray_methods.add$1(this.$arguments, argument); ++t1.argumentCount; @@ -10628,7 +10569,7 @@ toString$0(_) { var t1 = this._method; if (t1 == null) - return "NoSuchMethodError: " + A.S(this.__js_helper$_message); + return "NoSuchMethodError: " + this.__js_helper$_message; return "NoSuchMethodError: method not found: '" + t1 + "' on null"; } }; @@ -10638,11 +10579,11 @@ _s38_ = "NoSuchMethodError: method not found: '", t1 = _this._method; if (t1 == null) - return "NoSuchMethodError: " + A.S(_this.__js_helper$_message); + return "NoSuchMethodError: " + _this.__js_helper$_message; t2 = _this._receiver; if (t2 == null) - return _s38_ + t1 + "' (" + A.S(_this.__js_helper$_message) + ")"; - return _s38_ + t1 + "' on '" + t2 + "' (" + A.S(_this.__js_helper$_message) + ")"; + return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")"; + return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")"; } }; A.UnknownJsTypeError.prototype = { @@ -10705,14 +10646,10 @@ return this.$_target === other.$_target && this._receiver === other._receiver; }, get$hashCode(_) { - var receiverHashCode = A.objectHashCode(this._receiver), - t1 = A.Primitives_objectHashCode(this.$_target); - if (typeof receiverHashCode !== "number") - return receiverHashCode.$xor(); - return (receiverHashCode ^ t1) >>> 0; + return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0; }, toString$0(_) { - return "Closure '" + A.S(this.$_name) + "' of " + ("Instance of '" + A.S(A.Primitives_objectTypeName(this._receiver)) + "'"); + return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'"); } }; A.RuntimeError.prototype = { @@ -10822,12 +10759,14 @@ } }, putIfAbsent$2(_, key, ifAbsent) { - var value, _this = this, + var t2, value, _this = this, t1 = A._instanceType(_this); t1._precomputed1._as(key); t1._eval$1("2()")._as(ifAbsent); - if (_this.containsKey$1(0, key)) - return _this.$index(0, key); + if (_this.containsKey$1(0, key)) { + t2 = _this.$index(0, key); + return t2 == null ? t1._rest[1]._as(t2) : t2; + } value = ifAbsent.call$0(); _this.$indexSet(0, key, value); return value; @@ -11011,13 +10950,13 @@ call$2(o, tag) { return this.getUnknownTag(o, tag); }, - $signature: 63 + $signature: 55 }; A.initHooks_closure1.prototype = { call$1(tag) { - return this.prototypeForTag(A._asStringS(tag)); + return this.prototypeForTag(A._asString(tag)); }, - $signature: 87 + $signature: 54 }; A.JSSyntaxRegExp.prototype = { toString$0(_) { @@ -11040,10 +10979,7 @@ return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, firstMatch$1(string) { - var m; - if (typeof string != "string") - A.throwExpression(A.argumentErrorValue(string)); - m = this._nativeRegExp.exec(string); + var m = this._nativeRegExp.exec(string); if (m == null) return null; return new A._MatchImplementation(m); @@ -11060,6 +10996,8 @@ _execGlobal$2(string, start) { var match, regexp = this.get$_nativeGlobalVersion(); + if (regexp == null) + regexp = type$.Object._as(regexp); regexp.lastIndex = start; match = regexp.exec(string); if (match == null) @@ -11069,6 +11007,8 @@ _execAnchored$2(string, start) { var match, regexp = this.get$_nativeAnchoredVersion(); + if (regexp == null) + regexp = type$.Object._as(regexp); regexp.lastIndex = start; match = regexp.exec(string); if (match == null) @@ -11102,7 +11042,8 @@ }; A._AllMatchesIterator.prototype = { get$current(_) { - return this.__js_helper$_current; + var t1 = this.__js_helper$_current; + return t1 == null ? type$.RegExpMatch._as(t1) : t1; }, moveNext$0() { var t1, t2, t3, match, nextIndex, _this = this, @@ -11190,7 +11131,7 @@ readLocal$1$0() { var t1 = this.__late_helper$_value; if (t1 === this) - A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); + A.throwExpression(new A.LateError("Local '" + this._name + "' has not been initialized.")); return t1; }, readLocal$0() { @@ -11199,7 +11140,7 @@ _readField$0() { var t1 = this.__late_helper$_value; if (t1 === this) - throw A.wrapException(A.LateError$fieldNI(this.__late_helper$_name)); + throw A.wrapException(A.LateError$fieldNI(this._name)); return t1; } }; @@ -11228,8 +11169,8 @@ return receiver[index]; }, $indexSet(receiver, index, value) { - A._asIntS(index); - A._asDoubleS(value); + A._asInt(index); + A._asDouble(value); A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; }, @@ -11239,8 +11180,8 @@ }; A.NativeTypedArrayOfInt.prototype = { $indexSet(receiver, index, value) { - A._asIntS(index); - A._asIntS(value); + A._asInt(index); + A._asInt(value); A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; }, @@ -11426,19 +11367,19 @@ t2 = this.span; t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); }, - $signature: 60 + $signature: 70 }; A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { call$0() { this.callback.call$0(); }, - $signature: 2 + $signature: 5 }; A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { call$0() { this.callback.call$0(); }, - $signature: 2 + $signature: 5 }; A._TimerImpl.prototype = { _TimerImpl$2(milliseconds, callback) { @@ -11495,13 +11436,15 @@ t1._tick = tick; _this.callback.call$1(t1); }, - $signature: 2 + $signature: 5 }; A._AsyncAwaitCompleter.prototype = { complete$1(_, value) { var t2, _this = this, t1 = _this.$ti; t1._eval$1("1/?")._as(value); + if (value == null) + t1._precomputed1._as(value); if (!_this.isSync) _this._future._asyncComplete$1(value); else { @@ -11513,10 +11456,7 @@ } }, completeError$2(e, st) { - var t1; - if (st == null) - st = A.AsyncError_defaultStackTrace(e); - t1 = this._future; + var t1 = this._future; if (this.isSync) t1._completeError$2(e, st); else @@ -11528,19 +11468,19 @@ call$1(result) { return this.bodyFunction.call$2(0, result); }, - $signature: 4 + $signature: 3 }; A._awaitOnObject_closure0.prototype = { call$2(error, stackTrace) { this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, type$.StackTrace._as(stackTrace))); }, - $signature: 55 + $signature: 72 }; A._wrapJsFunctionForAsync_closure.prototype = { call$2(errorCode, result) { - this.$protected(A._asIntS(errorCode), result); + this.$protected(A._asInt(errorCode), result); }, - $signature: 35 + $signature: 44 }; A.AsyncError.prototype = { toString$0(_) { @@ -11567,7 +11507,6 @@ A._Completer.prototype = { completeError$2(error, stackTrace) { var replacement; - type$.nullable_StackTrace._as(stackTrace); A.checkNotNullable(error, "error", type$.Object); if ((this.future._state & 30) !== 0) throw A.wrapException(A.StateError$("Future already completed")); @@ -11627,11 +11566,12 @@ result = null, t1 = type$.dynamic, t2 = type$.Object, - t3 = _this.result._zone; + t3 = asyncError.error, + t4 = _this.result._zone; if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) - result = t3.runBinary$3$3(errorCallback, asyncError.error, asyncError.stackTrace, t1, t2, type$.StackTrace); + result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace); else - result = t3.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), asyncError.error, t1, t2); + result = t4.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), t3, t1, t2); try { t1 = _this.$ti._eval$1("2/")._as(result); return t1; @@ -11800,6 +11740,7 @@ }, _completeError$2(error, stackTrace) { var listeners; + type$.Object._as(error); type$.StackTrace._as(stackTrace); listeners = this._removeListeners$0(); this._setErrorObject$1(A.AsyncError$(error, stackTrace)); @@ -11886,7 +11827,7 @@ }; A._Future__chainForeignFuture_closure0.prototype = { call$2(error, stackTrace) { - this.$this._completeError$2(error, type$.StackTrace._as(stackTrace)); + this.$this._completeError$2(type$.Object._as(error), type$.StackTrace._as(stackTrace)); }, $signature: 8 }; @@ -11923,13 +11864,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - if (_this.hasError) { - t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners).error; - t2 = e; - t2 = t1 == null ? t2 == null : t1 === t2; - t1 = t2; - } else - t1 = false; + t1 = _this.hasError && type$.AsyncError._as(_this._box_1.source._resultOrListeners).error === e; t2 = _this._box_0; if (t1) t2.listenerValueOrError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); @@ -11959,7 +11894,7 @@ call$1(_) { return this.originalSource; }, - $signature: 102 + $signature: 99 }; A._Future__propagateToListeners_handleValueCallback.prototype = { call$0() { @@ -11983,11 +11918,11 @@ }; A._Future__propagateToListeners_handleError.prototype = { call$0() { - var asyncError, e, s, t1, exception, t2, t3, t4, _this = this; + var asyncError, e, s, t1, exception, t2, _this = this; try { asyncError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); t1 = _this._box_0; - if (A.boolConversionCheck(t1.listener.matchesErrorTest$1(asyncError)) && t1.listener.errorCallback != null) { + if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) { t1.listenerValueOrError = t1.listener.handleError$1(asyncError); t1.listenerHasError = false; } @@ -11995,14 +11930,12 @@ e = A.unwrapException(exception); s = A.getTraceFromException(exception); t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners); - t2 = t1.error; - t3 = e; - t4 = _this._box_0; - if (t2 == null ? t3 == null : t2 === t3) - t4.listenerValueOrError = t1; + t2 = _this._box_0; + if (t1.error === e) + t2.listenerValueOrError = t1; else - t4.listenerValueOrError = A.AsyncError$(e, s); - t4.listenerHasError = true; + t2.listenerValueOrError = A.AsyncError$(e, s); + t2.listenerHasError = true; } }, $signature: 0 @@ -12037,6 +11970,7 @@ A._Future_timeout_closure1.prototype = { call$2(e, s) { var t1; + type$.Object._as(e); type$.StackTrace._as(s); t1 = this._box_0; if (t1.timer.get$isActive()) { @@ -12121,12 +12055,12 @@ if ((_this._state & 8) === 0) { events = _this._varData; if (events == null) - events = _this._varData = new A._StreamImplEvents(A._instanceType(_this)._eval$1("_StreamImplEvents<1>")); - return A._instanceType(_this)._eval$1("_StreamImplEvents<1>")._as(events); + events = _this._varData = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<1>")); + return A._instanceType(_this)._eval$1("_PendingEvents<1>")._as(events); } t1 = A._instanceType(_this); events = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData(); - return t1._eval$1("_StreamImplEvents<1>")._as(events); + return t1._eval$1("_PendingEvents<1>")._as(events); }, get$_subscription() { var varData = this._varData; @@ -12158,9 +12092,11 @@ _this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value, t1._eval$1("_DelayedData<1>"))); }, addError$2(error, stackTrace) { - var replacement, t1, _this = this; + var replacement, _this = this, + t1 = type$.Object; + t1._as(error); type$.nullable_StackTrace._as(stackTrace); - A.checkNotNullable(error, "error", type$.Object); + A.checkNotNullable(error, "error", t1); if (_this._state >= 4) throw A.wrapException(_this._badEventState$0()); replacement = $.Zone__current.errorCallback$2(error, stackTrace); @@ -12398,6 +12334,9 @@ var result, t1 = {}; $E._eval$1("0?")._as(futureValue); t1.resultValue = null; + if (!$E._is(null)) + throw A.wrapException(A.ArgumentError$notNull("futureValue")); + $E._as(futureValue); t1.resultValue = futureValue; result = new A._Future($.Zone__current, $E._eval$1("_Future<0>")); this.set$_onDone(new A._BufferingStreamSubscription_asFuture_closure(t1, result)); @@ -12457,12 +12396,12 @@ return null; }, _addPending$1($event) { - var _this = this, - t1 = A._instanceType(_this), - pending = t1._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>?")._as(_this._pending); - if (pending == null) - pending = new A._StreamImplEvents(t1._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>")); - _this.set$_pending(pending); + var t1, _this = this, + pending = _this._pending; + if (pending == null) { + pending = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>")); + _this.set$_pending(pending); + } pending.add$1(0, $event); t1 = _this._state; if ((t1 & 64) === 0) { @@ -12579,10 +12518,11 @@ A._BufferingStreamSubscription_asFuture_closure0.prototype = { call$2(error, stackTrace) { var cancelFuture, t1; + type$.Object._as(error); type$.StackTrace._as(stackTrace); cancelFuture = this.$this.cancel$0(0); t1 = this.result; - if (cancelFuture != $.$get$Future__nullFuture()) + if (cancelFuture !== $.$get$Future__nullFuture()) cancelFuture.whenComplete$1(new A._BufferingStreamSubscription_asFuture__closure(t1, error, stackTrace)); else t1._completeError$2(error, stackTrace); @@ -12593,7 +12533,7 @@ call$0() { this.result._completeError$2(this.error, this.stackTrace); }, - $signature: 2 + $signature: 5 }; A._BufferingStreamSubscription__sendError_sendError.prototype = { call$0() { @@ -12693,6 +12633,16 @@ } A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch)); _this._state = 1; + }, + add$1(_, $event) { + var _this = this, + lastEvent = _this.lastPendingEvent; + if (lastEvent == null) + _this.firstPendingEvent = _this.lastPendingEvent = $event; + else { + lastEvent.set$next(0, $event); + _this.lastPendingEvent = $event; + } } }; A._PendingEvents_schedule_closure.prototype = { @@ -12713,18 +12663,6 @@ }, $signature: 0 }; - A._StreamImplEvents.prototype = { - add$1(_, $event) { - var _this = this, - lastEvent = _this.lastPendingEvent; - if (lastEvent == null) - _this.firstPendingEvent = _this.lastPendingEvent = $event; - else { - lastEvent.set$next(0, $event); - _this.lastPendingEvent = $event; - } - } - }; A._StreamIterator.prototype = {}; A._cancelAndValue_closure.prototype = { call$0() { @@ -12789,8 +12727,10 @@ this._stream._handleData$2(this.$ti._precomputed1._as(data), this); }, _handleError$2(error, stackTrace) { + var t1; type$.StackTrace._as(stackTrace); - this._stream.$ti._eval$1("_EventSink<2>")._as(this)._addError$2(error, stackTrace); + t1 = error == null ? type$.Object._as(error) : error; + this._stream.$ti._eval$1("_EventSink<2>")._as(this)._addError$2(t1, stackTrace); }, _handleDone$0() { this._stream.$ti._eval$1("_EventSink<2>")._as(this)._close$0(); @@ -12851,8 +12791,7 @@ e = A.unwrapException(exception); s = A.getTraceFromException(exception); $.Zone__current = currentZone; - t1 = e; - t1 = (error == null ? t1 == null : error === t1) ? stackTrace : s; + t1 = error === e ? stackTrace : s; parentZone._processUncaughtError$3(implZone, e, t1); } }, @@ -12877,7 +12816,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - this._processUncaughtError$3(this, e, type$.StackTrace._as(s)); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); } }, runUnaryGuarded$1$2(f, arg, $T) { @@ -12889,7 +12828,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - this._processUncaughtError$3(this, e, type$.StackTrace._as(s)); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); } }, runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { @@ -12902,7 +12841,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - this._processUncaughtError$3(this, e, type$.StackTrace._as(s)); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); } }, bindCallback$1$1(f, $R) { @@ -13083,8 +13022,11 @@ }; A._rootHandleError_closure.prototype = { call$0() { - A.Error_throwWithStackTrace(this.error, this.stackTrace); - A.ReachabilityError$(string$._null_); + var t1 = this.error, + t2 = this.stackTrace; + A.checkNotNullable(t1, "error", type$.Object); + A.checkNotNullable(t2, "stackTrace", type$.StackTrace); + A.Error__throw(t1, t2); }, $signature: 0 }; @@ -13157,7 +13099,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - A._rootHandleError(e, type$.StackTrace._as(s)); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); } }, runUnaryGuarded$1$2(f, arg, $T) { @@ -13173,7 +13115,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - A._rootHandleError(e, type$.StackTrace._as(s)); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); } }, runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { @@ -13190,7 +13132,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - A._rootHandleError(e, type$.StackTrace._as(s)); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); } }, bindCallback$1$1(f, $R) { @@ -13290,7 +13232,7 @@ }; A.runZonedGuarded_closure.prototype = { call$5($self, $parent, zone, error, stackTrace) { - var e, s, exception, t2, t3, + var e, s, exception, t2, t1 = type$.StackTrace; t1._as(stackTrace); try { @@ -13298,12 +13240,11 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - t2 = e; - t3 = $parent._delegationTarget; - if (t2 == null ? error == null : t2 === error) - t3._processUncaughtError$3(zone, error, stackTrace); + t2 = $parent._delegationTarget; + if (e === error) + t2._processUncaughtError$3(zone, error, stackTrace); else - t3._processUncaughtError$3(zone, e, t1._as(s)); + t2._processUncaughtError$3(zone, type$.Object._as(e), t1._as(s)); } }, $signature: 64 @@ -13397,13 +13338,15 @@ } }, forEach$1(_, action) { - var keys, $length, i, key, _this = this, + var keys, $length, t2, i, key, t3, _this = this, t1 = A._instanceType(_this); t1._eval$1("~(1,2)")._as(action); keys = _this._computeKeys$0(); - for ($length = keys.length, t1 = t1._precomputed1, i = 0; i < $length; ++i) { + for ($length = keys.length, t2 = t1._precomputed1, t1 = t1._rest[1], i = 0; i < $length; ++i) { key = keys[i]; - action.call$2(t1._as(key), _this.$index(0, key)); + t2._as(key); + t3 = _this.$index(0, key); + action.call$2(key, t3 == null ? t1._as(t3) : t3); if (keys !== _this._keys) throw A.wrapException(A.ConcurrentModificationError$(_this)); } @@ -13526,7 +13469,7 @@ call$1(v) { return this.K._is(v); }, - $signature: 11 + $signature: 12 }; A._HashMapKeyIterable.prototype = { get$length(_) { @@ -13545,7 +13488,8 @@ }; A._HashMapKeyIterator.prototype = { get$current(_) { - return this._collection$_current; + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, @@ -13606,7 +13550,7 @@ call$1(v) { return this.K._is(v); }, - $signature: 11 + $signature: 12 }; A._HashSet.prototype = { _newSimilarSet$1$0($R) { @@ -13775,7 +13719,8 @@ }; A._HashSetIterator.prototype = { get$current(_) { - return this._collection$_current; + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, @@ -13911,7 +13856,8 @@ A._LinkedHashSetCell.prototype = {}; A._LinkedHashSetIterator.prototype = { get$current(_) { - return this._collection$_current; + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, @@ -14106,11 +14052,13 @@ return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E")); }, fillRange$3(receiver, start, end, fill) { - var i; - A.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); + var value, i, + t1 = A.instanceType(receiver); + t1._eval$1("ListMixin.E?")._as(fill); + value = fill == null ? t1._eval$1("ListMixin.E")._as(fill) : fill; A.RangeError_checkValidRange(start, end, this.get$length(receiver)); for (i = start; i < end; ++i) - this.$indexSet(receiver, i, fill); + this.$indexSet(receiver, i, value); }, toString$0(receiver) { return A.IterableBase_iterableToFullString(receiver, "[", "]"); @@ -14129,7 +14077,7 @@ t1._contents = t2 + ": "; t1._contents += A.S(v); }, - $signature: 17 + $signature: 18 }; A.MapMixin.prototype = { cast$2$0(receiver, RK, RV) { @@ -14137,20 +14085,24 @@ return A.Map_castFrom(receiver, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV); }, forEach$1(receiver, action) { - var t1, key; - A.instanceType(receiver)._eval$1("~(MapMixin.K,MapMixin.V)")._as(action); - for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { - key = t1.get$current(t1); - action.call$2(key, this.$index(receiver, key)); + var t2, key, t3, + t1 = A.instanceType(receiver); + t1._eval$1("~(MapMixin.K,MapMixin.V)")._as(action); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapMixin.V"); t2.moveNext$0();) { + key = t2.get$current(t2); + t3 = this.$index(receiver, key); + action.call$2(key, t3 == null ? t1._as(t3) : t3); } }, map$2$1(receiver, transform, K2, V2) { - var result, t1, key, entry; - A.instanceType(receiver)._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapMixin.K,MapMixin.V)")._as(transform); + var result, t2, key, t3, entry, + t1 = A.instanceType(receiver); + t1._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapMixin.K,MapMixin.V)")._as(transform); result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); - for (t1 = J.get$iterator$ax(this.get$keys(receiver)); t1.moveNext$0();) { - key = t1.get$current(t1); - entry = transform.call$2(key, this.$index(receiver, key)); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapMixin.V"); t2.moveNext$0();) { + key = t2.get$current(t2); + t3 = this.$index(receiver, key); + entry = transform.call$2(key, t3 == null ? t1._as(t3) : t3); result.$indexSet(0, entry.get$key(entry), entry.get$value(entry)); } return result; @@ -14237,14 +14189,15 @@ return (this._tail - this._head & this._table.length - 1) >>> 0; }, get$first(_) { - var t2, - t1 = this._head; - if (t1 === this._tail) - throw A.wrapException(A.IterableElementError_noElement()); - t2 = this._table; - if (!(t1 < t2.length)) + var t2, _this = this, + t1 = _this._head; + if (t1 === _this._tail) + throw A.wrapException(A.IterableElementError_noElement()); + t2 = _this._table; + if (!(t1 < t2.length)) return A.ioore(t2, t1); - return t2[t1]; + t1 = t2[t1]; + return t1 == null ? _this.$ti._precomputed1._as(t1) : t1; }, elementAt$1(_, index) { var t1, t2, t3, _this = this, @@ -14256,23 +14209,26 @@ t3 = (_this._head + index & t2 - 1) >>> 0; if (!(t3 >= 0 && t3 < t2)) return A.ioore(t1, t3); - return t1[t3]; + t3 = t1[t3]; + return t3 == null ? _this.$ti._precomputed1._as(t3) : t3; }, toList$1$growable(_, growable) { - var t1, list, i, t2, _this = this, + var t1, list, i, t2, t3, _this = this, mask = _this._table.length - 1, $length = (_this._tail - _this._head & mask) >>> 0; if ($length === 0) { t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1); return t1; } - list = A.List_List$filled($length, _this.get$first(_this), true, _this.$ti._precomputed1); + t1 = _this.$ti._precomputed1; + list = A.List_List$filled($length, _this.get$first(_this), true, t1); for (i = 0; i < $length; ++i) { - t1 = _this._table; - t2 = (_this._head + i & mask) >>> 0; - if (!(t2 < t1.length)) - return A.ioore(t1, t2); - B.JSArray_methods.$indexSet(list, i, t1[t2]); + t2 = _this._table; + t3 = (_this._head + i & mask) >>> 0; + if (!(t3 < t2.length)) + return A.ioore(t2, t3); + t3 = t2[t3]; + B.JSArray_methods.$indexSet(list, i, t3 == null ? t1._as(t3) : t3); } return list; }, @@ -14292,6 +14248,8 @@ if (!(t1 < t2.length)) return A.ioore(t2, t1); result = t2[t1]; + if (result == null) + result = _this.$ti._precomputed1._as(result); B.JSArray_methods.$indexSet(t2, t1, null); _this._head = (_this._head + 1 & _this._table.length - 1) >>> 0; return result; @@ -14325,7 +14283,8 @@ }; A._ListQueueIterator.prototype = { get$current(_) { - return this._collection$_current; + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var t2, t3, _this = this, @@ -14365,10 +14324,12 @@ this.add$1(0, t1.get$current(t1)); }, containsAll$1(other) { - var t1; - for (t1 = other._set$_set, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); t1.moveNext$0();) - if (!this.contains$1(0, t1._collection$_current)) + var t1, t2, o; + for (t1 = other._set$_set, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { + o = t1._collection$_current; + if (!this.contains$1(0, o == null ? t2._as(o) : o)) return false; + } return true; }, toList$1$growable(_, growable) { @@ -14438,15 +14399,11 @@ compare = _this._compare; for (comp = _null, current = root, newTreeLeft = comp, left = newTreeLeft, newTreeRight = left, right = newTreeRight; true;) { comp = compare.call$2(current.key, key); - if (typeof comp !== "number") - return comp.$gt(); if (comp > 0) { currentLeft = current._left; if (currentLeft == null) break; comp = compare.call$2(currentLeft.key, key); - if (typeof comp !== "number") - return comp.$gt(); if (comp > 0) { current.set$_left(0, currentLeft._right); currentLeft.set$_right(0, current); @@ -14470,8 +14427,6 @@ if (currentRight == null) break; comp = compare.call$2(currentRight.key, key); - if (typeof comp !== "number") - return comp.$lt(); if (comp < 0) { current.set$_right(0, currentRight._left); currentRight.set$_left(0, current); @@ -14560,8 +14515,6 @@ _this.set$_root(node); return; } - if (typeof comp !== "number") - return comp.$lt(); if (comp < 0) { node.set$_left(0, root); node.set$_right(0, root._right); @@ -14585,8 +14538,10 @@ A._SplayTreeIterator.prototype = { get$current(_) { var t1 = this._path; - if (t1.length === 0) + if (t1.length === 0) { + this.$ti._eval$1("_SplayTreeIterator.T")._as(null); return null; + } return this.$ti._rest[1]._as(B.JSArray_methods.get$last(t1)).key; }, moveNext$0() { @@ -14631,7 +14586,7 @@ return A.ioore(t1, -1); t1.pop(); while (true) { - if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1)._right == node)) + if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1)._right === node)) break; if (0 >= t1.length) return A.ioore(t1, -1); @@ -14710,7 +14665,7 @@ call$1(v) { return this.E._is(v); }, - $signature: 11 + $signature: 12 }; A.SplayTreeSet__newSet_closure.prototype = { call$2(a, b) { @@ -14762,7 +14717,7 @@ }, $indexSet(_, key, value) { var processed, original, _this = this; - A._asStringS(key); + A._asString(key); if (_this._processed == null) _this._data.$indexSet(0, key, value); else if (_this.containsKey$1(0, key)) { @@ -14777,8 +14732,6 @@ 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); }, forEach$1(_, f) { @@ -14864,11 +14817,11 @@ }; A.Base64Codec.prototype = { normalize$3(_, source, start, end) { - var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length, + var inverseAlphabet, t1, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t2, t3, endLength, $length, _s31_ = "Invalid base64 encoding length "; end = A.RangeError_checkValidRange(start, end, source.length); inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { + for (t1 = inverseAlphabet.length, 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) { @@ -14885,7 +14838,7 @@ } else char0 = char; if (0 <= char0 && char0 <= 127) { - if (!(char0 >= 0 && char0 < inverseAlphabet.length)) + if (!(char0 >= 0 && char0 < t1)) return A.ioore(inverseAlphabet, char0); value = inverseAlphabet[char0]; if (value >= 0) { @@ -14896,10 +14849,10 @@ } else { if (value === -1) { if (firstPadding < 0) { - t1 = buffer == null ? null : buffer._contents.length; - if (t1 == null) - t1 = 0; - firstPadding = t1 + (i - sliceStart); + t2 = buffer == null ? null : buffer._contents.length; + if (t2 == null) + t2 = 0; + firstPadding = t2 + (i - sliceStart); firstPaddingSourceIndex = i; } ++paddingCount; @@ -14911,11 +14864,11 @@ if (value !== -2) { if (buffer == null) { buffer = new A.StringBuffer(""); - t1 = buffer; + t2 = buffer; } else - t1 = buffer; - t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i); - t1._contents = t2 + A.Primitives_stringFromCharCode(char); + t2 = buffer; + t3 = t2._contents += B.JSString_methods.substring$2(source, sliceStart, i); + t2._contents = t3 + A.Primitives_stringFromCharCode(char); sliceStart = i0; continue; } @@ -15163,10 +15116,7 @@ _this.writeString$1("{}"); return true; } - t2 = t1.get$length(map); - if (typeof t2 !== "number") - return t2.$mul(); - t2 *= 2; + 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; @@ -15176,7 +15126,7 @@ _this.writeString$1("{"); for (separator = '"'; i < t2; i += 2, separator = ',"') { _this.writeString$1(separator); - _this.writeStringContent$1(A._asStringS(keyValueList[i])); + _this.writeStringContent$1(A._asString(keyValueList[i])); _this.writeString$1('":'); t1 = i + 1; if (!(t1 < t2)) @@ -15197,7 +15147,7 @@ B.JSArray_methods.$indexSet(t1, t2.i++, key); B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - $signature: 17 + $signature: 18 }; A._JsonStringStringifier.prototype = { get$_partialResult() { @@ -15225,7 +15175,7 @@ A.Utf8Encoder.prototype = { convert$1(string) { var end, $length, t1, encoder; - A._asStringS(string); + A._asString(string); end = A.RangeError_checkValidRange(0, null, string.length); $length = end - 0; if ($length === 0) @@ -15288,56 +15238,56 @@ } }, _fillBuffer$3(str, start, end) { - var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this; - if (start !== end && (J.codeUnitAt$1$s(str, end - 1) & 64512) === 55296) + 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._buffer, t2 = t1.length, t3 = J.getInterceptor$s(str), stringIndex = start; stringIndex < end; ++stringIndex) { - codeUnit = t3._codeUnitAt$1(str, stringIndex); + for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { + codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex); if (codeUnit <= 127) { - t4 = _this._bufferIndex; - if (t4 >= t2) + t3 = _this._bufferIndex; + if (t3 >= t2) break; - _this._bufferIndex = t4 + 1; - t1[t4] = codeUnit; + _this._bufferIndex = t3 + 1; + t1[t3] = codeUnit; } else { - t4 = codeUnit & 64512; - if (t4 === 55296) { + 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 (t4 === 56320) { + } else if (t3 === 56320) { if (_this._bufferIndex + 3 > t2) break; _this._writeReplacementCharacter$0(); } else if (codeUnit <= 2047) { - t4 = _this._bufferIndex; - t5 = t4 + 1; - if (t5 >= t2) + t3 = _this._bufferIndex; + t4 = t3 + 1; + if (t4 >= t2) break; - _this._bufferIndex = t5; - if (!(t4 < t2)) - return A.ioore(t1, t4); - t1[t4] = codeUnit >>> 6 | 192; - _this._bufferIndex = t5 + 1; - t1[t5] = codeUnit & 63 | 128; + _this._bufferIndex = t4; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit >>> 6 | 192; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit & 63 | 128; } else { - t4 = _this._bufferIndex; - if (t4 + 2 >= t2) + t3 = _this._bufferIndex; + if (t3 + 2 >= t2) break; - t5 = _this._bufferIndex = t4 + 1; + t4 = _this._bufferIndex = t3 + 1; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit >>> 12 | 224; + t3 = _this._bufferIndex = t4 + 1; if (!(t4 < t2)) return A.ioore(t1, t4); - t1[t4] = codeUnit >>> 12 | 224; - t4 = _this._bufferIndex = t5 + 1; - if (!(t5 < t2)) - return A.ioore(t1, t5); - t1[t5] = codeUnit >>> 6 & 63 | 128; - _this._bufferIndex = t4 + 1; - if (!(t4 < t2)) - return A.ioore(t1, t4); - t1[t4] = codeUnit & 63 | 128; + t1[t4] = codeUnit >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (!(t3 < t2)) + return A.ioore(t1, t3); + t1[t3] = codeUnit & 63 | 128; } } } @@ -15346,9 +15296,9 @@ }; A._symbolMapToStringMap_closure.prototype = { call$2(key, value) { - this.result.$indexSet(0, type$.Symbol._as(key)._name, value); + this.result.$indexSet(0, type$.Symbol._as(key).__internal$_name, value); }, - $signature: 18 + $signature: 19 }; A.NoSuchMethodError_toString_closure.prototype = { call$2(key, value) { @@ -15357,13 +15307,13 @@ t1 = this.sb; t2 = this._box_0; t3 = t1._contents += t2.comma; - t3 += A.S(key._name); + t3 += key.__internal$_name; t1._contents = t3; t1._contents = t3 + ": "; t1._contents += A.Error_safeToString(value); t2.comma = ", "; }, - $signature: 18 + $signature: 19 }; A._BigIntImpl.prototype = { $negate(_) { @@ -15409,8 +15359,6 @@ }, $shr(_, shiftAmount) { var t1, digitShift, bitShift, resultUsed, digits, resultDigits, t2, result, i, _this = this; - if (typeof shiftAmount !== "number") - return shiftAmount.$lt(); if (shiftAmount < 0) throw A.wrapException(A.ArgumentError$("shift-amount must be posititve " + shiftAmount, null)); t1 = _this._used; @@ -15499,8 +15447,9 @@ return other._absSubSetSign$2(_this, !isNegative); }, $sub(_, other) { - var t2, isNegative, _this = this, - t1 = _this._used; + var t1, t2, isNegative, _this = this; + type$._BigIntImpl._as(other); + t1 = _this._used; if (t1 === 0) return other.$negate(0); t2 = other._used; @@ -15514,9 +15463,10 @@ return other._absSubSetSign$2(_this, !isNegative); }, $mul(_, other) { - var resultUsed, digits, otherDigits, resultDigits, t1, i, t2, - used = this._used, - otherUsed = other._used; + var used, otherUsed, resultUsed, digits, otherDigits, resultDigits, t1, i, t2; + type$._BigIntImpl._as(other); + used = this._used; + otherUsed = other._used; if (used === 0 || otherUsed === 0) return $.$get$_BigIntImpl_zero(); resultUsed = used + otherUsed; @@ -15534,21 +15484,15 @@ return new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); }, _div$1(other) { - var t1, t2, lastQuo_used, quo_digits, quo; + var lastQuo_used, quo_digits, t1, quo; if (this._used < other._used) return $.$get$_BigIntImpl_zero(); this._divRem$1(other); - t1 = $._BigIntImpl____lastQuoRemUsed._readField$0(); - t2 = $._BigIntImpl____lastRemUsed._readField$0(); - if (typeof t1 !== "number") - return t1.$sub(); - if (typeof t2 !== "number") - return A.iae(t2); - lastQuo_used = t1 - t2; + 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); - t2 = A._BigIntImpl__normalize(lastQuo_used, quo_digits); - quo = new A._BigIntImpl(false, quo_digits, t2); - return this._isNegative !== other._isNegative && t2 > 0 ? quo.$negate(0) : quo; + 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; @@ -15558,10 +15502,7 @@ 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); - t1 = $._BigIntImpl____lastRem_nsh._readField$0(); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 0) + 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; }, @@ -15656,7 +15597,7 @@ return other instanceof A._BigIntImpl && this.compareTo$1(0, other) === 0; }, toString$0(_) { - var decimalDigitChunks, rest, t2, digits4, t3, _this = this, + var decimalDigitChunks, rest, t2, t3, digits4, t4, _this = this, t1 = _this._used; if (t1 === 0) return "0"; @@ -15675,20 +15616,20 @@ 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) + for (t2 = type$._BigIntImpl; rest._used > 1;) { + t3 = t2._as($.$get$_BigIntImpl__bigInt10000()); + if (t3._used === 0) A.throwExpression(B.C_IntegerDivisionByZeroException); - digits4 = J.toString$0$(rest._rem$1(t2)); + digits4 = rest._rem$1(t3).toString$0(0); B.JSArray_methods.add$1(decimalDigitChunks, digits4); - t3 = digits4.length; - if (t3 === 1) + t4 = digits4.length; + if (t4 === 1) B.JSArray_methods.add$1(decimalDigitChunks, "000"); - if (t3 === 2) + if (t4 === 2) B.JSArray_methods.add$1(decimalDigitChunks, "00"); - if (t3 === 3) + if (t4 === 3) B.JSArray_methods.add$1(decimalDigitChunks, "0"); - rest = rest._div$1(t2); + rest = rest._div$1(t3); } t2 = rest._digits; if (0 >= t2.length) @@ -15707,7 +15648,7 @@ hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, - $signature: 19 + $signature: 20 }; A._BigIntImpl_hashCode_finish.prototype = { call$1(hash) { @@ -15715,7 +15656,7 @@ hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, - $signature: 20 + $signature: 21 }; A.DateTime.prototype = { $eq(_, other) { @@ -15838,16 +15779,12 @@ return "RangeError"; }, get$_errorExplanation() { - var t1, - invalidValue = A._asIntS(this.invalidValue); - if (typeof invalidValue !== "number") - return invalidValue.$lt(); - if (invalidValue < 0) + if (A._asInt(this.invalidValue) < 0) return ": index must not be negative"; - t1 = this.length; + var t1 = this.length; if (t1 === 0) return ": no indices are valid"; - return ": index should be less than " + A.S(t1); + return ": index should be less than " + t1; }, get$length(receiver) { return this.length; @@ -15868,7 +15805,7 @@ _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb)); receiverText = A.Error_safeToString(_this._core$_receiver); actualParameters = sb.toString$0(0); - return "NoSuchMethodError: method not found: '" + A.S(_this._core$_memberName._name) + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; + return "NoSuchMethodError: method not found: '" + _this._core$_memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; } }; A.UnsupportedError.prototype = { @@ -15915,8 +15852,7 @@ }; A.CyclicInitializationError.prototype = { toString$0(_) { - var variableName = this.variableName; - return variableName == null ? "Reading static variable during its initialization" : "Reading static variable '" + variableName + "' during its initialization"; + return "Reading static variable '" + this.variableName + "' during its initialization"; } }; A._Exception.prototype = { @@ -15928,7 +15864,7 @@ toString$0(_) { var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, message = this.message, - report = message != null && "" !== message ? "FormatException: " + A.S(message) : "FormatException", + report = "" !== message ? "FormatException: " + message : "FormatException", offset = this.offset, source = this.source; if (typeof source == "string") { @@ -16101,7 +16037,7 @@ return A.Primitives_objectHashCode(this); }, toString$0(_) { - return "Instance of '" + A.S(A.Primitives_objectTypeName(this)) + "'"; + return "Instance of '" + A.Primitives_objectTypeName(this) + "'"; }, noSuchMethod$1(_, invocation) { type$.Invocation._as(invocation); @@ -16140,13 +16076,13 @@ call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, - $signature: 53 + $signature: 82 }; A.Uri_parseIPv6Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, - $signature: 52 + $signature: 84 }; A.Uri_parseIPv6Address_parseHex.prototype = { call$2(start, end) { @@ -16158,15 +16094,15 @@ this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); return value; }, - $signature: 19 + $signature: 20 }; A._Uri.prototype = { get$_text() { var t1, t2, t3, t4, _this = this, - value = _this.___Uri__text; + value = _this.___Uri__text_FI; if (value === $) { t1 = _this.scheme; - t2 = t1.length !== 0 ? t1 + ":" : ""; + t2 = t1.length !== 0 ? "" + t1 + ":" : ""; t3 = _this._host; t4 = t3 == null; if (!t4 || t1 === "file") { @@ -16188,20 +16124,18 @@ t2 = _this._fragment; if (t2 != null) t1 = t1 + "#" + t2; - if (value !== $) - A.throwLateFieldADI("_text"); - value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1; + value !== $ && A.throwLateFieldADI("_text"); + value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1; } return value; }, get$hashCode(_) { var result, _this = this, - value = _this.___Uri_hashCode; + value = _this.___Uri_hashCode_FI; if (value === $) { result = B.JSString_methods.get$hashCode(_this.get$_text()); - if (_this.___Uri_hashCode !== $) - A.throwLateFieldADI("hashCode"); - _this.___Uri_hashCode = result; + _this.___Uri_hashCode_FI !== $ && A.throwLateFieldADI("hashCode"); + _this.___Uri_hashCode_FI = result; value = result; } return value; @@ -16325,9 +16259,9 @@ }; A._Uri__makePath_closure.prototype = { call$1(s) { - return A._Uri__uriEncode(B.List_qg40, A._asStringS(s), B.C_Utf8Codec, false); + return A._Uri__uriEncode(B.List_qg40, A._asString(s), B.C_Utf8Codec, false); }, - $signature: 21 + $signature: 22 }; A.UriData.prototype = { get$uri() { @@ -16368,7 +16302,7 @@ B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); return t1; }, - $signature: 37 + $signature: 53 }; A._createTables_setChars.prototype = { call$3(target, chars, transition) { @@ -16380,7 +16314,7 @@ target[t2] = transition; } }, - $signature: 22 + $signature: 23 }; A._createTables_setRange.prototype = { call$3(target, range, transition) { @@ -16392,7 +16326,7 @@ target[t1] = transition; } }, - $signature: 22 + $signature: 23 }; A._SimpleUri.prototype = { get$hasAuthority() { @@ -16531,13 +16465,17 @@ receiver.href = value; }, toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; }, $isAnchorElement: 1 }; A.AreaElement.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.BaseElement.prototype = {$isBaseElement: 1}; @@ -16557,7 +16495,9 @@ A.CssRule.prototype = {$isCssRule: 1}; A.CssStyleDeclaration.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.CssStyleDeclarationBase.prototype = {}; @@ -16587,31 +16527,45 @@ A.Document.prototype = {$isDocument: 1}; A.DomException.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.DomImplementation.prototype = { createHtmlDocument$1(receiver, title) { - return receiver.createHTMLDocument(title); + var t1 = receiver.createHTMLDocument(title); + t1.toString; + return t1; } }; A.DomRectList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Rectangle_num._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -16649,7 +16603,7 @@ t2.toString; if (t1 === t2) { t1 = J.getInterceptor$x(other); - t1 = this.get$width(receiver) == t1.get$width(other) && this.get$height(receiver) == t1.get$height(other); + t1 = this.get$width(receiver) === t1.get$width(other) && this.get$height(receiver) === t1.get$height(other); } else t1 = false; } else @@ -16686,21 +16640,31 @@ }; A.DomStringList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); - A._asStringS(value); + A._asInt(index); + A._asString(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -16715,7 +16679,9 @@ }; A.DomTokenList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A._FrozenElementList.prototype = { @@ -16729,7 +16695,7 @@ return this.$ti._precomputed1._as(t1[index]); }, $indexSet(_, index, value) { - A._asIntS(index); + A._asInt(index); this.$ti._precomputed1._as(value); throw A.wrapException(A.UnsupportedError$("Cannot modify list")); }, @@ -16746,7 +16712,9 @@ return new A._ElementAttributeMap(receiver); }, toString$0(receiver) { - return receiver.localName; + var t1 = receiver.localName; + t1.toString; + return t1; }, createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { var t1, t2, contextElement, fragment; @@ -16763,10 +16731,12 @@ validator = t1; t1 = $.Element__defaultSanitizer; if (t1 == null) { + validator.toString; t1 = new A._ValidatingTreeSanitizer(validator); $.Element__defaultSanitizer = t1; treeSanitizer = t1; } else { + validator.toString; t1.validator = validator; treeSanitizer = t1; } @@ -16777,13 +16747,15 @@ t2.toString; t2 = B.DomImplementation_methods.createHtmlDocument$1(t2, ""); $.Element__parseDocument = t2; - $.Element__parseRange = t2.createRange(); + t2 = t2.createRange(); + t2.toString; + $.Element__parseRange = t2; t2 = $.Element__parseDocument.createElement("base"); type$.BaseElement._as(t2); t1 = t1.baseURI; t1.toString; t2.href = t1; - $.Element__parseDocument.head.appendChild(t2); + $.Element__parseDocument.head.appendChild(t2).toString; } t1 = $.Element__parseDocument; if (t1.body == null) { @@ -16797,23 +16769,37 @@ contextElement = t1; } else { t1.toString; - contextElement = t1.createElement(receiver.tagName); - $.Element__parseDocument.body.appendChild(contextElement); + t2 = receiver.tagName; + t2.toString; + contextElement = t1.createElement(t2); + $.Element__parseDocument.body.appendChild(contextElement).toString; } - if ("createContextualFragment" in window.Range.prototype && !B.JSArray_methods.contains$1(B.List_ego, receiver.tagName)) { + t1 = "createContextualFragment" in window.Range.prototype; + t1.toString; + if (t1) { + t1 = receiver.tagName; + t1.toString; + t1 = !B.JSArray_methods.contains$1(B.List_ego, t1); + } else + t1 = false; + if (t1) { $.Element__parseRange.selectNodeContents(contextElement); t1 = $.Element__parseRange; - fragment = t1.createContextualFragment(html); + t1 = t1.createContextualFragment(html); + t1.toString; + fragment = t1; } else { J.set$_innerHtml$x(contextElement, html); - fragment = $.Element__parseDocument.createDocumentFragment(); - for (; t1 = contextElement.firstChild, t1 != null;) - fragment.appendChild(t1); + t1 = $.Element__parseDocument.createDocumentFragment(); + t1.toString; + for (; t2 = contextElement.firstChild, t2 != null;) + t1.appendChild(t2).toString; + fragment = t1; } if (contextElement !== $.Element__parseDocument.body) J.remove$0$x(contextElement); treeSanitizer.sanitizeTree$1(fragment); - document.adoptNode(fragment); + document.adoptNode(fragment).toString; return fragment; }, createFragment$2$treeSanitizer($receiver, html, treeSanitizer) { @@ -16821,13 +16807,15 @@ }, setInnerHtml$1(receiver, html) { this.set$text(receiver, null); - receiver.appendChild(this.createFragment$3$treeSanitizer$validator(receiver, html, null, null)); + receiver.appendChild(this.createFragment$3$treeSanitizer$validator(receiver, html, null, null)).toString; }, set$_innerHtml(receiver, value) { receiver.innerHTML = value; }, get$tagName(receiver) { - return receiver.tagName; + var t1 = receiver.tagName; + t1.toString; + return t1; }, $isElement: 1 }; @@ -16835,7 +16823,7 @@ call$1(e) { return type$.Element._is(type$.Node._as(e)); }, - $signature: 36 + $signature: 63 }; A.Event.prototype = {$isEvent: 1}; A.EventSource.prototype = {$isEventSource: 1}; @@ -16859,21 +16847,31 @@ A.File.prototype = {$isFile: 1}; A.FileList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.File._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -16900,26 +16898,38 @@ A.Gamepad.prototype = {$isGamepad: 1}; A.History.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.HtmlCollection.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Node._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -16962,14 +16972,16 @@ else t3.completeError$1(e); }, - $signature: 34 + $signature: 83 }; A.HttpRequestEventTarget.prototype = {}; A.ImageData.prototype = {$isImageData: 1}; A.KeyboardEvent.prototype = {$isKeyboardEvent: 1}; A.Location.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; }, $isLocation: 1 }; @@ -16985,17 +16997,21 @@ return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { - return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -17004,13 +17020,17 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { - A._asStringS(key); + A._asString(key); throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 @@ -17026,17 +17046,21 @@ return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { - return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -17045,13 +17069,17 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { - A._asStringS(key); + A._asString(key); throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 @@ -17065,21 +17093,31 @@ A.MimeType.prototype = {$isMimeType: 1}; A.MimeTypeArray.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.MimeType._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17120,18 +17158,22 @@ for (len = t1.childNodes.length, i = 0; i < len; ++i) { t3 = t1.firstChild; t3.toString; - t2.appendChild(t3); + t2.appendChild(t3).toString; } return; } for (t1 = iterable.get$iterator(iterable), t2 = this._this; t1.moveNext$0();) - t2.appendChild(t1.get$current(t1)); + t2.appendChild(t1.get$current(t1)).toString; }, $indexSet(_, index, value) { - var t1; - A._asIntS(index); + var t1, t2; + A._asInt(index); + type$.Node._as(value); t1 = this._this; - t1.replaceChild(type$.Node._as(value), B.NodeList_methods.$index(t1.childNodes, index)); + t2 = t1.childNodes; + if (!(index >= 0 && index < t2.length)) + return A.ioore(t2, index); + t1.replaceChild(value, t2[index]).toString; }, get$iterator(_) { var t1 = this._this.childNodes; @@ -17145,19 +17187,22 @@ return this._this.childNodes.length; }, $index(_, index) { - return B.NodeList_methods.$index(this._this.childNodes, index); + var t1 = this._this.childNodes; + if (!(index >= 0 && index < t1.length)) + return A.ioore(t1, index); + return t1[index]; } }; A.Node.prototype = { remove$0(receiver) { var t1 = receiver.parentNode; if (t1 != null) - t1.removeChild(receiver); + t1.removeChild(receiver).toString; }, _clearChildren$0(receiver) { var t1; for (; t1 = receiver.firstChild, t1 != null;) - receiver.removeChild(t1); + receiver.removeChild(t1).toString; }, toString$0(receiver) { var value = receiver.nodeValue; @@ -17170,21 +17215,31 @@ }; A.NodeList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Node._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17205,21 +17260,31 @@ }; A.PluginArray.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Plugin._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17238,17 +17303,21 @@ return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { - return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -17257,13 +17326,17 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { - A._asStringS(key); + A._asString(key); throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 @@ -17283,21 +17356,31 @@ A.SourceBuffer.prototype = {$isSourceBuffer: 1}; A.SourceBufferList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.SourceBuffer._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17313,21 +17396,31 @@ A.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; A.SpeechGrammarList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.SpeechGrammar._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17351,10 +17444,10 @@ return receiver.getItem(key) != null; }, $index(receiver, key) { - return receiver.getItem(A._asStringS(key)); + return receiver.getItem(A._asString(key)); }, $indexSet(receiver, key, value) { - receiver.setItem(A._asStringS(key), A._asStringS(value)); + receiver.setItem(A._asString(key), A._asString(value)); }, forEach$1(receiver, f) { var i, key, t1; @@ -17374,7 +17467,9 @@ return keys; }, get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, get$isEmpty(receiver) { return receiver.key(0) == null; @@ -17385,57 +17480,56 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 51 + $signature: 25 }; A.StyleSheet.prototype = {$isStyleSheet: 1}; A.TableElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { - var table, fragment; - if ("createContextualFragment" in window.Range.prototype) + var table, + t1 = "createContextualFragment" in window.Range.prototype; + t1.toString; + if (t1) return this.super$Element$createFragment(receiver, html, treeSanitizer, validator); table = A.Element_Element$html("" + html + "
", treeSanitizer, validator); - fragment = document.createDocumentFragment(); - fragment.toString; - table.toString; - new A._ChildNodeListLazy(fragment).addAll$1(0, new A._ChildNodeListLazy(table)); - return fragment; + t1 = document.createDocumentFragment(); + t1.toString; + new A._ChildNodeListLazy(t1).addAll$1(0, new A._ChildNodeListLazy(table)); + return t1; } }; A.TableRowElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { - var t1, fragment, section, row; - if ("createContextualFragment" in window.Range.prototype) + var t2, + t1 = "createContextualFragment" in window.Range.prototype; + t1.toString; + if (t1) return this.super$Element$createFragment(receiver, html, treeSanitizer, validator); t1 = document; - fragment = t1.createDocumentFragment(); - t1 = B.TableElement_methods.createFragment$3$treeSanitizer$validator(t1.createElement("table"), html, treeSanitizer, validator); + t2 = t1.createDocumentFragment(); + t2.toString; + t1 = t1.createElement("table"); t1.toString; - t1 = new A._ChildNodeListLazy(t1); - section = t1.get$single(t1); - section.toString; - t1 = new A._ChildNodeListLazy(section); - row = t1.get$single(t1); - fragment.toString; - row.toString; - new A._ChildNodeListLazy(fragment).addAll$1(0, new A._ChildNodeListLazy(row)); - return fragment; + t1 = new A._ChildNodeListLazy(B.TableElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator)); + t1 = new A._ChildNodeListLazy(t1.get$single(t1)); + new A._ChildNodeListLazy(t2).addAll$1(0, new A._ChildNodeListLazy(t1.get$single(t1))); + return t2; } }; A.TableSectionElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { - var t1, fragment, section; - if ("createContextualFragment" in window.Range.prototype) + var t2, + t1 = "createContextualFragment" in window.Range.prototype; + t1.toString; + if (t1) return this.super$Element$createFragment(receiver, html, treeSanitizer, validator); t1 = document; - fragment = t1.createDocumentFragment(); - t1 = B.TableElement_methods.createFragment$3$treeSanitizer$validator(t1.createElement("table"), html, treeSanitizer, validator); + t2 = t1.createDocumentFragment(); + t2.toString; + t1 = t1.createElement("table"); t1.toString; - t1 = new A._ChildNodeListLazy(t1); - section = t1.get$single(t1); - fragment.toString; - section.toString; - new A._ChildNodeListLazy(fragment).addAll$1(0, new A._ChildNodeListLazy(section)); - return fragment; + t1 = new A._ChildNodeListLazy(B.TableElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator)); + new A._ChildNodeListLazy(t2).addAll$1(0, new A._ChildNodeListLazy(t1.get$single(t1))); + return t2; } }; A.TemplateElement.prototype = { @@ -17446,7 +17540,7 @@ t1.toString; J._clearChildren$0$x(t1); fragment = this.createFragment$3$treeSanitizer$validator(receiver, html, null, null); - receiver.content.appendChild(fragment); + receiver.content.appendChild(fragment).toString; }, $isTemplateElement: 1 }; @@ -17454,21 +17548,31 @@ A.TextTrackCue.prototype = {$isTextTrackCue: 1}; A.TextTrackCueList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.TextTrackCue._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17483,21 +17587,31 @@ }; A.TextTrackList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.TextTrack._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17512,27 +17626,39 @@ }; A.TimeRanges.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.Touch.prototype = {$isTouch: 1}; A.TouchList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Touch._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17553,7 +17679,9 @@ A.UIEvent.prototype = {}; A.Url.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.VideoTrackList.prototype = { @@ -17579,29 +17707,42 @@ return receiver.alert(message); }, confirm$1(receiver, message) { - return receiver.confirm(message); + var t1 = receiver.confirm(message); + t1.toString; + return t1; }, - $isWindow: 1 + $isWindow: 1, + $isWindowBase: 1 }; A.WorkerGlobalScope.prototype = {$isWorkerGlobalScope: 1}; A._Attr.prototype = {$is_Attr: 1}; A._CssRuleList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.CssRule._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17691,15 +17832,19 @@ }; A._GamepadList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); return receiver[index]; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.nullable_Gamepad._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -17720,21 +17865,31 @@ }; A._NamedNodeMap.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Node._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17749,21 +17904,31 @@ }; A._SpeechRecognitionResultList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.SpeechRecognitionResult._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17778,21 +17943,31 @@ }; A._StyleSheetList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = index >>> 0 !== index || index >= receiver.length; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver[index]; + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.StyleSheet._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1; + if (receiver.length > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -17811,11 +17986,12 @@ return A.Map_castFrom(this, t1, t1, $K, $V); }, forEach$1(_, f) { - var t1, t2, t3, _i, t4; + var t1, t2, t3, _i, t4, value; type$.void_Function_String_String._as(f); for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._element, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { - t4 = A._asStringS(t1[_i]); - f.call$2(t4, t3.getAttribute(t4)); + t4 = A._asString(t1[_i]); + value = t3.getAttribute(t4); + f.call$2(t4, value == null ? A._asString(value) : value); } }, get$keys(_) { @@ -17841,13 +18017,15 @@ }; A._ElementAttributeMap.prototype = { containsKey$1(_, key) { - return typeof key == "string" && A.boolConversionCheck(this._element.hasAttribute(key)); + var t1 = this._element.hasAttribute(key); + t1.toString; + return t1; }, $index(_, key) { - return this._element.getAttribute(A._asStringS(key)); + return this._element.getAttribute(A._asString(key)); }, $indexSet(_, key, value) { - this._element.setAttribute(A._asStringS(key), A._asStringS(value)); + this._element.setAttribute(A._asString(key), A._asString(value)); }, get$length(_) { return this.get$keys(this).length; @@ -17924,13 +18102,13 @@ call$1(e) { return this.onData.call$1(type$.Event._as(e)); }, - $signature: 5 + $signature: 4 }; A._EventStreamSubscription_onData_closure.prototype = { call$1(e) { return this.handleData.call$1(type$.Event._as(e)); }, - $signature: 5 + $signature: 4 }; A._Html5NodeValidator.prototype = { _Html5NodeValidator$1$uriPolicy(uriPolicy) { @@ -17946,12 +18124,12 @@ return $.$get$_Html5NodeValidator__allowedElements().contains$1(0, A.Element__safeTagName(element)); }, allowsAttribute$3(element, attributeName, value) { - var validator = $._Html5NodeValidator__attributeValidators.$index(0, A.S(A.Element__safeTagName(element)) + "::" + attributeName); + 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 A._asBoolS(validator.call$4(element, attributeName, value, this)); + return A._asBool(validator.call$4(element, attributeName, value, this)); }, $isNodeValidator: 1 }; @@ -17977,13 +18155,13 @@ call$1(v) { return type$.NodeValidator._as(v).allowsElement$1(this.element); }, - $signature: 32 + $signature: 27 }; A.NodeValidatorBuilder_allowsAttribute_closure.prototype = { call$1(v) { return type$.NodeValidator._as(v).allowsAttribute$3(this.element, this.attributeName, this.value); }, - $signature: 32 + $signature: 27 }; A._SimpleNodeValidator.prototype = { _SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes) { @@ -18000,23 +18178,23 @@ return this.allowedElements.contains$1(0, A.Element__safeTagName(element)); }, allowsAttribute$3(element, attributeName, value) { - var t4, _this = this, + var t3, _this = this, + tagName = A.Element__safeTagName(element), t1 = _this.allowedUriAttributes, - t2 = A.S(A.Element__safeTagName(element)), - t3 = t2 + "::" + attributeName; - if (t1.contains$1(0, t3)) + t2 = tagName + "::" + attributeName; + if (t1.contains$1(0, t2)) return _this.uriPolicy.allowsUri$1(value); else { - t4 = "*::" + attributeName; - if (t1.contains$1(0, t4)) + t3 = "*::" + attributeName; + if (t1.contains$1(0, t3)) return _this.uriPolicy.allowsUri$1(value); else { t1 = _this.allowedAttributes; - if (t1.contains$1(0, t3)) + if (t1.contains$1(0, t2)) return true; - else if (t1.contains$1(0, t4)) + else if (t1.contains$1(0, t3)) return true; - else if (t1.contains$1(0, t2 + "::*")) + else if (t1.contains$1(0, tagName + "::*")) return true; else if (t1.contains$1(0, "*::*")) return true; @@ -18028,15 +18206,15 @@ }; A._SimpleNodeValidator_closure.prototype = { call$1(x) { - return !B.JSArray_methods.contains$1(B.List_yrN, A._asStringS(x)); + return !B.JSArray_methods.contains$1(B.List_yrN, A._asString(x)); }, - $signature: 30 + $signature: 28 }; A._SimpleNodeValidator_closure0.prototype = { call$1(x) { - return B.JSArray_methods.contains$1(B.List_yrN, A._asStringS(x)); + return B.JSArray_methods.contains$1(B.List_yrN, A._asString(x)); }, - $signature: 30 + $signature: 28 }; A._TemplatingNodeValidator.prototype = { allowsAttribute$3(element, attributeName, value) { @@ -18051,9 +18229,9 @@ }; A._TemplatingNodeValidator_closure.prototype = { call$1(attr) { - return "TEMPLATE::" + A.S(A._asStringS(attr)); + return "TEMPLATE::" + A._asString(attr); }, - $signature: 21 + $signature: 22 }; A._SvgNodeValidator.prototype = { allowsElement$1(element) { @@ -18089,14 +18267,15 @@ return false; }, get$current(_) { - return this._current; + var t1 = this._current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, set$_current(_current) { this._current = this.$ti._eval$1("1?")._as(_current); }, $isIterator: 1 }; - A._DOMWindowCrossFrame.prototype = {$isEventTarget: 1}; + A._DOMWindowCrossFrame.prototype = {$isEventTarget: 1, $isWindowBase: 1}; A._SameOriginUriPolicy.prototype = {$isUriPolicy: 1}; A._ValidatingTreeSanitizer.prototype = { sanitizeTree$1(node) { @@ -18112,17 +18291,17 @@ if ($parent == null || $parent !== node.parentNode) J.remove$0$x(node); else - $parent.removeChild(node); + $parent.removeChild(node).toString; }, _sanitizeUntrustedElement$2(element, $parent) { - var corruptedTest1, elementText, elementTagName, exception, t1, + var corruptedTest1, elementText, elementTagName, t1, corrupted0, exception, t2, corrupted = true, attrs = null, isAttr = null; try { attrs = J.get$attributes$x(element); isAttr = attrs._element.getAttribute("is"); type$.Element._as(element); - corruptedTest1 = function(element) { + t1 = 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") @@ -18143,7 +18322,16 @@ } return false; }(element); - corrupted = A.boolConversionCheck(corruptedTest1) ? true : !(element.attributes instanceof NamedNodeMap); + t1.toString; + corruptedTest1 = t1; + if (A.boolConversionCheck(corruptedTest1)) + corrupted0 = true; + else { + t1 = !(element.attributes instanceof NamedNodeMap); + t1.toString; + corrupted0 = t1; + } + corrupted = corrupted0; } catch (exception) { } elementText = "element unprintable"; @@ -18159,51 +18347,61 @@ throw exception; else { this._removeNode$2(element, $parent); - window; + window.toString; t1 = A.S(elementText); - if (typeof console != "undefined") + t2 = typeof console != "undefined"; + t2.toString; + if (t2) window.console.warn("Removing corrupted element " + t1); } } }, _sanitizeElement$7(element, $parent, corrupted, text, tag, attrs, isAttr) { - var t1, keys, i, t2, $name, t3, t4, _this = this; + var t1, t2, keys, i, $name, t3, t4, _this = this; if (corrupted) { _this._removeNode$2(element, $parent); - window; - if (typeof console != "undefined") + window.toString; + t1 = typeof console != "undefined"; + t1.toString; + if (t1) window.console.warn("Removing element due to corrupted attributes on <" + text + ">"); return; } if (!_this.validator.allowsElement$1(element)) { _this._removeNode$2(element, $parent); - window; + window.toString; t1 = A.S($parent); - if (typeof console != "undefined") - window.console.warn("Removing disallowed element <" + A.S(tag) + "> from " + t1); + t2 = typeof console != "undefined"; + t2.toString; + if (t2) + window.console.warn("Removing disallowed element <" + tag + "> from " + t1); return; } if (isAttr != null) if (!_this.validator.allowsAttribute$3(element, "is", isAttr)) { _this._removeNode$2(element, $parent); - window; - if (typeof console != "undefined") - window.console.warn("Removing disallowed type extension <" + A.S(tag) + ' is="' + isAttr + '">'); + window.toString; + t1 = typeof console != "undefined"; + t1.toString; + if (t1) + window.console.warn("Removing disallowed type extension <" + tag + ' is="' + isAttr + '">'); 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._element, t2 = "Removing disallowed attribute <" + A.S(tag) + " "; i >= 0; --i) { + for (i = attrs.get$keys(attrs).length - 1, t1 = attrs._element, t2 = "Removing disallowed attribute <" + tag + " "; i >= 0; --i) { if (!(i < keys.length)) return A.ioore(keys, i); $name = keys[i]; t3 = _this.validator; t4 = J.toLowerCase$0$s($name); - A._asStringS($name); - if (!t3.allowsAttribute$3(element, t4, t1.getAttribute($name))) { - window; + A._asString($name); + if (!t3.allowsAttribute$3(element, t4, A._asString(t1.getAttribute($name)))) { + window.toString; t3 = t1.getAttribute($name); - if (typeof console != "undefined") + t4 = typeof console != "undefined"; + t4.toString; + if (t4) window.console.warn(t2 + $name + '="' + A.S(t3) + '">'); t1.removeAttribute($name); } @@ -18218,9 +18416,11 @@ }; A._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { call$2(node, $parent) { - var child, nextChild, t2, t3, t4, exception, - t1 = this.$this; - switch (node.nodeType) { + var child, nextChild, t3, t4, exception, + t1 = this.$this, + t2 = node.nodeType; + t2.toString; + switch (t2) { case 1: t1._sanitizeUntrustedElement$2(node, $parent); break; @@ -18252,11 +18452,11 @@ t3 = t2._as(child); ++t1.numTreeModifications; t4 = t3.parentNode; - if (node == null ? t4 != null : node !== t4) { + if (node !== t4) { if (t4 != null) - t4.removeChild(t3); + t4.removeChild(t3).toString; } else - node.removeChild(t3); + node.removeChild(t3).toString; child = null; nextChild = node.lastChild; } @@ -18319,7 +18519,7 @@ return $length; }, walk$1(e) { - var slot, t2, copy, _this = this, t1 = {}; + var slot, t2, copy, t3, _this = this, t1 = {}; if (e == null) return e; if (A._isBool(e)) @@ -18374,9 +18574,10 @@ copy = t1.copy = t2[slot]; if (copy != null) return copy; - copy = {}; - t1.copy = copy; - B.JSArray_methods.$indexSet(t2, slot, copy); + t3 = {}; + t3.toString; + t1.copy = t3; + B.JSArray_methods.$indexSet(t2, slot, t3); _this.forEachObjectKey$2(e, new A._StructuredClone_walk_closure0(t1, _this)); return t1.copy; } @@ -18386,11 +18587,12 @@ var i, t1 = J.getInterceptor$asx(e), $length = t1.get$length(e), - copy = new Array($length); - B.JSArray_methods.$indexSet(this.copies, slot, copy); + t2 = new Array($length); + t2.toString; + B.JSArray_methods.$indexSet(this.copies, slot, t2); for (i = 0; i < $length; ++i) - B.JSArray_methods.$indexSet(copy, i, this.walk$1(t1.$index(e, i))); - return copy; + B.JSArray_methods.$indexSet(t2, i, this.walk$1(t1.$index(e, i))); + return t2; } }; A._StructuredClone_walk_closure.prototype = { @@ -18418,7 +18620,7 @@ return $length; }, walk$1(e) { - var slot, t1, copy, t2, l, $length, i, _this = this, _box_0 = {}; + var t1, slot, copy, t2, t3, $length, t4, i, _this = this, _box_0 = {}; if (e == null) return e; if (A._isBool(e)) @@ -18427,11 +18629,20 @@ return e; if (typeof e == "string") return e; - if (e instanceof Date) - return A.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); - if (e instanceof RegExp) + t1 = e instanceof Date; + t1.toString; + if (t1) { + t1 = e.getTime(); + t1.toString; + return A.DateTime$fromMillisecondsSinceEpoch(t1, true); + } + t1 = e instanceof RegExp; + t1.toString; + if (t1) throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); - if (typeof Promise != "undefined" && e instanceof Promise) + t1 = typeof Promise != "undefined" && e instanceof Promise; + t1.toString; + if (t1) return A.promiseToFuture(e, type$.dynamic); if (A.isJavaScriptSimpleObject(e)) { slot = _this.findSlot$1(e); @@ -18448,21 +18659,29 @@ _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; - if (!(slot < t1.length)) - return A.ioore(t1, slot); - copy = t1[slot]; + t1 = e instanceof Array; + t1.toString; + if (t1) { + t1 = e; + t1.toString; + slot = _this.findSlot$1(t1); + t2 = _this.copies; + if (!(slot < t2.length)) + return A.ioore(t2, slot); + copy = t2[slot]; if (copy != null) return copy; - t2 = J.getInterceptor$asx(l); - $length = t2.get$length(l); - copy = _this.mustCopy ? new Array($length) : l; - B.JSArray_methods.$indexSet(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))); + t3 = J.getInterceptor$asx(t1); + $length = t3.get$length(t1); + if (_this.mustCopy) { + t4 = new Array($length); + t4.toString; + copy = t4; + } else + copy = t1; + B.JSArray_methods.$indexSet(t2, slot, copy); + for (t2 = J.getInterceptor$ax(copy), i = 0; i < $length; ++i) + t2.$indexSet(copy, i, _this.walk$1(t3.$index(t1, i))); return copy; } return e; @@ -18485,7 +18704,7 @@ call$1(element) { this.array.push(A._convertDartToNative_Value(element)); }, - $signature: 4 + $signature: 3 }; A.convertDartToNative_Dictionary_closure.prototype = { call$2(key, value) { @@ -18497,7 +18716,7 @@ forEachObjectKey$2(object, action) { var t1, t2, _i, key; type$.dynamic_Function_dynamic_dynamic._as(action); - for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t2; ++_i) { + 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]); } @@ -18560,21 +18779,22 @@ }; A._wrapToDart_closure.prototype = { call$1(o) { - return new A.JsFunction(o); + return new A.JsFunction(o == null ? type$.Object._as(o) : o); }, $signature: 42 }; A._wrapToDart_closure0.prototype = { call$1(o) { - return new A.JsArray(o, type$.JsArray_dynamic); + var t1 = o == null ? type$.Object._as(o) : o; + return new A.JsArray(t1, type$.JsArray_dynamic); }, $signature: 43 }; A._wrapToDart_closure1.prototype = { call$1(o) { - return new A.JsObject(o); + return new A.JsObject(o == null ? type$.Object._as(o) : o); }, - $signature: 44 + $signature: 37 }; A.JsObject.prototype = { $index(_, property) { @@ -18583,6 +18803,7 @@ return A._convertToDart(this._js$_jsObject[property]); }, $indexSet(_, property, value) { + type$.Object._as(property); if (typeof property != "string" && typeof property != "number") throw A.wrapException(A.ArgumentError$("property is not a String or num", null)); this._js$_jsObject[property] = A._convertToJS(value); @@ -18634,6 +18855,7 @@ return this.$ti._precomputed1._as(this.super$JsObject$$index(0, index)); }, $indexSet(_, index, value) { + type$.Object._as(index); if (A._isInt(index)) this._checkIndex$1(index); this.super$_JsArray_JsObject_ListMixin$$indexSet(0, index, value); @@ -18654,14 +18876,14 @@ }; A._JsArray_JsObject_ListMixin.prototype = { $indexSet(_, property, value) { - return this.super$JsObject$$indexSet(0, property, value); + return this.super$JsObject$$indexSet(0, type$.Object._as(property), value); } }; A.promiseToFuture_closure.prototype = { call$1(r) { return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); }, - $signature: 4 + $signature: 3 }; A.promiseToFuture_closure0.prototype = { call$1(e) { @@ -18669,7 +18891,7 @@ return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); return this.completer.completeError$1(e); }, - $signature: 4 + $signature: 3 }; A.NullRejectionException.prototype = { toString$0(_) { @@ -18754,21 +18976,34 @@ A.Length.prototype = {$isLength: 1}; A.LengthList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Length._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1 = receiver.length; + t1.toString; + if (t1 > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -18781,21 +19016,34 @@ A.Number.prototype = {$isNumber: 1}; A.NumberList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Number._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1 = receiver.length; + t1.toString; + if (t1 > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -18813,21 +19061,34 @@ A.ScriptElement0.prototype = {$isScriptElement0: 1}; A.StringList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); - A._asStringS(value); + A._asInt(index); + A._asString(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1 = receiver.length; + t1.toString; + if (t1 > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -18839,7 +19100,7 @@ }; A.SvgElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, svg, treeSanitizer, validator) { - var t2, fragment, svgFragment, root, + var t2, fragment, root, t1 = A._setArrayType([], type$.JSArray_NodeValidator); B.JSArray_methods.add$1(t1, A._Html5NodeValidator$(null)); B.JSArray_methods.add$1(t1, A._TemplatingNodeValidator$()); @@ -18849,34 +19110,47 @@ t2 = t1.body; t2.toString; fragment = B.BodyElement_methods.createFragment$2$treeSanitizer(t2, '' + svg + "", treeSanitizer); - svgFragment = t1.createDocumentFragment(); - fragment.toString; - t1 = new A._ChildNodeListLazy(fragment); - root = t1.get$single(t1); - for (; t1 = root.firstChild, t1 != null;) - svgFragment.appendChild(t1); - return svgFragment; + t1 = t1.createDocumentFragment(); + t1.toString; + t2 = new A._ChildNodeListLazy(fragment); + root = t2.get$single(t2); + for (; t2 = root.firstChild, t2 != null;) + t1.appendChild(t2).toString; + return t1; }, $isSvgElement: 1 }; A.Transform.prototype = {$isTransform: 1}; A.TransformList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, $index(receiver, index) { - if (index >>> 0 !== index || index >= receiver.length) + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); - return receiver.getItem(index); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asIntS(index); + A._asInt(index); type$.Transform._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, get$first(receiver) { - if (receiver.length > 0) - return receiver[0]; + var t1 = receiver.length; + t1.toString; + if (t1 > 0) { + t1 = receiver[0]; + t1.toString; + return t1; + } throw A.wrapException(A.StateError$("No elements")); }, elementAt$1(receiver, index) { @@ -18904,17 +19178,21 @@ return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { - return A.convertNativeToDart_Dictionary(receiver.get(A._asStringS(key))); + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -18923,13 +19201,17 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { - A._asStringS(key); + A._asString(key); throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 @@ -18964,11 +19246,7 @@ completer.completeError$2(this.error, this.stackTrace); }, get$hashCode(_) { - var t1 = J.get$hashCode$(this.error), - t2 = A.Primitives_objectHashCode(this.stackTrace); - if (typeof t1 !== "number") - return t1.$xor(); - return (t1 ^ t2 ^ 492929599) >>> 0; + return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0; }, $eq(_, other) { if (other == null) @@ -18982,10 +19260,7 @@ this.$ti._eval$1("Completer<1>")._as(completer).complete$1(0, this.value); }, get$hashCode(_) { - var t1 = J.get$hashCode$(this.value); - if (typeof t1 !== "number") - return t1.$xor(); - return (t1 ^ 842997089) >>> 0; + return (J.get$hashCode$(this.value) ^ 842997089) >>> 0; }, $eq(_, other) { if (other == null) @@ -19001,15 +19276,18 @@ return t1; }, _updateRequests$0() { - var t1, t2, t3, t4, _this = this; - for (t1 = _this._requestQueue, t2 = _this._eventQueue; !t1.get$isEmpty(t1);) { - t3 = t1._head; - if (t3 === t1._tail) + var t1, t2, t3, t4, t5, _this = this; + for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) { + t4 = t1._head; + if (t4 === t1._tail) A.throwExpression(A.IterableElementError_noElement()); - t4 = t1._table; - if (!(t3 < t4.length)) - return A.ioore(t4, t3); - if (J.update$2$z(t4[t3], t2, _this._isDone)) + t5 = t1._table; + if (!(t4 < t5.length)) + return A.ioore(t5, t4); + t4 = t5[t4]; + if (t4 == null) + t4 = t3._as(t4); + if (J.update$2$z(t4, t2, _this._isDone)) t1.removeFirst$0(); else return; @@ -19062,10 +19340,9 @@ }; A.StreamQueue__ensureListening_closure1.prototype = { call$2(error, stackTrace) { - var t1; + type$.Object._as(error); type$.StackTrace._as(stackTrace); - t1 = stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace; - this.$this._addResult$1(new A.ErrorResult(error, t1)); + this.$this._addResult$1(new A.ErrorResult(error, stackTrace)); }, $signature: 8 }; @@ -19087,6 +19364,8 @@ if (t1 === events._queue_list$_tail) A.throwExpression(A.StateError$("No element")); result = J.$index$asx(events._queue_list$_table, t1); + if (result == null) + result = events.$ti._eval$1("QueueList.E")._as(result); J.$indexSet$ax(events._queue_list$_table, events._queue_list$_head, null); events._queue_list$_head = (events._queue_list$_head + 1 & J.get$length$asx(events._queue_list$_table) - 1) >>> 0; J.complete$1$z(result, this._stream_queue$_completer); @@ -19170,7 +19449,7 @@ return this.toList$1$growable($receiver, true); }, $indexSet(_, index, element) { - A._asIntS(index); + A._asInt(index); this.$ti._precomputed1._as(element); this._maybeCopyBeforeWrite$0(); J.$indexSet$ax(this._copy_on_write_list$_list, index, element); @@ -19199,7 +19478,7 @@ }; A.hashObjects_closure.prototype = { call$2(h, i) { - return A._combine(A._asIntS(h), J.get$hashCode$(i)); + return A._combine(A._asInt(h), J.get$hashCode$(i)); }, $signature: 45 }; @@ -19223,7 +19502,7 @@ t2 = _this._list; if (t1.length !== t2.length) return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) + if (other.get$hashCode(other) !== _this.get$hashCode(_this)) return false; for (i = 0; t3 = t2.length, i !== t3; ++i) { if (!(i < t1.length)) @@ -19301,13 +19580,12 @@ build$0() { var t1, t2, t3, _this = this; if (_this._listOwner == null) { - t1 = _this.__ListBuilder__list; - if (t1 === $) - A.throwLateFieldNI("_list"); + t1 = _this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); t2 = _this.$ti; t3 = t2._eval$1("_BuiltList<1>"); t3 = t3._as(new A._BuiltList(t1, t3)); - _this.set$__ListBuilder__list(t2._eval$1("List<1>")._as(t1)); + _this.set$__ListBuilder__list_A(t2._eval$1("List<1>")._as(t1)); _this.set$_listOwner(t3); } t1 = _this._listOwner; @@ -19321,32 +19599,30 @@ t3 = t1._eval$1("List<1>"); if (t2._is(iterable)) { t2._as(iterable); - _this.set$__ListBuilder__list(t3._as(iterable._list)); + _this.set$__ListBuilder__list_A(t3._as(iterable._list)); _this.set$_listOwner(iterable); } else { - _this.set$__ListBuilder__list(t3._as(A.List_List$from(iterable, true, t1._precomputed1))); + _this.set$__ListBuilder__list_A(t3._as(A.List_List$from(iterable, true, t1._precomputed1))); _this.set$_listOwner(null); } }, get$length(_) { - var t1 = this.__ListBuilder__list; - if (t1 === $) - A.throwLateFieldNI("_list"); + var t1 = this.__ListBuilder__list_A; + t1 === $ && A.throwLateFieldNI("_list"); return t1.length; }, map$1(_, f) { var t2, t3, t4, t5, result, _this = this, t1 = _this.$ti; t1._eval$1("1(1)")._as(f); - t2 = _this.__ListBuilder__list; - if (t2 === $) - A.throwLateFieldNI("_list"); + t2 = _this.__ListBuilder__list_A; + t2 === $ && A.throwLateFieldNI("_list"); t3 = t1._precomputed1; t4 = A._arrayInstanceType(t2); t5 = t4._eval$1("@<1>")._bind$1(t3)._eval$1("MappedListIterable<1,2>"); result = A.List_List$of(new A.MappedListIterable(t2, t4._bind$1(t3)._eval$1("1(2)")._as(f), t5), true, t5._eval$1("ListIterable.E")); _this._list$_maybeCheckElements$1(result); - _this.set$__ListBuilder__list(t1._eval$1("List<1>")._as(result)); + _this.set$__ListBuilder__list_A(t1._eval$1("List<1>")._as(result)); _this.set$_listOwner(null); }, _list$_maybeCheckElements$1(elements) { @@ -19359,8 +19635,8 @@ if (t1._as(elements[_i]) == null) A.throwExpression(A.ArgumentError$("null element", null)); }, - set$__ListBuilder__list(__ListBuilder__list) { - this.__ListBuilder__list = this.$ti._eval$1("List<1>")._as(__ListBuilder__list); + set$__ListBuilder__list_A(__ListBuilder__list_A) { + this.__ListBuilder__list_A = this.$ti._eval$1("List<1>")._as(__ListBuilder__list_A); }, set$_listOwner(_listOwner) { this._listOwner = this.$ti._eval$1("_BuiltList<1>?")._as(_listOwner); @@ -19393,9 +19669,9 @@ t2 = _this._list_multimap$_map; if (t1._length !== t2._length) return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) + if (other.get$hashCode(other) !== _this.get$hashCode(_this)) return false; - for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = other._emptyList, t5 = _this._emptyList; t3.moveNext$0();) { + for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = other._emptyList, t5 = _this._emptyList; t3.moveNext$0();) { key = t3.__js_helper$_current; result = t1.$index(0, key); t6 = result == null ? t4 : result; @@ -19438,7 +19714,7 @@ t1.$ti._precomputed1._as(key); t2 = J.get$hashCode$(key); t1 = J.get$hashCode$(t1._list_multimap$_map.$index(0, key)); - return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t1))); }, $signature() { return this.$this.$ti._eval$1("int(1)"); @@ -19459,45 +19735,36 @@ A.ListMultimapBuilder.prototype = { build$0() { var t1, key, t2, t3, t4, t5, builtList, _this = this, - _s11_ = "_builderMap", _s9_ = "_builtMap"; if (_this._list_multimap$_builtMapOwner == null) { - t1 = _this.__ListMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); + t1 = _this.__ListMultimapBuilder__builderMap_A; + t1 === $ && A.throwLateFieldNI("_builderMap"); t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); for (; t1.moveNext$0();) { key = t1.__js_helper$_current; - t2 = _this.__ListMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); - t2 = t2.$index(0, key); + t2 = _this.__ListMultimapBuilder__builderMap_A.$index(0, key); if (t2._listOwner == null) { - t3 = t2.__ListBuilder__list; - if (t3 === $) - A.throwLateFieldNI("_list"); + t3 = t2.__ListBuilder__list_A; + t3 === $ && A.throwLateFieldNI("_list"); t4 = A._instanceType(t2); t5 = t4._eval$1("_BuiltList<1>"); t5 = t5._as(new A._BuiltList(t3, t5)); - t2.set$__ListBuilder__list(t4._eval$1("List<1>")._as(t3)); + t2.set$__ListBuilder__list_A(t4._eval$1("List<1>")._as(t3)); t2.set$_listOwner(t5); } builtList = t2._listOwner; t2 = builtList._list.length; - t3 = _this.__ListMultimapBuilder__builtMap; + t3 = _this.__ListMultimapBuilder__builtMap_A; if (t2 === 0) { - if (t3 === $) - A.throwLateFieldNI(_s9_); + t3 === $ && A.throwLateFieldNI(_s9_); t3.remove$1(0, key); } else { - if (t3 === $) - A.throwLateFieldNI(_s9_); + t3 === $ && A.throwLateFieldNI(_s9_); t3.$indexSet(0, key, builtList); } } - t1 = _this.__ListMultimapBuilder__builtMap; - if (t1 === $) - A.throwLateFieldNI(_s9_); + t1 = _this.__ListMultimapBuilder__builtMap_A; + t1 === $ && A.throwLateFieldNI(_s9_); t2 = _this.$ti; t3 = t2._rest[1]; _this.set$_list_multimap$_builtMapOwner(new A._BuiltListMultimap(t1, A.BuiltList_BuiltList$from(B.List_empty0, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltListMultimap<1,2>"))); @@ -19511,23 +19778,17 @@ }, _list_multimap$_getValuesBuilder$1(key) { var t2, result, builtValues, _this = this, - _s11_ = "_builderMap", t1 = _this.$ti; t1._precomputed1._as(key); - t2 = _this.__ListMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); + t2 = _this.__ListMultimapBuilder__builderMap_A; + t2 === $ && A.throwLateFieldNI("_builderMap"); result = t2.$index(0, key); if (result == null) { - t2 = _this.__ListMultimapBuilder__builtMap; - if (t2 === $) - A.throwLateFieldNI("_builtMap"); + t2 = _this.__ListMultimapBuilder__builtMap_A; + t2 === $ && A.throwLateFieldNI("_builtMap"); builtValues = t2.$index(0, key); result = builtValues == null ? A.ListBuilder_ListBuilder(B.List_empty0, t1._rest[1]) : A.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); - t1 = _this.__ListMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); - t1.$indexSet(0, key, result); + _this.__ListMultimapBuilder__builderMap_A.$indexSet(0, key, result); } return result; }, @@ -19538,8 +19799,8 @@ t2 = t1._precomputed1; t3 = t1._eval$1("BuiltList<2>"); t4 = t1._eval$1("Map<1,BuiltList<2>>"); - _this.set$__ListMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); - _this.set$__ListMultimapBuilder__builderMap(t1._eval$1("Map<1,ListBuilder<2>>")._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("ListBuilder<2>")))); + _this.set$__ListMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); + _this.set$__ListMultimapBuilder__builderMap_A(t1._eval$1("Map<1,ListBuilder<2>>")._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("ListBuilder<2>")))); for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { key = t5.get$current(t5); if (t2._is(key)) @@ -19549,10 +19810,9 @@ t2._as(key); t1._as(value); if (_this._list_multimap$_builtMapOwner != null) { - t8 = _this.__ListMultimapBuilder__builtMap; - if (t8 === $) - A.throwLateFieldNI("_builtMap"); - _this.set$__ListMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); + t8 = _this.__ListMultimapBuilder__builtMap_A; + t8 === $ && A.throwLateFieldNI("_builtMap"); + _this.set$__ListMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); _this.set$_list_multimap$_builtMapOwner(_null); } _this._list_multimap$_checkKey$1(key); @@ -19565,15 +19825,13 @@ if (value == null) A.throwExpression(A.ArgumentError$("null element", _null)); if (t8._listOwner != null) { - t11 = t8.__ListBuilder__list; - if (t11 === $) - A.throwLateFieldNI("_list"); - t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(A.List_List$from(t11, true, t10))); + t11 = t8.__ListBuilder__list_A; + t11 === $ && A.throwLateFieldNI("_list"); + t8.set$__ListBuilder__list_A(t9._eval$1("List<1>")._as(A.List_List$from(t11, true, t10))); t8.set$_listOwner(_null); } - t8 = t8.__ListBuilder__list; - if (t8 === $) - A.throwLateFieldNI("_list"); + t8 = t8.__ListBuilder__list_A; + t8 === $ && A.throwLateFieldNI("_list"); B.JSArray_methods.add$1(t8, value); } else throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), _null)); @@ -19602,14 +19860,14 @@ if (value == null) throw A.wrapException(A.ArgumentError$("null value", null)); }, - set$__ListMultimapBuilder__builtMap(__ListMultimapBuilder__builtMap) { - this.__ListMultimapBuilder__builtMap = this.$ti._eval$1("Map<1,BuiltList<2>>")._as(__ListMultimapBuilder__builtMap); + set$__ListMultimapBuilder__builtMap_A(__ListMultimapBuilder__builtMap_A) { + this.__ListMultimapBuilder__builtMap_A = this.$ti._eval$1("Map<1,BuiltList<2>>")._as(__ListMultimapBuilder__builtMap_A); }, set$_list_multimap$_builtMapOwner(_builtMapOwner) { this._list_multimap$_builtMapOwner = this.$ti._eval$1("_BuiltListMultimap<1,2>?")._as(_builtMapOwner); }, - set$__ListMultimapBuilder__builderMap(__ListMultimapBuilder__builderMap) { - this.__ListMultimapBuilder__builderMap = this.$ti._eval$1("Map<1,ListBuilder<2>>")._as(__ListMultimapBuilder__builderMap); + set$__ListMultimapBuilder__builderMap_A(__ListMultimapBuilder__builderMap_A) { + this.__ListMultimapBuilder__builderMap_A = this.$ti._eval$1("Map<1,ListBuilder<2>>")._as(__ListMultimapBuilder__builderMap_A); } }; A.ListMultimapBuilder_replace_closure.prototype = { @@ -19650,9 +19908,9 @@ t2 = _this._map$_map; if (t1._length !== t2._length) return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) + if (other.get$hashCode(other) !== _this.get$hashCode(_this)) return false; - for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1); t3.moveNext$0();) { + for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1); t3.moveNext$0();) { key = t3.__js_helper$_current; if (!J.$eq$(t1.$index(0, key), t2.$index(0, key))) return false; @@ -19697,7 +19955,7 @@ t1.$ti._precomputed1._as(key); t2 = J.get$hashCode$(key); t1 = J.get$hashCode$(t1._map$_map.$index(0, key)); - return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t1))); }, $signature() { return this.$this.$ti._eval$1("int(1)"); @@ -19723,9 +19981,8 @@ build$0() { var t1, t2, _this = this; if (_this._mapOwner == null) { - t1 = _this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); + t1 = _this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); t2 = _this.$ti; _this.set$_mapOwner(new A._BuiltMap(_this._mapFactory, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_BuiltMap<1,2>"))); } @@ -19739,7 +19996,7 @@ map.forEach$1(0, new A.MapBuilder_replace_closure(_this, replacement)); _this.$ti._eval$1("Map<1,2>")._as(replacement); _this.set$_mapOwner(null); - _this.set$__MapBuilder__map(replacement); + _this.set$__MapBuilder__map_A(replacement); }, $indexSet(_, key, value) { var t2, t3, _this = this, @@ -19750,38 +20007,33 @@ _this._checkValue$1(value); if (_this._mapOwner != null) { t2 = _this._createMap$0(); - t3 = _this.__MapBuilder__map; - if (t3 === $) - A.throwLateFieldNI("_map"); + t3 = _this.__MapBuilder__map_A; + t3 === $ && A.throwLateFieldNI("_map"); t2.addAll$1(0, t3); - _this.set$__MapBuilder__map(t1._eval$1("Map<1,2>")._as(t2)); + _this.set$__MapBuilder__map_A(t1._eval$1("Map<1,2>")._as(t2)); _this.set$_mapOwner(null); } - t1 = _this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); + t1 = _this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); t1.$indexSet(0, key, value); }, get$length(_) { - var t1 = this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); + var t1 = this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); return t1._length; }, get$_safeMap() { var t1, t2, _this = this; if (_this._mapOwner != null) { t1 = _this._createMap$0(); - t2 = _this.__MapBuilder__map; - if (t2 === $) - A.throwLateFieldNI("_map"); + t2 = _this.__MapBuilder__map_A; + t2 === $ && A.throwLateFieldNI("_map"); t1.addAll$1(0, t2); - _this.set$__MapBuilder__map(_this.$ti._eval$1("Map<1,2>")._as(t1)); + _this.set$__MapBuilder__map_A(_this.$ti._eval$1("Map<1,2>")._as(t1)); _this.set$_mapOwner(null); } - t1 = _this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); + t1 = _this.__MapBuilder__map_A; + t1 === $ && A.throwLateFieldNI("_map"); return t1; }, _createMap$0() { @@ -19808,8 +20060,8 @@ if (value == null) throw A.wrapException(A.ArgumentError$("null value", null)); }, - set$__MapBuilder__map(__MapBuilder__map) { - this.__MapBuilder__map = this.$ti._eval$1("Map<1,2>")._as(__MapBuilder__map); + set$__MapBuilder__map_A(__MapBuilder__map_A) { + this.__MapBuilder__map_A = this.$ti._eval$1("Map<1,2>")._as(__MapBuilder__map_A); }, set$_mapOwner(_mapOwner) { this._mapOwner = this.$ti._eval$1("_BuiltMap<1,2>?")._as(_mapOwner); @@ -19848,7 +20100,7 @@ t1 = _this._set$_set; if (other._set$_set._collection$_length !== t1._collection$_length) return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) + if (other.get$hashCode(other) !== _this.get$hashCode(_this)) return false; return t1.containsAll$1(other); }, @@ -19912,20 +20164,22 @@ }; A._BuiltSet.prototype = { _maybeCheckForNull$0() { + var t1, t2, element; if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) return; - for (var t1 = this._set$_set, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); t1.moveNext$0();) - if (t1._collection$_current == null) + for (t1 = this._set$_set, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { + element = t1._collection$_current; + if ((element == null ? t2._as(element) : element) == null) throw A.wrapException(A.ArgumentError$("iterable contained invalid element: null", null)); + } } }; A.SetBuilder.prototype = { build$0() { var t1, _this = this; if (_this._setOwner == null) { - t1 = _this.__SetBuilder__set; - if (t1 === $) - A.throwLateFieldNI("_set"); + t1 = _this.__SetBuilder__set_A; + t1 === $ && A.throwLateFieldNI("_set"); _this.set$_setOwner(new A._BuiltSet(_this._setFactory, t1, _this.$ti._eval$1("_BuiltSet<1>"))); } t1 = _this._setOwner; @@ -19944,12 +20198,11 @@ } t2._eval$1("Set<1>")._as(set); _this.set$_setOwner(null); - _this.set$__SetBuilder__set(set); + _this.set$__SetBuilder__set_A(set); }, get$length(_) { - var t1 = this.__SetBuilder__set; - if (t1 === $) - A.throwLateFieldNI("_set"); + var t1 = this.__SetBuilder__set_A; + t1 === $ && A.throwLateFieldNI("_set"); return t1._collection$_length; }, map$1(_, f) { @@ -19957,48 +20210,47 @@ t1 = _this.$ti; t1._eval$1("1(1)")._as(f); result = _this._createSet$0(); - t2 = _this.__SetBuilder__set; - if (t2 === $) - A.throwLateFieldNI("_set"); + t2 = _this.__SetBuilder__set_A; + t2 === $ && A.throwLateFieldNI("_set"); t3 = t1._precomputed1; t4 = A._instanceType(t2); result.addAll$1(0, new A.EfficientLengthMappedIterable(t2, t4._bind$1(t3)._eval$1("1(2)")._as(f), t4._eval$1("@<1>")._bind$1(t3)._eval$1("EfficientLengthMappedIterable<1,2>"))); _this._maybeCheckElements$1(result); t1._eval$1("Set<1>")._as(result); _this.set$_setOwner(null); - _this.set$__SetBuilder__set(result); + _this.set$__SetBuilder__set_A(result); }, get$_safeSet() { var t1, t2, _this = this; if (_this._setOwner != null) { t1 = _this._createSet$0(); - t2 = _this.__SetBuilder__set; - if (t2 === $) - A.throwLateFieldNI("_set"); + t2 = _this.__SetBuilder__set_A; + t2 === $ && A.throwLateFieldNI("_set"); t1.addAll$1(0, t2); - _this.set$__SetBuilder__set(_this.$ti._eval$1("Set<1>")._as(t1)); + _this.set$__SetBuilder__set_A(_this.$ti._eval$1("Set<1>")._as(t1)); _this.set$_setOwner(null); } - t1 = _this.__SetBuilder__set; - if (t1 === $) - A.throwLateFieldNI("_set"); + t1 = _this.__SetBuilder__set_A; + t1 === $ && A.throwLateFieldNI("_set"); return t1; }, _createSet$0() { return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); }, _maybeCheckElements$1(elements) { - var t2, + var t2, t3, element, t1 = this.$ti; t1._eval$1("Iterable<1>")._as(elements); if (!(!$.$get$isSoundMode() && !t1._precomputed1._is(null))) return; - for (t2 = A._LinkedHashSetIterator$(elements, elements._collection$_modifications, A._instanceType(elements)._precomputed1), t1 = t1._precomputed1; t2.moveNext$0();) - if (t1._as(t2._collection$_current) == null) + for (t2 = A._LinkedHashSetIterator$(elements, elements._collection$_modifications, A._instanceType(elements)._precomputed1), t1 = t1._precomputed1, t3 = t2.$ti._precomputed1; t2.moveNext$0();) { + element = t2._collection$_current; + if (t1._as(element == null ? t3._as(element) : element) == null) A.throwExpression(A.ArgumentError$("null element", null)); + } }, - set$__SetBuilder__set(__SetBuilder__set) { - this.__SetBuilder__set = this.$ti._eval$1("Set<1>")._as(__SetBuilder__set); + set$__SetBuilder__set_A(__SetBuilder__set_A) { + this.__SetBuilder__set_A = this.$ti._eval$1("Set<1>")._as(__SetBuilder__set_A); }, set$_setOwner(_setOwner) { this._setOwner = this.$ti._eval$1("_BuiltSet<1>?")._as(_setOwner); @@ -20031,9 +20283,9 @@ t2 = _this._set_multimap$_map; if (t1._length !== t2._length) return false; - if (other.get$hashCode(other) != _this.get$hashCode(_this)) + if (other.get$hashCode(other) !== _this.get$hashCode(_this)) return false; - for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, A._instanceType(t3)._precomputed1), t4 = other._emptySet, t5 = _this._emptySet; t3.moveNext$0();) { + for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = other._emptySet, t5 = _this._emptySet; t3.moveNext$0();) { key = t3.__js_helper$_current; result = t1.$index(0, key); t6 = result == null ? t4 : result; @@ -20070,7 +20322,7 @@ t1.$ti._precomputed1._as(key); t2 = J.get$hashCode$(key); t1 = J.get$hashCode$(t1._set_multimap$_map.$index(0, key)); - return A._finish(A._combine(A._combine(0, J.get$hashCode$(t2)), J.get$hashCode$(t1))); + return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t2)), B.JSInt_methods.get$hashCode(t1))); }, $signature() { return this.$this.$ti._eval$1("int(1)"); @@ -20080,42 +20332,33 @@ A.SetMultimapBuilder.prototype = { build$0() { var t1, key, t2, t3, t4, builtSet, _this = this, - _s11_ = "_builderMap", _s9_ = "_builtMap"; if (_this._builtMapOwner == null) { - t1 = _this.__SetMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); + t1 = _this.__SetMultimapBuilder__builderMap_A; + t1 === $ && A.throwLateFieldNI("_builderMap"); t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); for (; t1.moveNext$0();) { key = t1.__js_helper$_current; - t2 = _this.__SetMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); - t2 = t2.$index(0, key); + t2 = _this.__SetMultimapBuilder__builderMap_A.$index(0, key); if (t2._setOwner == null) { t3 = t2._setFactory; - t4 = t2.__SetBuilder__set; - if (t4 === $) - A.throwLateFieldNI("_set"); + t4 = t2.__SetBuilder__set_A; + t4 === $ && A.throwLateFieldNI("_set"); t2.set$_setOwner(new A._BuiltSet(t3, t4, A._instanceType(t2)._eval$1("_BuiltSet<1>"))); } builtSet = t2._setOwner; t2 = builtSet._set$_set._collection$_length; - t3 = _this.__SetMultimapBuilder__builtMap; + t3 = _this.__SetMultimapBuilder__builtMap_A; if (t2 === 0) { - if (t3 === $) - A.throwLateFieldNI(_s9_); + t3 === $ && A.throwLateFieldNI(_s9_); t3.remove$1(0, key); } else { - if (t3 === $) - A.throwLateFieldNI(_s9_); + t3 === $ && A.throwLateFieldNI(_s9_); t3.$indexSet(0, key, builtSet); } } - t1 = _this.__SetMultimapBuilder__builtMap; - if (t1 === $) - A.throwLateFieldNI(_s9_); + t1 = _this.__SetMultimapBuilder__builtMap_A; + t1 === $ && A.throwLateFieldNI(_s9_); t2 = _this.$ti; t3 = t2._rest[1]; _this.set$_builtMapOwner(new A._BuiltSetMultimap(t1, A.BuiltSet_BuiltSet$from(B.List_empty0, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltSetMultimap<1,2>"))); @@ -20129,17 +20372,14 @@ }, _getValuesBuilder$1(key) { var t2, result, builtValues, _this = this, - _s11_ = "_builderMap", t1 = _this.$ti; t1._precomputed1._as(key); - t2 = _this.__SetMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); + t2 = _this.__SetMultimapBuilder__builderMap_A; + t2 === $ && A.throwLateFieldNI("_builderMap"); result = t2.$index(0, key); if (result == null) { - t2 = _this.__SetMultimapBuilder__builtMap; - if (t2 === $) - A.throwLateFieldNI("_builtMap"); + t2 = _this.__SetMultimapBuilder__builtMap_A; + t2 === $ && A.throwLateFieldNI("_builtMap"); builtValues = t2.$index(0, key); if (builtValues == null) result = A.SetBuilder_SetBuilder(t1._rest[1]); @@ -20148,10 +20388,7 @@ t1._eval$1("_BuiltSet<1>")._as(builtValues); result = new A.SetBuilder(builtValues._setFactory, builtValues._set$_set, builtValues, t1._eval$1("SetBuilder<1>")); } - t1 = _this.__SetMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); - t1.$indexSet(0, key, result); + _this.__SetMultimapBuilder__builderMap_A.$indexSet(0, key, result); } return result; }, @@ -20162,8 +20399,8 @@ t2 = t1._precomputed1; t3 = t1._eval$1("BuiltSet<2>"); t4 = t1._eval$1("Map<1,BuiltSet<2>>"); - _this.set$__SetMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); - _this.set$__SetMultimapBuilder__builderMap(t1._eval$1("Map<1,SetBuilder<2>>")._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("SetBuilder<2>")))); + _this.set$__SetMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t3))); + _this.set$__SetMultimapBuilder__builderMap_A(t1._eval$1("Map<1,SetBuilder<2>>")._as(A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("SetBuilder<2>")))); for (t5 = J.get$iterator$ax(keys), t6 = type$.Iterable_dynamic, t1 = t1._rest[1]; t5.moveNext$0();) { key = t5.get$current(t5); if (t2._is(key)) @@ -20173,10 +20410,9 @@ t2._as(key); t1._as(value); if (_this._builtMapOwner != null) { - t8 = _this.__SetMultimapBuilder__builtMap; - if (t8 === $) - A.throwLateFieldNI("_builtMap"); - _this.set$__SetMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); + t8 = _this.__SetMultimapBuilder__builtMap_A; + t8 === $ && A.throwLateFieldNI("_builtMap"); + _this.set$__SetMultimapBuilder__builtMap_A(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); _this.set$_builtMapOwner(_null); } _this._set_multimap$_checkKey$1(key); @@ -20215,14 +20451,14 @@ if (value == null) throw A.wrapException(A.ArgumentError$("invalid value: " + A.S(value), null)); }, - set$__SetMultimapBuilder__builtMap(__SetMultimapBuilder__builtMap) { - this.__SetMultimapBuilder__builtMap = this.$ti._eval$1("Map<1,BuiltSet<2>>")._as(__SetMultimapBuilder__builtMap); + set$__SetMultimapBuilder__builtMap_A(__SetMultimapBuilder__builtMap_A) { + this.__SetMultimapBuilder__builtMap_A = this.$ti._eval$1("Map<1,BuiltSet<2>>")._as(__SetMultimapBuilder__builtMap_A); }, set$_builtMapOwner(_builtMapOwner) { this._builtMapOwner = this.$ti._eval$1("_BuiltSetMultimap<1,2>?")._as(_builtMapOwner); }, - set$__SetMultimapBuilder__builderMap(__SetMultimapBuilder__builderMap) { - this.__SetMultimapBuilder__builderMap = this.$ti._eval$1("Map<1,SetBuilder<2>>")._as(__SetMultimapBuilder__builderMap); + set$__SetMultimapBuilder__builderMap_A(__SetMultimapBuilder__builderMap_A) { + this.__SetMultimapBuilder__builderMap_A = this.$ti._eval$1("Map<1,SetBuilder<2>>")._as(__SetMultimapBuilder__builderMap_A); } }; A.SetMultimapBuilder_replace_closure.prototype = { @@ -20238,9 +20474,10 @@ }; A.newBuiltValueToStringHelper_closure.prototype = { call$1(className) { - var t1 = new A.StringBuffer(""); - t1._contents = className; - t1._contents = className + " {\n"; + var t1 = new A.StringBuffer(""), + t2 = "" + className; + t1._contents = t2; + t1._contents = t2 + " {\n"; $._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2; return new A.IndentingBuiltValueToStringHelper(t1); }, @@ -20281,7 +20518,7 @@ }; A.BuiltValueNestedFieldError.prototype = { toString$0(_) { - return 'Tried to build class "' + this.type + '" but nested builder for field "' + A.S(this.field) + '" threw: ' + A.S(this.error); + return 'Tried to build class "' + this.type + '" but nested builder for field "' + this.field + '" threw: ' + this.error; } }; A.JsonObject.prototype = { @@ -20405,7 +20642,7 @@ var t1 = type$.Object; return A.SetMultimapBuilder_SetMultimapBuilder(t1, t1); }, - $signature: 103 + $signature: 51 }; A.FullType.prototype = { $eq(_, other) { @@ -20469,7 +20706,7 @@ }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var result; - A._asStringS(serialized); + A._asString(serialized); result = A._BigIntImpl__tryParse(serialized, null); if (result == null) A.throwExpression(A.FormatException$("Could not parse BigInt", serialized, null)); @@ -20489,13 +20726,13 @@ }; A.BoolSerializer.prototype = { serialize$3$specifiedType(serializers, boolean, specifiedType) { - return A._asBoolS(boolean); + return A._asBool(boolean); }, serialize$2(serializers, boolean) { return this.serialize$3$specifiedType(serializers, boolean, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A._asBoolS(serialized); + return A._asBool(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -20511,12 +20748,16 @@ }; A.BuiltJsonSerializers.prototype = { serialize$2$specifiedType(object, specifiedType) { - var t1, t2, t3, transformedObject, result; - for (t1 = this.serializerPlugins._list, t2 = A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"), t3 = new J.ArrayIterator(t1, t1.length, t2), transformedObject = object; t3.moveNext$0();) - transformedObject = t3.__interceptors$_current.beforeSerialize$2(transformedObject, specifiedType); + var t1, t2, t3, t4, transformedObject, t5, result; + for (t1 = this.serializerPlugins._list, t2 = A._arrayInstanceType(t1), t3 = t2._eval$1("ArrayIterator<1>"), t4 = new J.ArrayIterator(t1, t1.length, t3), t2 = t2._precomputed1, transformedObject = object; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + transformedObject = (t5 == null ? t2._as(t5) : t5).beforeSerialize$2(transformedObject, specifiedType); + } result = this._serialize$2(transformedObject, specifiedType); - for (t1 = new J.ArrayIterator(t1, t1.length, t2); t1.moveNext$0();) - result = t1.__interceptors$_current.afterSerialize$2(result, specifiedType); + for (t1 = new J.ArrayIterator(t1, t1.length, t3); t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + result = (t3 == null ? t2._as(t3) : t3).afterSerialize$2(result, specifiedType); + } return result; }, serialize$1(object) { @@ -20552,12 +20793,16 @@ } }, deserialize$2$specifiedType(object, specifiedType) { - var t1, t2, t3, transformedObject, result; - for (t1 = this.serializerPlugins._list, t2 = A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"), t3 = new J.ArrayIterator(t1, t1.length, t2), transformedObject = object; t3.moveNext$0();) - transformedObject = t3.__interceptors$_current.beforeDeserialize$2(transformedObject, specifiedType); + var t1, t2, t3, t4, transformedObject, t5, result; + for (t1 = this.serializerPlugins._list, t2 = A._arrayInstanceType(t1), t3 = t2._eval$1("ArrayIterator<1>"), t4 = new J.ArrayIterator(t1, t1.length, t3), t2 = t2._precomputed1, transformedObject = object; t4.moveNext$0();) { + t5 = t4.__interceptors$_current; + transformedObject = (t5 == null ? t2._as(t5) : t5).beforeDeserialize$2(transformedObject, specifiedType); + } result = this._deserialize$3(object, transformedObject, specifiedType); - for (t1 = new J.ArrayIterator(t1, t1.length, t2); t1.moveNext$0();) - result = t1.__interceptors$_current.afterDeserialize$2(result, specifiedType); + for (t1 = new J.ArrayIterator(t1, t1.length, t3); t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + result = (t3 == null ? t2._as(t3) : t3).afterDeserialize$2(result, specifiedType); + } return result; }, deserialize$1(object) { @@ -20571,10 +20816,10 @@ if (t1 == null) { type$.List_nullable_Object._as(object); t1 = J.getInterceptor$ax(object); - wireName = A._asStringS(t1.get$first(object)); + wireName = A._asString(t1.get$first(object)); serializer = _this._wireNameToSerializer._map$_map.$index(0, wireName); if (serializer == null) - throw A.wrapException(A.StateError$(_s19_ + A.S(wireName) + "'.")); + throw A.wrapException(A.StateError$(_s19_ + wireName + "'.")); if (type$.StructuredSerializer_dynamic._is(serializer)) try { t1 = serializer.deserialize$2(_this, t1.sublist$1(object, 1)); @@ -20639,25 +20884,15 @@ }, serializerForType$1(type) { var t1 = this._typeToSerializer._map$_map.$index(0, type); - if (t1 == null) { - t1 = A._getRawName(type); - t1 = this._typeNameToSerializer._map$_map.$index(0, t1); - } - return t1; + return t1 == null ? this._typeNameToSerializer._map$_map.$index(0, A._getRawName(type)) : t1; }, newBuilder$1(fullType) { - var builderFactory = this.builderFactories._map$_map.$index(0, fullType); - if (builderFactory == null) { - this._throwMissingBuilderFactory$1(fullType); - A.ReachabilityError$(string$._null_); - } - return builderFactory.call$0(); - }, - expectBuilder$1(fullType) { - if (!this.builderFactories._map$_map.containsKey$1(0, fullType)) { + var t1, + builderFactory = this.builderFactories._map$_map.$index(0, fullType); + if (builderFactory == null) this._throwMissingBuilderFactory$1(fullType); - A.ReachabilityError$(string$._null_); - } + t1 = builderFactory.call$0(); + return t1 == null ? type$.Object._as(t1) : t1; }, _throwMissingBuilderFactory$1(fullType) { throw A.wrapException(A.StateError$("No builder factory for " + fullType.toString$0(0) + ". Fix by adding one, see SerializersBuilder.addBuilderFactory.")); @@ -20667,6 +20902,7 @@ A.BuiltJsonSerializersBuilder.prototype = { add$1(_, serializer) { var t1, t2, t3, t4, t5, t6, $name, genericsStart, t7; + type$.Serializer_dynamic._as(serializer); if (!type$.StructuredSerializer_dynamic._is(serializer) && !type$.PrimitiveSerializer_dynamic._is(serializer)) throw A.wrapException(A.ArgumentError$(string$.serial, null)); this._wireNameToSerializer.$indexSet(0, serializer.get$wireName(), serializer); @@ -20677,8 +20913,8 @@ t2._checkKey$1(t6); t2._checkValue$1(serializer); t2.get$_safeMap().$indexSet(0, t6, serializer); - $name = J.toString$0$(t6); - genericsStart = J.indexOf$1$s($name, "<"); + $name = t6.toString$0(0); + genericsStart = B.JSString_methods.indexOf$1($name, "<"); t6 = genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); t7 = t5.$ti; t7._precomputed1._as(t6); @@ -20706,7 +20942,8 @@ var t1, t2, t3, keyType, valueType, result, key, result0, t4, t5, t6, t7; type$.BuiltListMultimap_dynamic_dynamic._as(builtListMultimap); if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); + if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) + serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length; t3 = t2 === 0; @@ -20725,7 +20962,7 @@ valueType = t1[1]; } result = []; - for (t1 = builtListMultimap.get$keys(builtListMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = builtListMultimap._list_multimap$_map, t3 = builtListMultimap._emptyList; t1.moveNext$0();) { + for (t1 = builtListMultimap.get$keys(builtListMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtListMultimap._list_multimap$_map, t3 = builtListMultimap._emptyList; t1.moveNext$0();) { key = t1.__js_helper$_current; result.push(serializers.serialize$2$specifiedType(key, keyType)); result0 = t2.$index(0, key); @@ -20741,7 +20978,7 @@ return this.serialize$3$specifiedType(serializers, builtListMultimap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, t8, _null = null, + var isUnderspecified, t2, t3, t4, keyType, valueType, result, t5, t6, t7, i, key, values, t8, value, t9, t10, t11, t12, _null = null, t1 = type$.Iterable_nullable_Object; t1._as(serialized); isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; @@ -20770,43 +21007,37 @@ t2 = J.getInterceptor$asx(serialized); if (B.JSInt_methods.$mod(t2.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", _null)); - for (t3 = type$.nullable_Object, i = 0; i !== t2.get$length(serialized); i += 2) { + for (t3 = result.$ti, t4 = t3._precomputed1, t5 = t3._rest[1], t6 = t3._eval$1("BuiltList<2>"), t3 = t3._eval$1("Map<1,BuiltList<2>>"), t7 = type$.nullable_Object, i = 0; i !== t2.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); - values = J.map$1$1$ax(t1._as(t2.elementAt$1(serialized, i + 1)), new A.BuiltListMultimapSerializer_deserialize_closure(serializers, valueType), t3); - for (t4 = values.get$iterator(values); t4.moveNext$0();) { - value = t4.get$current(t4); - result.toString; - t5 = result.$ti; - t6 = t5._precomputed1; - t6._as(key); - t5._rest[1]._as(value); + values = J.map$1$1$ax(t1._as(t2.elementAt$1(serialized, i + 1)), new A.BuiltListMultimapSerializer_deserialize_closure(serializers, valueType), t7); + for (t8 = values.get$iterator(values); t8.moveNext$0();) { + value = t8.get$current(t8); + t4._as(key); + t5._as(value); if (result._list_multimap$_builtMapOwner != null) { - t7 = result.__ListMultimapBuilder__builtMap; - if (t7 === $) - A.throwLateFieldNI("_builtMap"); - result.set$__ListMultimapBuilder__builtMap(t5._eval$1("Map<1,BuiltList<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t7, t6, t5._eval$1("BuiltList<2>")))); + t9 = result.__ListMultimapBuilder__builtMap_A; + t9 === $ && A.throwLateFieldNI("_builtMap"); + result.set$__ListMultimapBuilder__builtMap_A(t3._as(A.LinkedHashMap_LinkedHashMap$from(t9, t4, t6))); result.set$_list_multimap$_builtMapOwner(_null); } result._list_multimap$_checkKey$1(key); result._list_multimap$_checkValue$1(value); - t5 = result._list_multimap$_getValuesBuilder$1(key); - t6 = t5.$ti; - t7 = t6._precomputed1; - t7._as(value); - if (!$.$get$isSoundMode() && !t7._is(null)) + t9 = result._list_multimap$_getValuesBuilder$1(key); + t10 = t9.$ti; + t11 = t10._precomputed1; + t11._as(value); + if (!$.$get$isSoundMode() && !t11._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", _null)); - if (t5._listOwner != null) { - t8 = t5.__ListBuilder__list; - if (t8 === $) - A.throwLateFieldNI("_list"); - t5.set$__ListBuilder__list(t6._eval$1("List<1>")._as(A.List_List$from(t8, true, t7))); - t5.set$_listOwner(_null); + if (t9._listOwner != null) { + t12 = t9.__ListBuilder__list_A; + t12 === $ && A.throwLateFieldNI("_list"); + t9.set$__ListBuilder__list_A(t10._eval$1("List<1>")._as(A.List_List$from(t12, true, t11))); + t9.set$_listOwner(_null); } - t5 = t5.__ListBuilder__list; - if (t5 === $) - A.throwLateFieldNI("_list"); - B.JSArray_methods.add$1(t5, value); + t9 = t9.__ListBuilder__list_A; + t9 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.add$1(t9, value); } } return result.build$0(); @@ -20827,20 +21058,21 @@ call$1(value) { return this.serializers.serialize$2$specifiedType(value, this.valueType); }, - $signature: 3 + $signature: 2 }; A.BuiltListMultimapSerializer_deserialize_closure.prototype = { call$1(value) { return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, - $signature: 27 + $signature: 30 }; A.BuiltListSerializer.prototype = { serialize$3$specifiedType(serializers, builtList, specifiedType) { var t1, t2, elementType; type$.BuiltList_dynamic._as(builtList); if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); + if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) + serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length; if (t2 === 0) @@ -20850,7 +21082,6 @@ return A.ioore(t1, 0); elementType = t1[0]; } - builtList.toString; t1 = builtList._list; t2 = A._arrayInstanceType(t1); return new A.MappedListIterable(t1, t2._eval$1("Object?(1)")._as(builtList.$ti._eval$1("Object?(1)")._as(new A.BuiltListSerializer_serialize_closure(serializers, elementType))), t2._eval$1("MappedListIterable<1,Object?>")); @@ -20891,20 +21122,21 @@ call$1(item) { return this.serializers.serialize$2$specifiedType(item, this.elementType); }, - $signature: 3 + $signature: 2 }; A.BuiltListSerializer_deserialize_closure.prototype = { call$1(item) { return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, - $signature: 3 + $signature: 2 }; A.BuiltMapSerializer.prototype = { serialize$3$specifiedType(serializers, builtMap, specifiedType) { var t1, t2, t3, keyType, valueType, result, key; type$.BuiltMap_dynamic_dynamic._as(builtMap); if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); + if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) + serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length; t3 = t2 === 0; @@ -20923,7 +21155,7 @@ valueType = t1[1]; } result = []; - for (t1 = builtMap.get$keys(builtMap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = builtMap._map$_map; t1.moveNext$0();) { + for (t1 = builtMap.get$keys(builtMap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtMap._map$_map; t1.moveNext$0();) { key = t1.__js_helper$_current; result.push(serializers.serialize$2$specifiedType(key, keyType)); result.push(serializers.serialize$2$specifiedType(t2.$index(0, key), valueType)); @@ -20962,13 +21194,11 @@ t1 = J.getInterceptor$asx(serialized); if (B.JSInt_methods.$mod(t1.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); - for (i = 0; i !== t1.get$length(serialized); i += 2) { + for (t2 = result.$ti, t3 = t2._precomputed1, t2 = t2._rest[1], i = 0; i !== t1.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); value = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i + 1), valueType); - result.toString; - t2 = result.$ti; - t2._precomputed1._as(key); - t2._rest[1]._as(value); + t3._as(key); + t2._as(value); result._checkKey$1(key); result._checkValue$1(value); result.get$_safeMap().$indexSet(0, key, value); @@ -20992,7 +21222,8 @@ var t1, t2, t3, keyType, valueType, result, key, result0, t4, t5, t6, t7; type$.BuiltSetMultimap_dynamic_dynamic._as(builtSetMultimap); if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); + if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) + serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length; t3 = t2 === 0; @@ -21011,7 +21242,7 @@ valueType = t1[1]; } result = []; - for (t1 = builtSetMultimap.get$keys(builtSetMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, A._instanceType(t1)._precomputed1), t2 = builtSetMultimap._set_multimap$_map, t3 = builtSetMultimap._emptySet; t1.moveNext$0();) { + for (t1 = builtSetMultimap.get$keys(builtSetMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtSetMultimap._set_multimap$_map, t3 = builtSetMultimap._emptySet; t1.moveNext$0();) { key = t1.__js_helper$_current; result.push(serializers.serialize$2$specifiedType(key, keyType)); result0 = t2.$index(0, key); @@ -21027,7 +21258,7 @@ return this.serialize$3$specifiedType(serializers, builtSetMultimap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, t6, + var isUnderspecified, t2, t3, t4, keyType, valueType, result, t5, t6, i, key, t7, value, t8, t9, t1 = type$.Iterable_dynamic; t1._as(serialized); isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; @@ -21056,31 +21287,27 @@ t2 = J.getInterceptor$asx(serialized); if (B.JSInt_methods.$mod(t2.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); - for (i = 0; i !== t2.get$length(serialized); i += 2) { + for (t3 = result.$ti, t4 = t3._precomputed1, t5 = t3._rest[1], t6 = t3._eval$1("BuiltSet<2>"), t3 = t3._eval$1("Map<1,BuiltSet<2>>"), i = 0; i !== t2.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); - for (t3 = J.get$iterator$ax(t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new A.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType)))); t3.moveNext$0();) { - value = t3.get$current(t3); - result.toString; - t4 = result.$ti; - t5 = t4._precomputed1; - t5._as(key); - t4._rest[1]._as(value); + for (t7 = J.get$iterator$ax(t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new A.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType)))); t7.moveNext$0();) { + value = t7.get$current(t7); + t4._as(key); + t5._as(value); if (result._builtMapOwner != null) { - t6 = result.__SetMultimapBuilder__builtMap; - if (t6 === $) - A.throwLateFieldNI("_builtMap"); - result.set$__SetMultimapBuilder__builtMap(t4._eval$1("Map<1,BuiltSet<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t6, t5, t4._eval$1("BuiltSet<2>")))); + t8 = result.__SetMultimapBuilder__builtMap_A; + t8 === $ && A.throwLateFieldNI("_builtMap"); + result.set$__SetMultimapBuilder__builtMap_A(t3._as(A.LinkedHashMap_LinkedHashMap$from(t8, t4, t6))); result.set$_builtMapOwner(null); } result._set_multimap$_checkKey$1(key); result._set_multimap$_checkValue$1(value); - t4 = result._getValuesBuilder$1(key); - t5 = t4.$ti._precomputed1; - t5._as(value); - if (!$.$get$isSoundMode() && !t5._is(null)) + t8 = result._getValuesBuilder$1(key); + t9 = t8.$ti._precomputed1; + t9._as(value); + if (!$.$get$isSoundMode() && !t9._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", null)); - t4.get$_safeSet().add$1(0, value); + t8.get$_safeSet().add$1(0, value); } } return result.build$0(); @@ -21101,20 +21328,21 @@ call$1(value) { return this.serializers.serialize$2$specifiedType(value, this.valueType); }, - $signature: 3 + $signature: 2 }; A.BuiltSetMultimapSerializer_deserialize_closure.prototype = { call$1(value) { return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, - $signature: 3 + $signature: 2 }; A.BuiltSetSerializer.prototype = { serialize$3$specifiedType(serializers, builtSet, specifiedType) { var t1, t2, elementType; type$.BuiltSet_dynamic._as(builtSet); if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) - serializers.expectBuilder$1(specifiedType); + if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) + serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length; if (t2 === 0) @@ -21124,7 +21352,6 @@ return A.ioore(t1, 0); elementType = t1[0]; } - builtSet.toString; t1 = builtSet._set$_set; t2 = A._instanceType(t1); return new A.EfficientLengthMappedIterable(t1, t2._eval$1("Object?(1)")._as(builtSet.$ti._eval$1("Object?(1)")._as(new A.BuiltSetSerializer_serialize_closure(serializers, elementType))), t2._eval$1("EfficientLengthMappedIterable<1,Object?>")); @@ -21165,13 +21392,13 @@ call$1(item) { return this.serializers.serialize$2$specifiedType(item, this.elementType); }, - $signature: 3 + $signature: 2 }; A.BuiltSetSerializer_deserialize_closure.prototype = { call$1(item) { return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, - $signature: 3 + $signature: 2 }; A.DateTimeSerializer.prototype = { serialize$3$specifiedType(serializers, dateTime, specifiedType) { @@ -21185,7 +21412,7 @@ }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var t2, - t1 = B.JSNumber_methods.round$0(A._asIntS(serialized) / 1000); + t1 = B.JSNumber_methods.round$0(A._asInt(serialized) / 1000); if (Math.abs(t1) <= 864e13) t2 = false; else @@ -21209,7 +21436,7 @@ }; A.DoubleSerializer.prototype = { serialize$3$specifiedType(serializers, aDouble, specifiedType) { - A._asDoubleS(aDouble); + A._asDouble(aDouble); if (isNaN(aDouble)) return "NaN"; else if (aDouble == 1 / 0 || aDouble == -1 / 0) @@ -21229,7 +21456,7 @@ else if (t1.$eq(serialized, "INF")) return 1 / 0; else - return A._asNumS(serialized); + return A._asNum(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21251,7 +21478,7 @@ return this.serialize$3$specifiedType(serializers, duration, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return new A.Duration(A._asIntS(serialized)); + return new A.Duration(A._asInt(serialized)); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21273,7 +21500,7 @@ return this.serialize$3$specifiedType(serializers, int64, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A.Int64__parseRadix(A._asStringS(serialized), 10); + return A.Int64__parseRadix(A._asString(serialized), 10); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21289,13 +21516,13 @@ }; A.IntSerializer.prototype = { serialize$3$specifiedType(serializers, integer, specifiedType) { - return A._asIntS(integer); + return A._asInt(integer); }, serialize$2(serializers, integer) { return this.serialize$3$specifiedType(serializers, integer, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A._asIntS(serialized); + return A._asInt(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21357,7 +21584,7 @@ }; A.NumSerializer.prototype = { serialize$3$specifiedType(serializers, number, specifiedType) { - A._asNumS(number); + A._asNum(number); if (isNaN(number)) return "NaN"; else if (number == 1 / 0 || number == -1 / 0) @@ -21377,7 +21604,7 @@ else if (t1.$eq(serialized, "INF")) return 1 / 0; else - return A._asNumS(serialized); + return A._asNum(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21399,7 +21626,7 @@ return this.serialize$3$specifiedType(serializers, value, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A.RegExp_RegExp(A._asStringS(serialized), true, false); + return A.RegExp_RegExp(A._asString(serialized), true, false); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21415,13 +21642,13 @@ }; A.StringSerializer.prototype = { serialize$3$specifiedType(serializers, string, specifiedType) { - return A._asStringS(string); + return A._asString(string); }, serialize$2(serializers, string) { return this.serialize$3$specifiedType(serializers, string, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A._asStringS(serialized); + return A._asString(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21443,7 +21670,7 @@ return this.serialize$3$specifiedType(serializers, uri, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A.Uri_parse(A._asStringS(serialized)); + return A.Uri_parse(A._asString(serialized)); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21479,13 +21706,10 @@ } }, hash$1(_, elements) { - var t1, t2, hash, c; + var t1, t2, hash; this.$ti._eval$1("Iterable<1>?")._as(elements); for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { - c = t2.hash$1(0, t1.get$current(t1)); - if (typeof c !== "number") - return A.iae(c); - hash = hash + c & 2147483647; + hash = hash + t2.hash$1(0, t1.get$current(t1)) & 2147483647; hash = hash + (hash << 10 >>> 0) & 2147483647; hash ^= hash >>> 6; } @@ -21514,13 +21738,10 @@ return true; }, hash$1(_, list) { - var t1, t2, hash, i, c; + var t1, t2, hash, i; this.$ti._eval$1("List<1>?")._as(list); for (t1 = J.getInterceptor$asx(list), t2 = this._elementEquality, hash = 0, i = 0; i < t1.get$length(list); ++i) { - c = t2.hash$1(0, t1.$index(list, i)); - if (typeof c !== "number") - return A.iae(c); - hash = hash + c & 2147483647; + hash = hash + t2.hash$1(0, t1.$index(list, i)) & 2147483647; hash = hash + (hash << 10 >>> 0) & 2147483647; hash ^= hash >>> 6; } @@ -21560,14 +21781,10 @@ return $length === 0; }, hash$1(_, elements) { - var t1, t2, hash, c; + var t1, t2, hash; A._instanceType(this)._eval$1("_UnorderedEquality.T?")._as(elements); - for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { - c = t2.hash$1(0, t1.get$current(t1)); - if (typeof c !== "number") - return A.iae(c); - hash = hash + c & 2147483647; - } + 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; @@ -21577,14 +21794,8 @@ A.SetEquality.prototype = {}; A._MapEntry.prototype = { get$hashCode(_) { - var t1 = this.equality, - t2 = t1._keyEquality.hash$1(0, this.key); - if (typeof t2 !== "number") - return A.iae(t2); - t1 = t1._valueEquality.hash$1(0, this.value); - if (typeof t1 !== "number") - return A.iae(t1); - return 3 * t2 + 7 * t1 & 2147483647; + 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; @@ -21608,7 +21819,7 @@ return true; t1 = J.getInterceptor$asx(map1); t2 = J.getInterceptor$asx(map2); - if (t1.get$length(map1) != t2.get$length(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();) { @@ -21630,17 +21841,14 @@ return true; }, hash$1(_, map) { - var t1, t2, t3, t4, hash, key, keyHash, valueHash; - this.$ti._eval$1("Map<1,2>?")._as(map); - for (t1 = J.getInterceptor$x(map), t2 = J.get$iterator$ax(t1.get$keys(map)), t3 = this._keyEquality, t4 = this._valueEquality, hash = 0; t2.moveNext$0();) { - key = t2.get$current(t2); - keyHash = t3.hash$1(0, key); - valueHash = t4.hash$1(0, t1.$index(map, key)); - if (typeof keyHash !== "number") - return A.iae(keyHash); - if (typeof valueHash !== "number") - return A.iae(valueHash); - hash = hash + 3 * keyHash + 7 * valueHash & 2147483647; + var t2, t3, t4, t5, hash, key, keyHash, t6, + t1 = this.$ti; + t1._eval$1("Map<1,2>?")._as(map); + for (t2 = J.getInterceptor$x(map), t3 = J.get$iterator$ax(t2.get$keys(map)), t4 = this._keyEquality, t5 = this._valueEquality, t1 = t1._rest[1], hash = 0; t3.moveNext$0();) { + key = t3.get$current(t3); + keyHash = t4.hash$1(0, key); + t6 = t2.$index(map, key); + hash = hash + 3 * keyHash + 7 * t5.hash$1(0, t6 == null ? t1._as(t6) : t6) & 2147483647; } hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; @@ -21695,17 +21903,16 @@ return (_this.get$_queue_list$_tail() - _this.get$_queue_list$_head(_this) & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0; }, $index(_, index) { - var _this = this; + var t1, _this = this; if (index < 0 || index >= _this.get$length(_this)) throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ").")); - return J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head(_this) + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0); + t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head(_this) + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0); + return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1; }, $indexSet(_, index, value) { var _this = this; - A._asIntS(index); + A._asInt(index); A._instanceType(_this)._eval$1("QueueList.E")._as(value); - if (typeof index !== "number") - return index.$lt(); if (index < 0 || index >= _this.get$length(_this)) throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ").")); J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head(_this) + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value); @@ -21730,10 +21937,10 @@ this._queue_list$_table = A._instanceType(this)._eval$1("List")._as(_table); }, set$_queue_list$_head(_, _head) { - this._queue_list$_head = A._asIntS(_head); + this._queue_list$_head = A._asInt(_head); }, set$_queue_list$_tail(_tail) { - this._queue_list$_tail = A._asIntS(_tail); + this._queue_list$_tail = A._asInt(_tail); }, $isEfficientLengthIterable: 1, $isQueue: 1, @@ -21772,7 +21979,7 @@ return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - return A._$valueOf(A._asStringS(serialized)); + return A._$valueOf(A._asString(serialized)); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21800,7 +22007,7 @@ for (t1 = type$.BuildStatus; iterator.moveNext$0();) { t2 = iterator.get$current(iterator); t2.toString; - A._asStringS(t2); + A._asString(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t2) { @@ -21884,26 +22091,26 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "appId": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_$this()._appId = t1; break; case "instanceId": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_$this()._instanceId = t1; break; case "entrypointPath": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_$this()._entrypointPath = t1; break; } @@ -21992,26 +22199,26 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "kind": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_debug_event$_$this()._debug_event$_kind = t1; break; case "eventData": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_debug_event$_$this()._eventData = t1; break; case "timestamp": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); t1.toString; - A._asIntS(t1); + A._asInt(t1); result.get$_debug_event$_$this()._timestamp = t1; break; } @@ -22044,7 +22251,7 @@ for (t1 = type$.BuiltList_nullable_Object, t2 = type$.DebugEvent, t3 = type$.List_DebugEvent, t4 = type$.ListBuilder_DebugEvent; iterator.moveNext$0();) { t5 = iterator.get$current(iterator); t5.toString; - A._asStringS(t5); + A._asString(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t5) { @@ -22052,17 +22259,16 @@ $$v = result._debug_event$_$v; if ($$v != null) { t5 = $$v.events; - t5.toString; t6 = t5.$ti; t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); t8 = t6._eval$1("_BuiltList<1>"); t9 = t6._eval$1("List<1>"); if (t8._is(t5)) { t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); t7.set$_listOwner(t5); } else { - t7.set$__ListBuilder__list(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); t7.set$_listOwner(null); } result.set$_events(t7); @@ -22071,7 +22277,7 @@ t5 = result._events; if (t5 == null) { t5 = new A.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(A.List_List$from(B.List_empty0, true, t2))); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty0, true, t2))); t5.set$_listOwner(null); result.set$_events(t5); } @@ -22083,10 +22289,10 @@ t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; @@ -22165,10 +22371,11 @@ return false; if (other === this) return true; - return other instanceof A.BatchedDebugEvents && J.$eq$(this.events, other.events); + return other instanceof A.BatchedDebugEvents && this.events.$eq(0, other.events); }, get$hashCode(_) { - return A.$jf(A.$jc(0, J.get$hashCode$(this.events))); + var t1 = this.events; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("BatchedDebugEvents"), @@ -22194,24 +22401,17 @@ $$v = _this._debug_event$_$v; if ($$v != null) { t1 = $$v.events; - t1.toString; _this.set$_events(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._debug_event$_$v = null; } return _this; }, _debug_event$_build$0() { - var _$failedField, e, _$result0, t1, exception, t2, _this = this, - _s18_ = "BatchedDebugEvents", - _$result = null; + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._debug_event$_$v; - if (_$result0 == null) { - t1 = _this.get$events().build$0(); - _$result0 = new A._$BatchedDebugEvents(t1); - if (t1 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s18_, "events")); - } + if (_$result0 == null) + _$result0 = new A._$BatchedDebugEvents(_this.get$events().build$0()); _$result = _$result0; } catch (exception) { _$failedField = A._Cell$named("_$failedField"); @@ -22220,7 +22420,7 @@ _this.get$events().build$0(); } catch (exception) { e = A.unwrapException(exception); - t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); + t1 = A.BuiltValueNestedFieldError$("BatchedDebugEvents", _$failedField.readLocal$0(), J.toString$0$(e)); throw A.wrapException(t1); } throw exception; @@ -22269,20 +22469,20 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "appId": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_devtools_request$_$this()._devtools_request$_appId = t1; break; case "instanceId": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_devtools_request$_$this()._devtools_request$_instanceId = t1; break; case "contextId": @@ -22336,20 +22536,20 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "success": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); t1.toString; - A._asBoolS(t1); + A._asBool(t1); result.get$_devtools_request$_$this()._success = t1; break; case "promptExtension": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); t1.toString; - A._asBoolS(t1); + A._asBool(t1); result.get$_devtools_request$_$this()._promptExtension = t1; break; case "error": @@ -22490,14 +22690,14 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "error": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); $$v = result._error_response$_$v; if ($$v != null) { result._error_response$_error = $$v.error; @@ -22509,7 +22709,7 @@ case "stackTrace": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); $$v = result._error_response$_$v; if ($$v != null) { result._error_response$_error = $$v.error; @@ -22603,20 +22803,20 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "id": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); t1.toString; - A._asIntS(t1); + A._asInt(t1); result.get$_extension_request$_$this()._id = t1; break; case "command": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_extension_request$_$this()._command = t1; break; case "commandParams": @@ -22673,26 +22873,26 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "id": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); t1.toString; - A._asIntS(t1); + A._asInt(t1); result.get$_extension_request$_$this()._id = t1; break; case "success": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); t1.toString; - A._asBoolS(t1); + A._asBool(t1); result.get$_extension_request$_$this()._extension_request$_success = t1; break; case "result": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); result.get$_extension_request$_$this()._extension_request$_result = t1; break; case "error": @@ -22745,14 +22945,14 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "params": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); $$v = result._extension_request$_$v; if ($$v != null) { result._params = $$v.params; @@ -22764,7 +22964,7 @@ case "method": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); $$v = result._extension_request$_$v; if ($$v != null) { result._params = $$v.params; @@ -22814,7 +23014,7 @@ for (t1 = type$.BuiltList_nullable_Object, t2 = type$.ExtensionEvent, t3 = type$.List_ExtensionEvent, t4 = type$.ListBuilder_ExtensionEvent; iterator.moveNext$0();) { t5 = iterator.get$current(iterator); t5.toString; - A._asStringS(t5); + A._asString(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t5) { @@ -22822,17 +23022,16 @@ $$v = result._extension_request$_$v; if ($$v != null) { t5 = $$v.events; - t5.toString; t6 = t5.$ti; t7 = new A.ListBuilder(t6._eval$1("ListBuilder<1>")); t8 = t6._eval$1("_BuiltList<1>"); t9 = t6._eval$1("List<1>"); if (t8._is(t5)) { t8._as(t5); - t7.set$__ListBuilder__list(t9._as(t5._list)); + t7.set$__ListBuilder__list_A(t9._as(t5._list)); t7.set$_listOwner(t5); } else { - t7.set$__ListBuilder__list(t9._as(A.List_List$from(t5, true, t6._precomputed1))); + t7.set$__ListBuilder__list_A(t9._as(A.List_List$from(t5, true, t6._precomputed1))); t7.set$_listOwner(null); } result.set$_extension_request$_events(t7); @@ -22841,7 +23040,7 @@ t5 = result._extension_request$_events; if (t5 == null) { t5 = new A.ListBuilder(t4); - t5.set$__ListBuilder__list(t3._as(A.List_List$from(B.List_empty0, true, t2))); + t5.set$__ListBuilder__list_A(t3._as(A.List_List$from(B.List_empty0, true, t2))); t5.set$_listOwner(null); result.set$_extension_request$_events(t5); } @@ -22853,10 +23052,10 @@ t9 = t7._eval$1("List<1>"); if (t8._is(t6)) { t8._as(t6); - t5.set$__ListBuilder__list(t9._as(t6._list)); + t5.set$__ListBuilder__list_A(t9._as(t6._list)); t5.set$_listOwner(t6); } else { - t5.set$__ListBuilder__list(t9._as(A.List_List$from(t6, true, t7._precomputed1))); + t5.set$__ListBuilder__list_A(t9._as(A.List_List$from(t6, true, t7._precomputed1))); t5.set$_listOwner(null); } break; @@ -22985,10 +23184,11 @@ return false; if (other === this) return true; - return other instanceof A.BatchedEvents && J.$eq$(this.events, other.events); + return other instanceof A.BatchedEvents && this.events.$eq(0, other.events); }, get$hashCode(_) { - return A.$jf(A.$jc(0, J.get$hashCode$(this.events))); + var t1 = this.events; + return A.$jf(A.$jc(0, t1.get$hashCode(t1))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("BatchedEvents"), @@ -23003,7 +23203,6 @@ $$v = _this._extension_request$_$v; if ($$v != null) { t1 = $$v.events; - t1.toString; _this.set$_extension_request$_events(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); _this._extension_request$_$v = null; } @@ -23015,17 +23214,11 @@ return t1; }, _extension_request$_build$0() { - var _$failedField, e, _$result0, t1, exception, t2, _this = this, - _s13_ = "BatchedEvents", - _$result = null; + var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._extension_request$_$v; - if (_$result0 == null) { - t1 = _this.get$events().build$0(); - _$result0 = new A._$BatchedEvents(t1); - if (t1 == null) - A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "events")); - } + if (_$result0 == null) + _$result0 = new A._$BatchedEvents(_this.get$events().build$0()); _$result = _$result0; } catch (exception) { _$failedField = A._Cell$named("_$failedField"); @@ -23034,7 +23227,7 @@ _this.get$events().build$0(); } catch (exception) { e = A.unwrapException(exception); - t1 = A.BuiltValueNestedFieldError$(_s13_, _$failedField.readLocal$0(), J.toString$0$(e)); + t1 = A.BuiltValueNestedFieldError$("BatchedEvents", _$failedField.readLocal$0(), J.toString$0$(e)); throw A.wrapException(t1); } throw exception; @@ -23163,14 +23356,14 @@ for (; iterator.moveNext$0();) { t1 = iterator.get$current(iterator); t1.toString; - A._asStringS(t1); + A._asString(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); switch (t1) { case "eventData": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); t1.toString; - A._asStringS(t1); + A._asString(t1); $$v = result._register_event$_$v; if ($$v != null) { result._register_event$_eventData = $$v.eventData; @@ -23182,7 +23375,7 @@ case "timestamp": t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); t1.toString; - A._asIntS(t1); + A._asInt(t1); $$v = result._register_event$_$v; if ($$v != null) { result._register_event$_eventData = $$v.eventData; @@ -23324,28 +23517,23 @@ get$sink() { var t2, t1 = this._channel, - value = t1.__HtmlWebSocketChannel_sink; + value = t1.__HtmlWebSocketChannel_sink_FI; if (value === $) { - t2 = t1._html0$_controller.__StreamChannelController__foreign; - if (t2 === $) - A.throwLateFieldNI("_foreign"); - t2 = t2.__GuaranteeChannel__sink; - if (t2 === $) - A.throwLateFieldNI("_sink"); - if (value !== $) - A.throwLateFieldADI("sink"); - value = t1.__HtmlWebSocketChannel_sink = new A._HtmlWebSocketSink(t1, t2); + t2 = t1._html0$_controller.__StreamChannelController__foreign_F; + t2 === $ && A.throwLateFieldNI("_foreign"); + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + value !== $ && A.throwLateFieldADI("sink"); + value = t1.__HtmlWebSocketChannel_sink_FI = new A._HtmlWebSocketSink(t1, t2); } return value; }, get$stream(_) { var t2, - t1 = this._channel._html0$_controller.__StreamChannelController__foreign; - if (t1 === $) - A.throwLateFieldNI("_foreign"); - t1 = t1.__GuaranteeChannel__streamController; - if (t1 === $) - A.throwLateFieldNI("_streamController"); + t1 = this._channel._html0$_controller.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); t2 = A._instanceType(t1)._eval$1("_ControllerStream<1>"); return new A._MapStream(t2._eval$1("String(Stream.T)")._as(new A.WebSocketClient_stream_closure()), new A._ControllerStream(t1, t2), t2._eval$1("_MapStream")); } @@ -23393,9 +23581,8 @@ break; case 5: // then - t6 = $async$self.__BatchedStreamController__inputQueue; - if (t6 === $) - A.throwLateFieldNI("_inputQueue"); + t6 = $async$self.__BatchedStreamController__inputQueue_A; + t6 === $ && A.throwLateFieldNI("_inputQueue"); t7 = t6.$ti; t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>")); t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>"))); @@ -23447,32 +23634,30 @@ return A._asyncStartSync($async$_batchAndSendEvents$0, $async$completer); }, _hasEventOrTimeOut$1(duration) { - var t1 = this.__BatchedStreamController__inputQueue; - if (t1 === $) - A.throwLateFieldNI("_inputQueue"); + var t1 = this.__BatchedStreamController__inputQueue_A; + t1 === $ && A.throwLateFieldNI("_inputQueue"); return t1.get$hasNext().timeout$2$onTimeout(0, duration, new A.BatchedStreamController__hasEventOrTimeOut_closure()); }, _hasEventDuring$1(duration) { - var t1 = this.__BatchedStreamController__inputQueue; - if (t1 === $) - A.throwLateFieldNI("_inputQueue"); + var t1 = this.__BatchedStreamController__inputQueue_A; + t1 === $ && A.throwLateFieldNI("_inputQueue"); return t1.get$hasNext().timeout$2$onTimeout(0, duration, new A.BatchedStreamController__hasEventDuring_closure()); }, - set$__BatchedStreamController__inputQueue(__BatchedStreamController__inputQueue) { - this.__BatchedStreamController__inputQueue = this.$ti._eval$1("StreamQueue<1>")._as(__BatchedStreamController__inputQueue); + set$__BatchedStreamController__inputQueue_A(__BatchedStreamController__inputQueue_A) { + this.__BatchedStreamController__inputQueue_A = this.$ti._eval$1("StreamQueue<1>")._as(__BatchedStreamController__inputQueue_A); } }; A.BatchedStreamController__hasEventOrTimeOut_closure.prototype = { call$0() { return true; }, - $signature: 29 + $signature: 31 }; A.BatchedStreamController__hasEventDuring_closure.prototype = { call$0() { return false; }, - $signature: 29 + $signature: 31 }; A.Int64.prototype = { $eq(_, other) { @@ -23565,7 +23750,7 @@ }; A.stronglyConnectedComponents_strongConnect.prototype = { call$1(node) { - var t2, t3, lowLink, t4, t5, t6, next, t7, component, result, _this = this, + var t2, t3, lowLink, t4, t5, t6, t7, next, t8, component, result, _this = this, t1 = _this.T; t1._as(node); t2 = _this.indexes; @@ -23576,21 +23761,22 @@ t4.$indexSet(0, node, lowLink); ++t3.index; t3 = _this.lastVisited; - t3._collection$_add$1(0, t3.$ti._precomputed1._as(node)); - t5 = _this.onStack; - t5.add$1(0, node); - for (t6 = J.get$iterator$ax(_this.edges.call$1(node)); t6.moveNext$0();) { - next = t6.get$current(t6); + t5 = t3.$ti._precomputed1; + t3._collection$_add$1(0, t5._as(node)); + t6 = _this.onStack; + t6.add$1(0, node); + for (t7 = J.get$iterator$ax(_this.edges.call$1(node)); t7.moveNext$0();) { + next = t7.get$current(t7); if (!t2.containsKey$1(0, next)) { _this.call$1(next); - t7 = t4.$index(0, next); - t7.toString; - lowLink = Math.min(lowLink, A.checkNum(t7)); + t8 = t4.$index(0, next); + t8.toString; + lowLink = Math.min(lowLink, A.checkNum(t8)); t4.$indexSet(0, node, lowLink); - } else if (t5.contains$1(0, next)) { - t7 = t2.$index(0, next); - t7.toString; - lowLink = Math.min(lowLink, A.checkNum(t7)); + } else if (t6.contains$1(0, next)) { + t8 = t2.$index(0, next); + t8.toString; + lowLink = Math.min(lowLink, A.checkNum(t8)); t4.$indexSet(0, node, lowLink); } } @@ -23604,14 +23790,16 @@ A.throwExpression(A.IterableElementError_noElement()); ++t3._modificationCount; t2 = t3._table; - t6 = t2.length; - t4 = (t4 - 1 & t6 - 1) >>> 0; + t7 = t2.length; + t4 = (t4 - 1 & t7 - 1) >>> 0; t3._tail = t4; - if (!(t4 >= 0 && t4 < t6)) + if (!(t4 >= 0 && t4 < t7)) return A.ioore(t2, t4); result = t2[t4]; + if (result == null) + result = t5._as(result); B.JSArray_methods.$indexSet(t2, t4, null); - t5.remove$1(0, result); + t6.remove$1(0, result); B.JSArray_methods.add$1(component, result); } while (!A.boolConversionCheck(t1.call$2(result, node))); B.JSArray_methods.add$1(_this.result, component); @@ -23833,6 +24021,7 @@ }; A.Pool__runOnRelease_closure0.prototype = { call$2(error, stackTrace) { + type$.Object._as(error); type$.StackTrace._as(stackTrace); this.$this._onReleaseCompleters.removeFirst$0().completeError$2(error, stackTrace); }, @@ -23842,39 +24031,26 @@ A.SseClient.prototype = { SseClient$1(serverUrl) { var t3, t4, _this = this, - _s12_ = "_eventSource", t1 = serverUrl + "?sseClientId=" + A.generateUuidV4(), t2 = A.EventSource__factoryEventSource(t1, A.LinkedHashMap_LinkedHashMap$_literal(["withCredentials", true], type$.String, type$.dynamic)); - _this.__SseClient__eventSource = t2; - _this.__SseClient__serverUrl = t1; - t2 = new A._EventStream(t2, "open", false, type$._EventStream_legacy_Event); + _this.__SseClient__eventSource_A = t2; + _this.__SseClient__serverUrl_A = t1; + t2 = new A._EventStream(t2, "open", false, type$._EventStream_Event); t2.get$first(t2).whenComplete$1(new A.SseClient_closure(_this)); - t2 = _this.__SseClient__eventSource; - if (t2 === $) - A.throwLateFieldNI(_s12_); - B.EventSource_methods.addEventListener$2(t2, "message", _this.get$_onIncomingMessage()); - t2 = _this.__SseClient__eventSource; - if (t2 === $) - A.throwLateFieldNI(_s12_); - B.EventSource_methods.addEventListener$2(t2, "control", _this.get$_onIncomingControlMessage()); - t2 = _this.__SseClient__eventSource; - if (t2 === $) - A.throwLateFieldNI(_s12_); - t1 = type$.nullable_void_Function_legacy_Event; + B.EventSource_methods.addEventListener$2(_this.__SseClient__eventSource_A, "message", _this.get$_onIncomingMessage()); + B.EventSource_methods.addEventListener$2(_this.__SseClient__eventSource_A, "control", _this.get$_onIncomingControlMessage()); + t2 = _this.__SseClient__eventSource_A; + t1 = type$.nullable_void_Function_Event; t3 = t1._as(new A.SseClient_closure0(_this)); type$.nullable_void_Function._as(null); - t4 = type$.legacy_Event; + t4 = type$.Event; A._EventStreamSubscription$(t2, "open", t3, false, t4); - t3 = _this.__SseClient__eventSource; - if (t3 === $) - A.throwLateFieldNI(_s12_); - A._EventStreamSubscription$(t3, "error", t1._as(new A.SseClient_closure1(_this)), false, t4); + A._EventStreamSubscription$(_this.__SseClient__eventSource_A, "error", t1._as(new A.SseClient_closure1(_this)), false, t4); }, close$0(_) { var _this = this, - t1 = _this.__SseClient__eventSource; - if (t1 === $) - A.throwLateFieldNI("_eventSource"); + t1 = _this.__SseClient__eventSource_A; + t1 === $ && A.throwLateFieldNI("_eventSource"); t1.close(); if ((_this._onConnected.future._state & 30) === 0) { t1 = _this._outgoingController; @@ -23891,7 +24067,7 @@ throw A.wrapException(A.UnsupportedError$('Illegal Control Message "' + A.S(data) + '"')); }, _onIncomingMessage$1(message) { - this._incomingController.add$1(0, A._asStringS(B.C_JsonCodec.decode$2$reviver(0, A._asStringS(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as(type$.Event._as(message)).data, true)), null))); + this._incomingController.add$1(0, A._asString(B.C_JsonCodec.decode$2$reviver(0, A._asString(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as(type$.Event._as(message)).data, true)), null))); }, _onOutgoingDone$0() { this.close$0(0); @@ -23931,7 +24107,7 @@ t2 = t1._outgoingController; new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$2$onDone(t1.get$_onOutgoingMessage(), t1.get$_onOutgoingDone()); }, - $signature: 2 + $signature: 5 }; A.SseClient_closure0.prototype = { call$1(_) { @@ -23939,7 +24115,7 @@ if (t1 != null) t1.cancel$0(0); }, - $signature: 5 + $signature: 4 }; A.SseClient_closure1.prototype = { call$1(error) { @@ -23949,7 +24125,7 @@ if (t2 !== true) t1._errorTimer = A.Timer_Timer(B.Duration_5000000, new A.SseClient__closure(t1, error)); }, - $signature: 5 + $signature: 4 }; A.SseClient__closure.prototype = { call$0() { @@ -23992,9 +24168,8 @@ } $async$handler = 3; t1 = $async$self.$this; - t2 = t1.__SseClient__serverUrl; - if (t2 === $) - A.throwLateFieldNI("_serverUrl"); + t2 = t1.__SseClient__serverUrl_A; + t2 === $ && A.throwLateFieldNI("_serverUrl"); $async$goto = 6; return A._asyncAwait(A.HttpRequest_request(t2 + "&messageId=" + ++t1._lastMessageId, "POST", null, $async$self._box_0.encodedMessage, true), $async$call$0); case 6: @@ -24030,38 +24205,36 @@ }); return A._asyncStartSync($async$call$0, $async$completer); }, - $signature: 33 + $signature: 24 }; A.generateUuidV4__generateBits.prototype = { call$1(bitCount) { return this.random.nextInt$1(B.JSInt_methods._shlPositive$1(1, bitCount)); }, - $signature: 20 + $signature: 21 }; A.generateUuidV4__printDigits.prototype = { call$2(value, count) { return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(value, 16), count, "0"); }, - $signature: 26 + $signature: 32 }; A.generateUuidV4__bitsDigits.prototype = { call$2(bitCount, digitCount) { return this._printDigits.call$2(this._generateBits.call$1(bitCount), digitCount); }, - $signature: 26 + $signature: 32 }; A.GuaranteeChannel.prototype = { GuaranteeChannel$3$allowSinkErrors(innerSink, allowSinkErrors, _box_0, $T) { var _this = this, t1 = _this.$ti, t2 = t1._eval$1("_GuaranteeSink<1>")._as(new A._GuaranteeSink(innerSink, _this, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic), allowSinkErrors, $T._eval$1("_GuaranteeSink<0>"))); - if (_this.__GuaranteeChannel__sink !== $) - A.throwLateFieldAI("_sink"); - _this.set$__GuaranteeChannel__sink(t2); + _this.__GuaranteeChannel__sink_F !== $ && A.throwLateFieldAI("_sink"); + _this.set$__GuaranteeChannel__sink_F(t2); t1 = t1._eval$1("StreamController<1>")._as(A.StreamController_StreamController(null, new A.GuaranteeChannel_closure(_box_0, _this, $T), true, $T)); - if (_this.__GuaranteeChannel__streamController !== $) - A.throwLateFieldAI("_streamController"); - _this.set$__GuaranteeChannel__streamController(t1); + _this.__GuaranteeChannel__streamController_F !== $ && A.throwLateFieldAI("_streamController"); + _this.set$__GuaranteeChannel__streamController_F(t1); }, _onSinkDisconnected$0() { var subscription, t1; @@ -24069,16 +24242,15 @@ subscription = this._guarantee_channel$_subscription; if (subscription != null) subscription.cancel$0(0); - t1 = this.__GuaranteeChannel__streamController; - if (t1 === $) - A.throwLateFieldNI("_streamController"); + t1 = this.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); t1.close$0(0); }, - set$__GuaranteeChannel__sink(__GuaranteeChannel__sink) { - this.__GuaranteeChannel__sink = this.$ti._eval$1("_GuaranteeSink<1>")._as(__GuaranteeChannel__sink); + set$__GuaranteeChannel__sink_F(__GuaranteeChannel__sink_F) { + this.__GuaranteeChannel__sink_F = this.$ti._eval$1("_GuaranteeSink<1>")._as(__GuaranteeChannel__sink_F); }, - set$__GuaranteeChannel__streamController(__GuaranteeChannel__streamController) { - this.__GuaranteeChannel__streamController = this.$ti._eval$1("StreamController<1>")._as(__GuaranteeChannel__streamController); + set$__GuaranteeChannel__streamController_F(__GuaranteeChannel__streamController_F) { + this.__GuaranteeChannel__streamController_F = this.$ti._eval$1("StreamController<1>")._as(__GuaranteeChannel__streamController_F); }, set$_guarantee_channel$_subscription(_subscription) { this._guarantee_channel$_subscription = this.$ti._eval$1("StreamSubscription<1>?")._as(_subscription); @@ -24091,9 +24263,8 @@ if (t1._disconnected) return; t2 = this._box_0.innerStream; - t3 = t1.__GuaranteeChannel__streamController; - if (t3 === $) - A.throwLateFieldNI("_streamController"); + t3 = t1.__GuaranteeChannel__streamController_F; + t3 === $ && A.throwLateFieldNI("_streamController"); t1.set$_guarantee_channel$_subscription(t2.listen$3$onDone$onError(this.T._eval$1("~(0)")._as(t3.get$add(t3)), new A.GuaranteeChannel__closure(t1), t3.get$addError())); }, $signature: 0 @@ -24101,13 +24272,11 @@ A.GuaranteeChannel__closure.prototype = { call$0() { var t1 = this.$this, - t2 = t1.__GuaranteeChannel__sink; - if (t2 === $) - A.throwLateFieldNI("_sink"); + t2 = t1.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); t2._onStreamDisconnected$0(); - t1 = t1.__GuaranteeChannel__streamController; - if (t1 === $) - A.throwLateFieldNI("_streamController"); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); t1.close$0(0); }, $signature: 0 @@ -24170,11 +24339,11 @@ $signature: 7 }; A.StreamChannelController.prototype = { - set$__StreamChannelController__local(__StreamChannelController__local) { - this.__StreamChannelController__local = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__local); + set$__StreamChannelController__local_F(__StreamChannelController__local_F) { + this.__StreamChannelController__local_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__local_F); }, - set$__StreamChannelController__foreign(__StreamChannelController__foreign) { - this.__StreamChannelController__foreign = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__foreign); + set$__StreamChannelController__foreign_F(__StreamChannelController__foreign_F) { + this.__StreamChannelController__foreign_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__foreign_F); } }; A.StreamChannelMixin.prototype = {$isStreamChannel: 1}; @@ -24182,20 +24351,19 @@ get$_uuid$_state() { var t2, t3, t1 = $.$get$Uuid__stateExpando(); - t1.toString; A.Expando__checkType(this); t2 = t1._jsWeakMap; t3 = t2.get(this); if (t3 == null) { t3 = A.LinkedHashMap_LinkedHashMap$_literal(["seedBytes", null, "node", null, "clockSeq", null, "mSecs", 0, "nSecs", 0, "hasInitV1", false, "hasInitV4", false], type$.String, type$.dynamic); - t2.set(this, t1.$ti._eval$1("1?")._as(t3)); + t2.set(this, A._instanceType(t1)._eval$1("1?")._as(t3)); t1 = t3; } else t1 = t3; return t1; }, v1$0() { - var seedBytes, nodeId, t2, t3, t4, clockSeq, nSecs, mSecs, tl, tmh, node, n, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, _this = this, + var seedBytes, nodeId, t2, t3, t4, clockSeq, mSecs, nSecs, tl, tmh, node, n, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, _this = this, _s9_ = "hasInitV1", _s9_0 = "seedBytes", _s4_ = "node", @@ -24205,7 +24373,7 @@ options = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic), t1 = J.$index$asx(_this.get$_uuid$_state(), _s9_); t1.toString; - if (!A._asBoolS(t1)) { + if (!A._asBool(t1)) { seedBytes = A.UuidUtil_mathRNG(); if (J.$index$asx(_this.get$_uuid$_state(), _s9_0) != null) J.$index$asx(_this.get$_uuid$_state(), _s9_0); @@ -24227,50 +24395,34 @@ J.$indexSet$ax(_this.get$_uuid$_state(), _s9_, true); } options.$index(0, _s8_); - clockSeq = A._asIntS(J.$index$asx(_this.get$_uuid$_state(), _s8_)); + clockSeq = A._asInt(J.$index$asx(_this.get$_uuid$_state(), _s8_)); options.$index(0, _s5_); - t1 = Date.now(); + mSecs = Date.now(); options.$index(0, _s5_0); - t2 = J.$index$asx(_this.get$_uuid$_state(), _s5_0); - t2.toString; - nSecs = A._asIntS(t2) + 1; - t2 = A._asNumS(J.$index$asx(_this.get$_uuid$_state(), _s5_)); - if (typeof t2 !== "number") - return A.iae(t2); - t3 = A._asNumS(J.$index$asx(_this.get$_uuid$_state(), _s5_0)); - if (typeof t3 !== "number") - return A.iae(t3); - t2 = t1 - t2 + (nSecs - t3) / 10000 < 0; - if (t2) { + t1 = J.$index$asx(_this.get$_uuid$_state(), _s5_0); + t1.toString; + nSecs = A._asInt(t1) + 1; + t1 = mSecs - A._asNum(J.$index$asx(_this.get$_uuid$_state(), _s5_)) + (nSecs - A._asNum(J.$index$asx(_this.get$_uuid$_state(), _s5_0))) / 10000 < 0; + if (t1) { options.$index(0, _s8_); - t3 = true; - } else - t3 = false; - if (t3) { - if (typeof clockSeq !== "number") - return clockSeq.$add(); - clockSeq = clockSeq + 1 & 16383; - } - if (!t2) { - t2 = A._asNumS(J.$index$asx(_this.get$_uuid$_state(), _s5_)); - if (typeof t2 !== "number") - return A.iae(t2); - t2 = t1 > t2; - } else - t2 = true; - if (t2) { - options.$index(0, _s5_0); t2 = true; } else t2 = false; if (t2) + clockSeq = clockSeq + 1 & 16383; + if (t1 || mSecs > A._asNum(J.$index$asx(_this.get$_uuid$_state(), _s5_))) { + options.$index(0, _s5_0); + t1 = true; + } else + t1 = false; + if (t1) nSecs = 0; if (nSecs >= 10000) throw A.wrapException(A.Exception_Exception("uuid.v1(): Can't create more than 10M uuids/sec")); - J.$indexSet$ax(_this.get$_uuid$_state(), _s5_, t1); + J.$indexSet$ax(_this.get$_uuid$_state(), _s5_, mSecs); J.$indexSet$ax(_this.get$_uuid$_state(), _s5_0, nSecs); J.$indexSet$ax(_this.get$_uuid$_state(), _s8_, clockSeq); - mSecs = t1 + 122192928e5; + mSecs += 122192928e5; tl = B.JSInt_methods.$mod((mSecs & 268435455) * 10000 + nSecs, 4294967296); buf[0] = B.JSInt_methods._shrOtherPositive$1(tl, 24) & 255; buf[1] = B.JSInt_methods._shrOtherPositive$1(tl, 16) & 255; @@ -24281,14 +24433,12 @@ buf[5] = tmh & 255; buf[6] = tmh >>> 24 & 15 | 16; buf[7] = tmh >>> 16 & 255; - if (typeof clockSeq !== "number") - return clockSeq.$and(); buf[8] = clockSeq >>> 8 & 63 | 128; buf[9] = clockSeq & 255; options.$index(0, _s4_); node = type$.List_dynamic._as(J.$index$asx(_this.get$_uuid$_state(), _s4_)); for (t1 = J.getInterceptor$asx(node), n = 0; n < 6; ++n) - B.NativeUint8List_methods.$indexSet(buf, 10 + n, A._asIntS(t1.$index(node, n))); + buf[10 + n] = A._asInt(t1.$index(node, n)); t1 = $.$get$Uuid__byteToHex(); t2 = buf[0]; if (!(t2 < 256)) @@ -24358,30 +24508,30 @@ }; A.HtmlWebSocketChannel.prototype = { HtmlWebSocketChannel$1(innerWebSocket) { - var t2, t3, _this = this, - t1 = _this.innerWebSocket; - if (t1.readyState === 1) + var t3, _this = this, + t1 = _this.innerWebSocket, + t2 = t1.readyState; + t2.toString; + if (t2 === 1) _this._listen$0(); else { - t2 = new A._EventStream(t1, "open", false, type$._EventStream_legacy_Event); + t2 = new A._EventStream(t1, "open", false, type$._EventStream_Event); t2.get$first(t2).then$1$1(0, new A.HtmlWebSocketChannel_closure(_this), type$.Null); } - t2 = new A._EventStream(t1, "error", false, type$._EventStream_legacy_Event); + t2 = new A._EventStream(t1, "error", false, type$._EventStream_Event); t3 = type$.Null; t2.get$first(t2).then$1$1(0, new A.HtmlWebSocketChannel_closure0(_this), t3); - t2 = type$.nullable_void_Function_legacy_MessageEvent._as(new A.HtmlWebSocketChannel_closure1(_this)); + t2 = type$.nullable_void_Function_MessageEvent._as(new A.HtmlWebSocketChannel_closure1(_this)); type$.nullable_void_Function._as(null); - A._EventStreamSubscription$(t1, "message", t2, false, type$.legacy_MessageEvent); - t1 = new A._EventStream(t1, "close", false, type$._EventStream_legacy_CloseEvent); + A._EventStreamSubscription$(t1, "message", t2, false, type$.MessageEvent); + t1 = new A._EventStream(t1, "close", false, type$._EventStream_CloseEvent); t1.get$first(t1).then$1$1(0, new A.HtmlWebSocketChannel_closure2(_this), t3); }, _listen$0() { - var t1 = this._html0$_controller.__StreamChannelController__local; - if (t1 === $) - A.throwLateFieldNI("_local"); - t1 = t1.__GuaranteeChannel__streamController; - if (t1 === $) - A.throwLateFieldNI("_streamController"); + var t1 = this._html0$_controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$2$onDone(B.WebSocket_methods.get$send(this.innerWebSocket), new A.HtmlWebSocketChannel__listen_closure(this)); }, $isWebSocketChannel: 1 @@ -24391,29 +24541,22 @@ type$.Event._as(_); this.$this._listen$0(); }, - $signature: 25 + $signature: 33 }; A.HtmlWebSocketChannel_closure0.prototype = { call$1(_) { var t1, t2; type$.Event._as(_); - t1 = this.$this._html0$_controller; - t2 = t1.__StreamChannelController__local; - if (t2 === $) - A.throwLateFieldNI("_local"); - t2 = t2.__GuaranteeChannel__sink; - if (t2 === $) - A.throwLateFieldNI("_sink"); + t1 = this.$this._html0$_controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t2 = t1.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); t2.addError$1(new A.WebSocketChannelException("WebSocket connection failed.")); - t1 = t1.__StreamChannelController__local; - if (t1 === $) - A.throwLateFieldNI("_local"); - t1 = t1.__GuaranteeChannel__sink; - if (t1 === $) - A.throwLateFieldNI("_sink"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); t1.close$0(0); }, - $signature: 25 + $signature: 33 }; A.HtmlWebSocketChannel_closure1.prototype = { call$1($event) { @@ -24421,15 +24564,13 @@ data = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as($event).data, true); if (type$.ByteBuffer._is(data)) data = A.NativeUint8List_NativeUint8List$view(data, 0, null); - t1 = this.$this._html0$_controller.__StreamChannelController__local; - if (t1 === $) - A.throwLateFieldNI("_local"); - t1 = t1.__GuaranteeChannel__sink; - if (t1 === $) - A.throwLateFieldNI("_sink"); + t1 = this.$this._html0$_controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); t1.add$1(0, data); }, - $signature: 65 + $signature: 17 }; A.HtmlWebSocketChannel_closure2.prototype = { call$1($event) { @@ -24437,12 +24578,10 @@ type$.CloseEvent._as($event); $event.code; $event.reason; - t1 = this.$this._html0$_controller.__StreamChannelController__local; - if (t1 === $) - A.throwLateFieldNI("_local"); - t1 = t1.__GuaranteeChannel__sink; - if (t1 === $) - A.throwLateFieldNI("_sink"); + t1 = this.$this._html0$_controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); t1.close$0(0); }, $signature: 66 @@ -24463,8 +24602,8 @@ A.main_closure.prototype = { call$0() { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.Null), - uri, fixedPath, fixedUri, client, restarter, manager, t1, t2, t3, debugEventController, t4, t5; + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + uri, t1, t2, fixedPath, fixedUri, client, restarter, manager, t3, debugEventController, t4, t5; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -24475,10 +24614,17 @@ if (self.$dartAppInstanceId == null) self.$dartAppInstanceId = B.C_Uuid.v1$0(); uri = A.Uri_parse(self.$dwdsDevHandlerPath); - if (window.location.protocol === "https:" && uri.get$scheme() === "http" && uri.get$host(uri) !== "localhost") + t1 = type$.Location; + t2 = t1._as(window.location).protocol; + t2.toString; + if (t2 === "https:" && uri.get$scheme() === "http" && uri.get$host(uri) !== "localhost") uri = uri.replace$1$scheme(0, "https"); - else if (window.location.protocol === "wss:" && uri.get$scheme() === "ws" && uri.get$host(uri) !== "localhost") - uri = uri.replace$1$scheme(0, "wss"); + else { + t1 = t1._as(window.location).protocol; + t1.toString; + if (t1 === "wss:" && uri.get$scheme() === "ws" && uri.get$host(uri) !== "localhost") + uri = uri.replace$1$scheme(0, "wss"); + } fixedPath = uri.toString$0(0); fixedUri = A.Uri_parse(fixedPath); client = fixedUri.isScheme$1("ws") || fixedUri.isScheme$1("wss") ? new A.WebSocketClient(A.HtmlWebSocketChannel$connect(fixedUri, null)) : new A.SseSocketClient(A.SseClient$(fixedPath)); @@ -24503,28 +24649,31 @@ case 3: // join manager = new A.ReloadingManager(client, restarter); - self.$dartHotRestartDwds = A.allowInterop(new A.main__closure(manager), type$.legacy_legacy_Promise_legacy_bool_Function_legacy_String); + self.$dartHotRestartDwds = A.allowInterop(new A.main__closure(manager), type$.Promise_bool_Function_String); t1 = $.Zone__current; - t2 = A.StreamController_StreamController(null, null, false, type$.legacy_DebugEvent); - t3 = A.StreamController_StreamController(null, null, false, type$.List_legacy_DebugEvent); - debugEventController = new A.BatchedStreamController(1000, t2, t3, new A._AsyncCompleter(new A._Future(t1, type$._Future_bool), type$._AsyncCompleter_bool), type$.BatchedStreamController_legacy_DebugEvent); - t1 = A.List_List$filled(A.QueueList__computeInitialCapacity(null), null, false, type$.nullable_Result_legacy_DebugEvent); + t2 = A.StreamController_StreamController(null, null, false, type$.DebugEvent); + t3 = A.StreamController_StreamController(null, null, false, type$.List_DebugEvent); + debugEventController = new A.BatchedStreamController(1000, t2, t3, new A._AsyncCompleter(new A._Future(t1, type$._Future_bool), type$._AsyncCompleter_bool), type$.BatchedStreamController_DebugEvent); + t1 = A.List_List$filled(A.QueueList__computeInitialCapacity(null), null, false, type$.nullable_Result_DebugEvent); t4 = A.ListQueue$(type$._EventRequest_dynamic); - t5 = type$.StreamQueue_legacy_DebugEvent; - debugEventController.set$__BatchedStreamController__inputQueue(t5._as(new A.StreamQueue(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")), new A.QueueList(t1, 0, 0, type$.QueueList_Result_legacy_DebugEvent), t4, t5))); + t5 = type$.StreamQueue_DebugEvent; + debugEventController.set$__BatchedStreamController__inputQueue_A(t5._as(new A.StreamQueue(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")), new A.QueueList(t1, 0, 0, type$.QueueList_Result_DebugEvent), t4, t5))); debugEventController._batchAndSendEvents$0(); new A._ControllerStream(t3, A._instanceType(t3)._eval$1("_ControllerStream<1>")).listen$1(new A.main__closure0(client)); - self.$emitDebugEvent = A.allowInterop(new A.main__closure1(debugEventController), type$.legacy_void_Function_2_legacy_String_and_legacy_String); - self.$emitRegisterEvent = A.allowInterop(new A.main__closure2(client), type$.legacy_void_Function_legacy_String); - self.$launchDevTools = A.allowInterop(new A.main__closure3(client), type$.legacy_void_Function); + self.$emitDebugEvent = A.allowInterop(new A.main__closure1(debugEventController), type$.void_Function_String_String); + self.$emitRegisterEvent = A.allowInterop(new A.main__closure2(client), type$.void_Function_String); + self.$launchDevTools = A.allowInterop(new A.main__closure3(client), type$.void_Function); client.get$stream(client).listen$2$onError(new A.main__closure4(manager), new A.main__closure5()); if (A.boolConversionCheck(self.$dwdsEnableDevtoolsLaunch)) { t1 = window; - t2 = type$.nullable_void_Function_legacy_KeyboardEvent._as(new A.main__closure6()); + t1.toString; + t2 = type$.nullable_void_Function_KeyboardEvent._as(new A.main__closure6()); type$.nullable_void_Function._as(null); - A._EventStreamSubscription$(t1, "keydown", t2, false, type$.legacy_KeyboardEvent); + A._EventStreamSubscription$(t1, "keydown", t2, false, type$.KeyboardEvent); } - if (J.contains$1$asx(window.navigator.vendor, "Google")) { + t1 = window.navigator.vendor; + t1.toString; + if (B.JSString_methods.contains$1(t1, "Google")) { t1 = client.get$sink(); t2 = $.$get$serializers(); t3 = new A.ConnectRequestBuilder(); @@ -24543,14 +24692,14 @@ }; A.main__closure.prototype = { call$1(runId) { - return A.toPromise(this.manager.hotRestart$1$runId(A._asStringS(runId)), type$.legacy_bool); + return A.toPromise(this.manager.hotRestart$1$runId(A._asString(runId)), type$.bool); }, - $signature: 86 + $signature: 68 }; A.main__closure0.prototype = { call$1(events) { var t1, t2, t3; - type$.legacy_List_legacy_DebugEvent._as(events); + type$.List_DebugEvent._as(events); if (A.boolConversionCheck(self.$dartEmitDebugEvents)) { t1 = this.client.get$sink(); t2 = $.$get$serializers(); @@ -24563,26 +24712,26 @@ }; A.main___closure2.prototype = { call$1(b) { - var t1 = A.ListBuilder_ListBuilder(this.events, type$.legacy_DebugEvent); + var t1 = A.ListBuilder_ListBuilder(this.events, type$.DebugEvent); type$.nullable_ListBuilder_DebugEvent._as(t1); b.get$_debug_event$_$this().set$_events(t1); return t1; }, - $signature: 70 + $signature: 98 }; A.main__closure1.prototype = { call$2(kind, eventData) { var t1, t2; - A._asStringS(kind); - A._asStringS(eventData); + A._asString(kind); + A._asString(eventData); if (A.boolConversionCheck(self.$dartEmitDebugEvents)) { t1 = this.debugEventController._inputController; t2 = new A.DebugEventBuilder(); type$.nullable_void_Function_DebugEventBuilder._as(new A.main___closure1(kind, eventData)).call$1(t2); - A._trySendEvent(new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval$1("_StreamSinkWrapper<1>")), t2._debug_event$_build$0(), type$.legacy_DebugEvent); + A._trySendEvent(new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval$1("_StreamSinkWrapper<1>")), t2._debug_event$_build$0(), type$.DebugEvent); } }, - $signature: 71 + $signature: 25 }; A.main___closure1.prototype = { call$1(b) { @@ -24592,19 +24741,19 @@ b.get$_debug_event$_$this()._eventData = this.eventData; return b; }, - $signature: 72 + $signature: 71 }; A.main__closure2.prototype = { call$1(eventData) { var t1, t2, t3; - A._asStringS(eventData); + A._asString(eventData); t1 = this.client.get$sink(); t2 = $.$get$serializers(); t3 = new A.RegisterEventBuilder(); type$.nullable_void_Function_RegisterEventBuilder._as(new A.main___closure0(eventData)).call$1(t3); A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._register_event$_build$0()), null), type$.dynamic); }, - $signature: 73 + $signature: 35 }; A.main___closure0.prototype = { call$1(b) { @@ -24613,13 +24762,17 @@ b.get$_register_event$_$this()._register_event$_eventData = this.eventData; return b; }, - $signature: 74 + $signature: 73 }; A.main__closure3.prototype = { call$0() { - var t1, t2, t3; - if (!J.contains$1$asx(window.navigator.vendor, "Google")) { - B.Window_methods.alert$1(window, "Dart DevTools is only supported on Chromium based browsers."); + var t2, t3, + t1 = window.navigator.vendor; + t1.toString; + if (!B.JSString_methods.contains$1(t1, "Google")) { + t1 = window; + t1.toString; + B.Window_methods.alert$1(t1, "Dart DevTools is only supported on Chromium based browsers."); return; } t1 = this.client.get$sink(); @@ -24628,7 +24781,7 @@ type$.nullable_void_Function_DevToolsRequestBuilder._as(new A.main___closure()).call$1(t3); A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._devtools_request$_build$0()), null), type$.dynamic); }, - $signature: 2 + $signature: 0 }; A.main___closure.prototype = { call$1(b) { @@ -24638,16 +24791,16 @@ b.get$_devtools_request$_$this()._devtools_request$_instanceId = t1; return b; }, - $signature: 75 + $signature: 74 }; A.main__closure4.prototype = { call$1(serialized) { - return this.$call$body$main__closure(A._asStringS(serialized)); + return this.$call$body$main__closure(A._asString(serialized)); }, $call$body$main__closure(serialized) { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.Null), - $async$self = this, $alert, t1, t2, $event; + $async$completer = A._makeAsyncAwaitCompleter(type$.void), + $async$self = this, $alert, t1, t2, t3, $event; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -24664,7 +24817,7 @@ break; case 5: // then - window.location.reload(); + type$.Location._as(window.location).reload(); // goto join $async$goto = 6; break; @@ -24697,17 +24850,31 @@ if ($event instanceof A.DevToolsResponse) { if (!$event.success) { $alert = "DevTools failed to open with:\n" + A.S($event.error); - if ($event.promptExtension && A.boolConversionCheck(B.Window_methods.confirm$1(window, $alert))) - B.Window_methods.open$2(window, "https://goo.gle/dart-debug-extension", "_blank"); - else - B.Window_methods.alert$1(window, $alert); + if ($event.promptExtension) { + t1 = window; + t1.toString; + t1 = B.Window_methods.confirm$1(t1, $alert); + } else + t1 = false; + if (t1) { + t1 = window; + t1.toString; + B.Window_methods.open$2(t1, "https://goo.gle/dart-debug-extension", "_blank"); + } else { + t1 = window; + t1.toString; + B.Window_methods.alert$1(t1, $alert); + } } } else if ($event instanceof A.RunRequest) A.runMain(); else if ($event instanceof A.ErrorResponse) { + window.toString; t1 = $event.error; t2 = $event.stackTrace; - if (typeof console != "undefined") + t3 = typeof console != "undefined"; + t3.toString; + if (t3) window.console.error("Error from backend:\n\nError: " + t1 + "\n\nStack Trace:\n" + t2); } case 3: @@ -24718,7 +24885,7 @@ }); return A._asyncStartSync($async$call$1, $async$completer); }, - $signature: 76 + $signature: 75 }; A.main__closure5.prototype = { call$1(error) { @@ -24727,12 +24894,32 @@ }; A.main__closure6.prototype = { call$1(e) { - if (type$.legacy_KeyboardEvent._is(e) && B.JSArray_methods.contains$1(B.List_zgw, e.key) && A.boolConversionCheck(e.altKey) && !A.boolConversionCheck(e.ctrlKey) && !A.boolConversionCheck(e.metaKey)) { + var t1; + if (type$.KeyboardEvent._is(e)) + if (B.JSArray_methods.contains$1(B.List_zgw, e.key)) { + t1 = e.altKey; + t1.toString; + if (t1) { + t1 = e.ctrlKey; + t1.toString; + if (!t1) { + t1 = e.metaKey; + t1.toString; + t1 = !t1; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + if (t1) { e.preventDefault(); self.$launchDevTools.call$0(); } }, - $signature: 77 + $signature: 4 }; A.main__closure7.prototype = { call$1(b) { @@ -24744,23 +24931,21 @@ b.get$_$this()._entrypointPath = t1; return b; }, - $signature: 78 + $signature: 76 }; A.main_closure0.prototype = { call$2(error, stackTrace) { - type$.legacy_StackTrace._as(stackTrace); - A.print("Unhandled error detected in the injected client.js script.\n\nYou can disable this script in webdev by passing --no-injected-client if it\nis preventing your app from loading, but note that this will also prevent\nall debugging and hot reload/restart functionality from working.\n\nThe original error is below, please file an issue at\nhttps://github.com/dart-lang/webdev/issues/new and attach this output:\n\n" + A.S(error) + "\n" + A.S(stackTrace) + "\n"); + type$.Object._as(error); + type$.StackTrace._as(stackTrace); + A.print("Unhandled error detected in the injected client.js script.\n\nYou can disable this script in webdev by passing --no-injected-client if it\nis preventing your app from loading, but note that this will also prevent\nall debugging and hot reload/restart functionality from working.\n\nThe original error is below, please file an issue at\nhttps://github.com/dart-lang/webdev/issues/new and attach this output:\n\n" + A.S(error) + "\n" + stackTrace.toString$0(0) + "\n"); }, - $signature: 79 + $signature: 11 }; A.LegacyRestarter.prototype = { restart$1$runId(runId) { - return this.restart$body$LegacyRestarter(runId); - }, - restart$body$LegacyRestarter(runId) { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.legacy_bool), - $async$returnValue, t2, t3, t4, t1, dartLibrary; + $async$completer = A._makeAsyncAwaitCompleter(type$.bool), + $async$returnValue, t1, t2, t3, dartLibrary; var $async$restart$1$runId = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -24768,22 +24953,20 @@ switch ($async$goto) { case 0: // Function start - t1 = {}; - dartLibrary = type$.legacy_JsObject._as($.$get$_context().$index(0, "dart_library")); + dartLibrary = type$.JsObject._as($.$get$_context().$index(0, "dart_library")); if (runId == null) dartLibrary.callMethod$1("reload"); else { - t2 = type$.legacy_String; - t2 = A.LinkedHashMap_LinkedHashMap$_literal(["runId", runId], t2, t2); - dartLibrary.callMethod$2("reload", [A._wrapToDart(A.JsObject__convertDataTree(t2))]); + t1 = type$.String; + t1 = A.LinkedHashMap_LinkedHashMap$_literal(["runId", runId], t1, t1); + dartLibrary.callMethod$2("reload", [A._wrapToDart(A.JsObject__convertDataTree(t1))]); } - t2 = new A._Future($.Zone__current, type$._Future_legacy_bool); - t1.sub = null; - t3 = window; - t4 = type$.nullable_void_Function_legacy_MessageEvent._as(new A.LegacyRestarter_restart_closure(t1, new A._AsyncCompleter(t2, type$._AsyncCompleter_legacy_bool))); + t1 = new A._Future($.Zone__current, type$._Future_bool); + t2 = window; + t2.toString; + t3 = type$.nullable_void_Function_MessageEvent._as(new A.LegacyRestarter_restart_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_bool))); type$.nullable_void_Function._as(null); - t1.sub = A._EventStreamSubscription$(t3, "message", t4, false, type$.legacy_MessageEvent); - $async$returnValue = t2; + $async$returnValue = t1.then$1$1(0, new A.LegacyRestarter_restart_closure0(A._EventStreamSubscription$(t2, "message", t3, false, type$.MessageEvent)), type$.bool); // goto return $async$goto = 1; break; @@ -24799,23 +24982,29 @@ A.LegacyRestarter_restart_closure.prototype = { call$1($event) { var t1, - message = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.legacy_MessageEvent._as($event).data, true); - if (type$.legacy_Map_dynamic_dynamic._is(message)) { + message = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as($event).data, true); + if (type$.Map_dynamic_dynamic._is(message)) { t1 = J.getInterceptor$asx(message); t1 = J.$eq$(t1.$index(message, "type"), "DDC_STATE_CHANGE") && J.$eq$(t1.$index(message, "state"), "restart_end"); } else t1 = false; - if (t1) { + if (t1) this.reloadCompleter.complete$1(0, true); - this._box_0.sub.cancel$0(0); - } }, - $signature: 80 + $signature: 17 + }; + A.LegacyRestarter_restart_closure0.prototype = { + call$1(value) { + A._asBool(value); + this.sub.cancel$0(0); + return value; + }, + $signature: 77 }; A.ReloadingManager.prototype = { hotRestart$1$runId(runId) { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.legacy_bool), + $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, result, t1, t2; var $async$hotRestart$1$runId = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) @@ -24850,7 +25039,7 @@ }, _afterRestart$1(succeeded) { var t1, t2; - if (!A.boolConversionCheck(succeeded)) + if (!succeeded) return; t1 = this._client.get$sink(); t2 = $.$get$serializers(); @@ -24861,18 +25050,25 @@ A.Promise.prototype = {}; A.toPromise_closure.prototype = { call$2(resolve, reject) { - this.T._eval$1("~(0*)*")._as(resolve); - type$.legacy_void_Function_dynamic._as(reject); + this.T._eval$1("~(0)")._as(resolve); + type$.void_Function_dynamic._as(reject); this.future.then$1$1(0, resolve, type$.void).catchError$1(reject); }, $signature() { - return this.T._eval$1("Null(~(0*)*,~(@)*)"); + return this.T._eval$1("~(~(0),~(@))"); } }; + A.toFuture_closure.prototype = { + call$1(e) { + var t1 = e == null ? type$.Object._as(e) : e; + return this.completer.completeError$1(t1); + }, + $signature: 3 + }; A.RequireLoader.prototype = {}; A.HotReloadFailedException.prototype = { toString$0(_) { - return "HotReloadFailedException: '" + A.S(this._s) + "'"; + return "HotReloadFailedException: '" + this._s + "'"; } }; A.JsError.prototype = {}; @@ -24880,8 +25076,8 @@ A.RequireRestarter.prototype = { restart$1$runId(runId) { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.legacy_bool), - $async$returnValue, $async$self = this, t1, t2, completer, newDigests, modulesToLoad, t3, line, toZone, result, developer; + $async$completer = A._makeAsyncAwaitCompleter(type$.bool), + $async$returnValue, $async$self = this, newDigests, modulesToLoad, t4, t5, t6, line, toZone, t7, result, developer, t1, t2, t3; var $async$restart$1$runId = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -24890,16 +25086,16 @@ case 0: // Function start developer = self.$loadModuleConfig.call$1("dart_sdk").developer; - $async$goto = A.boolConversionCheck(A._asBoolS(developer._extensions.containsKey("ext.flutter.disassemble"))) ? 3 : 4; + t1 = developer == null; + t2 = t1 ? type$.Object._as(developer) : developer; + t3 = type$.Object; + $async$goto = A._asBool(t3._as(t2._extensions).containsKey("ext.flutter.disassemble")) ? 3 : 4; break; case 3: // then - t1 = type$.legacy_Promise_void._as(developer.invokeExtension("ext.flutter.disassemble", "{}")); - t2 = new A._Future($.Zone__current, type$._Future_void); - completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_void); - J.then$2$x(t1, A.allowInterop(completer.get$complete(completer), type$.legacy_dynamic_Function_void), A.allowInterop(completer.get$completeError(), type$.legacy_dynamic_Function_dynamic)); + t1 = t1 ? t3._as(developer) : developer; $async$goto = 5; - return A._asyncAwait(t2, $async$restart$1$runId); + return A._asyncAwait(A.toFuture(type$.Promise_void._as(t1.invokeExtension("ext.flutter.disassemble", "{}")), type$.void), $async$restart$1$runId); case 5: // returning from await. case 4: @@ -24909,20 +25105,33 @@ case 6: // returning from await. newDigests = $async$result; - modulesToLoad = A._setArrayType([], type$.JSArray_legacy_String); - for (t1 = J.getInterceptor$x(newDigests), t2 = J.get$iterator$ax(t1.get$keys(newDigests)); t2.moveNext$0();) { - t3 = t2.get$current(t2); - if (!J.containsKey$1$x($._lastKnownDigests, t3)) { - line = "Error during script reloading, refreshing the page. \nUnable to find an existing digest for module: " + A.S(t3) + "."; + modulesToLoad = A._setArrayType([], type$.JSArray_String); + for (t1 = J.getInterceptor$x(newDigests), t2 = J.get$iterator$ax(t1.get$keys(newDigests)), t4 = type$.Location; t2.moveNext$0();) { + t5 = t2.get$current(t2); + t6 = $.___lastKnownDigests.__late_helper$_value; + if (t6 == null ? $.___lastKnownDigests == null : t6 === $.___lastKnownDigests) + A.throwExpression(A.LateError$fieldNI($.___lastKnownDigests._name)); + if (!J.containsKey$1$x(t6, t5)) { + line = "Error during script reloading, refreshing the page. \nUnable to find an existing digest for module: " + t5 + "."; toZone = $.printToZone; if (toZone == null) A.printString(line); else toZone.call$1(line); - window.location.reload(); - } else if (!J.$eq$(J.$index$asx($._lastKnownDigests, t3), t1.$index(newDigests, t3))) { - J.$indexSet$ax($._lastKnownDigests, t3, t1.$index(newDigests, t3)); - B.JSArray_methods.add$1(modulesToLoad, t3); + t4._as(window.location).reload(); + } else { + t6 = $.___lastKnownDigests.__late_helper$_value; + if (t6 == null ? $.___lastKnownDigests == null : t6 === $.___lastKnownDigests) + A.throwExpression(A.LateError$fieldNI($.___lastKnownDigests._name)); + if (!J.$eq$(J.$index$asx(t6, t5), t1.$index(newDigests, t5))) { + t6 = $.___lastKnownDigests.__late_helper$_value; + if (t6 == null ? $.___lastKnownDigests == null : t6 === $.___lastKnownDigests) + A.throwExpression(A.LateError$fieldNI($.___lastKnownDigests._name)); + t7 = t1.$index(newDigests, t5); + t7.toString; + J.$indexSet$ax(t6, t5, t7); + B.JSArray_methods.add$1(modulesToLoad, t5); + } } } $async$goto = modulesToLoad.length !== 0 ? 7 : 9; @@ -24943,7 +25152,7 @@ result = true; case 8: // join - self.$loadModuleConfig.call$1("dart_sdk").dart.hotRestart(); + t3._as(self.$loadModuleConfig.call$1("dart_sdk").dart).hotRestart(); A.runMain(); $async$returnValue = result; // goto return @@ -24958,7 +25167,7 @@ }, _getDigests$0() { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.legacy_Map_of_legacy_String_and_legacy_String), + $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_String), $async$returnValue, t1, $async$temp1, $async$temp2, $async$temp3; var $async$_getDigests$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) @@ -24967,9 +25176,9 @@ switch ($async$goto) { case 0: // Function start - t1 = type$.legacy_String; + t1 = type$.String; $async$temp1 = J; - $async$temp2 = type$.legacy_Map_dynamic_dynamic; + $async$temp2 = type$.Map_dynamic_dynamic; $async$temp3 = A; $async$goto = 3; return A._asyncAwait(A.HttpRequest_request(J.get$digestsPath$x(self.$requireLoader), "GET", "json", null, null), $async$_getDigests$0); @@ -24997,12 +25206,12 @@ switch ($async$goto) { case 0: // Function start - $async$temp1 = $; + $async$temp1 = $.___lastKnownDigests; $async$goto = 2; return A._asyncAwait($async$self._getDigests$0(), $async$_initialize$0); case 2: // returning from await. - $async$temp1._lastKnownDigests = $async$result; + $async$temp1.__late_helper$_value = $async$result; // implicit return return A._asyncReturn(null, $async$completer); } @@ -25011,31 +25220,35 @@ }, _moduleParents$1(module) { var t1; - A._asStringS(module); + A._asString(module); t1 = J.$get$1$x(J.get$moduleParentsGraph$x(self.$requireLoader), module); - t1 = t1 == null ? null : J.cast$1$0$ax(t1, type$.legacy_String); - return t1 == null ? A._setArrayType([], type$.JSArray_legacy_String) : t1; + t1 = t1 == null ? null : J.cast$1$0$ax(t1, type$.String); + return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1; }, _moduleTopologicalCompare$2(module1, module2) { var t1, order1, order2, t2, topological; - A._asStringS(module1); - A._asStringS(module2); + A._asString(module1); + A._asString(module2); t1 = this._moduleOrdering; order1 = t1.$index(0, module1); order2 = t1.$index(0, module2); t2 = order1 == null; if (t2 || order2 == null) - throw A.wrapException(A.HotReloadFailedException$("Unable to fetch ordering info for module: " + A.S(t2 ? module1 : module2))); - topological = J.compareTo$1$ns(t1.$index(0, module2), t1.$index(0, module1)); - return topological === 0 ? J.compareTo$1$ns(module1, module2) : topological; + throw A.wrapException(A.HotReloadFailedException$("Unable to fetch ordering info for module: " + (t2 ? module1 : module2))); + t2 = t1.$index(0, module2); + t2.toString; + t1 = t1.$index(0, module1); + t1.toString; + topological = J.compareTo$1$ns(t2, t1); + return topological === 0 ? B.JSString_methods.compareTo$1(module1, module2) : topological; }, _reload$1(modules) { - return this._reload$body$RequireRestarter(type$.legacy_List_legacy_String._as(modules)); + return this._reload$body$RequireRestarter(type$.List_String._as(modules)); }, _reload$body$RequireRestarter(modules) { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.legacy_bool), - $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, reloadedModules, previousModuleId, moduleId, parentIds, childModule, e, t2, t3, t4, t5, exception, t1, $async$exception; + $async$completer = A._makeAsyncAwaitCompleter(type$.bool), + $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, reloadedModules, previousModuleId, moduleId, parentIds, childModule, e, t2, t3, t4, t5, t6, exception, t1, $async$exception; var $async$_reload$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; @@ -25060,52 +25273,54 @@ break; case 4: // join - $async$self.set$_running(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_legacy_bool), type$._AsyncCompleter_legacy_bool)); + $async$self.set$_running(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_bool), type$._AsyncCompleter_bool)); reloadedModules = 0; $async$handler = 7; - $async$self._dirtyModules.addAll$1(0, modules); + t1 = $async$self.__RequireRestarter__dirtyModules_A; + t1 === $ && A.throwLateFieldNI("_dirtyModules"); + t1.addAll$1(0, modules); previousModuleId = null; - t1 = $async$self.get$_moduleTopologicalCompare(), t2 = type$.legacy_String, t3 = type$.JSArray_legacy_String, t4 = type$.legacy_dynamic_Function; + t1 = $async$self.get$_moduleTopologicalCompare(), t2 = type$.String, t3 = type$.JSArray_String, t4 = type$.Object, t5 = type$.dynamic_Function; case 10: // for condition - if (!(t5 = $async$self._dirtyModules, t5._root != null)) { + if (!(t6 = $async$self.__RequireRestarter__dirtyModules_A, t6._root != null)) { // goto after for $async$goto = 11; break; } - if (t5._count === 0) + if (t6._count === 0) A.throwExpression(A.IterableElementError_noElement()); - moduleId = t5.get$_collection$_first().key; - $async$self._dirtyModules.remove$1(0, moduleId); - t5 = A._asStringS(moduleId); - t5 = J.$get$1$x(J.get$moduleParentsGraph$x(self.$requireLoader), t5); - t5 = t5 == null ? null : J.cast$1$0$ax(t5, t2); - parentIds = t5 == null ? A._setArrayType([], t3) : t5; - $async$goto = parentIds == null || J.get$isEmpty$asx(parentIds) ? 12 : 14; + moduleId = t6.get$_collection$_first().key; + $async$self.__RequireRestarter__dirtyModules_A.remove$1(0, moduleId); + t6 = A._asString(moduleId); + t6 = J.$get$1$x(J.get$moduleParentsGraph$x(self.$requireLoader), t6); + t6 = t6 == null ? null : J.cast$1$0$ax(t6, t2); + parentIds = t6 == null ? A._setArrayType([], t3) : t6; + $async$goto = J.get$isEmpty$asx(parentIds) ? 12 : 14; break; case 12: // then - childModule = self.$loadModuleConfig.call$1("dart_sdk").dart.getModuleLibraries(previousModuleId); - self.$dartRunMain = A.allowInterop(new A.RequireRestarter__reload_closure(childModule), t4); + childModule = t4._as(self.$loadModuleConfig.call$1("dart_sdk").dart).getModuleLibraries(previousModuleId); + self.$dartRunMain = A.allowInterop(new A.RequireRestarter__reload_closure(childModule), t5); // goto join $async$goto = 13; break; case 14: // else - t5 = reloadedModules; - if (typeof t5 !== "number") { - $async$returnValue = t5.$add(); + t6 = reloadedModules; + if (typeof t6 !== "number") { + $async$returnValue = t6.$add(); // goto return $async$goto = 1; break; } - reloadedModules = t5 + 1; + reloadedModules = t6 + 1; $async$goto = 15; return A._asyncAwait($async$self._reloadModule$1(moduleId), $async$_reload$1); case 15: // returning from await. J.sort$1$ax(parentIds, t1); - $async$self._dirtyModules.addAll$1(0, parentIds); + $async$self.__RequireRestarter__dirtyModules_A.addAll$1(0, parentIds); previousModuleId = moduleId; case 13: // join @@ -25128,7 +25343,7 @@ if (t1 instanceof A.HotReloadFailedException) { e = t1; A.print("Error during script reloading. Firing full page reload. " + A.S(e)); - window.location.reload(); + type$.Location._as(window.location).reload(); $async$self._running.complete$1(0, false); } else throw $async$exception; @@ -25160,12 +25375,12 @@ var t1 = new A._Future($.Zone__current, type$._Future_dynamic), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_dynamic), stackTrace = A.StackTrace_current(); - J.forceLoadModule$3$x(self.$requireLoader, moduleId, A.allowInterop(new A.RequireRestarter__reloadModule_closure(completer), type$.legacy_void_Function), A.allowInterop(new A.RequireRestarter__reloadModule_closure0(completer, stackTrace), type$.legacy_void_Function_legacy_JsError)); + J.forceLoadModule$3$x(self.$requireLoader, moduleId, A.allowInterop(new A.RequireRestarter__reloadModule_closure(completer), type$.void_Function), A.allowInterop(new A.RequireRestarter__reloadModule_closure0(completer, stackTrace), type$.void_Function_JsError)); return t1; }, _updateGraph$0() { var i, t2, t3, _i, - t1 = type$.legacy_String, + t1 = type$.String, stronglyConnectedComponents = A.stronglyConnectedComponents(A.List_List$from(self.Array.from(J.keys$0$x(J.get$moduleParentsGraph$x(self.$requireLoader))), true, t1), this.get$_moduleParents(), t1); t1 = this._moduleOrdering; if (t1._collection$_length > 0) { @@ -25176,31 +25391,35 @@ for (t2 = stronglyConnectedComponents[i], t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) t1.$indexSet(0, t2[_i], i); }, - set$_dirtyModules(_dirtyModules) { - this._dirtyModules = type$.legacy_SplayTreeSet_legacy_String._as(_dirtyModules); + set$__RequireRestarter__dirtyModules_A(__RequireRestarter__dirtyModules_A) { + this.__RequireRestarter__dirtyModules_A = type$.SplayTreeSet_String._as(__RequireRestarter__dirtyModules_A); }, set$_running(_running) { - this._running = type$.legacy_Completer_legacy_bool._as(_running); + this._running = type$.Completer_bool._as(_running); }, $isRestarter: 1 }; A.RequireRestarter__reload_closure.prototype = { call$0() { - J.get$first$ax(self.Object.values(this.childModule)).main(); + var t1 = this.childModule; + t1 = J.get$first$ax(self.Object.values(t1 == null ? type$.Object._as(t1) : t1)); + if (t1 == null) + t1 = type$.Object._as(t1); + t1.main(); }, - $signature: 2 + $signature: 5 }; A.RequireRestarter__reloadModule_closure.prototype = { call$0() { this.completer.complete$0(0); }, - $signature: 2 + $signature: 0 }; A.RequireRestarter__reloadModule_closure0.prototype = { call$1(e) { - return this.completer.completeError$2(new A.HotReloadFailedException(J.get$message$x(type$.legacy_JsError._as(e))), this.stackTrace); + return this.completer.completeError$2(new A.HotReloadFailedException(J.get$message$x(type$.JsError._as(e))), this.stackTrace); }, - $signature: 83 + $signature: 80 }; A._createScript_closure.prototype = { call$0() { @@ -25209,13 +25428,15 @@ return new A._createScript__closure(); return new A._createScript__closure0(nonce); }, - $signature: 84 + $signature: 81 }; A._createScript__closure.prototype = { call$0() { - return document.createElement("script"); + var t1 = document.createElement("script"); + t1.toString; + return t1; }, - $signature: 24 + $signature: 36 }; A._createScript__closure0.prototype = { call$0() { @@ -25223,12 +25444,11 @@ t1.setAttribute("nonce", this.nonce); return t1; }, - $signature: 24 + $signature: 36 }; (function aliases() { var _ = J.Interceptor.prototype; _.super$Interceptor$toString = _.toString$0; - _.super$Interceptor$noSuchMethod = _.noSuchMethod$1; _ = J.LegacyJavaScriptObject.prototype; _.super$LegacyJavaScriptObject$toString = _.toString$0; _ = A.JsLinkedHashMap.prototype; @@ -25268,86 +25488,84 @@ _instance_0_u = hunkHelpers._instance_0u, _instance_1_u = hunkHelpers._instance_1u, _instance_0_i = hunkHelpers._instance_0i; - _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 15); + _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 16); _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 10); _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 10); _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 10); _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); - _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 4); - _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 31); + _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 3); + _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 11); _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); - _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 88, 0); + _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 85, 0); _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) { return A._rootRun($self, $parent, zone, f, type$.dynamic); - }], 89, 1); + }], 86, 1); _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) { return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic); - }], 90, 1); + }], 87, 1); _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) { return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic); - }], 91, 1); + }], 88, 1); _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) { return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic); - }], 92, 0); + }], 89, 0); _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) { return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic); - }], 93, 0); + }], 90, 0); _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) { return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic); - }], 94, 0); - _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 95, 0); - _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 96, 0); - _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 97, 0); - _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 98, 0); - _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 99, 0); - _static_1(A, "async___printToZone$closure", "_printToZone", 100); - _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 101, 0); - _instance(A._Completer.prototype, "get$completeError", 0, 1, function() { - return [null]; - }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 28, 0, 0); + }], 91, 0); + _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 92, 0); + _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 93, 0); + _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 94, 0); + _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 95, 0); + _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 96, 0); + _static_1(A, "async___printToZone$closure", "_printToZone", 35); + _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 97, 0); + _instance(A._Completer.prototype, "get$completeError", 0, 1, null, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 26, 0, 0); _instance(A._AsyncCompleter.prototype, "get$complete", 1, 0, function() { return [null]; - }, ["call$1", "call$0"], ["complete$1", "complete$0"], 54, 0, 0); - _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 31); + }, ["call$1", "call$0"], ["complete$1", "complete$0"], 52, 0, 0); + _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 11); var _; - _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 16); + _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 29); _instance(_, "get$addError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["addError$2", "addError$1"], 28, 0, 0); + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 26, 0, 0); _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); _instance_0_u(_ = A._BufferingStreamSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); - _instance_1_u(_, "get$_handleData", "_handleData$1", 16); - _instance_2_u(_, "get$_handleError", "_handleError$2", 85); + _instance_1_u(_, "get$_handleData", "_handleData$1", 29); + _instance_2_u(_, "get$_handleError", "_handleError$2", 60); _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0); - _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 13); - _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 14); - _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 15); - _instance(A._HashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 12, 0, 0); - _instance(A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 12, 0, 0); - _instance(A.SplayTreeSet.prototype, "get$_newSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSet$1$0", "_newSet$0"], 12, 0, 0); + _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 14); + _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 15); + _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 16); + _instance(A._HashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 13, 0, 0); + _instance(A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 13, 0, 0); + _instance(A.SplayTreeSet.prototype, "get$_newSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSet$1$0", "_newSet$0"], 13, 0, 0); _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 1); - _static_1(A, "core__identityHashCode$closure", "identityHashCode", 14); - _static_2(A, "core__identical$closure", "identical", 13); - _static(A, "html__Html5NodeValidator__standardAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__standardAttributeValidator"], 23, 0); - _static(A, "html__Html5NodeValidator__uriAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__uriAttributeValidator"], 23, 0); + _static_1(A, "core__identityHashCode$closure", "identityHashCode", 15); + _static_2(A, "core__identical$closure", "identical", 14); + _static(A, "html__Html5NodeValidator__standardAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__standardAttributeValidator"], 34, 0); + _static(A, "html__Html5NodeValidator__uriAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__uriAttributeValidator"], 34, 0); _instance_0_i(A.Node.prototype, "get$remove", "remove$0", 0); - _instance_1_i(A.WebSocket.prototype, "get$send", "send$1", 4); - _static_1(A, "js___convertToJS$closure", "_convertToJS", 27); - _static_1(A, "js___convertToDart$closure", "_convertToDart", 3); - _instance_2_u(_ = A.DeepCollectionEquality.prototype, "get$equals", "equals$2", 13); - _instance_1_i(_, "get$hash", "hash$1", 14); + _instance_1_i(A.WebSocket.prototype, "get$send", "send$1", 3); + _static_1(A, "js___convertToJS$closure", "_convertToJS", 30); + _static_1(A, "js___convertToDart$closure", "_convertToDart", 2); + _instance_2_u(_ = A.DeepCollectionEquality.prototype, "get$equals", "equals$2", 14); + _instance_1_i(_, "get$hash", "hash$1", 15); _instance_1_u(_, "get$isValidKey", "isValidKey$1", 56); - _static_2(A, "strongly_connected_components___defaultEquals$closure", "_defaultEquals0", 68); - _instance_1_u(_ = A.SseClient.prototype, "get$_onIncomingControlMessage", "_onIncomingControlMessage$1", 5); - _instance_1_u(_, "get$_onIncomingMessage", "_onIncomingMessage$1", 5); + _static_2(A, "strongly_connected_components___defaultEquals$closure", "_defaultEquals0", 65); + _instance_1_u(_ = A.SseClient.prototype, "get$_onIncomingControlMessage", "_onIncomingControlMessage$1", 4); + _instance_1_u(_, "get$_onIncomingMessage", "_onIncomingMessage$1", 4); _instance_0_u(_, "get$_onOutgoingDone", "_onOutgoingDone$0", 0); _instance_1_u(_, "get$_onOutgoingMessage", "_onOutgoingMessage$1", 62); - _instance_1_u(_ = A.RequireRestarter.prototype, "get$_moduleParents", "_moduleParents$1", 81); - _instance_2_u(_, "get$_moduleTopologicalCompare", "_moduleTopologicalCompare$2", 82); + _instance_1_u(_ = A.RequireRestarter.prototype, "get$_moduleParents", "_moduleParents$1", 78); + _instance_2_u(_, "get$_moduleTopologicalCompare", "_moduleTopologicalCompare$2", 79); })(); (function inheritance() { var _mixin = hunkHelpers.mixin, @@ -25365,12 +25583,12 @@ _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet, A.CastQueue]); _inherit(A._EfficientLengthCastIterable, A.CastIterable); _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin); - _inheritMany(A.Closure, [A.Closure2Args, A.Closure0Args, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A._Future_timeout_closure0, A.Stream_length_closure, A.Stream_first_closure0, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._CustomHashMap_closure, A._LinkedCustomHashMap_closure, A.SplayTreeSet_closure, A._BigIntImpl_hashCode_finish, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A.Element_Element$html_closure, A.HttpRequest_request_closure, A._EventStreamSubscription_closure, A._EventStreamSubscription_onData_closure, A.NodeValidatorBuilder_allowsElement_closure, A.NodeValidatorBuilder_allowsAttribute_closure, A._SimpleNodeValidator_closure, A._SimpleNodeValidator_closure0, A._TemplatingNodeValidator_closure, A._convertDartToNative_Value_closure, A.JsObject__convertDataTree__convert, A._convertToJS_closure, A._convertToJS_closure0, A._wrapToDart_closure, A._wrapToDart_closure0, A._wrapToDart_closure1, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.StreamQueue__ensureListening_closure, A.BuiltListMultimap_BuiltListMultimap_closure, A.BuiltListMultimap_hashCode_closure, A.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_hashCode_closure, A.BuiltSet_hashCode_closure, A.BuiltSetMultimap_hashCode_closure, A.SetMultimapBuilder_replace_closure, A.newBuiltValueToStringHelper_closure, A.BuiltListMultimapSerializer_serialize_closure, A.BuiltListMultimapSerializer_deserialize_closure, A.BuiltListSerializer_serialize_closure, A.BuiltListSerializer_deserialize_closure, A.BuiltSetMultimapSerializer_serialize_closure, A.BuiltSetMultimapSerializer_deserialize_closure, A.BuiltSetSerializer_serialize_closure, A.BuiltSetSerializer_deserialize_closure, A.WebSocketClient_stream_closure, A.stronglyConnectedComponents_strongConnect, A.Pool__runOnRelease_closure, A.SseClient_closure0, A.SseClient_closure1, A.generateUuidV4__generateBits, A._GuaranteeSink__addError_closure, A.HtmlWebSocketChannel_closure, A.HtmlWebSocketChannel_closure0, A.HtmlWebSocketChannel_closure1, A.HtmlWebSocketChannel_closure2, A.main__closure, A.main__closure0, A.main___closure2, A.main___closure1, A.main__closure2, A.main___closure0, A.main___closure, A.main__closure4, A.main__closure5, A.main__closure6, A.main__closure7, A.LegacyRestarter_restart_closure, A.RequireRestarter__reloadModule_closure0]); + _inheritMany(A.Closure, [A.Closure2Args, A.Closure0Args, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A._Future_timeout_closure0, A.Stream_length_closure, A.Stream_first_closure0, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._CustomHashMap_closure, A._LinkedCustomHashMap_closure, A.SplayTreeSet_closure, A._BigIntImpl_hashCode_finish, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A.Element_Element$html_closure, A.HttpRequest_request_closure, A._EventStreamSubscription_closure, A._EventStreamSubscription_onData_closure, A.NodeValidatorBuilder_allowsElement_closure, A.NodeValidatorBuilder_allowsAttribute_closure, A._SimpleNodeValidator_closure, A._SimpleNodeValidator_closure0, A._TemplatingNodeValidator_closure, A._convertDartToNative_Value_closure, A.JsObject__convertDataTree__convert, A._convertToJS_closure, A._convertToJS_closure0, A._wrapToDart_closure, A._wrapToDart_closure0, A._wrapToDart_closure1, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.StreamQueue__ensureListening_closure, A.BuiltListMultimap_BuiltListMultimap_closure, A.BuiltListMultimap_hashCode_closure, A.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_hashCode_closure, A.BuiltSet_hashCode_closure, A.BuiltSetMultimap_hashCode_closure, A.SetMultimapBuilder_replace_closure, A.newBuiltValueToStringHelper_closure, A.BuiltListMultimapSerializer_serialize_closure, A.BuiltListMultimapSerializer_deserialize_closure, A.BuiltListSerializer_serialize_closure, A.BuiltListSerializer_deserialize_closure, A.BuiltSetMultimapSerializer_serialize_closure, A.BuiltSetMultimapSerializer_deserialize_closure, A.BuiltSetSerializer_serialize_closure, A.BuiltSetSerializer_deserialize_closure, A.WebSocketClient_stream_closure, A.stronglyConnectedComponents_strongConnect, A.Pool__runOnRelease_closure, A.SseClient_closure0, A.SseClient_closure1, A.generateUuidV4__generateBits, A._GuaranteeSink__addError_closure, A.HtmlWebSocketChannel_closure, A.HtmlWebSocketChannel_closure0, A.HtmlWebSocketChannel_closure1, A.HtmlWebSocketChannel_closure2, A.main__closure, A.main__closure0, A.main___closure2, A.main___closure1, A.main__closure2, A.main___closure0, A.main___closure, A.main__closure4, A.main__closure5, A.main__closure6, A.main__closure7, A.LegacyRestarter_restart_closure, A.LegacyRestarter_restart_closure0, A.toFuture_closure, A.RequireRestarter__reloadModule_closure0]); _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.ConstantMap_map_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A._Future__chainForeignFuture_closure0, A._Future_timeout_closure1, A._BufferingStreamSubscription_asFuture_closure0, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A.SplayTreeSet__newSet_closure, A._JsonStringifier_writeMap_closure, A._symbolMapToStringMap_closure, A.NoSuchMethodError_toString_closure, A._BigIntImpl_hashCode_combine, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.MidiInputMap_keys_closure, A.MidiOutputMap_keys_closure, A.RtcStatsReport_keys_closure, A.Storage_keys_closure, A._ValidatingTreeSanitizer_sanitizeTree_walk, A._StructuredClone_walk_closure, A._StructuredClone_walk_closure0, A._AcceptStructuredClone_walk_closure, A.convertDartToNative_Dictionary_closure, A.AudioParamMap_keys_closure, A.StreamQueue__ensureListening_closure1, A.hashObjects_closure, A.MapBuilder_replace_closure, A.Pool__runOnRelease_closure0, A.generateUuidV4__printDigits, A.generateUuidV4__bitsDigits, A.main__closure1, A.main_closure0, A.toPromise_closure]); _inherit(A.CastList, A._CastListBase); _inherit(A.MapBase, A.MapMixin); _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A._JsonMap, A._AttributeMap]); - _inheritMany(A.Error, [A.LateError, A.ReachabilityError, A.NotNullableError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError, A.BuiltValueNullFieldError, A.BuiltValueNestedFieldError, A.DeserializationError]); + _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError, A.BuiltValueNullFieldError, A.BuiltValueNestedFieldError, A.DeserializationError]); _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A.Future_Future$microtask_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__asyncCompleteWithValue_closure, A._Future__chainFuture_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A._Future_timeout_closure, A.Stream_length_closure0, A.Stream_first_closure, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._BufferingStreamSubscription_asFuture_closure, A._BufferingStreamSubscription_asFuture__closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._cancelAndValue_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.StreamQueue__ensureListening_closure0, A.Serializers_Serializers_closure, A.Serializers_Serializers_closure0, A.Serializers_Serializers_closure1, A.Serializers_Serializers_closure2, A.Serializers_Serializers_closure3, A._$serializers_closure, A._$serializers_closure0, A.BatchedStreamController__hasEventOrTimeOut_closure, A.BatchedStreamController__hasEventDuring_closure, A.Logger_Logger_closure, A.SseClient_closure, A.SseClient__closure, A.SseClient__onOutgoingMessage_closure, A.GuaranteeChannel_closure, A.GuaranteeChannel__closure, A.HtmlWebSocketChannel__listen_closure, A.main_closure, A.main__closure3, A.RequireRestarter__reload_closure, A.RequireRestarter__reloadModule_closure, A._createScript_closure, A._createScript__closure, A._createScript__closure0]); _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable]); _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable]); @@ -25402,7 +25620,6 @@ _inherit(A._ControllerStream, A._StreamImpl); _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]); _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]); - _inherit(A._StreamImplEvents, A._PendingEvents); _inherit(A._MapStream, A._ForwardingStream); _inheritMany(A._Zone, [A._CustomZone, A._RootZone]); _inheritMany(A._HashMap, [A._IdentityHashMap, A._CustomHashMap]); @@ -25588,16 +25805,15 @@ typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, mangledNames: {}, - types: ["~()", "@(@)", "Null()", "Object?(@)", "~(@)", "~(Event)", "~(String,@)", "Null(@)", "Null(Object,StackTrace)", "~(@,@)", "~(~())", "bool(@)", "Set<0^>()", "bool(Object?,Object?)", "int(Object?)", "int(@,@)", "~(Object?)", "~(Object?,Object?)", "~(Symbol0,@)", "int(int,int)", "int(int)", "String(String)", "~(Uint8List,String,int)", "bool(Element,String,String,_Html5NodeValidator)", "ScriptElement*()", "Null(Event)", "String(int,int)", "Object?(Object?)", "~(Object[StackTrace?])", "bool()", "bool(String)", "~(Object,StackTrace)", "bool(NodeValidator)", "Future()", "~(ProgressEvent)", "~(int,@)", "bool(Node)", "Uint8List(@,@)", "~(Node,Node?)", "Null(@,@)", "@(@,@)", "@(Object?)", "JsFunction(@)", "JsArray<@>(@)", "JsObject(@)", "int(int,@)", "IndentingBuiltValueToStringHelper(String)", "ListBuilder()", "ListMultimapBuilder()", "MapBuilder()", "SetBuilder()", "~(String,String)", "~(String,int?)", "~(String,int)", "~([Object?])", "Null(@,StackTrace)", "bool(Object?)", "ListBuilder()", "ListBuilder()", "String(@)", "Null(~())", "Logger()", "~(String?)", "@(@,String)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "~(MessageEvent)", "Null(CloseEvent)", "Future*()", "bool(Object,Object)", "Null(List*)", "ListBuilder*(BatchedDebugEventsBuilder*)", "Null(String*,String*)", "DebugEventBuilder*(DebugEventBuilder*)", "Null(String*)", "RegisterEventBuilder*(RegisterEventBuilder*)", "DevToolsRequestBuilder*(DevToolsRequestBuilder*)", "Future*(String*)", "Null(Event*)", "ConnectRequestBuilder*(ConnectRequestBuilder*)", "Null(Object*,StackTrace*)", "Null(MessageEvent*)", "List*(String*)", "int*(String*,String*)", "~(JsError*)", "ScriptElement*()*()", "~(@,StackTrace)", "Promise<1&>*(String*)", "@(String)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)", "0^()(Zone,ZoneDelegate,Zone,0^())", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "~(String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "_Future<@>(@)", "SetMultimapBuilder()"], + types: ["~()", "@(@)", "Object?(@)", "~(@)", "~(Event)", "Null()", "~(String,@)", "Null(@)", "Null(Object,StackTrace)", "~(@,@)", "~(~())", "~(Object,StackTrace)", "bool(@)", "Set<0^>()", "bool(Object?,Object?)", "int(Object?)", "int(@,@)", "~(MessageEvent)", "~(Object?,Object?)", "~(Symbol0,@)", "int(int,int)", "int(int)", "String(String)", "~(Uint8List,String,int)", "Future()", "~(String,String)", "~(Object[StackTrace?])", "bool(NodeValidator)", "bool(String)", "~(Object?)", "Object?(Object?)", "bool()", "String(int,int)", "Null(Event)", "bool(Element,String,String,_Html5NodeValidator)", "~(String)", "ScriptElement()", "JsObject(@)", "~(Node,Node?)", "Null(@,@)", "@(@,@)", "@(Object?)", "JsFunction(@)", "JsArray<@>(@)", "~(int,@)", "int(int,@)", "IndentingBuiltValueToStringHelper(String)", "ListBuilder()", "ListMultimapBuilder()", "MapBuilder()", "SetBuilder()", "SetMultimapBuilder()", "~([Object?])", "Uint8List(@,@)", "@(String)", "@(@,String)", "bool(Object?)", "ListBuilder()", "ListBuilder()", "String(@)", "~(@,StackTrace)", "Logger()", "~(String?)", "bool(Node)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "bool(Object,Object)", "Null(CloseEvent)", "Future<~>()", "Promise<1&>(String)", "~(List)", "Null(~())", "DebugEventBuilder(DebugEventBuilder)", "Null(@,StackTrace)", "RegisterEventBuilder(RegisterEventBuilder)", "DevToolsRequestBuilder(DevToolsRequestBuilder)", "Future<~>(String)", "ConnectRequestBuilder(ConnectRequestBuilder)", "bool(bool)", "List(String)", "int(String,String)", "~(JsError)", "ScriptElement()()", "~(String,int)", "~(ProgressEvent)", "~(String,int?)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)", "0^()(Zone,ZoneDelegate,Zone,0^())", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "ListBuilder(BatchedDebugEventsBuilder)", "_Future<@>(@)"], interceptorsByTag: null, leafTags: null, arrayRti: Symbol("$ti") }; - A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","RequireLoader":"LegacyJavaScriptObject","JsMap":"LegacyJavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AudioContext":"BaseAudioContext","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","AElement":"SvgElement","GraphicsElement":"SvgElement","_ResourceProgressEvent":"ProgressEvent","AudioElement":"HtmlElement","MediaElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument":"Document","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","CDataSection":"CharacterData","Text":"CharacterData","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssStyleSheet":"StyleSheet","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":["1&"],"JsError":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"ReachabilityError":{"Error":[]},"NotNullableError":{"TypeError":[],"Error":[]},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeInt16List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt8List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint16List":{"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8List":{"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamTransformerBase":{"StreamTransformer":["1","2"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_StreamImplEvents":{"_PendingEvents":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_SplayTreeSetNode":{"_SplayTreeNode":["1","_SplayTreeSetNode<1>"],"_SplayTreeNode.K":"1","_SplayTreeNode.1":"_SplayTreeSetNode<1>"},"_HashMap":{"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SplayTreeIterator":{"Iterator":["3"]},"_SplayTreeKeyIterator":{"_SplayTreeIterator":["1","2","1"],"Iterator":["1"],"_SplayTreeIterator.1":"2","_SplayTreeIterator.K":"1"},"SplayTreeSet":{"SetMixin":["1"],"Set":["1"],"IterableMixin":["1"],"EfficientLengthIterable":["1"],"_SplayTree":["1","_SplayTreeSetNode<1>"],"Iterable":["1"],"_SplayTree.K":"1","_SplayTree.1":"_SplayTreeSetNode<1>"},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"IntegerDivisionByZeroException":{"Error":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"CloseEvent":{"Event":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"HttpRequest":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MessageEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"ScriptElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"_Html5NodeValidator":{"NodeValidator":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"AnchorElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"AreaElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CustomEvent":{"Event":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"EventSource":{"EventTarget":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FormElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"MessagePort":{"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"EventTarget":[],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TableElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableRowElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableSectionElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TemplateElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"EventTarget":[],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"UIEvent":{"Event":[]},"VideoTrackList":{"EventTarget":[]},"WebSocket":{"EventTarget":[]},"Window":{"EventTarget":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"_SvgNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"EventTarget":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"JsFunction":{"JsObject":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JsObject":[],"Iterable":["1"],"ListMixin.E":"1"},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"ScriptElement0":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"DelegatingStreamSink":{"StreamSink":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_NextRequest":{"_EventRequest":["1"]},"_HasNextRequest":{"_EventRequest":["1"]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.E":"1","_UnorderedEquality.T":"Set<1>"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"_$BuildStatusSerializer":{"PrimitiveSerializer":["BuildStatus"],"Serializer":["BuildStatus"]},"_$BuildResultSerializer":{"StructuredSerializer":["BuildResult"],"Serializer":["BuildResult"]},"_$BuildResult":{"BuildResult":[]},"_$ConnectRequestSerializer":{"StructuredSerializer":["ConnectRequest"],"Serializer":["ConnectRequest"]},"_$ConnectRequest":{"ConnectRequest":[]},"_$DebugEventSerializer":{"StructuredSerializer":["DebugEvent"],"Serializer":["DebugEvent"]},"_$BatchedDebugEventsSerializer":{"StructuredSerializer":["BatchedDebugEvents"],"Serializer":["BatchedDebugEvents"]},"_$DebugEvent":{"DebugEvent":[]},"_$BatchedDebugEvents":{"BatchedDebugEvents":[]},"_$DevToolsRequestSerializer":{"StructuredSerializer":["DevToolsRequest"],"Serializer":["DevToolsRequest"]},"_$DevToolsResponseSerializer":{"StructuredSerializer":["DevToolsResponse"],"Serializer":["DevToolsResponse"]},"_$DevToolsRequest":{"DevToolsRequest":[]},"_$DevToolsResponse":{"DevToolsResponse":[]},"_$ErrorResponseSerializer":{"StructuredSerializer":["ErrorResponse"],"Serializer":["ErrorResponse"]},"_$ErrorResponse":{"ErrorResponse":[]},"_$ExtensionRequestSerializer":{"StructuredSerializer":["ExtensionRequest"],"Serializer":["ExtensionRequest"]},"_$ExtensionResponseSerializer":{"StructuredSerializer":["ExtensionResponse"],"Serializer":["ExtensionResponse"]},"_$ExtensionEventSerializer":{"StructuredSerializer":["ExtensionEvent"],"Serializer":["ExtensionEvent"]},"_$BatchedEventsSerializer":{"StructuredSerializer":["BatchedEvents"],"Serializer":["BatchedEvents"]},"_$ExtensionRequest":{"ExtensionRequest":[]},"_$ExtensionResponse":{"ExtensionResponse":[]},"_$ExtensionEvent":{"ExtensionEvent":[]},"_$BatchedEvents":{"BatchedEvents":[]},"_$IsolateExitSerializer":{"StructuredSerializer":["IsolateExit"],"Serializer":["IsolateExit"]},"_$IsolateStartSerializer":{"StructuredSerializer":["IsolateStart"],"Serializer":["IsolateStart"]},"_$IsolateExit":{"IsolateExit":[]},"_$IsolateStart":{"IsolateStart":[]},"_$RegisterEventSerializer":{"StructuredSerializer":["RegisterEvent"],"Serializer":["RegisterEvent"]},"_$RegisterEvent":{"RegisterEvent":[]},"_$RunRequestSerializer":{"StructuredSerializer":["RunRequest"],"Serializer":["RunRequest"]},"_$RunRequest":{"RunRequest":[]},"SseSocketClient":{"SocketClient":[]},"WebSocketClient":{"SocketClient":[]},"Int64":{"Comparable":["Object"]},"Level":{"Comparable":["Level"]},"SseClient":{"StreamChannel":["String?"]},"GuaranteeChannel":{"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"HtmlWebSocketChannel":{"WebSocketChannel":[],"StreamChannel":["@"]},"_HtmlWebSocketSink":{"WebSocketSink":[],"DelegatingStreamSink":["@"],"StreamSink":["@"],"DelegatingStreamSink.T":"@"},"WebSocketChannel":{"StreamChannel":["@"]},"LegacyRestarter":{"Restarter":[]},"RequireRestarter":{"Restarter":[]},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]}}')); + A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","RequireLoader":"LegacyJavaScriptObject","JsMap":"LegacyJavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AudioContext":"BaseAudioContext","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","AElement":"SvgElement","GraphicsElement":"SvgElement","_ResourceProgressEvent":"ProgressEvent","AudioElement":"HtmlElement","MediaElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument":"Document","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","CDataSection":"CharacterData","Text":"CharacterData","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssStyleSheet":"StyleSheet","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":["1&"],"JsError":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeInt16List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt8List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint16List":{"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8List":{"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamTransformerBase":{"StreamTransformer":["1","2"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_SplayTreeSetNode":{"_SplayTreeNode":["1","_SplayTreeSetNode<1>"],"_SplayTreeNode.K":"1","_SplayTreeNode.1":"_SplayTreeSetNode<1>"},"_HashMap":{"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SplayTreeIterator":{"Iterator":["3"]},"_SplayTreeKeyIterator":{"_SplayTreeIterator":["1","2","1"],"Iterator":["1"],"_SplayTreeIterator.1":"2","_SplayTreeIterator.K":"1","_SplayTreeIterator.T":"1"},"SplayTreeSet":{"SetMixin":["1"],"Set":["1"],"IterableMixin":["1"],"EfficientLengthIterable":["1"],"_SplayTree":["1","_SplayTreeSetNode<1>"],"Iterable":["1"],"_SplayTree.K":"1","_SplayTree.1":"_SplayTreeSetNode<1>"},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"IntegerDivisionByZeroException":{"Error":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"CloseEvent":{"Event":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"HttpRequest":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MessageEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"ScriptElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"_Html5NodeValidator":{"NodeValidator":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"AnchorElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"AreaElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CustomEvent":{"Event":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"EventSource":{"EventTarget":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FormElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"MessagePort":{"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"EventTarget":[],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TableElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableRowElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableSectionElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TemplateElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"EventTarget":[],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"UIEvent":{"Event":[]},"VideoTrackList":{"EventTarget":[]},"WebSocket":{"EventTarget":[]},"Window":{"WindowBase":[],"EventTarget":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"_SvgNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"WindowBase":[],"EventTarget":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"JsFunction":{"JsObject":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JsObject":[],"Iterable":["1"],"ListMixin.E":"1"},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"ScriptElement0":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"DelegatingStreamSink":{"StreamSink":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_NextRequest":{"_EventRequest":["1"]},"_HasNextRequest":{"_EventRequest":["1"]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.E":"1","_UnorderedEquality.T":"Set<1>"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"_$BuildStatusSerializer":{"PrimitiveSerializer":["BuildStatus"],"Serializer":["BuildStatus"]},"_$BuildResultSerializer":{"StructuredSerializer":["BuildResult"],"Serializer":["BuildResult"]},"_$BuildResult":{"BuildResult":[]},"_$ConnectRequestSerializer":{"StructuredSerializer":["ConnectRequest"],"Serializer":["ConnectRequest"]},"_$ConnectRequest":{"ConnectRequest":[]},"_$DebugEventSerializer":{"StructuredSerializer":["DebugEvent"],"Serializer":["DebugEvent"]},"_$BatchedDebugEventsSerializer":{"StructuredSerializer":["BatchedDebugEvents"],"Serializer":["BatchedDebugEvents"]},"_$DebugEvent":{"DebugEvent":[]},"_$BatchedDebugEvents":{"BatchedDebugEvents":[]},"_$DevToolsRequestSerializer":{"StructuredSerializer":["DevToolsRequest"],"Serializer":["DevToolsRequest"]},"_$DevToolsResponseSerializer":{"StructuredSerializer":["DevToolsResponse"],"Serializer":["DevToolsResponse"]},"_$DevToolsRequest":{"DevToolsRequest":[]},"_$DevToolsResponse":{"DevToolsResponse":[]},"_$ErrorResponseSerializer":{"StructuredSerializer":["ErrorResponse"],"Serializer":["ErrorResponse"]},"_$ErrorResponse":{"ErrorResponse":[]},"_$ExtensionRequestSerializer":{"StructuredSerializer":["ExtensionRequest"],"Serializer":["ExtensionRequest"]},"_$ExtensionResponseSerializer":{"StructuredSerializer":["ExtensionResponse"],"Serializer":["ExtensionResponse"]},"_$ExtensionEventSerializer":{"StructuredSerializer":["ExtensionEvent"],"Serializer":["ExtensionEvent"]},"_$BatchedEventsSerializer":{"StructuredSerializer":["BatchedEvents"],"Serializer":["BatchedEvents"]},"_$ExtensionRequest":{"ExtensionRequest":[]},"_$ExtensionResponse":{"ExtensionResponse":[]},"_$ExtensionEvent":{"ExtensionEvent":[]},"_$BatchedEvents":{"BatchedEvents":[]},"_$IsolateExitSerializer":{"StructuredSerializer":["IsolateExit"],"Serializer":["IsolateExit"]},"_$IsolateStartSerializer":{"StructuredSerializer":["IsolateStart"],"Serializer":["IsolateStart"]},"_$IsolateExit":{"IsolateExit":[]},"_$IsolateStart":{"IsolateStart":[]},"_$RegisterEventSerializer":{"StructuredSerializer":["RegisterEvent"],"Serializer":["RegisterEvent"]},"_$RegisterEvent":{"RegisterEvent":[]},"_$RunRequestSerializer":{"StructuredSerializer":["RunRequest"],"Serializer":["RunRequest"]},"_$RunRequest":{"RunRequest":[]},"SseSocketClient":{"SocketClient":[]},"WebSocketClient":{"SocketClient":[]},"Int64":{"Comparable":["Object"]},"Level":{"Comparable":["Level"]},"SseClient":{"StreamChannel":["String?"]},"GuaranteeChannel":{"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"HtmlWebSocketChannel":{"WebSocketChannel":[],"StreamChannel":["@"]},"_HtmlWebSocketSink":{"WebSocketSink":[],"DelegatingStreamSink":["@"],"StreamSink":["@"],"DelegatingStreamSink.T":"@"},"WebSocketChannel":{"StreamChannel":["@"]},"LegacyRestarter":{"Restarter":[]},"RequireRestarter":{"Restarter":[]},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]}}')); A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"StreamTransformerBase":2,"IterableBase":1,"ListBase":1,"MapBase":2,"_ListBase_Object_ListMixin":1,"_SplayTreeSet__SplayTree_IterableMixin":1,"_SplayTreeSet__SplayTree_IterableMixin_SetMixin":1,"__SetBase_Object_SetMixin":1,"MapEntry":2,"_JsArray_JsObject_ListMixin":1,"_QueueList_Object_ListMixin":1,"StreamChannelMixin":1}')); var string$ = { Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type", - _null_: "`null` encountered as the result from expression with type `Never`.", max_mu: "max must be in range 0 < max \u2264 2^32, was ", serial: "serializer must be StructuredSerializer or PrimitiveSerializer" }; @@ -25608,7 +25824,7 @@ BaseElement: findType("BaseElement"), BatchedDebugEvents: findType("BatchedDebugEvents"), BatchedEvents: findType("BatchedEvents"), - BatchedStreamController_legacy_DebugEvent: findType("BatchedStreamController"), + BatchedStreamController_DebugEvent: findType("BatchedStreamController"), BigInt: findType("BigInt"), Blob: findType("Blob"), BodyElement: findType("BodyElement"), @@ -25623,6 +25839,7 @@ ByteBuffer: findType("ByteBuffer"), CloseEvent: findType("CloseEvent"), Comparable_dynamic: findType("Comparable<@>"), + Completer_bool: findType("Completer"), ConnectRequest: findType("ConnectRequest"), ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), CssRule: findType("CssRule"), @@ -25647,6 +25864,7 @@ Function: findType("Function"), Future_dynamic: findType("Future<@>"), Future_void: findType("Future<~>"), + HtmlElement: findType("HtmlElement"), ImageData: findType("ImageData"), Int64: findType("Int64"), Invocation: findType("Invocation"), @@ -25656,24 +25874,25 @@ Iterable_Node: findType("Iterable"), Iterable_dynamic: findType("Iterable<@>"), Iterable_nullable_Object: findType("Iterable"), + JSArray_FullType: findType("JSArray"), JSArray_NodeValidator: findType("JSArray"), JSArray_Object: findType("JSArray"), JSArray_String: findType("JSArray"), + JSArray_Type: findType("JSArray"), JSArray_dynamic: findType("JSArray<@>"), JSArray_int: findType("JSArray"), - JSArray_legacy_FullType: findType("JSArray"), - JSArray_legacy_String: findType("JSArray"), - JSArray_legacy_Type: findType("JSArray"), - JSArray_legacy_int: findType("JSArray"), JSNull: findType("JSNull"), JSObject: findType("JSObject"), JavaScriptFunction: findType("JavaScriptFunction"), JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"), JsArray_dynamic: findType("JsArray<@>"), + JsError: findType("JsError"), JsLinkedHashMap_String_dynamic: findType("JsLinkedHashMap"), JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap"), + JsObject: findType("JsObject"), JsonObject: findType("JsonObject"), KeyRange: findType("KeyRange"), + KeyboardEvent: findType("KeyboardEvent"), Length: findType("Length"), Level: findType("Level"), ListBuilder_DebugEvent: findType("ListBuilder"), @@ -25683,15 +25902,17 @@ ListMultimapBuilder_dynamic_dynamic: findType("ListMultimapBuilder<@,@>"), List_DebugEvent: findType("List"), List_ExtensionEvent: findType("List"), + List_String: findType("List"), List_dynamic: findType("List<@>"), - List_legacy_DebugEvent: findType("List"), List_nullable_Object: findType("List"), + Location: findType("Location"), Logger: findType("Logger"), MapBuilder_dynamic_dynamic: findType("MapBuilder<@,@>"), MapEquality_dynamic_dynamic: findType("MapEquality<@,@>"), + Map_String_String: findType("Map"), Map_dynamic_dynamic: findType("Map<@,@>"), Map_of_String_and_nullable_Object: findType("Map"), - MappedListIterable_of_legacy_String_and_String: findType("MappedListIterable"), + MappedListIterable_String_String: findType("MappedListIterable"), MessageEvent: findType("MessageEvent"), MessagePort: findType("MessagePort"), MimeType: findType("MimeType"), @@ -25703,14 +25924,19 @@ Null: findType("Null"), Number: findType("Number"), Object: findType("Object"), + Pattern: findType("Pattern"), Plugin: findType("Plugin"), PoolResource: findType("PoolResource"), PrimitiveSerializer_dynamic: findType("PrimitiveSerializer<@>"), ProgressEvent: findType("ProgressEvent"), - QueueList_Result_legacy_DebugEvent: findType("QueueList>"), + Promise_bool_Function_String: findType("Promise<1&>(String)"), + Promise_void: findType("Promise<1&>"), + QueueList_Result_DebugEvent: findType("QueueList>"), Rectangle_num: findType("Rectangle"), RegExp: findType("RegExp"), + RegExpMatch: findType("RegExpMatch"), RegisterEvent: findType("RegisterEvent"), + RequireRestarter: findType("RequireRestarter"), ReversedListIterable_String: findType("ReversedListIterable"), RunRequest: findType("RunRequest"), ScriptElement: findType("ScriptElement0"), @@ -25723,11 +25949,12 @@ SourceBuffer: findType("SourceBuffer"), SpeechGrammar: findType("SpeechGrammar"), SpeechRecognitionResult: findType("SpeechRecognitionResult"), + SplayTreeSet_String: findType("SplayTreeSet"), StackTrace: findType("StackTrace"), StreamChannelController_dynamic: findType("StreamChannelController<@>"), - StreamQueue_legacy_DebugEvent: findType("StreamQueue"), + StreamQueue_DebugEvent: findType("StreamQueue"), String: findType("String"), - String_Function_legacy_String: findType("String(String*)"), + String_Function_String: findType("String(String)"), StructuredSerializer_dynamic: findType("StructuredSerializer<@>"), StyleSheet: findType("StyleSheet"), SvgElement: findType("SvgElement"), @@ -25747,28 +25974,26 @@ UnmodifiableMapView_of_String_and_nullable_Object: findType("UnmodifiableMapView"), Uri: findType("Uri"), Window: findType("Window"), + WindowBase: findType("WindowBase"), WorkerGlobalScope: findType("WorkerGlobalScope"), Zone: findType("Zone"), _AsyncCompleter_HttpRequest: findType("_AsyncCompleter"), _AsyncCompleter_PoolResource: findType("_AsyncCompleter"), _AsyncCompleter_bool: findType("_AsyncCompleter"), _AsyncCompleter_dynamic: findType("_AsyncCompleter<@>"), - _AsyncCompleter_legacy_bool: findType("_AsyncCompleter"), - _AsyncCompleter_void: findType("_AsyncCompleter<~>"), _Attr: findType("_Attr"), _BigIntImpl: findType("_BigIntImpl"), _BuiltMap_dynamic_dynamic: findType("_BuiltMap<@,@>"), _ChildNodeListLazy: findType("_ChildNodeListLazy"), _EventRequest_dynamic: findType("_EventRequest<@>"), - _EventStream_legacy_CloseEvent: findType("_EventStream"), - _EventStream_legacy_Event: findType("_EventStream"), - _FrozenElementList_legacy_Element: findType("_FrozenElementList"), + _EventStream_CloseEvent: findType("_EventStream"), + _EventStream_Event: findType("_EventStream"), + _FrozenElementList_Element: findType("_FrozenElementList"), _Future_HttpRequest: findType("_Future"), _Future_PoolResource: findType("_Future"), _Future_bool: findType("_Future"), _Future_dynamic: findType("_Future<@>"), _Future_int: findType("_Future"), - _Future_legacy_bool: findType("_Future"), _Future_void: findType("_Future<~>"), _Html5NodeValidator: findType("_Html5NodeValidator"), _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"), @@ -25783,41 +26008,11 @@ dynamic_Function: findType("@()"), dynamic_Function_Object: findType("@(Object)"), dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), + dynamic_Function_dynamic: findType("@(@)"), dynamic_Function_dynamic_dynamic: findType("@(@,@)"), int: findType("int"), - legacy_Completer_legacy_bool: findType("Completer*"), - legacy_DebugEvent: findType("DebugEvent*"), - legacy_Element: findType("Element*"), - legacy_Event: findType("Event*"), - legacy_Future_void: findType("Future<~>*"), - legacy_HtmlElement: findType("HtmlElement*"), - legacy_JsError: findType("JsError*"), - legacy_JsObject: findType("JsObject*"), - legacy_KeyboardEvent: findType("KeyboardEvent*"), - legacy_List_legacy_DebugEvent: findType("List*"), - legacy_List_legacy_String: findType("List*"), - legacy_Map_dynamic_dynamic: findType("Map<@,@>*"), - legacy_Map_of_legacy_String_and_legacy_String: findType("Map*"), - legacy_MessageEvent: findType("MessageEvent*"), legacy_Never: findType("0&*"), legacy_Object: findType("Object*"), - legacy_ProgressEvent: findType("ProgressEvent*"), - legacy_Promise_void: findType("Promise<1&>*"), - legacy_RequireRestarter: findType("RequireRestarter*"), - legacy_SplayTreeSet_legacy_String: findType("SplayTreeSet*"), - legacy_StackTrace: findType("StackTrace*"), - legacy_String: findType("String*"), - legacy_bool: findType("bool*"), - legacy_dynamic_Function: findType("@()*"), - legacy_dynamic_Function_dynamic: findType("@(@)*"), - legacy_dynamic_Function_void: findType("@(~)*"), - legacy_int: findType("int*"), - legacy_legacy_Promise_legacy_bool_Function_legacy_String: findType("Promise<1&>*(String*)*"), - legacy_void_Function: findType("~()*"), - legacy_void_Function_2_legacy_String_and_legacy_String: findType("~(String*,String*)*"), - legacy_void_Function_dynamic: findType("~(@)*"), - legacy_void_Function_legacy_JsError: findType("~(JsError*)*"), - legacy_void_Function_legacy_String: findType("~(String*)*"), nullable_Future_Null: findType("Future?"), nullable_Gamepad: findType("Gamepad?"), nullable_ListBuilder_DebugEvent: findType("ListBuilder?"), @@ -25825,7 +26020,7 @@ nullable_List_dynamic: findType("List<@>?"), nullable_Map_of_nullable_Object_and_nullable_Object: findType("Map?"), nullable_Object: findType("Object?"), - nullable_Result_legacy_DebugEvent: findType("Result?"), + nullable_Result_DebugEvent: findType("Result?"), nullable_StackTrace: findType("StackTrace?"), nullable_Zone: findType("Zone?"), nullable_ZoneDelegate: findType("ZoneDelegate?"), @@ -25842,21 +26037,24 @@ nullable_void_Function_ConnectRequestBuilder: findType("~(ConnectRequestBuilder)?"), nullable_void_Function_DebugEventBuilder: findType("~(DebugEventBuilder)?"), nullable_void_Function_DevToolsRequestBuilder: findType("~(DevToolsRequestBuilder)?"), + nullable_void_Function_Event: findType("~(Event)?"), nullable_void_Function_IsolateExitBuilder: findType("~(IsolateExitBuilder)?"), nullable_void_Function_IsolateStartBuilder: findType("~(IsolateStartBuilder)?"), + nullable_void_Function_KeyboardEvent: findType("~(KeyboardEvent)?"), + nullable_void_Function_MessageEvent: findType("~(MessageEvent)?"), + nullable_void_Function_ProgressEvent: findType("~(ProgressEvent)?"), nullable_void_Function_RegisterEventBuilder: findType("~(RegisterEventBuilder)?"), - nullable_void_Function_legacy_Event: findType("~(Event*)?"), - nullable_void_Function_legacy_KeyboardEvent: findType("~(KeyboardEvent*)?"), - nullable_void_Function_legacy_MessageEvent: findType("~(MessageEvent*)?"), - nullable_void_Function_legacy_ProgressEvent: findType("~(ProgressEvent*)?"), num: findType("num"), void: findType("~"), void_Function: findType("~()"), + void_Function_JsError: findType("~(JsError)"), void_Function_Object: findType("~(Object)"), void_Function_Object_StackTrace: findType("~(Object,StackTrace)"), + void_Function_String: findType("~(String)"), void_Function_String_String: findType("~(String,String)"), void_Function_String_dynamic: findType("~(String,@)"), - void_Function_Timer: findType("~(Timer)") + void_Function_Timer: findType("~(Timer)"), + void_Function_dynamic: findType("~(@)") }; })(); (function constants() { @@ -25887,9 +26085,9 @@ B.BuildStatus_succeeded = new A.BuildStatus("succeeded"); B.C_Base64Encoder = new A.Base64Encoder(); B.C_Base64Codec = new A.Base64Codec(); - B.C_DefaultEquality = new A.DefaultEquality(A.findType("DefaultEquality<0&*>")); + B.C_DefaultEquality = new A.DefaultEquality(A.findType("DefaultEquality<0&>")); B.C_DeepCollectionEquality = new A.DeepCollectionEquality(); - B.C_EmptyIterator = new A.EmptyIterator(A.findType("EmptyIterator<0&*>")); + B.C_EmptyIterator = new A.EmptyIterator(A.findType("EmptyIterator<0&>")); B.C_IntegerDivisionByZeroException = new A.IntegerDivisionByZeroException(); B.C_JS_CONST = function getTagFallback(o) { var s = Object.prototype.toString.call(o); @@ -26026,19 +26224,19 @@ B.Duration_5000000 = new A.Duration(5000000); B.Type_BuiltListMultimap_2Mt = A.typeLiteral("BuiltListMultimap<@,@>"); B.Type_Object_xQ6 = A.typeLiteral("Object"); - B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_legacy_FullType); + B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_FullType); B.FullType_1MH = new A.FullType(B.Type_Object_xQ6, B.List_empty1, false); - B.List_a1A = A._setArrayType(makeConstList([B.FullType_1MH, B.FullType_1MH]), type$.JSArray_legacy_FullType); + B.List_a1A = A._setArrayType(makeConstList([B.FullType_1MH, B.FullType_1MH]), type$.JSArray_FullType); B.FullType_4Wf = new A.FullType(B.Type_BuiltListMultimap_2Mt, B.List_a1A, false); B.Type_BuiltSet_fcN = A.typeLiteral("BuiltSet<@>"); - B.List_yym = A._setArrayType(makeConstList([B.FullType_1MH]), type$.JSArray_legacy_FullType); + B.List_yym = A._setArrayType(makeConstList([B.FullType_1MH]), type$.JSArray_FullType); B.FullType_4e8 = new A.FullType(B.Type_BuiltSet_fcN, B.List_yym, false); B.Type_BuildStatus_ahk = A.typeLiteral("BuildStatus"); B.FullType_FuN = new A.FullType(B.Type_BuildStatus_ahk, B.List_empty1, false); B.Type_BuiltList_iTR = A.typeLiteral("BuiltList<@>"); B.Type_DebugEvent_sSr = A.typeLiteral("DebugEvent"); B.FullType_Dx1 = new A.FullType(B.Type_DebugEvent_sSr, B.List_empty1, false); - B.List_eVV = A._setArrayType(makeConstList([B.FullType_Dx1]), type$.JSArray_legacy_FullType); + B.List_eVV = A._setArrayType(makeConstList([B.FullType_Dx1]), type$.JSArray_FullType); B.FullType_Igx = new A.FullType(B.Type_BuiltList_iTR, B.List_eVV, false); B.Type_bool_lhE = A.typeLiteral("bool"); B.FullType_MtR = new A.FullType(B.Type_bool_lhE, B.List_empty1, false); @@ -26052,7 +26250,7 @@ B.FullType_null_List_empty_false = new A.FullType(null, B.List_empty1, false); B.Type_ExtensionEvent_gsm = A.typeLiteral("ExtensionEvent"); B.FullType_Ktb = new A.FullType(B.Type_ExtensionEvent_gsm, B.List_empty1, false); - B.List_BmO = A._setArrayType(makeConstList([B.FullType_Ktb]), type$.JSArray_legacy_FullType); + B.List_BmO = A._setArrayType(makeConstList([B.FullType_Ktb]), type$.JSArray_FullType); B.FullType_w24 = new A.FullType(B.Type_BuiltList_iTR, B.List_BmO, false); B.Type_BuiltMap_qd4 = A.typeLiteral("BuiltMap<@,@>"); B.FullType_wIv = new A.FullType(B.Type_BuiltMap_qd4, B.List_a1A, false); @@ -26061,69 +26259,69 @@ B.Level_INFO_800 = new A.Level("INFO", 800); B.Level_SEVERE_1000 = new A.Level("SEVERE", 1000); B.Level_WARNING_900 = new A.Level("WARNING", 900); - B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_legacy_int); - B.List_2Zi = A._setArrayType(makeConstList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"]), type$.JSArray_legacy_String); + B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int); + B.List_2Zi = A._setArrayType(makeConstList(["*::class", "*::dir", "*::draggable", "*::hidden", "*::id", "*::inert", "*::itemprop", "*::itemref", "*::itemscope", "*::lang", "*::spellcheck", "*::title", "*::translate", "A::accesskey", "A::coords", "A::hreflang", "A::name", "A::shape", "A::tabindex", "A::target", "A::type", "AREA::accesskey", "AREA::alt", "AREA::coords", "AREA::nohref", "AREA::shape", "AREA::tabindex", "AREA::target", "AUDIO::controls", "AUDIO::loop", "AUDIO::mediagroup", "AUDIO::muted", "AUDIO::preload", "BDO::dir", "BODY::alink", "BODY::bgcolor", "BODY::link", "BODY::text", "BODY::vlink", "BR::clear", "BUTTON::accesskey", "BUTTON::disabled", "BUTTON::name", "BUTTON::tabindex", "BUTTON::type", "BUTTON::value", "CANVAS::height", "CANVAS::width", "CAPTION::align", "COL::align", "COL::char", "COL::charoff", "COL::span", "COL::valign", "COL::width", "COLGROUP::align", "COLGROUP::char", "COLGROUP::charoff", "COLGROUP::span", "COLGROUP::valign", "COLGROUP::width", "COMMAND::checked", "COMMAND::command", "COMMAND::disabled", "COMMAND::label", "COMMAND::radiogroup", "COMMAND::type", "DATA::value", "DEL::datetime", "DETAILS::open", "DIR::compact", "DIV::align", "DL::compact", "FIELDSET::disabled", "FONT::color", "FONT::face", "FONT::size", "FORM::accept", "FORM::autocomplete", "FORM::enctype", "FORM::method", "FORM::name", "FORM::novalidate", "FORM::target", "FRAME::name", "H1::align", "H2::align", "H3::align", "H4::align", "H5::align", "H6::align", "HR::align", "HR::noshade", "HR::size", "HR::width", "HTML::version", "IFRAME::align", "IFRAME::frameborder", "IFRAME::height", "IFRAME::marginheight", "IFRAME::marginwidth", "IFRAME::width", "IMG::align", "IMG::alt", "IMG::border", "IMG::height", "IMG::hspace", "IMG::ismap", "IMG::name", "IMG::usemap", "IMG::vspace", "IMG::width", "INPUT::accept", "INPUT::accesskey", "INPUT::align", "INPUT::alt", "INPUT::autocomplete", "INPUT::autofocus", "INPUT::checked", "INPUT::disabled", "INPUT::inputmode", "INPUT::ismap", "INPUT::list", "INPUT::max", "INPUT::maxlength", "INPUT::min", "INPUT::multiple", "INPUT::name", "INPUT::placeholder", "INPUT::readonly", "INPUT::required", "INPUT::size", "INPUT::step", "INPUT::tabindex", "INPUT::type", "INPUT::usemap", "INPUT::value", "INS::datetime", "KEYGEN::disabled", "KEYGEN::keytype", "KEYGEN::name", "LABEL::accesskey", "LABEL::for", "LEGEND::accesskey", "LEGEND::align", "LI::type", "LI::value", "LINK::sizes", "MAP::name", "MENU::compact", "MENU::label", "MENU::type", "METER::high", "METER::low", "METER::max", "METER::min", "METER::value", "OBJECT::typemustmatch", "OL::compact", "OL::reversed", "OL::start", "OL::type", "OPTGROUP::disabled", "OPTGROUP::label", "OPTION::disabled", "OPTION::label", "OPTION::selected", "OPTION::value", "OUTPUT::for", "OUTPUT::name", "P::align", "PRE::width", "PROGRESS::max", "PROGRESS::min", "PROGRESS::value", "SELECT::autocomplete", "SELECT::disabled", "SELECT::multiple", "SELECT::name", "SELECT::required", "SELECT::size", "SELECT::tabindex", "SOURCE::type", "TABLE::align", "TABLE::bgcolor", "TABLE::border", "TABLE::cellpadding", "TABLE::cellspacing", "TABLE::frame", "TABLE::rules", "TABLE::summary", "TABLE::width", "TBODY::align", "TBODY::char", "TBODY::charoff", "TBODY::valign", "TD::abbr", "TD::align", "TD::axis", "TD::bgcolor", "TD::char", "TD::charoff", "TD::colspan", "TD::headers", "TD::height", "TD::nowrap", "TD::rowspan", "TD::scope", "TD::valign", "TD::width", "TEXTAREA::accesskey", "TEXTAREA::autocomplete", "TEXTAREA::cols", "TEXTAREA::disabled", "TEXTAREA::inputmode", "TEXTAREA::name", "TEXTAREA::placeholder", "TEXTAREA::readonly", "TEXTAREA::required", "TEXTAREA::rows", "TEXTAREA::tabindex", "TEXTAREA::wrap", "TFOOT::align", "TFOOT::char", "TFOOT::charoff", "TFOOT::valign", "TH::abbr", "TH::align", "TH::axis", "TH::bgcolor", "TH::char", "TH::charoff", "TH::colspan", "TH::headers", "TH::height", "TH::nowrap", "TH::rowspan", "TH::scope", "TH::valign", "TH::width", "THEAD::align", "THEAD::char", "THEAD::charoff", "THEAD::valign", "TR::align", "TR::bgcolor", "TR::char", "TR::charoff", "TR::valign", "TRACK::default", "TRACK::kind", "TRACK::label", "TRACK::srclang", "UL::compact", "UL::type", "VIDEO::controls", "VIDEO::height", "VIDEO::loop", "VIDEO::mediagroup", "VIDEO::muted", "VIDEO::preload", "VIDEO::width"]), type$.JSArray_String); B.Type_DevToolsResponse_Hhy = A.typeLiteral("DevToolsResponse"); B.Type__$DevToolsResponse_23h = A.typeLiteral("_$DevToolsResponse"); - B.List_41A = A._setArrayType(makeConstList([B.Type_DevToolsResponse_Hhy, B.Type__$DevToolsResponse_23h]), type$.JSArray_legacy_Type); + B.List_41A = A._setArrayType(makeConstList([B.Type_DevToolsResponse_Hhy, B.Type__$DevToolsResponse_23h]), type$.JSArray_Type); B.Type_RegisterEvent_0zQ = A.typeLiteral("RegisterEvent"); B.Type__$RegisterEvent_SY6 = A.typeLiteral("_$RegisterEvent"); - B.List_42K = A._setArrayType(makeConstList([B.Type_RegisterEvent_0zQ, B.Type__$RegisterEvent_SY6]), type$.JSArray_legacy_Type); + B.List_42K = A._setArrayType(makeConstList([B.Type_RegisterEvent_0zQ, B.Type__$RegisterEvent_SY6]), type$.JSArray_Type); B.Type_IsolateStart_0 = A.typeLiteral("IsolateStart"); B.Type__$IsolateStart_o3b = A.typeLiteral("_$IsolateStart"); - B.List_6TA = A._setArrayType(makeConstList([B.Type_IsolateStart_0, B.Type__$IsolateStart_o3b]), type$.JSArray_legacy_Type); + B.List_6TA = A._setArrayType(makeConstList([B.Type_IsolateStart_0, B.Type__$IsolateStart_o3b]), type$.JSArray_Type); B.Type_DevToolsRequest_A0n = A.typeLiteral("DevToolsRequest"); B.Type__$DevToolsRequest_cDy = A.typeLiteral("_$DevToolsRequest"); - B.List_BCG = A._setArrayType(makeConstList([B.Type_DevToolsRequest_A0n, B.Type__$DevToolsRequest_cDy]), type$.JSArray_legacy_Type); - B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.List_BCG = A._setArrayType(makeConstList([B.Type_DevToolsRequest_A0n, B.Type__$DevToolsRequest_cDy]), type$.JSArray_Type); + B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int); B.Type__$DebugEvent_EmR = A.typeLiteral("_$DebugEvent"); - B.List_Cpu = A._setArrayType(makeConstList([B.Type_DebugEvent_sSr, B.Type__$DebugEvent_EmR]), type$.JSArray_legacy_Type); - B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_legacy_int); + B.List_Cpu = A._setArrayType(makeConstList([B.Type_DebugEvent_sSr, B.Type__$DebugEvent_EmR]), type$.JSArray_Type); + B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int); B.Type_IsolateExit_D1o = A.typeLiteral("IsolateExit"); B.Type__$IsolateExit_eWg = A.typeLiteral("_$IsolateExit"); - B.List_LT1 = A._setArrayType(makeConstList([B.Type_IsolateExit_D1o, B.Type__$IsolateExit_eWg]), type$.JSArray_legacy_Type); + B.List_LT1 = A._setArrayType(makeConstList([B.Type_IsolateExit_D1o, B.Type__$IsolateExit_eWg]), type$.JSArray_Type); B.Type_BatchedDebugEvents_I6f = A.typeLiteral("BatchedDebugEvents"); B.Type__$BatchedDebugEvents_aD9 = A.typeLiteral("_$BatchedDebugEvents"); - B.List_LZh = A._setArrayType(makeConstList([B.Type_BatchedDebugEvents_I6f, B.Type__$BatchedDebugEvents_aD9]), type$.JSArray_legacy_Type); + B.List_LZh = A._setArrayType(makeConstList([B.Type_BatchedDebugEvents_I6f, B.Type__$BatchedDebugEvents_aD9]), type$.JSArray_Type); B.Type_BuildResult_dEV = A.typeLiteral("BuildResult"); B.Type__$BuildResult_knt = A.typeLiteral("_$BuildResult"); - B.List_OHe = A._setArrayType(makeConstList([B.Type_BuildResult_dEV, B.Type__$BuildResult_knt]), type$.JSArray_legacy_Type); - B.List_Type_BuildStatus_ahk = A._setArrayType(makeConstList([B.Type_BuildStatus_ahk]), type$.JSArray_legacy_Type); - B.List_WrN = A._setArrayType(makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656]), type$.JSArray_legacy_int); - B.List_ego = A._setArrayType(makeConstList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"]), type$.JSArray_legacy_String); + B.List_OHe = A._setArrayType(makeConstList([B.Type_BuildResult_dEV, B.Type__$BuildResult_knt]), type$.JSArray_Type); + B.List_Type_BuildStatus_ahk = A._setArrayType(makeConstList([B.Type_BuildStatus_ahk]), type$.JSArray_Type); + B.List_WrN = A._setArrayType(makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656]), type$.JSArray_int); + B.List_ego = A._setArrayType(makeConstList(["HEAD", "AREA", "BASE", "BASEFONT", "BR", "COL", "COLGROUP", "EMBED", "FRAME", "FRAMESET", "HR", "IMAGE", "IMG", "INPUT", "ISINDEX", "LINK", "META", "PARAM", "SOURCE", "STYLE", "TITLE", "WBR"]), type$.JSArray_String); + B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String); B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic); - B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_legacy_String); B.Type_ExtensionRequest_BMe = A.typeLiteral("ExtensionRequest"); B.Type__$ExtensionRequest_1Ej = A.typeLiteral("_$ExtensionRequest"); - B.List_evd = A._setArrayType(makeConstList([B.Type_ExtensionRequest_BMe, B.Type__$ExtensionRequest_1Ej]), type$.JSArray_legacy_Type); + B.List_evd = A._setArrayType(makeConstList([B.Type_ExtensionRequest_BMe, B.Type__$ExtensionRequest_1Ej]), type$.JSArray_Type); B.Type_ErrorResponse_Q43 = A.typeLiteral("ErrorResponse"); B.Type__$ErrorResponse_xV7 = A.typeLiteral("_$ErrorResponse"); - B.List_gQA = A._setArrayType(makeConstList([B.Type_ErrorResponse_Q43, B.Type__$ErrorResponse_xV7]), type$.JSArray_legacy_Type); - B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); - B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.List_gQA = A._setArrayType(makeConstList([B.Type_ErrorResponse_Q43, B.Type__$ErrorResponse_xV7]), type$.JSArray_Type); + B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int); B.Type__$ExtensionEvent_XOq = A.typeLiteral("_$ExtensionEvent"); - B.List_pnF = A._setArrayType(makeConstList([B.Type_ExtensionEvent_gsm, B.Type__$ExtensionEvent_XOq]), type$.JSArray_legacy_Type); - B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_legacy_int); - B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); - B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_legacy_int); + B.List_pnF = A._setArrayType(makeConstList([B.Type_ExtensionEvent_gsm, B.Type__$ExtensionEvent_XOq]), type$.JSArray_Type); + B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); B.Type_ConnectRequest_UGQ = A.typeLiteral("ConnectRequest"); B.Type__$ConnectRequest_cJC = A.typeLiteral("_$ConnectRequest"); - B.List_ssp = A._setArrayType(makeConstList([B.Type_ConnectRequest_UGQ, B.Type__$ConnectRequest_cJC]), type$.JSArray_legacy_Type); + B.List_ssp = A._setArrayType(makeConstList([B.Type_ConnectRequest_UGQ, B.Type__$ConnectRequest_cJC]), type$.JSArray_Type); B.Type_ExtensionResponse_CC0 = A.typeLiteral("ExtensionResponse"); B.Type__$ExtensionResponse_Ddl = A.typeLiteral("_$ExtensionResponse"); - B.List_tQ0 = A._setArrayType(makeConstList([B.Type_ExtensionResponse_CC0, B.Type__$ExtensionResponse_Ddl]), type$.JSArray_legacy_Type); + B.List_tQ0 = A._setArrayType(makeConstList([B.Type_ExtensionResponse_CC0, B.Type__$ExtensionResponse_Ddl]), type$.JSArray_Type); B.Type_BatchedEvents_gDG = A.typeLiteral("BatchedEvents"); B.Type__$BatchedEvents_qxo = A.typeLiteral("_$BatchedEvents"); - B.List_w8N = A._setArrayType(makeConstList([B.Type_BatchedEvents_gDG, B.Type__$BatchedEvents_qxo]), type$.JSArray_legacy_Type); - B.List_wSV = A._setArrayType(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_legacy_String); + B.List_w8N = A._setArrayType(makeConstList([B.Type_BatchedEvents_gDG, B.Type__$BatchedEvents_qxo]), type$.JSArray_Type); + B.List_wSV = A._setArrayType(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_String); B.Type_RunRequest_Pkw = A.typeLiteral("RunRequest"); B.Type__$RunRequest_Im4 = A.typeLiteral("_$RunRequest"); - B.List_wsa = A._setArrayType(makeConstList([B.Type_RunRequest_Pkw, B.Type__$RunRequest_Im4]), type$.JSArray_legacy_Type); - B.List_yrN = A._setArrayType(makeConstList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"]), type$.JSArray_legacy_String); - B.List_zgw = A._setArrayType(makeConstList(["d", "D", "\u2202", "\xce"]), type$.JSArray_legacy_String); + B.List_wsa = A._setArrayType(makeConstList([B.Type_RunRequest_Pkw, B.Type__$RunRequest_Im4]), type$.JSArray_Type); + B.List_yrN = A._setArrayType(makeConstList(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"]), type$.JSArray_String); + B.List_zgw = A._setArrayType(makeConstList(["d", "D", "\u2202", "\xce"]), type$.JSArray_String); + B.List_empty2 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty2, A.findType("ConstantStringMap")); B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty0, A.findType("ConstantStringMap<@,@>")); - B.List_empty2 = A._setArrayType(makeConstList([]), A.findType("JSArray")); - B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty2, A.findType("ConstantStringMap")); B.Symbol_call = new A.Symbol("call"); B.Type_BigInt_8OV = A.typeLiteral("BigInt"); B.Type_BoolJsonObject_8HQ = A.typeLiteral("BoolJsonObject"); @@ -26153,20 +26351,19 @@ B.Type_double_K1J = A.typeLiteral("double"); B.Type_num_cv7 = A.typeLiteral("num"); B._StringStackTrace_3uE = new A._StringStackTrace(""); - B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure(), A.findType("_ZoneFunction")); - B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure(), A.findType("_ZoneFunction<0^*(1^*,2^*)*(Zone*,ZoneDelegate*,Zone*,0^*(1^*,2^*)*)*>")); - B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure(), A.findType("_ZoneFunction<0^*(1^*)*(Zone*,ZoneDelegate*,Zone*,0^*(1^*)*)*>")); - B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure(), A.findType("_ZoneFunction<~(Zone*,ZoneDelegate*,Zone*,Object*,StackTrace*)*>")); - B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure(), A.findType("_ZoneFunction")); - B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure(), A.findType("_ZoneFunction")); - B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure(), A.findType("_ZoneFunction?)*>")); - B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure(), A.findType("_ZoneFunction<~(Zone*,ZoneDelegate*,Zone*,String*)*>")); - B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure(), A.findType("_ZoneFunction<0^*()*(Zone*,ZoneDelegate*,Zone*,0^*()*)*>")); - B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure(), A.findType("_ZoneFunction<0^*(Zone*,ZoneDelegate*,Zone*,0^*()*)*>")); - B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure(), A.findType("_ZoneFunction<0^*(Zone*,ZoneDelegate*,Zone*,0^*(1^*,2^*)*,1^*,2^*)*>")); - B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure(), A.findType("_ZoneFunction<0^*(Zone*,ZoneDelegate*,Zone*,0^*(1^*)*,1^*)*>")); - B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure(), A.findType("_ZoneFunction<~(Zone*,ZoneDelegate*,Zone*,~()*)*>")); - B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null); + B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure(), A.findType("_ZoneFunction<0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))>")); + B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure(), A.findType("_ZoneFunction<0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))>")); + B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure(), type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace); + B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure(), A.findType("_ZoneFunction?)>")); + B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure(), A.findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,String)>")); + B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure(), A.findType("_ZoneFunction<0^()(Zone,ZoneDelegate,Zone,0^())>")); + B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^())>")); + B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^,2^),1^,2^)>")); + B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^),1^)>")); + B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure(), A.findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,~())>")); })(); (function staticFields() { $._JS_INTEROP_INTERCEPTOR_TAG = null; @@ -26203,12 +26400,11 @@ $._indentingBuiltValueToStringHelperIndent = 0; $.LogRecord__nextNumber = 0; $.Logger__loggers = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Logger); - $._lastKnownDigests = null; + $.___lastKnownDigests = A._Cell$named("_lastKnownDigests"); })(); (function lazyInitializers() { var _lazyFinal = hunkHelpers.lazyFinal, - _lazy = hunkHelpers.lazy, - _lazyOld = hunkHelpers.lazyOld; + _lazy = hunkHelpers.lazy; _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure")); _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(new A.nullFuture_closure(), A.findType("Future"))); _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({ @@ -26339,8 +26535,8 @@ }); _lazyFinal($, "Uuid__stateExpando", "$get$Uuid__stateExpando", () => new A.Expando(new WeakMap(), A.findType("Expando>"))); _lazyFinal($, "UuidUtil__random", "$get$UuidUtil__random", () => A.Random_Random(null)); - _lazyOld($, "_createScript", "$get$_createScript", () => new A._createScript_closure().call$0()); - _lazyOld($, "_noncePattern", "$get$_noncePattern", () => A.RegExp_RegExp("^[\\w+/_-]+[=]{0,2}$", true, false)); + _lazyFinal($, "_createScript", "$get$_createScript", () => new A._createScript_closure().call$0()); + _lazyFinal($, "_noncePattern", "$get$_noncePattern", () => A.RegExp_RegExp("^[\\w+/_-]+[=]{0,2}$", true, false)); })(); (function nativeSupport() { !function() { @@ -26379,12 +26575,12 @@ A._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; })(); - Function.prototype.call$1 = function(a) { - return this(a); - }; Function.prototype.call$2 = function(a, b) { return this(a, b); }; + Function.prototype.call$1 = function(a) { + return this(a); + }; Function.prototype.call$0 = function() { return this(); }; diff --git a/dwds/lib/src/services/chrome_debug_exception.dart b/dwds/lib/src/services/chrome_debug_exception.dart index 8a85caf22..82598b5a7 100644 --- a/dwds/lib/src/services/chrome_debug_exception.dart +++ b/dwds/lib/src/services/chrome_debug_exception.dart @@ -11,8 +11,12 @@ class ChromeDebugException extends ExceptionDetails implements Exception { /// Optional, the exact contents of the eval that was attempted. final String? evalContents; + /// Optional, the stack where exception happened. + @override + final StackTrace? stackTrace; + ChromeDebugException(Map exceptionDetails, - {this.additionalDetails, this.evalContents}) + {this.additionalDetails, this.evalContents, this.stackTrace}) : super(exceptionDetails); @override @@ -22,6 +26,7 @@ class ChromeDebugException extends ExceptionDetails implements Exception { description.writeln('text: $text'); if (exception != null) { description.writeln('exception:'); + description.writeln(' preview: ${exception?.json['preview']}'); description.writeln(' description: ${exception?.description}'); description.writeln(' type: ${exception?.type}'); description.writeln(' value: ${exception?.value}'); @@ -32,6 +37,16 @@ class ChromeDebugException extends ExceptionDetails implements Exception { if (additionalDetails != null) { description.writeln('additional details:\n $additionalDetails'); } + if (stackTrace != null) { + var trace = stackTrace; + description.writeln('stack trace:'); + while (trace != null) { + for (final frame in trace.printFrames()) { + description.writeln(frame); + } + trace = trace.parent; + } + } return description.toString(); } } diff --git a/dwds/lib/src/utilities/shared.dart b/dwds/lib/src/utilities/shared.dart index 1eb5bff02..5e021d4f5 100644 --- a/dwds/lib/src/utilities/shared.dart +++ b/dwds/lib/src/utilities/shared.dart @@ -93,9 +93,12 @@ void handleErrorIfPresent(wip.WipResponse? response, {String? evalContents, Object? additionalDetails}) { if (response == null || response.result == null) return; if (response.result!.containsKey('exceptionDetails')) { - throw ChromeDebugException( - response.result!['exceptionDetails'] as Map, + final exceptionDetails = + response.result!['exceptionDetails']! as Map; + final stackTrace = wip.StackTrace(exceptionDetails['stackTrace']); + throw ChromeDebugException(exceptionDetails, evalContents: evalContents, - additionalDetails: additionalDetails); + additionalDetails: additionalDetails, + stackTrace: stackTrace); } } diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart index b2c63d0f4..9df2d6cf2 100644 --- a/dwds/lib/src/version.dart +++ b/dwds/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '15.0.0'; +const packageVersion = '15.0.1-dev'; diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index 5fa7d32cc..1a0081092 100644 --- a/dwds/pubspec.yaml +++ b/dwds/pubspec.yaml @@ -1,6 +1,6 @@ name: dwds # Every time this changes you need to run `dart run build_runner build`. -version: 15.0.0 +version: 15.0.1-dev description: >- A service that proxies between the Chrome debug protocol and the Dart VM service protocol. diff --git a/dwds/web/reloader/require_restarter.dart b/dwds/web/reloader/require_restarter.dart index 7eb34c2d0..41850ebd6 100644 --- a/dwds/web/reloader/require_restarter.dart +++ b/dwds/web/reloader/require_restarter.dart @@ -80,7 +80,7 @@ abstract class JsError { @JS('Map') abstract class JsMap { @JS() - external V get(K key); + external V? get(K key); @JS() external Object keys(); @@ -144,7 +144,7 @@ class RequireRestarter implements Restarter { } List _moduleParents(String module) => - requireLoader.moduleParentsGraph.get(module).cast(); + requireLoader.moduleParentsGraph.get(module)?.cast() ?? []; int _moduleTopologicalCompare(String module1, String module2) { var topological = 0; From eb72dbdf3a75f972572d7bf95fa9d8ed325d3b17 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Thu, 30 Jun 2022 14:44:45 -0700 Subject: [PATCH 2/3] Address CR comments --- dwds/lib/src/services/chrome_debug_exception.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwds/lib/src/services/chrome_debug_exception.dart b/dwds/lib/src/services/chrome_debug_exception.dart index 82598b5a7..543a940ef 100644 --- a/dwds/lib/src/services/chrome_debug_exception.dart +++ b/dwds/lib/src/services/chrome_debug_exception.dart @@ -26,7 +26,7 @@ class ChromeDebugException extends ExceptionDetails implements Exception { description.writeln('text: $text'); if (exception != null) { description.writeln('exception:'); - description.writeln(' preview: ${exception?.json['preview']}'); + description.writeln(' preview: ${exception?.json['preview']}'); description.writeln(' description: ${exception?.description}'); description.writeln(' type: ${exception?.type}'); description.writeln(' value: ${exception?.value}'); From 26f71d73dec0ae968fca12afe6121abd0bc4f2ec Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Thu, 30 Jun 2022 15:04:20 -0700 Subject: [PATCH 3/3] Clean build to update the version --- dwds/lib/src/version.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart index 9df2d6cf2..95e76c598 100644 --- a/dwds/lib/src/version.dart +++ b/dwds/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '15.0.1-dev'; +const packageVersion = '16.0.0-dev';