Index: src/site/codelabs/darrrt/examples/3-buttonbadge/piratebadge.dart.js |
diff --git a/src/site/codelabs/darrrt/examples/3-buttonbadge/piratebadge.dart.js b/src/site/codelabs/darrrt/examples/3-buttonbadge/piratebadge.dart.js |
index 68633863db300faa75053e15254dd1d884365a88..72c7a4484d8933966fe98dcd97bb139e048e1f61 100644 |
--- a/src/site/codelabs/darrrt/examples/3-buttonbadge/piratebadge.dart.js |
+++ b/src/site/codelabs/darrrt/examples/3-buttonbadge/piratebadge.dart.js |
@@ -1,5784 +1,3205 @@ |
// Generated by dart2js, the Dart to JavaScript compiler. |
-// The code supports the following hooks: |
-// dartPrint(message) - if this function is defined it is called |
-// instead of the Dart [print] method. |
-// dartMainRunner(main) - if this function is defined, the Dart [main] |
-// method will not be invoked directly. |
-// Instead, a closure that will invoke [main] is |
-// passed to [dartMainRunner]. |
-(function($) { |
-var A = {}; |
-delete A.x; |
-var B = {}; |
-delete B.x; |
-var C = {}; |
-delete C.x; |
-var D = {}; |
-delete D.x; |
-var E = {}; |
-delete E.x; |
-var F = {}; |
-delete F.x; |
-var G = {}; |
-delete G.x; |
-var H = {}; |
-delete H.x; |
-var J = {}; |
-delete J.x; |
-var K = {}; |
-delete K.x; |
-var L = {}; |
-delete L.x; |
-var M = {}; |
-delete M.x; |
-var N = {}; |
-delete N.x; |
-var O = {}; |
-delete O.x; |
-var P = {}; |
-delete P.x; |
-var Q = {}; |
-delete Q.x; |
-var R = {}; |
-delete R.x; |
-var S = {}; |
-delete S.x; |
-var T = {}; |
-delete T.x; |
-var U = {}; |
-delete U.x; |
-var V = {}; |
-delete V.x; |
-var W = {}; |
-delete W.x; |
-var X = {}; |
-delete X.x; |
-var Y = {}; |
-delete Y.x; |
-var Z = {}; |
-delete Z.x; |
-function Isolate() {} |
-init(); |
- |
-$ = Isolate.$isolateProperties; |
-var $$ = {}; |
- |
-// Native classes |
-// Method closures |
-$$.BoundClosure$i0 = [H, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name", |
- call$0: function() { |
- return this.__js_helper$_target.call(this._self, this._receiver); |
- } |
-}]; |
- |
-$$.BoundClosure$1 = [H, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name", |
- call$1: function(p0) { |
- return this.__js_helper$_target.call(this._self, p0); |
- }, |
- $is_args1: true |
-}]; |
- |
-$$.BoundClosure$2 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name", |
- call$2: function(p0, p1) { |
- return this.__js_helper$_target.call(this._self, p0, p1); |
- }, |
- call$1: function(p0) { |
- return this.call$2(p0, null); |
- }, |
- $is_args2: true, |
- $is_args1: true |
-}]; |
- |
-$$.BoundClosure$0 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name", |
- call$0: function() { |
- return this.__js_helper$_target.call(this._self); |
- } |
-}]; |
- |
-$$.Closure$2 = [H, {"": "Closure;call$2,$name", $is_args2: true}]; |
- |
-$$.Closure$0 = [H, {"": "Closure;call$0,$name"}]; |
- |
-$$.Closure$7 = [H, {"": "Closure;call$7,$name"}]; |
- |
-$$.Closure$1 = [H, {"": "Closure;call$1,$name", $is_args1: true}]; |
- |
-$$.Closure$21 = [P, {"": "Closure;call$2,$name", |
- call$1: function(p0) { |
- return this.call$2(p0, null); |
- }, |
- $is_args2: true, |
- $is_args1: true |
-}]; |
- |
-(function (reflectionData) { |
- function map(x){x={x:x};delete x.x;return x} |
- if (!init.libraries) init.libraries = []; |
- if (!init.mangledNames) init.mangledNames = map(); |
- if (!init.mangledGlobalNames) init.mangledGlobalNames = map(); |
- if (!init.statics) init.statics = map(); |
- if (!init.interfaces) init.interfaces = map(); |
- if (!init.globalFunctions) init.globalFunctions = map(); |
- var libraries = init.libraries; |
- var mangledNames = init.mangledNames; |
- var mangledGlobalNames = init.mangledGlobalNames; |
- var hasOwnProperty = Object.prototype.hasOwnProperty; |
- var length = reflectionData.length; |
- for (var i = 0; i < length; i++) { |
- var data = reflectionData[i]; |
- var name = data[0]; |
- var uri = data[1]; |
- var metadata = data[2]; |
- var globalObject = data[3]; |
- var descriptor = data[4]; |
- var isRoot = !!data[5]; |
- var fields = descriptor && descriptor[""]; |
- var classes = []; |
- var functions = []; |
- function processStatics(descriptor) { |
- for (var property in descriptor) { |
- if (!hasOwnProperty.call(descriptor, property)) continue; |
- if (property === "") continue; |
- var element = descriptor[property]; |
- var firstChar = property.substring(0, 1); |
- var previousProperty; |
- if (firstChar === "+") { |
- mangledGlobalNames[previousProperty] = property.substring(1); |
- if (descriptor[property] == 1) descriptor[previousProperty].$reflectable = 1; |
- if (element && element.length) init.interfaces[previousProperty] = element; |
- } else if (firstChar === "@") { |
- property = property.substring(1); |
- $[property]["@"] = element; |
- } else if (firstChar === "*") { |
- globalObject[previousProperty].$defaultValues = element; |
- var optionalMethods = descriptor.$methodsWithOptionalArguments; |
- if (!optionalMethods) { |
- descriptor.$methodsWithOptionalArguments = optionalMethods = {} |
- } |
- optionalMethods[property] = previousProperty; |
- } else if (typeof element === "function") { |
- globalObject[previousProperty = property] = element; |
- functions.push(property); |
- init.globalFunctions[property] = element; |
- } else { |
- previousProperty = property; |
- var newDesc = {}; |
- var previousProp; |
- for (var prop in element) { |
- if (!hasOwnProperty.call(element, prop)) continue; |
- firstChar = prop.substring(0, 1); |
- if (prop === "static") { |
- processStatics(init.statics[property] = element[prop]); |
- } else if (firstChar === "+") { |
- mangledNames[previousProp] = prop.substring(1); |
- if (element[prop] == 1) element[previousProp].$reflectable = 1; |
- } else if (firstChar === "@" && prop !== "@") { |
- newDesc[prop.substring(1)]["@"] = element[prop]; |
- } else if (firstChar === "*") { |
- newDesc[previousProp].$defaultValues = element[prop]; |
- var optionalMethods = newDesc.$methodsWithOptionalArguments; |
- if (!optionalMethods) { |
- newDesc.$methodsWithOptionalArguments = optionalMethods={} |
- } |
- optionalMethods[prop] = previousProp; |
- } else { |
- newDesc[previousProp = prop] = element[prop]; |
- } |
- } |
- $$[property] = [globalObject, newDesc]; |
- classes.push(property); |
- } |
- } |
- } |
- processStatics(descriptor); |
- libraries.push([name, uri, classes, functions, metadata, fields, isRoot, |
- globalObject]); |
- } |
-})([ |
-["_foreign_helper", "dart:_foreign_helper", , H, { |
-JS_CONST: {"": "Object;code"}}], |
-["_interceptors", "dart:_interceptors", , J, { |
-getInterceptor: function(object) { |
- return void 0; |
-}, |
- |
-makeDispatchRecord: function(interceptor, proto, extension, indexability) { |
- return {i: interceptor, p: proto, e: extension, x: indexability}; |
-}, |
- |
-getNativeInterceptor: function(object) { |
- var record, proto, objectProto; |
- record = object[init.dispatchPropertyName]; |
- if (record == null) |
- if ($.initNativeDispatchFlag == null) { |
- H.initNativeDispatch(); |
- record = object[init.dispatchPropertyName]; |
- } |
- if (record != null) { |
- proto = record.p; |
- if (false === proto) |
- return record.i; |
- if (true === proto) |
- return object; |
- objectProto = Object.getPrototypeOf(object); |
- if (proto === objectProto) |
- return record.i; |
- if (record.e === objectProto) |
- return proto(object, record); |
- } |
- record = H.lookupDispatchRecord(object); |
- if (record == null) |
- return C.C_UnknownJavaScriptObject; |
- Object.defineProperty(Object.getPrototypeOf(object), init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); |
- return J.getNativeInterceptor(object); |
-}, |
- |
-Interceptor: {"": "Object;", |
- $eq: function(receiver, other) { |
- return receiver === other; |
- }, |
- get$hashCode: function(receiver) { |
- return H.Primitives_objectHashCode(receiver); |
- }, |
- toString$0: function(receiver) { |
- return H.Primitives_objectToString(receiver); |
- } |
-}, |
- |
-JSBool: {"": "bool/Interceptor;", |
- toString$0: function(receiver) { |
- return String(receiver); |
- }, |
- get$hashCode: function(receiver) { |
- return receiver ? 519018 : 218159; |
- }, |
- $isbool: true |
-}, |
- |
-JSNull: {"": "Interceptor;", |
- $eq: function(receiver, other) { |
- return null == other; |
- }, |
- toString$0: function(receiver) { |
- return "null"; |
- }, |
- get$hashCode: function(receiver) { |
- return 0; |
- } |
-}, |
- |
-JavaScriptObject: {"": "Interceptor;", |
- get$hashCode: function(_) { |
- return 0; |
- } |
-}, |
- |
-PlainJavaScriptObject: {"": "JavaScriptObject;"}, |
- |
-UnknownJavaScriptObject: {"": "JavaScriptObject;"}, |
- |
-JSArray: {"": "List/Interceptor;", |
- forEach$1: function(receiver, f) { |
- return H.IterableMixinWorkaround_forEach(receiver, f); |
- }, |
- elementAt$1: function(receiver, index) { |
- if (index < 0 || index >= receiver.length) |
- throw H.ioore(receiver, index); |
- return receiver[index]; |
- }, |
- toString$0: function(receiver) { |
- return H.IterableMixinWorkaround_toStringIterable(receiver, "[", "]"); |
- }, |
- get$iterator: function(receiver) { |
- return new H.ListIterator(receiver, receiver.length, 0, null); |
- }, |
- get$hashCode: function(receiver) { |
- return H.Primitives_objectHashCode(receiver); |
- }, |
- get$length: function(receiver) { |
- return receiver.length; |
- }, |
- $index: function(receiver, index) { |
- if (typeof index !== "number" || Math.floor(index) !== index) |
- throw H.wrapException(new P.ArgumentError(index)); |
- if (index >= receiver.length || index < 0) |
- throw H.wrapException(P.RangeError$value(index)); |
- return receiver[index]; |
- }, |
- $indexSet: function(receiver, index, value) { |
- if (!!receiver.immutable$list) |
- H.throwExpression(P.UnsupportedError$("indexed set")); |
- if (typeof index !== "number" || Math.floor(index) !== index) |
- throw H.wrapException(new P.ArgumentError(index)); |
- if (index >= receiver.length || index < 0) |
- throw H.wrapException(P.RangeError$value(index)); |
- receiver[index] = value; |
- }, |
- $isList: true, |
- $asList: null, |
- $isList: true, |
- $isEfficientLength: true |
-}, |
- |
-JSMutableArray: {"": "JSArray;", $isJSMutableArray: true, |
- $asJSArray: function() { |
- return [null]; |
- }, |
- $asList: function() { |
- return [null]; |
- } |
-}, |
- |
-JSFixedArray: {"": "JSMutableArray;"}, |
- |
-JSExtendableArray: {"": "JSMutableArray;"}, |
- |
-JSNumber: {"": "num/Interceptor;", |
- remainder$1: function(receiver, b) { |
- return receiver % b; |
- }, |
- toInt$0: function(receiver) { |
- var t1; |
- if (receiver >= -2147483648 && receiver <= 2147483647) |
- return receiver | 0; |
- if (isFinite(receiver)) { |
- t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); |
- return t1 + 0; |
- } |
- throw H.wrapException(P.UnsupportedError$('' + receiver)); |
- }, |
- toString$0: function(receiver) { |
- if (receiver === 0 && 1 / receiver < 0) |
- return "-0.0"; |
- else |
- return "" + receiver; |
- }, |
- get$hashCode: function(receiver) { |
- return receiver & 0x1FFFFFFF; |
- }, |
- $tdiv: function(receiver, other) { |
- if ((receiver | 0) === receiver && (other | 0) === other && 0 !== other && -1 !== other) |
- return receiver / other | 0; |
- else |
- return this._slowTdiv$1(receiver, other); |
- }, |
- _slowTdiv$1: function(receiver, other) { |
- return this.toInt$0(receiver / other); |
- }, |
- $shr: function(receiver, other) { |
- if (other < 0) |
- throw H.wrapException(new P.ArgumentError(other)); |
- if (receiver > 0) { |
- if (other > 31) |
- return 0; |
- return receiver >>> other; |
- } |
- if (other > 31) |
- other = 31; |
- return receiver >> other >>> 0; |
- }, |
- $lt: function(receiver, other) { |
- if (typeof other !== "number") |
- throw H.wrapException(new P.ArgumentError(other)); |
- return receiver < other; |
- }, |
- $gt: function(receiver, other) { |
- if (typeof other !== "number") |
- throw H.wrapException(new P.ArgumentError(other)); |
- return receiver > other; |
- }, |
- $ge: function(receiver, other) { |
- if (typeof other !== "number") |
- throw H.wrapException(new P.ArgumentError(other)); |
- return receiver >= other; |
- }, |
- $isnum: true, |
- static: { |
-"": "JSNumber__MIN_INT32,JSNumber__MAX_INT32", |
-} |
- |
-}, |
- |
-JSInt: {"": "int/JSNumber;", $isdouble: true, $isnum: true, $isint: true}, |
- |
-JSDouble: {"": "double/JSNumber;", $isdouble: true, $isnum: true}, |
- |
-JSString: {"": "String/Interceptor;", |
- codeUnitAt$1: function(receiver, index) { |
- if (index < 0) |
- throw H.wrapException(P.RangeError$value(index)); |
- if (index >= receiver.length) |
- throw H.wrapException(P.RangeError$value(index)); |
- return receiver.charCodeAt(index); |
- }, |
- substring$2: function(receiver, startIndex, endIndex) { |
- if (endIndex == null) |
- endIndex = receiver.length; |
- if (typeof endIndex !== "number") |
- H.throwExpression(P.ArgumentError$(endIndex)); |
- if (startIndex < 0) |
- throw H.wrapException(P.RangeError$value(startIndex)); |
- if (typeof endIndex !== "number") |
- throw H.iae(endIndex); |
- if (startIndex > endIndex) |
- throw H.wrapException(P.RangeError$value(startIndex)); |
- if (endIndex > receiver.length) |
- throw H.wrapException(P.RangeError$value(endIndex)); |
- return receiver.substring(startIndex, endIndex); |
- }, |
- substring$1: function($receiver, startIndex) { |
- return this.substring$2($receiver, startIndex, null); |
- }, |
- trim$0: function(receiver) { |
- var endIndex, startIndex, codeUnit, endIndex0, endIndex1; |
- for (endIndex = receiver.length, startIndex = 0; startIndex < endIndex;) { |
- if (startIndex >= endIndex) |
- H.throwExpression(P.RangeError$value(startIndex)); |
- codeUnit = receiver.charCodeAt(startIndex); |
- if (codeUnit === 32 || codeUnit === 13 || J.JSString__isWhitespace(codeUnit)) |
- ++startIndex; |
- else |
- break; |
- } |
- if (startIndex === endIndex) |
- return ""; |
- for (endIndex0 = endIndex; true; endIndex0 = endIndex1) { |
- endIndex1 = endIndex0 - 1; |
- if (endIndex1 < 0) |
- H.throwExpression(P.RangeError$value(endIndex1)); |
- if (endIndex1 >= endIndex) |
- H.throwExpression(P.RangeError$value(endIndex1)); |
- codeUnit = receiver.charCodeAt(endIndex1); |
- if (codeUnit === 32 || codeUnit === 13 || J.JSString__isWhitespace(codeUnit)) |
- ; |
- else |
- break; |
- } |
- if (startIndex === 0 && endIndex0 === endIndex) |
- return receiver; |
- return receiver.substring(startIndex, endIndex0); |
- }, |
- get$isEmpty: function(receiver) { |
- return receiver.length === 0; |
- }, |
- toString$0: function(receiver) { |
- return receiver; |
- }, |
- get$hashCode: function(receiver) { |
- var t1, hash, i; |
- for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { |
- hash = 536870911 & hash + receiver.charCodeAt(i); |
- hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); |
- hash ^= hash >> 6; |
- } |
- hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); |
- hash ^= hash >> 11; |
- return 536870911 & hash + ((16383 & hash) << 15 >>> 0); |
- }, |
- get$length: function(receiver) { |
- return receiver.length; |
- }, |
- $index: function(receiver, index) { |
- if (typeof index !== "number" || Math.floor(index) !== index) |
- throw H.wrapException(new P.ArgumentError(index)); |
- if (index >= receiver.length || index < 0) |
- throw H.wrapException(P.RangeError$value(index)); |
- return receiver[index]; |
- }, |
- $isString: true, |
- static: { |
-JSString__isWhitespace: function(codeUnit) { |
- if (codeUnit < 256) |
- switch (codeUnit) { |
- case 9: |
- case 10: |
- case 11: |
- case 12: |
- case 13: |
- case 32: |
- case 133: |
- case 160: |
- return true; |
- default: |
- return false; |
- } |
- switch (codeUnit) { |
- case 5760: |
- case 6158: |
- case 8192: |
- case 8193: |
- case 8194: |
- case 8195: |
- case 8196: |
- case 8197: |
- case 8198: |
- case 8199: |
- case 8200: |
- case 8201: |
- case 8202: |
- case 8232: |
- case 8233: |
- case 8239: |
- case 8287: |
- case 12288: |
- case 65279: |
- return true; |
- default: |
- return false; |
- } |
-}} |
- |
-}}], |
-["_isolate_helper", "dart:_isolate_helper", , H, { |
-_callInIsolate: function(isolate, $function) { |
- var result = isolate.eval$1($function); |
- $globalState.topEventLoop.run$0(); |
- return result; |
-}, |
- |
-startRootIsolate: function(entry) { |
- var rootContext, t1; |
- $globalState = H._Manager$(entry); |
- if ($globalState.isWorker === true) |
- return; |
- rootContext = H._IsolateContext$(); |
- $globalState.rootContext = rootContext; |
- $globalState.currentContext = rootContext; |
- t1 = J.getInterceptor(entry); |
- if (!!t1.$is_args1) |
- rootContext.eval$1(new H.startRootIsolate_closure(entry)); |
- else if (!!t1.$is_args2) |
- rootContext.eval$1(new H.startRootIsolate_closure0(entry)); |
- else |
- rootContext.eval$1(entry); |
- $globalState.topEventLoop.run$0(); |
-}, |
- |
-IsolateNatives_computeThisScript: function() { |
- var currentScript = init.currentScript; |
- if (currentScript != null) |
- return String(currentScript.src); |
- if (typeof version == "function" && typeof os == "object" && "system" in os) |
- return H.IsolateNatives_computeThisScriptD8(); |
- if (typeof version == "function" && typeof system == "function") |
- return thisFilename(); |
- return; |
-}, |
- |
-IsolateNatives_computeThisScriptD8: function() { |
- var stack, matches; |
- stack = new Error().stack; |
- if (stack == null) { |
- stack = (function() {try { throw new Error() } catch(e) { return e.stack }})(); |
- if (stack == null) |
- throw H.wrapException(P.UnsupportedError$("No stack trace")); |
- } |
- matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m")); |
- if (matches != null) |
- return matches[1]; |
- matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m")); |
- if (matches != null) |
- return matches[1]; |
- throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + stack + "\"")); |
-}, |
- |
-IsolateNatives__processWorkerMessage: function(sender, e) { |
- var msg, t1, functionName, entryPoint, args, message, isSpawnUri, replyTo, context, t2; |
- msg = H._deserializeMessage(e.data); |
- t1 = J.getInterceptor$asx(msg); |
- switch (t1.$index(msg, "command")) { |
- case "start": |
- $globalState.currentManagerId = t1.$index(msg, "id"); |
- functionName = t1.$index(msg, "functionName"); |
- entryPoint = functionName == null ? $globalState.entry : init.globalFunctions[functionName]; |
- args = t1.$index(msg, "args"); |
- message = H._deserializeMessage(t1.$index(msg, "msg")); |
- isSpawnUri = t1.$index(msg, "isSpawnUri"); |
- replyTo = H._deserializeMessage(t1.$index(msg, "replyTo")); |
- context = H._IsolateContext$(); |
- $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H.IsolateNatives__processWorkerMessage_closure(entryPoint, args, message, isSpawnUri, replyTo), "worker-start")); |
- $globalState.currentContext = context; |
- $globalState.topEventLoop.run$0(); |
- break; |
- case "spawn-worker": |
- H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(msg, "uri"), t1.$index(msg, "args"), t1.$index(msg, "msg"), t1.$index(msg, "isSpawnUri"), t1.$index(msg, "replyPort")); |
- break; |
- case "message": |
- if (t1.$index(msg, "port") != null) |
- t1.$index(msg, "port").send$1(t1.$index(msg, "msg")); |
- $globalState.topEventLoop.run$0(); |
- break; |
- case "close": |
- t1 = $globalState.managers; |
- t2 = $.get$IsolateNatives_workerIds(); |
- t1.remove$1(t1, t2.$index(t2, sender)); |
- sender.terminate(); |
- $globalState.topEventLoop.run$0(); |
- break; |
- case "log": |
- H.IsolateNatives__log(t1.$index(msg, "msg")); |
- break; |
- case "print": |
- if ($globalState.isWorker === true) { |
- t1 = $globalState.mainManager; |
- t2 = H._serializeMessage(H.fillLiteralMap(["command", "print", "msg", msg], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))); |
- t1.toString; |
- self.postMessage(t2); |
- } else |
- P.print(t1.$index(msg, "msg")); |
- break; |
- case "error": |
- throw H.wrapException(t1.$index(msg, "msg")); |
- default: |
- } |
-}, |
- |
-IsolateNatives__log: function(msg) { |
- var trace, t1, t2, exception; |
- if ($globalState.isWorker === true) { |
- t1 = $globalState.mainManager; |
- t2 = H._serializeMessage(H.fillLiteralMap(["command", "log", "msg", msg], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))); |
- t1.toString; |
- self.postMessage(t2); |
- } else |
- try { |
- $.get$globalThis().console.log(msg); |
- } catch (exception) { |
- H.unwrapException(exception); |
- trace = new H._StackTrace(exception, null); |
- throw H.wrapException(P.Exception_Exception(trace)); |
- } |
- |
-}, |
- |
-IsolateNatives__startIsolate: function(topLevel, args, message, isSpawnUri, replyTo) { |
- var t1; |
- H.Primitives_initializeStatics($globalState.currentContext.id); |
- $.lazyPort = H.ReceivePortImpl$(); |
- t1 = $.lazyPort; |
- t1.toString; |
- replyTo.send$1(["spawned", new H._NativeJsSendPort(t1, $globalState.currentContext.id)]); |
- if (isSpawnUri !== true) |
- topLevel.call$1(message); |
- else { |
- t1 = J.getInterceptor(topLevel); |
- if (!!t1.$is_args2) |
- topLevel.call$2(args, message); |
- else if (!!t1.$is_args1) |
- topLevel.call$1(args); |
- else |
- topLevel.call$0(); |
- } |
-}, |
- |
-IsolateNatives__spawnWorker: function(functionName, uri, args, message, isSpawnUri, replyPort) { |
- var worker, t1, workerId; |
- if (uri == null) |
- uri = $.get$IsolateNatives_thisScript(); |
- worker = new Worker(uri); |
- worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closure.call$2(worker, e); }; |
- t1 = $globalState; |
- workerId = t1.nextManagerId; |
- t1.nextManagerId = workerId + 1; |
- t1 = $.get$IsolateNatives_workerIds(); |
- t1.$indexSet(t1, worker, workerId); |
- t1 = $globalState.managers; |
- t1.$indexSet(t1, workerId, worker); |
- worker.postMessage(H._serializeMessage(H.fillLiteralMap(["command", "start", "id", workerId, "replyTo", H._serializeMessage(replyPort), "args", args, "msg", H._serializeMessage(message), "isSpawnUri", isSpawnUri, "functionName", functionName], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)))); |
-}, |
- |
-_waitForPendingPorts: function(message, callback) { |
- var finder = H._PendingSendPortFinder$(); |
- finder.traverse$1(message); |
- P.Future_wait(finder.ports).then$1(new H._waitForPendingPorts_closure(callback)); |
-}, |
- |
-_serializeMessage: function(message) { |
- var t1; |
- if ($globalState.supportsWorkers === true) { |
- t1 = new H._JsSerializer(0, new H._MessageTraverserVisitedMap()); |
- t1._visited = new H._JsVisitedMap(null); |
- return t1.traverse$1(message); |
- } else { |
- t1 = new H._JsCopier(new H._MessageTraverserVisitedMap()); |
- t1._visited = new H._JsVisitedMap(null); |
- return t1.traverse$1(message); |
- } |
-}, |
- |
-_deserializeMessage: function(message) { |
- if ($globalState.supportsWorkers === true) |
- return new H._JsDeserializer(null).deserialize$1(message); |
- else |
- return message; |
-}, |
- |
-_MessageTraverser_isPrimitive: function(x) { |
- return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean"; |
-}, |
- |
-_Deserializer_isPrimitive: function(x) { |
- return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean"; |
-}, |
- |
-startRootIsolate_closure: {"": "Closure;entry_0", |
- call$0: function() { |
- this.entry_0.call$1([]); |
- } |
-}, |
- |
-startRootIsolate_closure0: {"": "Closure;entry_1", |
- call$0: function() { |
- this.entry_1.call$2([], null); |
- } |
-}, |
- |
-_Manager: {"": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,mainManager,managers,entry", |
- _nativeDetectEnvironment$0: function() { |
- var t1, t2; |
- t1 = $.get$globalWindow() == null; |
- t2 = $.get$globalWorker(); |
- this.isWorker = t1 && $.get$globalPostMessageDefined() === true; |
- if (this.isWorker !== true) |
- t2 = t2 != null && $.get$IsolateNatives_thisScript() != null; |
- else |
- t2 = true; |
- this.supportsWorkers = t2; |
- this.fromCommandLine = t1 && this.isWorker !== true; |
- }, |
- _nativeInitWorkerMessageHandler$0: function() { |
- var $function = function (e) { H.IsolateNatives__processWorkerMessage$closure.call$2(this.mainManager, e); }; |
- $.get$globalThis().onmessage = $function; |
- $.get$globalThis().dartPrint = function (object) {}; |
- }, |
- _Manager$1: function(entry) { |
- this._nativeDetectEnvironment$0(); |
- this.topEventLoop = new H._EventLoop(P.ListQueue$(null, H._IsolateEvent), 0); |
- this.isolates = P.LinkedHashMap_LinkedHashMap(null, null, null, J.JSInt, H._IsolateContext); |
- this.managers = P.LinkedHashMap_LinkedHashMap(null, null, null, J.JSInt, null); |
- if (this.isWorker === true) { |
- this.mainManager = new H._MainManagerStub(); |
- this._nativeInitWorkerMessageHandler$0(); |
- } |
- }, |
- static: { |
-_Manager$: function(entry) { |
- var t1 = new H._Manager(0, 0, 1, null, null, null, null, null, null, null, null, null, entry); |
- t1._Manager$1(entry); |
- return t1; |
-}} |
- |
-}, |
- |
-_IsolateContext: {"": "Object;id,ports,isolateStatics<", |
- eval$1: function(code) { |
- var old, result; |
- old = $globalState.currentContext; |
- $globalState.currentContext = this; |
- $ = this.isolateStatics; |
- result = null; |
- try { |
- result = code.call$0(); |
- } finally { |
- $globalState.currentContext = old; |
- if (old != null) |
- $ = old.get$isolateStatics(); |
- } |
- return result; |
- }, |
- lookup$1: function(portId) { |
- var t1 = this.ports; |
- return t1.$index(t1, portId); |
- }, |
- register$2: function(_, portId, port) { |
- var t1; |
- if (this.ports.containsKey$1(portId)) |
- throw H.wrapException(P.Exception_Exception("Registry: ports must be registered only once.")); |
- t1 = this.ports; |
- t1.$indexSet(t1, portId, port); |
- t1 = $globalState.isolates; |
- t1.$indexSet(t1, this.id, this); |
- }, |
- unregister$1: function(portId) { |
- var t1 = this.ports; |
- t1.remove$1(t1, portId); |
- if (this.ports._collection$_length === 0) { |
- t1 = $globalState.isolates; |
- t1.remove$1(t1, this.id); |
- } |
- }, |
- _IsolateContext$0: function() { |
- var t1, t2; |
- t1 = $globalState; |
- t2 = t1.nextIsolateId; |
- t1.nextIsolateId = t2 + 1; |
- this.id = t2; |
- this.ports = P.LinkedHashMap_LinkedHashMap(null, null, null, J.JSInt, P.ReceivePort); |
- this.isolateStatics = new Isolate(); |
- }, |
- static: { |
-_IsolateContext$: function() { |
- var t1 = new H._IsolateContext(null, null, null); |
- t1._IsolateContext$0(); |
- return t1; |
-}} |
- |
-}, |
- |
-_EventLoop: {"": "Object;events,activeTimerCount", |
- dequeue$0: function() { |
- var t1 = this.events; |
- if (t1._head === t1._tail) |
- return; |
- return t1.removeFirst$0(); |
- }, |
- checkOpenReceivePortsFromCommandLine$0: function() { |
- if ($globalState.rootContext != null && $globalState.isolates.containsKey$1($globalState.rootContext.id) && $globalState.fromCommandLine === true && $globalState.rootContext.ports._collection$_length === 0) |
- throw H.wrapException(P.Exception_Exception("Program exited with open ReceivePorts.")); |
- }, |
- runIteration$0: function() { |
- var $event, t1, t2; |
- $event = this.dequeue$0(); |
- if ($event == null) { |
- this.checkOpenReceivePortsFromCommandLine$0(); |
- t1 = $globalState; |
- if (t1.isWorker === true && t1.isolates._collection$_length === 0 && t1.topEventLoop.activeTimerCount === 0) { |
- t1 = t1.mainManager; |
- t2 = H._serializeMessage(H.fillLiteralMap(["command", "close"], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))); |
- t1.toString; |
- self.postMessage(t2); |
- } |
- return false; |
- } |
- $event.process$0(); |
- return true; |
- }, |
- _runHelper$0: function() { |
- if ($.get$globalWindow() != null) |
- new H._EventLoop__runHelper_next(this).call$0(); |
- else |
- for (; this.runIteration$0();) |
- ; |
- }, |
- run$0: function() { |
- var e, trace, exception, t1, t2; |
- if ($globalState.isWorker !== true) |
- this._runHelper$0(); |
- else |
- try { |
- this._runHelper$0(); |
- } catch (exception) { |
- t1 = H.unwrapException(exception); |
- e = t1; |
- trace = new H._StackTrace(exception, null); |
- t1 = $globalState.mainManager; |
- t2 = H._serializeMessage(H.fillLiteralMap(["command", "error", "msg", H.S(e) + "\n" + H.S(trace)], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))); |
- t1.toString; |
- self.postMessage(t2); |
- } |
- |
- } |
-}, |
- |
-_EventLoop__runHelper_next: {"": "Closure;this_0", |
- call$0: function() { |
- if (!this.this_0.runIteration$0()) |
- return; |
- P.Timer_Timer(C.Duration_0, this); |
- } |
-}, |
- |
-_IsolateEvent: {"": "Object;isolate,fn,message", |
- process$0: function() { |
- this.isolate.eval$1(this.fn); |
- } |
-}, |
- |
-_MainManagerStub: {"": "Object;"}, |
- |
-IsolateNatives__processWorkerMessage_closure: {"": "Closure;entryPoint_0,args_1,message_2,isSpawnUri_3,replyTo_4", |
- call$0: function() { |
- H.IsolateNatives__startIsolate(this.entryPoint_0, this.args_1, this.message_2, this.isSpawnUri_3, this.replyTo_4); |
- } |
-}, |
- |
-_BaseSendPort: {"": "Object;", $isSendPort: true}, |
- |
-_NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId", |
- send$2: function(message, replyTo) { |
- H._waitForPendingPorts(message, new H._NativeJsSendPort_send_closure(this, message)); |
- }, |
- send$1: function(message) { |
- return this.send$2(message, null); |
- }, |
- $eq: function(_, other) { |
- var t1; |
- if (other == null) |
- return false; |
- t1 = J.getInterceptor(other); |
- return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendPort && J.$eq(this._receivePort, other._receivePort); |
- }, |
- get$hashCode: function(_) { |
- return this._receivePort.get$_id(); |
- }, |
- $is_NativeJsSendPort: true, |
- $isSendPort: true |
-}, |
- |
-_NativeJsSendPort_send_closure: {"": "Closure;this_1,message_2", |
- call$0: function() { |
- var t1, t2, t3, t4, isolate, shouldSerialize, msg; |
- t1 = {}; |
- t2 = $globalState.isolates; |
- t3 = this.this_1; |
- t4 = t3._isolateId; |
- isolate = t2.$index(t2, t4); |
- if (isolate == null) |
- return; |
- if ((t3._receivePort.get$_controller()._state & 4) !== 0) |
- return; |
- shouldSerialize = $globalState.currentContext != null && $globalState.currentContext.id !== t4; |
- msg = this.message_2; |
- t1.msg_0 = msg; |
- if (shouldSerialize) |
- t1.msg_0 = H._serializeMessage(t1.msg_0); |
- t2 = $globalState.topEventLoop; |
- t4 = "receive " + H.S(msg); |
- t2.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send__closure(t1, t3, shouldSerialize), t4)); |
- } |
-}, |
- |
-_NativeJsSendPort_send__closure: {"": "Closure;box_0,this_3,shouldSerialize_4", |
- call$0: function() { |
- var t1, t2; |
- t1 = this.this_3._receivePort; |
- if ((t1.get$_controller()._state & 4) === 0) { |
- if (this.shouldSerialize_4) { |
- t2 = this.box_0; |
- t2.msg_0 = H._deserializeMessage(t2.msg_0); |
- } |
- t1 = t1.get$_controller(); |
- t2 = this.box_0.msg_0; |
- if (t1._state >= 4) |
- H.throwExpression(t1._badEventState$0()); |
- t1._async$_add$1(t2); |
- } |
- } |
-}, |
- |
-_WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId", |
- send$2: function(message, replyTo) { |
- H._waitForPendingPorts(message, new H._WorkerSendPort_send_closure(this, message)); |
- }, |
- send$1: function(message) { |
- return this.send$2(message, null); |
- }, |
- $eq: function(_, other) { |
- var t1; |
- if (other == null) |
- return false; |
- t1 = J.getInterceptor(other); |
- if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort) |
- t1 = J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, other._isolateId) && J.$eq(this._receivePortId, other._receivePortId); |
- else |
- t1 = false; |
- return t1; |
- }, |
- get$hashCode: function(_) { |
- var t1, t2, t3; |
- t1 = this._workerId; |
- if (typeof t1 !== "number") |
- throw t1.$shl(); |
- t2 = this._isolateId; |
- if (typeof t2 !== "number") |
- throw t2.$shl(); |
- t3 = this._receivePortId; |
- if (typeof t3 !== "number") |
- throw H.iae(t3); |
- return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0; |
- }, |
- $is_WorkerSendPort: true, |
- $isSendPort: true |
-}, |
- |
-_WorkerSendPort_send_closure: {"": "Closure;this_0,message_1", |
- call$0: function() { |
- var t1, workerMessage, t2, manager; |
- t1 = this.this_0; |
- workerMessage = H._serializeMessage(H.fillLiteralMap(["command", "message", "port", t1, "msg", this.message_1], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))); |
- if ($globalState.isWorker === true) { |
- $globalState.mainManager.toString; |
- self.postMessage(workerMessage); |
- } else { |
- t2 = $globalState.managers; |
- manager = t2.$index(t2, t1._workerId); |
- if (manager != null) |
- manager.postMessage(workerMessage); |
- } |
- } |
-}, |
- |
-ReceivePortImpl: {"": "Stream;_id<,_controller<", |
- listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
- var t1 = this._controller; |
- t1.toString; |
- t1 = new P._ControllerStream(t1); |
- H.setRuntimeTypeInfo(t1, [null]); |
- return t1.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError); |
- }, |
- close$0: function(_) { |
- var t1 = this._controller; |
- if ((t1._state & 4) !== 0) |
- return; |
- t1.close$0(t1); |
- $globalState.currentContext.unregister$1(this._id); |
- }, |
- get$close: function(_receiver) { |
- return new H.BoundClosure$i0(this, H.ReceivePortImpl.prototype.close$0, _receiver, "close$0"); |
- }, |
- ReceivePortImpl$0: function() { |
- this._controller = P.StreamController_StreamController(this.get$close(this), null, null, null, true, null); |
- var t1 = $globalState.currentContext; |
- t1.register$2(t1, this._id, this); |
- }, |
- static: { |
-"": "ReceivePortImpl__nextFreeId", |
-ReceivePortImpl$: function() { |
- var t1 = $.ReceivePortImpl__nextFreeId; |
- $.ReceivePortImpl__nextFreeId = t1 + 1; |
- t1 = new H.ReceivePortImpl(t1, null); |
- t1.ReceivePortImpl$0(); |
- return t1; |
-}} |
- |
-}, |
- |
-_waitForPendingPorts_closure: {"": "Closure;callback_0", |
- call$1: function(_) { |
- return this.callback_0.call$0(); |
- }, |
- $is_args1: true |
-}, |
- |
-_PendingSendPortFinder: {"": "_MessageTraverser;ports,_visited", |
- visitPrimitive$1: function(x) { |
- }, |
- visitList$1: function(list) { |
- var t1 = this._visited; |
- if (t1.$index(t1, list) != null) |
- return; |
- t1 = this._visited; |
- t1.$indexSet(t1, list, true); |
- J.forEach$1$ax(list, this.get$_dispatch()); |
- }, |
- visitMap$1: function(map) { |
- var t1 = this._visited; |
- if (t1.$index(t1, map) != null) |
- return; |
- t1 = this._visited; |
- t1.$indexSet(t1, map, true); |
- t1 = map.get$values(map); |
- t1.forEach$1(t1, this.get$_dispatch()); |
- }, |
- visitSendPort$1: function(port) { |
- }, |
- _PendingSendPortFinder$0: function() { |
- this._visited = new H._JsVisitedMap(null); |
- }, |
- static: { |
-_PendingSendPortFinder$: function() { |
- var t1 = new H._PendingSendPortFinder([], new H._MessageTraverserVisitedMap()); |
- t1._PendingSendPortFinder$0(); |
- return t1; |
-}} |
- |
-}, |
- |
-_JsSerializer: {"": "_Serializer;_nextFreeRefId,_visited", |
- visitSendPort$1: function(x) { |
- if (!!x.$is_NativeJsSendPort) |
- return ["sendport", $globalState.currentManagerId, x._isolateId, x._receivePort.get$_id()]; |
- if (!!x.$is_WorkerSendPort) |
- return ["sendport", x._workerId, x._isolateId, x._receivePortId]; |
- throw H.wrapException("Illegal underlying port " + H.S(x)); |
- } |
-}, |
- |
-_JsCopier: {"": "_Copier;_visited", |
- visitSendPort$1: function(x) { |
- if (!!x.$is_NativeJsSendPort) |
- return new H._NativeJsSendPort(x._receivePort, x._isolateId); |
- if (!!x.$is_WorkerSendPort) |
- return new H._WorkerSendPort(x._workerId, x._receivePortId, x._isolateId); |
- throw H.wrapException("Illegal underlying port " + H.S(x)); |
- } |
-}, |
- |
-_JsDeserializer: {"": "_Deserializer;_deserialized", |
- deserializeSendPort$1: function(list) { |
- var t1, managerId, isolateId, receivePortId, isolate, receivePort; |
- t1 = J.getInterceptor$asx(list); |
- managerId = t1.$index(list, 1); |
- isolateId = t1.$index(list, 2); |
- receivePortId = t1.$index(list, 3); |
- if (J.$eq(managerId, $globalState.currentManagerId)) { |
- t1 = $globalState.isolates; |
- isolate = t1.$index(t1, isolateId); |
- if (isolate == null) |
- return; |
- receivePort = isolate.lookup$1(receivePortId); |
- if (receivePort == null) |
- return; |
- return new H._NativeJsSendPort(receivePort, isolateId); |
- } else |
- return new H._WorkerSendPort(managerId, receivePortId, isolateId); |
- } |
-}, |
- |
-_JsVisitedMap: {"": "Object;tagged", |
- $index: function(_, object) { |
- return object.__MessageTraverser__attached_info__; |
- }, |
- $indexSet: function(_, object, info) { |
- this.tagged.push(object); |
- object.__MessageTraverser__attached_info__ = info; |
- }, |
- reset$0: function(_) { |
- this.tagged = P.List_List(null, null); |
- }, |
- cleanup$0: function() { |
- var $length, i, t1; |
- for ($length = this.tagged.length, i = 0; i < $length; ++i) { |
- t1 = this.tagged; |
- if (i >= t1.length) |
- throw H.ioore(t1, i); |
- t1[i].__MessageTraverser__attached_info__ = null; |
- } |
- this.tagged = null; |
- } |
-}, |
- |
-_MessageTraverserVisitedMap: {"": "Object;", |
- $index: function(_, object) { |
- return; |
- }, |
- $indexSet: function(_, object, info) { |
- }, |
- reset$0: function(_) { |
- }, |
- cleanup$0: function() { |
- } |
-}, |
- |
-_MessageTraverser: {"": "Object;", |
- traverse$1: function(x) { |
- var result, t1; |
- if (H._MessageTraverser_isPrimitive(x)) |
- return this.visitPrimitive$1(x); |
- t1 = this._visited; |
- t1.reset$0(t1); |
- result = null; |
- try { |
- result = this._dispatch$1(x); |
- } finally { |
- this._visited.cleanup$0(); |
- } |
- return result; |
- }, |
- _dispatch$1: function(x) { |
- var t1; |
- if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean") |
- return this.visitPrimitive$1(x); |
- t1 = J.getInterceptor(x); |
- if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1.$isList)) |
- return this.visitList$1(x); |
- if (typeof x === "object" && x !== null && !!t1.$isMap) |
- return this.visitMap$1(x); |
- if (typeof x === "object" && x !== null && !!t1.$isSendPort) |
- return this.visitSendPort$1(x); |
- return this.visitObject$1(x); |
- }, |
- get$_dispatch: function() { |
- return new H.BoundClosure$1(this, H._MessageTraverser.prototype._dispatch$1, null, "_dispatch$1"); |
- }, |
- visitObject$1: function(x) { |
- throw H.wrapException("Message serialization: Illegal value " + H.S(x) + " passed"); |
- } |
-}, |
- |
-_Copier: {"": "_MessageTraverser;", |
- visitPrimitive$1: function(x) { |
- return x; |
- }, |
- visitList$1: function(list) { |
- var t1, copy, len, t2, i, t3; |
- t1 = this._visited; |
- copy = t1.$index(t1, list); |
- if (copy != null) |
- return copy; |
- t1 = J.getInterceptor$asx(list); |
- len = t1.get$length(list); |
- copy = P.List_List(len, null); |
- t2 = this._visited; |
- t2.$indexSet(t2, list, copy); |
- for (t2 = copy.length, i = 0; i < len; ++i) { |
- t3 = this._dispatch$1(t1.$index(list, i)); |
- if (i >= t2) |
- throw H.ioore(copy, i); |
- copy[i] = t3; |
- } |
- return copy; |
- }, |
- visitMap$1: function(map) { |
- var t1, t2; |
- t1 = {}; |
- t2 = this._visited; |
- t1.copy_0 = t2.$index(t2, map); |
- t2 = t1.copy_0; |
- if (t2 != null) |
- return t2; |
- t1.copy_0 = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
- t2 = this._visited; |
- t2.$indexSet(t2, map, t1.copy_0); |
- map.forEach$1(map, new H._Copier_visitMap_closure(t1, this)); |
- return t1.copy_0; |
- } |
-}, |
- |
-_Copier_visitMap_closure: {"": "Closure;box_0,this_1", |
- call$2: function(key, val) { |
- var t1 = this.this_1; |
- J.$indexSet$ax(this.box_0.copy_0, t1._dispatch$1(key), t1._dispatch$1(val)); |
- }, |
- $is_args2: true |
-}, |
- |
-_Serializer: {"": "_MessageTraverser;", |
- visitPrimitive$1: function(x) { |
- return x; |
- }, |
- visitList$1: function(list) { |
- var t1, copyId, id; |
- t1 = this._visited; |
- copyId = t1.$index(t1, list); |
- if (copyId != null) |
- return ["ref", copyId]; |
- id = this._nextFreeRefId; |
- this._nextFreeRefId = id + 1; |
- t1 = this._visited; |
- t1.$indexSet(t1, list, id); |
- return ["list", id, this._serializeList$1(list)]; |
- }, |
- visitMap$1: function(map) { |
- var t1, copyId, id, keys; |
- t1 = this._visited; |
- copyId = t1.$index(t1, map); |
- if (copyId != null) |
- return ["ref", copyId]; |
- id = this._nextFreeRefId; |
- this._nextFreeRefId = id + 1; |
- t1 = this._visited; |
- t1.$indexSet(t1, map, id); |
- t1 = map.get$keys(); |
- keys = this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0))); |
- t1 = map.get$values(map); |
- return ["map", id, keys, this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)))]; |
- }, |
- _serializeList$1: function(list) { |
- var t1, len, result, t2, i, t3; |
- t1 = J.getInterceptor$asx(list); |
- len = t1.get$length(list); |
- result = P.List_List(len, null); |
- for (t2 = result.length, i = 0; i < len; ++i) { |
- t3 = this._dispatch$1(t1.$index(list, i)); |
- if (i >= t2) |
- throw H.ioore(result, i); |
- result[i] = t3; |
- } |
- return result; |
- } |
-}, |
- |
-_Deserializer: {"": "Object;", |
- deserialize$1: function(x) { |
- if (H._Deserializer_isPrimitive(x)) |
- return x; |
- this._deserialized = P.HashMap_HashMap(null, null, null, null, null); |
- return this._deserializeHelper$1(x); |
- }, |
- _deserializeHelper$1: function(x) { |
- var t1, id; |
- if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean") |
- return x; |
- t1 = J.getInterceptor$asx(x); |
- switch (t1.$index(x, 0)) { |
- case "ref": |
- id = t1.$index(x, 1); |
- t1 = this._deserialized; |
- return t1.$index(t1, id); |
- case "list": |
- return this._deserializeList$1(x); |
- case "map": |
- return this._deserializeMap$1(x); |
- case "sendport": |
- return this.deserializeSendPort$1(x); |
- default: |
- return this.deserializeObject$1(x); |
- } |
- }, |
- _deserializeList$1: function(x) { |
- var t1, id, dartList, len, i; |
- t1 = J.getInterceptor$asx(x); |
- id = t1.$index(x, 1); |
- dartList = t1.$index(x, 2); |
- t1 = this._deserialized; |
- t1.$indexSet(t1, id, dartList); |
- t1 = J.getInterceptor$asx(dartList); |
- len = t1.get$length(dartList); |
- if (typeof len !== "number") |
- throw H.iae(len); |
- i = 0; |
- for (; i < len; ++i) |
- t1.$indexSet(dartList, i, this._deserializeHelper$1(t1.$index(dartList, i))); |
- return dartList; |
- }, |
- _deserializeMap$1: function(x) { |
- var result, t1, id, t2, keys, values, len, i; |
- result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
- t1 = J.getInterceptor$asx(x); |
- id = t1.$index(x, 1); |
- t2 = this._deserialized; |
- t2.$indexSet(t2, id, result); |
- keys = t1.$index(x, 2); |
- values = t1.$index(x, 3); |
- t1 = J.getInterceptor$asx(keys); |
- len = t1.get$length(keys); |
- if (typeof len !== "number") |
- throw H.iae(len); |
- t2 = J.getInterceptor$asx(values); |
- i = 0; |
- for (; i < len; ++i) |
- result.$indexSet(result, this._deserializeHelper$1(t1.$index(keys, i)), this._deserializeHelper$1(t2.$index(values, i))); |
- return result; |
- }, |
- deserializeObject$1: function(x) { |
- throw H.wrapException("Unexpected serialized object"); |
- } |
-}, |
- |
-TimerImpl: {"": "Object;_once,_inEventLoop,_handle", |
- TimerImpl$2: function(milliseconds, callback) { |
- var t1, t2; |
- if (milliseconds === 0) |
- t1 = $.get$globalThis().setTimeout == null || $globalState.isWorker === true; |
- else |
- t1 = false; |
- if (t1) { |
- this._handle = 1; |
- t1 = $globalState.topEventLoop; |
- t2 = $globalState.currentContext; |
- t1.events._add$1(new H._IsolateEvent(t2, new H.TimerImpl_internalCallback(this, callback), "timer")); |
- this._inEventLoop = true; |
- } else if ($.get$globalThis().setTimeout != null) { |
- t1 = $globalState.topEventLoop; |
- t1.activeTimerCount = t1.activeTimerCount + 1; |
- this._handle = $.get$globalThis().setTimeout(H.convertDartClosureToJS(new H.TimerImpl_internalCallback0(this, callback), 0), milliseconds); |
- } else |
- throw H.wrapException(P.UnsupportedError$("Timer greater than 0.")); |
- }, |
- static: { |
-TimerImpl$: function(milliseconds, callback) { |
- var t1 = new H.TimerImpl(true, false, null); |
- t1.TimerImpl$2(milliseconds, callback); |
- return t1; |
-}} |
- |
-}, |
- |
-TimerImpl_internalCallback: {"": "Closure;this_0,callback_1", |
- call$0: function() { |
- this.this_0._handle = null; |
- this.callback_1.call$0(); |
- } |
-}, |
- |
-TimerImpl_internalCallback0: {"": "Closure;this_2,callback_3", |
- call$0: function() { |
- this.this_2._handle = null; |
- var t1 = $globalState.topEventLoop; |
- t1.activeTimerCount = t1.activeTimerCount - 1; |
- this.callback_3.call$0(); |
- } |
-}}], |
-["_js_helper", "dart:_js_helper", , H, { |
-isJsIndexable: function(object, record) { |
- var result, t1; |
- if (record != null) { |
- result = record.x; |
- if (result != null) |
- return result; |
- } |
- t1 = J.getInterceptor(object); |
- return typeof object === "object" && object !== null && !!t1.$isJavaScriptIndexingBehavior; |
-}, |
- |
-S: function(value) { |
- var res; |
- if (typeof value === "string") |
- return value; |
- if (typeof value === "number") { |
- if (value !== 0) |
- return "" + value; |
- } else if (true === value) |
- return "true"; |
- else if (false === value) |
- return "false"; |
- else if (value == null) |
- return "null"; |
- res = J.toString$0(value); |
- if (typeof res !== "string") |
- throw H.wrapException(P.ArgumentError$(value)); |
- return res; |
-}, |
- |
-Primitives_initializeStatics: function(id) { |
- $.Primitives_mirrorFunctionCacheName = $.Primitives_mirrorFunctionCacheName + ("_" + H.S(id)); |
- $.Primitives_mirrorInvokeCacheName = $.Primitives_mirrorInvokeCacheName + ("_" + H.S(id)); |
-}, |
- |
-Primitives_objectHashCode: function(object) { |
- var hash = object.$identityHash; |
- if (hash == null) { |
- hash = Math.random() * 0x3fffffff | 0; |
- object.$identityHash = hash; |
- } |
- return hash; |
-}, |
- |
-Primitives_objectTypeName: function(object) { |
- var $name, decompiled, t1; |
- $name = H.constructorNameFallback(J.getInterceptor(object)); |
- if (J.$eq($name, "Object")) { |
- decompiled = String(object.constructor).match(/^\s*function\s*(\S*)\s*\(/)[1]; |
- if (typeof decompiled === "string") |
- $name = decompiled; |
- } |
- t1 = J.getInterceptor$s($name); |
- if (t1.codeUnitAt$1($name, 0) === 36) |
- $name = t1.substring$1($name, 1); |
- t1 = H.getRuntimeTypeInfo(object); |
- return H.S($name) + H.joinArguments(t1, 0); |
-}, |
- |
-Primitives_objectToString: function(object) { |
- return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; |
-}, |
- |
-Primitives_newFixedList: function($length) { |
- var result = new Array($length); |
- result.fixed$length = true; |
- return result; |
-}, |
- |
-Primitives__fromCharCodeApply: function(array) { |
- var end, t1, result, i, subarray, t2; |
- end = array.length; |
- for (t1 = end <= 500, result = "", i = 0; i < end; i += 500) { |
- if (t1) |
- subarray = array; |
- else { |
- t2 = i + 500; |
- t2 = t2 < end ? t2 : end; |
- subarray = array.slice(i, t2); |
- } |
- result += String.fromCharCode.apply(null, subarray); |
- } |
- return result; |
-}, |
- |
-Primitives_stringFromCodePoints: function(codePoints) { |
- var a, t1, i; |
- a = []; |
- for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.moveNext$0();) { |
- i = t1._current; |
- if (typeof i !== "number" || Math.floor(i) !== i) |
- throw H.wrapException(new P.ArgumentError(i)); |
- if (i <= 65535) |
- a.push(i); |
- else if (i <= 1114111) { |
- a.push(55296 + (C.JSInt_methods.$shr(i - 65536, 10) & 1023)); |
- a.push(56320 + (i & 1023)); |
- } else |
- throw H.wrapException(new P.ArgumentError(i)); |
- } |
- return H.Primitives__fromCharCodeApply(a); |
-}, |
- |
-Primitives_stringFromCharCodes: function(charCodes) { |
- var t1, i; |
- for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveNext$0();) { |
- i = t1._current; |
- if (typeof i !== "number" || Math.floor(i) !== i) |
- throw H.wrapException(new P.ArgumentError(i)); |
- if (i < 0) |
- throw H.wrapException(new P.ArgumentError(i)); |
- if (i > 65535) |
- return H.Primitives_stringFromCodePoints(charCodes); |
- } |
- return H.Primitives__fromCharCodeApply(charCodes); |
-}, |
- |
-Primitives_getProperty: function(object, key) { |
- if (object == null || typeof object === "boolean" || typeof object === "number" || typeof object === "string") |
- throw H.wrapException(new P.ArgumentError(object)); |
- return object[key]; |
-}, |
- |
-Primitives_setProperty: function(object, key, value) { |
- if (object == null || typeof object === "boolean" || typeof object === "number" || typeof object === "string") |
- throw H.wrapException(new P.ArgumentError(object)); |
- object[key] = value; |
-}, |
- |
-iae: function(argument) { |
- throw H.wrapException(P.ArgumentError$(argument)); |
-}, |
- |
-ioore: function(receiver, index) { |
- if (receiver == null) |
- J.get$length$asx(receiver); |
- if (typeof index !== "number" || Math.floor(index) !== index) |
- H.iae(index); |
- throw H.wrapException(P.RangeError$value(index)); |
-}, |
- |
-wrapException: function(ex) { |
- var wrapper; |
- if (ex == null) |
- ex = new P.NullThrownError(); |
- wrapper = new Error(); |
- wrapper.dartException = ex; |
- if ("defineProperty" in Object) { |
- Object.defineProperty(wrapper, "message", { get: H.toStringWrapper$closure.call$0 }); |
- wrapper.name = ""; |
- } else |
- wrapper.toString = H.toStringWrapper$closure.call$0; |
- return wrapper; |
-}, |
- |
-toStringWrapper: function() { |
- return J.toString$0(this.dartException); |
-}, |
- |
-throwExpression: function(ex) { |
- throw H.wrapException(ex); |
-}, |
- |
-unwrapException: function(ex) { |
- var t1, message, number, ieErrorCode, t2, t3, t4, nullLiteralCall, t5, t6, t7, t8, t9, match; |
- t1 = new H.unwrapException_saveStackTrace(ex); |
- if (ex == null) |
- return; |
- if (typeof ex !== "object") |
- return ex; |
- if ("dartException" in ex) |
- return t1.call$1(ex.dartException); |
- else if (!("message" in ex)) |
- return ex; |
- message = ex.message; |
- if ("number" in ex && typeof ex.number == "number") { |
- number = ex.number; |
- ieErrorCode = number & 65535; |
- if ((C.JSInt_methods.$shr(number, 16) & 8191) === 10) |
- switch (ieErrorCode) { |
- case 438: |
- return t1.call$1(H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", null)); |
- case 445: |
- case 5007: |
- t2 = H.S(message) + " (Error " + ieErrorCode + ")"; |
- return t1.call$1(new H.NullError(t2, null)); |
- default: |
- } |
- } |
- if (ex instanceof TypeError) { |
- t2 = $.get$TypeErrorDecoder_noSuchMethodPattern(); |
- t3 = $.get$TypeErrorDecoder_notClosurePattern(); |
- t4 = $.get$TypeErrorDecoder_nullCallPattern(); |
- nullLiteralCall = $.get$TypeErrorDecoder_nullLiteralCallPattern(); |
- t5 = $.get$TypeErrorDecoder_undefinedCallPattern(); |
- t6 = $.get$TypeErrorDecoder_undefinedLiteralCallPattern(); |
- t7 = $.get$TypeErrorDecoder_nullPropertyPattern(); |
- $.get$TypeErrorDecoder_nullLiteralPropertyPattern(); |
- t8 = $.get$TypeErrorDecoder_undefinedPropertyPattern(); |
- t9 = $.get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); |
- match = t2.matchTypeError$1(message); |
- if (match != null) |
- return t1.call$1(H.JsNoSuchMethodError$(message, match)); |
- else { |
- match = t3.matchTypeError$1(message); |
- if (match != null) { |
- match.method = "call"; |
- return t1.call$1(H.JsNoSuchMethodError$(message, match)); |
- } else { |
- match = t4.matchTypeError$1(message); |
- if (match == null) { |
- match = nullLiteralCall.matchTypeError$1(message); |
- if (match == null) { |
- match = t5.matchTypeError$1(message); |
- if (match == null) { |
- match = t6.matchTypeError$1(message); |
- if (match == null) { |
- match = t7.matchTypeError$1(message); |
- if (match == null) { |
- match = nullLiteralCall.matchTypeError$1(message); |
- if (match == null) { |
- match = t8.matchTypeError$1(message); |
- if (match == null) { |
- match = t9.matchTypeError$1(message); |
- t2 = match != null; |
- } else |
- t2 = true; |
- } else |
- t2 = true; |
- } else |
- t2 = true; |
- } else |
- t2 = true; |
- } else |
- t2 = true; |
- } else |
- t2 = true; |
- } else |
- t2 = true; |
- if (t2) { |
- t2 = match == null ? null : match.method; |
- return t1.call$1(new H.NullError(message, t2)); |
- } |
- } |
- } |
- t2 = typeof message === "string" ? message : ""; |
- return t1.call$1(new H.UnknownJsTypeError(t2)); |
- } |
- if (ex instanceof RangeError) { |
- if (typeof message === "string" && message.indexOf("call stack") !== -1) |
- return new P.StackOverflowError(); |
- return t1.call$1(new P.ArgumentError(null)); |
- } |
- if (typeof InternalError == "function" && ex instanceof InternalError) |
- if (typeof message === "string" && message === "too much recursion") |
- return new P.StackOverflowError(); |
- return ex; |
-}, |
- |
-objectHashCode: function(object) { |
- if (object == null || typeof object != 'object') |
- return J.get$hashCode$(object); |
- else |
- return H.Primitives_objectHashCode(object); |
-}, |
- |
-fillLiteralMap: function(keyValuePairs, result) { |
- var $length, index, index0, index1; |
- $length = keyValuePairs.length; |
- for (index = 0; index < $length; index = index1) { |
- index0 = index + 1; |
- index1 = index0 + 1; |
- result.$indexSet(result, keyValuePairs[index], keyValuePairs[index0]); |
- } |
- return result; |
-}, |
- |
-invokeClosure: function(closure, isolate, numberOfArguments, arg1, arg2, arg3, arg4) { |
- var t1 = J.getInterceptor(numberOfArguments); |
- if (t1.$eq(numberOfArguments, 0)) |
- return H._callInIsolate(isolate, new H.invokeClosure_closure(closure)); |
- else if (t1.$eq(numberOfArguments, 1)) |
- return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, arg1)); |
- else if (t1.$eq(numberOfArguments, 2)) |
- return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, arg1, arg2)); |
- else if (t1.$eq(numberOfArguments, 3)) |
- return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, arg1, arg2, arg3)); |
- else if (t1.$eq(numberOfArguments, 4)) |
- return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, arg1, arg2, arg3, arg4)); |
- else |
- throw H.wrapException(P.Exception_Exception("Unsupported number of arguments for wrapped closure")); |
-}, |
- |
-convertDartClosureToJS: function(closure, arity) { |
- var $function; |
- if (closure == null) |
- return; |
- $function = closure.$identity; |
- if (!!$function) |
- return $function; |
- $function = (function(closure, arity, context, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})(closure,arity,$globalState.currentContext,H.invokeClosure$closure.call$7); |
- closure.$identity = $function; |
- return $function; |
-}, |
- |
-propertyTypeCastError: function(value, property) { |
- var t1 = J.getInterceptor$asx(property); |
- throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName(value), t1.substring$2(property, 3, t1.get$length(property)))); |
-}, |
- |
-interceptedTypeCast: function(value, property) { |
- var t1; |
- if (value != null) |
- t1 = typeof value === "object" && J.getInterceptor(value)[property]; |
- else |
- t1 = true; |
- if (t1) |
- return value; |
- H.propertyTypeCastError(value, property); |
-}, |
- |
-throwCyclicInit: function(staticName) { |
- throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName))); |
-}, |
- |
-setRuntimeTypeInfo: function(target, typeInfo) { |
- if (target != null) |
- target.$builtinTypeInfo = typeInfo; |
- return target; |
-}, |
- |
-getRuntimeTypeInfo: function(target) { |
- if (target == null) |
- return; |
- return target.$builtinTypeInfo; |
-}, |
- |
-getRuntimeTypeArguments: function(target, substitutionName) { |
- return H.substitute(target["$as" + H.S(substitutionName)], H.getRuntimeTypeInfo(target)); |
-}, |
- |
-getRuntimeTypeArgument: function(target, substitutionName, index) { |
- var $arguments = H.getRuntimeTypeArguments(target, substitutionName); |
- return $arguments == null ? null : $arguments[index]; |
-}, |
- |
-runtimeTypeToString: function(type) { |
- if (type == null) |
- return "dynamic"; |
- else if (typeof type === "object" && type !== null && type.constructor === Array) |
- return type[0].builtin$cls + H.joinArguments(type, 1); |
- else if (typeof type == "function") |
- return type.builtin$cls; |
- else if (typeof type === "number" && Math.floor(type) === type) |
- return C.JSInt_methods.toString$0(type); |
- else |
- return; |
-}, |
- |
-joinArguments: function(types, startIndex) { |
- var buffer, index, firstArgument, allDynamic, argument, str; |
- if (types == null) |
- return ""; |
- buffer = P.StringBuffer$(""); |
- for (index = startIndex, firstArgument = true, allDynamic = true; index < types.length; ++index) { |
- if (firstArgument) |
- firstArgument = false; |
- else |
- buffer._contents = buffer._contents + ", "; |
- argument = types[index]; |
- if (argument != null) |
- allDynamic = false; |
- str = H.runtimeTypeToString(argument); |
- str = typeof str === "string" ? str : str; |
- buffer._contents = buffer._contents + str; |
- } |
- return allDynamic ? "" : "<" + H.S(buffer) + ">"; |
-}, |
- |
-substitute: function(substitution, $arguments) { |
- if (typeof substitution === "object" && substitution !== null && substitution.constructor === Array) |
- $arguments = substitution; |
- else if (typeof substitution == "function") { |
- substitution = H.invokeOn(substitution, null, $arguments); |
- if (typeof substitution === "object" && substitution !== null && substitution.constructor === Array) |
- $arguments = substitution; |
- else if (typeof substitution == "function") |
- $arguments = H.invokeOn(substitution, null, $arguments); |
- } |
- return $arguments; |
-}, |
- |
-computeSignature: function(signature, context, contextName) { |
- return H.invokeOn(signature, context, H.getRuntimeTypeArguments(context, contextName)); |
-}, |
- |
-invokeOn: function($function, receiver, $arguments) { |
- return $function.apply(receiver, $arguments); |
-}, |
- |
-typeNameInChrome: function(obj) { |
- return obj.constructor.name; |
-}, |
- |
-typeNameInSafari: function(obj) { |
- return H.constructorNameFallback(obj); |
-}, |
- |
-typeNameInOpera: function(obj) { |
- return H.constructorNameFallback(obj); |
-}, |
- |
-typeNameInFirefox: function(obj) { |
- var $name = H.constructorNameFallback(obj); |
- if ($name === "BeforeUnloadEvent") |
- return "Event"; |
- if ($name === "DataTransfer") |
- return "Clipboard"; |
- if ($name === "GeoGeolocation") |
- return "Geolocation"; |
- if ($name === "WorkerMessageEvent") |
- return "MessageEvent"; |
- if ($name === "XMLDocument") |
- return "Document"; |
- return $name; |
-}, |
- |
-typeNameInIE: function(obj) { |
- var $name = H.constructorNameFallback(obj); |
- if ($name === "Document") { |
- if (!!obj.xmlVersion) |
- return "Document"; |
- return "HTMLDocument"; |
- } |
- if ($name === "BeforeUnloadEvent") |
- return "Event"; |
- if ($name === "DataTransfer") |
- return "Clipboard"; |
- if ($name === "HTMLDDElement") |
- return "HTMLElement"; |
- if ($name === "HTMLDTElement") |
- return "HTMLElement"; |
- if ($name === "HTMLPhraseElement") |
- return "HTMLElement"; |
- if ($name === "Position") |
- return "Geoposition"; |
- if ($name === "Object") |
- if (window.DataView && obj instanceof window.DataView) |
- return "DataView"; |
- return $name; |
-}, |
- |
-constructorNameFallback: function(object) { |
- var $constructor, $name, t1, string; |
- if (object == null) |
- return "Null"; |
- $constructor = object.constructor; |
- if (typeof $constructor === "function") { |
- $name = $constructor.builtin$cls; |
- if ($name != null) |
- return $name; |
- $name = $constructor.name; |
- if (typeof $name === "string") |
- t1 = $name !== "" && $name !== "Object" && $name !== "Function.prototype"; |
- else |
- t1 = false; |
- if (t1) |
- return $name; |
- } |
- string = Object.prototype.toString.call(object); |
- return string.substring(8, string.length - 1); |
-}, |
- |
-alternateTag: function(object, tag) { |
- if (!!/^HTML[A-Z].*Element$/.test(tag)) { |
- if (Object.prototype.toString.call(object) === "[object Object]") |
- return; |
- return "HTMLElement"; |
- } |
- return; |
-}, |
- |
-getFunctionForTypeNameOf: function() { |
- var getTagFunction = H.getBaseFunctionForTypeNameOf(); |
- if (typeof dartExperimentalFixupGetTag == "function") |
- return H.applyExperimentalFixup(dartExperimentalFixupGetTag, getTagFunction); |
- return getTagFunction; |
-}, |
- |
-getBaseFunctionForTypeNameOf: function() { |
- if (typeof navigator !== "object") |
- return H.typeNameInChrome$closure; |
- var userAgent = navigator.userAgent; |
- if (userAgent.indexOf("Chrome") !== -1 || userAgent.indexOf("DumpRenderTree") !== -1) |
- return H.typeNameInChrome$closure; |
- else if (userAgent.indexOf("Firefox") !== -1) |
- return H.typeNameInFirefox$closure; |
- else if (userAgent.indexOf("Trident/") !== -1) |
- return H.typeNameInIE$closure; |
- else if (userAgent.indexOf("Opera") !== -1) |
- return H.typeNameInOpera$closure; |
- else if (userAgent.indexOf("AppleWebKit") !== -1) |
- return H.typeNameInSafari$closure; |
- else |
- return H.constructorNameFallback$closure; |
-}, |
- |
-applyExperimentalFixup: function(fixupJSFunction, originalGetTagDartFunction) { |
- return new H.applyExperimentalFixup_newGetTagDartFunction(fixupJSFunction((function(invoke, closure){return function(arg){ return invoke(closure, arg); };})(H.callDartFunctionWith1Arg$closure.call$2, originalGetTagDartFunction))); |
-}, |
- |
-callDartFunctionWith1Arg: function(fn, arg) { |
- return fn.call$1(arg); |
-}, |
- |
-toStringForNativeObject: function(obj) { |
- return "Instance of " + $.get$getTypeNameOf().call$1(obj); |
-}, |
- |
-hashCodeForNativeObject: function(object) { |
- return H.Primitives_objectHashCode(object); |
-}, |
- |
-defineProperty: function(obj, property, value) { |
- Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true}); |
-}, |
- |
-lookupInterceptor: function(hasOwnPropertyFunction, tag) { |
- var map = init.interceptorsByTag; |
- return hasOwnPropertyFunction.call(map, tag) ? map[tag] : null; |
-}, |
- |
-lookupDispatchRecord: function(obj) { |
- var hasOwnPropertyFunction, tag, interceptorClass, secondTag, interceptor; |
- hasOwnPropertyFunction = Object.prototype.hasOwnProperty; |
- tag = $.get$getTypeNameOf().call$1(obj); |
- interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, tag); |
- if (interceptorClass == null) { |
- secondTag = H.alternateTag(obj, tag); |
- if (secondTag != null) |
- interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, secondTag); |
- } |
- if (interceptorClass == null) |
- return; |
- interceptor = interceptorClass.prototype; |
- if (init.leafTags[tag] === true) |
- return H.makeLeafDispatchRecord(interceptor); |
- else |
- return J.makeDispatchRecord(interceptor, Object.getPrototypeOf(obj), null, null); |
-}, |
- |
-makeLeafDispatchRecord: function(interceptor) { |
- return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); |
-}, |
- |
-makeDefaultDispatchRecord: function(tag, interceptorClass, proto) { |
- var interceptor = interceptorClass.prototype; |
- if (init.leafTags[tag] === true) |
- return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); |
- else |
- return J.makeDispatchRecord(interceptor, proto, null, null); |
-}, |
- |
-initNativeDispatch: function() { |
- var context, map, tags, i, tag, proto, record; |
- $.initNativeDispatchFlag = true; |
- if (typeof window != "undefined") { |
- context = window; |
- map = init.interceptorsByTag; |
- tags = Object.getOwnPropertyNames(map); |
- for (i = 0; i < tags.length; ++i) { |
- tag = tags[i]; |
- if (typeof context[tag] == "function") { |
- proto = context[tag].prototype; |
- if (proto != null) { |
- record = H.makeDefaultDispatchRecord(tag, map[tag], proto); |
- if (record != null) |
- Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); |
- } |
- } |
- } |
- } |
-}, |
- |
-TypeErrorDecoder: {"": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver", |
- matchTypeError$1: function(message) { |
- var match, result, t1; |
- match = new RegExp(this._pattern).exec(message); |
- if (match == null) |
- return; |
- result = {}; |
- t1 = this._arguments; |
- if (t1 !== -1) |
- result.arguments = match[t1 + 1]; |
- t1 = this._argumentsExpr; |
- if (t1 !== -1) |
- result.argumentsExpr = match[t1 + 1]; |
- t1 = this._expr; |
- if (t1 !== -1) |
- result.expr = match[t1 + 1]; |
- t1 = this._method; |
- if (t1 !== -1) |
- result.method = match[t1 + 1]; |
- t1 = this._receiver; |
- if (t1 !== -1) |
- result.receiver = match[t1 + 1]; |
- return result; |
- }, |
- static: { |
-"": "TypeErrorDecoder_noSuchMethodPattern,TypeErrorDecoder_notClosurePattern,TypeErrorDecoder_nullCallPattern,TypeErrorDecoder_nullLiteralCallPattern,TypeErrorDecoder_undefinedCallPattern,TypeErrorDecoder_undefinedLiteralCallPattern,TypeErrorDecoder_nullPropertyPattern,TypeErrorDecoder_nullLiteralPropertyPattern,TypeErrorDecoder_undefinedPropertyPattern,TypeErrorDecoder_undefinedLiteralPropertyPattern", |
-TypeErrorDecoder_extractPattern: function(message) { |
- var match, $arguments, argumentsExpr, expr, method, receiver; |
- message = message.replace(String({}), '$receiver$').replace(new RegExp("[[\\]{}()*+?.\\\\^$|]", 'g'), '\\$&'); |
- match = message.match(/\\\$[a-zA-Z]+\\\$/g); |
- if (match == null) |
- match = []; |
- $arguments = match.indexOf("\\$arguments\\$"); |
- argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); |
- expr = match.indexOf("\\$expr\\$"); |
- method = match.indexOf("\\$method\\$"); |
- receiver = match.indexOf("\\$receiver\\$"); |
- return new H.TypeErrorDecoder(message.replace('\\$arguments\\$', '((?:x|[^x])*)').replace('\\$argumentsExpr\\$', '((?:x|[^x])*)').replace('\\$expr\\$', '((?:x|[^x])*)').replace('\\$method\\$', '((?:x|[^x])*)').replace('\\$receiver\\$', '((?:x|[^x])*)'), $arguments, argumentsExpr, expr, method, receiver); |
-}, |
- |
-TypeErrorDecoder_provokeCallErrorOn: function(expression) { |
- return function($expr$) { |
- var $argumentsExpr$ = '$arguments$' |
- try { |
- $expr$.$method$($argumentsExpr$); |
- } catch (e) { |
- return e.message; |
- } |
-}(expression); |
-}, |
- |
-TypeErrorDecoder_provokeCallErrorOnNull: function() { |
- return function() { |
- var $argumentsExpr$ = '$arguments$' |
- try { |
- null.$method$($argumentsExpr$); |
- } catch (e) { |
- return e.message; |
- } |
-}(); |
-}, |
- |
-TypeErrorDecoder_provokeCallErrorOnUndefined: function() { |
- return function() { |
- var $argumentsExpr$ = '$arguments$' |
- try { |
- (void 0).$method$($argumentsExpr$); |
- } catch (e) { |
- return e.message; |
- } |
-}(); |
-}, |
- |
-TypeErrorDecoder_provokePropertyErrorOn: function(expression) { |
- return function($expr$) { |
- try { |
- $expr$.$method$; |
- } catch (e) { |
- return e.message; |
- } |
-}(expression); |
-}, |
- |
-TypeErrorDecoder_provokePropertyErrorOnNull: function() { |
- return function() { |
- try { |
- null.$method$; |
- } catch (e) { |
- return e.message; |
- } |
-}(); |
-}, |
- |
-TypeErrorDecoder_provokePropertyErrorOnUndefined: function() { |
- return function() { |
- try { |
- (void 0).$method$; |
- } catch (e) { |
- return e.message; |
- } |
-}(); |
-}} |
- |
-}, |
- |
-NullError: {"": "Error;_message,_method", |
- toString$0: function(_) { |
- var t1 = this._method; |
- if (t1 == null) |
- return "NullError: " + H.S(this._message); |
- return "NullError: Cannot call \"" + H.S(t1) + "\" on null"; |
- }, |
- $isError: true |
-}, |
- |
-JsNoSuchMethodError: {"": "Error;_message,_method,_receiver", |
- toString$0: function(_) { |
- var t1, t2; |
- t1 = this._method; |
- if (t1 == null) |
- return "NoSuchMethodError: " + H.S(this._message); |
- t2 = this._receiver; |
- if (t2 == null) |
- return "NoSuchMethodError: Cannot call \"" + t1 + "\" (" + H.S(this._message) + ")"; |
- return "NoSuchMethodError: Cannot call \"" + t1 + "\" on \"" + t2 + "\" (" + H.S(this._message) + ")"; |
- }, |
- $isError: true, |
- static: { |
-JsNoSuchMethodError$: function(_message, match) { |
- var t1, t2; |
- t1 = match == null; |
- t2 = t1 ? null : match.method; |
- t1 = t1 ? null : match.receiver; |
- return new H.JsNoSuchMethodError(_message, t2, t1); |
-}} |
- |
-}, |
- |
-UnknownJsTypeError: {"": "Error;_message", |
- toString$0: function(_) { |
- var t1 = this._message; |
- return C.JSString_methods.get$isEmpty(t1) ? "Error" : "Error: " + t1; |
- } |
-}, |
- |
-unwrapException_saveStackTrace: {"": "Closure;ex_0", |
- call$1: function(error) { |
- var t1 = J.getInterceptor(error); |
- if (typeof error === "object" && error !== null && !!t1.$isError) |
- if (error.$thrownJsError == null) |
- error.$thrownJsError = this.ex_0; |
- return error; |
- }, |
- $is_args1: true |
-}, |
- |
-_StackTrace: {"": "Object;_exception,_trace", |
- toString$0: function(_) { |
- var t1, trace; |
- t1 = this._trace; |
- if (t1 != null) |
- return t1; |
- t1 = this._exception; |
- trace = typeof t1 === "object" ? t1.stack : null; |
- t1 = trace == null ? "" : trace; |
- this._trace = t1; |
- return t1; |
- } |
-}, |
- |
-invokeClosure_closure: {"": "Closure;closure_0", |
- call$0: function() { |
- return this.closure_0.call$0(); |
- } |
-}, |
- |
-invokeClosure_closure0: {"": "Closure;closure_1,arg1_2", |
- call$0: function() { |
- return this.closure_1.call$1(this.arg1_2); |
- } |
-}, |
- |
-invokeClosure_closure1: {"": "Closure;closure_3,arg1_4,arg2_5", |
- call$0: function() { |
- return this.closure_3.call$2(this.arg1_4, this.arg2_5); |
- } |
-}, |
- |
-invokeClosure_closure2: {"": "Closure;closure_6,arg1_7,arg2_8,arg3_9", |
- call$0: function() { |
- return this.closure_6.call$3(this.arg1_7, this.arg2_8, this.arg3_9); |
- } |
-}, |
- |
-invokeClosure_closure3: {"": "Closure;closure_10,arg1_11,arg2_12,arg3_13,arg4_14", |
- call$0: function() { |
- return this.closure_10.call$4(this.arg1_11, this.arg2_12, this.arg3_13, this.arg4_14); |
- } |
-}, |
- |
-Closure: {"": "Object;", |
- toString$0: function(_) { |
- return "Closure"; |
- } |
-}, |
- |
-BoundClosure: {"": "Closure;_self,__js_helper$_target,_receiver,__js_helper$_name", |
- $eq: function(_, other) { |
- var t1; |
- if (other == null) |
- return false; |
- if (this === other) |
- return true; |
- t1 = J.getInterceptor(other); |
- if (typeof other !== "object" || other === null || !t1.$isBoundClosure) |
- return false; |
- return this._self === other._self && this.__js_helper$_target === other.__js_helper$_target && this._receiver === other._receiver; |
- }, |
- get$hashCode: function(_) { |
- var t1, receiverHashCode; |
- t1 = this._receiver; |
- if (t1 == null) |
- receiverHashCode = H.Primitives_objectHashCode(this._self); |
- else |
- receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primitives_objectHashCode(t1); |
- return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_target)) >>> 0; |
- }, |
- $isBoundClosure: true |
-}, |
- |
-CastErrorImplementation: {"": "Error;message", |
- toString$0: function(_) { |
- return this.message; |
- }, |
- $isError: true, |
- static: { |
-CastErrorImplementation$: function(actualType, expectedType) { |
- return new H.CastErrorImplementation("CastError: Casting value of type " + actualType + " to incompatible type " + H.S(expectedType)); |
-}} |
- |
-}, |
- |
-applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_0", |
- call$1: function(object) { |
- return this.newGetTagJSFunction_0(object); |
- }, |
- $is_args1: true |
-}}], |
-["dart._collection.dev", "dart:_collection-dev", , H, { |
-Arrays_copy: function(src, srcStart, dst, dstStart, count) { |
- var i, j, t1; |
- if (srcStart < dstStart) |
- for (i = srcStart + count - 1, j = dstStart + count - 1; i >= srcStart; --i, --j) { |
- if (i < 0 || i >= src.length) |
- throw H.ioore(src, i); |
- C.JSArray_methods.$indexSet(dst, j, src[i]); |
- } |
- else |
- for (t1 = srcStart + count, j = dstStart, i = srcStart; i < t1; ++i, ++j) { |
- if (i < 0 || i >= src.length) |
- throw H.ioore(src, i); |
- C.JSArray_methods.$indexSet(dst, j, src[i]); |
- } |
-}, |
- |
-IterableMixinWorkaround_forEach: function(iterable, f) { |
- var t1; |
- for (t1 = new H.ListIterator(iterable, iterable.length, 0, null); t1.moveNext$0();) |
- f.call$1(t1._current); |
-}, |
- |
-IterableMixinWorkaround_toStringIterable: function(iterable, leftDelimiter, rightDelimiter) { |
- var result, i, t1; |
- for (i = 0; i < $.get$IterableMixinWorkaround__toStringList().length; ++i) { |
- t1 = $.get$IterableMixinWorkaround__toStringList(); |
- if (i >= t1.length) |
- throw H.ioore(t1, i); |
- if (t1[i] === iterable) |
- return H.S(leftDelimiter) + "..." + H.S(rightDelimiter); |
- } |
- result = P.StringBuffer$(""); |
- try { |
- $.get$IterableMixinWorkaround__toStringList().push(iterable); |
- result.write$1(leftDelimiter); |
- result.writeAll$2(iterable, ", "); |
- result.write$1(rightDelimiter); |
- } finally { |
- t1 = $.get$IterableMixinWorkaround__toStringList(); |
- if (0 >= t1.length) |
- throw H.ioore(t1, 0); |
- t1.pop(); |
- } |
- return result.get$_contents(); |
-}, |
- |
-IterableMixinWorkaround__rangeCheck: function(list, start, end) { |
- if (start < 0 || start > list.length) |
- throw H.wrapException(P.RangeError$range(start, 0, list.length)); |
- if (end < start || end > list.length) |
- throw H.wrapException(P.RangeError$range(end, start, list.length)); |
-}, |
- |
-IterableMixinWorkaround_setRangeList: function(list, start, end, from, skipCount) { |
- var $length; |
- H.IterableMixinWorkaround__rangeCheck(list, start, end); |
- $length = end - start; |
- if ($length === 0) |
- return; |
- if (skipCount < 0) |
- throw H.wrapException(new P.ArgumentError(skipCount)); |
- if (skipCount + $length > from.length) |
- throw H.wrapException(P.StateError$("Not enough elements")); |
- H.Arrays_copy(from, skipCount, list, start, $length); |
-}, |
- |
-printToConsole: function(line) { |
- if (typeof dartPrint == "function") { |
- dartPrint(line); |
- return; |
- } |
- if (typeof console == "object" && typeof console.log == "function") { |
- console.log(line); |
- return; |
- } |
- if (typeof window == "object") |
- return; |
- if (typeof print == "function") { |
- print(line); |
- return; |
- } |
- throw "Unable to print message: " + String(line); |
-}, |
- |
-Symbol_getName: function(symbol) { |
- return symbol.get$_name(); |
-}, |
- |
-ListIterator: {"": "Object;_iterable,_length,_index,_current", |
- get$current: function() { |
- return this._current; |
- }, |
- moveNext$0: function() { |
- var t1, t2, $length, t3; |
- t1 = this._iterable; |
- t2 = J.getInterceptor$asx(t1); |
- $length = t2.get$length(t1); |
- if (this._length !== $length) |
- throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- t3 = this._index; |
- if (t3 >= $length) { |
- this._current = null; |
- return false; |
- } |
- this._current = t2.elementAt$1(t1, t3); |
- this._index = this._index + 1; |
- return true; |
- } |
-}, |
- |
-MappedIterable: {"": "IterableBase;_iterable,_f", |
- get$iterator: function(_) { |
- var t1 = this._iterable; |
- t1 = t1.get$iterator(t1); |
- t1 = new H.MappedIterator(null, t1, this._f); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "MappedIterable", 0), H.getRuntimeTypeArgument(this, "MappedIterable", 1)]); |
- return t1; |
- }, |
- get$length: function(_) { |
- var t1 = this._iterable; |
- return t1.get$length(t1); |
- }, |
- $asIterableBase: function($S, $T) { |
- return [$T]; |
- }, |
- static: { |
-MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { |
- var t1; |
- if (!!iterable.$isEfficientLength) { |
- t1 = new H.EfficientLengthMappedIterable(iterable, $function); |
- H.setRuntimeTypeInfo(t1, [$S, $T]); |
- return t1; |
- } |
- t1 = new H.MappedIterable(iterable, $function); |
- H.setRuntimeTypeInfo(t1, [$S, $T]); |
- return t1; |
-}} |
- |
-}, |
- |
-EfficientLengthMappedIterable: {"": "MappedIterable;_iterable,_f", $asMappedIterable: null, $isEfficientLength: true}, |
- |
-MappedIterator: {"": "Iterator;_current,_iterator,_f", |
- _f$1: function(arg0) { |
- return this._f.call$1(arg0); |
- }, |
- moveNext$0: function() { |
- var t1 = this._iterator; |
- if (t1.moveNext$0()) { |
- this._current = this._f$1(t1.get$current()); |
- return true; |
- } |
- this._current = null; |
- return false; |
- }, |
- get$current: function() { |
- return this._current; |
- }, |
- $asIterator: function($S, $T) { |
- return [$T]; |
- } |
-}, |
- |
-FixedLengthListMixin: {"": "Object;"}}], |
-["dart.async", "dart:async", , P, { |
-_attachStackTrace: function(o, st) { |
- var t1; |
- if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o === "string") |
- return; |
- t1 = $.get$_stackTraceExpando(); |
- t1.$indexSet(t1, o, st); |
-}, |
- |
-_invokeErrorHandler: function(errorHandler, error, stackTrace) { |
- var t1 = J.getInterceptor(errorHandler); |
- if (!!t1.$is_args2) |
- return errorHandler.call$2(error, stackTrace); |
- else |
- return errorHandler.call$1(error); |
-}, |
- |
-_registerErrorHandler: function(errorHandler, zone) { |
- var t1 = J.getInterceptor(errorHandler); |
- zone.toString; |
- if (!!t1.$is_args2) |
- return errorHandler; |
- else |
- return errorHandler; |
-}, |
- |
-getAttachedStackTrace: function(o) { |
- var t1; |
- if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o === "string") |
- return; |
- t1 = $.get$_stackTraceExpando(); |
- return t1.$index(t1, o); |
-}, |
- |
-Future_wait: function(futures) { |
- var t1, t2, t3, future, pos, t4, t5, result, completer; |
- t1 = {}; |
- t1.completer_0 = null; |
- t1.values_1 = null; |
- t2 = new P.Future_wait_handleError(t1); |
- t1.remaining_2 = 0; |
- for (t3 = new H.ListIterator(futures, futures.length, 0, null); t3.moveNext$0();) { |
- future = t3._current; |
- pos = t1.remaining_2; |
- t1.remaining_2 = pos + 1; |
- t4 = future.catchError$1(t2); |
- t5 = $.Zone__current; |
- t5.toString; |
- result = new P._Future(0, t5, null, null, new P.Future_wait_closure(t1, pos), null, P._registerErrorHandler(null, t5), null); |
- result.$builtinTypeInfo = [null]; |
- t4._addListener$1(result); |
- } |
- t2 = t1.remaining_2; |
- if (t2 === 0) |
- return P._Future$immediate(C.List_empty, null); |
- t1.values_1 = P.List_List(t2, null); |
- t2 = J.JSArray; |
- completer = new P._AsyncCompleter(P._Future$(t2)); |
- H.setRuntimeTypeInfo(completer, [t2]); |
- t1.completer_0 = completer; |
- return t1.completer_0.future; |
-}, |
- |
-_asyncRunCallback: function() { |
- var callback, t1, exception, milliseconds; |
- for (; t1 = $.get$_asyncCallbacks(), t1._head !== t1._tail;) { |
- callback = $.get$_asyncCallbacks().removeFirst$0(); |
- try { |
- callback.call$0(); |
- } catch (exception) { |
- H.unwrapException(exception); |
- milliseconds = C.JSNumber_methods.$tdiv(C.Duration_0._duration, 1000); |
- H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, P._asyncRunCallback$closure); |
- throw exception; |
- } |
- |
- } |
- $._callbacksAreEnqueued = false; |
-}, |
- |
-_scheduleAsyncCallback: function(callback) { |
- $.get$_asyncCallbacks()._add$1(callback); |
- if (!$._callbacksAreEnqueued) { |
- P._createTimer(C.Duration_0, P._asyncRunCallback$closure); |
- $._callbacksAreEnqueued = true; |
- } |
-}, |
- |
-scheduleMicrotask: function(callback) { |
- var t1, t2; |
- t1 = $.Zone__current; |
- if (t1 === C.C__RootZone) { |
- t1.toString; |
- P._scheduleAsyncCallback(callback); |
- return; |
- } |
- t2 = t1.bindCallback$2$runGuarded(callback, true); |
- t1.toString; |
- P._scheduleAsyncCallback(t2); |
-}, |
- |
-StreamController_StreamController: function(onCancel, onListen, onPause, onResume, sync, $T) { |
- var t1; |
- if (sync) { |
- t1 = new P._SyncStreamController(onListen, onPause, onResume, onCancel, null, 0, null); |
- H.setRuntimeTypeInfo(t1, [$T]); |
- } else { |
- t1 = new P._AsyncStreamController(onListen, onPause, onResume, onCancel, null, 0, null); |
- H.setRuntimeTypeInfo(t1, [$T]); |
- } |
- return t1; |
-}, |
- |
-_runGuarded: function(notificationHandler) { |
- var result, e, s, t1, t2, exception; |
- if (notificationHandler == null) |
- return; |
- try { |
- result = notificationHandler.call$0(); |
- t1 = result; |
- t2 = J.getInterceptor(t1); |
- if (typeof t1 === "object" && t1 !== null && !!t2.$isFuture) |
- return result; |
- return; |
- } catch (exception) { |
- t1 = H.unwrapException(exception); |
- e = t1; |
- s = new H._StackTrace(exception, null); |
- t1 = $.Zone__current; |
- t2 = P._asyncError(e, s); |
- t1.toString; |
- P._rootHandleUncaughtError(t1, null, t1, t2, s); |
- } |
- |
-}, |
- |
-_nullDataHandler: function(value) { |
-}, |
- |
-_nullErrorHandler: function(error, stackTrace) { |
- var t1 = $.Zone__current; |
- t1.toString; |
- P._rootHandleUncaughtError(t1, null, t1, error, stackTrace); |
-}, |
- |
-_nullDoneHandler: function() { |
-}, |
- |
-_asyncError: function(error, stackTrace) { |
- if (stackTrace == null) |
- return error; |
- if (P.getAttachedStackTrace(error) != null) |
- return error; |
- P._attachStackTrace(error, stackTrace); |
- return error; |
-}, |
- |
-_runUserCode: function(userCode, onSuccess, onError) { |
- var e, s, exception, t1; |
- try { |
- onSuccess.call$1(userCode.call$0()); |
- } catch (exception) { |
- t1 = H.unwrapException(exception); |
- e = t1; |
- s = new H._StackTrace(exception, null); |
- onError.call$2(P._asyncError(e, s), s); |
- } |
- |
-}, |
- |
-_cancelAndError: function(subscription, future, error, stackTrace) { |
- var cancelFuture, t1; |
- cancelFuture = subscription.cancel$0(); |
- t1 = J.getInterceptor(cancelFuture); |
- if (typeof cancelFuture === "object" && cancelFuture !== null && !!t1.$isFuture) |
- cancelFuture.whenComplete$1(new P._cancelAndError_closure(future, error, stackTrace)); |
- else |
- future._completeError$2(error, stackTrace); |
-}, |
- |
-_cancelAndErrorClosure: function(subscription, future) { |
- return new P._cancelAndErrorClosure_closure(subscription, future); |
-}, |
- |
-Timer_Timer: function(duration, callback) { |
- var t1, t2; |
- t1 = $.Zone__current; |
- if (t1 === C.C__RootZone) { |
- t1.toString; |
- return P._createTimer(duration, callback); |
- } |
- t2 = t1.bindCallback$2$runGuarded(callback, true); |
- t1.toString; |
- return P._createTimer(duration, t2); |
-}, |
- |
-_createTimer: function(duration, callback) { |
- var milliseconds = C.JSNumber_methods.$tdiv(duration._duration, 1000); |
- return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); |
-}, |
- |
-_rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { |
- P._rootRun($self, null, $self, new P._rootHandleUncaughtError_closure(error, stackTrace)); |
-}, |
- |
-_rootRun: function($self, $parent, zone, f) { |
- var old, t1, t2; |
- t1 = $.Zone__current; |
- t2 = zone; |
- if (t1 == null ? t2 == null : t1 === t2) |
- return f.call$0(); |
- old = t1; |
- try { |
- $.Zone__current = zone; |
- t1 = f.call$0(); |
- return t1; |
- } finally { |
- $.Zone__current = old; |
- } |
-}, |
- |
-_rootRunUnary: function($self, $parent, zone, f, arg) { |
- var old, t1, t2; |
- t1 = $.Zone__current; |
- t2 = zone; |
- if (t1 == null ? t2 == null : t1 === t2) |
- return f.call$1(arg); |
- old = t1; |
- try { |
- $.Zone__current = zone; |
- t1 = f.call$1(arg); |
- return t1; |
- } finally { |
- $.Zone__current = old; |
- } |
-}, |
- |
-_AsyncError: {"": "Object;error>,stackTrace<", $isError: true}, |
- |
-Future: {"": "Object;", $isFuture: true}, |
- |
-Future_wait_handleError: {"": "Closure;box_0", |
- call$1: function(error) { |
- var t1 = this.box_0; |
- if (t1.values_1 != null) { |
- t1.values_1 = null; |
- t1 = t1.completer_0.future; |
- if (t1._state !== 0) |
- H.throwExpression(P.StateError$("Future already completed")); |
- t1._asyncCompleteError$2(error, null); |
- } |
- return; |
- }, |
- $is_args1: true |
-}, |
- |
-Future_wait_closure: {"": "Closure;box_0,pos_1", |
- call$1: function(value) { |
- var t1, t2, t3; |
- t1 = this.box_0; |
- t2 = t1.values_1; |
- if (t2 == null) |
- return; |
- t3 = this.pos_1; |
- if (t3 < 0 || t3 >= t2.length) |
- throw H.ioore(t2, t3); |
- t2[t3] = value; |
- t1.remaining_2 = t1.remaining_2 - 1; |
- if (t1.remaining_2 === 0) { |
- t2 = t1.completer_0; |
- t1 = t1.values_1; |
- t2 = t2.future; |
- if (t2._state !== 0) |
- H.throwExpression(P.StateError$("Future already completed")); |
- t2._asyncComplete$1(t1); |
- } |
- }, |
- $is_args1: true |
-}, |
- |
-_Completer: {"": "Object;"}, |
- |
-_AsyncCompleter: {"": "_Completer;future", $as_Completer: null}, |
- |
-_Future: {"": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCallback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback", |
- get$_isComplete: function() { |
- return this._state >= 4; |
- }, |
- get$_hasError: function() { |
- return this._state === 8; |
- }, |
- set$_isChained: function(value) { |
- if (value) |
- this._state = 2; |
- else |
- this._state = 0; |
- }, |
- get$_onValue: function() { |
- return this._state === 2 ? null : this._onValueCallback; |
- }, |
- _onValue$1: function(arg0) { |
- return this.get$_onValue().call$1(arg0); |
- }, |
- get$_whenCompleteAction: function() { |
- return this._state === 2 ? null : this._whenCompleteActionCallback; |
- }, |
- _whenCompleteAction$0: function() { |
- return this.get$_whenCompleteAction().call$0(); |
- }, |
- then$2$onError: function(f, onError) { |
- var result = P._Future$_then(f, onError, null); |
- this._addListener$1(result); |
- return result; |
- }, |
- then$1: function(f) { |
- return this.then$2$onError(f, null); |
- }, |
- catchError$2$test: function(onError, test) { |
- var result = P._Future$_catchError(onError, test, null); |
- this._addListener$1(result); |
- return result; |
- }, |
- catchError$1: function(onError) { |
- return this.catchError$2$test(onError, null); |
- }, |
- whenComplete$1: function(action) { |
- var result = P._Future$_whenComplete(action, H.getRuntimeTypeArgument(this, "_Future", 0)); |
- this._addListener$1(result); |
- return result; |
- }, |
- get$_value: function() { |
- return this._resultOrListeners; |
- }, |
- get$_error: function() { |
- return this._resultOrListeners; |
- }, |
- _setValue$1: function(value) { |
- this._state = 4; |
- this._resultOrListeners = value; |
- }, |
- _setError$2: function(error, stackTrace) { |
- this._state = 8; |
- this._resultOrListeners = new P._AsyncError(error, stackTrace); |
- }, |
- _addListener$1: function(listener) { |
- if (this._state >= 4) { |
- this._zone.toString; |
- P._scheduleAsyncCallback(new P._Future__addListener_closure(this, listener)); |
- } else { |
- listener._nextListener = this._resultOrListeners; |
- this._resultOrListeners = listener; |
- } |
- }, |
- _removeListeners$0: function() { |
- var current, prev, next; |
- current = this._resultOrListeners; |
- this._resultOrListeners = null; |
- for (prev = null; current != null; prev = current, current = next) { |
- next = current.get$_nextListener(); |
- current.set$_nextListener(prev); |
- } |
- return prev; |
- }, |
- _complete$1: function(value) { |
- var t1, listeners; |
- t1 = J.getInterceptor(value); |
- if (typeof value === "object" && value !== null && !!t1.$isFuture) { |
- P._Future__chainFutures(value, this); |
- return; |
- } |
- listeners = this._removeListeners$0(); |
- this._setValue$1(value); |
- P._Future__propagateToListeners(this, listeners); |
- }, |
- _completeError$2: function(error, stackTrace) { |
- var listeners; |
- if (stackTrace != null) |
- P._attachStackTrace(error, stackTrace); |
- listeners = this._state === 2 ? null : this._removeListeners$0(); |
- this._setError$2(error, stackTrace); |
- P._Future__propagateToListeners(this, listeners); |
- }, |
- get$_completeError: function() { |
- return new P.BoundClosure$2(this, P._Future.prototype._completeError$2, null, "_completeError$2"); |
- }, |
- _asyncComplete$1: function(value) { |
- if (this._state !== 0) |
- H.throwExpression(P.StateError$("Future already completed")); |
- this._state = 1; |
- this._zone.toString; |
- P._scheduleAsyncCallback(new P._Future__asyncComplete_closure(this, value)); |
- }, |
- _asyncCompleteError$2: function(error, stackTrace) { |
- if (this._state !== 0) |
- H.throwExpression(P.StateError$("Future already completed")); |
- this._state = 1; |
- this._zone.toString; |
- P._scheduleAsyncCallback(new P._Future__asyncCompleteError_closure(this, error, stackTrace)); |
- }, |
- _async$_Future$immediate$1: function(value, $T) { |
- this._asyncComplete$1(value); |
- }, |
- $is_Future: true, |
- $isFuture: true, |
- static: { |
-"": "_Future__INCOMPLETE,_Future__PENDING_COMPLETE,_Future__CHAINED,_Future__VALUE,_Future__ERROR", |
-_Future$: function($T) { |
- var t1 = new P._Future(0, $.Zone__current, null, null, null, null, null, null); |
- H.setRuntimeTypeInfo(t1, [$T]); |
- return t1; |
-}, |
- |
-_Future$immediate: function(value, $T) { |
- var t1 = new P._Future(0, $.Zone__current, null, null, null, null, null, null); |
- H.setRuntimeTypeInfo(t1, [$T]); |
- t1._async$_Future$immediate$1(value, $T); |
- return t1; |
-}, |
- |
-_Future$_then: function(onValueCallback, onErrorCallback, $T) { |
- var t1 = $.Zone__current; |
- t1.toString; |
- t1 = new P._Future(0, t1, null, null, onValueCallback, null, P._registerErrorHandler(onErrorCallback, t1), null); |
- H.setRuntimeTypeInfo(t1, [$T]); |
- return t1; |
-}, |
- |
-_Future$_catchError: function(onErrorCallback, errorTestCallback, $T) { |
- var t1, t2; |
- t1 = $.Zone__current; |
- t2 = P._registerErrorHandler(onErrorCallback, t1); |
- t1.toString; |
- t2 = new P._Future(0, t1, null, null, null, errorTestCallback, t2, null); |
- H.setRuntimeTypeInfo(t2, [$T]); |
- return t2; |
-}, |
- |
-_Future$_whenComplete: function(whenCompleteActionCallback, $T) { |
- var t1 = $.Zone__current; |
- t1.toString; |
- t1 = new P._Future(0, t1, null, null, null, null, null, whenCompleteActionCallback); |
- H.setRuntimeTypeInfo(t1, [$T]); |
- return t1; |
-}, |
- |
-_Future__chainFutures: function(source, target) { |
- var t1; |
- target._state = 2; |
- t1 = J.getInterceptor(source); |
- if (typeof source === "object" && source !== null && !!t1.$is_Future) |
- if (source._state >= 4) |
- P._Future__propagateToListeners(source, target); |
- else |
- source._addListener$1(target); |
- else |
- source.then$2$onError(new P._Future__chainFutures_closure(target), new P._Future__chainFutures_closure0(target)); |
-}, |
- |
-_Future__propagateMultipleListeners: function(source, listeners) { |
- var listeners0; |
- do { |
- listeners0 = listeners.get$_nextListener(); |
- listeners.set$_nextListener(null); |
- P._Future__propagateToListeners(source, listeners); |
- if (listeners0 != null) { |
- listeners = listeners0; |
- continue; |
- } else |
- break; |
- } while (true); |
-}, |
- |
-_Future__propagateToListeners: function(source, listeners) { |
- var t1, t2, hasError, asyncError, t3, t4, t5, chainSource, listeners0; |
- t1 = {}; |
- t1.source_4 = source; |
- for (; true;) { |
- t2 = {}; |
- if (!t1.source_4.get$_isComplete()) |
- return; |
- hasError = t1.source_4.get$_hasError(); |
- if (hasError && listeners == null) { |
- t2 = t1.source_4; |
- asyncError = t2.get$_error(); |
- t2 = t2.get$_zone(); |
- t3 = J.get$error$x(asyncError); |
- t4 = asyncError.get$stackTrace(); |
- t2.toString; |
- P._rootHandleUncaughtError(t2, null, t2, t3, t4); |
- return; |
- } |
- if (listeners == null) |
- return; |
- if (listeners._nextListener != null) { |
- P._Future__propagateMultipleListeners(t1.source_4, listeners); |
- return; |
- } |
- if (hasError) { |
- t3 = t1.source_4.get$_zone(); |
- t4 = listeners._zone; |
- t3.toString; |
- t4.toString; |
- t3 = t4 == null ? t3 != null : t4 !== t3; |
- } else |
- t3 = false; |
- if (t3) { |
- t2 = t1.source_4; |
- asyncError = t2.get$_error(); |
- t2 = t2.get$_zone(); |
- t3 = J.get$error$x(asyncError); |
- t4 = asyncError.get$stackTrace(); |
- t2.toString; |
- P._rootHandleUncaughtError(t2, null, t2, t3, t4); |
- return; |
- } |
- t3 = $.Zone__current; |
- t4 = listeners._zone; |
- if (t3 == null ? t4 != null : t3 !== t4) { |
- t4.toString; |
- P._rootRun(t4, null, t4, new P._Future__propagateToListeners_closure(t1, listeners)); |
- return; |
- } |
- t2.listenerHasValue_1 = null; |
- t2.listenerValueOrError_2 = null; |
- t2.isPropagationAborted_3 = false; |
- t4.toString; |
- P._rootRun(t4, null, t4, new P._Future__propagateToListeners_closure0(t1, t2, hasError, listeners)); |
- if (t2.isPropagationAborted_3) |
- return; |
- t3 = t2.listenerHasValue_1 === true; |
- if (t3) { |
- t4 = t2.listenerValueOrError_2; |
- t5 = J.getInterceptor(t4); |
- t5 = typeof t4 === "object" && t4 !== null && !!t5.$isFuture; |
- t4 = t5; |
- } else |
- t4 = false; |
- if (t4) { |
- chainSource = t2.listenerValueOrError_2; |
- t2 = J.getInterceptor(chainSource); |
- if (typeof chainSource === "object" && chainSource !== null && !!t2.$is_Future && chainSource._state >= 4) { |
- listeners._state = 2; |
- t1.source_4 = chainSource; |
- continue; |
- } |
- P._Future__chainFutures(chainSource, listeners); |
- return; |
- } |
- if (t3) { |
- listeners0 = listeners._removeListeners$0(); |
- t2 = t2.listenerValueOrError_2; |
- listeners._state = 4; |
- listeners._resultOrListeners = t2; |
- } else { |
- listeners0 = listeners._removeListeners$0(); |
- asyncError = t2.listenerValueOrError_2; |
- t2 = J.get$error$x(asyncError); |
- t3 = asyncError.get$stackTrace(); |
- listeners._state = 8; |
- listeners._resultOrListeners = new P._AsyncError(t2, t3); |
- } |
- t1.source_4 = listeners; |
- listeners = listeners0; |
- } |
-}} |
- |
-}, |
- |
-_Future__addListener_closure: {"": "Closure;this_0,listener_1", |
- call$0: function() { |
- P._Future__propagateToListeners(this.this_0, this.listener_1); |
- } |
-}, |
- |
-_Future__chainFutures_closure: {"": "Closure;target_0", |
- call$1: function(value) { |
- this.target_0._complete$1(value); |
- }, |
- $is_args1: true |
-}, |
- |
-_Future__chainFutures_closure0: {"": "Closure;target_1", |
- call$2: function(error, stackTrace) { |
- this.target_1._completeError$2(error, stackTrace); |
- }, |
- call$1: function(error) { |
- return this.call$2(error, null); |
- }, |
- $is_args2: true, |
- $is_args1: true |
-}, |
- |
-_Future__asyncComplete_closure: {"": "Closure;this_0,value_1", |
- call$0: function() { |
- this.this_0._complete$1(this.value_1); |
- } |
-}, |
- |
-_Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2", |
- call$0: function() { |
- this.this_0._completeError$2(this.error_1, this.stackTrace_2); |
- } |
-}, |
- |
-_Future__propagateToListeners_closure: {"": "Closure;box_2,listener_3", |
- call$0: function() { |
- P._Future__propagateToListeners(this.box_2.source_4, this.listener_3); |
- } |
-}, |
- |
-_Future__propagateToListeners_closure0: {"": "Closure;box_2,box_1,hasError_4,listener_5", |
- call$0: function() { |
- var t1, value, asyncError, test, matchesTest, errorCallback, e, s, t2, t3, t4, exception; |
- t1 = {}; |
- try { |
- t2 = this.box_2; |
- if (!this.hasError_4) { |
- value = t2.source_4.get$_value(); |
- t2 = this.listener_5; |
- t3 = t2._state === 2 ? null : t2._onValueCallback; |
- t4 = this.box_1; |
- if (t3 != null) { |
- t4.listenerValueOrError_2 = t2._onValue$1(value); |
- t4.listenerHasValue_1 = true; |
- } else { |
- t4.listenerValueOrError_2 = value; |
- t4.listenerHasValue_1 = true; |
- } |
- } else { |
- asyncError = t2.source_4.get$_error(); |
- t2 = this.listener_5; |
- test = t2._state === 2 ? null : t2._errorTestCallback; |
- matchesTest = true; |
- if (test != null) |
- matchesTest = test.call$1(J.get$error$x(asyncError)); |
- if (matchesTest === true) |
- t3 = (t2._state === 2 ? null : t2._onErrorCallback) != null; |
- else |
- t3 = false; |
- if (t3) { |
- errorCallback = t2._state === 2 ? null : t2._onErrorCallback; |
- t2 = this.box_1; |
- t2.listenerValueOrError_2 = P._invokeErrorHandler(errorCallback, J.get$error$x(asyncError), asyncError.get$stackTrace()); |
- t2.listenerHasValue_1 = true; |
- } else { |
- t2 = this.box_1; |
- t2.listenerValueOrError_2 = asyncError; |
- t2.listenerHasValue_1 = false; |
- } |
- } |
- t2 = this.listener_5; |
- if ((t2._state === 2 ? null : t2._whenCompleteActionCallback) != null) { |
- t1.completeResult_0 = t2._whenCompleteAction$0(); |
- t3 = t1.completeResult_0; |
- t4 = J.getInterceptor(t3); |
- if (typeof t3 === "object" && t3 !== null && !!t4.$isFuture) { |
- t2.set$_isChained(true); |
- t1.completeResult_0.then$2$onError(new P._Future__propagateToListeners__closure(this.box_2, t2), new P._Future__propagateToListeners__closure0(t1, t2)); |
- this.box_1.isPropagationAborted_3 = true; |
- } |
- } |
- } catch (exception) { |
- t1 = H.unwrapException(exception); |
- e = t1; |
- s = new H._StackTrace(exception, null); |
- if (this.hasError_4) { |
- t1 = J.get$error$x(this.box_2.source_4.get$_error()); |
- t2 = e; |
- t2 = t1 == null ? t2 == null : t1 === t2; |
- t1 = t2; |
- } else |
- t1 = false; |
- t2 = this.box_1; |
- if (t1) |
- t2.listenerValueOrError_2 = this.box_2.source_4.get$_error(); |
- else |
- t2.listenerValueOrError_2 = new P._AsyncError(P._asyncError(e, s), s); |
- this.box_1.listenerHasValue_1 = false; |
- } |
- |
- } |
-}, |
- |
-_Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6", |
- call$1: function(ignored) { |
- P._Future__propagateToListeners(this.box_2.source_4, this.listener_6); |
- }, |
- $is_args1: true |
-}, |
- |
-_Future__propagateToListeners__closure0: {"": "Closure;box_0,listener_7", |
- call$2: function(error, stackTrace) { |
- var t1, t2, t3; |
- t1 = this.box_0; |
- t2 = t1.completeResult_0; |
- t3 = J.getInterceptor(t2); |
- if (typeof t2 !== "object" || t2 === null || !t3.$is_Future) { |
- t1.completeResult_0 = P._Future$(null); |
- t1.completeResult_0._setError$2(error, stackTrace); |
- } |
- P._Future__propagateToListeners(t1.completeResult_0, this.listener_7); |
- }, |
- call$1: function(error) { |
- return this.call$2(error, null); |
- }, |
- $is_args2: true, |
- $is_args1: true |
-}, |
- |
-Stream: {"": "Object;", |
- forEach$1: function(_, action) { |
- var t1, future; |
- t1 = {}; |
- future = P._Future$(null); |
- t1.subscription_0 = null; |
- t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_forEach_closure(t1, this, action, future), true, new P.Stream_forEach_closure0(future), future.get$_completeError()); |
- return future; |
- }, |
- get$length: function(_) { |
- var t1, future; |
- t1 = {}; |
- future = P._Future$(J.JSInt); |
- t1.count_0 = 0; |
- this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1), true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); |
- return future; |
- } |
-}, |
- |
-Stream_forEach_closure: {"": "Closure;box_0,this_1,action_2,future_3", |
- call$1: function(element) { |
- P._runUserCode(new P.Stream_forEach__closure(this.action_2, element), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this.box_0.subscription_0, this.future_3)); |
- }, |
- $is_args1: true |
-}, |
- |
-Stream_forEach__closure: {"": "Closure;action_4,element_5", |
- call$0: function() { |
- return this.action_4.call$1(this.element_5); |
- } |
-}, |
- |
-Stream_forEach__closure0: {"": "Closure;", |
- call$1: function(_) { |
- }, |
- $is_args1: true |
-}, |
- |
-Stream_forEach_closure0: {"": "Closure;future_6", |
- call$0: function() { |
- this.future_6._complete$1(null); |
- } |
-}, |
- |
-Stream_length_closure: {"": "Closure;box_0", |
- call$1: function(_) { |
- var t1 = this.box_0; |
- t1.count_0 = t1.count_0 + 1; |
- }, |
- $is_args1: true |
-}, |
- |
-Stream_length_closure0: {"": "Closure;box_0,future_1", |
- call$0: function() { |
- this.future_1._complete$1(this.box_0.count_0); |
- } |
-}, |
- |
-StreamSubscription: {"": "Object;"}, |
- |
-_StreamController: {"": "Object;", |
- get$_pendingEvents: function() { |
- if ((this._state & 8) === 0) |
- return this._varData; |
- return this._varData.get$varData(); |
- }, |
- _ensurePendingEvents$0: function() { |
- if ((this._state & 8) === 0) { |
- if (this._varData == null) |
- this._varData = new P._StreamImplEvents(null, null, 0); |
- return this._varData; |
- } |
- var t1 = this._varData.get$varData(); |
- return t1; |
- }, |
- get$_subscription: function() { |
- if ((this._state & 8) !== 0) |
- return this._varData.get$varData(); |
- return this._varData; |
- }, |
- _badEventState$0: function() { |
- if ((this._state & 4) !== 0) |
- return new P.StateError("Cannot add event after closing"); |
- return new P.StateError("Cannot add event while adding a stream"); |
- }, |
- _ensureDoneFuture$0: function() { |
- if (this._doneFuture == null) { |
- this._doneFuture = P._Future$(null); |
- if ((this._state & 2) !== 0) |
- this._doneFuture._complete$1(null); |
- } |
- return this._doneFuture; |
- }, |
- close$0: function(_) { |
- var t1 = this._state; |
- if ((t1 & 4) !== 0) |
- return this._doneFuture; |
- if (t1 >= 4) |
- throw H.wrapException(this._badEventState$0()); |
- this._state = (t1 | 4) >>> 0; |
- this._ensureDoneFuture$0(); |
- t1 = this._state; |
- if ((t1 & 1) !== 0) |
- this._sendDone$0(); |
- else if ((t1 & 3) === 0) { |
- t1 = this._ensurePendingEvents$0(); |
- t1.add$1(t1, C.C__DelayedDone); |
- } |
- return this._doneFuture; |
- }, |
- _async$_add$1: function(value) { |
- var t1 = this._state; |
- if ((t1 & 1) !== 0) |
- this._sendData$1(value); |
- else if ((t1 & 3) === 0) { |
- t1 = this._ensurePendingEvents$0(); |
- t1.add$1(t1, new P._DelayedData(value, null)); |
- } |
- }, |
- _subscribe$1: function(cancelOnError) { |
- var t1, t2, subscription, pendingEvents; |
- if ((this._state & 3) !== 0) |
- throw H.wrapException(P.StateError$("Stream has already been listened to.")); |
- t1 = $.Zone__current; |
- t2 = cancelOnError ? 1 : 0; |
- subscription = new P._ControllerSubscription(this, null, null, null, t1, t2, null, null); |
- H.setRuntimeTypeInfo(subscription, [null]); |
- pendingEvents = this.get$_pendingEvents(); |
- this._state = (this._state | 1) >>> 0; |
- if ((this._state & 8) !== 0) |
- this._varData.set$varData(subscription); |
- else |
- this._varData = subscription; |
- subscription._setPendingEvents$1(pendingEvents); |
- subscription._guardCallback$1(new P._StreamController__subscribe_closure(this)); |
- return subscription; |
- }, |
- _recordCancel$1: function(subscription) { |
- var t1, future; |
- if ((this._state & 8) !== 0) |
- this._varData.cancel$0(); |
- this._varData = null; |
- this._state = (this._state & 4294967286 | 2) >>> 0; |
- t1 = new P._StreamController__recordCancel_complete(this); |
- future = P._runGuarded(this.get$_onCancel()); |
- if (future != null) |
- future = future.whenComplete$1(t1); |
- else |
- t1.call$0(); |
- return future; |
- } |
-}, |
- |
-_StreamController__subscribe_closure: {"": "Closure;this_0", |
- call$0: function() { |
- P._runGuarded(this.this_0.get$_onListen()); |
- } |
-}, |
- |
-_StreamController__recordCancel_complete: {"": "Closure;this_0", |
- call$0: function() { |
- var t1 = this.this_0._doneFuture; |
- if (t1 != null && t1._state === 0) |
- t1._asyncComplete$1(null); |
- } |
-}, |
- |
-_SyncStreamControllerDispatch: {"": "Object;", |
- _sendData$1: function(data) { |
- this.get$_subscription()._async$_add$1(data); |
- }, |
- _sendDone$0: function() { |
- this.get$_subscription()._close$0(); |
- } |
-}, |
- |
-_AsyncStreamControllerDispatch: {"": "Object;", |
- _sendData$1: function(data) { |
- this.get$_subscription()._addPending$1(new P._DelayedData(data, null)); |
- }, |
- _sendDone$0: function() { |
- this.get$_subscription()._addPending$1(C.C__DelayedDone); |
- } |
-}, |
- |
-_AsyncStreamController: {"": "_StreamController__AsyncStreamControllerDispatch;_onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"}, |
- |
-_StreamController__AsyncStreamControllerDispatch: {"": "_StreamController+_AsyncStreamControllerDispatch;"}, |
- |
-_SyncStreamController: {"": "_StreamController__SyncStreamControllerDispatch;_onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"}, |
- |
-_StreamController__SyncStreamControllerDispatch: {"": "_StreamController+_SyncStreamControllerDispatch;"}, |
- |
-_ControllerStream: {"": "_StreamImpl;_async$_controller", |
- _createSubscription$1: function(cancelOnError) { |
- return this._async$_controller._subscribe$1(cancelOnError); |
- }, |
- get$hashCode: function(_) { |
- return (H.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0; |
- }, |
- $eq: function(_, other) { |
- var t1; |
- if (other == null) |
- return false; |
- if (this === other) |
- return true; |
- t1 = J.getInterceptor(other); |
- if (typeof other !== "object" || other === null || !t1.$is_ControllerStream) |
- return false; |
- return other._async$_controller === this._async$_controller; |
- }, |
- $is_ControllerStream: true, |
- $as_StreamImpl: null |
-}, |
- |
-_ControllerSubscription: {"": "_BufferingStreamSubscription;_async$_controller,_async$_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending", |
- _onCancel$0: function() { |
- return this._async$_controller._recordCancel$1(this); |
- }, |
- _onPause$0: function() { |
- var t1, addState; |
- t1 = this._async$_controller; |
- if ((t1._state & 8) !== 0) { |
- addState = t1._varData; |
- addState.pause$0(addState); |
- } |
- P._runGuarded(t1.get$_onPause()); |
- }, |
- get$_onPause: function() { |
- return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onPause$0, null, "_onPause$0"); |
- }, |
- _onResume$0: function() { |
- var t1 = this._async$_controller; |
- if ((t1._state & 8) !== 0) |
- t1._varData.resume$0(); |
- P._runGuarded(t1.get$_onResume()); |
- }, |
- get$_onResume: function() { |
- return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onResume$0, null, "_onResume$0"); |
- }, |
- $as_BufferingStreamSubscription: null |
-}, |
- |
-_EventSink: {"": "Object;"}, |
- |
-_BufferingStreamSubscription: {"": "Object;_async$_onData,_onError,_onDone,_zone<,_state,_cancelFuture,_pending", |
- _setPendingEvents$1: function(pendingEvents) { |
- if (pendingEvents == null) |
- return; |
- this._pending = pendingEvents; |
- if (!pendingEvents.get$isEmpty(pendingEvents)) { |
- this._state = (this._state | 64) >>> 0; |
- this._pending.schedule$1(this); |
- } |
- }, |
- onData$1: function(handleData) { |
- $.Zone__current.toString; |
- this._async$_onData = handleData; |
- }, |
- onError$1: function(_, handleError) { |
- this._onError = P._registerErrorHandler(handleError, $.Zone__current); |
- }, |
- onDone$1: function(handleDone) { |
- $.Zone__current.toString; |
- this._onDone = handleDone; |
- }, |
- pause$1: function(_, resumeSignal) { |
- var t1 = this._state; |
- if ((t1 & 8) !== 0) |
- return; |
- this._state = (t1 + 128 | 4) >>> 0; |
- if (t1 < 128 && this._pending != null) |
- this._pending.cancelSchedule$0(); |
- if ((t1 & 4) === 0 && (this._state & 32) === 0) |
- this._guardCallback$1(this.get$_onPause()); |
- }, |
- pause$0: function($receiver) { |
- return this.pause$1($receiver, null); |
- }, |
- resume$0: function() { |
- var t1, t2; |
- t1 = this._state; |
- if ((t1 & 8) !== 0) |
- return; |
- if (t1 >= 128) { |
- this._state = t1 - 128; |
- t1 = this._state; |
- if (t1 < 128) { |
- if ((t1 & 64) !== 0) { |
- t2 = this._pending; |
- t2 = !t2.get$isEmpty(t2); |
- } else |
- t2 = false; |
- if (t2) |
- this._pending.schedule$1(this); |
- else { |
- this._state = (t1 & 4294967291) >>> 0; |
- if ((this._state & 32) === 0) |
- this._guardCallback$1(this.get$_onResume()); |
- } |
- } |
- } |
- }, |
- cancel$0: function() { |
- this._state = (this._state & 4294967279) >>> 0; |
- if ((this._state & 8) !== 0) |
- return this._cancelFuture; |
- this._cancel$0(); |
- return this._cancelFuture; |
- }, |
- get$_mayResumeInput: function() { |
- if (this._state < 128) { |
- var t1 = this._pending; |
- t1 = t1 == null || t1.get$isEmpty(t1); |
- } else |
- t1 = false; |
- return t1; |
- }, |
- _cancel$0: function() { |
- this._state = (this._state | 8) >>> 0; |
- if ((this._state & 64) !== 0) |
- this._pending.cancelSchedule$0(); |
- if ((this._state & 32) === 0) |
- this._pending = null; |
- this._cancelFuture = this._onCancel$0(); |
- }, |
- _async$_add$1: function(data) { |
- var t1 = this._state; |
- if ((t1 & 8) !== 0) |
- return; |
- if (t1 < 32) |
- this._sendData$1(data); |
- else |
- this._addPending$1(new P._DelayedData(data, null)); |
- }, |
- _close$0: function() { |
- var t1 = this._state; |
- if ((t1 & 8) !== 0) |
- return; |
- this._state = (t1 | 2) >>> 0; |
- if (this._state < 32) |
- this._sendDone$0(); |
- else |
- this._addPending$1(C.C__DelayedDone); |
- }, |
- _onPause$0: function() { |
- }, |
- get$_onPause: function() { |
- return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._onPause$0, null, "_onPause$0"); |
- }, |
- _onResume$0: function() { |
- }, |
- get$_onResume: function() { |
- return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._onResume$0, null, "_onResume$0"); |
- }, |
- _onCancel$0: function() { |
- }, |
- _addPending$1: function($event) { |
- var pending, t1; |
- pending = this._pending; |
- if (pending == null) { |
- pending = new P._StreamImplEvents(null, null, 0); |
- this._pending = pending; |
- } |
- pending.add$1(pending, $event); |
- t1 = this._state; |
- if ((t1 & 64) === 0) { |
- this._state = (t1 | 64) >>> 0; |
- if (this._state < 128) |
- this._pending.schedule$1(this); |
- } |
- }, |
- _sendData$1: function(data) { |
- var t1 = this._state; |
- this._state = (t1 | 32) >>> 0; |
- this._zone.runUnaryGuarded$2(this._async$_onData, data); |
- this._state = (this._state & 4294967263) >>> 0; |
- this._checkState$1((t1 & 4) !== 0); |
- }, |
- _sendDone$0: function() { |
- var t1, t2, t3; |
- t1 = new P._BufferingStreamSubscription__sendDone_sendDone(this); |
- this._cancel$0(); |
- this._state = (this._state | 16) >>> 0; |
- t2 = this._cancelFuture; |
- t3 = J.getInterceptor(t2); |
- if (typeof t2 === "object" && t2 !== null && !!t3.$isFuture) |
- t2.whenComplete$1(t1); |
- else |
- t1.call$0(); |
- }, |
- _guardCallback$1: function(callback) { |
- var t1 = this._state; |
- this._state = (t1 | 32) >>> 0; |
- callback.call$0(); |
- this._state = (this._state & 4294967263) >>> 0; |
- this._checkState$1((t1 & 4) !== 0); |
- }, |
- _checkState$1: function(wasInputPaused) { |
- var t1, t2, isInputPaused; |
- t1 = this._state; |
- if ((t1 & 64) !== 0) { |
- t2 = this._pending; |
- t2 = t2.get$isEmpty(t2); |
- } else |
- t2 = false; |
- if (t2) { |
- this._state = (t1 & 4294967231) >>> 0; |
- if ((this._state & 4) !== 0 && this.get$_mayResumeInput()) |
- this._state = (this._state & 4294967291) >>> 0; |
- } |
- for (; true; wasInputPaused = isInputPaused) { |
- t1 = this._state; |
- if ((t1 & 8) !== 0) { |
- this._pending = null; |
- return; |
- } |
- isInputPaused = (t1 & 4) !== 0; |
- if (wasInputPaused === isInputPaused) |
- break; |
- this._state = (t1 ^ 32) >>> 0; |
- if (isInputPaused) |
- this._onPause$0(); |
- else |
- this._onResume$0(); |
- this._state = (this._state & 4294967263) >>> 0; |
- } |
- t1 = this._state; |
- if ((t1 & 64) !== 0 && t1 < 128) |
- this._pending.schedule$1(this); |
- }, |
- static: { |
-"": "_BufferingStreamSubscription__STATE_CANCEL_ON_ERROR,_BufferingStreamSubscription__STATE_CLOSED,_BufferingStreamSubscription__STATE_INPUT_PAUSED,_BufferingStreamSubscription__STATE_CANCELED,_BufferingStreamSubscription__STATE_WAIT_FOR_CANCEL,_BufferingStreamSubscription__STATE_IN_CALLBACK,_BufferingStreamSubscription__STATE_HAS_PENDING,_BufferingStreamSubscription__STATE_PAUSE_COUNT,_BufferingStreamSubscription__STATE_PAUSE_COUNT_SHIFT", |
-} |
- |
-}, |
- |
-_BufferingStreamSubscription__sendDone_sendDone: {"": "Closure;this_0", |
- call$0: function() { |
- var t1, t2; |
- t1 = this.this_0; |
- t2 = t1._state; |
- if ((t2 & 16) === 0) |
- return; |
- t1._state = (t2 | 42) >>> 0; |
- t1._zone.runGuarded$1(t1._onDone); |
- t1._state = (t1._state & 4294967263) >>> 0; |
- } |
-}, |
- |
-_StreamImpl: {"": "Stream;", |
- listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
- var subscription = this._createSubscription$1(true === cancelOnError); |
- subscription.onData$1(onData); |
- subscription.onError$1(subscription, onError); |
- subscription.onDone$1(onDone); |
- return subscription; |
- }, |
- _createSubscription$1: function(cancelOnError) { |
- var t1, t2; |
- t1 = $.Zone__current; |
- t2 = cancelOnError ? 1 : 0; |
- return new P._BufferingStreamSubscription(null, null, null, t1, t2, null, null); |
- }, |
- $asStream: null |
-}, |
- |
-_DelayedEvent: {"": "Object;next@"}, |
- |
-_DelayedData: {"": "_DelayedEvent;value,next", |
- perform$1: function(dispatch) { |
- dispatch._sendData$1(this.value); |
- } |
-}, |
- |
-_DelayedDone: {"": "Object;", |
- perform$1: function(dispatch) { |
- dispatch._sendDone$0(); |
- }, |
- get$next: function() { |
- return; |
- }, |
- set$next: function(_) { |
- throw H.wrapException(P.StateError$("No events after a done.")); |
- } |
-}, |
- |
-_PendingEvents: {"": "Object;", |
- schedule$1: function(dispatch) { |
- var t1 = this._state; |
- if (t1 === 1) |
- return; |
- if (t1 >= 1) { |
- this._state = 1; |
- return; |
- } |
- P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch)); |
- this._state = 1; |
- }, |
- cancelSchedule$0: function() { |
- if (this._state === 1) |
- this._state = 3; |
- } |
-}, |
- |
-_PendingEvents_schedule_closure: {"": "Closure;this_0,dispatch_1", |
- call$0: function() { |
- var t1, oldState; |
- t1 = this.this_0; |
- oldState = t1._state; |
- t1._state = 0; |
- if (oldState === 3) |
- return; |
- t1.handleNext$1(this.dispatch_1); |
- } |
-}, |
- |
-_StreamImplEvents: {"": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state", |
- get$isEmpty: function(_) { |
- return this.lastPendingEvent == null; |
- }, |
- add$1: function(_, $event) { |
- var t1 = this.lastPendingEvent; |
- if (t1 == null) { |
- this.lastPendingEvent = $event; |
- this.firstPendingEvent = $event; |
- } else { |
- t1.set$next($event); |
- this.lastPendingEvent = $event; |
- } |
- }, |
- handleNext$1: function(dispatch) { |
- var $event = this.firstPendingEvent; |
- this.firstPendingEvent = $event.get$next(); |
- if (this.firstPendingEvent == null) |
- this.lastPendingEvent = null; |
- $event.perform$1(dispatch); |
- } |
-}, |
- |
-_cancelAndError_closure: {"": "Closure;future_0,error_1,stackTrace_2", |
- call$0: function() { |
- return this.future_0._completeError$2(this.error_1, this.stackTrace_2); |
- } |
-}, |
- |
-_cancelAndErrorClosure_closure: {"": "Closure;subscription_0,future_1", |
- call$2: function(error, stackTrace) { |
- return P._cancelAndError(this.subscription_0, this.future_1, error, stackTrace); |
- }, |
- $is_args2: true |
-}, |
- |
-_BaseZone: {"": "Object;", |
- runGuarded$1: function(f) { |
- var e, s, t1, exception; |
- try { |
- t1 = this.run$1(f); |
- return t1; |
- } catch (exception) { |
- t1 = H.unwrapException(exception); |
- e = t1; |
- s = new H._StackTrace(exception, null); |
- return this.handleUncaughtError$2(e, s); |
- } |
- |
- }, |
- runUnaryGuarded$2: function(f, arg) { |
- var e, s, t1, exception; |
- try { |
- t1 = this.runUnary$2(f, arg); |
- return t1; |
- } catch (exception) { |
- t1 = H.unwrapException(exception); |
- e = t1; |
- s = new H._StackTrace(exception, null); |
- return this.handleUncaughtError$2(e, s); |
- } |
- |
- }, |
- bindCallback$2$runGuarded: function(f, runGuarded) { |
- var registered = this.registerCallback$1(f); |
- if (runGuarded) |
- return new P._BaseZone_bindCallback_closure(this, registered); |
- else |
- return new P._BaseZone_bindCallback_closure0(this, registered); |
- }, |
- bindUnaryCallback$2$runGuarded: function(f, runGuarded) { |
- var registered = this.registerUnaryCallback$1(f); |
- if (runGuarded) |
- return new P._BaseZone_bindUnaryCallback_closure(this, registered); |
- else |
- return new P._BaseZone_bindUnaryCallback_closure0(this, registered); |
- } |
-}, |
- |
-_BaseZone_bindCallback_closure: {"": "Closure;this_0,registered_1", |
- call$0: function() { |
- return this.this_0.runGuarded$1(this.registered_1); |
- } |
-}, |
- |
-_BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3", |
- call$0: function() { |
- return this.this_2.run$1(this.registered_3); |
- } |
-}, |
- |
-_BaseZone_bindUnaryCallback_closure: {"": "Closure;this_0,registered_1", |
- call$1: function(arg) { |
- return this.this_0.runUnaryGuarded$2(this.registered_1, arg); |
- }, |
- $is_args1: true |
-}, |
- |
-_BaseZone_bindUnaryCallback_closure0: {"": "Closure;this_2,registered_3", |
- call$1: function(arg) { |
- return this.this_2.runUnary$2(this.registered_3, arg); |
- }, |
- $is_args1: true |
-}, |
- |
-_rootHandleUncaughtError_closure: {"": "Closure;error_0,stackTrace_1", |
- call$0: function() { |
- P._scheduleAsyncCallback(new P._rootHandleUncaughtError__closure(this.error_0, this.stackTrace_1)); |
- } |
-}, |
- |
-_rootHandleUncaughtError__closure: {"": "Closure;error_2,stackTrace_3", |
- call$0: function() { |
- var t1, trace; |
- t1 = this.error_2; |
- P.print("Uncaught Error: " + H.S(t1)); |
- trace = this.stackTrace_3; |
- if (trace == null) |
- trace = P.getAttachedStackTrace(t1); |
- P._attachStackTrace(t1, null); |
- if (trace != null) |
- P.print("Stack Trace: \n" + H.S(trace) + "\n"); |
- throw H.wrapException(t1); |
- } |
-}, |
- |
-_RootZone: {"": "_BaseZone;", |
- $index: function(_, key) { |
- return; |
- }, |
- handleUncaughtError$2: function(error, stackTrace) { |
- return P._rootHandleUncaughtError(this, null, this, error, stackTrace); |
- }, |
- run$1: function(f) { |
- return P._rootRun(this, null, this, f); |
- }, |
- runUnary$2: function(f, arg) { |
- return P._rootRunUnary(this, null, this, f, arg); |
- }, |
- registerCallback$1: function(f) { |
- return f; |
- }, |
- registerUnaryCallback$1: function(f) { |
- return f; |
- } |
-}}], |
-["dart.collection", "dart:collection", , P, { |
-_HashSet__newHashTable: function() { |
- var table = Object.create(null); |
- table["<non-identifier-key>"] = table; |
- delete table["<non-identifier-key>"]; |
- return table; |
-}, |
- |
-_defaultEquals: function(a, b) { |
- return J.$eq(a, b); |
-}, |
- |
-_defaultHashCode: function(a) { |
- return J.get$hashCode$(a); |
-}, |
- |
-HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { |
- var t1 = new P._HashMap(0, null, null, null, null); |
- H.setRuntimeTypeInfo(t1, [$K, $V]); |
- return t1; |
-}, |
- |
-_iterableToString: function(iterable) { |
- var parts, t1; |
- t1 = $.get$_toStringVisiting(); |
- if (t1.contains$1(t1, iterable)) |
- return "(...)"; |
- t1 = $.get$_toStringVisiting(); |
- t1.add$1(t1, iterable); |
- parts = []; |
- try { |
- P._iterablePartsToStrings(iterable, parts); |
- } finally { |
- t1 = $.get$_toStringVisiting(); |
- t1.remove$1(t1, iterable); |
- } |
- t1 = P.StringBuffer$("("); |
- t1.writeAll$2(parts, ", "); |
- t1.write$1(")"); |
- return t1._contents; |
-}, |
- |
-_iterablePartsToStrings: function(iterable, parts) { |
- var it, $length, count, next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision; |
- it = iterable.get$iterator(iterable); |
- $length = 0; |
- count = 0; |
- while (true) { |
- if (!($length < 80 || count < 3)) |
- break; |
- if (!it.moveNext$0()) |
- return; |
- next = H.S(it.get$current()); |
- parts.push(next); |
- $length += next.length + 2; |
- ++count; |
- } |
- if (!it.moveNext$0()) { |
- if (count <= 5) |
- return; |
- if (0 >= parts.length) |
- throw H.ioore(parts, 0); |
- ultimateString = parts.pop(); |
- if (0 >= parts.length) |
- throw H.ioore(parts, 0); |
- penultimateString = parts.pop(); |
- } else { |
- penultimate = it.get$current(); |
- ++count; |
- if (!it.moveNext$0()) { |
- if (count <= 4) { |
- parts.push(H.S(penultimate)); |
- return; |
- } |
- ultimateString = H.S(penultimate); |
- if (0 >= parts.length) |
- throw H.ioore(parts, 0); |
- penultimateString = parts.pop(); |
- $length += ultimateString.length + 2; |
- } else { |
- ultimate = it.get$current(); |
- ++count; |
- for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { |
- ultimate0 = it.get$current(); |
- ++count; |
- if (count > 100) { |
- while (true) { |
- if (!($length > 75 && count > 3)) |
- break; |
- if (0 >= parts.length) |
- throw H.ioore(parts, 0); |
- $length -= parts.pop().length + 2; |
- --count; |
- } |
- parts.push("..."); |
- return; |
- } |
- } |
- penultimateString = H.S(penultimate); |
- ultimateString = H.S(ultimate); |
- $length += ultimateString.length + penultimateString.length + 4; |
- } |
- } |
- if (count > parts.length + 2) { |
- $length += 5; |
- elision = "..."; |
- } else |
- elision = null; |
- while (true) { |
- if (!($length > 80 && parts.length > 3)) |
- break; |
- if (0 >= parts.length) |
- throw H.ioore(parts, 0); |
- $length -= parts.pop().length + 2; |
- if (elision == null) { |
- $length += 5; |
- elision = "..."; |
- } |
- } |
- if (elision != null) |
- parts.push(elision); |
- parts.push(penultimateString); |
- parts.push(ultimateString); |
-}, |
- |
-LinkedHashMap_LinkedHashMap: function(equals, hashCode, isValidKey, $K, $V) { |
- var t1 = new P._LinkedHashMap(0, null, null, null, null, null, 0); |
- H.setRuntimeTypeInfo(t1, [$K, $V]); |
- return t1; |
-}, |
- |
-Maps_mapToString: function(m) { |
- var t1, result, i, t2; |
- t1 = {}; |
- for (i = 0; i < $.get$Maps__toStringList().length; ++i) { |
- t2 = $.get$Maps__toStringList(); |
- if (i >= t2.length) |
- throw H.ioore(t2, i); |
- if (t2[i] === m) |
- return "{...}"; |
- } |
- result = P.StringBuffer$(""); |
- try { |
- $.get$Maps__toStringList().push(m); |
- result.write$1("{"); |
- t1.first_0 = true; |
- J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result)); |
- result.write$1("}"); |
- } finally { |
- t1 = $.get$Maps__toStringList(); |
- if (0 >= t1.length) |
- throw H.ioore(t1, 0); |
- t1.pop(); |
- } |
- return result.get$_contents(); |
-}, |
- |
-_HashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_keys", |
- get$length: function(_) { |
- return this._collection$_length; |
- }, |
- get$keys: function() { |
- var t1 = new P.HashMapKeyIterable(this); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]); |
- return t1; |
- }, |
- get$values: function(_) { |
- var t1 = new P.HashMapKeyIterable(this); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]); |
- return H.MappedIterable_MappedIterable(t1, new P._HashMap_values_closure(this), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null); |
- }, |
- $index: function(_, key) { |
- var strings, t1, entry, nums, rest, bucket, index; |
- if (typeof key === "string" && key !== "__proto__") { |
- strings = this._strings; |
- if (strings == null) |
- t1 = null; |
- else { |
- entry = strings[key]; |
- t1 = entry === strings ? null : entry; |
- } |
- return t1; |
- } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
- nums = this._nums; |
- if (nums == null) |
- t1 = null; |
- else { |
- entry = nums[key]; |
- t1 = entry === nums ? null : entry; |
- } |
- return t1; |
- } else { |
- rest = this._rest; |
- if (rest == null) |
- return; |
- bucket = rest[this._computeHashCode$1(key)]; |
- index = this._findBucketIndex$2(bucket, key); |
- return index < 0 ? null : bucket[index + 1]; |
- } |
- }, |
- $indexSet: function(_, key, value) { |
- var strings, nums, rest, hash, bucket, index; |
- if (typeof key === "string" && key !== "__proto__") { |
- strings = this._strings; |
- if (strings == null) { |
- strings = P._HashMap__newHashTable(); |
- this._strings = strings; |
- } |
- this._addHashTableEntry$3(strings, key, value); |
- } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
- nums = this._nums; |
- if (nums == null) { |
- nums = P._HashMap__newHashTable(); |
- this._nums = nums; |
- } |
- this._addHashTableEntry$3(nums, key, value); |
- } else { |
- rest = this._rest; |
- if (rest == null) { |
- rest = P._HashMap__newHashTable(); |
- this._rest = rest; |
- } |
- hash = this._computeHashCode$1(key); |
- bucket = rest[hash]; |
- if (bucket == null) { |
- P._HashMap__setTableEntry(rest, hash, [key, value]); |
- this._collection$_length = this._collection$_length + 1; |
- this._keys = null; |
- } else { |
- index = this._findBucketIndex$2(bucket, key); |
- if (index >= 0) |
- bucket[index + 1] = value; |
- else { |
- bucket.push(key, value); |
- this._collection$_length = this._collection$_length + 1; |
- this._keys = null; |
- } |
- } |
- } |
- }, |
- forEach$1: function(_, action) { |
- var keys, $length, i, key; |
- keys = this._computeKeys$0(); |
- for ($length = keys.length, i = 0; i < $length; ++i) { |
- key = keys[i]; |
- action.call$2(key, this.$index(this, key)); |
- if (keys !== this._keys) |
- throw H.wrapException(P.ConcurrentModificationError$(this)); |
- } |
- }, |
- _computeKeys$0: function() { |
- var t1, result, strings, names, entries, index, i, nums, rest, bucket, $length, i0; |
- t1 = this._keys; |
- if (t1 != null) |
- return t1; |
- result = P.List_List(this._collection$_length, null); |
- strings = this._strings; |
- if (strings != null) { |
- names = Object.getOwnPropertyNames(strings); |
- entries = names.length; |
- for (index = 0, i = 0; i < entries; ++i) { |
- result[index] = names[i]; |
- ++index; |
- } |
- } else |
- index = 0; |
- nums = this._nums; |
- if (nums != null) { |
- names = Object.getOwnPropertyNames(nums); |
- entries = names.length; |
- for (i = 0; i < entries; ++i) { |
- result[index] = +names[i]; |
- ++index; |
- } |
- } |
- rest = this._rest; |
- if (rest != null) { |
- names = Object.getOwnPropertyNames(rest); |
- entries = names.length; |
- for (i = 0; i < entries; ++i) { |
- bucket = rest[names[i]]; |
- $length = bucket.length; |
- for (i0 = 0; i0 < $length; i0 += 2) { |
- result[index] = bucket[i0]; |
- ++index; |
- } |
- } |
- } |
- this._keys = result; |
- return result; |
- }, |
- _addHashTableEntry$3: function(table, key, value) { |
- if (table[key] == null) { |
- this._collection$_length = this._collection$_length + 1; |
- this._keys = null; |
- } |
- P._HashMap__setTableEntry(table, key, value); |
- }, |
- _computeHashCode$1: function(key) { |
- return J.get$hashCode$(key) & 0x3ffffff; |
- }, |
- _findBucketIndex$2: function(bucket, key) { |
- var $length, i; |
- if (bucket == null) |
- return -1; |
- $length = bucket.length; |
- for (i = 0; i < $length; i += 2) |
- if (J.$eq(bucket[i], key)) |
- return i; |
- return -1; |
- }, |
- $isMap: true, |
- static: { |
-_HashMap__setTableEntry: function(table, key, value) { |
- if (value == null) |
- table[key] = table; |
- else |
- table[key] = value; |
-}, |
- |
-_HashMap__newHashTable: function() { |
- var table = Object.create(null); |
- P._HashMap__setTableEntry(table, "<non-identifier-key>", table); |
- delete table["<non-identifier-key>"]; |
- return table; |
-}} |
- |
-}, |
- |
-_HashMap_values_closure: {"": "Closure;this_0", |
- call$1: function(each) { |
- var t1 = this.this_0; |
- return t1.$index(t1, each); |
- }, |
- $is_args1: true |
-}, |
- |
-HashMapKeyIterable: {"": "IterableBase;_map", |
- get$length: function(_) { |
- return this._map._collection$_length; |
- }, |
- get$iterator: function(_) { |
- var t1 = this._map; |
- return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null); |
- }, |
- forEach$1: function(_, f) { |
- var t1, keys, $length, i; |
- t1 = this._map; |
- keys = t1._computeKeys$0(); |
- for ($length = keys.length, i = 0; i < $length; ++i) { |
- f.call$1(keys[i]); |
- if (keys !== t1._keys) |
- throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- } |
- }, |
- $asIterableBase: null, |
- $isEfficientLength: true |
-}, |
- |
-HashMapKeyIterator: {"": "Object;_map,_keys,_offset,_collection$_current", |
- get$current: function() { |
- return this._collection$_current; |
- }, |
- moveNext$0: function() { |
- var keys, offset, t1; |
- keys = this._keys; |
- offset = this._offset; |
- t1 = this._map; |
- if (keys !== t1._keys) |
- throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- else if (offset >= keys.length) { |
- this._collection$_current = null; |
- return false; |
- } else { |
- this._collection$_current = keys[offset]; |
- this._offset = offset + 1; |
- return true; |
- } |
- } |
-}, |
- |
-_LinkedHashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_first,_last,_modifications", |
- get$length: function(_) { |
- return this._collection$_length; |
- }, |
- get$keys: function() { |
- var t1 = new P.LinkedHashMapKeyIterable(this); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0)]); |
- return t1; |
- }, |
- get$values: function(_) { |
- var t1 = new P.LinkedHashMapKeyIterable(this); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0)]); |
- return H.MappedIterable_MappedIterable(t1, new P._LinkedHashMap_values_closure(this), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null); |
- }, |
- containsKey$1: function(key) { |
- var nums, rest; |
- if ((key & 0x3ffffff) === key) { |
- nums = this._nums; |
- if (nums == null) |
- return false; |
- return nums[key] != null; |
- } else { |
- rest = this._rest; |
- if (rest == null) |
- return false; |
- return this._findBucketIndex$2(rest[this._computeHashCode$1(key)], key) >= 0; |
- } |
- }, |
- $index: function(_, key) { |
- var strings, cell, nums, rest, bucket, index; |
- if (typeof key === "string" && key !== "__proto__") { |
- strings = this._strings; |
- if (strings == null) |
- return; |
- cell = strings[key]; |
- return cell == null ? null : cell.get$_collection$_value(); |
- } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
- nums = this._nums; |
- if (nums == null) |
- return; |
- cell = nums[key]; |
- return cell == null ? null : cell.get$_collection$_value(); |
- } else { |
- rest = this._rest; |
- if (rest == null) |
- return; |
- bucket = rest[this._computeHashCode$1(key)]; |
- index = this._findBucketIndex$2(bucket, key); |
- if (index < 0) |
- return; |
- return bucket[index].get$_collection$_value(); |
- } |
- }, |
- $indexSet: function(_, key, value) { |
- var strings, nums, rest, hash, bucket, index; |
- if (typeof key === "string" && key !== "__proto__") { |
- strings = this._strings; |
- if (strings == null) { |
- strings = P._LinkedHashMap__newHashTable(); |
- this._strings = strings; |
- } |
- this._addHashTableEntry$3(strings, key, value); |
- } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
- nums = this._nums; |
- if (nums == null) { |
- nums = P._LinkedHashMap__newHashTable(); |
- this._nums = nums; |
- } |
- this._addHashTableEntry$3(nums, key, value); |
- } else { |
- rest = this._rest; |
- if (rest == null) { |
- rest = P._LinkedHashMap__newHashTable(); |
- this._rest = rest; |
- } |
- hash = this._computeHashCode$1(key); |
- bucket = rest[hash]; |
- if (bucket == null) |
- rest[hash] = [this._newLinkedCell$2(key, value)]; |
- else { |
- index = this._findBucketIndex$2(bucket, key); |
- if (index >= 0) |
- bucket[index].set$_collection$_value(value); |
- else |
- bucket.push(this._newLinkedCell$2(key, value)); |
- } |
- } |
- }, |
- remove$1: function(_, key) { |
- var rest, bucket, index, cell; |
- if (typeof key === "string" && key !== "__proto__") |
- return this._removeHashTableEntry$2(this._strings, key); |
- else if (typeof key === "number" && (key & 0x3ffffff) === key) |
- return this._removeHashTableEntry$2(this._nums, key); |
- else { |
- rest = this._rest; |
- if (rest == null) |
- return; |
- bucket = rest[this._computeHashCode$1(key)]; |
- index = this._findBucketIndex$2(bucket, key); |
- if (index < 0) |
- return; |
- cell = bucket.splice(index, 1)[0]; |
- this._unlinkCell$1(cell); |
- return cell.get$_collection$_value(); |
- } |
- }, |
- forEach$1: function(_, action) { |
- var cell, modifications; |
- cell = this._first; |
- modifications = this._modifications; |
- for (; cell != null;) { |
- action.call$2(cell._key, cell._collection$_value); |
- if (modifications !== this._modifications) |
- throw H.wrapException(P.ConcurrentModificationError$(this)); |
- cell = cell._next; |
- } |
- }, |
- _addHashTableEntry$3: function(table, key, value) { |
- var cell = table[key]; |
- if (cell == null) |
- table[key] = this._newLinkedCell$2(key, value); |
- else |
- cell.set$_collection$_value(value); |
- }, |
- _removeHashTableEntry$2: function(table, key) { |
- var cell; |
- if (table == null) |
- return; |
- cell = table[key]; |
- if (cell == null) |
- return; |
- this._unlinkCell$1(cell); |
- delete table[key]; |
- return cell.get$_collection$_value(); |
- }, |
- _newLinkedCell$2: function(key, value) { |
- var cell, last; |
- cell = new P.LinkedHashMapCell(key, value, null, null); |
- if (this._first == null) { |
- this._last = cell; |
- this._first = cell; |
- } else { |
- last = this._last; |
- cell._previous = last; |
- last._next = cell; |
- this._last = cell; |
- } |
- this._collection$_length = this._collection$_length + 1; |
- this._modifications = this._modifications + 1 & 67108863; |
- return cell; |
- }, |
- _unlinkCell$1: function(cell) { |
- var previous, next; |
- previous = cell.get$_previous(); |
- next = cell.get$_next(); |
- if (previous == null) |
- this._first = next; |
- else |
- previous._next = next; |
- if (next == null) |
- this._last = previous; |
- else |
- next._previous = previous; |
- this._collection$_length = this._collection$_length - 1; |
- this._modifications = this._modifications + 1 & 67108863; |
- }, |
- _computeHashCode$1: function(key) { |
- return J.get$hashCode$(key) & 0x3ffffff; |
- }, |
- _findBucketIndex$2: function(bucket, key) { |
- var $length, i; |
- if (bucket == null) |
- return -1; |
- $length = bucket.length; |
- for (i = 0; i < $length; ++i) |
- if (J.$eq(bucket[i].get$_key(), key)) |
- return i; |
- return -1; |
- }, |
- toString$0: function(_) { |
- return P.Maps_mapToString(this); |
- }, |
- $isMap: true, |
- static: { |
-_LinkedHashMap__newHashTable: function() { |
- var table = Object.create(null); |
- table["<non-identifier-key>"] = table; |
- delete table["<non-identifier-key>"]; |
- return table; |
-}} |
- |
-}, |
- |
-_LinkedHashMap_values_closure: {"": "Closure;this_0", |
- call$1: function(each) { |
- var t1 = this.this_0; |
- return t1.$index(t1, each); |
- }, |
- $is_args1: true |
-}, |
- |
-LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"}, |
- |
-LinkedHashMapKeyIterable: {"": "IterableBase;_map", |
- get$length: function(_) { |
- return this._map._collection$_length; |
- }, |
- get$iterator: function(_) { |
- var t1 = this._map; |
- t1 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null); |
- t1._cell = t1._map._first; |
- return t1; |
- }, |
- forEach$1: function(_, f) { |
- var t1, cell, modifications; |
- t1 = this._map; |
- cell = t1._first; |
- modifications = t1._modifications; |
- for (; cell != null;) { |
- f.call$1(cell._key); |
- if (modifications !== t1._modifications) |
- throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- cell = cell._next; |
- } |
- }, |
- $asIterableBase: null, |
- $isEfficientLength: true |
-}, |
- |
-LinkedHashMapKeyIterator: {"": "Object;_map,_modifications,_cell,_collection$_current", |
- get$current: function() { |
- return this._collection$_current; |
- }, |
- moveNext$0: function() { |
- var t1 = this._map; |
- if (this._modifications !== t1._modifications) |
- throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- else { |
- t1 = this._cell; |
- if (t1 == null) { |
- this._collection$_current = null; |
- return false; |
- } else { |
- this._collection$_current = t1._key; |
- this._cell = this._cell._next; |
- return true; |
- } |
- } |
- } |
-}, |
- |
-_HashSet: {"": "_HashSetBase;", |
- get$iterator: function(_) { |
- return new P.HashSetIterator(this, this._computeElements$0(), 0, null); |
- }, |
- get$length: function(_) { |
- return this._collection$_length; |
- }, |
- contains$1: function(_, object) { |
- var strings, nums, rest; |
- if (typeof object === "string" && object !== "__proto__") { |
- strings = this._strings; |
- return strings == null ? false : strings[object] != null; |
- } else if (typeof object === "number" && (object & 0x3ffffff) === object) { |
- nums = this._nums; |
- return nums == null ? false : nums[object] != null; |
- } else { |
- rest = this._rest; |
- if (rest == null) |
- return false; |
- return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; |
- } |
- }, |
- lookup$1: function(object) { |
- var t1, rest, bucket, index; |
- if (!(typeof object === "string" && object !== "__proto__")) |
- t1 = typeof object === "number" && (object & 0x3ffffff) === object; |
- else |
- t1 = true; |
- if (t1) |
- return this.contains$1(this, object) ? object : null; |
- rest = this._rest; |
- if (rest == null) |
- return; |
- bucket = rest[this._computeHashCode$1(object)]; |
- index = this._findBucketIndex$2(bucket, object); |
- if (index < 0) |
- return; |
- return J.$index$asx(bucket, index); |
- }, |
- add$1: function(_, element) { |
- var rest, hash, bucket; |
- rest = this._rest; |
- if (rest == null) { |
- rest = P._HashSet__newHashTable(); |
- this._rest = rest; |
- } |
- hash = this._computeHashCode$1(element); |
- bucket = rest[hash]; |
- if (bucket == null) |
- rest[hash] = [element]; |
- else { |
- if (this._findBucketIndex$2(bucket, element) >= 0) |
- return false; |
- bucket.push(element); |
- } |
- this._collection$_length = this._collection$_length + 1; |
- this._elements = null; |
- return true; |
- }, |
- remove$1: function(_, object) { |
- var rest, bucket, index; |
- rest = this._rest; |
- if (rest == null) |
- return false; |
- bucket = rest[this._computeHashCode$1(object)]; |
- index = this._findBucketIndex$2(bucket, object); |
- if (index < 0) |
- return false; |
- this._collection$_length = this._collection$_length - 1; |
- this._elements = null; |
- bucket.splice(index, 1); |
- return true; |
- }, |
- _computeElements$0: function() { |
- var t1, result, strings, names, entries, index, i, nums, rest, bucket, $length, i0; |
- t1 = this._elements; |
- if (t1 != null) |
- return t1; |
- result = P.List_List(this._collection$_length, null); |
- strings = this._strings; |
- if (strings != null) { |
- names = Object.getOwnPropertyNames(strings); |
- entries = names.length; |
- for (index = 0, i = 0; i < entries; ++i) { |
- result[index] = names[i]; |
- ++index; |
- } |
- } else |
- index = 0; |
- nums = this._nums; |
- if (nums != null) { |
- names = Object.getOwnPropertyNames(nums); |
- entries = names.length; |
- for (i = 0; i < entries; ++i) { |
- result[index] = +names[i]; |
- ++index; |
- } |
- } |
- rest = this._rest; |
- if (rest != null) { |
- names = Object.getOwnPropertyNames(rest); |
- entries = names.length; |
- for (i = 0; i < entries; ++i) { |
- bucket = rest[names[i]]; |
- $length = bucket.length; |
- for (i0 = 0; i0 < $length; ++i0) { |
- result[index] = bucket[i0]; |
- ++index; |
- } |
- } |
- } |
- this._elements = result; |
- return result; |
- }, |
- _computeHashCode$1: function(element) { |
- return J.get$hashCode$(element) & 0x3ffffff; |
- }, |
- _findBucketIndex$2: function(bucket, element) { |
- var $length, i; |
- if (bucket == null) |
- return -1; |
- $length = bucket.length; |
- for (i = 0; i < $length; ++i) |
- if (J.$eq(bucket[i], element)) |
- return i; |
- return -1; |
- }, |
- $as_HashSetBase: null, |
- $isEfficientLength: true |
-}, |
- |
-_IdentityHashSet: {"": "_HashSet;_collection$_length,_strings,_nums,_rest,_elements", |
- _computeHashCode$1: function(key) { |
- return H.objectHashCode(key) & 0x3ffffff; |
- }, |
- _findBucketIndex$2: function(bucket, element) { |
- var $length, i, t1; |
- if (bucket == null) |
- return -1; |
- $length = bucket.length; |
- for (i = 0; i < $length; ++i) { |
- t1 = bucket[i]; |
- if (t1 == null ? element == null : t1 === element) |
- return i; |
- } |
- return -1; |
- }, |
- $as_HashSet: null |
-}, |
- |
-HashSetIterator: {"": "Object;_set,_elements,_offset,_collection$_current", |
- get$current: function() { |
- return this._collection$_current; |
- }, |
- moveNext$0: function() { |
- var elements, offset, t1; |
- elements = this._elements; |
- offset = this._offset; |
- t1 = this._set; |
- if (elements !== t1._elements) |
- throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- else if (offset >= elements.length) { |
- this._collection$_current = null; |
- return false; |
- } else { |
- this._collection$_current = elements[offset]; |
- this._offset = offset + 1; |
- return true; |
- } |
- } |
-}, |
- |
-_HashSetBase: {"": "IterableBase;", |
- toString$0: function(_) { |
- return H.IterableMixinWorkaround_toStringIterable(this, "{", "}"); |
- }, |
- $asIterableBase: null, |
- $isEfficientLength: true |
-}, |
- |
-HashSet: {"": "Object;", $isEfficientLength: true, static: { |
-HashSet_HashSet$identity: function($E) { |
- var t1 = new P._IdentityHashSet(0, null, null, null, null); |
- H.setRuntimeTypeInfo(t1, [$E]); |
- return t1; |
-}} |
-}, |
- |
-IterableBase: {"": "Object;", |
- forEach$1: function(_, f) { |
- var t1; |
- for (t1 = this.get$iterator(this); t1.moveNext$0();) |
- f.call$1(t1.get$current()); |
- }, |
- get$length: function(_) { |
- var it, count; |
- it = this.get$iterator(this); |
- for (count = 0; it.moveNext$0();) |
- ++count; |
- return count; |
- }, |
- elementAt$1: function(_, index) { |
- var t1, remaining, element; |
- if (index < 0) |
- throw H.wrapException(P.RangeError$value(index)); |
- for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { |
- element = t1.get$current(); |
- if (remaining === 0) |
- return element; |
- --remaining; |
- } |
- throw H.wrapException(P.RangeError$value(index)); |
- }, |
- toString$0: function(_) { |
- return P._iterableToString(this); |
- } |
-}, |
- |
-ListMixin: {"": "Object;", |
- get$iterator: function(receiver) { |
- return new H.ListIterator(receiver, this.get$length(receiver), 0, null); |
- }, |
- elementAt$1: function(receiver, index) { |
- return this.$index(receiver, index); |
- }, |
- forEach$1: function(receiver, action) { |
- var $length, i; |
- $length = this.get$length(receiver); |
- for (i = 0; i < $length; ++i) { |
- action.call$1(this.$index(receiver, i)); |
- if ($length !== this.get$length(receiver)) |
- throw H.wrapException(P.ConcurrentModificationError$(receiver)); |
- } |
- }, |
- toString$0: function(receiver) { |
- var result, t1; |
- t1 = $.get$_toStringVisiting(); |
- if (t1.contains$1(t1, receiver)) |
- return "[...]"; |
- result = P.StringBuffer$(""); |
- try { |
- t1 = $.get$_toStringVisiting(); |
- t1.add$1(t1, receiver); |
- result.write$1("["); |
- result.writeAll$2(receiver, ", "); |
- result.write$1("]"); |
- } finally { |
- t1 = $.get$_toStringVisiting(); |
- t1.remove$1(t1, receiver); |
- } |
- return result.get$_contents(); |
- }, |
- $isList: true, |
- $asList: null, |
- $isEfficientLength: true |
-}, |
- |
-Maps_mapToString_closure: {"": "Closure;box_0,result_1", |
- call$2: function(k, v) { |
- var t1 = this.box_0; |
- if (!t1.first_0) |
- this.result_1.write$1(", "); |
- t1.first_0 = false; |
- t1 = this.result_1; |
- t1.write$1(k); |
- t1.write$1(": "); |
- t1.write$1(v); |
- }, |
- $is_args2: true |
-}, |
- |
-ListQueue: {"": "IterableBase;_table,_head,_tail,_modificationCount", |
- get$iterator: function(_) { |
- return P._ListQueueIterator$(this); |
- }, |
- forEach$1: function(_, action) { |
- var modificationCount, i, t1; |
- modificationCount = this._modificationCount; |
- for (i = this._head; i !== this._tail; i = (i + 1 & this._table.length - 1) >>> 0) { |
- t1 = this._table; |
- if (i < 0 || i >= t1.length) |
- throw H.ioore(t1, i); |
- action.call$1(t1[i]); |
- if (modificationCount !== this._modificationCount) |
- H.throwExpression(P.ConcurrentModificationError$(this)); |
- } |
- }, |
- get$length: function(_) { |
- return (this._tail - this._head & this._table.length - 1) >>> 0; |
- }, |
- toString$0: function(_) { |
- return H.IterableMixinWorkaround_toStringIterable(this, "{", "}"); |
- }, |
- removeFirst$0: function() { |
- var t1, t2, t3, result; |
- if (this._head === this._tail) |
- throw H.wrapException(P.StateError$("No elements")); |
- this._modificationCount = this._modificationCount + 1; |
- t1 = this._table; |
- t2 = this._head; |
- t3 = t1.length; |
- if (t2 < 0 || t2 >= t3) |
- throw H.ioore(t1, t2); |
- result = t1[t2]; |
- this._head = (t2 + 1 & t3 - 1) >>> 0; |
- return result; |
- }, |
- _add$1: function(element) { |
- var t1, t2, t3; |
- t1 = this._table; |
- t2 = this._tail; |
- t3 = t1.length; |
- if (t2 < 0 || t2 >= t3) |
- throw H.ioore(t1, t2); |
- t1[t2] = element; |
- this._tail = (t2 + 1 & t3 - 1) >>> 0; |
- if (this._head === this._tail) |
- this._grow$0(); |
- this._modificationCount = this._modificationCount + 1; |
- }, |
- _grow$0: function() { |
- var newTable, t1, t2, split; |
- newTable = P.List_List(this._table.length * 2, H.getRuntimeTypeArgument(this, "ListQueue", 0)); |
- H.setRuntimeTypeInfo(newTable, [H.getRuntimeTypeArgument(this, "ListQueue", 0)]); |
- t1 = this._table; |
- t2 = this._head; |
- split = t1.length - t2; |
- H.IterableMixinWorkaround_setRangeList(newTable, 0, split, t1, t2); |
- t1 = this._head; |
- t2 = this._table; |
- H.IterableMixinWorkaround_setRangeList(newTable, split, split + t1, t2, 0); |
- this._head = 0; |
- this._tail = this._table.length; |
- this._table = newTable; |
- }, |
- ListQueue$1: function(initialCapacity, $E) { |
- var t1 = P.List_List(8, $E); |
- H.setRuntimeTypeInfo(t1, [$E]); |
- this._table = t1; |
- }, |
- $asIterableBase: null, |
- $isEfficientLength: true, |
- static: { |
-"": "ListQueue__INITIAL_CAPACITY", |
-ListQueue$: function(initialCapacity, $E) { |
- var t1 = new P.ListQueue(null, 0, 0, 0); |
- H.setRuntimeTypeInfo(t1, [$E]); |
- t1.ListQueue$1(initialCapacity, $E); |
- return t1; |
-}} |
- |
-}, |
- |
-_ListQueueIterator: {"": "Object;_queue,_end,_modificationCount,_position,_collection$_current", |
- get$current: function() { |
- return this._collection$_current; |
- }, |
- moveNext$0: function() { |
- var t1, t2, t3; |
- t1 = this._queue; |
- if (this._modificationCount !== t1._modificationCount) |
- H.throwExpression(P.ConcurrentModificationError$(t1)); |
- t2 = this._position; |
- if (t2 === this._end) { |
- this._collection$_current = null; |
- return false; |
- } |
- t3 = t1._table; |
- if (t2 < 0 || t2 >= t3.length) |
- throw H.ioore(t3, t2); |
- this._collection$_current = t3[t2]; |
- this._position = (this._position + 1 & t1._table.length - 1) >>> 0; |
- return true; |
- }, |
- static: { |
-_ListQueueIterator$: function(queue) { |
- return new P._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, null); |
-}} |
- |
-}}], |
-["dart.core", "dart:core", , P, { |
-_symbolToString: function(symbol) { |
- return H.Symbol_getName(symbol); |
-}, |
- |
-Error_safeToString: function(object) { |
- var buffer, t1, i, codeUnit, t2, charCodes; |
- if (typeof object === "number" && Math.floor(object) === object || typeof object === "number" || typeof object === "boolean" || null == object) |
- return J.toString$0(object); |
- if (typeof object === "string") { |
- buffer = new P.StringBuffer(""); |
- buffer._contents = "\""; |
- for (t1 = object.length, i = 0; i < t1; ++i) { |
- codeUnit = C.JSString_methods.codeUnitAt$1(object, i); |
- if (codeUnit <= 31) |
- if (codeUnit === 10) |
- buffer._contents = buffer._contents + "\\n"; |
- else if (codeUnit === 13) |
- buffer._contents = buffer._contents + "\\r"; |
- else if (codeUnit === 9) |
- buffer._contents = buffer._contents + "\\t"; |
- else { |
- buffer._contents = buffer._contents + "\\x"; |
- if (codeUnit < 16) |
- buffer._contents = buffer._contents + "0"; |
- else { |
- buffer._contents = buffer._contents + "1"; |
- codeUnit -= 16; |
- } |
- t2 = codeUnit < 10 ? 48 + codeUnit : 87 + codeUnit; |
- charCodes = P.List_List$filled(1, t2, J.JSInt); |
- charCodes.$builtinTypeInfo = [J.JSInt]; |
- t2 = H.Primitives_stringFromCharCodes(charCodes); |
- buffer._contents = buffer._contents + t2; |
- } |
- else if (codeUnit === 92) |
- buffer._contents = buffer._contents + "\\\\"; |
- else if (codeUnit === 34) |
- buffer._contents = buffer._contents + "\\\""; |
- else { |
- charCodes = P.List_List$filled(1, codeUnit, J.JSInt); |
- charCodes.$builtinTypeInfo = [J.JSInt]; |
- t2 = H.Primitives_stringFromCharCodes(charCodes); |
- buffer._contents = buffer._contents + t2; |
- } |
- } |
- buffer._contents = buffer._contents + "\""; |
- return buffer._contents; |
- } |
- return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; |
-}, |
- |
-Exception_Exception: function(message) { |
- return new P._ExceptionImplementation(message); |
-}, |
- |
-identical: function(a, b) { |
- return a == null ? b == null : a === b; |
-}, |
- |
-identityHashCode: function(object) { |
- return H.objectHashCode(object); |
-}, |
- |
-List_List: function($length, $E) { |
- if ($length == null) |
- return new Array(0); |
- if (typeof $length !== "number" || Math.floor($length) !== $length || $length < 0) |
- throw H.wrapException(new P.ArgumentError("Length must be a positive integer: " + H.S($length) + ".")); |
- return H.Primitives_newFixedList($length); |
-}, |
- |
-List_List$filled: function($length, fill, $E) { |
- var result, t1, i; |
- if ($length < 0) |
- throw H.wrapException(new P.ArgumentError("Length must be a positive integer: " + $length + ".")); |
- result = H.Primitives_newFixedList($length); |
- if ($length !== 0 && true) |
- for (t1 = result.length, i = 0; i < t1; ++i) |
- result[i] = fill; |
- return result; |
-}, |
- |
-List_List$from: function(other, growable, $E) { |
- var list, t1, $length, fixedList, t2, i, t3; |
- list = P.List_List(null, $E); |
- H.setRuntimeTypeInfo(list, [$E]); |
- for (t1 = J.get$iterator$ax(other); t1.moveNext$0();) |
- list.push(t1.get$current()); |
- if (growable) |
- return list; |
- $length = list.length; |
- fixedList = P.List_List($length, $E); |
- H.setRuntimeTypeInfo(fixedList, [$E]); |
- for (t1 = list.length, t2 = fixedList.length, i = 0; i < $length; ++i) { |
- if (i >= t1) |
- throw H.ioore(list, i); |
- t3 = list[i]; |
- if (i >= t2) |
- throw H.ioore(fixedList, i); |
- fixedList[i] = t3; |
- } |
- return fixedList; |
-}, |
- |
-print: function(object) { |
- var line = J.toString$0(object); |
- H.printToConsole(line); |
-}, |
- |
-NoSuchMethodError_toString_closure: {"": "Closure;box_0", |
- call$2: function(key, value) { |
- var t1 = this.box_0; |
- if (t1.i_1 > 0) |
- t1.sb_0.write$1(", "); |
- t1.sb_0.write$1(P._symbolToString(key)); |
- }, |
- $is_args2: true |
-}, |
- |
-Duration: {"": "Object;_duration", |
- $lt: function(_, other) { |
- return C.JSNumber_methods.$lt(this._duration, other.get$_duration()); |
- }, |
- $gt: function(_, other) { |
- return C.JSNumber_methods.$gt(this._duration, other.get$_duration()); |
- }, |
- $ge: function(_, other) { |
- return C.JSNumber_methods.$ge(this._duration, other.get$_duration()); |
- }, |
- $eq: function(_, other) { |
- var t1; |
- if (other == null) |
- return false; |
- t1 = J.getInterceptor(other); |
- if (typeof other !== "object" || other === null || !t1.$isDuration) |
- return false; |
- return this._duration === other._duration; |
- }, |
- get$hashCode: function(_) { |
- return this._duration & 0x1FFFFFFF; |
- }, |
- toString$0: function(_) { |
- var t1, t2, twoDigitMinutes, twoDigitSeconds, sixDigitUs; |
- t1 = new P.Duration_toString_twoDigits(); |
- t2 = this._duration; |
- if (t2 < 0) |
- return "-" + H.S(P.Duration$(0, 0, -t2, 0, 0, 0)); |
- twoDigitMinutes = t1.call$1(C.JSNumber_methods.remainder$1(C.JSNumber_methods.$tdiv(t2, 60000000), 60)); |
- twoDigitSeconds = t1.call$1(C.JSNumber_methods.remainder$1(C.JSNumber_methods.$tdiv(t2, 1000000), 60)); |
- sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSNumber_methods.remainder$1(t2, 1000000)); |
- return H.S(C.JSNumber_methods.$tdiv(t2, 3600000000)) + ":" + H.S(twoDigitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); |
- }, |
- $isDuration: true, |
- static: { |
-"": "Duration_MICROSECONDS_PER_MILLISECOND,Duration_MILLISECONDS_PER_SECOND,Duration_SECONDS_PER_MINUTE,Duration_MINUTES_PER_HOUR,Duration_HOURS_PER_DAY,Duration_MICROSECONDS_PER_SECOND,Duration_MICROSECONDS_PER_MINUTE,Duration_MICROSECONDS_PER_HOUR,Duration_MICROSECONDS_PER_DAY,Duration_MILLISECONDS_PER_MINUTE,Duration_MILLISECONDS_PER_HOUR,Duration_MILLISECONDS_PER_DAY,Duration_SECONDS_PER_HOUR,Duration_SECONDS_PER_DAY,Duration_MINUTES_PER_DAY,Duration_ZERO", |
-Duration$: function(days, hours, microseconds, milliseconds, minutes, seconds) { |
- return new P.Duration(days * 86400000000 + hours * 3600000000 + minutes * 60000000 + seconds * 1000000 + milliseconds * 1000 + microseconds); |
-}} |
- |
-}, |
- |
-Duration_toString_sixDigits: {"": "Closure;", |
- call$1: function(n) { |
- var t1 = J.getInterceptor$n(n); |
- if (t1.$ge(n, 100000)) |
- return H.S(n); |
- if (t1.$ge(n, 10000)) |
- return "0" + H.S(n); |
- if (t1.$ge(n, 1000)) |
- return "00" + H.S(n); |
- if (t1.$ge(n, 100)) |
- return "000" + H.S(n); |
- if (t1.$gt(n, 10)) |
- return "0000" + H.S(n); |
- return "00000" + H.S(n); |
- }, |
- $is_args1: true |
-}, |
- |
-Duration_toString_twoDigits: {"": "Closure;", |
- call$1: function(n) { |
- if (J.$ge$n(n, 10)) |
- return H.S(n); |
- return "0" + H.S(n); |
- }, |
- $is_args1: true |
-}, |
- |
-Error: {"": "Object;", |
- get$stackTrace: function() { |
- return new H._StackTrace(this.$thrownJsError, null); |
- }, |
- $isError: true |
-}, |
- |
-NullThrownError: {"": "Error;", |
- toString$0: function(_) { |
- return "Throw of null."; |
- } |
-}, |
- |
-ArgumentError: {"": "Error;message", |
- toString$0: function(_) { |
- var t1 = this.message; |
- if (t1 != null) |
- return "Illegal argument(s): " + H.S(t1); |
- return "Illegal argument(s)"; |
- }, |
- static: { |
-ArgumentError$: function(message) { |
- return new P.ArgumentError(message); |
-}} |
- |
-}, |
- |
-RangeError: {"": "ArgumentError;message", |
- toString$0: function(_) { |
- return "RangeError: " + H.S(this.message); |
- }, |
- static: { |
-RangeError$value: function(value) { |
- return new P.RangeError("value " + H.S(value)); |
-}, |
- |
-RangeError$range: function(value, start, end) { |
- return new P.RangeError("value " + H.S(value) + " not in range " + start + ".." + H.S(end)); |
-}} |
- |
-}, |
- |
-UnsupportedError: {"": "Error;message", |
- toString$0: function(_) { |
- return "Unsupported operation: " + this.message; |
- }, |
- static: { |
-UnsupportedError$: function(message) { |
- return new P.UnsupportedError(message); |
-}} |
- |
-}, |
- |
-StateError: {"": "Error;message", |
- toString$0: function(_) { |
- return "Bad state: " + this.message; |
- }, |
- static: { |
-StateError$: function(message) { |
- return new P.StateError(message); |
-}} |
- |
-}, |
- |
-ConcurrentModificationError: {"": "Error;modifiedObject", |
- toString$0: function(_) { |
- var t1 = this.modifiedObject; |
- if (t1 == null) |
- return "Concurrent modification during iteration."; |
- return "Concurrent modification during iteration: " + P.Error_safeToString(t1) + "."; |
- }, |
- static: { |
-ConcurrentModificationError$: function(modifiedObject) { |
- return new P.ConcurrentModificationError(modifiedObject); |
-}} |
- |
-}, |
- |
-StackOverflowError: {"": "Object;", |
- toString$0: function(_) { |
- return "Stack Overflow"; |
- }, |
- get$stackTrace: function() { |
- return; |
- }, |
- $isError: true |
-}, |
- |
-CyclicInitializationError: {"": "Error;variableName", |
- toString$0: function(_) { |
- return "Reading static variable '" + this.variableName + "' during its initialization"; |
- }, |
- static: { |
-CyclicInitializationError$: function(variableName) { |
- return new P.CyclicInitializationError(variableName); |
-}} |
- |
-}, |
- |
-_ExceptionImplementation: {"": "Object;message", |
- toString$0: function(_) { |
- var t1 = this.message; |
- if (t1 == null) |
- return "Exception"; |
- return "Exception: " + H.S(t1); |
- } |
-}, |
- |
-Expando: {"": "Object;name", |
- toString$0: function(_) { |
- return "Expando:" + this.name; |
- }, |
- $index: function(_, object) { |
- var values = H.Primitives_getProperty(object, "expando$values"); |
- return values == null ? null : H.Primitives_getProperty(values, this._getKey$0()); |
- }, |
- $indexSet: function(_, object, value) { |
- var values = H.Primitives_getProperty(object, "expando$values"); |
- if (values == null) { |
- values = new P.Object(); |
- H.Primitives_setProperty(object, "expando$values", values); |
- } |
- H.Primitives_setProperty(values, this._getKey$0(), value); |
- }, |
- _getKey$0: function() { |
- var key, t1; |
- key = H.Primitives_getProperty(this, "expando$key"); |
- if (key == null) { |
- t1 = $.Expando__keyCount; |
- $.Expando__keyCount = t1 + 1; |
- key = "expando$key$" + t1; |
- H.Primitives_setProperty(this, "expando$key", key); |
- } |
- return key; |
- }, |
- static: { |
-"": "Expando__KEY_PROPERTY_NAME,Expando__EXPANDO_PROPERTY_NAME,Expando__keyCount", |
+(function($){function dart(){this.x=0}var A=new dart |
+delete A.x |
+var B=new dart |
+delete B.x |
+var C=new dart |
+delete C.x |
+var D=new dart |
+delete D.x |
+var E=new dart |
+delete E.x |
+var F=new dart |
+delete F.x |
+var G=new dart |
+delete G.x |
+var H=new dart |
+delete H.x |
+var J=new dart |
+delete J.x |
+var K=new dart |
+delete K.x |
+var L=new dart |
+delete L.x |
+var M=new dart |
+delete M.x |
+var N=new dart |
+delete N.x |
+var O=new dart |
+delete O.x |
+var P=new dart |
+delete P.x |
+var Q=new dart |
+delete Q.x |
+var R=new dart |
+delete R.x |
+var S=new dart |
+delete S.x |
+var T=new dart |
+delete T.x |
+var U=new dart |
+delete U.x |
+var V=new dart |
+delete V.x |
+var W=new dart |
+delete W.x |
+var X=new dart |
+delete X.x |
+var Y=new dart |
+delete Y.x |
+var Z=new dart |
+delete Z.x |
+function I(){} |
+init() |
+$=I.p |
+var $$={} |
+;(function(a){"use strict" |
+function map(b){b={x:b} |
+delete b.x |
+return b}function processStatics(a3){for(var h in a3){if(!u.call(a3,h))continue |
+if(h==="^")continue |
+var g=a3[h] |
+var f=h.substring(0,1) |
+var e |
+if(f==="+"){v[e]=h.substring(1) |
+var d=a3[h] |
+if(d>0)a3[e].$reflectable=d |
+if(g&&g.length)init.typeInformation[e]=g}else if(f==="@"){h=h.substring(1) |
+$[h]["@"]=g}else if(f==="*"){n[e].$defaultValues=g |
+var c=a3.$methodsWithOptionalArguments |
+if(!c){a3.$methodsWithOptionalArguments=c={}}c[h]=e}else if(typeof g==="function"){n[e=h]=g |
+i.push(h) |
+init.globalFunctions[h]=g}else if(g.constructor===Array){addStubs(n,g,h,true,a3,i)}else{e=h |
+var b={} |
+var a0 |
+for(var a1 in g){if(!u.call(g,a1))continue |
+f=a1.substring(0,1) |
+if(a1==="static"){processStatics(init.statics[h]=g[a1])}else if(f==="+"){w[a0]=a1.substring(1) |
+var d=g[a1] |
+if(d>0)g[a0].$reflectable=d}else if(f==="@"&&a1!=="@"){b[a1.substring(1)]["@"]=g[a1]}else if(f==="*"){b[a0].$defaultValues=g[a1] |
+var c=b.$methodsWithOptionalArguments |
+if(!c){b.$methodsWithOptionalArguments=c={}}c[a1]=a0}else{var a2=g[a1] |
+if(a1!=="^"&&a2!=null&&a2.constructor===Array&&a1!=="<>"){addStubs(b,a2,a1,false,g,[])}else{b[a0=a1]=a2}}}$$[h]=[n,b] |
+j.push(h)}}}function addStubs(b3,b4,b5,b6,b7,b8){var h,g=[b7[b5]=b3[b5]=h=b4[0]] |
+h.$stubName=b5 |
+b8.push(b5) |
+for(var f=0;f<b4.length;f+=2){h=b4[f+1] |
+if(typeof h!="function")break |
+h.$stubName=b4[f+2] |
+g.push(h) |
+if(h.$stubName){b7[h.$stubName]=b3[h.$stubName]=h |
+b8.push(h.$stubName)}}for(var e=0;e<g.length;f++,e++){g[e].$callName=b4[f+1]}var d=b4[++f] |
+b4=b4.slice(++f) |
+var c=b4[0] |
+var b=c>>1 |
+var a0=(c&1)===1 |
+var a1=c===3 |
+var a2=c===1 |
+var a3=b4[1] |
+var a4=a3>>1 |
+var a5=(a3&1)===1 |
+var a6=b+a4!=g[0].length |
+var a7=b4[2] |
+var a8=2*a4+b+3 |
+var a9=b4.length>a8 |
+if(d){h=tearOff(g,b4,b6,b5,a6) |
+b3[b5].$getter=h |
+h.$getterStub=true |
+if(b6)init.globalFunctions[b5]=h |
+b7[d]=b3[d]=h |
+g.push(h) |
+if(d)b8.push(d) |
+h.$stubName=d |
+h.$callName=null |
+if(a6)init.interceptedNames[d]=true}if(a9){for(var e=0;e<g.length;e++){g[e].$reflectable=1 |
+g[e].$reflectionInfo=b4}var b0=b6?init.mangledGlobalNames:init.mangledNames |
+var b1=b4[a8] |
+var b2=b1 |
+if(d)b0[d]=b2 |
+if(a1){b2+="="}else if(!a2){b2+=":"+b+":"+a4}b0[b5]=b2 |
+g[0].$reflectionName=b2 |
+g[0].$metadataIndex=a8+1 |
+if(a4)b3[b1+"*"]=g[0]}}function tearOffGetterNoCsp(b,c,d,e){return e?new Function("funcs","reflectionInfo","name","H","c","return function tearOff_"+d+z+++"(x) {"+"if (c === null) c = H.qm("+"this, funcs, reflectionInfo, false, [x], name);"+"return new c(this, funcs[0], x, name);"+"}")(b,c,d,H,null):new Function("funcs","reflectionInfo","name","H","c","return function tearOff_"+d+z+++"() {"+"if (c === null) c = H.qm("+"this, funcs, reflectionInfo, false, [], name);"+"return new c(this, funcs[0], null, name);"+"}")(b,c,d,H,null)}function tearOffGetterCsp(b,c,d,e){var h=null |
+return e?function(f){if(h===null)h=H.qm(this,b,c,false,[f],d) |
+return new h(this,b[0],f,d)}:function(){if(h===null)h=H.qm(this,b,c,false,[],d) |
+return new h(this,b[0],null,d)}}function tearOff(b,c,d,e,f){var h |
+return d?function(){if(h===void 0)h=H.qm(this,b,c,true,[],e).prototype |
+return h}:y(b,c,e,f)}var z=0 |
+var y=typeof dart_precompiled=="function"?tearOffGetterCsp:tearOffGetterNoCsp |
+if(!init.libraries)init.libraries=[] |
+if(!init.mangledNames)init.mangledNames=map() |
+if(!init.mangledGlobalNames)init.mangledGlobalNames=map() |
+if(!init.statics)init.statics=map() |
+if(!init.typeInformation)init.typeInformation=map() |
+if(!init.globalFunctions)init.globalFunctions=map() |
+if(!init.interceptedNames)init.interceptedNames=map() |
+var x=init.libraries |
+var w=init.mangledNames |
+var v=init.mangledGlobalNames |
+var u=Object.prototype.hasOwnProperty |
+var t=a.length |
+for(var s=0;s<t;s++){var r=a[s] |
+var q=r[0] |
+var p=r[1] |
+var o=r[2] |
+var n=r[3] |
+var m=r[4] |
+var l=!!r[5] |
+var k=m&&m["^"] |
+var j=[] |
+var i=[] |
+processStatics(m) |
+x.push([q,p,j,i,o,k,l,n])}})([["_foreign_helper","dart:_foreign_helper",,H,{ |
+"^":"", |
+FK:{ |
+"^":"a;tT"}}],["_interceptors","dart:_interceptors",,J,{ |
+"^":"", |
+x:function(a){return void 0}, |
+Qu:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, |
+ks:function(a){var z,y,x,w |
+z=a[init.dispatchPropertyName] |
+if(z==null)if($.Bv==null){H.XD() |
+z=a[init.dispatchPropertyName]}if(z!=null){y=z.p |
+if(!1===y)return z.i |
+if(!0===y)return a |
+x=Object.getPrototypeOf(a) |
+if(y===x)return z.i |
+if(z.e===x)throw H.b(P.SY("Return interceptor for "+H.d(y(a,z))))}w=H.w3(a) |
+if(w==null){y=Object.getPrototypeOf(a) |
+if(y==null||y===Object.prototype)return C.ZQ |
+else return C.vB}return w}, |
+Gv:{ |
+"^":"a;", |
+n:function(a,b){return a===b}, |
+giO:function(a){return H.eQ(a)}, |
+bu:function(a){return H.a5(a)}, |
+"%":"DOMError|FileError|MediaError|MediaKeyError|Navigator|NavigatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList|SVGAnimatedString"}, |
+kn:{ |
+"^":"Gv;", |
+bu:function(a){return String(a)}, |
+giO:function(a){return a?519018:218159}, |
+$isa2:true}, |
+YE:{ |
+"^":"Gv;", |
+n:function(a,b){return null==b}, |
+bu:function(a){return"null"}, |
+giO:function(a){return 0}}, |
+Ue:{ |
+"^":"Gv;", |
+giO:function(a){return 0}}, |
+iC:{ |
+"^":"Ue;"}, |
+is:{ |
+"^":"Ue;"}, |
+Q:{ |
+"^":"Gv;", |
+Rz:function(a,b){var z |
+if(!!a.fixed$length)H.vh(P.f("remove")) |
+for(z=0;z<a.length;++z)if(J.de(a[z],b)){a.splice(z,1) |
+return!0}return!1}, |
+aN:function(a,b){return H.bQ(a,b)}, |
+Zv:function(a,b){if(b<0||b>=a.length)return H.e(a,b) |
+return a[b]}, |
+tg:function(a,b){var z |
+for(z=0;z<a.length;++z)if(J.de(a[z],b))return!0 |
+return!1}, |
+bu:function(a){return H.mx(a,"[","]")}, |
+gA:function(a){return new H.a7(a,a.length,0,null)}, |
+giO:function(a){return H.eQ(a)}, |
+gB:function(a){return a.length}, |
+sB:function(a,b){if(b<0)throw H.b(P.N(b)) |
+if(!!a.fixed$length)H.vh(P.f("set length")) |
+a.length=b}, |
+t:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(P.u(b)) |
+if(b>=a.length||b<0)throw H.b(P.N(b)) |
+return a[b]}, |
+u:function(a,b,c){if(!!a.immutable$list)H.vh(P.f("indexed set")) |
+if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(P.u(b)) |
+if(b>=a.length||b<0)throw H.b(P.N(b)) |
+a[b]=c}, |
+$isQ:true, |
+$iszM:true, |
+$aszM:null}, |
+P:{ |
+"^":"Gv;", |
+JV:function(a,b){return a%b}, |
+yu:function(a){var z |
+if(a>=-2147483648&&a<=2147483647)return a|0 |
+if(isFinite(a)){z=a<0?Math.ceil(a):Math.floor(a) |
+return z+0}throw H.b(P.f(''+a))}, |
+bu:function(a){if(a===0&&1/a<0)return"-0.0" |
+else return""+a}, |
+giO:function(a){return a&0x1FFFFFFF}, |
+g:function(a,b){return a+b}, |
+cU:function(a,b){return(a|0)===a?a/b|0:this.yu(a/b)}, |
+GG:function(a,b){var z |
+if(a>0)z=b>31?0:a>>>b |
+else{z=b>31?31:b |
+z=a>>z>>>0}return z}, |
+C:function(a,b){if(typeof b!=="number")throw H.b(P.u(b)) |
+return a<b}, |
+F:function(a,b){if(typeof b!=="number")throw H.b(P.u(b)) |
+return a>=b}, |
+$islf:true, |
+static:{"^":"SA,yc"}}, |
+im:{ |
+"^":"P;", |
+$islf:true, |
+$isKN:true}, |
+VA:{ |
+"^":"P;", |
+$islf:true}, |
+O:{ |
+"^":"Gv;", |
+j:function(a,b){if(b<0)throw H.b(P.N(b)) |
+if(b>=a.length)throw H.b(P.N(b)) |
+return a.charCodeAt(b)}, |
+g:function(a,b){if(typeof b!=="string")throw H.b(P.u(b)) |
+return a+b}, |
+Nj:function(a,b,c){if(c==null)c=a.length |
+if(typeof c!=="number"||Math.floor(c)!==c)H.vh(P.u(c)) |
+if(b<0)throw H.b(P.N(b)) |
+if(typeof c!=="number")return H.s(c) |
+if(b>c)throw H.b(P.N(b)) |
+if(c>a.length)throw H.b(P.N(c)) |
+return a.substring(b,c)}, |
+yn:function(a,b){return this.Nj(a,b,null)}, |
+bS:function(a){var z,y,x,w,v |
+z=a.trim() |
+y=z.length |
+if(y===0)return z |
+if(this.j(z,0)===133){x=J.mm(z,1) |
+if(x===y)return""}else x=0 |
+w=y-1 |
+v=this.j(z,w)===133?J.r9(z,w):y |
+if(x===0&&v===y)return z |
+return z.substring(x,v)}, |
+gl0:function(a){return a.length===0}, |
+bu:function(a){return a}, |
+giO:function(a){var z,y,x |
+for(z=a.length,y=0,x=0;x<z;++x){y=536870911&y+a.charCodeAt(x) |
+y=536870911&y+((524287&y)<<10>>>0) |
+y^=y>>6}y=536870911&y+((67108863&y)<<3>>>0) |
+y^=y>>11 |
+return 536870911&y+((16383&y)<<15>>>0)}, |
+gB:function(a){return a.length}, |
+t:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(P.u(b)) |
+if(b>=a.length||b<0)throw H.b(P.N(b)) |
+return a[b]}, |
+$isqU:true, |
+static:{Ga:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 |
+default:return!1}switch(a){case 5760:case 6158:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 |
+default:return!1}},mm:function(a,b){var z,y |
+for(z=a.length;b<z;){if(b>=z)H.vh(P.N(b)) |
+y=a.charCodeAt(b) |
+if(y!==32&&y!==13&&!J.Ga(y))break;++b}return b},r9:function(a,b){var z,y,x |
+for(z=a.length;b>0;b=y){y=b-1 |
+if(y>=z)H.vh(P.N(y)) |
+x=a.charCodeAt(y) |
+if(x!==32&&x!==13&&!J.Ga(x))break}return b}}}}],["_isolate_helper","dart:_isolate_helper",,H,{ |
+"^":"", |
+zd:function(a,b){var z=a.vV(b) |
+init.globalState.Xz.bL() |
+return z}, |
+ox:function(){--init.globalState.Xz.GL}, |
+Rq:function(a,b){var z,y,x,w,v,u |
+z={} |
+z.a=b |
+b=b |
+z.a=b |
+if(b==null){b=[] |
+z.a=b |
+y=b}else y=b |
+if(!J.x(y).$iszM)throw H.b(P.u("Arguments to main must be a List: "+H.d(y))) |
+y=new H.O2(0,0,1,null,null,null,null,null,null,null,null,null,a) |
+y.i6(a) |
+init.globalState=y |
+if(init.globalState.EF===!0)return |
+y=init.globalState.Hg++ |
+x=P.L5(null,null,null,P.KN,H.yo) |
+w=P.Ls(null,null,null,P.KN) |
+v=new H.yo(0,null,!1) |
+u=new H.aX(y,x,w,new I(),v,P.N3(),P.N3(),!1,[],P.Ls(null,null,null,null),null,null,!1,!1) |
+w.h(0,0) |
+u.aU(0,v) |
+init.globalState.yc=u |
+init.globalState.N0=u |
+y=H.N7() |
+x=H.KT(y,[y]).BD(a) |
+if(x)u.vV(new H.PK(z,a)) |
+else{y=H.KT(y,[y,y]).BD(a) |
+if(y)u.vV(new H.JO(z,a)) |
+else u.vV(a)}init.globalState.Xz.bL()}, |
+Td:function(){var z=init.currentScript |
+if(z!=null)return String(z.src) |
+if(typeof version=="function"&&typeof os=="object"&&"system" in os)return H.mf() |
+if(typeof version=="function"&&typeof system=="function")return thisFilename() |
+if(init.globalState.EF===!0)return H.mf() |
+return}, |
+mf:function(){var z,y |
+z=new Error().stack |
+if(z==null){z=function(){try{throw new Error()}catch(x){return x.stack}}() |
+if(z==null)throw H.b(P.f("No stack trace"))}y=z.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","m")) |
+if(y!=null)return y[1] |
+y=z.match(new RegExp("^[^@]*@(.*):[0-9]*$","m")) |
+if(y!=null)return y[1] |
+throw H.b(P.f("Cannot extract URI from \""+H.d(z)+"\""))}, |
+Mg:function(a,b){var z,y,x,w,v,u,t,s,r,q,p,o,n,m,l,k,j,i |
+z=H.Hh(b.data) |
+y=J.U6(z) |
+switch(y.t(z,"command")){case"start":init.globalState.oL=y.t(z,"id") |
+x=y.t(z,"functionName") |
+w=x==null?init.globalState.w2:init.globalFunctions[x]() |
+v=y.t(z,"args") |
+u=H.Hh(y.t(z,"msg")) |
+t=y.t(z,"isSpawnUri") |
+s=y.t(z,"startPaused") |
+r=H.Hh(y.t(z,"replyTo")) |
+y=init.globalState.Hg++ |
+q=P.L5(null,null,null,P.KN,H.yo) |
+p=P.Ls(null,null,null,P.KN) |
+o=new H.yo(0,null,!1) |
+n=new H.aX(y,q,p,new I(),o,P.N3(),P.N3(),!1,[],P.Ls(null,null,null,null),null,null,!1,!1) |
+p.h(0,0) |
+n.aU(0,o) |
+init.globalState.Xz.Rk.NZ(new H.IY(n,new H.jl(w,v,u,t,s,r),"worker-start")) |
+init.globalState.N0=n |
+init.globalState.Xz.bL() |
+break |
+case"spawn-worker":q=y.t(z,"functionName") |
+m=y.t(z,"uri") |
+p=y.t(z,"args") |
+o=y.t(z,"msg") |
+l=y.t(z,"isSpawnUri") |
+k=y.t(z,"startPaused") |
+y=y.t(z,"replyPort") |
+if(m==null)m=$.Rs() |
+j=new Worker(m) |
+j.onmessage=function(c,d){return function(e){c(d,e)}}(H.Mg,j) |
+i=init.globalState.Y7++ |
+$.p6().u(0,j,i) |
+init.globalState.XC.u(0,i,j) |
+j.postMessage(H.Gy(P.EF(["command","start","id",i,"replyTo",H.Gy(y),"args",p,"msg",H.Gy(o),"isSpawnUri",l,"startPaused",k,"functionName",q],null,null))) |
+break |
+case"message":if(y.t(z,"port")!=null)y.t(z,"port").wR(y.t(z,"msg")) |
+init.globalState.Xz.bL() |
+break |
+case"close":init.globalState.XC.Rz(0,$.p6().t(0,a)) |
+a.terminate() |
+init.globalState.Xz.bL() |
+break |
+case"log":H.VL(y.t(z,"msg")) |
+break |
+case"print":if(init.globalState.EF===!0){y=init.globalState.vd |
+q=H.Gy(P.EF(["command","print","msg",z],null,null)) |
+y.toString |
+self.postMessage(q)}else P.JS(y.t(z,"msg")) |
+break |
+case"error":throw H.b(y.t(z,"msg"))}}, |
+VL:function(a){var z,y,x,w |
+if(init.globalState.EF===!0){y=init.globalState.vd |
+x=H.Gy(P.EF(["command","log","msg",a],null,null)) |
+y.toString |
+self.postMessage(x)}else try{$.jk().console.log(a)}catch(w){H.Ru(w) |
+z=new H.XO(w,null) |
+throw H.b(P.FM(z))}}, |
+Z7:function(a,b,c,d,e,f){var z,y,x,w |
+z=init.globalState.N0 |
+y=z.jO |
+$.te=$.te+("_"+y) |
+$.eb=$.eb+("_"+y) |
+y=z.EE |
+x=init.globalState.N0.jO |
+w=z.Qy |
+f.wR(["spawned",new H.JM(y,x),w,z.PX]) |
+x=new H.vK(a,b,c,d) |
+if(e===!0){z.v8(w,w) |
+init.globalState.Xz.Rk.NZ(new H.IY(z,x,"start isolate"))}else x.$0()}, |
+Gy:function(a){var z |
+if(init.globalState.ji===!0){z=new H.Bj(0,new H.X1()) |
+z.iq=new H.fP(null) |
+return z.h7(a)}else{z=new H.NO(new H.X1()) |
+z.iq=new H.fP(null) |
+return z.h7(a)}}, |
+Hh:function(a){if(init.globalState.ji===!0)return new H.II(null).QS(a) |
+else return a}, |
+vM:function(a){return a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean"}, |
+uu:function(a){return a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean"}, |
+PK:{ |
+"^":"Tp:7;a,b", |
+$0:function(){this.b.$1(this.a.a)}}, |
+JO:{ |
+"^":"Tp:7;a,c", |
+$0:function(){this.c.$2(this.a.a,null)}}, |
+O2:{ |
+"^":"a;Hg,oL,Y7,N0,yc,Xz,Ai,EF,ji,i2,vd,XC,w2", |
+i6:function(a){var z,y,x,w |
+z=$.C5()==null |
+y=$.vy() |
+x=z&&$.Iz()===!0 |
+this.EF=x |
+if(!x)y=y!=null&&$.Rs()!=null |
+else y=!0 |
+this.ji=y |
+this.Ai=z&&!x |
+y=H.IY |
+x=H.VM(new P.Sw(null,0,0,0),[y]) |
+x.Eo(null,y) |
+this.Xz=new H.cC(x,0) |
+this.i2=P.L5(null,null,null,P.KN,H.aX) |
+this.XC=P.L5(null,null,null,P.KN,null) |
+if(this.EF===!0){z=new H.JH() |
+this.vd=z |
+w=function(b,c){return function(d){b(c,d)}}(H.Mg,z) |
+$.jk().onmessage=w |
+$.jk().dartPrint=function(b){}}}}, |
+aX:{ |
+"^":"a;jO,Gx,fW,En<,EE<,Qy,PX,UF,C9,lJ,Jp,ml,mf,pa", |
+v8:function(a,b){if(!this.Qy.n(0,a))return |
+if(this.lJ.h(0,b)&&!this.UF)this.UF=!0 |
+this.PC()}, |
+cK:function(a){var z,y,x,w,v,u |
+if(!this.UF)return |
+z=this.lJ |
+z.Rz(0,a) |
+if(z.X5===0){for(z=this.C9;y=z.length,y!==0;){if(0>=y)return H.e(z,0) |
+x=z.pop() |
+y=init.globalState.Xz.Rk |
+w=y.av |
+v=y.v5 |
+u=v.length |
+w=(w-1&u-1)>>>0 |
+y.av=w |
+if(w<0||w>=u)return H.e(v,w) |
+v[w]=x |
+if(w===y.HV)y.VW();++y.qT}this.UF=!1}this.PC()}, |
+iK:function(a){var z=this.Jp |
+if(z==null){z=[] |
+this.Jp=z}if(J.kE(z,a))return |
+this.Jp.push(a)}, |
+Hh:function(a){var z=this.Jp |
+if(z==null)return |
+J.V1(z,a)}, |
+MZ:function(a,b){if(!this.PX.n(0,a))return |
+this.pa=b}, |
+Wq:function(a,b){var z,y |
+z=J.x(b) |
+if(!z.n(b,0))y=z.n(b,1)&&!this.mf |
+else y=!0 |
+if(y){a.wR(null) |
+return}y=new H.NY(a) |
+if(z.n(b,2)){init.globalState.Xz.Rk.NZ(new H.IY(this,y,"ping")) |
+return}z=this.ml |
+if(z==null){z=H.VM(new P.Sw(null,0,0,0),[null]) |
+z.Eo(null,null) |
+this.ml=z}z.NZ(y)}, |
+bc:function(a,b){var z,y |
+if(!this.PX.n(0,a))return |
+z=J.x(b) |
+if(!z.n(b,0))y=z.n(b,1)&&!this.mf |
+else y=!0 |
+if(y){this.Dm() |
+return}if(z.n(b,2)){z=init.globalState.Xz |
+y=this.gIm() |
+z.Rk.NZ(new H.IY(this,y,"kill")) |
+return}z=this.ml |
+if(z==null){z=H.VM(new P.Sw(null,0,0,0),[null]) |
+z.Eo(null,null) |
+this.ml=z}z.NZ(this.gIm())}, |
+vV:function(a){var z,y,x |
+z=init.globalState.N0 |
+init.globalState.N0=this |
+$=this.En |
+y=null |
+this.mf=!0 |
+try{y=a.$0()}finally{this.mf=!1 |
+init.globalState.N0=z |
+if(z!=null)$=z.gEn() |
+if(this.ml!=null)for(;x=this.ml,!x.gl0(x);)this.ml.Ux().$0()}return y}, |
+hV:function(a){return this.Gx.t(0,a)}, |
+aU:function(a,b){var z=this.Gx |
+if(z.x4(a))throw H.b(P.FM("Registry: ports must be registered only once.")) |
+z.u(0,a,b)}, |
+PC:function(){if(this.Gx.X5-this.fW.X5>0||this.UF)init.globalState.i2.u(0,this.jO,this) |
+else this.Dm()}, |
+Dm:[function(){var z,y,x |
+z=this.ml |
+if(z!=null)z.V1(0) |
+for(z=this.Gx,y=z.gUQ(z),x=y.l6,y=H.VM(new H.MH(null,x.gA(x),y.T6),[H.Kp(y,0),H.Kp(y,1)]);y.G();)y.lo.pr() |
+if(z.X5>0){z.lX=null |
+z.H9=null |
+z.OB=null |
+z.OX=null |
+z.vv=null |
+z.X5=0 |
+z.zN=z.zN+1&67108863}z=this.fW |
+if(z.X5>0){z.lX=null |
+z.H9=null |
+z.OB=null |
+z.OX=null |
+z.vv=null |
+z.X5=0 |
+z.zN=z.zN+1&67108863}init.globalState.i2.Rz(0,this.jO) |
+z=this.Jp |
+if(z!=null){for(z=new H.a7(z,z.length,0,null);z.G();)z.lo.wR(null) |
+this.Jp=null}},"$0","gIm",0,0,1]}, |
+NY:{ |
+"^":"Tp:1;a", |
+$0:function(){this.a.wR(null)}}, |
+cC:{ |
+"^":"a;Rk,GL", |
+Jc:function(){var z=this.Rk |
+if(z.av===z.HV)return |
+return z.Ux()}, |
+xB:function(){var z,y,x |
+z=this.Jc() |
+if(z==null){if(init.globalState.yc!=null&&init.globalState.i2.x4(init.globalState.yc.jO)&&init.globalState.Ai===!0&&init.globalState.yc.Gx.X5===0)H.vh(P.FM("Program exited with open ReceivePorts.")) |
+y=init.globalState |
+if(y.EF===!0&&y.i2.X5===0&&y.Xz.GL===0){y=y.vd |
+x=H.Gy(P.EF(["command","close"],null,null)) |
+y.toString |
+self.postMessage(x)}return!1}z.VU() |
+return!0}, |
+Wu:function(){if($.C5()!=null)new H.RA(this).$0() |
+else for(;this.xB(););}, |
+bL:function(){var z,y,x,w,v |
+if(init.globalState.EF!==!0)this.Wu() |
+else try{this.Wu()}catch(x){w=H.Ru(x) |
+z=w |
+y=new H.XO(x,null) |
+w=init.globalState.vd |
+v=H.Gy(P.EF(["command","error","msg",H.d(z)+"\n"+H.d(y)],null,null)) |
+w.toString |
+self.postMessage(v)}}}, |
+RA:{ |
+"^":"Tp:1;a", |
+$0:function(){if(!this.a.xB())return |
+P.rT(C.RT,this)}}, |
+IY:{ |
+"^":"a;od,i3,G1", |
+VU:function(){var z=this.od |
+if(z.UF){z.C9.push(this) |
+return}z.vV(this.i3)}}, |
+JH:{ |
+"^":"a;"}, |
+jl:{ |
+"^":"Tp:7;a,b,c,d,e,f", |
+$0:function(){H.Z7(this.a,this.b,this.c,this.d,this.e,this.f)}}, |
+vK:{ |
+"^":"Tp:1;a,b,c,d", |
+$0:function(){var z,y,x |
+if(this.d!==!0)this.a.$1(this.c) |
+else{z=this.a |
+y=H.N7() |
+x=H.KT(y,[y,y]).BD(z) |
+if(x)z.$2(this.b,this.c) |
+else{y=H.KT(y,[y]).BD(z) |
+if(y)z.$1(this.b) |
+else z.$0()}}}}, |
+Iy:{ |
+"^":"a;", |
+$isbC:true, |
+$isIU:true}, |
+JM:{ |
+"^":"Iy;JE,Jz", |
+wR:function(a){var z,y,x,w,v |
+z={} |
+y=this.Jz |
+x=init.globalState.i2.t(0,y) |
+if(x==null)return |
+w=this.JE |
+if(w.gKS())return |
+v=init.globalState.N0!=null&&init.globalState.N0.jO!==y |
+z.a=a |
+if(v)z.a=H.Gy(a) |
+if(x.gEE()===w){z=z.a |
+y=J.U6(z) |
+switch(y.t(z,0)){case"pause":x.v8(y.t(z,1),y.t(z,2)) |
+break |
+case"resume":x.cK(y.t(z,1)) |
+break |
+case"add-ondone":x.iK(y.t(z,1)) |
+break |
+case"remove-ondone":x.Hh(y.t(z,1)) |
+break |
+case"set-errors-fatal":x.MZ(y.t(z,1),y.t(z,2)) |
+break |
+case"ping":x.Wq(y.t(z,1),y.t(z,2)) |
+break |
+case"kill":x.bc(y.t(z,1),y.t(z,2)) |
+break}return}y=init.globalState.Xz |
+w="receive "+H.d(a) |
+y.Rk.NZ(new H.IY(x,new H.Ua(z,this,v),w))}, |
+n:function(a,b){if(b==null)return!1 |
+return!!J.x(b).$isJM&&J.de(this.JE,b.JE)}, |
+giO:function(a){return this.JE.gx6()}, |
+$isJM:true, |
+$isbC:true, |
+$isIU:true}, |
+Ua:{ |
+"^":"Tp:7;a,b,c", |
+$0:function(){var z,y |
+z=this.b.JE |
+if(!z.gKS()){if(this.c){y=this.a |
+y.a=H.Hh(y.a)}z.FL(this.a.a)}}}, |
+ns:{ |
+"^":"Iy;Ws,bv,Jz", |
+wR:function(a){var z,y |
+z=H.Gy(P.EF(["command","message","port",this,"msg",a],null,null)) |
+if(init.globalState.EF===!0){init.globalState.vd.toString |
+self.postMessage(z)}else{y=init.globalState.XC.t(0,this.Ws) |
+if(y!=null)y.postMessage(z)}}, |
+n:function(a,b){if(b==null)return!1 |
+return!!J.x(b).$isns&&J.de(this.Ws,b.Ws)&&J.de(this.Jz,b.Jz)&&J.de(this.bv,b.bv)}, |
+giO:function(a){var z,y,x |
+z=this.Ws |
+if(typeof z!=="number")return z.O() |
+y=this.Jz |
+if(typeof y!=="number")return y.O() |
+x=this.bv |
+if(typeof x!=="number")return H.s(x) |
+return(z<<16^y<<8^x)>>>0}, |
+$isns:true, |
+$isbC:true, |
+$isIU:true}, |
+yo:{ |
+"^":"a;x6<,Sy,KS<", |
+aV:function(a){return this.Sy.$1(a)}, |
+pr:function(){this.KS=!0 |
+this.Sy=null}, |
+FL:function(a){if(this.KS)return |
+this.aV(a)}, |
+static:{"^":"ty"}}, |
+Bj:{ |
+"^":"Tf;CN,iq", |
+aC:function(a){if(!!a.$isJM)return["sendport",init.globalState.oL,a.Jz,a.JE.gx6()] |
+if(!!a.$isns)return["sendport",a.Ws,a.Jz,a.bv] |
+throw H.b("Illegal underlying port "+a.bu(0))}, |
+yf:function(a){if(!!a.$isku)return["capability",a.x6] |
+throw H.b("Capability not serializable: "+a.bu(0))}}, |
+NO:{ |
+"^":"oo;iq", |
+aC:function(a){if(!!a.$isJM)return new H.JM(a.JE,a.Jz) |
+if(!!a.$isns)return new H.ns(a.Ws,a.bv,a.Jz) |
+throw H.b("Illegal underlying port "+a.bu(0))}, |
+yf:function(a){if(!!a.$isku)return new H.ku(a.x6) |
+throw H.b("Capability not serializable: "+a.bu(0))}}, |
+II:{ |
+"^":"iY;RZ", |
+Vf:function(a){var z,y,x,w,v,u |
+z=J.U6(a) |
+y=z.t(a,1) |
+x=z.t(a,2) |
+w=z.t(a,3) |
+if(J.de(y,init.globalState.oL)){v=init.globalState.i2.t(0,x) |
+if(v==null)return |
+u=v.hV(w) |
+if(u==null)return |
+return new H.JM(u,x)}else return new H.ns(y,w,x)}, |
+Op:function(a){return new H.ku(J.UQ(a,1))}}, |
+fP:{ |
+"^":"a;kw", |
+t:function(a,b){return b.__MessageTraverser__attached_info__}, |
+u:function(a,b,c){this.kw.push(b) |
+b.__MessageTraverser__attached_info__=c}, |
+CH:function(a){this.kw=[]}, |
+F4:function(){var z,y,x |
+for(z=this.kw.length,y=0;y<z;++y){x=this.kw |
+if(y>=x.length)return H.e(x,y) |
+x[y].__MessageTraverser__attached_info__=null}this.kw=null}}, |
+X1:{ |
+"^":"a;", |
+t:function(a,b){return}, |
+u:function(a,b,c){}, |
+CH:function(a){}, |
+F4:function(){}}, |
+HU:{ |
+"^":"a;", |
+h7:function(a){var z |
+if(H.vM(a))return this.Pq(a) |
+this.iq.CH(0) |
+z=null |
+try{z=this.I8(a)}finally{this.iq.F4()}return z}, |
+I8:function(a){var z |
+if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return this.Pq(a) |
+z=J.x(a) |
+if(!!z.$iszM)return this.wb(a) |
+if(!!z.$isZ0)return this.w5(a) |
+if(!!z.$isbC)return this.aC(a) |
+if(!!z.$isIU)return this.yf(a) |
+return this.N1(a)}, |
+N1:function(a){throw H.b("Message serialization: Illegal value "+H.d(a)+" passed")}}, |
+oo:{ |
+"^":"HU;", |
+Pq:function(a){return a}, |
+wb:function(a){var z,y,x |
+z=this.iq.t(0,a) |
+if(z!=null)return z |
+y=J.q8(a) |
+z=Array(y) |
+z.fixed$length=init |
+this.iq.u(0,a,z) |
+for(x=0;x<y;++x){if(x>=a.length)return H.e(a,x) |
+z[x]=this.I8(a[x])}return z}, |
+w5:function(a){var z,y |
+z={} |
+y=this.iq.t(0,a) |
+z.a=y |
+if(y!=null)return y |
+y=P.L5(null,null,null,null,null) |
+z.a=y |
+this.iq.u(0,a,y) |
+a.aN(0,new H.OW(z,this)) |
+return z.a}, |
+aC:function(a){return H.vh(P.SY(null))}, |
+yf:function(a){return H.vh(P.SY(null))}}, |
+OW:{ |
+"^":"Tp:8;a,b", |
+$2:function(a,b){var z=this.b |
+J.kW(this.a.a,z.I8(a),z.I8(b))}}, |
+Tf:{ |
+"^":"HU;", |
+Pq:function(a){return a}, |
+wb:function(a){var z,y |
+z=this.iq.t(0,a) |
+if(z!=null)return["ref",z] |
+y=this.CN++ |
+this.iq.u(0,a,y) |
+return["list",y,this.mE(a)]}, |
+w5:function(a){var z,y,x,w |
+z=this.iq.t(0,a) |
+if(z!=null)return["ref",z] |
+y=this.CN++ |
+this.iq.u(0,a,y) |
+x=a.gvc() |
+w=this.mE(P.F(x,!0,H.ip(x,"mW",0))) |
+x=a.gUQ(a) |
+return["map",y,w,this.mE(P.F(x,!0,H.ip(x,"mW",0)))]}, |
+mE:function(a){var z,y,x,w |
+z=J.q8(a) |
+y=[] |
+C.Nm.sB(y,z) |
+for(x=0;x<z;++x){if(x>=a.length)return H.e(a,x) |
+w=this.I8(a[x]) |
+if(x>=y.length)return H.e(y,x) |
+y[x]=w}return y}, |
+aC:function(a){return H.vh(P.SY(null))}, |
+yf:function(a){return H.vh(P.SY(null))}}, |
+iY:{ |
+"^":"a;", |
+QS:function(a){if(H.uu(a))return a |
+this.RZ=P.Py(null,null,null,null,null) |
+return this.XE(a)}, |
+XE:function(a){var z,y |
+if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a |
+z=J.U6(a) |
+switch(z.t(a,0)){case"ref":y=z.t(a,1) |
+return this.RZ.t(0,y) |
+case"list":return this.Dj(a) |
+case"map":return this.tv(a) |
+case"sendport":return this.Vf(a) |
+case"capability":return this.Op(a) |
+default:return this.PR(a)}}, |
+Dj:function(a){var z,y,x,w,v |
+z=J.U6(a) |
+y=z.t(a,1) |
+x=z.t(a,2) |
+this.RZ.u(0,y,x) |
+z=J.U6(x) |
+w=z.gB(x) |
+if(typeof w!=="number")return H.s(w) |
+v=0 |
+for(;v<w;++v)z.u(x,v,this.XE(z.t(x,v))) |
+return x}, |
+tv:function(a){var z,y,x,w,v,u,t,s |
+z=P.L5(null,null,null,null,null) |
+y=J.U6(a) |
+x=y.t(a,1) |
+this.RZ.u(0,x,z) |
+w=y.t(a,2) |
+v=y.t(a,3) |
+y=J.U6(w) |
+u=y.gB(w) |
+if(typeof u!=="number")return H.s(u) |
+t=J.U6(v) |
+s=0 |
+for(;s<u;++s)z.u(0,this.XE(y.t(w,s)),this.XE(t.t(v,s))) |
+return z}, |
+PR:function(a){throw H.b("Unexpected serialized object")}}, |
+yH:{ |
+"^":"a;Kf,zu,p9", |
+Qa:function(a,b){var z,y |
+if(a===0)z=$.jk().setTimeout==null||init.globalState.EF===!0 |
+else z=!1 |
+if(z){this.p9=1 |
+z=init.globalState.Xz |
+y=init.globalState.N0 |
+z.Rk.NZ(new H.IY(y,new H.FA(this,b),"timer")) |
+this.zu=!0}else{z=$.jk() |
+if(z.setTimeout!=null){++init.globalState.Xz.GL |
+this.p9=z.setTimeout(H.tR(new H.Av(this,b),0),a)}else throw H.b(P.f("Timer greater than 0."))}}, |
+static:{cy:function(a,b){var z=new H.yH(!0,!1,null) |
+z.Qa(a,b) |
+return z}}}, |
+FA:{ |
+"^":"Tp:1;a,b", |
+$0:function(){this.a.p9=null |
+this.b.$0()}}, |
+Av:{ |
+"^":"Tp:1;c,d", |
+$0:function(){this.c.p9=null |
+H.ox() |
+this.d.$0()}}, |
+ku:{ |
+"^":"a;x6<", |
+giO:function(a){var z=this.x6 |
+if(typeof z!=="number")return z.m() |
+z=C.CD.GG(z,0)^C.CD.cU(z,4294967296) |
+z=(~z>>>0)+(z<<15>>>0)&4294967295 |
+z=((z^z>>>12)>>>0)*5&4294967295 |
+z=((z^z>>>4)>>>0)*2057&4294967295 |
+return(z^z>>>16)>>>0}, |
+n:function(a,b){var z,y |
+if(b==null)return!1 |
+if(b===this)return!0 |
+if(!!J.x(b).$isku){z=this.x6 |
+y=b.x6 |
+return z==null?y==null:z===y}return!1}, |
+$isku:true, |
+$isIU:true}}],["_js_helper","dart:_js_helper",,H,{ |
+"^":"", |
+wV:function(a,b){var z |
+if(b!=null){z=b.x |
+if(z!=null)return z}return!!J.x(a).$isXj}, |
+d:function(a){var z |
+if(typeof a==="string")return a |
+if(typeof a==="number"){if(a!==0)return""+a}else if(!0===a)return"true" |
+else if(!1===a)return"false" |
+else if(a==null)return"null" |
+z=J.AG(a) |
+if(typeof z!=="string")throw H.b(P.u(a)) |
+return z}, |
+eQ:function(a){var z=a.$identityHash |
+if(z==null){z=Math.random()*0x3fffffff|0 |
+a.$identityHash=z}return z}, |
+lh:function(a){var z,y |
+z=C.w2(J.x(a)) |
+if(z==="Object"){y=String(a.constructor).match(/^\s*function\s*(\S*)\s*\(/)[1] |
+if(typeof y==="string")z=/^\w+$/.test(y)?y:z}if(z.length>1&&C.xB.j(z,0)===36)z=C.xB.yn(z,1) |
+return(z+H.ia(H.oX(a),0,null)).replace(/[^<,> ]+/g,function(b){return init.mangledGlobalNames[b]||b})}, |
+a5:function(a){return"Instance of '"+H.lh(a)+"'"}, |
+Lw:function(a){var z |
+if(0<=a){if(a<=65535)return String.fromCharCode(a) |
+if(a<=1114111){z=a-65536 |
+return String.fromCharCode((55296|C.jn.GG(z,10))>>>0,56320|z&1023)}}throw H.b(P.TE(a,0,1114111))}, |
+VK:function(a,b){if(a==null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")throw H.b(P.u(a)) |
+return a[b]}, |
+aw:function(a,b,c){if(a==null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")throw H.b(P.u(a)) |
+a[b]=c}, |
+s:function(a){throw H.b(P.u(a))}, |
+e:function(a,b){if(a==null)J.q8(a) |
+if(typeof b!=="number"||Math.floor(b)!==b)H.s(b) |
+throw H.b(P.N(b))}, |
+b:function(a){var z |
+if(a==null)a=new P.LK() |
+z=new Error() |
+z.dartException=a |
+if("defineProperty" in Object){Object.defineProperty(z,"message",{get:H.Ju}) |
+z.name=""}else z.toString=H.Ju |
+return z}, |
+Ju:function(){return J.AG(this.dartException)}, |
+vh:function(a){throw H.b(a)}, |
+Ru:function(a){var z,y,x,w,v,u,t,s,r,q,p,o,n,m |
+z=new H.Am(a) |
+if(a==null)return |
+if(typeof a!=="object")return a |
+if("dartException" in a)return z.$1(a.dartException) |
+else if(!("message" in a))return a |
+y=a.message |
+if("number" in a&&typeof a.number=="number"){x=a.number |
+w=x&65535 |
+if((C.jn.GG(x,16)&8191)===10)switch(w){case 438:return z.$1(H.T3(H.d(y)+" (Error "+w+")",null)) |
+case 445:case 5007:v=H.d(y)+" (Error "+w+")" |
+return z.$1(new H.W0(v,null))}}if(a instanceof TypeError){v=$.WD() |
+u=$.OI() |
+t=$.PH() |
+s=$.D1() |
+r=$.rx() |
+q=$.Y9() |
+p=$.zO() |
+$.Bi() |
+o=$.eA() |
+n=$.ko() |
+m=v.qS(y) |
+if(m!=null)return z.$1(H.T3(y,m)) |
+else{m=u.qS(y) |
+if(m!=null){m.method="call" |
+return z.$1(H.T3(y,m))}else{m=t.qS(y) |
+if(m==null){m=s.qS(y) |
+if(m==null){m=r.qS(y) |
+if(m==null){m=q.qS(y) |
+if(m==null){m=p.qS(y) |
+if(m==null){m=s.qS(y) |
+if(m==null){m=o.qS(y) |
+if(m==null){m=n.qS(y) |
+v=m!=null}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0 |
+if(v){v=m==null?null:m.method |
+return z.$1(new H.W0(y,v))}}}v=typeof y==="string"?y:"" |
+return z.$1(new H.vV(v))}if(a instanceof RangeError){if(typeof y==="string"&&y.indexOf("call stack")!==-1)return new P.VS() |
+return z.$1(new P.AT(null))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof y==="string"&&y==="too much recursion")return new P.VS() |
+return a}, |
+CU:function(a){if(a==null||typeof a!='object')return J.v1(a) |
+else return H.eQ(a)}, |
+B7:function(a,b){var z,y,x,w |
+z=a.length |
+for(y=0;y<z;y=w){x=y+1 |
+w=x+1 |
+b.u(0,a[y],a[x])}return b}, |
+ft:function(a,b,c,d,e,f,g){var z=J.x(c) |
+if(z.n(c,0))return H.zd(b,new H.dr(a)) |
+else if(z.n(c,1))return H.zd(b,new H.TL(a,d)) |
+else if(z.n(c,2))return H.zd(b,new H.KX(a,d,e)) |
+else if(z.n(c,3))return H.zd(b,new H.uZ(a,d,e,f)) |
+else if(z.n(c,4))return H.zd(b,new H.OQ(a,d,e,f,g)) |
+else throw H.b(P.FM("Unsupported number of arguments for wrapped closure"))}, |
+tR:function(a,b){var z |
+if(a==null)return |
+z=a.$identity |
+if(!!z)return z |
+z=function(c,d,e,f){return function(g,h,i,j){return f(c,e,d,g,h,i,j)}}(a,b,init.globalState.N0,H.ft) |
+a.$identity=z |
+return z}, |
+iA:function(a,b,c,d,e,f){var z,y,x,w,v,u,t,s,r,q,p,o,n,m |
+z=b[0] |
+z.$stubName |
+y=z.$callName |
+z.$reflectionInfo=c |
+x=H.zh(z).AM |
+w=d?Object.create(new H.Bp().constructor.prototype):Object.create(new H.v(null,null,null,null).constructor.prototype) |
+w.$initialize=w.constructor |
+if(d)v=function(){this.$initialize()} |
+else if(typeof dart_precompiled=="function"){u=function(g,h,i,j){this.$initialize(g,h,i,j)} |
+v=u}else{u=$.yj |
+$.yj=J.WB(u,1) |
+u=new Function("a","b","c","d","this.$initialize(a,b,c,d);"+u) |
+v=u}w.constructor=v |
+v.prototype=w |
+u=!d |
+if(u){t=e.length==1&&!0 |
+s=H.bx(a,z,t) |
+s.$reflectionInfo=c}else{w.$name=f |
+s=z |
+t=!1}if(typeof x=="number")r=function(g){return function(){return init.metadata[g]}}(x) |
+else if(u&&typeof x=="function"){q=t?H.yS:H.DV |
+r=function(g,h){return function(){return g.apply({$receiver:h(this)},arguments)}}(x,q)}else throw H.b("Error in reflectionInfo.") |
+w.$signature=r |
+w[y]=s |
+for(u=b.length,p=1;p<u;++p){o=b[p] |
+n=o.$callName |
+if(n!=null){m=d?o:H.bx(a,o,t) |
+w[n]=m}}w["call*"]=s |
+return v}, |
+vq:function(a,b,c,d){var z=H.DV |
+switch(b?-1:a){case 0:return function(e,f){return function(){return f(this)[e]()}}(c,z) |
+case 1:return function(e,f){return function(g){return f(this)[e](g)}}(c,z) |
+case 2:return function(e,f){return function(g,h){return f(this)[e](g,h)}}(c,z) |
+case 3:return function(e,f){return function(g,h,i){return f(this)[e](g,h,i)}}(c,z) |
+case 4:return function(e,f){return function(g,h,i,j){return f(this)[e](g,h,i,j)}}(c,z) |
+case 5:return function(e,f){return function(g,h,i,j,k){return f(this)[e](g,h,i,j,k)}}(c,z) |
+default:return function(e,f){return function(){return e.apply(f(this),arguments)}}(d,z)}}, |
+bx:function(a,b,c){var z,y,x,w,v,u |
+if(c)return H.Hf(a,b) |
+z=b.$stubName |
+y=b.length |
+x=a[z] |
+w=b==null?x==null:b===x |
+if(typeof dart_precompiled=="function"||!w||y>=27)return H.vq(y,!w,z,b) |
+if(y===0){w=$.mJ |
+if(w==null){w=H.E2("self") |
+$.mJ=w}w="return function(){return this."+H.d(w)+"."+H.d(z)+"();" |
+v=$.yj |
+$.yj=J.WB(v,1) |
+return new Function(w+H.d(v)+"}")()}u="abcdefghijklmnopqrstuvwxyz".split("").splice(0,y).join(",") |
+w="return function("+u+"){return this." |
+v=$.mJ |
+if(v==null){v=H.E2("self") |
+$.mJ=v}v=w+H.d(v)+"."+H.d(z)+"("+u+");" |
+w=$.yj |
+$.yj=J.WB(w,1) |
+return new Function(v+H.d(w)+"}")()}, |
+Z4:function(a,b,c,d){var z,y |
+z=H.DV |
+y=H.yS |
+switch(b?-1:a){case 0:throw H.b(H.Ef("Intercepted function with no arguments.")) |
+case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,z,y) |
+case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,z,y) |
+case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,z,y) |
+case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,z,y) |
+case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,z,y) |
+case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,z,y) |
+default:return function(e,f,g,h){return function(){h=[g(this)] |
+Array.prototype.push.apply(h,arguments) |
+return e.apply(f(this),h)}}(d,z,y)}}, |
+Hf:function(a,b){var z,y,x,w,v,u,t,s |
+z=H.oN() |
+y=$.P4 |
+if(y==null){y=H.E2("receiver") |
+$.P4=y}x=b.$stubName |
+w=b.length |
+v=typeof dart_precompiled=="function" |
+u=a[x] |
+t=b==null?u==null:b===u |
+if(v||!t||w>=28)return H.Z4(w,!t,x,b) |
+if(w===1){y="return function(){return this."+H.d(z)+"."+H.d(x)+"(this."+H.d(y)+");" |
+t=$.yj |
+$.yj=J.WB(t,1) |
+return new Function(y+H.d(t)+"}")()}s="abcdefghijklmnopqrstuvwxyz".split("").splice(0,w-1).join(",") |
+y="return function("+s+"){return this."+H.d(z)+"."+H.d(x)+"(this."+H.d(y)+", "+s+");" |
+t=$.yj |
+$.yj=J.WB(t,1) |
+return new Function(y+H.d(t)+"}")()}, |
+qm:function(a,b,c,d,e,f){b.fixed$length=init |
+c.fixed$length=init |
+return H.iA(a,b,c,!!d,e,f)}, |
+aE:function(a,b){var z=J.U6(b) |
+throw H.b(H.aq(H.lh(a),z.Nj(b,3,z.gB(b))))}, |
+Go:function(a,b){var z |
+if(a!=null)z=typeof a==="object"&&J.x(a)[b] |
+else z=!0 |
+if(z)return a |
+H.aE(a,b)}, |
+ag:function(a){throw H.b(P.Gz("Cyclic initialization for static "+H.d(a)))}, |
+KT:function(a,b,c){return new H.tD(a,b,c,null)}, |
+N7:function(){return C.KZ}, |
+VM:function(a,b){if(a!=null)a.$builtinTypeInfo=b |
+return a}, |
+oX:function(a){if(a==null)return |
+return a.$builtinTypeInfo}, |
+IM:function(a,b){return H.Z9(a["$as"+H.d(b)],H.oX(a))}, |
+ip:function(a,b,c){var z=H.IM(a,b) |
+return z==null?null:z[c]}, |
+Kp:function(a,b){var z=H.oX(a) |
+return z==null?null:z[b]}, |
+Ko:function(a,b){if(a==null)return"dynamic" |
+else if(typeof a==="object"&&a!==null&&a.constructor===Array)return a[0].builtin$cls+H.ia(a,1,b) |
+else if(typeof a=="function")return a.builtin$cls |
+else if(typeof a==="number"&&Math.floor(a)===a)return C.jn.bu(a) |
+else return}, |
+ia:function(a,b,c){var z,y,x,w,v,u |
+if(a==null)return"" |
+z=P.p9("") |
+for(y=b,x=!0,w=!0;y<a.length;++y){if(x)x=!1 |
+else z.vM+=", " |
+v=a[y] |
+if(v!=null)w=!1 |
+u=H.Ko(v,c) |
+z.vM+=typeof u==="string"?u:H.d(u)}return w?"":"<"+H.d(z)+">"}, |
+Z9:function(a,b){if(typeof a==="object"&&a!==null&&a.constructor===Array)b=a |
+else if(typeof a=="function"){a=H.ml(a,null,b) |
+if(typeof a==="object"&&a!==null&&a.constructor===Array)b=a |
+else if(typeof a=="function")b=H.ml(a,null,b)}return b}, |
+hv:function(a,b){var z,y |
+if(a==null||b==null)return!0 |
+z=a.length |
+for(y=0;y<z;++y)if(!H.t1(a[y],b[y]))return!1 |
+return!0}, |
+IG:function(a,b,c){return H.ml(a,b,H.IM(b,c))}, |
+t1:function(a,b){var z,y,x,w,v,u,t |
+if(a===b)return!0 |
+if(a==null||b==null)return!0 |
+if("func" in b){if(!("func" in a)){if("$is_"+H.d(b.func) in a)return!0 |
+z=a.$signature |
+if(z==null)return!1 |
+a=z.apply(a,null)}return H.Ly(a,b)}if(b.builtin$cls==="EH"&&"func" in a)return!0 |
+y=typeof a==="object"&&a!==null&&a.constructor===Array |
+x=y?a[0]:a |
+w=typeof b==="object"&&b!==null&&b.constructor===Array |
+v=w?b[0]:b |
+u=H.Ko(v,null) |
+if(v!==x){if(!("$is"+H.d(u) in x))return!1 |
+t=x["$as"+H.d(H.Ko(v,null))]}else t=null |
+if(!y&&t==null||!w)return!0 |
+y=y?a.slice(1):null |
+w=w?b.slice(1):null |
+return H.hv(H.Z9(t,y),w)}, |
+Hc:function(a,b,c){var z,y,x,w,v |
+if(b==null&&a==null)return!0 |
+if(b==null)return c |
+if(a==null)return!1 |
+z=a.length |
+y=b.length |
+if(c){if(z<y)return!1}else if(z!==y)return!1 |
+for(x=0;x<y;++x){w=a[x] |
+v=b[x] |
+if(!(H.t1(w,v)||H.t1(v,w)))return!1}return!0}, |
+Vt:function(a,b){var z,y,x,w,v,u |
+if(b==null)return!0 |
+if(a==null)return!1 |
+z=Object.getOwnPropertyNames(b) |
+z.fixed$length=init |
+y=z |
+for(z=y.length,x=0;x<z;++x){w=y[x] |
+if(!Object.hasOwnProperty.call(a,w))return!1 |
+v=b[w] |
+u=a[w] |
+if(!(H.t1(v,u)||H.t1(u,v)))return!1}return!0}, |
+Ly:function(a,b){var z,y,x,w,v,u,t,s,r,q,p,o,n,m,l |
+if(!("func" in a))return!1 |
+if("void" in a){if(!("void" in b)&&"ret" in b)return!1}else if(!("void" in b)){z=a.ret |
+y=b.ret |
+if(!(H.t1(z,y)||H.t1(y,z)))return!1}x=a.args |
+w=b.args |
+v=a.opt |
+u=b.opt |
+t=x!=null?x.length:0 |
+s=w!=null?w.length:0 |
+r=v!=null?v.length:0 |
+q=u!=null?u.length:0 |
+if(t>s)return!1 |
+if(t+r<s+q)return!1 |
+if(t===s){if(!H.Hc(x,w,!1))return!1 |
+if(!H.Hc(v,u,!0))return!1}else{for(p=0;p<t;++p){o=x[p] |
+n=w[p] |
+if(!(H.t1(o,n)||H.t1(n,o)))return!1}for(m=p,l=0;m<s;++l,++m){o=v[l] |
+n=w[m] |
+if(!(H.t1(o,n)||H.t1(n,o)))return!1}for(m=0;m<q;++l,++m){o=v[l] |
+n=u[m] |
+if(!(H.t1(o,n)||H.t1(n,o)))return!1}}return H.Vt(a.named,b.named)}, |
+ml:function(a,b,c){return a.apply(b,c)}, |
+or:function(a){var z=$.NF |
+return"Instance of "+(z==null?"<Unknown>":z.$1(a))}, |
+wz:function(a){return H.eQ(a)}, |
+iw:function(a,b,c){Object.defineProperty(a,b,{value:c,enumerable:false,writable:true,configurable:true})}, |
+w3:function(a){var z,y,x,w,v,u |
+z=$.NF.$1(a) |
+y=$.nw[z] |
+if(y!=null){Object.defineProperty(a,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true}) |
+return y.i}x=$.vv[z] |
+if(x!=null)return x |
+w=init.interceptorsByTag[z] |
+if(w==null){z=$.TX.$2(a,z) |
+if(z!=null){y=$.nw[z] |
+if(y!=null){Object.defineProperty(a,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true}) |
+return y.i}x=$.vv[z] |
+if(x!=null)return x |
+w=init.interceptorsByTag[z]}}if(w==null)return |
+x=w.prototype |
+v=z[0] |
+if(v==="!"){y=H.Va(x) |
+$.nw[z]=y |
+Object.defineProperty(a,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true}) |
+return y.i}if(v==="~"){$.vv[z]=x |
+return x}if(v==="-"){u=H.Va(x) |
+Object.defineProperty(Object.getPrototypeOf(a),init.dispatchPropertyName,{value:u,enumerable:false,writable:true,configurable:true}) |
+return u.i}if(v==="+")return H.Lc(a,x) |
+if(v==="*")throw H.b(P.SY(z)) |
+if(init.leafTags[z]===true){u=H.Va(x) |
+Object.defineProperty(Object.getPrototypeOf(a),init.dispatchPropertyName,{value:u,enumerable:false,writable:true,configurable:true}) |
+return u.i}else return H.Lc(a,x)}, |
+Lc:function(a,b){var z,y |
+z=Object.getPrototypeOf(a) |
+y=J.Qu(b,z,null,null) |
+Object.defineProperty(z,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true}) |
+return b}, |
+Va:function(a){return J.Qu(a,!1,null,!!a.$isXj)}, |
+ow:function(a,b,c){var z=b.prototype |
+if(init.leafTags[a]===true)return J.Qu(z,!1,null,!!z.$isXj) |
+else return J.Qu(z,c,null,null)}, |
+XD:function(){if(!0===$.Bv)return |
+$.Bv=!0 |
+H.Z1()}, |
+Z1:function(){var z,y,x,w,v,u,t,s |
+$.nw=Object.create(null) |
+$.vv=Object.create(null) |
+H.kO() |
+z=init.interceptorsByTag |
+y=Object.getOwnPropertyNames(z) |
+if(typeof window!="undefined"){window |
+x=function(){} |
+for(w=0;w<y.length;++w){v=y[w] |
+u=$.x7.$1(v) |
+if(u!=null){t=H.ow(v,z[v],u) |
+if(t!=null){Object.defineProperty(u,init.dispatchPropertyName,{value:t,enumerable:false,writable:true,configurable:true}) |
+x.prototype=u}}}}for(w=0;w<y.length;++w){v=y[w] |
+if(/^[A-Za-z_]/.test(v)){s=z[v] |
+z["!"+v]=s |
+z["~"+v]=s |
+z["-"+v]=s |
+z["+"+v]=s |
+z["*"+v]=s}}}, |
+kO:function(){var z,y,x,w,v,u,t |
+z=C.MA() |
+z=H.ud(C.Mc,H.ud(C.hQ,H.ud(C.XQ,H.ud(C.XQ,H.ud(C.M1,H.ud(C.lR,H.ud(C.ur(C.w2),z))))))) |
+if(typeof dartNativeDispatchHooksTransformer!="undefined"){y=dartNativeDispatchHooksTransformer |
+if(typeof y=="function")y=[y] |
+if(y.constructor==Array)for(x=0;x<y.length;++x){w=y[x] |
+if(typeof w=="function")z=w(z)||z}}v=z.getTag |
+u=z.getUnknownTag |
+t=z.prototypeForTag |
+$.NF=new H.dC(v) |
+$.TX=new H.wN(u) |
+$.x7=new H.VX(t)}, |
+ud:function(a,b){return a(b)||b}, |
+FD:{ |
+"^":"a;mr,Rn,XZ,Rv,hG,Mo,AM,NE", |
+static:{"^":"t4,FV,Oc,pv",zh:function(a){var z,y,x |
+z=a.$reflectionInfo |
+if(z==null)return |
+z.fixed$length=init |
+z=z |
+y=z[0] |
+x=z[1] |
+return new H.FD(a,z,(y&1)===1,y>>1,x>>1,(x&1)===1,z[2],null)}}}, |
+Zr:{ |
+"^":"a;bT,rq,Xs,Fa,Ga,EP", |
+qS:function(a){var z,y,x |
+z=new RegExp(this.bT).exec(a) |
+if(z==null)return |
+y={} |
+x=this.rq |
+if(x!==-1)y.arguments=z[x+1] |
+x=this.Xs |
+if(x!==-1)y.argumentsExpr=z[x+1] |
+x=this.Fa |
+if(x!==-1)y.expr=z[x+1] |
+x=this.Ga |
+if(x!==-1)y.method=z[x+1] |
+x=this.EP |
+if(x!==-1)y.receiver=z[x+1] |
+return y}, |
+static:{"^":"lm,k1,Re,fN,qi,rZ,BX,tt,dt,A7",cM:function(a){var z,y,x,w,v,u |
+a=a.replace(String({}),'$receiver$').replace(new RegExp("[[\\]{}()*+?.\\\\^$|]",'g'),'\\$&') |
+z=a.match(/\\\$[a-zA-Z]+\\\$/g) |
+if(z==null)z=[] |
+y=z.indexOf("\\$arguments\\$") |
+x=z.indexOf("\\$argumentsExpr\\$") |
+w=z.indexOf("\\$expr\\$") |
+v=z.indexOf("\\$method\\$") |
+u=z.indexOf("\\$receiver\\$") |
+return new H.Zr(a.replace('\\$arguments\\$','((?:x|[^x])*)').replace('\\$argumentsExpr\\$','((?:x|[^x])*)').replace('\\$expr\\$','((?:x|[^x])*)').replace('\\$method\\$','((?:x|[^x])*)').replace('\\$receiver\\$','((?:x|[^x])*)'),y,x,w,v,u)},S7:function(a){return function($expr$){var $argumentsExpr$='$arguments$' |
+try{$expr$.$method$($argumentsExpr$)}catch(z){return z.message}}(a)},Mj:function(a){return function($expr$){try{$expr$.$method$}catch(z){return z.message}}(a)}}}, |
+W0:{ |
+"^":"Ge;V7,Ga", |
+bu:function(a){var z=this.Ga |
+if(z==null)return"NullError: "+H.d(this.V7) |
+return"NullError: Cannot call \""+H.d(z)+"\" on null"}, |
+$isGe:true}, |
+az:{ |
+"^":"Ge;V7,Ga,EP", |
+bu:function(a){var z,y |
+z=this.Ga |
+if(z==null)return"NoSuchMethodError: "+H.d(this.V7) |
+y=this.EP |
+if(y==null)return"NoSuchMethodError: Cannot call \""+H.d(z)+"\" ("+H.d(this.V7)+")" |
+return"NoSuchMethodError: Cannot call \""+H.d(z)+"\" on \""+H.d(y)+"\" ("+H.d(this.V7)+")"}, |
+$isGe:true, |
+static:{T3:function(a,b){var z,y |
+z=b==null |
+y=z?null:b.method |
+z=z?null:b.receiver |
+return new H.az(a,y,z)}}}, |
+vV:{ |
+"^":"Ge;V7", |
+bu:function(a){var z=this.V7 |
+return C.xB.gl0(z)?"Error":"Error: "+z}}, |
+Am:{ |
+"^":"Tp:9;a", |
+$1:function(a){if(!!J.x(a).$isGe)if(a.$thrownJsError==null)a.$thrownJsError=this.a |
+return a}}, |
+XO:{ |
+"^":"a;lA,ui", |
+bu:function(a){var z,y |
+z=this.ui |
+if(z!=null)return z |
+z=this.lA |
+y=typeof z==="object"?z.stack:null |
+z=y==null?"":y |
+this.ui=z |
+return z}}, |
+dr:{ |
+"^":"Tp:7;a", |
+$0:function(){return this.a.$0()}}, |
+TL:{ |
+"^":"Tp:7;b,c", |
+$0:function(){return this.b.$1(this.c)}}, |
+KX:{ |
+"^":"Tp:7;d,e,f", |
+$0:function(){return this.d.$2(this.e,this.f)}}, |
+uZ:{ |
+"^":"Tp:7;UI,bK,Gq,Rm", |
+$0:function(){return this.UI.$3(this.bK,this.Gq,this.Rm)}}, |
+OQ:{ |
+"^":"Tp:7;w3,HZ,mG,xC,cj", |
+$0:function(){return this.w3.$4(this.HZ,this.mG,this.xC,this.cj)}}, |
+Tp:{ |
+"^":"a;", |
+bu:function(a){return"Closure"}, |
+gKu:function(){return this}}, |
+Bp:{ |
+"^":"Tp;"}, |
+v:{ |
+"^":"Bp;nw,jm,EP,RA", |
+n:function(a,b){if(b==null)return!1 |
+if(this===b)return!0 |
+if(!J.x(b).$isv)return!1 |
+return this.nw===b.nw&&this.jm===b.jm&&this.EP===b.EP}, |
+giO:function(a){var z,y |
+z=this.EP |
+if(z==null)y=H.eQ(this.nw) |
+else y=typeof z!=="object"?J.v1(z):H.eQ(z) |
+z=H.eQ(this.jm) |
+if(typeof y!=="number")return y.w() |
+return(y^z)>>>0}, |
+$isv:true, |
+static:{"^":"mJ,P4",DV:function(a){return a.nw},yS:function(a){return a.EP},oN:function(){var z=$.mJ |
+if(z==null){z=H.E2("self") |
+$.mJ=z}return z},E2:function(a){var z,y,x,w,v |
+z=new H.v("self","target","receiver","name") |
+y=Object.getOwnPropertyNames(z) |
+y.fixed$length=init |
+x=y |
+for(y=x.length,w=0;w<y;++w){v=x[w] |
+if(z[v]===a)return v}}}}, |
+Pe:{ |
+"^":"Ge;G1", |
+bu:function(a){return this.G1}, |
+$isGe:true, |
+static:{aq:function(a,b){return new H.Pe("CastError: Casting value of type "+H.d(a)+" to incompatible type "+H.d(b))}}}, |
+Eq:{ |
+"^":"Ge;G1", |
+bu:function(a){return"RuntimeError: "+H.d(this.G1)}, |
+static:{Ef:function(a){return new H.Eq(a)}}}, |
+lb:{ |
+"^":"a;"}, |
+tD:{ |
+"^":"lb;dw,Iq,is,p6", |
+BD:function(a){var z=this.rP(a) |
+return z==null?!1:H.Ly(z,this.za())}, |
+rP:function(a){var z=J.x(a) |
+return"$signature" in z?z.$signature():null}, |
+za:function(){var z,y,x,w,v,u,t |
+z={func:"dynafunc"} |
+y=this.dw |
+x=J.x(y) |
+if(!!x.$isnr)z.void=true |
+else if(!x.$ishJ)z.ret=y.za() |
+y=this.Iq |
+if(y!=null&&y.length!==0)z.args=H.Dz(y) |
+y=this.is |
+if(y!=null&&y.length!==0)z.opt=H.Dz(y) |
+y=this.p6 |
+if(y!=null){w={} |
+v=H.kU(y) |
+for(x=v.length,u=0;u<x;++u){t=v[u] |
+w[t]=y[t].za()}z.named=w}return z}, |
+bu:function(a){var z,y,x,w,v,u,t,s |
+z=this.Iq |
+if(z!=null)for(y=z.length,x="(",w=!1,v=0;v<y;++v,w=!0){u=z[v] |
+if(w)x+=", " |
+x+=H.d(u)}else{x="(" |
+w=!1}z=this.is |
+if(z!=null&&z.length!==0){x=(w?x+", ":x)+"[" |
+for(y=z.length,w=!1,v=0;v<y;++v,w=!0){u=z[v] |
+if(w)x+=", " |
+x+=H.d(u)}x+="]"}else{z=this.p6 |
+if(z!=null){x=(w?x+", ":x)+"{" |
+t=H.kU(z) |
+for(y=t.length,w=!1,v=0;v<y;++v,w=!0){s=t[v] |
+if(w)x+=", " |
+x+=H.d(z[s].za())+" "+s}x+="}"}}return x+(") -> "+H.d(this.dw))}, |
+static:{"^":"lc",Dz:function(a){var z,y,x |
+a=a |
+z=[] |
+for(y=a.length,x=0;x<y;++x)z.push(a[x].za()) |
+return z}}}, |
+hJ:{ |
+"^":"lb;", |
+bu:function(a){return"dynamic"}, |
+za:function(){return}, |
+$ishJ:true}, |
+dC:{ |
+"^":"Tp:9;a", |
+$1:function(a){return this.a(a)}}, |
+wN:{ |
+"^":"Tp:10;b", |
+$2:function(a,b){return this.b(a,b)}}, |
+VX:{ |
+"^":"Tp:11;c", |
+$1:function(a){return this.c(a)}}}],["dart._internal","dart:_internal",,H,{ |
+"^":"", |
+bQ:function(a,b){var z |
+for(z=new H.a7(a,a.length,0,null);z.G();)b.$1(z.lo)}, |
+mx:function(a,b,c){var z,y,x,w |
+for(y=0;x=$.RM(),y<x.length;++y){x=x[y] |
+w=a |
+if(x==null?w==null:x===w)return H.d(b)+"..."+H.d(c)}z=P.p9("") |
+try{$.RM().push(a) |
+z.KF(b) |
+z.We(a,", ") |
+z.KF(c)}finally{x=$.RM() |
+if(0>=x.length)return H.e(x,0) |
+x.pop()}return z.gvM()}, |
+qG:function(a,b,c,d,e){var z |
+if(b<0||b>a.length)H.vh(P.TE(b,0,a.length)) |
+if(c<b||c>a.length)H.vh(P.TE(c,b,a.length)) |
+z=c-b |
+if(z===0)return |
+if(e+z>d.length)throw H.b(H.ar()) |
+H.Gj(d,e,a,b,z)}, |
+ar:function(){return new P.lj("Too few elements")}, |
+Gj:function(a,b,c,d,e){var z,y,x,w |
+if(b<d)for(z=b+e-1,y=d+e-1,x=a.length;z>=b;--z,--y){if(z>=x)return H.e(a,z) |
+C.Nm.u(c,y,a[z])}else for(x=b+e,w=a.length,y=d,z=b;z<x;++z,++y){if(z>=w)return H.e(a,z) |
+C.Nm.u(c,y,a[z])}}, |
+Fv:function(a){return a.gfN()}, |
+a7:{ |
+"^":"a;l6,SW,G7,lo", |
+gl:function(){return this.lo}, |
+G:function(){var z,y,x,w |
+z=this.l6 |
+y=J.U6(z) |
+x=y.gB(z) |
+if(this.SW!==x)throw H.b(P.a4(z)) |
+w=this.G7 |
+if(w>=x){this.lo=null |
+return!1}this.lo=y.Zv(z,w);++this.G7 |
+return!0}}, |
+i1:{ |
+"^":"mW;l6,T6", |
+gA:function(a){var z=this.l6 |
+z=new H.MH(null,z.gA(z),this.T6) |
+z.$builtinTypeInfo=this.$builtinTypeInfo |
+return z}, |
+gB:function(a){var z=this.l6 |
+return z.gB(z)}, |
+$asmW:function(a,b){return[b]}, |
+static:{K1:function(a,b,c,d){return H.VM(new H.xy(a,b),[c,d])}}}, |
+xy:{ |
+"^":"i1;l6,T6"}, |
+MH:{ |
+"^":"An;lo,OI,T6", |
+mb:function(a){return this.T6.$1(a)}, |
+G:function(){var z=this.OI |
+if(z.G()){this.lo=this.mb(z.gl()) |
+return!0}this.lo=null |
+return!1}, |
+gl:function(){return this.lo}}, |
+SU:{ |
+"^":"a;"}}],["dart._js_names","dart:_js_names",,H,{ |
+"^":"", |
+kU:function(a){var z=H.VM(function(b,c){var y=[] |
+for(var x in b){if(c.call(b,x))y.push(x)}return y}(a,Object.prototype.hasOwnProperty),[null]) |
+z.fixed$length=init |
+return z}}],["dart.async","dart:async",,P,{ |
+"^":"", |
+xg:function(){if($.jk().scheduleImmediate!=null)return P.Sx() |
+return P.K7()}, |
+ZV:[function(a){++init.globalState.Xz.GL |
+$.jk().scheduleImmediate(H.tR(new P.C6(a),0))},"$1","Sx",2,0,0], |
+Bz:[function(a){P.jL(C.RT,a)},"$1","K7",2,0,0], |
+VH:function(a,b){var z=H.N7() |
+z=H.KT(z,[z,z]).BD(a) |
+if(z){b.toString |
+return a}else{b.toString |
+return a}}, |
+Cx:function(){var z=$.S6 |
+for(;z!=null;){z.Ki() |
+z=z.aw |
+$.S6=z}$.k8=null}, |
+BG:[function(){var z |
+try{P.Cx()}catch(z){H.Ru(z) |
+$.ej().$1(P.qZ()) |
+$.S6=$.S6.aw |
+throw z}},"$0","qZ",0,0,1], |
+IA:function(a){var z,y |
+z=$.k8 |
+if(z==null){z=new P.OM(a,null) |
+$.k8=z |
+$.S6=z |
+$.ej().$1(P.qZ())}else{y=new P.OM(a,null) |
+z.aw=y |
+$.k8=y}}, |
+FE:function(a,b,c){var z,y,x,w |
+try{b.$1(a.$0())}catch(x){w=H.Ru(x) |
+z=w |
+y=new H.XO(x,null) |
+c.$2(z,y)}}, |
+NX:function(a,b,c,d){a.ed() |
+b.K5(c,d)}, |
+TB:function(a,b){return new P.uR(a,b)}, |
+rT:function(a,b){var z=$.X3 |
+if(z===C.NU){z.toString |
+return P.h8(z,null,z,a,b)}return P.h8(z,null,z,a,z.xi(b,!0))}, |
+jL:function(a,b){var z=C.jn.cU(a.Fq,1000) |
+return H.cy(z<0?0:z,b)}, |
+PJ:function(a){var z=$.X3 |
+$.X3=a |
+return z}, |
+L2:function(a,b,c,d,e){P.T8(a,null,a,new P.pK(d,e))}, |
+T8:function(a,b,c,d){var z,y |
+if($.X3===c)return d.$0() |
+z=P.PJ(c) |
+try{y=d.$0() |
+return y}finally{$.X3=z}}, |
+V7:function(a,b,c,d,e){var z,y |
+if($.X3===c)return d.$1(e) |
+z=P.PJ(c) |
+try{y=d.$1(e) |
+return y}finally{$.X3=z}}, |
+Qx:function(a,b,c,d,e,f){var z,y |
+if($.X3===c)return d.$2(e,f) |
+z=P.PJ(c) |
+try{y=d.$2(e,f) |
+return y}finally{$.X3=z}}, |
+Tk:function(a,b,c,d){P.IA(C.NU!==c?c.ce(d):d)}, |
+h8:function(a,b,c,d,e){return P.jL(d,C.NU!==c?c.ce(e):e)}, |
+C6:{ |
+"^":"Tp:7;a", |
+$0:function(){H.ox() |
+this.a.$0()}}, |
+Ca:{ |
+"^":"a;kc>,I4<", |
+$isGe:true}, |
+vs:{ |
+"^":"a;Gv,Lj<,jk,BQ<,OY,As,qV,o4", |
+gcg:function(){return this.Gv>=4}, |
+gWj:function(){return this.Gv===4}, |
+gNm:function(){return this.Gv===8}, |
+swG:function(a){if(a)this.Gv=2 |
+else this.Gv=0}, |
+Rx:function(a,b){var z,y |
+z=$.X3 |
+z.toString |
+y=H.VM(new P.vs(0,z,null,null,a,null,P.VH(b,z),null),[null]) |
+this.au(y) |
+return y}, |
+gDL:function(){return this.jk}, |
+gcG:function(){return this.jk}, |
+Am:function(a){this.Gv=4 |
+this.jk=a}, |
+E6:function(a,b){this.Gv=8 |
+this.jk=new P.Ca(a,b)}, |
+au:function(a){var z |
+if(this.Gv>=4){z=this.Lj |
+z.toString |
+P.Tk(z,null,z,new P.da(this,a))}else{a.BQ=this.jk |
+this.jk=a}}, |
+L3:function(){var z,y,x |
+z=this.jk |
+this.jk=null |
+for(y=null;z!=null;y=z,z=x){x=z.gBQ() |
+z.BQ=y}return y}, |
+rX:function(a){var z,y |
+z=J.x(a) |
+if(!!z.$isb8)if(!!z.$isvs)P.A9(a,this) |
+else P.k3(a,this) |
+else{y=this.L3() |
+this.Am(a) |
+P.HZ(this,y)}}, |
+K5:[function(a,b){var z=this.L3() |
+this.E6(a,b) |
+P.HZ(this,z)},function(a){return this.K5(a,null)},"Lp","$2","$1","gbY",2,2,12,13], |
+$isvs:true, |
+$isb8:true, |
+static:{"^":"Gn,Ry,C3,UX,NK",Dt:function(a){return H.VM(new P.vs(0,$.X3,null,null,null,null,null,null),[a])},k3:function(a,b){b.Gv=2 |
+a.Rx(new P.pV(b),new P.U7(b))},A9:function(a,b){b.Gv=2 |
+if(a.Gv>=4)P.HZ(a,b) |
+else a.au(b)},yE:function(a,b){var z |
+do{z=b.gBQ() |
+b.BQ=null |
+P.HZ(a,b) |
+if(z!=null){b=z |
+continue}else break}while(!0)},HZ:function(a,b){var z,y,x,w,v,u,t,s,r,q,p,o |
+z={} |
+z.e=a |
+for(y=a;!0;){x={} |
+if(!y.gcg())return |
+w=z.e.gNm() |
+if(w&&b==null){v=z.e.gcG() |
+y=z.e.gLj() |
+x=J.w8(v) |
+u=v.gI4() |
+y.toString |
+P.L2(y,null,y,x,u) |
+return}if(b==null)return |
+if(b.BQ!=null){P.yE(z.e,b) |
+return}x.b=!0 |
+t=z.e.gWj()?z.e.gDL():null |
+x.c=t |
+x.d=!1 |
+y=!w |
+if(y){u=b.Gv===2 |
+if((u?null:b.OY)==null){s=(u?null:b.o4)!=null |
+u=s}else u=!0}else u=!0 |
+if(u){r=b.Lj |
+if(w){u=z.e.gLj() |
+u.toString |
+r.toString |
+u=r==null?u!=null:r!==u}else u=!1 |
+if(u){v=z.e.gcG() |
+y=z.e.gLj() |
+x=J.w8(v) |
+u=v.gI4() |
+y.toString |
+P.L2(y,null,y,x,u) |
+return}q=$.X3 |
+if(q==null?r!=null:q!==r)$.X3=r |
+else q=null |
+if(y){if((b.Gv===2?null:b.OY)!=null)x.b=new P.rq(x,b,t,r).$0()}else new P.RW(z,x,b,r).$0() |
+if((b.Gv===2?null:b.o4)!=null)new P.YP(z,x,w,b,r).$0() |
+if(q!=null)$.X3=q |
+if(x.d)return |
+if(x.b===!0){y=x.c |
+y=(t==null?y!=null:t!==y)&&!!J.x(y).$isb8}else y=!1 |
+if(y){p=x.c |
+if(!!J.x(p).$isvs)if(p.Gv>=4){b.Gv=2 |
+z.e=p |
+y=p |
+continue}else P.A9(p,b) |
+else P.k3(p,b) |
+return}}if(x.b===!0){o=b.L3() |
+y=x.c |
+b.Gv=4 |
+b.jk=y}else{o=b.L3() |
+v=x.c |
+y=J.w8(v) |
+x=v.gI4() |
+b.Gv=8 |
+b.jk=new P.Ca(y,x)}z.e=b |
+y=b |
+b=o}}}}, |
+da:{ |
+"^":"Tp:7;a,b", |
+$0:function(){P.HZ(this.a,this.b)}}, |
+pV:{ |
+"^":"Tp:9;a", |
+$1:function(a){var z,y |
+z=this.a |
+y=z.L3() |
+z.Am(a) |
+P.HZ(z,y)}}, |
+U7:{ |
+"^":"Tp:14;b", |
+$2:function(a,b){this.b.K5(a,b)}, |
+$1:function(a){return this.$2(a,null)}}, |
+rq:{ |
+"^":"Tp:15;b,d,e,f", |
+$0:function(){var z,y,x,w,v |
+try{x=this.f |
+w=this.d |
+w=w.Gv===2?null:w.OY |
+x.toString |
+this.b.c=P.V7(x,null,x,w,this.e) |
+return!0}catch(v){x=H.Ru(v) |
+z=x |
+y=new H.XO(v,null) |
+this.b.c=new P.Ca(z,y) |
+return!1}}}, |
+RW:{ |
+"^":"Tp:1;c,b,UI,bK", |
+$0:function(){var z,y,x,w,v,u,t,s,r,q,p,o,n,m |
+z=this.c.e.gcG() |
+r=this.UI |
+y=r.Gv===2?null:r.As |
+x=!0 |
+if(y!=null)try{q=this.bK |
+p=J.w8(z) |
+q.toString |
+x=P.V7(q,null,q,y,p)}catch(o){r=H.Ru(o) |
+w=r |
+v=new H.XO(o,null) |
+r=J.w8(z) |
+q=w |
+n=(r==null?q==null:r===q)?z:new P.Ca(w,v) |
+r=this.b |
+r.c=n |
+r.b=!1 |
+return}u=r.Gv===2?null:r.qV |
+if(x===!0&&u!=null){try{r=u |
+q=H.N7() |
+q=H.KT(q,[q,q]).BD(r) |
+p=this.bK |
+m=this.b |
+if(q){r=J.w8(z) |
+q=z.gI4() |
+p.toString |
+m.c=P.Qx(p,null,p,u,r,q)}else{r=J.w8(z) |
+p.toString |
+m.c=P.V7(p,null,p,u,r)}}catch(o){r=H.Ru(o) |
+t=r |
+s=new H.XO(o,null) |
+r=J.w8(z) |
+q=t |
+n=(r==null?q==null:r===q)?z:new P.Ca(t,s) |
+r=this.b |
+r.c=n |
+r.b=!1 |
+return}this.b.b=!0}else{r=this.b |
+r.c=z |
+r.b=!1}}}, |
+YP:{ |
+"^":"Tp:1;c,b,Gq,Rm,w3", |
+$0:function(){var z,y,x,w,v,u |
+z={} |
+z.a=null |
+try{w=this.w3 |
+v=this.Rm |
+v=v.Gv===2?null:v.o4 |
+w.toString |
+z.a=P.T8(w,null,w,v)}catch(u){w=H.Ru(u) |
+y=w |
+x=new H.XO(u,null) |
+if(this.Gq){w=J.w8(this.c.e.gcG()) |
+v=y |
+v=w==null?v==null:w===v |
+w=v}else w=!1 |
+v=this.b |
+if(w)v.c=this.c.e.gcG() |
+else v.c=new P.Ca(y,x) |
+v.b=!1}if(!!J.x(z.a).$isb8){w=this.Rm |
+w.swG(!0) |
+this.b.d=!0 |
+z.a.Rx(new P.jZ(this.c,w),new P.FZ(z,w))}}}, |
+jZ:{ |
+"^":"Tp:9;c,HZ", |
+$1:function(a){P.HZ(this.c.e,this.HZ)}}, |
+FZ:{ |
+"^":"Tp:14;a,mG", |
+$2:function(a,b){var z,y |
+z=this.a |
+if(!J.x(z.a).$isvs){y=P.Dt(null) |
+z.a=y |
+y.E6(a,b)}P.HZ(z.a,this.mG)}, |
+$1:function(a){return this.$2(a,null)}}, |
+OM:{ |
+"^":"a;FR,aw", |
+Ki:function(){return this.FR.$0()}}, |
+qh:{ |
+"^":"a;", |
+aN:function(a,b){var z,y |
+z={} |
+y=P.Dt(null) |
+z.a=null |
+z.a=this.KR(new P.lz(z,this,b,y),!0,new P.M4(y),y.gbY()) |
+return y}, |
+gB:function(a){var z,y |
+z={} |
+y=P.Dt(P.KN) |
+z.a=0 |
+this.KR(new P.B5(z),!0,new P.PI(z,y),y.gbY()) |
+return y}}, |
+lz:{ |
+"^":"Tp;a,b,c,d", |
+$1:function(a){P.FE(new P.Rl(this.c,a),new P.Jb(),P.TB(this.a.a,this.d))}, |
+$signature:function(){return H.IG(function(a){return{func:"Lf",args:[a]}},this.b,"qh")}}, |
+Rl:{ |
+"^":"Tp:7;e,f", |
+$0:function(){return this.e.$1(this.f)}}, |
+Jb:{ |
+"^":"Tp:9;", |
+$1:function(a){}}, |
+M4:{ |
+"^":"Tp:7;UI", |
+$0:function(){this.UI.rX(null)}}, |
+B5:{ |
+"^":"Tp:9;a", |
+$1:function(a){++this.a.a}}, |
+PI:{ |
+"^":"Tp:7;a,b", |
+$0:function(){this.b.rX(this.a.a)}}, |
+MO:{ |
+"^":"a;"}, |
+nP:{ |
+"^":"a;"}, |
+dR:{ |
+"^":"Tp:7;a,b,c", |
+$0:function(){return this.a.K5(this.b,this.c)}}, |
+uR:{ |
+"^":"Tp:16;a,b", |
+$2:function(a,b){return P.NX(this.a,this.b,a,b)}}, |
+fZ:{ |
+"^":"a;", |
+bH:function(a){var z,y,x,w |
+try{x=this.Gr(a) |
+return x}catch(w){x=H.Ru(w) |
+z=x |
+y=new H.XO(w,null) |
+return this.hk(z,y)}}, |
+m1:function(a,b){var z,y,x,w |
+try{x=this.FI(a,b) |
+return x}catch(w){x=H.Ru(w) |
+z=x |
+y=new H.XO(w,null) |
+return this.hk(z,y)}}, |
+xi:function(a,b){var z=this.Al(a) |
+if(b)return new P.TF(this,z) |
+else return new P.K5(this,z)}, |
+ce:function(a){return this.xi(a,!0)}, |
+oj:function(a,b){var z=this.cR(a) |
+if(b)return new P.Cg(this,z) |
+else return new P.Hs(this,z)}}, |
+TF:{ |
+"^":"Tp:7;a,b", |
+$0:function(){return this.a.bH(this.b)}}, |
+K5:{ |
+"^":"Tp:7;c,d", |
+$0:function(){return this.c.Gr(this.d)}}, |
+Cg:{ |
+"^":"Tp:9;a,b", |
+$1:function(a){return this.a.m1(this.b,a)}}, |
+Hs:{ |
+"^":"Tp:9;c,d", |
+$1:function(a){return this.c.FI(this.d,a)}}, |
+pK:{ |
+"^":"Tp:7;a,b", |
+$0:function(){P.IA(new P.eM(this.a,this.b))}}, |
+eM:{ |
+"^":"Tp:7;c,d", |
+$0:function(){var z,y |
+z=this.c |
+P.JS("Uncaught Error: "+H.d(z)) |
+y=this.d |
+if(y==null&&!!J.x(z).$isGe)y=z.gI4() |
+if(y!=null)P.JS("Stack Trace: \n"+H.d(y)+"\n") |
+throw H.b(z)}}, |
+R8:{ |
+"^":"fZ;", |
+t:function(a,b){return}, |
+hk:function(a,b){return P.L2(this,null,this,a,b)}, |
+Gr:function(a){return P.T8(this,null,this,a)}, |
+FI:function(a,b){return P.V7(this,null,this,a,b)}, |
+Al:function(a){return a}, |
+cR:function(a){return a}}}],["dart.collection","dart:collection",,P,{ |
+"^":"", |
+EF:function(a,b,c){return H.B7(a,H.VM(new P.YB(0,null,null,null,null,null,0),[b,c]))}, |
+jB:function(){var z=Object.create(null) |
+z["<non-identifier-key>"]=z |
+delete z["<non-identifier-key>"] |
+return z}, |
+Ou:[function(a,b){return J.de(a,b)},"$2","iv",4,0,2], |
+T9:[function(a){return J.v1(a)},"$1","py",2,0,3], |
+Py:function(a,b,c,d,e){return H.VM(new P.k6(0,null,null,null,null),[d,e])}, |
+yv:function(a){return H.VM(new P.YO(0,null,null,null,null),[a])}, |
+FO:function(a){var z,y |
+if($.hi().tg(0,a))return"(...)" |
+$.hi().h(0,a) |
+z=[] |
+try{P.Vr(a,z)}finally{$.hi().Rz(0,a)}y=P.p9("(") |
+y.We(z,", ") |
+y.KF(")") |
+return y.vM}, |
+Vr:function(a,b){var z,y,x,w,v,u,t,s,r,q,p |
+z=a.gA(a) |
+y=0 |
+x=0 |
+while(!0){if(!(y<80||x<3))break |
+if(!z.G())return |
+w=H.d(z.gl()) |
+b.push(w) |
+y+=w.length+2;++x}if(!z.G()){if(x<=5)return |
+if(0>=b.length)return H.e(b,0) |
+v=b.pop() |
+if(0>=b.length)return H.e(b,0) |
+u=b.pop()}else{t=z.gl();++x |
+if(!z.G()){if(x<=4){b.push(H.d(t)) |
+return}v=H.d(t) |
+if(0>=b.length)return H.e(b,0) |
+u=b.pop() |
+y+=v.length+2}else{s=z.gl();++x |
+for(;z.G();t=s,s=r){r=z.gl();++x |
+if(x>100){while(!0){if(!(y>75&&x>3))break |
+if(0>=b.length)return H.e(b,0) |
+q=J.q8(b.pop()) |
+if(typeof q!=="number")return q.g() |
+y-=q+2;--x}b.push("...") |
+return}}u=H.d(t) |
+v=H.d(s) |
+y+=v.length+u.length+4}}if(x>b.length+2){y+=5 |
+p="..."}else p=null |
+while(!0){if(!(y>80&&b.length>3))break |
+if(0>=b.length)return H.e(b,0) |
+q=J.q8(b.pop()) |
+if(typeof q!=="number")return q.g() |
+y-=q+2 |
+if(p==null){y+=5 |
+p="..."}}if(p!=null)b.push(p) |
+b.push(u) |
+b.push(v)}, |
+L5:function(a,b,c,d,e){return H.VM(new P.YB(0,null,null,null,null,null,0),[d,e])}, |
+Ls:function(a,b,c,d){return H.VM(new P.b6(0,null,null,null,null,null,0),[d])}, |
+vW:function(a){var z,y,x,w,v |
+z={} |
+for(x=0;w=$.tw(),x<w.length;++x){w=w[x] |
+v=a |
+if(w==null?v==null:w===v)return"{...}"}y=P.p9("") |
+try{$.tw().push(a) |
+y.KF("{") |
+z.a=!0 |
+J.kH(a,new P.LG(z,y)) |
+y.KF("}")}finally{z=$.tw() |
+if(0>=z.length)return H.e(z,0) |
+z.pop()}return y.gvM()}, |
+k6:{ |
+"^":"a;X5,vv,OX,OB,wV", |
+gB:function(a){return this.X5}, |
+gvc:function(){return H.VM(new P.fG(this),[H.Kp(this,0)])}, |
+gUQ:function(a){return H.K1(H.VM(new P.fG(this),[H.Kp(this,0)]),new P.oi(this),H.Kp(this,0),H.Kp(this,1))}, |
+t:function(a,b){var z,y,x,w |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+if(z==null)y=null |
+else{x=z[b] |
+y=x===z?null:x}return y}else if(typeof b==="number"&&(b&0x3ffffff)===b){w=this.OX |
+if(w==null)y=null |
+else{x=w[b] |
+y=x===w?null:x}return y}else return this.Dl(b)}, |
+Dl:function(a){var z,y,x |
+z=this.OB |
+if(z==null)return |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+return x<0?null:y[x+1]}, |
+u:function(a,b,c){var z,y |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+if(z==null){z=P.a0() |
+this.vv=z}this.dg(z,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX |
+if(y==null){y=P.a0() |
+this.OX=y}this.dg(y,b,c)}else this.ms(b,c)}, |
+ms:function(a,b){var z,y,x,w |
+z=this.OB |
+if(z==null){z=P.a0() |
+this.OB=z}y=this.nm(a) |
+x=z[y] |
+if(x==null){P.cW(z,y,[a,b]);++this.X5 |
+this.wV=null}else{w=this.aH(x,a) |
+if(w>=0)x[w+1]=b |
+else{x.push(a,b);++this.X5 |
+this.wV=null}}}, |
+aN:function(a,b){var z,y,x,w |
+z=this.Ig() |
+for(y=z.length,x=0;x<y;++x){w=z[x] |
+b.$2(w,this.t(0,w)) |
+if(z!==this.wV)throw H.b(P.a4(this))}}, |
+Ig:function(){var z,y,x,w,v,u,t,s,r,q,p,o |
+z=this.wV |
+if(z!=null)return z |
+y=Array(this.X5) |
+y.fixed$length=init |
+x=this.vv |
+if(x!=null){w=Object.getOwnPropertyNames(x) |
+v=w.length |
+for(u=0,t=0;t<v;++t){y[u]=w[t];++u}}else u=0 |
+s=this.OX |
+if(s!=null){w=Object.getOwnPropertyNames(s) |
+v=w.length |
+for(t=0;t<v;++t){y[u]=+w[t];++u}}r=this.OB |
+if(r!=null){w=Object.getOwnPropertyNames(r) |
+v=w.length |
+for(t=0;t<v;++t){q=r[w[t]] |
+p=q.length |
+for(o=0;o<p;o+=2){y[u]=q[o];++u}}}this.wV=y |
+return y}, |
+dg:function(a,b,c){if(a[b]==null){++this.X5 |
+this.wV=null}P.cW(a,b,c)}, |
+nm:function(a){return J.v1(a)&0x3ffffff}, |
+aH:function(a,b){var z,y |
+if(a==null)return-1 |
+z=a.length |
+for(y=0;y<z;y+=2)if(J.de(a[y],b))return y |
+return-1}, |
+$isZ0:true, |
+static:{cW:function(a,b,c){if(c==null)a[b]=a |
+else a[b]=c},a0:function(){var z=Object.create(null) |
+P.cW(z,"<non-identifier-key>",z) |
+delete z["<non-identifier-key>"] |
+return z}}}, |
+oi:{ |
+"^":"Tp:9;a", |
+$1:function(a){return this.a.t(0,a)}}, |
+fG:{ |
+"^":"mW;Fb", |
+gB:function(a){return this.Fb.X5}, |
+gA:function(a){var z=this.Fb |
+return new P.EQ(z,z.Ig(),0,null)}, |
+aN:function(a,b){var z,y,x,w |
+z=this.Fb |
+y=z.Ig() |
+for(x=y.length,w=0;w<x;++w){b.$1(y[w]) |
+if(y!==z.wV)throw H.b(P.a4(z))}}}, |
+EQ:{ |
+"^":"a;Fb,wV,zi,fD", |
+gl:function(){return this.fD}, |
+G:function(){var z,y,x |
+z=this.wV |
+y=this.zi |
+x=this.Fb |
+if(z!==x.wV)throw H.b(P.a4(x)) |
+else if(y>=z.length){this.fD=null |
+return!1}else{this.fD=z[y] |
+this.zi=y+1 |
+return!0}}}, |
+YB:{ |
+"^":"a;X5,vv,OX,OB,H9,lX,zN", |
+gB:function(a){return this.X5}, |
+gvc:function(){return H.VM(new P.i5(this),[H.Kp(this,0)])}, |
+gUQ:function(a){return H.K1(H.VM(new P.i5(this),[H.Kp(this,0)]),new P.a1(this),H.Kp(this,0),H.Kp(this,1))}, |
+x4:function(a){var z |
+if((a&0x3ffffff)===a){z=this.OX |
+if(z==null)return!1 |
+return z[a]!=null}else return this.Zt(a)}, |
+Zt:function(a){var z=this.OB |
+if(z==null)return!1 |
+return this.aH(z[this.nm(a)],a)>=0}, |
+t:function(a,b){var z,y,x |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+if(z==null)return |
+y=z[b] |
+return y==null?null:y.gS4()}else if(typeof b==="number"&&(b&0x3ffffff)===b){x=this.OX |
+if(x==null)return |
+y=x[b] |
+return y==null?null:y.gS4()}else return this.Dl(b)}, |
+Dl:function(a){var z,y,x |
+z=this.OB |
+if(z==null)return |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+if(x<0)return |
+return y[x].gS4()}, |
+u:function(a,b,c){var z,y |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+if(z==null){z=P.Qs() |
+this.vv=z}this.dg(z,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX |
+if(y==null){y=P.Qs() |
+this.OX=y}this.dg(y,b,c)}else this.ms(b,c)}, |
+ms:function(a,b){var z,y,x,w |
+z=this.OB |
+if(z==null){z=P.Qs() |
+this.OB=z}y=this.nm(a) |
+x=z[y] |
+if(x==null)z[y]=[this.pE(a,b)] |
+else{w=this.aH(x,a) |
+if(w>=0)x[w].sS4(b) |
+else x.push(this.pE(a,b))}}, |
+Rz:function(a,b){if(typeof b==="string"&&b!=="__proto__")return this.Nv(this.vv,b) |
+else if(typeof b==="number"&&(b&0x3ffffff)===b)return this.Nv(this.OX,b) |
+else return this.bB(b)}, |
+bB:function(a){var z,y,x,w |
+z=this.OB |
+if(z==null)return |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+if(x<0)return |
+w=y.splice(x,1)[0] |
+this.Vb(w) |
+return w.gS4()}, |
+aN:function(a,b){var z,y |
+z=this.H9 |
+y=this.zN |
+for(;z!=null;){b.$2(z.gkh(),z.S4) |
+if(y!==this.zN)throw H.b(P.a4(this)) |
+z=z.DG}}, |
+dg:function(a,b,c){var z=a[b] |
+if(z==null)a[b]=this.pE(b,c) |
+else z.sS4(c)}, |
+Nv:function(a,b){var z |
+if(a==null)return |
+z=a[b] |
+if(z==null)return |
+this.Vb(z) |
+delete a[b] |
+return z.gS4()}, |
+pE:function(a,b){var z,y |
+z=new P.db(a,b,null,null) |
+if(this.H9==null){this.lX=z |
+this.H9=z}else{y=this.lX |
+z.zQ=y |
+y.sDG(z) |
+this.lX=z}++this.X5 |
+this.zN=this.zN+1&67108863 |
+return z}, |
+Vb:function(a){var z,y |
+z=a.gzQ() |
+y=a.gDG() |
+if(z==null)this.H9=y |
+else z.sDG(y) |
+if(y==null)this.lX=z |
+else y.szQ(z);--this.X5 |
+this.zN=this.zN+1&67108863}, |
+nm:function(a){return J.v1(a)&0x3ffffff}, |
+aH:function(a,b){var z,y |
+if(a==null)return-1 |
+z=a.length |
+for(y=0;y<z;++y)if(J.de(a[y].gkh(),b))return y |
+return-1}, |
+bu:function(a){return P.vW(this)}, |
+$isZ0:true, |
+static:{Qs:function(){var z=Object.create(null) |
+z["<non-identifier-key>"]=z |
+delete z["<non-identifier-key>"] |
+return z}}}, |
+a1:{ |
+"^":"Tp:9;a", |
+$1:function(a){return this.a.t(0,a)}}, |
+db:{ |
+"^":"a;kh<,S4@,DG@,zQ@"}, |
+i5:{ |
+"^":"mW;Fb", |
+gB:function(a){return this.Fb.X5}, |
+gA:function(a){var z,y |
+z=this.Fb |
+y=new P.N6(z,z.zN,null,null) |
+y.zq=z.H9 |
+return y}, |
+aN:function(a,b){var z,y,x |
+z=this.Fb |
+y=z.H9 |
+x=z.zN |
+for(;y!=null;){b.$1(y.gkh()) |
+if(x!==z.zN)throw H.b(P.a4(z)) |
+y=y.DG}}}, |
+N6:{ |
+"^":"a;Fb,zN,zq,fD", |
+gl:function(){return this.fD}, |
+G:function(){var z=this.Fb |
+if(this.zN!==z.zN)throw H.b(P.a4(z)) |
+else{z=this.zq |
+if(z==null){this.fD=null |
+return!1}else{this.fD=z.gkh() |
+this.zq=this.zq.gDG() |
+return!0}}}}, |
+jg:{ |
+"^":"u3;", |
+gA:function(a){return new P.oz(this,this.Zl(),0,null)}, |
+gB:function(a){return this.X5}, |
+tg:function(a,b){var z,y |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+return z==null?!1:z[b]!=null}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX |
+return y==null?!1:y[b]!=null}else return this.bk(b)}, |
+bk:function(a){var z=this.OB |
+if(z==null)return!1 |
+return this.aH(z[this.nm(a)],a)>=0}, |
+hV:function(a){var z |
+if(!(typeof a==="string"&&a!=="__proto__"))z=typeof a==="number"&&(a&0x3ffffff)===a |
+else z=!0 |
+if(z)return this.tg(0,a)?a:null |
+return this.AD(a)}, |
+AD:function(a){var z,y,x |
+z=this.OB |
+if(z==null)return |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+if(x<0)return |
+return J.UQ(y,x)}, |
+h:function(a,b){return this.NZ(b)}, |
+NZ:function(a){var z,y,x |
+z=this.OB |
+if(z==null){z=P.jB() |
+this.OB=z}y=this.nm(a) |
+x=z[y] |
+if(x==null)z[y]=[a] |
+else{if(this.aH(x,a)>=0)return!1 |
+x.push(a)}++this.X5 |
+this.DM=null |
+return!0}, |
+Rz:function(a,b){return this.bB(b)}, |
+bB:function(a){var z,y,x |
+z=this.OB |
+if(z==null)return!1 |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+if(x<0)return!1;--this.X5 |
+this.DM=null |
+y.splice(x,1) |
+return!0}, |
+Zl:function(){var z,y,x,w,v,u,t,s,r,q,p,o |
+z=this.DM |
+if(z!=null)return z |
+y=Array(this.X5) |
+y.fixed$length=init |
+x=this.vv |
+if(x!=null){w=Object.getOwnPropertyNames(x) |
+v=w.length |
+for(u=0,t=0;t<v;++t){y[u]=w[t];++u}}else u=0 |
+s=this.OX |
+if(s!=null){w=Object.getOwnPropertyNames(s) |
+v=w.length |
+for(t=0;t<v;++t){y[u]=+w[t];++u}}r=this.OB |
+if(r!=null){w=Object.getOwnPropertyNames(r) |
+v=w.length |
+for(t=0;t<v;++t){q=r[w[t]] |
+p=q.length |
+for(o=0;o<p;++o){y[u]=q[o];++u}}}this.DM=y |
+return y}, |
+nm:function(a){return J.v1(a)&0x3ffffff}, |
+aH:function(a,b){var z,y |
+if(a==null)return-1 |
+z=a.length |
+for(y=0;y<z;++y)if(J.de(a[y],b))return y |
+return-1}}, |
+YO:{ |
+"^":"jg;X5,vv,OX,OB,DM", |
+nm:function(a){return H.CU(a)&0x3ffffff}, |
+aH:function(a,b){var z,y,x |
+if(a==null)return-1 |
+z=a.length |
+for(y=0;y<z;++y){x=a[y] |
+if(x==null?b==null:x===b)return y}return-1}}, |
+oz:{ |
+"^":"a;O2,DM,zi,fD", |
+gl:function(){return this.fD}, |
+G:function(){var z,y,x |
+z=this.DM |
+y=this.zi |
+x=this.O2 |
+if(z!==x.DM)throw H.b(P.a4(x)) |
+else if(y>=z.length){this.fD=null |
+return!1}else{this.fD=z[y] |
+this.zi=y+1 |
+return!0}}}, |
+b6:{ |
+"^":"u3;X5,vv,OX,OB,H9,lX,zN", |
+gA:function(a){var z=new P.zQ(this,this.zN,null,null) |
+z.zq=this.H9 |
+return z}, |
+gB:function(a){return this.X5}, |
+tg:function(a,b){var z,y |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+if(z==null)return!1 |
+return z[b]!=null}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX |
+if(y==null)return!1 |
+return y[b]!=null}else return this.bk(b)}, |
+bk:function(a){var z=this.OB |
+if(z==null)return!1 |
+return this.aH(z[this.nm(a)],a)>=0}, |
+hV:function(a){var z |
+if(!(typeof a==="string"&&a!=="__proto__"))z=typeof a==="number"&&(a&0x3ffffff)===a |
+else z=!0 |
+if(z)return this.tg(0,a)?a:null |
+else return this.AD(a)}, |
+AD:function(a){var z,y,x |
+z=this.OB |
+if(z==null)return |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+if(x<0)return |
+return J.UQ(y,x).gGc()}, |
+aN:function(a,b){var z,y |
+z=this.H9 |
+y=this.zN |
+for(;z!=null;){b.$1(z.gGc()) |
+if(y!==this.zN)throw H.b(P.a4(this)) |
+z=z.DG}}, |
+h:function(a,b){var z,y |
+if(typeof b==="string"&&b!=="__proto__"){z=this.vv |
+if(z==null){z=P.T2() |
+this.vv=z}return this.cA(z,b)}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX |
+if(y==null){y=P.T2() |
+this.OX=y}return this.cA(y,b)}else return this.NZ(b)}, |
+NZ:function(a){var z,y,x |
+z=this.OB |
+if(z==null){z=P.T2() |
+this.OB=z}y=this.nm(a) |
+x=z[y] |
+if(x==null)z[y]=[this.xf(a)] |
+else{if(this.aH(x,a)>=0)return!1 |
+x.push(this.xf(a))}return!0}, |
+Rz:function(a,b){if(typeof b==="string"&&b!=="__proto__")return this.Nv(this.vv,b) |
+else if(typeof b==="number"&&(b&0x3ffffff)===b)return this.Nv(this.OX,b) |
+else return this.bB(b)}, |
+bB:function(a){var z,y,x |
+z=this.OB |
+if(z==null)return!1 |
+y=z[this.nm(a)] |
+x=this.aH(y,a) |
+if(x<0)return!1 |
+this.Vb(y.splice(x,1)[0]) |
+return!0}, |
+cA:function(a,b){if(a[b]!=null)return!1 |
+a[b]=this.xf(b) |
+return!0}, |
+Nv:function(a,b){var z |
+if(a==null)return!1 |
+z=a[b] |
+if(z==null)return!1 |
+this.Vb(z) |
+delete a[b] |
+return!0}, |
+xf:function(a){var z,y |
+z=new P.tj(a,null,null) |
+if(this.H9==null){this.lX=z |
+this.H9=z}else{y=this.lX |
+z.zQ=y |
+y.sDG(z) |
+this.lX=z}++this.X5 |
+this.zN=this.zN+1&67108863 |
+return z}, |
+Vb:function(a){var z,y |
+z=a.gzQ() |
+y=a.gDG() |
+if(z==null)this.H9=y |
+else z.sDG(y) |
+if(y==null)this.lX=z |
+else y.szQ(z);--this.X5 |
+this.zN=this.zN+1&67108863}, |
+nm:function(a){return J.v1(a)&0x3ffffff}, |
+aH:function(a,b){var z,y |
+if(a==null)return-1 |
+z=a.length |
+for(y=0;y<z;++y)if(J.de(a[y].gGc(),b))return y |
+return-1}, |
+static:{T2:function(){var z=Object.create(null) |
+z["<non-identifier-key>"]=z |
+delete z["<non-identifier-key>"] |
+return z}}}, |
+tj:{ |
+"^":"a;Gc<,DG@,zQ@"}, |
+zQ:{ |
+"^":"a;O2,zN,zq,fD", |
+gl:function(){return this.fD}, |
+G:function(){var z=this.O2 |
+if(this.zN!==z.zN)throw H.b(P.a4(z)) |
+else{z=this.zq |
+if(z==null){this.fD=null |
+return!1}else{this.fD=z.gGc() |
+this.zq=this.zq.gDG() |
+return!0}}}}, |
+u3:{ |
+"^":"mW;", |
+bu:function(a){return H.mx(this,"{","}")}}, |
+mW:{ |
+"^":"a;", |
+aN:function(a,b){var z |
+for(z=this.gA(this);z.G();)b.$1(z.gl())}, |
+gB:function(a){var z,y |
+z=this.gA(this) |
+for(y=0;z.G();)++y |
+return y}, |
+Zv:function(a,b){var z,y,x |
+if(b<0)throw H.b(P.N(b)) |
+for(z=this.gA(this),y=b;z.G();){x=z.gl() |
+if(y===0)return x;--y}throw H.b(P.N(b))}, |
+bu:function(a){return P.FO(this)}}, |
+FN:{ |
+"^":"a;", |
+gA:function(a){return new H.a7(a,this.gB(a),0,null)}, |
+Zv:function(a,b){return this.t(a,b)}, |
+aN:function(a,b){var z,y,x |
+z=this.gB(a) |
+for(y=a.length,x=0;x<z;++x){if(x>=y)return H.e(a,x) |
+b.$1(a[x]) |
+if(z!==y)throw H.b(P.a4(a))}}, |
+bu:function(a){var z |
+if($.hi().tg(0,a))return"[...]" |
+z=P.p9("") |
+try{$.hi().h(0,a) |
+z.KF("[") |
+z.We(a,", ") |
+z.KF("]")}finally{$.hi().Rz(0,a)}return z.gvM()}, |
+$iszM:true, |
+$aszM:null}, |
+LG:{ |
+"^":"Tp:8;a,b", |
+$2:function(a,b){var z=this.a |
+if(!z.a)this.b.KF(", ") |
+z.a=!1 |
+z=this.b |
+z.KF(a) |
+z.KF(": ") |
+z.KF(b)}}, |
+Sw:{ |
+"^":"mW;v5,av,HV,qT", |
+gA:function(a){return new P.o0(this,this.HV,this.qT,this.av,null)}, |
+aN:function(a,b){var z,y,x |
+z=this.qT |
+for(y=this.av;y!==this.HV;y=(y+1&this.v5.length-1)>>>0){x=this.v5 |
+if(y<0||y>=x.length)return H.e(x,y) |
+b.$1(x[y]) |
+if(z!==this.qT)H.vh(P.a4(this))}}, |
+gl0:function(a){return this.av===this.HV}, |
+gB:function(a){return(this.HV-this.av&this.v5.length-1)>>>0}, |
+V1:function(a){var z,y,x,w,v |
+z=this.av |
+y=this.HV |
+if(z!==y){for(x=this.v5,w=x.length,v=w-1;z!==y;z=(z+1&v)>>>0){if(z<0||z>=w)return H.e(x,z) |
+x[z]=null}this.HV=0 |
+this.av=0;++this.qT}}, |
+bu:function(a){return H.mx(this,"{","}")}, |
+Ux:function(){var z,y,x,w |
+z=this.av |
+if(z===this.HV)throw H.b(P.w("No elements"));++this.qT |
+y=this.v5 |
+x=y.length |
+if(z>=x)return H.e(y,z) |
+w=y[z] |
+y[z]=null |
+this.av=(z+1&x-1)>>>0 |
+return w}, |
+NZ:function(a){var z,y,x |
+z=this.v5 |
+y=this.HV |
+x=z.length |
+if(y>=x)return H.e(z,y) |
+z[y]=a |
+x=(y+1&x-1)>>>0 |
+this.HV=x |
+if(this.av===x)this.VW();++this.qT}, |
+VW:function(){var z,y,x,w |
+z=Array(this.v5.length*2) |
+z.fixed$length=init |
+y=H.VM(z,[H.Kp(this,0)]) |
+z=this.v5 |
+x=this.av |
+w=z.length-x |
+H.qG(y,0,w,z,x) |
+z=this.av |
+x=this.v5 |
+H.qG(y,w,w+z,x,0) |
+this.av=0 |
+this.HV=this.v5.length |
+this.v5=y}, |
+Eo:function(a,b){var z=Array(8) |
+z.fixed$length=init |
+this.v5=H.VM(z,[b])}, |
+static:{"^":"TN"}}, |
+o0:{ |
+"^":"a;Lz,dP,qT,Dc,fD", |
+gl:function(){return this.fD}, |
+G:function(){var z,y,x |
+z=this.Lz |
+if(this.qT!==z.qT)H.vh(P.a4(z)) |
+y=this.Dc |
+if(y===this.dP){this.fD=null |
+return!1}z=z.v5 |
+x=z.length |
+if(y>=x)return H.e(z,y) |
+this.fD=z[y] |
+this.Dc=(y+1&x-1)>>>0 |
+return!0}}}],["dart.core","dart:core",,P,{ |
+"^":"", |
+Hp:function(a){return H.Fv(a)}, |
+hl:function(a){var z,y,x,w,v |
+if(typeof a==="number"||typeof a==="boolean"||null==a)return J.AG(a) |
+if(typeof a==="string"){z=new P.Rn("") |
+z.vM="\"" |
+for(y=a.length,x=0,w="\"";x<y;++x){v=C.xB.j(a,x) |
+if(v<=31)if(v===10)w=z.vM+="\\n" |
+else if(v===13)w=z.vM+="\\r" |
+else if(v===9)w=z.vM+="\\t" |
+else{w=z.vM+="\\x" |
+if(v<16)z.vM=w+"0" |
+else{z.vM=w+"1" |
+v-=16}w=H.Lw(v<10?48+v:87+v) |
+w=z.vM+=w}else if(v===92)w=z.vM+="\\\\" |
+else if(v===34)w=z.vM+="\\\"" |
+else{w=H.Lw(v) |
+w=z.vM+=w}}y=w+"\"" |
+z.vM=y |
+return y}return"Instance of '"+H.lh(a)+"'"}, |
+FM:function(a){return new P.HG(a)}, |
+ad:[function(a,b){return a==null?b==null:a===b},"$2","n0",4,0,4], |
+xv:[function(a){return H.CU(a)},"$1","J2",2,0,5], |
+F:function(a,b,c){var z,y |
+z=H.VM([],[c]) |
+for(y=a.gA(a);y.G();)z.push(y.gl()) |
+if(b)return z |
+z.fixed$length=init |
+return z}, |
+JS:function(a){var z=H.d(a) |
+H.qw(z)}, |
+CL:{ |
+"^":"Tp:17;a", |
+$2:function(a,b){var z=this.a |
+if(z.b>0)z.a.KF(", ") |
+z.a.KF(P.Hp(a))}}, |
+a2:{ |
+"^":"a;", |
+$isa2:true}, |
+"+bool":0, |
+CP:{ |
+"^":"lf;"}, |
+"+double":0, |
+a6:{ |
+"^":"a;Fq", |
+g:function(a,b){return P.k5(0,0,C.jn.g(this.Fq,b.gFq()),0,0,0)}, |
+C:function(a,b){return C.jn.C(this.Fq,b.gFq())}, |
+F:function(a,b){return C.jn.F(this.Fq,b.gFq())}, |
+n:function(a,b){if(b==null)return!1 |
+if(!J.x(b).$isa6)return!1 |
+return this.Fq===b.Fq}, |
+giO:function(a){return this.Fq&0x1FFFFFFF}, |
+bu:function(a){var z,y,x,w,v |
+z=new P.DW() |
+y=this.Fq |
+if(y<0)return"-"+P.k5(0,0,-y,0,0,0).bu(0) |
+x=z.$1(C.jn.JV(C.jn.cU(y,60000000),60)) |
+w=z.$1(C.jn.JV(C.jn.cU(y,1000000),60)) |
+v=new P.P7().$1(C.jn.JV(y,1000000)) |
+return""+C.jn.cU(y,3600000000)+":"+H.d(x)+":"+H.d(w)+"."+H.d(v)}, |
+$isa6:true, |
+static:{"^":"Wt,S4,dk,Lo,zj,b2,q9,Ie,Do,Cv,kT,IJ,D9,Vk,S8,rG",k5:function(a,b,c,d,e,f){return new P.a6(a*86400000000+b*3600000000+e*60000000+f*1000000+d*1000+c)}}}, |
+P7:{ |
+"^":"Tp:18;", |
+$1:function(a){if(a>=100000)return""+a |
+if(a>=10000)return"0"+a |
+if(a>=1000)return"00"+a |
+if(a>=100)return"000"+a |
+if(a>=10)return"0000"+a |
+return"00000"+a}}, |
+DW:{ |
+"^":"Tp:18;", |
+$1:function(a){if(a>=10)return""+a |
+return"0"+a}}, |
+Ge:{ |
+"^":"a;", |
+gI4:function(){return new H.XO(this.$thrownJsError,null)}, |
+$isGe:true}, |
+LK:{ |
+"^":"Ge;", |
+bu:function(a){return"Throw of null."}}, |
+AT:{ |
+"^":"Ge;G1", |
+bu:function(a){var z=this.G1 |
+if(z!=null)return"Illegal argument(s): "+H.d(z) |
+return"Illegal argument(s)"}, |
+static:{u:function(a){return new P.AT(a)}}}, |
+bJ:{ |
+"^":"AT;G1", |
+bu:function(a){return"RangeError: "+H.d(this.G1)}, |
+static:{N:function(a){return new P.bJ("value "+H.d(a))},TE:function(a,b,c){return new P.bJ("value "+H.d(a)+" not in range "+b+".."+H.d(c))}}}, |
+ub:{ |
+"^":"Ge;G1", |
+bu:function(a){return"Unsupported operation: "+this.G1}, |
+static:{f:function(a){return new P.ub(a)}}}, |
+ds:{ |
+"^":"Ge;G1", |
+bu:function(a){var z=this.G1 |
+return z!=null?"UnimplementedError: "+H.d(z):"UnimplementedError"}, |
+$isGe:true, |
+static:{SY:function(a){return new P.ds(a)}}}, |
+lj:{ |
+"^":"Ge;G1", |
+bu:function(a){return"Bad state: "+this.G1}, |
+static:{w:function(a){return new P.lj(a)}}}, |
+UV:{ |
+"^":"Ge;YA", |
+bu:function(a){var z=this.YA |
+if(z==null)return"Concurrent modification during iteration." |
+return"Concurrent modification during iteration: "+H.d(P.hl(z))+"."}, |
+static:{a4:function(a){return new P.UV(a)}}}, |
+VS:{ |
+"^":"a;", |
+bu:function(a){return"Stack Overflow"}, |
+gI4:function(){return}, |
+$isGe:true}, |
+t7:{ |
+"^":"Ge;Wo", |
+bu:function(a){return"Reading static variable '"+this.Wo+"' during its initialization"}, |
+static:{Gz:function(a){return new P.t7(a)}}}, |
+HG:{ |
+"^":"a;G1", |
+bu:function(a){var z=this.G1 |
+if(z==null)return"Exception" |
+return"Exception: "+H.d(z)}}, |
+kM:{ |
+"^":"a;oc", |
+bu:function(a){return"Expando:"+H.d(this.oc)}, |
+t:function(a,b){var z=H.VK(b,"expando$values") |
+return z==null?null:H.VK(z,this.J4())}, |
+u:function(a,b,c){var z=H.VK(b,"expando$values") |
+if(z==null){z=new P.a() |
+H.aw(b,"expando$values",z)}H.aw(z,this.J4(),c)}, |
+J4:function(){var z,y |
+z=H.VK(this,"expando$key") |
+if(z==null){y=$.Ss |
+$.Ss=y+1 |
+z="expando$key$"+y |
+H.aw(this,"expando$key",z)}return z}, |
+static:{"^":"bZ,rl,Ss"}}, |
+KN:{ |
+"^":"lf;", |
+$isKN:true}, |
+"+int":0, |
+An:{ |
+"^":"a;"}, |
+zM:{ |
+"^":"a;", |
+$iszM:true, |
+$aszM:null}, |
+"+List":0, |
+c8:{ |
+"^":"a;", |
+bu:function(a){return"null"}}, |
+"+Null":0, |
+lf:{ |
+"^":"a;", |
+$islf:true}, |
+"+num":0, |
+a:{ |
+"^":";", |
+n:function(a,b){return this===b}, |
+giO:function(a){return H.eQ(this)}, |
+bu:function(a){return H.a5(this)}}, |
+mE:{ |
+"^":"a;"}, |
+qU:{ |
+"^":"a;", |
+$isqU:true}, |
+"+String":0, |
+Rn:{ |
+"^":"a;vM<", |
+gB:function(a){return this.vM.length}, |
+KF:function(a){this.vM+=typeof a==="string"?a:H.d(a)}, |
+We:function(a,b){var z,y |
+z=J.GP(a) |
+if(!z.G())return |
+if(b.length===0)do{y=z.gl() |
+this.vM+=typeof y==="string"?y:H.d(y)}while(z.G()) |
+else{this.KF(z.gl()) |
+for(;z.G();){this.vM+=b |
+y=z.gl() |
+this.vM+=typeof y==="string"?y:H.d(y)}}}, |
+bu:function(a){return this.vM}, |
+PD:function(a){this.vM=a}, |
+static:{p9:function(a){var z=new P.Rn("") |
+z.PD(a) |
+return z}}}, |
+wv:{ |
+"^":"a;"}}],["dart.dom.html","dart:html",,W,{ |
+"^":"", |
+qc:function(a){var z |
+if(a==null)return |
+if("setInterval" in a){z=W.P1(a) |
+if(!!J.x(z).$isD0)return z |
+return}else return a}, |
+VF:function(a){var z=$.X3 |
+if(z===C.NU)return a |
+return z.oj(a,!0)}, |
+qE:{ |
+"^":"cv;", |
+"%":"HTMLAppletElement|HTMLBRElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFontElement|HTMLFrameElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement;HTMLElement"}, |
+Gh:{ |
+"^":"qE;N:target=", |
+bu:function(a){return a.toString()}, |
+"%":"HTMLAnchorElement"}, |
+fY:{ |
+"^":"qE;N:target=", |
+bu:function(a){return a.toString()}, |
+"%":"HTMLAreaElement"}, |
+nB:{ |
+"^":"qE;N:target=", |
+"%":"HTMLBaseElement"}, |
+QP:{ |
+"^":"qE;", |
+$isD0:true, |
+"%":"HTMLBodyElement"}, |
+IF:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLButtonElement"}, |
+nx:{ |
+"^":"KV;B:length=", |
+"%":"CDATASection|Comment|Text;CharacterData"}, |
+Nh:{ |
+"^":"Gv;", |
+bu:function(a){return a.toString()}, |
+"%":"DOMException"}, |
+cv:{ |
+"^":"KV;", |
+bu:function(a){return a.localName}, |
+gVl:function(a){return H.VM(new W.Cq(a,C.T1.Ph,!1),[null])}, |
+gLm:function(a){return H.VM(new W.Cq(a,C.io.Ph,!1),[null])}, |
+$isD0:true, |
+"%":";Element"}, |
+hY:{ |
+"^":"ea;kc:error=", |
+"%":"ErrorEvent"}, |
+ea:{ |
+"^":"Gv;", |
+gN:function(a){return W.qc(a.target)}, |
+"%":"AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnloadEvent|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEvent|HashChangeEvent|IDBVersionChangeEvent|InstallEvent|InstallPhaseEvent|MIDIConnectionEvent|MIDIMessageEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpRequestProgressEvent;Event"}, |
+D0:{ |
+"^":"Gv;", |
+On:function(a,b,c,d){return a.addEventListener(b,H.tR(c,1),d)}, |
+Y9:function(a,b,c,d){return a.removeEventListener(b,H.tR(c,1),d)}, |
+$isD0:true, |
+"%":";EventTarget"}, |
+as:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLFieldSetElement"}, |
+Yu:{ |
+"^":"qE;B:length=,N:target=", |
+"%":"HTMLFormElement"}, |
+Mi:{ |
+"^":"qE;lz:disabled}", |
+$isMi:true, |
+$isD0:true, |
+"%":"HTMLInputElement"}, |
+In:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLKeygenElement"}, |
+Og:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLLinkElement"}, |
+El:{ |
+"^":"qE;kc:error=", |
+"%":"HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"}, |
+Aj:{ |
+"^":"w6;", |
+"%":"DragEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|PointerEvent|WheelEvent"}, |
+KV:{ |
+"^":"D0;", |
+bu:function(a){var z=a.nodeValue |
+return z==null?J.Gv.prototype.bu.call(this,a):z}, |
+"%":"Attr|Document|DocumentFragment|DocumentType|HTMLDocument|Notation|ShadowRoot|XMLDocument;Node"}, |
+l9:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLOptGroupElement"}, |
+Ql:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLOptionElement"}, |
+nC:{ |
+"^":"nx;N:target=", |
+"%":"ProcessingInstruction"}, |
+lp:{ |
+"^":"qE;lz:disabled},B:length=", |
+"%":"HTMLSelectElement"}, |
+HN:{ |
+"^":"ea;kc:error=", |
+"%":"SpeechRecognitionError"}, |
+fq:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLStyleElement"}, |
+FB:{ |
+"^":"qE;lz:disabled}", |
+"%":"HTMLTextAreaElement"}, |
+w6:{ |
+"^":"ea;", |
+"%":"CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomEvent|TextEvent|TouchEvent;UIEvent"}, |
+Oi:{ |
+"^":"D0;", |
+bu:function(a){return a.toString()}, |
+$isD0:true, |
+"%":"DOMWindow|Window"}, |
+Nf:{ |
+"^":"qE;", |
+$isD0:true, |
+"%":"HTMLFrameSetElement"}, |
+Fk:{ |
+"^":"a;Ph"}, |
+RO:{ |
+"^":"qh;", |
+KR:function(a,b,c,d){var z=new W.xC(0,this.uv,this.Ph,W.VF(a),this.Sg) |
+z.$builtinTypeInfo=this.$builtinTypeInfo |
+z.Zz() |
+return z}}, |
+Cq:{ |
+"^":"RO;uv,Ph,Sg"}, |
+xC:{ |
+"^":"MO;VP,uv,Ph,u7,Sg", |
+ed:function(){if(this.uv==null)return |
+this.Ns() |
+this.uv=null |
+this.u7=null |
+return}, |
+Zz:function(){var z=this.u7 |
+if(z!=null&&this.VP<=0)J.qV(this.uv,this.Ph,z,this.Sg)}, |
+Ns:function(){var z=this.u7 |
+if(z!=null)J.GJ(this.uv,this.Ph,z,this.Sg)}}, |
+dW:{ |
+"^":"a;Ui", |
+$isD0:true, |
+static:{P1:function(a){if(a===window)return a |
+else return new W.dW(a)}}}}],["dart.dom.svg","dart:svg",,P,{ |
+"^":"", |
+Y0:{ |
+"^":"tp;N:target=", |
+"%":"SVGAElement"}, |
+tp:{ |
+"^":"d5;", |
+"%":"SVGAltGlyphElement|SVGCircleElement|SVGClipPathElement|SVGDefsElement|SVGEllipseElement|SVGForeignObjectElement|SVGGElement|SVGGeometryElement|SVGImageElement|SVGLineElement|SVGPathElement|SVGPolygonElement|SVGPolylineElement|SVGRectElement|SVGSVGElement|SVGSwitchElement|SVGTSpanElement|SVGTextContentElement|SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGUseElement;SVGGraphicsElement"}, |
+Lx:{ |
+"^":"d5;lz:disabled}", |
+"%":"SVGStyleElement"}, |
+d5:{ |
+"^":"cv;", |
+gVl:function(a){return H.VM(new W.Cq(a,C.T1.Ph,!1),[null])}, |
+gLm:function(a){return H.VM(new W.Cq(a,C.io.Ph,!1),[null])}, |
+$isD0:true, |
+"%":"SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGAnimationElement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDescElement|SVGDiscardElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGGlyphElement|SVGGlyphRefElement|SVGGradientElement|SVGHKernElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|SVGMissingGlyphElement|SVGPatternElement|SVGRadialGradientElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGSymbolElement|SVGTitleElement|SVGVKernElement|SVGViewElement;SVGElement"}}],["dart.isolate","dart:isolate",,P,{ |
+"^":"", |
+IU:{ |
+"^":"a;", |
+$isIU:true, |
+static:{N3:function(){return new H.ku((Math.random()*0x100000000>>>0)+(Math.random()*0x100000000>>>0)*4294967296)}}}}],["dart.typed_data.implementation","dart:_native_typed_data",,H,{ |
+"^":"", |
+ET:{ |
+"^":"Gv;", |
+J2:function(a,b,c){var z=J.Wx(b) |
+if(z.C(b,0)||z.F(b,c))throw H.b(P.TE(b,0,c)) |
+else throw H.b(P.u("Invalid list index "+H.d(b)))}, |
+"%":";ArrayBufferView;b0|Ob|GV|Pg"}, |
+V6:{ |
+"^":"Pg;", |
+gB:function(a){return a.length}, |
+t:function(a,b){var z=a.length |
+if(b>>>0!==b||b>=z)this.J2(a,b,z) |
+return a[b]}, |
+u:function(a,b,c){var z=a.length |
+if(b>>>0!==b||b>=z)this.J2(a,b,z) |
+a[b]=c}, |
+$iszM:true, |
+$aszM:function(){return[P.KN]}, |
+"%":";Uint8Array"}, |
+b0:{ |
+"^":"ET;", |
+gB:function(a){return a.length}, |
+$isXj:true}, |
+Pg:{ |
+"^":"GV;", |
+$iszM:true, |
+$aszM:function(){return[P.KN]}}, |
+Ob:{ |
+"^":"b0+FN;", |
+$iszM:true, |
+$aszM:function(){return[P.KN]}}, |
+GV:{ |
+"^":"Ob+SU;"}}],["dart2js._js_primitives","dart:_js_primitives",,H,{ |
+"^":"", |
+qw:function(a){if(typeof dartPrint=="function"){dartPrint(a) |
+return}if(typeof console=="object"&&typeof console.log=="function"){console.log(a) |
+return}if(typeof window=="object")return |
+if(typeof print=="function"){print(a) |
+return}throw"Unable to print message: "+String(a)}}],["","file:///Users/kathyw/Spot/one-hour-codelab/web/3-buttonbadge/piratebadge.dart",,A,{ |
+"^":"", |
+Iq:[function(){var z=J.q0(document.querySelector("#inputName")) |
+H.VM(new W.xC(0,z.uv,z.Ph,W.VF(A.qC()),z.Sg),[H.Kp(z,0)]).Zz() |
+z=document.querySelector("#generateButton") |
+$.Tn=z |
+z=J.Vg(z) |
+H.VM(new W.xC(0,z.uv,z.Ph,W.VF(A.OL()),z.Sg),[H.Kp(z,0)]).Zz()},"$0","eE",0,0,1], |
+zL:[function(a){var z,y,x |
+z=H.Go(J.l2(a),"$isMi").value |
+document.querySelector("#badgeName").textContent=z |
+y=J.rr(z) |
+x=$.Tn |
+if(y.length===0){J.lo(x,!1) |
+x.textContent="Aye! Gimme a name!"}else{J.lo(x,!0) |
+x.textContent="Arrr! Write yer name!"}},"$1","qC",2,0,6], |
+KL:[function(a){document.querySelector("#badgeName").textContent="Anne Bonney"},"$1","OL",2,0,6]},1],]) |
+I.$finishClasses($$,$,null) |
+$$=null |
+P.KN.$isKN=true |
+P.KN.$isa=true |
+P.qU.$isqU=true |
+P.qU.$isa=true |
+P.lf.$isa=true |
+P.a6.$isa=true |
+W.Aj.$isea=true |
+W.Aj.$isa=true |
+W.ea.$isea=true |
+W.ea.$isa=true |
+H.yo.$isa=true |
+H.IY.$isa=true |
+H.aX.$isa=true |
+P.wv.$iswv=true |
+P.wv.$isa=true |
+P.a2.$isa2=true |
+P.a2.$isa=true |
+P.mE.$ismE=true |
+P.mE.$isa=true |
+P.a.$isa=true |
+P.nP.$isnP=true |
+P.nP.$isa=true |
+J.Qc=function(a){if(typeof a=="number")return J.P.prototype |
+if(typeof a=="string")return J.O.prototype |
+if(a==null)return a |
+if(!(a instanceof P.a))return J.is.prototype |
+return a} |
+J.RE=function(a){if(a==null)return a |
+if(typeof a!="object")return a |
+if(a instanceof P.a)return a |
+return J.ks(a)} |
+J.U6=function(a){if(typeof a=="string")return J.O.prototype |
+if(a==null)return a |
+if(a.constructor==Array)return J.Q.prototype |
+if(typeof a!="object")return a |
+if(a instanceof P.a)return a |
+return J.ks(a)} |
+J.Wx=function(a){if(typeof a=="number")return J.P.prototype |
+if(a==null)return a |
+if(!(a instanceof P.a))return J.is.prototype |
+return a} |
+J.rY=function(a){if(typeof a=="string")return J.O.prototype |
+if(a==null)return a |
+if(!(a instanceof P.a))return J.is.prototype |
+return a} |
+J.w1=function(a){if(a==null)return a |
+if(a.constructor==Array)return J.Q.prototype |
+if(typeof a!="object")return a |
+if(a instanceof P.a)return a |
+return J.ks(a)} |
+J.x=function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.im.prototype |
+return J.VA.prototype}if(typeof a=="string")return J.O.prototype |
+if(a==null)return J.YE.prototype |
+if(typeof a=="boolean")return J.kn.prototype |
+if(a.constructor==Array)return J.Q.prototype |
+if(typeof a!="object")return a |
+if(a instanceof P.a)return a |
+return J.ks(a)} |
+J.AG=function(a){return J.x(a).bu(a)} |
+J.GJ=function(a,b,c,d){return J.RE(a).Y9(a,b,c,d)} |
+J.GP=function(a){return J.w1(a).gA(a)} |
+J.UQ=function(a,b){if(a.constructor==Array||typeof a=="string"||H.wV(a,a[init.dispatchPropertyName]))if(b>>>0===b&&b<a.length)return a[b] |
+return J.U6(a).t(a,b)} |
+J.V1=function(a,b){return J.w1(a).Rz(a,b)} |
+J.Vg=function(a){return J.RE(a).gVl(a)} |
+J.WB=function(a,b){if(typeof a=="number"&&typeof b=="number")return a+b |
+return J.Qc(a).g(a,b)} |
+J.de=function(a,b){if(a==null)return b==null |
+if(typeof a!="object")return b!=null&&a===b |
+return J.x(a).n(a,b)} |
+J.kE=function(a,b){return J.U6(a).tg(a,b)} |
+J.kH=function(a,b){return J.w1(a).aN(a,b)} |
+J.kW=function(a,b,c){if((a.constructor==Array||H.wV(a,a[init.dispatchPropertyName]))&&!a.immutable$list&&b>>>0===b&&b<a.length)return a[b]=c |
+return J.w1(a).u(a,b,c)} |
+J.l2=function(a){return J.RE(a).gN(a)} |
+J.lo=function(a,b){return J.RE(a).slz(a,b)} |
+J.q0=function(a){return J.RE(a).gLm(a)} |
+J.q8=function(a){return J.U6(a).gB(a)} |
+J.qV=function(a,b,c,d){return J.RE(a).On(a,b,c,d)} |
+J.rr=function(a){return J.rY(a).bS(a)} |
+J.v1=function(a){return J.x(a).giO(a)} |
+J.w8=function(a){return J.RE(a).gkc(a)} |
+C.Nm=J.Q.prototype |
+C.jn=J.im.prototype |
+C.CD=J.P.prototype |
+C.xB=J.O.prototype |
+C.ZQ=J.iC.prototype |
+C.vB=J.is.prototype |
+C.KZ=new H.hJ() |
+C.NU=new P.R8() |
+C.RT=new P.a6(0) |
+C.T1=new W.Fk("click") |
+C.io=new W.Fk("input") |
+C.Mc=function(hooks) { |
+ if (typeof dartExperimentalFixupGetTag != "function") return hooks; |
+ hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); |
} |
- |
-}, |
- |
-Function: {"": "Object;"}, |
- |
-Iterator: {"": "Object;"}, |
- |
-Null: {"": "Object;", |
- toString$0: function(_) { |
- return "null"; |
- } |
-}, |
- |
-Object: {"": ";", |
- $eq: function(_, other) { |
- return this === other; |
- }, |
- get$hashCode: function(_) { |
- return H.Primitives_objectHashCode(this); |
- }, |
- toString$0: function(_) { |
- return H.Primitives_objectToString(this); |
- } |
-}, |
- |
-StackTrace: {"": "Object;"}, |
- |
-StringBuffer: {"": "Object;_contents<", |
- get$length: function(_) { |
- return this._contents.length; |
- }, |
- write$1: function(obj) { |
- var str = typeof obj === "string" ? obj : H.S(obj); |
- this._contents = this._contents + str; |
- }, |
- writeAll$2: function(objects, separator) { |
- var iterator, str; |
- iterator = J.get$iterator$ax(objects); |
- if (!iterator.moveNext$0()) |
- return; |
- if (separator.length === 0) |
- do { |
- str = iterator.get$current(); |
- str = typeof str === "string" ? str : H.S(str); |
- this._contents = this._contents + str; |
- } while (iterator.moveNext$0()); |
- else { |
- this.write$1(iterator.get$current()); |
- for (; iterator.moveNext$0();) { |
- this._contents = this._contents + separator; |
- str = iterator.get$current(); |
- str = typeof str === "string" ? str : H.S(str); |
- this._contents = this._contents + str; |
+C.lR=function(hooks) { |
+ var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; |
+ if (userAgent.indexOf("Firefox") == -1) return hooks; |
+ var getTag = hooks.getTag; |
+ var quickMap = { |
+ "BeforeUnloadEvent": "Event", |
+ "DataTransfer": "Clipboard", |
+ "GeoGeolocation": "Geolocation", |
+ "Location": "!Location", |
+ "WorkerMessageEvent": "MessageEvent", |
+ "XMLDocument": "!Document"}; |
+ function getTagFirefox(o) { |
+ var tag = getTag(o); |
+ return quickMap[tag] || tag; |
+ } |
+ hooks.getTag = getTagFirefox; |
+} |
+C.w2=function getTagFallback(o) { |
+ var constructor = o.constructor; |
+ if (typeof constructor == "function") { |
+ var name = constructor.name; |
+ if (typeof name == "string" && |
+ name.length > 2 && |
+ name !== "Object" && |
+ name !== "Function.prototype") { |
+ return name; |
+ } |
+ } |
+ var s = Object.prototype.toString.call(o); |
+ return s.substring(8, s.length - 1); |
+} |
+C.XQ=function(hooks) { return hooks; } |
+ |
+C.ur=function(getTagFallback) { |
+ return function(hooks) { |
+ if (typeof navigator != "object") return hooks; |
+ var ua = navigator.userAgent; |
+ if (ua.indexOf("DumpRenderTree") >= 0) return hooks; |
+ if (ua.indexOf("Chrome") >= 0) { |
+ function confirm(p) { |
+ return typeof window == "object" && window[p] && window[p].name == p; |
} |
+ if (confirm("Window") && confirm("HTMLElement")) return hooks; |
} |
- }, |
- toString$0: function(_) { |
- return this._contents; |
- }, |
- StringBuffer$1: function($content) { |
- this._contents = $content; |
- }, |
- static: { |
-StringBuffer$: function($content) { |
- var t1 = new P.StringBuffer(""); |
- t1.StringBuffer$1($content); |
- return t1; |
-}} |
- |
-}, |
- |
-Symbol: {"": "Object;"}}], |
-["dart.dom.html", "dart:html", , W, { |
-_convertNativeToDart_EventTarget: function(e) { |
- var $window, t1; |
- if (e == null) |
- return; |
- if ("setInterval" in e) { |
- $window = W._DOMWindowCrossFrame__createSafe(e); |
- t1 = J.getInterceptor($window); |
- if (typeof $window === "object" && $window !== null && !!t1.$isEventTarget) |
- return $window; |
- return; |
- } else |
- return e; |
-}, |
- |
-_wrapZone: function(callback) { |
- var t1 = $.Zone__current; |
- if (t1 === C.C__RootZone) |
- return callback; |
- return t1.bindUnaryCallback$2$runGuarded(callback, true); |
-}, |
- |
-_EventStream: {"": "Stream;", |
- listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
- var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W._wrapZone(onData), this._useCapture); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)]); |
- t1._tryResume$0(); |
- return t1; |
- }, |
- $asStream: null |
-}, |
- |
-_ElementEventStreamImpl: {"": "_EventStream;_target,_eventType,_useCapture", $as_EventStream: null}, |
- |
-_EventStreamSubscription: {"": "StreamSubscription;_pauseCount,_target,_eventType,_onData,_useCapture", |
- cancel$0: function() { |
- if (this._target == null) |
- return; |
- this._unlisten$0(); |
- this._target = null; |
- this._onData = null; |
- }, |
- _tryResume$0: function() { |
- var t1 = this._onData; |
- if (t1 != null && this._pauseCount <= 0) |
- J.addEventListener$3$x(this._target, this._eventType, t1, this._useCapture); |
- }, |
- _unlisten$0: function() { |
- var t1 = this._onData; |
- if (t1 != null) |
- J.removeEventListener$3$x(this._target, this._eventType, t1, this._useCapture); |
- }, |
- $asStreamSubscription: null |
-}, |
- |
-EventStreamProvider: {"": "Object;_eventType"}, |
- |
-_DOMWindowCrossFrame: {"": "Object;_window", $isEventTarget: true, static: { |
-_DOMWindowCrossFrame__createSafe: function(w) { |
- if (w === window) |
- return w; |
- else |
- return new W._DOMWindowCrossFrame(w); |
-}} |
-}, |
- |
-HtmlElement: {"": "Element;", "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseFontElement|HTMLBodyElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement;HTMLElement"}, |
- |
-AnchorElement: {"": "HtmlElement;target=", |
- toString$0: function(receiver) { |
- return receiver.toString(); |
- }, |
- "%": "HTMLAnchorElement" |
-}, |
- |
-AreaElement: {"": "HtmlElement;target=", "%": "HTMLAreaElement"}, |
- |
-BaseElement: {"": "HtmlElement;target=", "%": "HTMLBaseElement"}, |
- |
-ButtonElement: {"": "HtmlElement;disabled}", "%": "HTMLButtonElement"}, |
- |
-CharacterData: {"": "Node;length=", "%": "CDATASection|Comment|Text;CharacterData"}, |
- |
-DomException: {"": "Interceptor;", |
- toString$0: function(receiver) { |
- return receiver.toString(); |
- }, |
- "%": "DOMException" |
-}, |
- |
-Element: {"": "Node;", |
- toString$0: function(receiver) { |
- return receiver.localName; |
- }, |
- "%": ";Element" |
-}, |
- |
-ErrorEvent: {"": "Event;error=", "%": "ErrorEvent"}, |
- |
-Event: {"": "Interceptor;", |
- get$target: function(receiver) { |
- return W._convertNativeToDart_EventTarget(receiver.target); |
- }, |
- "%": "AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnloadEvent|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MIDIMessageEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpRequestProgressEvent;Event" |
-}, |
- |
-EventTarget: {"": "Interceptor;", |
- addEventListener$3: function(receiver, type, listener, useCapture) { |
- return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture); |
- }, |
- removeEventListener$3: function(receiver, type, listener, useCapture) { |
- return receiver.removeEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture); |
- }, |
- $isEventTarget: true, |
- "%": "MediaStream;EventTarget" |
-}, |
- |
-FieldSetElement: {"": "HtmlElement;disabled}", "%": "HTMLFieldSetElement"}, |
- |
-FormElement: {"": "HtmlElement;length=,target=", "%": "HTMLFormElement"}, |
- |
-InputElement: {"": "HtmlElement;disabled}", $isInputElement: true, $isEventTarget: true, "%": "HTMLInputElement"}, |
- |
-KeygenElement: {"": "HtmlElement;disabled}", "%": "HTMLKeygenElement"}, |
- |
-LinkElement: {"": "HtmlElement;disabled}", "%": "HTMLLinkElement"}, |
- |
-MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"}, |
- |
-MouseEvent: {"": "UIEvent;", "%": "DragEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|PointerEvent|WheelEvent"}, |
- |
-Node: {"": "EventTarget;", |
- toString$0: function(receiver) { |
- var t1 = receiver.nodeValue; |
- return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1; |
- }, |
- "%": "Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDocument|Notation|SVGDocument|ShadowRoot;Node" |
-}, |
- |
-OptGroupElement: {"": "HtmlElement;disabled}", "%": "HTMLOptGroupElement"}, |
- |
-OptionElement: {"": "HtmlElement;disabled}", "%": "HTMLOptionElement"}, |
- |
-ProcessingInstruction: {"": "CharacterData;target=", "%": "ProcessingInstruction"}, |
- |
-SelectElement: {"": "HtmlElement;disabled},length=", "%": "HTMLSelectElement"}, |
- |
-SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"}, |
- |
-StyleElement: {"": "HtmlElement;disabled}", "%": "HTMLStyleElement"}, |
- |
-TextAreaElement: {"": "HtmlElement;disabled}", "%": "HTMLTextAreaElement"}, |
- |
-UIEvent: {"": "Event;", "%": "CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomEvent|TextEvent|TouchEvent;UIEvent"}, |
- |
-Window: {"": "EventTarget;", |
- toString$0: function(receiver) { |
- return receiver.toString(); |
- }, |
- $isEventTarget: true, |
- "%": "DOMWindow|Window" |
-}}], |
-["dart.dom.svg", "dart:svg", , P, { |
-AElement: {"": "GraphicsElement;target=", "%": "SVGAElement"}, |
- |
-GraphicsElement: {"": "SvgElement;", "%": "SVGAltGlyphElement|SVGCircleElement|SVGClipPathElement|SVGDefsElement|SVGEllipseElement|SVGForeignObjectElement|SVGGElement|SVGImageElement|SVGLineElement|SVGPathElement|SVGPolygonElement|SVGPolylineElement|SVGRectElement|SVGSVGElement|SVGSwitchElement|SVGTSpanElement|SVGTextContentElement|SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGUseElement;SVGGraphicsElement"}, |
- |
-StyleElement0: {"": "SvgElement;disabled}", "%": "SVGStyleElement"}, |
- |
-SvgElement: {"": "Element;", "%": "SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGAnimationElement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDescElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGGlyphElement|SVGGlyphRefElement|SVGGradientElement|SVGHKernElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|SVGMissingGlyphElement|SVGPatternElement|SVGRadialGradientElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGSymbolElement|SVGTitleElement|SVGVKernElement|SVGViewElement;SVGElement"}}], |
-["dart.isolate", "dart:isolate", , P, { |
-ReceivePort: {"": "Object;"}}], |
-["dart.typed_data", "dart:typed_data", , P, { |
-TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true}, |
- |
-TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthListMixin;", $asList: null}, |
- |
-TypedData: {"": "Interceptor;", |
- _invalidIndex$2: function(receiver, index, $length) { |
- var t1 = J.getInterceptor$n(index); |
- if (t1.$lt(index, 0) || t1.$ge(index, $length)) |
- throw H.wrapException(P.RangeError$range(index, 0, $length)); |
- else |
- throw H.wrapException(new P.ArgumentError("Invalid list index " + H.S(index))); |
- }, |
- "%": ";ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthListMixin" |
-}, |
- |
-Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin;", |
- get$length: function(receiver) { |
- return C.JS_CONST_ZYJ(receiver); |
- }, |
- $index: function(receiver, index) { |
- var t1 = C.JS_CONST_ZYJ(receiver); |
- if (index >>> 0 != index || J.$ge$n(index, t1)) |
- this._invalidIndex$2(receiver, index, t1); |
- return receiver[index]; |
- }, |
- $indexSet: function(receiver, index, value) { |
- var t1 = C.JS_CONST_ZYJ(receiver); |
- if (index >>> 0 != index || J.$ge$n(index, t1)) |
- this._invalidIndex$2(receiver, index, t1); |
- receiver[index] = value; |
- }, |
- $asList: function() { |
- return [J.JSInt]; |
- }, |
- $isList: true, |
- $isEfficientLength: true, |
- $isJavaScriptIndexingBehavior: true, |
- "%": ";Uint8Array" |
-}}], |
-["", "piratebadge.dart", , A, { |
-main: function() { |
- var t1, t2; |
- t1 = document.querySelector("#inputName"); |
- t1.toString; |
- t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_input._eventType, false); |
- H.setRuntimeTypeInfo(t1, [null]); |
- t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone(A.updateBadge$closure), t1._useCapture); |
- H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); |
- t2._tryResume$0(); |
- $.genButton = document.querySelector("#generateButton"); |
- t2 = $.genButton; |
- t2.toString; |
- t2 = new W._ElementEventStreamImpl(t2, C.EventStreamProvider_click._eventType, false); |
- H.setRuntimeTypeInfo(t2, [null]); |
- t1 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._wrapZone(A.generateBadge$closure), t2._useCapture); |
- H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]); |
- t1._tryResume$0(); |
-}, |
- |
-updateBadge: function(e) { |
- var inputName, t1, t2; |
- inputName = H.interceptedTypeCast(J.get$target$x(e), "$isInputElement").value; |
- document.querySelector("#badgeName").textContent = inputName; |
- t1 = J.trim$0$s(inputName); |
- t2 = $.genButton; |
- if (t1.length === 0) { |
- J.set$disabled$x(t2, false); |
- t2.textContent = "Aye! Gimme a name!"; |
- } else { |
- J.set$disabled$x(t2, true); |
- t2.textContent = "Arrr! Write yer name!"; |
- } |
-}, |
- |
-generateBadge: function(e) { |
- document.querySelector("#badgeName").textContent = "Anne Bonney"; |
-}}, |
-1], |
-]); |
-Isolate.$finishClasses($$, $, null); |
-$$ = null; |
- |
-// Static function getters |
-init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNatives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWorkerMessage, "IsolateNatives__processWorkerMessage$closure"); |
-init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H.Closure$0(H.toStringWrapper, "toStringWrapper$closure"); |
-init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Closure$7(H.invokeClosure, "invokeClosure$closure"); |
-init.globalFunctions.typeNameInChrome$closure = H.typeNameInChrome$closure = new H.Closure$1(H.typeNameInChrome, "typeNameInChrome$closure"); |
-init.globalFunctions.typeNameInSafari$closure = H.typeNameInSafari$closure = new H.Closure$1(H.typeNameInSafari, "typeNameInSafari$closure"); |
-init.globalFunctions.typeNameInOpera$closure = H.typeNameInOpera$closure = new H.Closure$1(H.typeNameInOpera, "typeNameInOpera$closure"); |
-init.globalFunctions.typeNameInFirefox$closure = H.typeNameInFirefox$closure = new H.Closure$1(H.typeNameInFirefox, "typeNameInFirefox$closure"); |
-init.globalFunctions.typeNameInIE$closure = H.typeNameInIE$closure = new H.Closure$1(H.typeNameInIE, "typeNameInIE$closure"); |
-init.globalFunctions.constructorNameFallback$closure = H.constructorNameFallback$closure = new H.Closure$1(H.constructorNameFallback, "constructorNameFallback$closure"); |
-init.globalFunctions.callDartFunctionWith1Arg$closure = H.callDartFunctionWith1Arg$closure = new H.Closure$2(H.callDartFunctionWith1Arg, "callDartFunctionWith1Arg$closure"); |
-init.globalFunctions._asyncRunCallback$closure = P._asyncRunCallback$closure = new H.Closure$0(P._asyncRunCallback, "_asyncRunCallback$closure"); |
-init.globalFunctions._nullDataHandler$closure = P._nullDataHandler$closure = new H.Closure$1(P._nullDataHandler, "_nullDataHandler$closure"); |
-init.globalFunctions._nullErrorHandler$closure = P._nullErrorHandler$closure = new P.Closure$21(P._nullErrorHandler, "_nullErrorHandler$closure"); |
-init.globalFunctions._nullDoneHandler$closure = P._nullDoneHandler$closure = new H.Closure$0(P._nullDoneHandler, "_nullDoneHandler$closure"); |
-init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.Closure$2(P._defaultEquals, "_defaultEquals$closure"); |
-init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure"); |
-init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P.identical, "identical$closure"); |
-init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new H.Closure$1(P.identityHashCode, "identityHashCode$closure"); |
-init.globalFunctions.main$closure = A.main$closure = new H.Closure$0(A.main, "main$closure"); |
-init.globalFunctions.updateBadge$closure = A.updateBadge$closure = new H.Closure$1(A.updateBadge, "updateBadge$closure"); |
-init.globalFunctions.generateBadge$closure = A.generateBadge$closure = new H.Closure$1(A.generateBadge, "generateBadge$closure"); |
-// Runtime type support |
-J.JSInt.$isint = true; |
-J.JSInt.$isObject = true; |
-J.JSString.$isString = true; |
-J.JSString.$isObject = true; |
-J.JSNumber.$isObject = true; |
-P.Duration.$isObject = true; |
-W.Event.$isEvent = true; |
-W.Event.$isObject = true; |
-W.MouseEvent.$isEvent = true; |
-W.MouseEvent.$isObject = true; |
-P.ReceivePort.$isObject = true; |
-H._IsolateEvent.$isObject = true; |
-H._IsolateContext.$isObject = true; |
-J.JSArray.$isObject = true; |
-P.Symbol.$isSymbol = true; |
-P.Symbol.$isObject = true; |
-P.StackTrace.$isStackTrace = true; |
-P.StackTrace.$isObject = true; |
-P.Object.$isObject = true; |
-P.Function.$isFunction = true; |
-P.Function.$isObject = true; |
-J.JSBool.$isbool = true; |
-J.JSBool.$isObject = true; |
-P._EventSink.$is_EventSink = true; |
-P._EventSink.$isObject = true; |
-P.Future.$isFuture = true; |
-P.Future.$isObject = true; |
-P.StreamSubscription.$isStreamSubscription = true; |
-P.StreamSubscription.$isObject = true; |
-// getInterceptor methods |
-J.getInterceptor = function(receiver) { |
- if (typeof receiver == "number") { |
- if (Math.floor(receiver) == receiver) |
- return J.JSInt.prototype; |
- return J.JSDouble.prototype; |
- } |
- if (typeof receiver == "string") |
- return J.JSString.prototype; |
- if (receiver == null) |
- return J.JSNull.prototype; |
- if (typeof receiver == "boolean") |
- return J.JSBool.prototype; |
- if (receiver.constructor == Array) |
- return J.JSArray.prototype; |
- if (typeof receiver != "object") |
- return receiver; |
- if (receiver instanceof P.Object) |
- return receiver; |
- return J.getNativeInterceptor(receiver); |
-}; |
-J.getInterceptor$asx = function(receiver) { |
- if (typeof receiver == "string") |
- return J.JSString.prototype; |
- if (receiver == null) |
- return receiver; |
- if (receiver.constructor == Array) |
- return J.JSArray.prototype; |
- if (typeof receiver != "object") |
- return receiver; |
- if (receiver instanceof P.Object) |
- return receiver; |
- return J.getNativeInterceptor(receiver); |
-}; |
-J.getInterceptor$ax = function(receiver) { |
- if (receiver == null) |
- return receiver; |
- if (receiver.constructor == Array) |
- return J.JSArray.prototype; |
- if (typeof receiver != "object") |
- return receiver; |
- if (receiver instanceof P.Object) |
- return receiver; |
- return J.getNativeInterceptor(receiver); |
-}; |
-J.getInterceptor$n = function(receiver) { |
- if (typeof receiver == "number") |
- return J.JSNumber.prototype; |
- if (receiver == null) |
- return receiver; |
- if (!(receiver instanceof P.Object)) |
- return J.UnknownJavaScriptObject.prototype; |
- return receiver; |
-}; |
-J.getInterceptor$s = function(receiver) { |
- if (typeof receiver == "string") |
- return J.JSString.prototype; |
- if (receiver == null) |
- return receiver; |
- if (!(receiver instanceof P.Object)) |
- return J.UnknownJavaScriptObject.prototype; |
- return receiver; |
-}; |
-J.getInterceptor$x = function(receiver) { |
- if (receiver == null) |
- return receiver; |
- if (typeof receiver != "object") |
- return receiver; |
- if (receiver instanceof P.Object) |
- return receiver; |
- return J.getNativeInterceptor(receiver); |
-}; |
-C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); |
-C.C__DelayedDone = new P._DelayedDone(); |
-C.C__RootZone = new P._RootZone(); |
-C.Duration_0 = new P.Duration(0); |
-C.EventStreamProvider_click = new W.EventStreamProvider("click"); |
-C.EventStreamProvider_input = new W.EventStreamProvider("input"); |
-C.JSArray_methods = J.JSArray.prototype; |
-C.JSInt_methods = J.JSInt.prototype; |
-C.JSNumber_methods = J.JSNumber.prototype; |
-C.JSString_methods = J.JSString.prototype; |
-C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" && "system" in os) |
- || (typeof navigator == "object" |
- && navigator.userAgent.indexOf('Chrome') != -1)) |
- ? function(x) { return x.$dartCachedLength || x.length; } |
- : function(x) { return x.length; }; |
-; |
-Isolate.makeConstantList = function(list) { |
- list.immutable$list = true; |
- list.fixed$length = true; |
- return list; |
-}; |
-C.List_empty = Isolate.makeConstantList([]); |
-$.lazyPort = null; |
-$.ReceivePortImpl__nextFreeId = 1; |
-$.Primitives_mirrorFunctionCacheName = "$cachedFunction"; |
-$.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; |
-$.initNativeDispatchFlag = null; |
-$.printToZone = null; |
-$._callbacksAreEnqueued = false; |
-$.Zone__current = C.C__RootZone; |
-$.Expando__keyCount = 0; |
-$.Device__isOpera = null; |
-$.Device__isWebKit = null; |
-$.genButton = null; |
-J.$eq = function(receiver, a0) { |
- if (receiver == null) |
- return a0 == null; |
- if (typeof receiver != "object") |
- return a0 != null && receiver === a0; |
- return J.getInterceptor(receiver).$eq(receiver, a0); |
-}; |
-J.$ge$n = function(receiver, a0) { |
- if (typeof receiver == "number" && typeof a0 == "number") |
- return receiver >= a0; |
- return J.getInterceptor$n(receiver).$ge(receiver, a0); |
-}; |
-J.$index$asx = function(receiver, a0) { |
- if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) |
- if (a0 >>> 0 === a0 && a0 < receiver.length) |
- return receiver[a0]; |
- return J.getInterceptor$asx(receiver).$index(receiver, a0); |
-}; |
-J.$indexSet$ax = function(receiver, a0, a1) { |
- if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length) |
- return receiver[a0] = a1; |
- return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); |
-}; |
-J.addEventListener$3$x = function(receiver, a0, a1, a2) { |
- return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); |
-}; |
-J.forEach$1$ax = function(receiver, a0) { |
- return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); |
-}; |
-J.get$error$x = function(receiver) { |
- return J.getInterceptor$x(receiver).get$error(receiver); |
-}; |
-J.get$hashCode$ = function(receiver) { |
- return J.getInterceptor(receiver).get$hashCode(receiver); |
-}; |
-J.get$iterator$ax = function(receiver) { |
- return J.getInterceptor$ax(receiver).get$iterator(receiver); |
-}; |
-J.get$length$asx = function(receiver) { |
- return J.getInterceptor$asx(receiver).get$length(receiver); |
-}; |
-J.get$target$x = function(receiver) { |
- return J.getInterceptor$x(receiver).get$target(receiver); |
-}; |
-J.removeEventListener$3$x = function(receiver, a0, a1, a2) { |
- return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); |
-}; |
-J.set$disabled$x = function(receiver, value) { |
- return J.getInterceptor$x(receiver).set$disabled(receiver, value); |
-}; |
-J.toString$0 = function(receiver) { |
- return J.getInterceptor(receiver).toString$0(receiver); |
-}; |
-J.trim$0$s = function(receiver) { |
- return J.getInterceptor$s(receiver).trim$0(receiver); |
-}; |
-Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { |
- return function() { return this; }(); |
-}); |
-Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function() { |
- return $.get$globalThis().window; |
-}); |
-Isolate.$lazy($, "globalWorker", "globalWorker", "get$globalWorker", function() { |
- return $.get$globalThis().Worker; |
-}); |
-Isolate.$lazy($, "globalPostMessageDefined", "globalPostMessageDefined", "get$globalPostMessageDefined", function() { |
- return $.get$globalThis().postMessage !== void 0; |
-}); |
-Isolate.$lazy($, "thisScript", "IsolateNatives_thisScript", "get$IsolateNatives_thisScript", function() { |
- return H.IsolateNatives_computeThisScript(); |
-}); |
-Isolate.$lazy($, "workerIds", "IsolateNatives_workerIds", "get$IsolateNatives_workerIds", function() { |
- return new P.Expando(null); |
-}); |
-Isolate.$lazy($, "noSuchMethodPattern", "TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_noSuchMethodPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ toString: function() { return "$receiver$"; } })); |
-}); |
-Isolate.$lazy($, "notClosurePattern", "TypeErrorDecoder_notClosurePattern", "get$TypeErrorDecoder_notClosurePattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ $method$: null, toString: function() { return "$receiver$"; } })); |
-}); |
-Isolate.$lazy($, "nullCallPattern", "TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecoder_nullCallPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(null)); |
-}); |
-Isolate.$lazy($, "nullLiteralCallPattern", "TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_nullLiteralCallPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOnNull()); |
-}); |
-Isolate.$lazy($, "undefinedCallPattern", "TypeErrorDecoder_undefinedCallPattern", "get$TypeErrorDecoder_undefinedCallPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(void 0)); |
-}); |
-Isolate.$lazy($, "undefinedLiteralCallPattern", "TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDecoder_undefinedLiteralCallPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOnUndefined()); |
-}); |
-Isolate.$lazy($, "nullPropertyPattern", "TypeErrorDecoder_nullPropertyPattern", "get$TypeErrorDecoder_nullPropertyPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(null)); |
-}); |
-Isolate.$lazy($, "nullLiteralPropertyPattern", "TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecoder_nullLiteralPropertyPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOnNull()); |
-}); |
-Isolate.$lazy($, "undefinedPropertyPattern", "TypeErrorDecoder_undefinedPropertyPattern", "get$TypeErrorDecoder_undefinedPropertyPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(void 0)); |
-}); |
-Isolate.$lazy($, "undefinedLiteralPropertyPattern", "TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() { |
- return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOnUndefined()); |
-}); |
-Isolate.$lazy($, "getTypeNameOf", "getTypeNameOf", "get$getTypeNameOf", function() { |
- return H.getFunctionForTypeNameOf(); |
-}); |
-Isolate.$lazy($, "_toStringList", "IterableMixinWorkaround__toStringList", "get$IterableMixinWorkaround__toStringList", function() { |
- return P.List_List(null, null); |
-}); |
-Isolate.$lazy($, "_stackTraceExpando", "_stackTraceExpando", "get$_stackTraceExpando", function() { |
- return new P.Expando("asynchronous error"); |
-}); |
-Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", function() { |
- return P.ListQueue$(null, {func: "void_", void: true}); |
-}); |
-Isolate.$lazy($, "_toStringVisiting", "_toStringVisiting", "get$_toStringVisiting", function() { |
- return P.HashSet_HashSet$identity(null); |
-}); |
-Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList", function() { |
- return P.List_List(null, null); |
-}); |
-// Native classes |
-J.Interceptor["%"] = "DOMError|FileError|MediaError|MediaKeyError|Navigator|NavigatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList|SVGAnimatedString"; |
- |
- |
-init.functionAliases = {}; |
-; |
-init.metadata = []; |
-$ = null; |
-Isolate = Isolate.$finishIsolateConstructor(Isolate); |
-$ = new Isolate(); |
+ hooks.getTag = getTagFallback; |
+ }; |
+} |
+C.MA=function() { |
+ function typeNameInChrome(o) { |
+ var name = o.constructor.name; |
+ if (name) return name; |
+ var s = Object.prototype.toString.call(o); |
+ return s.substring(8, s.length - 1); |
+ } |
+ function getUnknownTag(object, tag) { |
+ if (/^HTML[A-Z].*Element$/.test(tag)) { |
+ var name = Object.prototype.toString.call(object); |
+ if (name == "[object Object]") return null; |
+ return "HTMLElement"; |
+ } |
+ } |
+ function getUnknownTagGenericBrowser(object, tag) { |
+ if (object instanceof HTMLElement) return "HTMLElement"; |
+ return getUnknownTag(object, tag); |
+ } |
+ function prototypeForTag(tag) { |
+ if (typeof window == "undefined") return null; |
+ if (typeof window[tag] == "undefined") return null; |
+ var constructor = window[tag]; |
+ if (typeof constructor != "function") return null; |
+ return constructor.prototype; |
+ } |
+ function discriminator(tag) { return null; } |
+ var isBrowser = typeof navigator == "object"; |
+ return { |
+ getTag: typeNameInChrome, |
+ getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, |
+ prototypeForTag: prototypeForTag, |
+ discriminator: discriminator }; |
+} |
+C.M1=function(hooks) { |
+ var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; |
+ if (userAgent.indexOf("Trident/") == -1) return hooks; |
+ var getTag = hooks.getTag; |
+ var quickMap = { |
+ "BeforeUnloadEvent": "Event", |
+ "DataTransfer": "Clipboard", |
+ "HTMLDDElement": "HTMLElement", |
+ "HTMLDTElement": "HTMLElement", |
+ "HTMLPhraseElement": "HTMLElement", |
+ "Position": "Geoposition" |
+ }; |
+ function getTagIE(o) { |
+ var tag = getTag(o); |
+ var newTag = quickMap[tag]; |
+ if (newTag) return newTag; |
+ if (tag == "Object") { |
+ if (window.DataView && (o instanceof window.DataView)) return "DataView"; |
+ } |
+ return tag; |
+ } |
+ function prototypeForTagIE(tag) { |
+ var constructor = window[tag]; |
+ if (constructor == null) return null; |
+ return constructor.prototype; |
+ } |
+ hooks.getTag = getTagIE; |
+ hooks.prototypeForTag = prototypeForTagIE; |
+} |
+C.hQ=function(hooks) { |
+ var getTag = hooks.getTag; |
+ var prototypeForTag = hooks.prototypeForTag; |
+ function getTagFixed(o) { |
+ var tag = getTag(o); |
+ if (tag == "Document") { |
+ if (!!o.xmlVersion) return "!Document"; |
+ return "!HTMLDocument"; |
+ } |
+ return tag; |
+ } |
+ function prototypeForTagFixed(tag) { |
+ if (tag == "Document") return null; |
+ return prototypeForTag(tag); |
+ } |
+ hooks.getTag = getTagFixed; |
+ hooks.prototypeForTag = prototypeForTagFixed; |
+} |
+$.libraries_to_load = {} |
+$.te="$cachedFunction" |
+$.eb="$cachedInvocation" |
+$.yj=0 |
+$.mJ=null |
+$.P4=null |
+$.lc=!1 |
+$.NF=null |
+$.TX=null |
+$.x7=null |
+$.nw=null |
+$.vv=null |
+$.Bv=null |
+$.oK=null |
+$.S6=null |
+$.k8=null |
+$.X3=C.NU |
+$.Ss=0 |
+$.Qz=null |
+$.PN=null |
+$.Tn=null |
+I.$lazy($,"globalThis","DX","jk",function(){return function(){return this}()}) |
+I.$lazy($,"globalWindow","cO","C5",function(){return $.jk().window}) |
+I.$lazy($,"globalWorker","u9","vy",function(){return $.jk().Worker}) |
+I.$lazy($,"globalPostMessageDefined","Wd","Iz",function(){return $.jk().postMessage!==void 0}) |
+I.$lazy($,"thisScript","Kb","Rs",function(){return H.Td()}) |
+I.$lazy($,"workerIds","rS","p6",function(){return new P.kM(null)}) |
+I.$lazy($,"noSuchMethodPattern","lm","WD",function(){return H.cM(H.S7({toString:function(){return"$receiver$"}}))}) |
+I.$lazy($,"notClosurePattern","k1","OI",function(){return H.cM(H.S7({$method$:null,toString:function(){return"$receiver$"}}))}) |
+I.$lazy($,"nullCallPattern","Re","PH",function(){return H.cM(H.S7(null))}) |
+I.$lazy($,"nullLiteralCallPattern","fN","D1",function(){return H.cM(function(){var $argumentsExpr$='$arguments$' |
+try{null.$method$($argumentsExpr$)}catch(z){return z.message}}())}) |
+I.$lazy($,"undefinedCallPattern","qi","rx",function(){return H.cM(H.S7(void 0))}) |
+I.$lazy($,"undefinedLiteralCallPattern","rZ","Y9",function(){return H.cM(function(){var $argumentsExpr$='$arguments$' |
+try{(void 0).$method$($argumentsExpr$)}catch(z){return z.message}}())}) |
+I.$lazy($,"nullPropertyPattern","BX","zO",function(){return H.cM(H.Mj(null))}) |
+I.$lazy($,"nullLiteralPropertyPattern","tt","Bi",function(){return H.cM(function(){try{null.$method$}catch(z){return z.message}}())}) |
+I.$lazy($,"undefinedPropertyPattern","dt","eA",function(){return H.cM(H.Mj(void 0))}) |
+I.$lazy($,"undefinedLiteralPropertyPattern","A7","ko",function(){return H.cM(function(){try{(void 0).$method$}catch(z){return z.message}}())}) |
+I.$lazy($,"_toStringList","Ml","RM",function(){return[]}) |
+I.$lazy($,"scheduleImmediateClosure","lI","ej",function(){return P.xg()}) |
+I.$lazy($,"_toStringVisiting","d2","hi",function(){return P.yv(null)}) |
+I.$lazy($,"_toStringList","yu","tw",function(){return[]}) |
+ |
+init.functionAliases={} |
+init.metadata=[{func:"n9",void:true,args:[{func:"X0",void:true}]},{func:"X0",void:true},{func:"Gl",ret:P.a2,args:[null,null]},{func:"bX",ret:P.KN,args:[null]},{func:"E0",ret:P.a2,args:[P.a,P.a]},{func:"ZY",ret:P.KN,args:[P.a]},{func:"WW",void:true,args:[W.ea]},{func:"NT"},{func:"bh",args:[null,null]},{func:"aB",args:[null]},{func:"TS",args:[null,P.qU]},{func:"uO",args:[P.qU]},{func:"Vx",void:true,args:[null],opt:[P.mE]},,{func:"BG",args:[null],opt:[null]},{func:"Uf",ret:P.a2},{func:"bb",args:[null,P.mE]},{func:"lv",args:[P.wv,null]},{func:"Pt",ret:P.qU,args:[P.KN]},];$=null |
+I = I.$finishIsolateConstructor(I) |
+$=new I() |
function convertToFastObject(properties) { |
function MyClass() {}; |
MyClass.prototype = properties; |
new MyClass(); |
return properties; |
} |
-A = convertToFastObject(A); |
-B = convertToFastObject(B); |
-C = convertToFastObject(C); |
-D = convertToFastObject(D); |
-E = convertToFastObject(E); |
-F = convertToFastObject(F); |
-G = convertToFastObject(G); |
-H = convertToFastObject(H); |
-J = convertToFastObject(J); |
-K = convertToFastObject(K); |
-L = convertToFastObject(L); |
-M = convertToFastObject(M); |
-N = convertToFastObject(N); |
-O = convertToFastObject(O); |
-P = convertToFastObject(P); |
-Q = convertToFastObject(Q); |
-R = convertToFastObject(R); |
-S = convertToFastObject(S); |
-T = convertToFastObject(T); |
-U = convertToFastObject(U); |
-V = convertToFastObject(V); |
-W = convertToFastObject(W); |
-X = convertToFastObject(X); |
-Y = convertToFastObject(Y); |
-Z = convertToFastObject(Z); |
-!function() { |
- var objectProto = Object.prototype; |
- for (var i = 0;; i++) { |
- var property = "___dart_dispatch_record_ZxYxX_0_"; |
- if (i > 0) |
- property = rootProperty + "_" + i; |
- if (!(property in objectProto)) |
- return init.dispatchPropertyName = property; |
- } |
-}(); |
-// BEGIN invoke [main]. |
+A = convertToFastObject(A) |
+B = convertToFastObject(B) |
+C = convertToFastObject(C) |
+D = convertToFastObject(D) |
+E = convertToFastObject(E) |
+F = convertToFastObject(F) |
+G = convertToFastObject(G) |
+H = convertToFastObject(H) |
+J = convertToFastObject(J) |
+K = convertToFastObject(K) |
+L = convertToFastObject(L) |
+M = convertToFastObject(M) |
+N = convertToFastObject(N) |
+O = convertToFastObject(O) |
+P = convertToFastObject(P) |
+Q = convertToFastObject(Q) |
+R = convertToFastObject(R) |
+S = convertToFastObject(S) |
+T = convertToFastObject(T) |
+U = convertToFastObject(U) |
+V = convertToFastObject(V) |
+W = convertToFastObject(W) |
+X = convertToFastObject(X) |
+Y = convertToFastObject(Y) |
+Z = convertToFastObject(Z) |
+!function(){function intern(a){var u={} |
+u[a]=1 |
+return Object.keys(convertToFastObject(u))[0]}init.getIsolateTag=function(a){return intern("___dart_"+a+init.isolateTag)} |
+var z="___dart_isolate_tags_" |
+var y=Object[z]||(Object[z]=Object.create(null)) |
+var x="_ZxYxX" |
+for(var w=0;;w++){var v=intern(x+"_"+w+"_") |
+if(!(v in y)){y[v]=1 |
+init.isolateTag=v |
+break}}}() |
+init.dispatchPropertyName=init.getIsolateTag("dispatch_record") |
;(function (callback) { |
if (typeof document === "undefined") { |
callback(null); |
@@ -5803,260 +3224,123 @@ Z = convertToFastObject(Z); |
init.currentScript = currentScript; |
if (typeof dartMainRunner === "function") { |
- dartMainRunner(function() { H.startRootIsolate(A.main$closure); }); |
+ dartMainRunner((function(a){H.Rq(A.eE(),a)}), []); |
} else { |
- H.startRootIsolate(A.main$closure); |
- } |
-}); |
-// END invoke [main]. |
-function init() { |
- Isolate.$isolateProperties = {}; |
- function generateAccessor(field, accessors, cls) { |
- var len = field.length; |
- var code = field.charCodeAt(len - 1); |
- var reflectable = false; |
- if (code == 45) { |
- len--; |
- code = field.charCodeAt(len - 1); |
- field = field.substring(0, len); |
- reflectable = true; |
- } |
- code = code >= 60 && code <= 64 ? code - 59 : code >= 123 && code <= 126 ? code - 117 : code >= 37 && code <= 43 ? code - 27 : 0; |
- if (code) { |
- var getterCode = code & 3; |
- var setterCode = code >> 2; |
- var accessorName = field = field.substring(0, len - 1); |
- var divider = field.indexOf(":"); |
- if (divider > 0) { |
- accessorName = field.substring(0, divider); |
- field = field.substring(divider + 1); |
- } |
- if (getterCode) { |
- var args = getterCode & 2 ? "receiver" : ""; |
- var receiver = getterCode & 1 ? "this" : "receiver"; |
- var body = "return " + receiver + "." + field; |
- var property = cls + ".prototype.get$" + accessorName + "="; |
- var fn = "function(" + args + "){" + body + "}"; |
- if (reflectable) |
- accessors.push(property + "$reflectable(" + fn + ");\n"); |
- else |
- accessors.push(property + fn + ";\n"); |
- } |
- if (setterCode) { |
- var args = setterCode & 2 ? "receiver, value" : "value"; |
- var receiver = setterCode & 1 ? "this" : "receiver"; |
- var body = receiver + "." + field + " = value"; |
- var property = cls + ".prototype.set$" + accessorName + "="; |
- var fn = "function(" + args + "){" + body + "}"; |
- if (reflectable) |
- accessors.push(property + "$reflectable(" + fn + ");\n"); |
- else |
- accessors.push(property + fn + ";\n"); |
- } |
- } |
- return field; |
- } |
- Isolate.$isolateProperties.$generateAccessor = generateAccessor; |
- function defineClass(name, cls, fields) { |
- var accessors = []; |
- var str = "function " + cls + "("; |
- var body = ""; |
- for (var i = 0; i < fields.length; i++) { |
- if (i != 0) |
- str += ", "; |
- var field = generateAccessor(fields[i], accessors, cls); |
- var parameter = "parameter_" + field; |
- str += parameter; |
- body += "this." + field + " = " + parameter + ";\n"; |
- } |
- str += ") {\n" + body + "}\n"; |
- str += cls + ".builtin$cls=\"" + name + "\";\n"; |
- str += "$desc=$collectedClasses." + cls + ";\n"; |
- str += "if($desc instanceof Array) $desc = $desc[1];\n"; |
- str += cls + ".prototype = $desc;\n"; |
- if (typeof defineClass.name != "string") { |
- str += cls + ".name=\"" + cls + "\";\n"; |
- } |
- str += accessors.join(""); |
- return str; |
- } |
- var inheritFrom = function() { |
- function tmp() { |
- } |
- var hasOwnProperty = Object.prototype.hasOwnProperty; |
- return function(constructor, superConstructor) { |
- tmp.prototype = superConstructor.prototype; |
- var object = new tmp(); |
- var properties = constructor.prototype; |
- for (var member in properties) |
- if (hasOwnProperty.call(properties, member)) |
- object[member] = properties[member]; |
- object.constructor = constructor; |
- constructor.prototype = object; |
- return object; |
- }; |
- }(); |
- Isolate.$finishClasses = function(collectedClasses, isolateProperties, existingIsolateProperties) { |
- var pendingClasses = {}; |
- if (!init.allClasses) |
- init.allClasses = {}; |
- var allClasses = init.allClasses; |
- var hasOwnProperty = Object.prototype.hasOwnProperty; |
- if (typeof dart_precompiled == "function") { |
- var constructors = dart_precompiled(collectedClasses); |
- } else { |
- var combinedConstructorFunction = "function $reflectable(fn){fn.$reflectable=1;return fn};\n" + "var $desc;\n"; |
- var constructorsList = []; |
- } |
- for (var cls in collectedClasses) { |
- if (hasOwnProperty.call(collectedClasses, cls)) { |
- var desc = collectedClasses[cls]; |
- if (desc instanceof Array) |
- desc = desc[1]; |
- var classData = desc[""], supr, name = cls, fields = classData; |
- if (typeof classData == "string") { |
- var split = classData.split("/"); |
- if (split.length == 2) { |
- name = split[0]; |
- fields = split[1]; |
- } |
- } |
- var s = fields.split(";"); |
- fields = s[1] == "" ? [] : s[1].split(","); |
- supr = s[0]; |
- if (supr && supr.indexOf("+") > 0) { |
- s = supr.split("+"); |
- supr = s[0]; |
- var mixin = collectedClasses[s[1]]; |
- if (mixin instanceof Array) |
- mixin = mixin[1]; |
- for (var d in mixin) { |
- if (hasOwnProperty.call(mixin, d) && !hasOwnProperty.call(desc, d)) |
- desc[d] = mixin[d]; |
- } |
- } |
- if (typeof dart_precompiled != "function") { |
- combinedConstructorFunction += defineClass(name, cls, fields); |
- constructorsList.push(cls); |
- } |
- if (supr) |
- pendingClasses[cls] = supr; |
- } |
- } |
- if (typeof dart_precompiled != "function") { |
- combinedConstructorFunction += "return [\n " + constructorsList.join(",\n ") + "\n]"; |
- var constructors = new Function("$collectedClasses", combinedConstructorFunction)(collectedClasses); |
- combinedConstructorFunction = null; |
- } |
- for (var i = 0; i < constructors.length; i++) { |
- var constructor = constructors[i]; |
- var cls = constructor.name; |
- var desc = collectedClasses[cls]; |
- var globalObject = isolateProperties; |
- if (desc instanceof Array) { |
- globalObject = desc[0] || isolateProperties; |
- desc = desc[1]; |
- } |
- allClasses[cls] = constructor; |
- globalObject[cls] = constructor; |
- } |
- constructors = null; |
- var finishedClasses = {}; |
- init.interceptorsByTag = {}; |
- init.leafTags = {}; |
- function finishClass(cls) { |
- var hasOwnProperty = Object.prototype.hasOwnProperty; |
- if (hasOwnProperty.call(finishedClasses, cls)) |
- return; |
- finishedClasses[cls] = true; |
- var superclass = pendingClasses[cls]; |
- if (!superclass || typeof superclass != "string") |
- return; |
- finishClass(superclass); |
- var constructor = allClasses[cls]; |
- var superConstructor = allClasses[superclass]; |
- if (!superConstructor) |
- superConstructor = existingIsolateProperties[superclass]; |
- var prototype = inheritFrom(constructor, superConstructor); |
- if (hasOwnProperty.call(prototype, "%")) { |
- var nativeSpec = prototype["%"].split(";"); |
- if (nativeSpec[0]) { |
- var tags = nativeSpec[0].split("|"); |
- for (var i = 0; i < tags.length; i++) { |
- init.interceptorsByTag[tags[i]] = constructor; |
- init.leafTags[tags[i]] = true; |
- } |
- } |
- if (nativeSpec[1]) { |
- tags = nativeSpec[1].split("|"); |
- if (nativeSpec[2]) { |
- var subclasses = nativeSpec[2].split("|"); |
- for (var i = 0; i < subclasses.length; i++) { |
- var subclass = allClasses[subclasses[i]]; |
- subclass.$nativeSuperclassTag = tags[0]; |
- } |
- } |
- for (i = 0; i < tags.length; i++) { |
- init.interceptorsByTag[tags[i]] = constructor; |
- init.leafTags[tags[i]] = false; |
- } |
- } |
- } |
- } |
- for (var cls in pendingClasses) |
- finishClass(cls); |
- }; |
- Isolate.$lazy = function(prototype, staticName, fieldName, getterName, lazyValue) { |
- var sentinelUndefined = {}; |
- var sentinelInProgress = {}; |
- prototype[fieldName] = sentinelUndefined; |
- prototype[getterName] = function() { |
- var result = $[fieldName]; |
- try { |
- if (result === sentinelUndefined) { |
- $[fieldName] = sentinelInProgress; |
- try { |
- result = $[fieldName] = lazyValue(); |
- } finally { |
- if (result === sentinelUndefined) { |
- if ($[fieldName] === sentinelInProgress) { |
- $[fieldName] = null; |
- } |
- } |
- } |
- } else { |
- if (result === sentinelInProgress) |
- H.throwCyclicInit(staticName); |
- } |
- return result; |
- } finally { |
- $[getterName] = function() { |
- return this[fieldName]; |
- }; |
- } |
- }; |
- }; |
- Isolate.$finishIsolateConstructor = function(oldIsolate) { |
- var isolateProperties = oldIsolate.$isolateProperties; |
- function Isolate() { |
- var hasOwnProperty = Object.prototype.hasOwnProperty; |
- for (var staticName in isolateProperties) |
- if (hasOwnProperty.call(isolateProperties, staticName)) |
- this[staticName] = isolateProperties[staticName]; |
- function ForceEfficientMap() { |
- } |
- ForceEfficientMap.prototype = this; |
- new ForceEfficientMap(); |
- } |
- Isolate.prototype = oldIsolate.prototype; |
- Isolate.prototype.constructor = Isolate; |
- Isolate.$isolateProperties = isolateProperties; |
- Isolate.$finishClasses = oldIsolate.$finishClasses; |
- Isolate.makeConstantList = oldIsolate.makeConstantList; |
- return Isolate; |
- }; |
-} |
+ (function(a){H.Rq(A.eE(),a)})([]); |
+ } |
+}) |
+function init(){I.p={} |
+function generateAccessor(a,b,c){var y=a.split("-") |
+var x=y[0] |
+var w=x.length |
+var v=x.charCodeAt(w-1) |
+var u |
+if(y.length>1)u=true |
+else u=false |
+v=v>=60&&v<=64?v-59:v>=123&&v<=126?v-117:v>=37&&v<=43?v-27:0 |
+if(v){var t=v&3 |
+var s=v>>2 |
+var r=x=x.substring(0,w-1) |
+var q=x.indexOf(":") |
+if(q>0){r=x.substring(0,q) |
+x=x.substring(q+1)}if(t){var p=t&2?"r":"" |
+var o=t&1?"this":"r" |
+var n="return "+o+"."+x |
+var m=c+".prototype.g"+r+"=" |
+var l="function("+p+"){"+n+"}" |
+if(u)b.push(m+"$reflectable("+l+");\n") |
+else b.push(m+l+";\n")}if(s){var p=s&2?"r,v":"v" |
+var o=s&1?"this":"r" |
+var n=o+"."+x+"=v" |
+var m=c+".prototype.s"+r+"=" |
+var l="function("+p+"){"+n+"}" |
+if(u)b.push(m+"$reflectable("+l+");\n") |
+else b.push(m+l+";\n")}}return x}I.p.$generateAccessor=generateAccessor |
+function defineClass(a,b,c){var y=[] |
+var x="function "+b+"(" |
+var w="" |
+for(var v=0;v<c.length;v++){if(v!=0)x+=", " |
+var u=generateAccessor(c[v],y,b) |
+var t="parameter_"+u |
+x+=t |
+w+="this."+u+" = "+t+";\n"}x+=") {\n"+w+"}\n" |
+x+=b+".builtin$cls=\""+a+"\";\n" |
+x+="$desc=$collectedClasses."+b+";\n" |
+x+="if($desc instanceof Array) $desc = $desc[1];\n" |
+x+=b+".prototype = $desc;\n" |
+if(typeof defineClass.name!="string"){x+=b+".name=\""+b+"\";\n"}x+=y.join("") |
+return x}var z=function(){function tmp(){}var y=Object.prototype.hasOwnProperty |
+return function(a,b){tmp.prototype=b.prototype |
+var x=new tmp() |
+var w=a.prototype |
+for(var v in w)if(y.call(w,v))x[v]=w[v] |
+x.constructor=a |
+a.prototype=x |
+return x}}() |
+I.$finishClasses=function(a,b,c){var y={} |
+if(!init.allClasses)init.allClasses={} |
+var x=init.allClasses |
+var w=Object.prototype.hasOwnProperty |
+if(typeof dart_precompiled=="function"){var v=dart_precompiled(a)}else{var u="function $reflectable(fn){fn.$reflectable=1;return fn};\n"+"var $desc;\n" |
+var t=[]}for(var s in a){if(w.call(a,s)){var r=a[s] |
+if(r instanceof Array)r=r[1] |
+var q=r["^"],p,o=s,n=q |
+if(typeof q=="string"){var m=q.split("/") |
+if(m.length==2){o=m[0] |
+n=m[1]}}var l=n.split(";") |
+n=l[1]==""?[]:l[1].split(",") |
+p=l[0] |
+m=p.split(":") |
+if(m.length==2){p=m[0] |
+var k=m[1] |
+if(k)r.$signature=function(d){return function(){return init.metadata[d]}}(k)}if(p&&p.indexOf("+")>0){l=p.split("+") |
+p=l[0] |
+var j=a[l[1]] |
+if(j instanceof Array)j=j[1] |
+for(var i in j){if(w.call(j,i)&&!w.call(r,i))r[i]=j[i]}}if(typeof dart_precompiled!="function"){u+=defineClass(o,s,n) |
+t.push(s)}if(p)y[s]=p}}if(typeof dart_precompiled!="function"){u+="return [\n "+t.join(",\n ")+"\n]" |
+var v=new Function("$collectedClasses",u)(a) |
+u=null}for(var h=0;h<v.length;h++){var g=v[h] |
+var s=g.name |
+var r=a[s] |
+var f=b |
+if(r instanceof Array){f=r[0]||b |
+r=r[1]}x[s]=g |
+f[s]=g}v=null |
+var e={} |
+init.interceptorsByTag=Object.create(null) |
+init.leafTags={} |
+function finishClass(a9){var d=Object.prototype.hasOwnProperty |
+if(d.call(e,a9))return |
+e[a9]=true |
+var a0=y[a9] |
+if(!a0||typeof a0!="string")return |
+finishClass(a0) |
+var a1=x[a9] |
+var a2=x[a0] |
+if(!a2)a2=c[a0] |
+var a3=z(a1,a2) |
+if(d.call(a3,"%")){var a4=a3["%"].split(";") |
+if(a4[0]){var a5=a4[0].split("|") |
+for(var a6=0;a6<a5.length;a6++){init.interceptorsByTag[a5[a6]]=a1 |
+init.leafTags[a5[a6]]=true}}if(a4[1]){a5=a4[1].split("|") |
+if(a4[2]){var a7=a4[2].split("|") |
+for(var a6=0;a6<a7.length;a6++){var a8=x[a7[a6]] |
+a8.$nativeSuperclassTag=a5[0]}}for(a6=0;a6<a5.length;a6++){init.interceptorsByTag[a5[a6]]=a1 |
+init.leafTags[a5[a6]]=false}}}}for(var s in y)finishClass(s)} |
+I.$lazy=function(a,b,c,d,e){var y={} |
+var x={} |
+a[c]=y |
+a[d]=function(){var w=$[c] |
+try{if(w===y){$[c]=x |
+try{w=$[c]=e()}finally{if(w===y)if($[c]===x)$[c]=null}}else{if(w===x)H.ag(b)}return w}finally{$[d]=function(){return this[c]}}}} |
+I.$finishIsolateConstructor=function(a){var y=a.p |
+function Isolate(){var x=Object.prototype.hasOwnProperty |
+for(var w in y)if(x.call(y,w))this[w]=y[w] |
+function ForceEfficientMap(){}ForceEfficientMap.prototype=this |
+new ForceEfficientMap()}Isolate.prototype=a.prototype |
+Isolate.prototype.constructor=Isolate |
+Isolate.p=y |
+Isolate.$finishClasses=a.$finishClasses |
+return Isolate}} |
})() |
- |
-//# sourceMappingURL=piratebadge.dart.js.map |
-//@ sourceMappingURL=piratebadge.dart.js.map |