Index: lib/src/runner/browser/static/host.dart.js |
diff --git a/lib/src/runner/browser/static/host.dart.js b/lib/src/runner/browser/static/host.dart.js |
index 641b0169f3187e95b4ffce19da73d5c6bc6aa9a3..5ba0d05d1eba26c03e60531461483de17db40114 100644 |
--- a/lib/src/runner/browser/static/host.dart.js |
+++ b/lib/src/runner/browser/static/host.dart.js |
@@ -447,6 +447,29 @@ function setupProgram(programData, typesOffset) { |
f.$stubName = getterStubName; |
f.$callName = null; |
} |
+ var isReflectable = array.length > unmangledNameIndex; |
+ if (isReflectable) { |
+ funcs[0].$reflectable = 1; |
+ funcs[0].$reflectionInfo = array; |
+ for (var i = 1; i < funcs.length; i++) { |
+ funcs[i].$reflectable = 2; |
+ funcs[i].$reflectionInfo = array; |
+ } |
+ var mangledNames = isStatic ? init.mangledGlobalNames : init.mangledNames; |
+ var unmangledName = array[unmangledNameIndex]; |
+ var reflectionName = unmangledName; |
+ if (getterStubName) |
+ mangledNames[getterStubName] = reflectionName; |
+ if (isSetter) |
+ reflectionName += "="; |
+ else if (!isGetter) |
+ reflectionName += ":" + (requiredParameterCount + optionalParameterCount); |
+ mangledNames[name] = reflectionName; |
+ funcs[0].$reflectionName = reflectionName; |
+ funcs[0].$metadataIndex = unmangledNameIndex + 1; |
+ if (optionalParameterCount) |
+ prototype[unmangledName + "*"] = funcs[0]; |
+ } |
} |
function tearOffGetter(funcs, reflectionInfo, name, isIntercepted) { |
return isIntercepted ? new Function("funcs", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(x) {" + "if (c === null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [x], name);" + "return new c(this, funcs[0], x, name);" + "}")(funcs, reflectionInfo, name, H, null) : new Function("funcs", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [], name);" + "return new c(this, funcs[0], null, name);" + "}")(funcs, reflectionInfo, name, H, null); |
@@ -556,6 +579,9 @@ var dart = [ |
toString$0: ["super$Interceptor$toString$0", function(receiver) { |
return H.Primitives_objectToString(receiver); |
}], |
+ noSuchMethod$1: ["super$Interceptor$noSuchMethod$1", function(receiver, invocation) { |
+ throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); |
+ }], |
"%": "MediaError|MediaKeyError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedString" |
}, |
JSBool: { |
@@ -578,6 +604,9 @@ var dart = [ |
}, |
get$hashCode: function(receiver) { |
return 0; |
+ }, |
+ noSuchMethod$1: function(receiver, invocation) { |
+ return this.super$Interceptor$noSuchMethod$1(receiver, invocation); |
} |
}, |
JavaScriptObject: { |
@@ -651,8 +680,8 @@ var dart = [ |
}, |
addAll$1: function(receiver, collection) { |
var t1; |
- for (t1 = new J.ArrayIterator(collection, 2, 0, null); t1.moveNext$0();) |
- this.add$1(receiver, t1.__interceptors$_current); |
+ for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) |
+ this.add$1(receiver, t1.get$current()); |
}, |
forEach$1: function(receiver, f) { |
var end, i; |
@@ -749,13 +778,40 @@ var dart = [ |
setRange$3: function($receiver, start, end, iterable) { |
return this.setRange$4($receiver, start, end, iterable, 0); |
}, |
+ replaceRange$3: function(receiver, start, end, replacement) { |
+ var removeLength, insertLength, insertEnd, t1, newLength; |
+ this.checkGrowable$1(receiver, "replace range"); |
+ P.RangeError_checkValidRange(start, end, receiver.length, null, null, null); |
+ replacement = C.JSString_methods.toList$0(replacement); |
+ removeLength = end - start; |
+ insertLength = replacement.length; |
+ insertEnd = start + insertLength; |
+ t1 = receiver.length; |
+ if (removeLength >= insertLength) { |
+ newLength = t1 - (removeLength - insertLength); |
+ this.setRange$3(receiver, start, insertEnd, replacement); |
+ this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
+ this.set$length(receiver, newLength); |
+ } else { |
+ newLength = t1 + (insertLength - removeLength); |
+ this.set$length(receiver, newLength); |
+ this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
+ this.setRange$3(receiver, start, insertEnd, replacement); |
+ } |
+ }, |
indexOf$2: function(receiver, element, start) { |
- var i; |
- if (start >= receiver.length) |
+ var t1, i; |
+ t1 = J.getInterceptor$n(start); |
+ if (t1.$ge(start, receiver.length)) |
return -1; |
- for (i = start; i < receiver.length; ++i) |
+ if (t1.$lt(start, 0)) |
+ start = 0; |
+ for (i = start; J.$lt$n(i, receiver.length); ++i) { |
+ if (i >>> 0 !== i || i >= receiver.length) |
+ return H.ioore(receiver, i); |
if (J.$eq(receiver[i], element)) |
return i; |
+ } |
return -1; |
}, |
indexOf$1: function($receiver, element) { |
@@ -836,28 +892,31 @@ var dart = [ |
}} |
}, |
ArrayIterator: { |
- "^": "Object;_iterable,__interceptors$_length,_index,__interceptors$_current", |
+ "^": "Object;__interceptors$_iterable,__interceptors$_length,__interceptors$_index,__interceptors$_current", |
get$current: function() { |
return this.__interceptors$_current; |
}, |
moveNext$0: function() { |
var t1, $length, t2; |
- t1 = this._iterable; |
+ t1 = this.__interceptors$_iterable; |
$length = t1.length; |
if (this.__interceptors$_length !== $length) |
throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- t2 = this._index; |
+ t2 = this.__interceptors$_index; |
if (t2 >= $length) { |
this.__interceptors$_current = null; |
return false; |
} |
this.__interceptors$_current = t1[t2]; |
- this._index = t2 + 1; |
+ this.__interceptors$_index = t2 + 1; |
return true; |
} |
}, |
JSNumber: { |
"^": "Interceptor;", |
+ get$isNegative: function(receiver) { |
+ return receiver === 0 ? 1 / receiver < 0 : receiver < 0; |
+ }, |
get$isNaN: function(receiver) { |
return isNaN(receiver); |
}, |
@@ -933,9 +992,26 @@ var dart = [ |
_tdivFast$1: function(receiver, other) { |
return (receiver | 0) === receiver ? receiver / other | 0 : this.toInt$0(receiver / other); |
}, |
+ $shl: function(receiver, other) { |
+ if (other < 0) |
+ throw H.wrapException(P.ArgumentError$(other)); |
+ return other > 31 ? 0 : receiver << other >>> 0; |
+ }, |
_shlPositive$1: function(receiver, other) { |
return other > 31 ? 0 : receiver << other >>> 0; |
}, |
+ $shr: function(receiver, other) { |
+ var t1; |
+ if (other < 0) |
+ throw H.wrapException(P.ArgumentError$(other)); |
+ if (receiver > 0) |
+ t1 = other > 31 ? 0 : receiver >>> other; |
+ else { |
+ t1 = other > 31 ? 31 : other; |
+ t1 = receiver >> t1 >>> 0; |
+ } |
+ return t1; |
+ }, |
_shrOtherPositive$1: function(receiver, other) { |
var t1; |
if (receiver > 0) |
@@ -951,6 +1027,9 @@ var dart = [ |
throw H.wrapException(P.ArgumentError$(other)); |
return other > 31 ? 0 : receiver >>> other; |
}, |
+ $and: function(receiver, other) { |
+ return (receiver & other) >>> 0; |
+ }, |
$lt: function(receiver, other) { |
if (typeof other !== "number") |
throw H.wrapException(P.ArgumentError$(other)); |
@@ -1006,14 +1085,15 @@ var dart = [ |
return this.allMatches$2($receiver, string, 0); |
}, |
matchAsPrefix$2: function(receiver, string, start) { |
- var t1, i; |
- if (start < 0 || start > string.length) |
+ var t1, t2, i; |
+ t1 = J.getInterceptor$n(start); |
+ if (t1.$lt(start, 0) || t1.$gt(start, string.length)) |
throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); |
- t1 = receiver.length; |
- if (start + t1 > string.length) |
+ t2 = receiver.length; |
+ if (J.$gt$n(t1.$add(start, t2), string.length)) |
return; |
- for (i = 0; i < t1; ++i) |
- if (this.codeUnitAt$1(string, start + i) !== this.codeUnitAt$1(receiver, i)) |
+ for (i = 0; i < t2; ++i) |
+ if (this.codeUnitAt$1(string, t1.$add(start, i)) !== this.codeUnitAt$1(receiver, i)) |
return; |
return new H.StringMatch(start, string, receiver); |
}, |
@@ -1055,13 +1135,14 @@ var dart = [ |
return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); |
}, |
startsWith$2: function(receiver, pattern, index) { |
- var endIndex; |
+ var t1, endIndex; |
H.checkInt(index); |
- if (index < 0 || index > receiver.length) |
+ t1 = J.getInterceptor$n(index); |
+ if (t1.$lt(index, 0) || t1.$gt(index, receiver.length)) |
throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null, null)); |
if (typeof pattern === "string") { |
- endIndex = index + pattern.length; |
- if (endIndex > receiver.length) |
+ endIndex = t1.$add(index, pattern.length); |
+ if (J.$gt$n(endIndex, receiver.length)) |
return false; |
return pattern === receiver.substring(index, endIndex); |
} |
@@ -1356,7 +1437,7 @@ var dart = [ |
return matches[1]; |
throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + H.S(stack) + "\"")); |
}, |
- IsolateNatives__processWorkerMessage: function(sender, e) { |
+ IsolateNatives__processWorkerMessage: [function(sender, e) { |
var msg, t1, functionName, entryPoint, args, message, isSpawnUri, startPaused, replyTo, t2, t3, t4, context; |
msg = new H._Deserializer(true, []).deserialize$1(e.data); |
t1 = J.getInterceptor$asx(msg); |
@@ -1409,7 +1490,7 @@ var dart = [ |
case "error": |
throw H.wrapException(t1.$index(msg, "msg")); |
} |
- }, |
+ }, null, null, 4, 0, null, 1, 2], |
IsolateNatives__log: function(msg) { |
var trace, t1, t2, exception; |
if (init.globalState.isWorker === true) { |
@@ -1492,13 +1573,13 @@ var dart = [ |
}; |
}(H._Manager__serializePrintMessage); |
}, |
- static: {_Manager__serializePrintMessage: function(object) { |
+ static: {_Manager__serializePrintMessage: [function(object) { |
var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "msg", object], null, null); |
return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(null, P.$int)).serialize$1(t1); |
- }} |
+ }, null, null, 2, 0, null, 0]} |
}, |
_IsolateContext: { |
- "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability,terminateCapability,initialized,isPaused,delayedEvents,pauseTokens,doneHandlers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", |
+ "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHandlers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", |
addPause$2: function(authentification, resume) { |
if (!this.pauseCapability.$eq(0, authentification)) |
return; |
@@ -1604,7 +1685,7 @@ var dart = [ |
} |
t1._add$1(this.get$kill()); |
}, |
- handleUncaughtError$2: function(error, stackTrace) { |
+ handleUncaughtError$2: [function(error, stackTrace) { |
var t1, message, t2; |
t1 = this.errorPorts; |
if (t1._collection$_length === 0) { |
@@ -1625,7 +1706,7 @@ var dart = [ |
message[1] = stackTrace == null ? null : J.toString$0(stackTrace); |
for (t2 = new P.LinkedHashSetIterator(t1, t1._collection$_modifications, null, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();) |
J.send$1$x(t2._collection$_current, message); |
- }, |
+ }, "call$2", "get$handleUncaughtError", 4, 0, 1], |
eval$1: function(code) { |
var old, result, oldIsExecutingEvent, e, s, exception, t1; |
old = init.globalState.currentContext; |
@@ -1657,6 +1738,38 @@ var dart = [ |
} |
return result; |
}, |
+ handleControlMessage$1: function(message) { |
+ var t1 = J.getInterceptor$asx(message); |
+ switch (t1.$index(message, 0)) { |
+ case "pause": |
+ this.addPause$2(t1.$index(message, 1), t1.$index(message, 2)); |
+ break; |
+ case "resume": |
+ this.removePause$1(t1.$index(message, 1)); |
+ break; |
+ case "add-ondone": |
+ this.addDoneListener$1(t1.$index(message, 1)); |
+ break; |
+ case "remove-ondone": |
+ this.removeDoneListener$1(t1.$index(message, 1)); |
+ break; |
+ case "set-errors-fatal": |
+ this.setErrorsFatal$2(t1.$index(message, 1), t1.$index(message, 2)); |
+ break; |
+ case "ping": |
+ this.handlePing$2(t1.$index(message, 1), t1.$index(message, 2)); |
+ break; |
+ case "kill": |
+ this.handleKill$2(t1.$index(message, 1), t1.$index(message, 2)); |
+ break; |
+ case "getErrors": |
+ this.errorPorts.add$1(0, t1.$index(message, 1)); |
+ break; |
+ case "stopErrors": |
+ this.errorPorts.remove$1(0, t1.$index(message, 1)); |
+ break; |
+ } |
+ }, |
lookup$1: function(portId) { |
return this.ports.$index(0, portId); |
}, |
@@ -1677,8 +1790,8 @@ var dart = [ |
t1 = this._scheduledControlEvents; |
if (t1 != null) |
t1.clear$0(0); |
- for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t2.__internal$_iterable), t2._f), [H.getTypeArgumentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0();) |
- t2._current.__isolate_helper$_close$0(); |
+ for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t2._iterable), t2._f), [H.getTypeArgumentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0();) |
+ t2.__internal$_current.__isolate_helper$_close$0(); |
t1.clear$0(0); |
this.weakPorts.clear$0(0); |
init.globalState.isolates.remove$1(0, this.id); |
@@ -1689,13 +1802,13 @@ var dart = [ |
J.send$1$x(t1.__interceptors$_current, null); |
this.doneHandlers = null; |
} |
- }, "call$0", "get$kill", 0, 0, 1] |
+ }, "call$0", "get$kill", 0, 0, 2] |
}, |
_IsolateContext_handlePing_respond: { |
- "^": "Closure:1;_captured_responsePort_0", |
- call$0: function() { |
+ "^": "Closure:2;_captured_responsePort_0", |
+ call$0: [function() { |
J.send$1$x(this._captured_responsePort_0, null); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_EventLoop: { |
"^": "Object;events,_activeJsAsyncCount", |
@@ -1748,22 +1861,22 @@ var dart = [ |
t1.toString; |
self.postMessage(t2); |
} |
- }, "call$0", "get$run", 0, 0, 1] |
+ }, "call$0", "get$run", 0, 0, 2] |
}, |
_EventLoop__runHelper_next: { |
- "^": "Closure:1;__isolate_helper$_captured_this_0", |
- call$0: function() { |
- if (!this.__isolate_helper$_captured_this_0.runIteration$0()) |
+ "^": "Closure:2;_captured_this_0", |
+ call$0: [function() { |
+ if (!this._captured_this_0.runIteration$0()) |
return; |
P.Timer_Timer(C.Duration_0, this); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_IsolateEvent: { |
"^": "Object;isolate,fn,message>", |
process$0: function() { |
var t1 = this.isolate; |
- if (t1.isPaused) { |
- t1.delayedEvents.push(this); |
+ if (t1.get$isPaused()) { |
+ t1.get$delayedEvents().push(this); |
return; |
} |
t1.eval$1(this.fn); |
@@ -1779,10 +1892,10 @@ var dart = [ |
} |
}, |
IsolateNatives__startIsolate_runStartFunction: { |
- "^": "Closure:1;_captured_topLevel_0,_captured_args_1,_captured_message_2,_captured_isSpawnUri_3,_captured_context_4", |
+ "^": "Closure:2;_captured_topLevel_0,_captured_args_1,_captured_message_2,_captured_isSpawnUri_3,_captured_context_4", |
call$0: function() { |
var t1, t2, t3; |
- this._captured_context_4.initialized = true; |
+ this._captured_context_4.set$initialized(true); |
if (this._captured_isSpawnUri_3 !== true) |
this._captured_topLevel_0.call$1(this._captured_message_2); |
else { |
@@ -1816,38 +1929,7 @@ var dart = [ |
return; |
msg = H._clone(message); |
if (isolate.get$controlPort() === t1) { |
- t1 = J.getInterceptor$asx(msg); |
- switch (t1.$index(msg, 0)) { |
- case "pause": |
- isolate.addPause$2(t1.$index(msg, 1), t1.$index(msg, 2)); |
- break; |
- case "resume": |
- isolate.removePause$1(t1.$index(msg, 1)); |
- break; |
- case "add-ondone": |
- isolate.addDoneListener$1(t1.$index(msg, 1)); |
- break; |
- case "remove-ondone": |
- isolate.removeDoneListener$1(t1.$index(msg, 1)); |
- break; |
- case "set-errors-fatal": |
- isolate.setErrorsFatal$2(t1.$index(msg, 1), t1.$index(msg, 2)); |
- break; |
- case "ping": |
- isolate.handlePing$2(t1.$index(msg, 1), t1.$index(msg, 2)); |
- break; |
- case "kill": |
- isolate.handleKill$2(t1.$index(msg, 1), t1.$index(msg, 2)); |
- break; |
- case "getErrors": |
- t1 = t1.$index(msg, 1); |
- isolate.errorPorts.add$1(0, t1); |
- break; |
- case "stopErrors": |
- t1 = t1.$index(msg, 1); |
- isolate.errorPorts.remove$1(0, t1); |
- break; |
- } |
+ isolate.handleControlMessage$1(msg); |
return; |
} |
t1 = init.globalState.topEventLoop; |
@@ -1864,9 +1946,9 @@ var dart = [ |
} |
}, |
_NativeJsSendPort_send_closure: { |
- "^": "Closure:0;__isolate_helper$_captured_this_0,_captured_msg_1", |
+ "^": "Closure:0;_captured_this_0,_captured_msg_1", |
call$0: function() { |
- var t1 = this.__isolate_helper$_captured_this_0._receivePort; |
+ var t1 = this._captured_this_0._receivePort; |
if (!t1.get$_isClosed()) |
t1.__isolate_helper$_add$1(this._captured_msg_1); |
} |
@@ -1893,16 +1975,12 @@ var dart = [ |
}, |
get$hashCode: function(_) { |
var t1, t2, t3; |
- t1 = this._workerId; |
- if (typeof t1 !== "number") |
- return t1.$shl(); |
- t2 = this._isolateId; |
- if (typeof t2 !== "number") |
- return t2.$shl(); |
+ t1 = J.$shl$n(this._workerId, 16); |
+ t2 = J.$shl$n(this._isolateId, 8); |
t3 = this._receivePortId; |
if (typeof t3 !== "number") |
return H.iae(t3); |
- return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0; |
+ return (t1 ^ t2 ^ t3) >>> 0; |
} |
}, |
RawReceivePortImpl: { |
@@ -1971,25 +2049,25 @@ var dart = [ |
}} |
}, |
TimerImpl_internalCallback: { |
- "^": "Closure:1;__isolate_helper$_captured_this_0,_captured_callback_1", |
+ "^": "Closure:2;_captured_this_0,_captured_callback_1", |
call$0: function() { |
- this.__isolate_helper$_captured_this_0._handle = null; |
+ this._captured_this_0._handle = null; |
this._captured_callback_1.call$0(); |
} |
}, |
TimerImpl_internalCallback0: { |
- "^": "Closure:1;_captured_this_2,_captured_callback_3", |
- call$0: function() { |
+ "^": "Closure:2;_captured_this_2,_captured_callback_3", |
+ call$0: [function() { |
this._captured_this_2._handle = null; |
H.leaveJsAsync(); |
this._captured_callback_3.call$0(); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
TimerImpl$periodic_closure: { |
- "^": "Closure:0;__isolate_helper$_captured_this_0,_captured_callback_1", |
- call$0: function() { |
- this._captured_callback_1.call$1(this.__isolate_helper$_captured_this_0); |
- } |
+ "^": "Closure:0;_captured_this_0,_captured_callback_1", |
+ call$0: [function() { |
+ this._captured_callback_1.call$1(this._captured_this_0); |
+ }, null, null, 0, 0, null, "call"] |
}, |
CapabilityImpl: { |
"^": "Object;_id<", |
@@ -2055,7 +2133,7 @@ var dart = [ |
return ["function", $name]; |
} |
return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(init.classFieldsExtractor(x))]; |
- }, "call$1", "get$serialize", 2, 0, 2], |
+ }, "call$1", "get$serialize", 2, 0, 3, 3], |
unsupported$2: function(x, message) { |
throw H.wrapException(P.UnsupportedError$(H.S(message == null ? "Can't transmit:" : message) + " " + H.S(x))); |
}, |
@@ -2212,7 +2290,7 @@ var dart = [ |
default: |
throw H.wrapException("couldn't deserialize: " + H.S(x)); |
} |
- }, "call$1", "get$deserialize", 2, 0, 2], |
+ }, "call$1", "get$deserialize", 2, 0, 3, 3], |
deserializeArrayInPlace$1: function(x) { |
var t1, i, t2; |
t1 = J.getInterceptor$asx(x); |
@@ -2240,11 +2318,8 @@ var dart = [ |
result = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
this.deserializedObjects.push(result); |
keys = J.map$1$ax(keys, this.get$deserialize()).toList$0(0); |
- for (t1 = J.getInterceptor$asx(keys), t2 = J.getInterceptor$asx(values), i = 0; i < t1.get$length(keys); ++i) { |
- if (i >= keys.length) |
- return H.ioore(keys, i); |
- result.$indexSet(0, keys[i], this.deserialize$1(t2.$index(values, i))); |
- } |
+ for (t1 = J.getInterceptor$asx(keys), t2 = J.getInterceptor$asx(values), i = 0; i < t1.get$length(keys); ++i) |
+ result.$indexSet(0, t1.$index(keys, i), this.deserialize$1(t2.$index(values, i))); |
return result; |
}, |
deserializeSendPort$1: function(x) { |
@@ -2435,6 +2510,8 @@ var dart = [ |
}, |
Primitives_stringFromCharCode: function(charCode) { |
var bits; |
+ if (typeof charCode !== "number") |
+ return H.iae(charCode); |
if (0 <= charCode) { |
if (charCode <= 65535) |
return String.fromCharCode(charCode); |
@@ -2460,6 +2537,56 @@ var dart = [ |
throw H.wrapException(P.ArgumentError$(object)); |
object[key] = value; |
}, |
+ Primitives_functionNoSuchMethod: function($function, positionalArguments, namedArguments) { |
+ var t1, $arguments, namedArgumentList; |
+ t1 = {}; |
+ t1._captured_argumentCount_0 = 0; |
+ $arguments = []; |
+ namedArgumentList = []; |
+ t1._captured_argumentCount_0 = positionalArguments.length; |
+ C.JSArray_methods.addAll$1($arguments, positionalArguments); |
+ t1._captured_names_1 = ""; |
+ if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments)) |
+ namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure(t1, $arguments, namedArgumentList)); |
+ return J.noSuchMethod$1($function, new H.JSInvocationMirror(C.Symbol_call, "call$" + t1._captured_argumentCount_0 + t1._captured_names_1, 0, $arguments, namedArgumentList, null)); |
+ }, |
+ Primitives_applyFunctionWithPositionalArguments: function($function, positionalArguments) { |
+ var $arguments, t1; |
+ $arguments = positionalArguments instanceof Array ? positionalArguments : P.List_List$from(positionalArguments, true, null); |
+ t1 = $arguments.length; |
+ if (t1 === 0) { |
+ if (!!$function.call$0) |
+ return $function.call$0(); |
+ } else if (t1 === 1) { |
+ if (!!$function.call$1) |
+ return $function.call$1($arguments[0]); |
+ } else if (t1 === 2) { |
+ if (!!$function.call$2) |
+ return $function.call$2($arguments[0], $arguments[1]); |
+ } else if (t1 === 3) |
+ if (!!$function.call$3) |
+ return $function.call$3($arguments[0], $arguments[1], $arguments[2]); |
+ return H.Primitives__genericApplyFunctionWithPositionalArguments($function, $arguments); |
+ }, |
+ Primitives__genericApplyFunctionWithPositionalArguments: function($function, $arguments) { |
+ var argumentCount, jsFunction, info, requiredArgumentCount, maxArgumentCount, pos; |
+ argumentCount = $arguments.length; |
+ jsFunction = $function["call$" + argumentCount]; |
+ if (jsFunction == null) { |
+ jsFunction = J.getInterceptor($function)["call*"]; |
+ if (jsFunction == null) |
+ return H.Primitives_functionNoSuchMethod($function, $arguments, null); |
+ info = H.ReflectionInfo_ReflectionInfo(jsFunction); |
+ requiredArgumentCount = info.requiredParameterCount; |
+ maxArgumentCount = requiredArgumentCount + info.optionalParameterCount; |
+ if (info.areOptionalParametersNamed || requiredArgumentCount > argumentCount || maxArgumentCount < argumentCount) |
+ return H.Primitives_functionNoSuchMethod($function, $arguments, null); |
+ $arguments = P.List_List$from($arguments, true, null); |
+ for (pos = argumentCount; pos < maxArgumentCount; ++pos) |
+ $arguments.push(init.metadata[info.defaultValue$1(0, pos)]); |
+ } |
+ return jsFunction.apply($function, $arguments); |
+ }, |
iae: function(argument) { |
throw H.wrapException(P.ArgumentError$(argument)); |
}, |
@@ -2493,9 +2620,9 @@ var dart = [ |
wrapper.toString = H.toStringWrapper; |
return wrapper; |
}, |
- toStringWrapper: function() { |
+ toStringWrapper: [function() { |
return J.toString$0(this.dartException); |
- }, |
+ }, null, null, 0, 0, null], |
throwExpression: function(ex) { |
throw H.wrapException(ex); |
}, |
@@ -2609,7 +2736,7 @@ var dart = [ |
} |
return result; |
}, |
- invokeClosure: function(closure, isolate, numberOfArguments, arg1, arg2, arg3, arg4) { |
+ 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)); |
@@ -2623,7 +2750,7 @@ var dart = [ |
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")); |
- }, |
+ }, null, null, 14, 0, null, 4, 5, 6, 7, 8, 9, 10], |
convertDartClosureToJS: function(closure, arity) { |
var $function; |
if (closure == null) |
@@ -2905,6 +3032,9 @@ var dart = [ |
random64: function() { |
return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000 >>> 0) * 4294967296; |
}, |
+ getIsolateAffinityTag: function($name) { |
+ return init.getIsolateTag($name); |
+ }, |
setRuntimeTypeInfo: function(target, typeInfo) { |
if (target != null) |
target.$builtinTypeInfo = typeInfo; |
@@ -3359,8 +3489,62 @@ var dart = [ |
suffix = receiver.substring(end); |
return prefix + replacement + suffix; |
}, |
+ JSInvocationMirror: { |
+ "^": "Object;__js_helper$_memberName,_internalName,_kind,_arguments,_namedArgumentNames,_namedIndices", |
+ get$memberName: function() { |
+ return this.__js_helper$_memberName; |
+ }, |
+ get$positionalArguments: function() { |
+ var t1, argumentCount, list, index; |
+ if (this._kind === 1) |
+ return C.List_empty0; |
+ t1 = this._arguments; |
+ argumentCount = t1.length - this._namedArgumentNames.length; |
+ if (argumentCount === 0) |
+ return C.List_empty0; |
+ list = []; |
+ for (index = 0; index < argumentCount; ++index) { |
+ if (index >= t1.length) |
+ return H.ioore(t1, index); |
+ list.push(t1[index]); |
+ } |
+ list.immutable$list = true; |
+ list.fixed$length = true; |
+ return list; |
+ }, |
+ get$namedArguments: function() { |
+ var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4; |
+ if (this._kind !== 0) |
+ return P.LinkedHashMap_LinkedHashMap$_empty(P.Symbol, null); |
+ t1 = this._namedArgumentNames; |
+ namedArgumentCount = t1.length; |
+ t2 = this._arguments; |
+ namedArgumentsStartIndex = t2.length - namedArgumentCount; |
+ if (namedArgumentCount === 0) |
+ return P.LinkedHashMap_LinkedHashMap$_empty(P.Symbol, null); |
+ map = P.LinkedHashMap_LinkedHashMap(null, null, null, P.Symbol, null); |
+ for (i = 0; i < namedArgumentCount; ++i) { |
+ if (i >= t1.length) |
+ return H.ioore(t1, i); |
+ t3 = t1[i]; |
+ t4 = namedArgumentsStartIndex + i; |
+ if (t4 < 0 || t4 >= t2.length) |
+ return H.ioore(t2, t4); |
+ map.$indexSet(0, new H.Symbol0(t3), t2[t4]); |
+ } |
+ return map; |
+ } |
+ }, |
ReflectionInfo: { |
"^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalParameterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", |
+ defaultValue$1: function(_, parameter) { |
+ var t1 = this.requiredParameterCount; |
+ if (typeof parameter !== "number") |
+ return parameter.$lt(); |
+ if (parameter < t1) |
+ return; |
+ return this.data[3 + parameter - t1]; |
+ }, |
static: {ReflectionInfo_ReflectionInfo: function(jsFunction) { |
var data, requiredParametersInfo, optionalParametersInfo; |
data = jsFunction.$reflectionInfo; |
@@ -3373,6 +3557,16 @@ var dart = [ |
return new H.ReflectionInfo(jsFunction, data, (requiredParametersInfo & 1) === 1, requiredParametersInfo >> 1, optionalParametersInfo >> 1, (optionalParametersInfo & 1) === 1, data[2], null); |
}} |
}, |
+ Primitives_functionNoSuchMethod_closure: { |
+ "^": "Closure:4;__js_helper$_box_0,_captured_arguments_1,_captured_namedArgumentList_2", |
+ call$2: function($name, argument) { |
+ var t1 = this.__js_helper$_box_0; |
+ t1._captured_names_1 = t1._captured_names_1 + "$" + H.S($name); |
+ this._captured_namedArgumentList_2.push($name); |
+ this._captured_arguments_1.push(argument); |
+ ++t1._captured_argumentCount_0; |
+ } |
+ }, |
TypeErrorDecoder: { |
"^": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver", |
matchTypeError$1: function(message) { |
@@ -3465,7 +3659,7 @@ var dart = [ |
} |
}, |
unwrapException_saveStackTrace: { |
- "^": "Closure:2;_captured_ex_0", |
+ "^": "Closure:3;_captured_ex_0", |
call$1: function(error) { |
if (!!J.getInterceptor(error).$isError) |
if (error.$thrownJsError == null) |
@@ -3474,16 +3668,16 @@ var dart = [ |
} |
}, |
_StackTrace: { |
- "^": "Object;_exception,__js_helper$_trace", |
+ "^": "Object;_exception,_trace", |
toString$0: function(_) { |
var t1, trace; |
- t1 = this.__js_helper$_trace; |
+ t1 = this._trace; |
if (t1 != null) |
return t1; |
t1 = this._exception; |
trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; |
t1 = trace == null ? "" : trace; |
- this.__js_helper$_trace = t1; |
+ this._trace = t1; |
return t1; |
} |
}, |
@@ -3525,6 +3719,7 @@ var dart = [ |
get$$call: function() { |
return this; |
}, |
+ $isFunction: 1, |
get$$call: function() { |
return this; |
} |
@@ -3533,7 +3728,7 @@ var dart = [ |
"^": "Closure;" |
}, |
BoundClosure: { |
- "^": "TearOffClosure;_self,_target,_receiver,__js_helper$_name", |
+ "^": "TearOffClosure;_self,__js_helper$_target,_receiver,__js_helper$_name", |
$eq: function(_, other) { |
if (other == null) |
return false; |
@@ -3541,7 +3736,7 @@ var dart = [ |
return true; |
if (!(other instanceof H.BoundClosure)) |
return false; |
- return this._self === other._self && this._target === other._target && this._receiver === other._receiver; |
+ return this._self === other._self && this.__js_helper$_target === other.__js_helper$_target && this._receiver === other._receiver; |
}, |
get$hashCode: function(_) { |
var t1, receiverHashCode; |
@@ -3550,7 +3745,7 @@ var dart = [ |
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._target)) >>> 0; |
+ return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_target)) >>> 0; |
}, |
static: {BoundClosure_selfOf: function(closure) { |
return closure._self; |
@@ -3876,7 +4071,7 @@ var dart = [ |
_unlinkCell$1: function(cell) { |
var previous, next; |
previous = cell.get$_previous(); |
- next = cell._next; |
+ next = cell.get$_next(); |
if (previous == null) |
this._first = next; |
else |
@@ -3914,13 +4109,13 @@ var dart = [ |
}} |
}, |
JsLinkedHashMap_values_closure: { |
- "^": "Closure:2;__js_helper$_captured_this_0", |
- call$1: function(each) { |
+ "^": "Closure:3;__js_helper$_captured_this_0", |
+ call$1: [function(each) { |
return this.__js_helper$_captured_this_0.$index(0, each); |
- } |
+ }, null, null, 2, 0, null, 11, "call"] |
}, |
LinkedHashMapCell: { |
- "^": "Object;hashMapCellKey<,hashMapCellValue@,_next,_previous<" |
+ "^": "Object;hashMapCellKey<,hashMapCellValue@,_next<,_previous<" |
}, |
LinkedHashMapKeyIterable: { |
"^": "IterableBase;__js_helper$_map", |
@@ -3977,19 +4172,19 @@ var dart = [ |
} |
}, |
initHooks_closure: { |
- "^": "Closure:2;_captured_getTag_0", |
+ "^": "Closure:3;_captured_getTag_0", |
call$1: function(o) { |
return this._captured_getTag_0(o); |
} |
}, |
initHooks_closure0: { |
- "^": "Closure:3;_captured_getUnknownTag_1", |
+ "^": "Closure:5;_captured_getUnknownTag_1", |
call$2: function(o, tag) { |
return this._captured_getUnknownTag_1(o, tag); |
} |
}, |
initHooks_closure1: { |
- "^": "Closure:4;_captured_prototypeForTag_2", |
+ "^": "Closure:6;_captured_prototypeForTag_2", |
call$1: function(tag) { |
return this._captured_prototypeForTag_2(tag); |
} |
@@ -4059,7 +4254,8 @@ var dart = [ |
return H._MatchImplementation$(this, match); |
}, |
matchAsPrefix$2: function(_, string, start) { |
- if (start < 0 || start > string.length) |
+ var t1 = J.getInterceptor$n(start); |
+ if (t1.$lt(start, 0) || t1.$gt(start, string.length)) |
throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); |
return this._execAnchored$2(string, start); |
}, |
@@ -4113,22 +4309,22 @@ var dart = [ |
}} |
}, |
_AllMatchesIterable: { |
- "^": "IterableBase;_re,_string,_start", |
+ "^": "IterableBase;_re,__js_helper$_string,_start", |
get$iterator: function(_) { |
- return new H._AllMatchesIterator(this._re, this._string, this._start, null); |
+ return new H._AllMatchesIterator(this._re, this.__js_helper$_string, this._start, null); |
}, |
$asIterableBase: function() { |
return [P.Match]; |
} |
}, |
_AllMatchesIterator: { |
- "^": "Object;_regExp,_string,_nextIndex,__js_helper$_current", |
+ "^": "Object;_regExp,__js_helper$_string,_nextIndex,__js_helper$_current", |
get$current: function() { |
return this.__js_helper$_current; |
}, |
moveNext$0: function() { |
var t1, t2, match, t3, nextIndex; |
- t1 = this._string; |
+ t1 = this.__js_helper$_string; |
if (t1 == null) |
return false; |
t2 = this._nextIndex; |
@@ -4149,14 +4345,14 @@ var dart = [ |
} |
} |
this.__js_helper$_current = null; |
- this._string = null; |
+ this.__js_helper$_string = null; |
return false; |
} |
}, |
StringMatch: { |
"^": "Object;start>,input,pattern", |
get$end: function() { |
- return this.start + this.pattern.length; |
+ return J.$add$ns(this.start, this.pattern.length); |
}, |
$index: function(_, g) { |
if (g !== 0) |
@@ -4173,16 +4369,13 @@ var dart = [ |
IterableElementError_tooFew: function() { |
return new P.StateError("Too few elements"); |
}, |
- Symbol_getName: function(symbol) { |
- return symbol.get$_name(); |
- }, |
CodeUnits: { |
- "^": "UnmodifiableListBase;__internal$_string", |
+ "^": "UnmodifiableListBase;_string", |
get$length: function(_) { |
- return this.__internal$_string.length; |
+ return this._string.length; |
}, |
$index: function(_, i) { |
- return C.JSString_methods.codeUnitAt$1(this.__internal$_string, i); |
+ return C.JSString_methods.codeUnitAt$1(this._string, i); |
}, |
$asUnmodifiableListBase: function() { |
return [P.$int]; |
@@ -4296,10 +4489,10 @@ var dart = [ |
$isEfficientLength: 1 |
}, |
SubListIterable: { |
- "^": "ListIterable;__internal$_iterable,__internal$_start,_endOrLength", |
+ "^": "ListIterable;_iterable,__internal$_start,_endOrLength", |
get$_endIndex: function() { |
var $length, t1, t2; |
- $length = J.get$length$asx(this.__internal$_iterable); |
+ $length = J.get$length$asx(this._iterable); |
t1 = this._endOrLength; |
if (t1 != null) { |
if (typeof t1 !== "number") |
@@ -4313,7 +4506,7 @@ var dart = [ |
}, |
get$_startIndex: function() { |
var $length, t1; |
- $length = J.get$length$asx(this.__internal$_iterable); |
+ $length = J.get$length$asx(this._iterable); |
t1 = this.__internal$_start; |
if (t1 > $length) |
return $length; |
@@ -4321,7 +4514,7 @@ var dart = [ |
}, |
get$length: function(_) { |
var $length, t1, t2, t3; |
- $length = J.get$length$asx(this.__internal$_iterable); |
+ $length = J.get$length$asx(this._iterable); |
t1 = this.__internal$_start; |
if (t1 >= $length) |
return 0; |
@@ -4350,7 +4543,24 @@ var dart = [ |
t1 = true; |
if (t1) |
throw H.wrapException(P.IndexError$(index, this, "index", null, null)); |
- return J.elementAt$1$ax(this.__internal$_iterable, realIndex); |
+ return J.elementAt$1$ax(this._iterable, realIndex); |
+ }, |
+ take$1: function(_, count) { |
+ var t1, t2, newEnd; |
+ if (count < 0) |
+ H.throwExpression(P.RangeError$range(count, 0, null, "count", null)); |
+ t1 = this._endOrLength; |
+ t2 = this.__internal$_start; |
+ if (t1 == null) |
+ return H.SubListIterable$(this._iterable, t2, t2 + count, H.getTypeArgumentByIndex(this, 0)); |
+ else { |
+ newEnd = t2 + count; |
+ if (typeof t1 !== "number") |
+ return t1.$lt(); |
+ if (t1 < newEnd) |
+ return this; |
+ return H.SubListIterable$(this._iterable, t2, newEnd, H.getTypeArgumentByIndex(this, 0)); |
+ } |
}, |
SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { |
var t1, t2; |
@@ -4374,42 +4584,42 @@ var dart = [ |
}} |
}, |
ListIterator: { |
- "^": "Object;__internal$_iterable,__internal$_length,__internal$_index,_current", |
+ "^": "Object;_iterable,__internal$_length,_index,__internal$_current", |
get$current: function() { |
- return this._current; |
+ return this.__internal$_current; |
}, |
moveNext$0: function() { |
var t1, t2, $length, t3; |
- t1 = this.__internal$_iterable; |
+ t1 = this._iterable; |
t2 = J.getInterceptor$asx(t1); |
$length = t2.get$length(t1); |
if (this.__internal$_length !== $length) |
throw H.wrapException(P.ConcurrentModificationError$(t1)); |
- t3 = this.__internal$_index; |
+ t3 = this._index; |
if (t3 >= $length) { |
- this._current = null; |
+ this.__internal$_current = null; |
return false; |
} |
- this._current = t2.elementAt$1(t1, t3); |
- ++this.__internal$_index; |
+ this.__internal$_current = t2.elementAt$1(t1, t3); |
+ ++this._index; |
return true; |
} |
}, |
MappedIterable: { |
- "^": "IterableBase;__internal$_iterable,_f", |
+ "^": "IterableBase;_iterable,_f", |
get$iterator: function(_) { |
- var t1 = new H.MappedIterator(null, J.get$iterator$ax(this.__internal$_iterable), this._f); |
+ var t1 = new H.MappedIterator(null, J.get$iterator$ax(this._iterable), this._f); |
t1.$builtinTypeInfo = this.$builtinTypeInfo; |
return t1; |
}, |
get$length: function(_) { |
- return J.get$length$asx(this.__internal$_iterable); |
+ return J.get$length$asx(this._iterable); |
}, |
get$isEmpty: function(_) { |
- return J.get$isEmpty$asx(this.__internal$_iterable); |
+ return J.get$isEmpty$asx(this._iterable); |
}, |
get$last: function(_) { |
- return this._f$1(J.get$last$ax(this.__internal$_iterable)); |
+ return this._f$1(J.get$last$ax(this._iterable)); |
}, |
_f$1: function(arg0) { |
return this._f.call$1(arg0); |
@@ -4424,22 +4634,22 @@ var dart = [ |
}} |
}, |
EfficientLengthMappedIterable: { |
- "^": "MappedIterable;__internal$_iterable,_f", |
+ "^": "MappedIterable;_iterable,_f", |
$isEfficientLength: 1 |
}, |
MappedIterator: { |
- "^": "Iterator;_current,_iterator,_f", |
+ "^": "Iterator;__internal$_current,_iterator,_f", |
moveNext$0: function() { |
var t1 = this._iterator; |
if (t1.moveNext$0()) { |
- this._current = this._f$1(t1.get$current()); |
+ this.__internal$_current = this._f$1(t1.get$current()); |
return true; |
} |
- this._current = null; |
+ this.__internal$_current = null; |
return false; |
}, |
get$current: function() { |
- return this._current; |
+ return this.__internal$_current; |
}, |
_f$1: function(arg0) { |
return this._f.call$1(arg0); |
@@ -4465,9 +4675,9 @@ var dart = [ |
$isEfficientLength: 1 |
}, |
WhereIterable: { |
- "^": "IterableBase;__internal$_iterable,_f", |
+ "^": "IterableBase;_iterable,_f", |
get$iterator: function(_) { |
- var t1 = new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f); |
+ var t1 = new H.WhereIterator(J.get$iterator$ax(this._iterable), this._f); |
t1.$builtinTypeInfo = this.$builtinTypeInfo; |
return t1; |
} |
@@ -4488,9 +4698,9 @@ var dart = [ |
} |
}, |
SkipWhileIterable: { |
- "^": "IterableBase;__internal$_iterable,_f", |
+ "^": "IterableBase;_iterable,_f", |
get$iterator: function(_) { |
- var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, false); |
+ var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this._iterable), this._f, false); |
t1.$builtinTypeInfo = this.$builtinTypeInfo; |
return t1; |
} |
@@ -4520,6 +4730,9 @@ var dart = [ |
}, |
add$1: function(receiver, value) { |
throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); |
+ }, |
+ replaceRange$3: function(receiver, start, end, iterable) { |
+ throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); |
} |
}, |
UnmodifiableListMixin: { |
@@ -4533,6 +4746,15 @@ var dart = [ |
add$1: function(_, value) { |
throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); |
}, |
+ setRange$4: function(_, start, end, iterable, skipCount) { |
+ throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); |
+ }, |
+ setRange$3: function($receiver, start, end, iterable) { |
+ return this.setRange$4($receiver, start, end, iterable, 0); |
+ }, |
+ replaceRange$3: function(_, start, end, iterable) { |
+ throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); |
+ }, |
$isList: 1, |
$asList: null, |
$isEfficientLength: 1 |
@@ -4554,6 +4776,20 @@ var dart = [ |
t2 = J.getInterceptor$asx(t1); |
return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); |
} |
+ }, |
+ Symbol0: { |
+ "^": "Object;_name<", |
+ $eq: function(_, other) { |
+ if (other == null) |
+ return false; |
+ return other instanceof H.Symbol0 && J.$eq(this._name, other._name); |
+ }, |
+ get$hashCode: function(_) { |
+ return 536870911 & 664597 * J.get$hashCode$(this._name); |
+ }, |
+ toString$0: function(_) { |
+ return "Symbol(\"" + H.S(this._name) + "\")"; |
+ } |
} |
}], |
["dart._js_names", "dart:_js_names", , H, { |
@@ -4584,14 +4820,14 @@ var dart = [ |
_AsyncRun__scheduleImmediateJsOverride: [function(callback) { |
++init.globalState.topEventLoop._activeJsAsyncCount; |
self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0)); |
- }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 35], |
+ }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 36], |
_AsyncRun__scheduleImmediateWithSetImmediate: [function(callback) { |
++init.globalState.topEventLoop._activeJsAsyncCount; |
self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0)); |
- }, "call$1", "_AsyncRun__scheduleImmediateWithSetImmediate$closure", 2, 0, 35], |
+ }, "call$1", "_AsyncRun__scheduleImmediateWithSetImmediate$closure", 2, 0, 36], |
_AsyncRun__scheduleImmediateWithTimer: [function(callback) { |
P.Timer__createTimer(C.Duration_0, callback); |
- }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 35], |
+ }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 36], |
_registerErrorHandler: function(errorHandler, zone) { |
var t1 = H.getDynamicRuntimeType(); |
t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); |
@@ -4630,7 +4866,7 @@ var dart = [ |
if ($._nextCallback != null) |
$.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$closure()); |
} |
- }, "call$0", "_asyncRunCallback$closure", 0, 0, 1], |
+ }, "call$0", "_asyncRunCallback$closure", 0, 0, 2], |
_scheduleAsyncCallback: function(callback) { |
var t1, newEntry; |
if ($._nextCallback == null) { |
@@ -4678,14 +4914,14 @@ var dart = [ |
return new P._AddStreamState_makeErrorHandler_closure(controller); |
}, |
_nullDataHandler: [function(value) { |
- }, "call$1", "_nullDataHandler$closure", 2, 0, 53], |
+ }, "call$1", "_nullDataHandler$closure", 2, 0, 53, 12], |
_nullErrorHandler: [function(error, stackTrace) { |
$.Zone__current.handleUncaughtError$2(error, stackTrace); |
}, function(error) { |
return P._nullErrorHandler(error, null); |
- }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 6, 0], |
+ }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 8, 13, 14, 15], |
_nullDoneHandler: [function() { |
- }, "call$0", "_nullDoneHandler$closure", 0, 0, 1], |
+ }, "call$0", "_nullDoneHandler$closure", 0, 0, 2], |
_runUserCode: function(userCode, onSuccess, onError) { |
var e, s, replacement, error, stackTrace, exception, t1, error0; |
try { |
@@ -4778,7 +5014,7 @@ var dart = [ |
$._lastCallback = entry; |
} |
} |
- }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 54], |
+ }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 54, 16, 17, 18, 14, 15], |
_rootRun: [function($self, $parent, zone, f) { |
var old, t1; |
if (J.$eq($.Zone__current, zone)) |
@@ -4790,7 +5026,7 @@ var dart = [ |
} finally { |
$.Zone__current = old; |
} |
- }, "call$4", "_rootRun$closure", 8, 0, 55], |
+ }, "call$4", "_rootRun$closure", 8, 0, 55, 16, 17, 18, 19], |
_rootRunUnary: [function($self, $parent, zone, f, arg) { |
var old, t1; |
if (J.$eq($.Zone__current, zone)) |
@@ -4802,7 +5038,7 @@ var dart = [ |
} finally { |
$.Zone__current = old; |
} |
- }, "call$5", "_rootRunUnary$closure", 10, 0, 56], |
+ }, "call$5", "_rootRunUnary$closure", 10, 0, 56, 16, 17, 18, 19, 20], |
_rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { |
var old, t1; |
if (J.$eq($.Zone__current, zone)) |
@@ -4814,37 +5050,37 @@ var dart = [ |
} finally { |
$.Zone__current = old; |
} |
- }, "call$6", "_rootRunBinary$closure", 12, 0, 57], |
+ }, "call$6", "_rootRunBinary$closure", 12, 0, 57, 16, 17, 18, 19, 7, 8], |
_rootRegisterCallback: [function($self, $parent, zone, f) { |
return f; |
- }, "call$4", "_rootRegisterCallback$closure", 8, 0, 58], |
+ }, "call$4", "_rootRegisterCallback$closure", 8, 0, 58, 16, 17, 18, 19], |
_rootRegisterUnaryCallback: [function($self, $parent, zone, f) { |
return f; |
- }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 59], |
+ }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 59, 16, 17, 18, 19], |
_rootRegisterBinaryCallback: [function($self, $parent, zone, f) { |
return f; |
- }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 60], |
+ }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 60, 16, 17, 18, 19], |
_rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { |
return; |
- }, "call$5", "_rootErrorCallback$closure", 10, 0, 61], |
+ }, "call$5", "_rootErrorCallback$closure", 10, 0, 61, 16, 17, 18, 14, 15], |
_rootScheduleMicrotask: [function($self, $parent, zone, f) { |
var t1 = C.C__RootZone !== zone; |
if (t1) |
f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone() === zone.get$errorZone())); |
P._scheduleAsyncCallback(f); |
- }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 62], |
+ }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 62, 16, 17, 18, 19], |
_rootCreateTimer: [function($self, $parent, zone, duration, callback) { |
return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCallback$1(callback) : callback); |
- }, "call$5", "_rootCreateTimer$closure", 10, 0, 63], |
+ }, "call$5", "_rootCreateTimer$closure", 10, 0, 63, 16, 17, 18, 21, 22], |
_rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback) { |
return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone.bindUnaryCallback$1(callback) : callback); |
- }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 64], |
+ }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 64, 16, 17, 18, 21, 22], |
_rootPrint: [function($self, $parent, zone, line) { |
H.printString(H.S(line)); |
- }, "call$4", "_rootPrint$closure", 8, 0, 65], |
+ }, "call$4", "_rootPrint$closure", 8, 0, 65, 16, 17, 18, 23], |
_printToZone: [function(line) { |
J.print$1$x($.Zone__current, line); |
- }, "call$1", "_printToZone$closure", 2, 0, 38], |
+ }, "call$1", "_printToZone$closure", 2, 0, 39], |
_rootFork: [function($self, $parent, zone, specification, zoneValues) { |
var valueMap, t1; |
$.printToZone = P._printToZone$closure(); |
@@ -4877,13 +5113,13 @@ var dart = [ |
t1._createTimer = zone.get$_createTimer(); |
specification.get$createPeriodicTimer(); |
t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); |
- specification.get$print(specification); |
+ J.get$print$x(specification); |
t1._print = zone.get$_print(); |
specification.get$fork(); |
t1._fork = zone.get$_fork(); |
t1._handleUncaughtError = specification.get$handleUncaughtError() != null ? new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_handleUncaughtError(); |
return t1; |
- }, "call$5", "_rootFork$closure", 10, 0, 66], |
+ }, "call$5", "_rootFork$closure", 10, 0, 66, 16, 17, 18, 24, 25], |
runZoned: function(body, onError, zoneSpecification, zoneValues) { |
var errorHandler, zone; |
errorHandler = new P.runZoned_closure(onError); |
@@ -4892,18 +5128,18 @@ var dart = [ |
return zone.runGuarded$1(body); |
}, |
_AsyncRun__initializeScheduleImmediate_internalCallback: { |
- "^": "Closure:2;_async$_box_0", |
- call$1: function(_) { |
+ "^": "Closure:3;_async$_box_0", |
+ call$1: [function(_) { |
var t1, f; |
H.leaveJsAsync(); |
t1 = this._async$_box_0; |
f = t1._captured_storedCallback_0; |
t1._captured_storedCallback_0 = null; |
f.call$0(); |
- } |
+ }, null, null, 2, 0, null, 26, "call"] |
}, |
_AsyncRun__initializeScheduleImmediate_closure: { |
- "^": "Closure:5;_async$_box_0,_captured_div_1,_captured_span_2", |
+ "^": "Closure:7;_async$_box_0,_captured_div_1,_captured_span_2", |
call$1: function(callback) { |
var t1, t2; |
++init.globalState.topEventLoop._activeJsAsyncCount; |
@@ -4915,17 +5151,17 @@ var dart = [ |
}, |
_AsyncRun__scheduleImmediateJsOverride_internalCallback: { |
"^": "Closure:0;_captured_callback_0", |
- call$0: function() { |
+ call$0: [function() { |
H.leaveJsAsync(); |
this._captured_callback_0.call$0(); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: { |
"^": "Closure:0;_captured_callback_0", |
- call$0: function() { |
+ call$0: [function() { |
H.leaveJsAsync(); |
this._captured_callback_0.call$0(); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_UncaughtAsyncError: { |
"^": "AsyncError;error,stackTrace", |
@@ -4962,9 +5198,9 @@ var dart = [ |
} |
}, |
_FutureListener: { |
- "^": "Object;_nextListener<,result>,state,callback,errorCallback", |
+ "^": "Object;_nextListener@,result>,state,callback,errorCallback<", |
get$_zone: function() { |
- return this.result._zone; |
+ return this.result.get$_zone(); |
}, |
get$handlesValue: function() { |
return (this.state & 1) !== 0; |
@@ -4978,15 +5214,24 @@ var dart = [ |
get$_onValue: function() { |
return this.callback; |
}, |
+ get$_onError: function() { |
+ return this.errorCallback; |
+ }, |
+ get$_errorTest: function() { |
+ return this.callback; |
+ }, |
get$_whenCompleteAction: function() { |
return this.callback; |
}, |
+ callback$0: function() { |
+ return this.callback.call$0(); |
+ }, |
errorCallback$2: function(arg0, arg1) { |
return this.errorCallback.call$2(arg0, arg1); |
} |
}, |
_Future: { |
- "^": "Object;_state?,_zone<,_resultOrListeners", |
+ "^": "Object;_state,_zone<,_resultOrListeners", |
get$_hasError: function() { |
return this._state === 8; |
}, |
@@ -5024,7 +5269,7 @@ var dart = [ |
throw H.wrapException(P.StateError$("Future already completed")); |
this._state = 1; |
}, |
- get$_async$_value: function() { |
+ get$_value: function() { |
return this._resultOrListeners; |
}, |
get$_error: function() { |
@@ -5055,7 +5300,7 @@ var dart = [ |
this._resultOrListeners = null; |
for (prev = null; current != null; prev = current, current = next) { |
next = current.get$_nextListener(); |
- current._nextListener = prev; |
+ current.set$_nextListener(prev); |
} |
return prev; |
}, |
@@ -5084,7 +5329,7 @@ var dart = [ |
P._Future__propagateToListeners(this, listeners); |
}, function(error) { |
return this._completeError$2(error, null); |
- }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 6, 0], |
+ }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 8, 13, 14, 15], |
_asyncComplete$1: function(value) { |
var t1; |
if (value == null) |
@@ -5118,7 +5363,7 @@ var dart = [ |
return t1; |
}, _Future__chainForeignFuture: function(source, target) { |
var e, s, exception, t1; |
- target.set$_state(2); |
+ target.set$_isChained(true); |
try { |
source.then$2$onError(new P._Future__chainForeignFuture_closure(target), new P._Future__chainForeignFuture_closure0(target)); |
} catch (exception) { |
@@ -5129,7 +5374,7 @@ var dart = [ |
} |
}, _Future__chainCoreFuture: function(source, target) { |
var listener; |
- target._state = 2; |
+ target.set$_isChained(true); |
listener = new P._FutureListener(null, target, 0, null, null); |
if (source._state >= 4) |
P._Future__propagateToListeners(source, listener); |
@@ -5150,16 +5395,16 @@ var dart = [ |
return; |
} |
for (; listeners.get$_nextListener() != null; listeners = listeners0) { |
- listeners0 = listeners._nextListener; |
- listeners._nextListener = null; |
+ listeners0 = listeners.get$_nextListener(); |
+ listeners.set$_nextListener(null); |
P._Future__propagateToListeners(t1._captured_source_4, listeners); |
} |
t3._captured_listenerHasValue_1 = true; |
- sourceValue = hasError ? null : t1._captured_source_4.get$_async$_value(); |
+ sourceValue = hasError ? null : t1._captured_source_4.get$_value(); |
t3._captured_listenerValueOrError_2 = sourceValue; |
t3._captured_isPropagationAborted_3 = false; |
t2 = !hasError; |
- if (!t2 || listeners.get$handlesValue() || listeners.state === 8) { |
+ if (!t2 || listeners.get$handlesValue() || listeners.get$handlesComplete()) { |
zone = listeners.get$_zone(); |
if (hasError && !t1._captured_source_4.get$_zone().inSameErrorZone$1(zone)) { |
asyncError = t1._captured_source_4.get$_error(); |
@@ -5189,10 +5434,10 @@ var dart = [ |
t2 = false; |
if (t2) { |
chainSource = t3._captured_listenerValueOrError_2; |
- result = listeners.result; |
+ result = J.get$result$x(listeners); |
if (chainSource instanceof P._Future) |
if (chainSource._state >= 4) { |
- result._state = 2; |
+ result.set$_isChained(true); |
t1._captured_source_4 = chainSource; |
listeners = new P._FutureListener(null, result, 0, null, null); |
t2 = chainSource; |
@@ -5204,17 +5449,14 @@ var dart = [ |
return; |
} |
} |
- result = listeners.result; |
+ result = J.get$result$x(listeners); |
listeners = result._removeListeners$0(); |
t2 = t3._captured_listenerHasValue_1; |
t3 = t3._captured_listenerValueOrError_2; |
- if (t2 === true) { |
- result._state = 4; |
- result._resultOrListeners = t3; |
- } else { |
- result._state = 8; |
- result._resultOrListeners = t3; |
- } |
+ if (t2 === true) |
+ result._setValue$1(t3); |
+ else |
+ result._setErrorObject$1(t3); |
t1._captured_source_4 = result; |
t2 = result; |
} |
@@ -5222,51 +5464,50 @@ var dart = [ |
}, |
_Future__addListener_closure: { |
"^": "Closure:0;_async$_captured_this_0,_captured_listener_1", |
- call$0: function() { |
+ call$0: [function() { |
P._Future__propagateToListeners(this._async$_captured_this_0, this._captured_listener_1); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_Future__chainForeignFuture_closure: { |
- "^": "Closure:2;_captured_target_0", |
- call$1: function(value) { |
+ "^": "Closure:3;_captured_target_0", |
+ call$1: [function(value) { |
this._captured_target_0._completeWithValue$1(value); |
- } |
+ }, null, null, 2, 0, null, 12, "call"] |
}, |
_Future__chainForeignFuture_closure0: { |
- "^": "Closure:7;_captured_target_1", |
- call$2: function(error, stackTrace) { |
+ "^": "Closure:9;_captured_target_1", |
+ call$2: [function(error, stackTrace) { |
this._captured_target_1._completeError$2(error, stackTrace); |
- }, |
- call$1: function(error) { |
+ }, function(error) { |
return this.call$2(error, null); |
- } |
+ }, "call$1", null, null, null, 2, 2, null, 13, 14, 15, "call"] |
}, |
_Future__chainForeignFuture_closure1: { |
"^": "Closure:0;_captured_target_2,_captured_e_3,_captured_s_4", |
- call$0: function() { |
+ call$0: [function() { |
this._captured_target_2._completeError$2(this._captured_e_3, this._captured_s_4); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_Future__asyncComplete_closure: { |
"^": "Closure:0;_async$_captured_this_0,_captured_coreFuture_1", |
- call$0: function() { |
+ call$0: [function() { |
P._Future__chainCoreFuture(this._captured_coreFuture_1, this._async$_captured_this_0); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_Future__asyncComplete_closure0: { |
"^": "Closure:0;_async$_captured_this_2,_captured_value_3", |
- call$0: function() { |
+ call$0: [function() { |
this._async$_captured_this_2._completeWithValue$1(this._captured_value_3); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_Future__asyncCompleteError_closure: { |
"^": "Closure:0;_async$_captured_this_0,_captured_error_1,_captured_stackTrace_2", |
- call$0: function() { |
+ call$0: [function() { |
this._async$_captured_this_0._completeError$2(this._captured_error_1, this._captured_stackTrace_2); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_Future__propagateToListeners_handleValueCallback: { |
- "^": "Closure:8;_box_1,_captured_listener_3,_captured_sourceValue_4,_captured_zone_5", |
+ "^": "Closure:10;_box_1,_captured_listener_3,_captured_sourceValue_4,_captured_zone_5", |
call$0: function() { |
var e, s, exception, t1; |
try { |
@@ -5282,14 +5523,14 @@ var dart = [ |
} |
}, |
_Future__propagateToListeners_handleError: { |
- "^": "Closure:1;_box_2,_box_1,_captured_listener_6,_captured_zone_7", |
+ "^": "Closure:2;_box_2,_box_1,_captured_listener_6,_captured_zone_7", |
call$0: function() { |
var asyncError, matchesTest, test, e, s, errorCallback, e0, s0, t1, exception, t2, listenerValueOrError, t3, t4; |
asyncError = this._box_2._captured_source_4.get$_error(); |
matchesTest = true; |
t1 = this._captured_listener_6; |
if (t1.get$hasErrorTest()) { |
- test = t1.callback; |
+ test = t1.get$_errorTest(); |
try { |
matchesTest = this._captured_zone_7.runUnary$2(test, J.get$error$x(asyncError)); |
} catch (exception) { |
@@ -5305,7 +5546,7 @@ var dart = [ |
return; |
} |
} |
- errorCallback = t1.errorCallback; |
+ errorCallback = t1.get$_onError(); |
if (matchesTest === true && errorCallback != null) { |
try { |
t1 = errorCallback; |
@@ -5338,7 +5579,7 @@ var dart = [ |
} |
}, |
_Future__propagateToListeners_handleWhenCompleteCallback: { |
- "^": "Closure:1;_box_2,_box_1,_captured_hasError_8,_captured_listener_9,_captured_zone_10", |
+ "^": "Closure:2;_box_2,_box_1,_captured_hasError_8,_captured_listener_9,_captured_zone_10", |
call$0: function() { |
var t1, e, s, completeResult, t2, exception, result; |
t1 = {}; |
@@ -5367,8 +5608,7 @@ var dart = [ |
return; |
} |
if (!!J.getInterceptor(t2).$isFuture) { |
- t2 = this._captured_listener_9; |
- result = t2.get$result(t2); |
+ result = J.get$result$x(this._captured_listener_9); |
result.set$_isChained(true); |
this._box_1._captured_isPropagationAborted_3 = true; |
t1._captured_completeResult_0.then$2$onError(new P._Future__propagateToListeners_handleWhenCompleteCallback_closure(this._box_2, result), new P._Future__propagateToListeners_handleWhenCompleteCallback_closure0(t1, result)); |
@@ -5376,14 +5616,14 @@ var dart = [ |
} |
}, |
_Future__propagateToListeners_handleWhenCompleteCallback_closure: { |
- "^": "Closure:2;_box_2,_captured_result_11", |
- call$1: function(ignored) { |
+ "^": "Closure:3;_box_2,_captured_result_11", |
+ call$1: [function(ignored) { |
P._Future__propagateToListeners(this._box_2._captured_source_4, new P._FutureListener(null, this._captured_result_11, 0, null, null)); |
- } |
+ }, null, null, 2, 0, null, 27, "call"] |
}, |
_Future__propagateToListeners_handleWhenCompleteCallback_closure0: { |
- "^": "Closure:7;_async$_box_0,_captured_result_12", |
- call$2: function(error, stackTrace) { |
+ "^": "Closure:9;_async$_box_0,_captured_result_12", |
+ call$2: [function(error, stackTrace) { |
var t1, completeResult; |
t1 = this._async$_box_0; |
if (!(t1._captured_completeResult_0 instanceof P._Future)) { |
@@ -5392,10 +5632,9 @@ var dart = [ |
completeResult._setError$2(error, stackTrace); |
} |
P._Future__propagateToListeners(t1._captured_completeResult_0, new P._FutureListener(null, this._captured_result_12, 0, null, null)); |
- }, |
- call$1: function(error) { |
+ }, function(error) { |
return this.call$2(error, null); |
- } |
+ }, "call$1", null, null, null, 2, 2, null, 13, 14, 15, "call"] |
}, |
_AsyncCallbackEntry: { |
"^": "Object;callback,next@", |
@@ -5461,19 +5700,19 @@ var dart = [ |
} |
}, |
Stream_pipe_closure: { |
- "^": "Closure:2;_captured_streamConsumer_0", |
- call$1: function(_) { |
+ "^": "Closure:3;_captured_streamConsumer_0", |
+ call$1: [function(_) { |
return this._captured_streamConsumer_0._async$_target.close$0(0); |
- } |
+ }, null, null, 2, 0, null, 26, "call"] |
}, |
Stream_contains_closure: { |
"^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_captured_future_3", |
- call$1: function(element) { |
+ call$1: [function(element) { |
var t1, t2; |
t1 = this._async$_box_0; |
t2 = this._captured_future_3; |
P._runUserCode(new P.Stream_contains__closure(this._captured_needle_2, element), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1._captured_subscription_0, t2)); |
- }, |
+ }, null, null, 2, 0, null, 28, "call"], |
$signature: function() { |
return H.computeSignature(function(T) { |
return {func: 1, args: [T]}; |
@@ -5487,7 +5726,7 @@ var dart = [ |
} |
}, |
Stream_contains__closure0: { |
- "^": "Closure:9;_async$_box_0,_captured_future_6", |
+ "^": "Closure:11;_async$_box_0,_captured_future_6", |
call$1: function(isMatch) { |
if (isMatch === true) |
P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captured_future_6, true); |
@@ -5495,15 +5734,15 @@ var dart = [ |
}, |
Stream_contains_closure0: { |
"^": "Closure:0;_captured_future_7", |
- call$0: function() { |
+ call$0: [function() { |
this._captured_future_7._complete$1(false); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
Stream_forEach_closure: { |
"^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_captured_future_3", |
- call$1: function(element) { |
+ call$1: [function(element) { |
P._runUserCode(new P.Stream_forEach__closure(this._captured_action_2, element), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._async$_box_0._captured_subscription_0, this._captured_future_3)); |
- }, |
+ }, null, null, 2, 0, null, 28, "call"], |
$signature: function() { |
return H.computeSignature(function(T) { |
return {func: 1, args: [T]}; |
@@ -5517,45 +5756,45 @@ var dart = [ |
} |
}, |
Stream_forEach__closure0: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(_) { |
} |
}, |
Stream_forEach_closure0: { |
"^": "Closure:0;_captured_future_6", |
- call$0: function() { |
+ call$0: [function() { |
this._captured_future_6._complete$1(null); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
Stream_length_closure: { |
- "^": "Closure:2;_async$_box_0", |
- call$1: function(_) { |
+ "^": "Closure:3;_async$_box_0", |
+ call$1: [function(_) { |
++this._async$_box_0._captured_count_0; |
- } |
+ }, null, null, 2, 0, null, 26, "call"] |
}, |
Stream_length_closure0: { |
"^": "Closure:0;_async$_box_0,_captured_future_1", |
- call$0: function() { |
+ call$0: [function() { |
this._captured_future_1._complete$1(this._async$_box_0._captured_count_0); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
Stream_isEmpty_closure: { |
- "^": "Closure:2;_async$_box_0,_captured_future_1", |
- call$1: function(_) { |
+ "^": "Closure:3;_async$_box_0,_captured_future_1", |
+ call$1: [function(_) { |
P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captured_future_1, false); |
- } |
+ }, null, null, 2, 0, null, 26, "call"] |
}, |
Stream_isEmpty_closure0: { |
"^": "Closure:0;_captured_future_2", |
- call$0: function() { |
+ call$0: [function() { |
this._captured_future_2._complete$1(true); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
Stream_toList_closure: { |
"^": "Closure;_async$_captured_this_0,_async$_captured_result_1", |
- call$1: function(data) { |
+ call$1: [function(data) { |
this._async$_captured_result_1.push(data); |
- }, |
+ }, null, null, 2, 0, null, 29, "call"], |
$signature: function() { |
return H.computeSignature(function(T) { |
return {func: 1, args: [T]}; |
@@ -5564,17 +5803,17 @@ var dart = [ |
}, |
Stream_toList_closure0: { |
"^": "Closure:0;_captured_result_2,_captured_future_3", |
- call$0: function() { |
+ call$0: [function() { |
this._captured_future_3._complete$1(this._captured_result_2); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
Stream_last_closure: { |
"^": "Closure;_async$_box_0,_async$_captured_this_1", |
- call$1: function(value) { |
+ call$1: [function(value) { |
var t1 = this._async$_box_0; |
t1._captured_foundResult_1 = true; |
t1._captured_result_0 = value; |
- }, |
+ }, null, null, 2, 0, null, 12, "call"], |
$signature: function() { |
return H.computeSignature(function(T) { |
return {func: 1, args: [T]}; |
@@ -5583,7 +5822,7 @@ var dart = [ |
}, |
Stream_last_closure0: { |
"^": "Closure:0;_async$_box_0,_captured_future_2", |
- call$0: function() { |
+ call$0: [function() { |
var e, s, t1, exception; |
t1 = this._async$_box_0; |
if (t1._captured_foundResult_1) { |
@@ -5599,7 +5838,7 @@ var dart = [ |
s = H.getTraceFromException(exception); |
P._completeWithErrorCallback(this._captured_future_2, e, s); |
} |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
StreamSubscription: { |
"^": "Object;" |
@@ -5608,7 +5847,11 @@ var dart = [ |
"^": "Object;" |
}, |
_StreamController: { |
- "^": "Object;_state?", |
+ "^": "Object;", |
+ get$isPaused: function() { |
+ var t1 = this._state; |
+ return (t1 & 1) !== 0 ? this.get$_subscription().get$_isInputPaused() : (t1 & 2) === 0; |
+ }, |
get$_pendingEvents: function() { |
if ((this._state & 8) === 0) |
return this._varData; |
@@ -5626,8 +5869,8 @@ var dart = [ |
} |
state = this._varData; |
if (state.get$varData() == null) |
- state.varData = new P._StreamImplEvents(null, null, 0); |
- return state.varData; |
+ state.set$varData(new P._StreamImplEvents(null, null, 0)); |
+ return state.get$varData(); |
}, |
get$_subscription: function() { |
if ((this._state & 8) !== 0) |
@@ -5688,7 +5931,7 @@ var dart = [ |
this._addError$2(error, stackTrace); |
}, function(error) { |
return this.addError$2(error, null); |
- }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 10, 0], |
+ }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 12, 13, 14, 15], |
close$0: function(_) { |
var t1 = this._state; |
if ((t1 & 4) !== 0) |
@@ -5713,20 +5956,20 @@ var dart = [ |
return H.computeSignature(function(T) { |
return {func: 1, void: true, args: [T]}; |
}, this.$receiver, "_StreamController"); |
- }], |
+ }, 12], |
_addError$2: [function(error, stackTrace) { |
var t1 = this._state; |
if ((t1 & 1) !== 0) |
this._sendError$2(error, stackTrace); |
else if ((t1 & 3) === 0) |
this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackTrace, null)); |
- }, "call$2", "get$_addError", 4, 0, 11], |
+ }, "call$2", "get$_addError", 4, 0, 13, 14, 15], |
_close$0: [function() { |
var addState = this._varData; |
this._varData = addState.get$varData(); |
this._state &= 4294967287; |
- addState.addStreamFuture._asyncComplete$1(null); |
- }, "call$0", "get$_close", 0, 0, 1], |
+ addState.complete$0(0); |
+ }, "call$0", "get$_close", 0, 0, 2], |
_subscribe$4: function(onData, onError, onDone, cancelOnError) { |
var t1, subscription, pendingEvents, addState; |
if ((this._state & 3) !== 0) |
@@ -5739,7 +5982,7 @@ var dart = [ |
if ((t1 & 8) !== 0) { |
addState = this._varData; |
addState.set$varData(subscription); |
- addState.addSubscription.resume$0(); |
+ addState.resume$0(); |
} else |
this._varData = subscription; |
subscription._setPendingEvents$1(pendingEvents); |
@@ -5782,12 +6025,12 @@ var dart = [ |
} |
}, |
_StreamController__recordCancel_complete: { |
- "^": "Closure:1;_async$_captured_this_0", |
- call$0: function() { |
+ "^": "Closure:2;_async$_captured_this_0", |
+ call$0: [function() { |
var t1 = this._async$_captured_this_0._doneFuture; |
if (t1 != null && t1._state === 0) |
t1._asyncComplete$1(null); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_SyncStreamControllerDispatch: { |
"^": "Object;", |
@@ -5891,13 +6134,13 @@ var dart = [ |
if ((t1._state & 8) !== 0) |
t1._varData.pause$0(0); |
P._runGuarded(t1.get$_onPause()); |
- }, "call$0", "get$_onPause", 0, 0, 1], |
+ }, "call$0", "get$_onPause", 0, 0, 2], |
_onResume$0: [function() { |
var t1 = this._controller; |
if ((t1._state & 8) !== 0) |
t1._varData.resume$0(); |
P._runGuarded(t1.get$_onResume()); |
- }, "call$0", "get$_onResume", 0, 0, 1] |
+ }, "call$0", "get$_onResume", 0, 0, 2] |
}, |
_StreamSinkWrapper: { |
"^": "Object;_async$_target", |
@@ -5926,21 +6169,24 @@ var dart = [ |
return; |
} |
return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this)); |
+ }, |
+ complete$0: function(_) { |
+ this.addStreamFuture._asyncComplete$1(null); |
} |
}, |
_AddStreamState_makeErrorHandler_closure: { |
- "^": "Closure:12;_captured_controller_0", |
- call$2: function(e, s) { |
+ "^": "Closure:14;_captured_controller_0", |
+ call$2: [function(e, s) { |
var t1 = this._captured_controller_0; |
t1._addError$2(e, s); |
t1._close$0(); |
- } |
+ }, null, null, 4, 0, null, 2, 30, "call"] |
}, |
_AddStreamState_cancel_closure: { |
"^": "Closure:0;_async$_captured_this_0", |
- call$0: function() { |
+ call$0: [function() { |
this._async$_captured_this_0.addStreamFuture._asyncComplete$1(null); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_StreamControllerAddStreamState: { |
"^": "_AddStreamState;varData@,addStreamFuture,addSubscription" |
@@ -5949,7 +6195,7 @@ var dart = [ |
"^": "Object;" |
}, |
_BufferingStreamSubscription: { |
- "^": "Object;_onData,_onError,_onDone,_zone<,_state?,_cancelFuture,_pending", |
+ "^": "Object;_onData,_onError<,_onDone,_zone<,_state,_cancelFuture,_pending", |
_setPendingEvents$1: function(pendingEvents) { |
if (pendingEvents == null) |
return; |
@@ -6007,6 +6253,9 @@ var dart = [ |
get$_isInputPaused: function() { |
return (this._state & 4) !== 0; |
}, |
+ get$isPaused: function() { |
+ return this._state >= 128; |
+ }, |
_cancel$0: function() { |
var t1 = (this._state | 8) >>> 0; |
this._state = t1; |
@@ -6046,9 +6295,9 @@ var dart = [ |
this._addPending$1(C.C__DelayedDone); |
}, |
_onPause$0: [function() { |
- }, "call$0", "get$_onPause", 0, 0, 1], |
+ }, "call$0", "get$_onPause", 0, 0, 2], |
_onResume$0: [function() { |
- }, "call$0", "get$_onResume", 0, 0, 1], |
+ }, "call$0", "get$_onResume", 0, 0, 2], |
_onCancel$0: function() { |
return; |
}, |
@@ -6165,8 +6414,8 @@ var dart = [ |
}} |
}, |
_BufferingStreamSubscription__sendError_sendError: { |
- "^": "Closure:1;_async$_captured_this_0,_captured_error_1,_captured_stackTrace_2", |
- call$0: function() { |
+ "^": "Closure:2;_async$_captured_this_0,_captured_error_1,_captured_stackTrace_2", |
+ call$0: [function() { |
var t1, t2, t3, t4, t5, t6; |
t1 = this._async$_captured_this_0; |
t2 = t1._state; |
@@ -6184,11 +6433,11 @@ var dart = [ |
else |
t4.runUnaryGuarded$2(t6, t5); |
t1._state = (t1._state & 4294967263) >>> 0; |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_BufferingStreamSubscription__sendDone_sendDone: { |
- "^": "Closure:1;_async$_captured_this_0", |
- call$0: function() { |
+ "^": "Closure:2;_async$_captured_this_0", |
+ call$0: [function() { |
var t1, t2; |
t1 = this._async$_captured_this_0; |
t2 = t1._state; |
@@ -6197,7 +6446,7 @@ var dart = [ |
t1._state = (t2 | 42) >>> 0; |
t1._zone.runGuarded$1(t1._onDone); |
t1._state = (t1._state & 4294967263) >>> 0; |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_StreamImpl: { |
"^": "Stream;", |
@@ -6248,7 +6497,7 @@ var dart = [ |
} |
}, |
_PendingEvents: { |
- "^": "Object;_state?", |
+ "^": "Object;", |
schedule$1: function(dispatch) { |
var t1 = this._state; |
if (t1 === 1) |
@@ -6267,7 +6516,7 @@ var dart = [ |
}, |
_PendingEvents_schedule_closure: { |
"^": "Closure:0;_async$_captured_this_0,_captured_dispatch_1", |
- call$0: function() { |
+ call$0: [function() { |
var t1, oldState; |
t1 = this._async$_captured_this_0; |
oldState = t1._state; |
@@ -6275,7 +6524,7 @@ var dart = [ |
if (oldState === 3) |
return; |
t1.handleNext$1(this._captured_dispatch_1); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_StreamImplEvents: { |
"^": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state", |
@@ -6304,21 +6553,21 @@ var dart = [ |
}, |
_cancelAndError_closure: { |
"^": "Closure:0;_captured_future_0,_captured_error_1,_captured_stackTrace_2", |
- call$0: function() { |
+ call$0: [function() { |
return this._captured_future_0._completeError$2(this._captured_error_1, this._captured_stackTrace_2); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_cancelAndErrorClosure_closure: { |
- "^": "Closure:12;_captured_subscription_0,_captured_future_1", |
+ "^": "Closure:14;_captured_subscription_0,_captured_future_1", |
call$2: function(error, stackTrace) { |
return P._cancelAndError(this._captured_subscription_0, this._captured_future_1, error, stackTrace); |
} |
}, |
_cancelAndValue_closure: { |
"^": "Closure:0;_captured_future_0,_captured_value_1", |
- call$0: function() { |
+ call$0: [function() { |
return this._captured_future_0._complete$1(this._captured_value_1); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_ForwardingStream: { |
"^": "Stream;", |
@@ -6355,13 +6604,13 @@ var dart = [ |
if (t1 == null) |
return; |
t1.pause$0(0); |
- }, "call$0", "get$_onPause", 0, 0, 1], |
+ }, "call$0", "get$_onPause", 0, 0, 2], |
_onResume$0: [function() { |
var t1 = this._subscription; |
if (t1 == null) |
return; |
t1.resume$0(); |
- }, "call$0", "get$_onResume", 0, 0, 1], |
+ }, "call$0", "get$_onResume", 0, 0, 2], |
_onCancel$0: function() { |
var t1 = this._subscription; |
if (t1 != null) { |
@@ -6376,13 +6625,13 @@ var dart = [ |
return H.computeSignature(function(S, T) { |
return {func: 1, void: true, args: [S]}; |
}, this.$receiver, "_ForwardingStreamSubscription"); |
- }], |
+ }, 29], |
_handleError$2: [function(error, stackTrace) { |
this._addError$2(error, stackTrace); |
- }, "call$2", "get$_handleError", 4, 0, 13], |
+ }, "call$2", "get$_handleError", 4, 0, 1, 14, 15], |
_handleDone$0: [function() { |
this._close$0(); |
- }, "call$0", "get$_handleDone", 0, 0, 1], |
+ }, "call$0", "get$_handleDone", 0, 0, 2], |
_ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { |
var t1, t2; |
t1 = this.get$_handleData(); |
@@ -6491,43 +6740,43 @@ var dart = [ |
implementation = this._delegationTarget.get$_handleUncaughtError(); |
implZone = implementation.zone; |
return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, error, stackTrace); |
- }, "call$3", "get$handleUncaughtError", 6, 0, 14], |
+ }, "call$3", "get$handleUncaughtError", 6, 0, 15], |
run$2: [function(zone, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_run(); |
implZone = implementation.zone; |
return implementation.$function.call$4(implZone, P._parentDelegate(implZone), zone, f); |
- }, "call$2", "get$run", 4, 0, 15], |
+ }, "call$2", "get$run", 4, 0, 16], |
runUnary$3: [function(zone, f, arg) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_runUnary(); |
implZone = implementation.zone; |
return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, f, arg); |
- }, "call$3", "get$runUnary", 6, 0, 16], |
+ }, "call$3", "get$runUnary", 6, 0, 17], |
runBinary$4: [function(zone, f, arg1, arg2) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_runBinary(); |
implZone = implementation.zone; |
return implementation.$function.call$6(implZone, P._parentDelegate(implZone), zone, f, arg1, arg2); |
- }, "call$4", "get$runBinary", 8, 0, 17], |
+ }, "call$4", "get$runBinary", 8, 0, 18], |
registerCallback$2: [function(zone, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_registerCallback(); |
implZone = implementation.zone; |
return implementation.$function.call$4(implZone, P._parentDelegate(implZone), zone, f); |
- }, "call$2", "get$registerCallback", 4, 0, 18], |
+ }, "call$2", "get$registerCallback", 4, 0, 19], |
registerUnaryCallback$2: [function(zone, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_registerUnaryCallback(); |
implZone = implementation.zone; |
return implementation.$function.call$4(implZone, P._parentDelegate(implZone), zone, f); |
- }, "call$2", "get$registerUnaryCallback", 4, 0, 19], |
+ }, "call$2", "get$registerUnaryCallback", 4, 0, 20], |
registerBinaryCallback$2: [function(zone, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_registerBinaryCallback(); |
implZone = implementation.zone; |
return implementation.$function.call$4(implZone, P._parentDelegate(implZone), zone, f); |
- }, "call$2", "get$registerBinaryCallback", 4, 0, 20], |
+ }, "call$2", "get$registerBinaryCallback", 4, 0, 21], |
errorCallback$3: [function(zone, error, stackTrace) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_errorCallback(); |
@@ -6535,37 +6784,37 @@ var dart = [ |
if (implZone === C.C__RootZone) |
return; |
return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, error, stackTrace); |
- }, "call$3", "get$errorCallback", 6, 0, 21], |
+ }, "call$3", "get$errorCallback", 6, 0, 22], |
scheduleMicrotask$2: [function(zone, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_scheduleMicrotask(); |
implZone = implementation.zone; |
implementation.$function.call$4(implZone, P._parentDelegate(implZone), zone, f); |
- }, "call$2", "get$scheduleMicrotask", 4, 0, 22], |
+ }, "call$2", "get$scheduleMicrotask", 4, 0, 23], |
createTimer$3: [function(zone, duration, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_createTimer(); |
implZone = implementation.zone; |
return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, duration, f); |
- }, "call$3", "get$createTimer", 6, 0, 23], |
+ }, "call$3", "get$createTimer", 6, 0, 24], |
createPeriodicTimer$3: [function(zone, period, f) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_createPeriodicTimer(); |
implZone = implementation.zone; |
return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, period, f); |
- }, "call$3", "get$createPeriodicTimer", 6, 0, 24], |
+ }, "call$3", "get$createPeriodicTimer", 6, 0, 25], |
print$2: [function(_, zone, line) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_print(); |
implZone = implementation.zone; |
implementation.$function.call$4(implZone, P._parentDelegate(implZone), zone, line); |
- }, "call$2", "get$print", 4, 0, 25], |
+ }, "call$2", "get$print", 4, 0, 26], |
fork$3: [function(zone, specification, zoneValues) { |
var implementation, implZone; |
implementation = this._delegationTarget.get$_fork(); |
implZone = implementation.zone; |
return implementation.$function.call$5(implZone, P._parentDelegate(implZone), zone, specification, zoneValues); |
- }, "call$3", "get$fork", 6, 0, 26] |
+ }, "call$3", "get$fork", 6, 0, 27] |
}, |
_Zone: { |
"^": "Object;", |
@@ -6663,7 +6912,7 @@ var dart = [ |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$5(t1, parentDelegate, this, error, stackTrace); |
- }, "call$2", "get$handleUncaughtError", 4, 0, 12], |
+ }, "call$2", "get$handleUncaughtError", 4, 0, 14], |
fork$2$specification$zoneValues: [function(specification, zoneValues) { |
var implementation, t1, parentDelegate; |
implementation = this._fork; |
@@ -6672,49 +6921,49 @@ var dart = [ |
return implementation.$function.call$5(t1, parentDelegate, this, specification, zoneValues); |
}, function() { |
return this.fork$2$specification$zoneValues(null, null); |
- }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 27, 0, 0], |
+ }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 28, 13, 13], |
run$1: [function(f) { |
var implementation, t1, parentDelegate; |
implementation = this._run; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$4(t1, parentDelegate, this, f); |
- }, "call$1", "get$run", 2, 0, 28], |
+ }, "call$1", "get$run", 2, 0, 29], |
runUnary$2: [function(f, arg) { |
var implementation, t1, parentDelegate; |
implementation = this._runUnary; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$5(t1, parentDelegate, this, f, arg); |
- }, "call$2", "get$runUnary", 4, 0, 29], |
+ }, "call$2", "get$runUnary", 4, 0, 30], |
runBinary$3: [function(f, arg1, arg2) { |
var implementation, t1, parentDelegate; |
implementation = this._runBinary; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$6(t1, parentDelegate, this, f, arg1, arg2); |
- }, "call$3", "get$runBinary", 6, 0, 30], |
+ }, "call$3", "get$runBinary", 6, 0, 31], |
registerCallback$1: [function(f) { |
var implementation, t1, parentDelegate; |
implementation = this._registerCallback; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$4(t1, parentDelegate, this, f); |
- }, "call$1", "get$registerCallback", 2, 0, 31], |
+ }, "call$1", "get$registerCallback", 2, 0, 32], |
registerUnaryCallback$1: [function(f) { |
var implementation, t1, parentDelegate; |
implementation = this._registerUnaryCallback; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$4(t1, parentDelegate, this, f); |
- }, "call$1", "get$registerUnaryCallback", 2, 0, 32], |
+ }, "call$1", "get$registerUnaryCallback", 2, 0, 33], |
registerBinaryCallback$1: [function(f) { |
var implementation, t1, parentDelegate; |
implementation = this._registerBinaryCallback; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$4(t1, parentDelegate, this, f); |
- }, "call$1", "get$registerBinaryCallback", 2, 0, 33], |
+ }, "call$1", "get$registerBinaryCallback", 2, 0, 34], |
errorCallback$2: [function(error, stackTrace) { |
var implementation, implementationZone, parentDelegate; |
implementation = this._errorCallback; |
@@ -6723,64 +6972,64 @@ var dart = [ |
return; |
parentDelegate = P._parentDelegate(implementationZone); |
return implementation.$function.call$5(implementationZone, parentDelegate, this, error, stackTrace); |
- }, "call$2", "get$errorCallback", 4, 0, 34], |
+ }, "call$2", "get$errorCallback", 4, 0, 35], |
scheduleMicrotask$1: [function(f) { |
var implementation, t1, parentDelegate; |
implementation = this._scheduleMicrotask; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$4(t1, parentDelegate, this, f); |
- }, "call$1", "get$scheduleMicrotask", 2, 0, 35], |
+ }, "call$1", "get$scheduleMicrotask", 2, 0, 36], |
createTimer$2: [function(duration, f) { |
var implementation, t1, parentDelegate; |
implementation = this._createTimer; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$5(t1, parentDelegate, this, duration, f); |
- }, "call$2", "get$createTimer", 4, 0, 36], |
+ }, "call$2", "get$createTimer", 4, 0, 37], |
createPeriodicTimer$2: [function(duration, f) { |
var implementation, t1, parentDelegate; |
implementation = this._createPeriodicTimer; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$5(t1, parentDelegate, this, duration, f); |
- }, "call$2", "get$createPeriodicTimer", 4, 0, 37], |
+ }, "call$2", "get$createPeriodicTimer", 4, 0, 38], |
print$1: [function(_, line) { |
var implementation, t1, parentDelegate; |
implementation = this._print; |
t1 = implementation.zone; |
parentDelegate = P._parentDelegate(t1); |
return implementation.$function.call$4(t1, parentDelegate, this, line); |
- }, "call$1", "get$print", 2, 0, 38] |
+ }, "call$1", "get$print", 2, 0, 39] |
}, |
_CustomZone_bindCallback_closure: { |
"^": "Closure:0;_async$_captured_this_0,_captured_registered_1", |
- call$0: function() { |
+ call$0: [function() { |
return this._async$_captured_this_0.runGuarded$1(this._captured_registered_1); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_CustomZone_bindCallback_closure0: { |
"^": "Closure:0;_async$_captured_this_2,_captured_registered_3", |
- call$0: function() { |
+ call$0: [function() { |
return this._async$_captured_this_2.run$1(this._captured_registered_3); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_CustomZone_bindUnaryCallback_closure: { |
- "^": "Closure:2;_async$_captured_this_0,_captured_registered_1", |
- call$1: function(arg) { |
+ "^": "Closure:3;_async$_captured_this_0,_captured_registered_1", |
+ call$1: [function(arg) { |
return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_registered_1, arg); |
- } |
+ }, null, null, 2, 0, null, 20, "call"] |
}, |
_CustomZone_bindUnaryCallback_closure0: { |
- "^": "Closure:2;_async$_captured_this_2,_captured_registered_3", |
- call$1: function(arg) { |
+ "^": "Closure:3;_async$_captured_this_2,_captured_registered_3", |
+ call$1: [function(arg) { |
return this._async$_captured_this_2.runUnary$2(this._captured_registered_3, arg); |
- } |
+ }, null, null, 2, 0, null, 20, "call"] |
}, |
_rootHandleUncaughtError_closure: { |
- "^": "Closure:0;_async$_captured_error_0,_captured_stackTrace_1", |
+ "^": "Closure:0;_captured_error_0,_captured_stackTrace_1", |
call$0: function() { |
- var t1 = this._async$_captured_error_0; |
+ var t1 = this._captured_error_0; |
throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError__getBestStackTrace(t1, this._captured_stackTrace_1))); |
} |
}, |
@@ -6913,79 +7162,79 @@ var dart = [ |
}, |
handleUncaughtError$2: [function(error, stackTrace) { |
return P._rootHandleUncaughtError(null, null, this, error, stackTrace); |
- }, "call$2", "get$handleUncaughtError", 4, 0, 12], |
+ }, "call$2", "get$handleUncaughtError", 4, 0, 14], |
fork$2$specification$zoneValues: [function(specification, zoneValues) { |
return P._rootFork(null, null, this, specification, zoneValues); |
}, function() { |
return this.fork$2$specification$zoneValues(null, null); |
- }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 27, 0, 0], |
+ }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 28, 13, 13], |
run$1: [function(f) { |
if ($.Zone__current === C.C__RootZone) |
return f.call$0(); |
return P._rootRun(null, null, this, f); |
- }, "call$1", "get$run", 2, 0, 28], |
+ }, "call$1", "get$run", 2, 0, 29], |
runUnary$2: [function(f, arg) { |
if ($.Zone__current === C.C__RootZone) |
return f.call$1(arg); |
return P._rootRunUnary(null, null, this, f, arg); |
- }, "call$2", "get$runUnary", 4, 0, 29], |
+ }, "call$2", "get$runUnary", 4, 0, 30], |
runBinary$3: [function(f, arg1, arg2) { |
if ($.Zone__current === C.C__RootZone) |
return f.call$2(arg1, arg2); |
return P._rootRunBinary(null, null, this, f, arg1, arg2); |
- }, "call$3", "get$runBinary", 6, 0, 30], |
+ }, "call$3", "get$runBinary", 6, 0, 31], |
registerCallback$1: [function(f) { |
return f; |
- }, "call$1", "get$registerCallback", 2, 0, 31], |
+ }, "call$1", "get$registerCallback", 2, 0, 32], |
registerUnaryCallback$1: [function(f) { |
return f; |
- }, "call$1", "get$registerUnaryCallback", 2, 0, 32], |
+ }, "call$1", "get$registerUnaryCallback", 2, 0, 33], |
registerBinaryCallback$1: [function(f) { |
return f; |
- }, "call$1", "get$registerBinaryCallback", 2, 0, 33], |
+ }, "call$1", "get$registerBinaryCallback", 2, 0, 34], |
errorCallback$2: [function(error, stackTrace) { |
return; |
- }, "call$2", "get$errorCallback", 4, 0, 34], |
+ }, "call$2", "get$errorCallback", 4, 0, 35], |
scheduleMicrotask$1: [function(f) { |
P._rootScheduleMicrotask(null, null, this, f); |
- }, "call$1", "get$scheduleMicrotask", 2, 0, 35], |
+ }, "call$1", "get$scheduleMicrotask", 2, 0, 36], |
createTimer$2: [function(duration, f) { |
return P.Timer__createTimer(duration, f); |
- }, "call$2", "get$createTimer", 4, 0, 36], |
+ }, "call$2", "get$createTimer", 4, 0, 37], |
createPeriodicTimer$2: [function(duration, f) { |
return P.Timer__createPeriodicTimer(duration, f); |
- }, "call$2", "get$createPeriodicTimer", 4, 0, 37], |
+ }, "call$2", "get$createPeriodicTimer", 4, 0, 38], |
print$1: [function(_, line) { |
H.printString(line); |
- }, "call$1", "get$print", 2, 0, 38] |
+ }, "call$1", "get$print", 2, 0, 39] |
}, |
_RootZone_bindCallback_closure: { |
"^": "Closure:0;_async$_captured_this_0,_captured_f_1", |
- call$0: function() { |
+ call$0: [function() { |
return this._async$_captured_this_0.runGuarded$1(this._captured_f_1); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_RootZone_bindCallback_closure0: { |
"^": "Closure:0;_async$_captured_this_2,_captured_f_3", |
- call$0: function() { |
+ call$0: [function() { |
return this._async$_captured_this_2.run$1(this._captured_f_3); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
_RootZone_bindUnaryCallback_closure: { |
- "^": "Closure:2;_async$_captured_this_0,_captured_f_1", |
- call$1: function(arg) { |
+ "^": "Closure:3;_async$_captured_this_0,_captured_f_1", |
+ call$1: [function(arg) { |
return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_f_1, arg); |
- } |
+ }, null, null, 2, 0, null, 20, "call"] |
}, |
_RootZone_bindUnaryCallback_closure0: { |
- "^": "Closure:2;_async$_captured_this_2,_captured_f_3", |
- call$1: function(arg) { |
+ "^": "Closure:3;_async$_captured_this_2,_captured_f_3", |
+ call$1: [function(arg) { |
return this._async$_captured_this_2.runUnary$2(this._captured_f_3, arg); |
- } |
+ }, null, null, 2, 0, null, 20, "call"] |
}, |
runZoned_closure: { |
- "^": "Closure:39;_captured_onError_0", |
- call$5: function($self, $parent, zone, error, stackTrace) { |
+ "^": "Closure:40;_captured_onError_0", |
+ call$5: [function($self, $parent, zone, error, stackTrace) { |
var e, s, t1, t2, exception; |
try { |
t1 = this._captured_onError_0; |
@@ -7008,7 +7257,7 @@ var dart = [ |
else |
return $parent.handleUncaughtError$3(zone, e, s); |
} |
- } |
+ }, null, null, 10, 0, null, 16, 17, 18, 14, 15, "call"] |
} |
}], |
["dart.collection", "dart:collection", , P, { |
@@ -7024,7 +7273,7 @@ var dart = [ |
}, "call$2", "_defaultEquals$closure", 4, 0, 67], |
_defaultHashCode: [function(a) { |
return J.get$hashCode$(a); |
- }, "call$1", "_defaultHashCode$closure", 2, 0, 50], |
+ }, "call$1", "_defaultHashCode$closure", 2, 0, 50, 31], |
HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { |
return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K, $V]); |
}, |
@@ -7070,7 +7319,7 @@ var dart = [ |
t1.pop(); |
} |
t1 = buffer; |
- t1._contents = t1.get$_contents() + rightDelimiter; |
+ t1.set$_contents(t1.get$_contents() + rightDelimiter); |
t1 = buffer.get$_contents(); |
return t1.charCodeAt(0) == 0 ? t1 : t1; |
}, |
@@ -7183,11 +7432,11 @@ var dart = [ |
try { |
$.get$IterableBase__toStringVisiting().push(m); |
t2 = result; |
- t2._contents = t2.get$_contents() + "{"; |
+ t2.set$_contents(t2.get$_contents() + "{"); |
t1._captured_first_0 = true; |
J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result)); |
t1 = result; |
- t1._contents = t1.get$_contents() + "}"; |
+ t1.set$_contents(t1.get$_contents() + "}"); |
} finally { |
t1 = $.get$IterableBase__toStringVisiting(); |
if (0 >= t1.length) |
@@ -7589,7 +7838,7 @@ var dart = [ |
_collection$_unlinkCell$1: function(cell) { |
var previous, next; |
previous = cell.get$_collection$_previous(); |
- next = cell._collection$_next; |
+ next = cell.get$_collection$_next(); |
if (previous == null) |
this._collection$_first = next; |
else |
@@ -7623,7 +7872,7 @@ var dart = [ |
}} |
}, |
LinkedHashSetCell: { |
- "^": "Object;_element<,_collection$_next,_collection$_previous<" |
+ "^": "Object;_element<,_collection$_next<,_collection$_previous<" |
}, |
LinkedHashSetIterator: { |
"^": "Object;_set,_collection$_modifications,_collection$_cell,_collection$_current", |
@@ -7660,10 +7909,10 @@ var dart = [ |
} |
}, |
HashMap_HashMap$from_closure: { |
- "^": "Closure:40;_captured_result_0", |
- call$2: function(k, v) { |
+ "^": "Closure:41;_captured_result_0", |
+ call$2: [function(k, v) { |
this._captured_result_0.$indexSet(0, k, v); |
- } |
+ }, null, null, 4, 0, null, 32, 33, "call"] |
}, |
_HashSetBase: { |
"^": "SetBase;" |
@@ -7798,11 +8047,51 @@ var dart = [ |
this.set$length(receiver, t1 + 1); |
this.$indexSet(receiver, t1, element); |
}, |
+ setRange$4: ["super$ListMixin$setRange$4", function(receiver, start, end, iterable, skipCount) { |
+ var $length, t1, i; |
+ P.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null, null); |
+ $length = end - start; |
+ if ($length === 0) |
+ return; |
+ t1 = J.getInterceptor$asx(iterable); |
+ if (skipCount + $length > t1.get$length(iterable)) |
+ throw H.wrapException(H.IterableElementError_tooFew()); |
+ if (skipCount < start) |
+ for (i = $length - 1; i >= 0; --i) |
+ this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i)); |
+ else |
+ for (i = 0; i < $length; ++i) |
+ this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i)); |
+ }, function($receiver, start, end, iterable) { |
+ return this.setRange$4($receiver, start, end, iterable, 0); |
+ }, "setRange$3", null, null, "get$setRange", 6, 2, null, 34], |
+ replaceRange$3: function(receiver, start, end, newContents) { |
+ var removeLength, insertLength, insertEnd, newLength; |
+ P.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null, null); |
+ newContents = C.JSString_methods.toList$0(newContents); |
+ removeLength = end - start; |
+ insertLength = newContents.length; |
+ insertEnd = start + insertLength; |
+ if (removeLength >= insertLength) { |
+ newLength = this.get$length(receiver) - (removeLength - insertLength); |
+ this.setRange$3(receiver, start, insertEnd, newContents); |
+ this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
+ this.set$length(receiver, newLength); |
+ } else { |
+ newLength = this.get$length(receiver) + (insertLength - removeLength); |
+ this.set$length(receiver, newLength); |
+ this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
+ this.setRange$3(receiver, start, insertEnd, newContents); |
+ } |
+ }, |
indexOf$2: function(receiver, element, startIndex) { |
- var i; |
- if (startIndex >= this.get$length(receiver)) |
+ var t1, i; |
+ t1 = J.getInterceptor$n(startIndex); |
+ if (t1.$ge(startIndex, this.get$length(receiver))) |
return -1; |
- for (i = startIndex; i < this.get$length(receiver); ++i) |
+ if (t1.$lt(startIndex, 0)) |
+ startIndex = 0; |
+ for (i = startIndex; t1 = J.getInterceptor$n(i), t1.$lt(i, this.get$length(receiver)); i = t1.$add(i, 1)) |
if (J.$eq(this.$index(receiver, i), element)) |
return i; |
return -1; |
@@ -7857,14 +8146,14 @@ var dart = [ |
$isMap: 1 |
}, |
Maps_mapToString_closure: { |
- "^": "Closure:40;_collection$_box_0,_collection$_captured_result_1", |
+ "^": "Closure:41;_collection$_box_0,_captured_result_1", |
call$2: function(k, v) { |
var t1, t2; |
t1 = this._collection$_box_0; |
if (!t1._captured_first_0) |
- this._collection$_captured_result_1._contents += ", "; |
+ this._captured_result_1._contents += ", "; |
t1._captured_first_0 = false; |
- t1 = this._collection$_captured_result_1; |
+ t1 = this._captured_result_1; |
t2 = t1._contents += H.S(k); |
t1._contents = t2 + ": "; |
t1._contents += H.S(v); |
@@ -8072,7 +8361,7 @@ var dart = [ |
}, |
_defaultToEncodable: [function(object) { |
return object.toJson$0(); |
- }, "call$1", "_defaultToEncodable$closure", 2, 0, 68], |
+ }, "call$1", "_defaultToEncodable$closure", 2, 0, 68, 0], |
_JsonMap: { |
"^": "Object;_original,_processed,_data", |
$index: function(_, key) { |
@@ -8402,17 +8691,17 @@ var dart = [ |
} |
}, |
_JsonStringifier_writeMap_closure: { |
- "^": "Closure:41;_convert$_box_0,_captured_this_1", |
- call$2: function(key, value) { |
+ "^": "Closure:4;_convert$_box_0,_convert$_captured_this_1", |
+ call$2: [function(key, value) { |
var t1, t2; |
- t1 = this._captured_this_1; |
+ t1 = this._convert$_captured_this_1; |
t2 = this._convert$_box_0; |
t1.writeString$1(t2._captured_separator_0); |
t2._captured_separator_0 = ",\""; |
t1.writeStringContent$1(key); |
t1.writeString$1("\":"); |
t1.writeObject$1(value); |
- } |
+ }, null, null, 4, 0, null, 35, 12, "call"] |
}, |
_JsonStringStringifier: { |
"^": "_JsonStringifier;_sink,_seen,_toEncodable", |
@@ -8539,7 +8828,7 @@ var dart = [ |
if (this._bufferIndex + 3 >= t2) |
break; |
stringIndex0 = stringIndex + 1; |
- if (this._writeSurrogate$2(codeUnit, C.JSString_methods.codeUnitAt$1(str, stringIndex0))) |
+ if (this._writeSurrogate$2(codeUnit, t3.codeUnitAt$1(str, stringIndex0))) |
stringIndex = stringIndex0; |
} else if (codeUnit <= 2047) { |
t4 = this._bufferIndex; |
@@ -8593,7 +8882,7 @@ var dart = [ |
} |
}, |
_Utf8Decoder: { |
- "^": "Object;_allowMalformed,_stringSink,_isFirstCharacter,_value,_expectedUnits,_extraUnits", |
+ "^": "Object;_allowMalformed,_stringSink,_isFirstCharacter,_convert$_value,_expectedUnits,_extraUnits", |
close$0: function(_) { |
this.flush$0(); |
}, |
@@ -8602,17 +8891,17 @@ var dart = [ |
if (!this._allowMalformed) |
throw H.wrapException(P.FormatException$("Unfinished UTF-8 octet sequence", null, null)); |
this._stringSink._contents += H.Primitives_stringFromCharCode(65533); |
- this._value = 0; |
+ this._convert$_value = 0; |
this._expectedUnits = 0; |
this._extraUnits = 0; |
} |
}, |
convert$3: function(codeUnits, startIndex, endIndex) { |
var value, expectedUnits, extraUnits, t1, t2, t3, t4, t5, i, unit, t6, oneBytes, i0; |
- value = this._value; |
+ value = this._convert$_value; |
expectedUnits = this._expectedUnits; |
extraUnits = this._extraUnits; |
- this._value = 0; |
+ this._convert$_value = 0; |
this._expectedUnits = 0; |
this._extraUnits = 0; |
t1 = new P._Utf8Decoder_convert_scanOneByteCharacters(endIndex); |
@@ -8625,17 +8914,16 @@ var dart = [ |
if (i === endIndex) |
break $loop$0; |
unit = t5.$index(codeUnits, i); |
- if (typeof unit !== "number") |
- return unit.$and(); |
- if ((unit & 192) !== 128) { |
+ t6 = J.getInterceptor$n(unit); |
+ if (t6.$and(unit, 192) !== 128) { |
if (t4) |
- throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + C.JSNumber_methods.toRadixString$1(unit, 16), null, null)); |
+ throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + t6.toRadixString$1(unit, 16), null, null)); |
this._isFirstCharacter = false; |
t3._contents += H.Primitives_stringFromCharCode(65533); |
expectedUnits = 0; |
break $multibyte$2; |
} else { |
- value = (value << 6 | unit & 63) >>> 0; |
+ value = (value << 6 | t6.$and(unit, 63)) >>> 0; |
--expectedUnits; |
++i; |
} |
@@ -8679,28 +8967,26 @@ var dart = [ |
throw H.wrapException(P.FormatException$("Negative UTF-8 code unit: -0x" + J.toRadixString$1$n(t6.$negate(unit), 16), null, null)); |
t3._contents += H.Primitives_stringFromCharCode(65533); |
} else { |
- if (typeof unit !== "number") |
- return unit.$and(); |
- if ((unit & 224) === 192) { |
- value = unit & 31; |
+ if (t6.$and(unit, 224) === 192) { |
+ value = t6.$and(unit, 31); |
expectedUnits = 1; |
extraUnits = 1; |
continue $loop$0; |
} |
- if ((unit & 240) === 224) { |
- value = unit & 15; |
+ if (t6.$and(unit, 240) === 224) { |
+ value = t6.$and(unit, 15); |
expectedUnits = 2; |
extraUnits = 2; |
continue $loop$0; |
} |
- if ((unit & 248) === 240 && unit < 245) { |
- value = unit & 7; |
+ if (t6.$and(unit, 248) === 240 && t6.$lt(unit, 245)) { |
+ value = t6.$and(unit, 7); |
expectedUnits = 3; |
extraUnits = 3; |
continue $loop$0; |
} |
if (t4) |
- throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + C.JSNumber_methods.toRadixString$1(unit, 16), null, null)); |
+ throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + t6.toRadixString$1(unit, 16), null, null)); |
this._isFirstCharacter = false; |
t3._contents += H.Primitives_stringFromCharCode(65533); |
value = 65533; |
@@ -8711,7 +8997,7 @@ var dart = [ |
break $loop$0; |
} |
if (expectedUnits > 0) { |
- this._value = value; |
+ this._convert$_value = value; |
this._expectedUnits = expectedUnits; |
this._extraUnits = extraUnits; |
} |
@@ -8724,26 +9010,21 @@ var dart = [ |
to = this._captured_endIndex_0; |
for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) { |
unit = t1.$index(units, i); |
- if (typeof unit !== "number") |
- return unit.$and(); |
- if ((unit & 127) !== unit) |
+ if (J.$and$n(unit, 127) !== unit) |
return i - from; |
} |
return to - from; |
} |
}, |
_Utf8Decoder_convert_addSingleBytes: { |
- "^": "Closure:43;_captured_this_1,_captured_codeUnits_2,_captured_startIndex_3,_captured_endIndex_4", |
+ "^": "Closure:43;_convert$_captured_this_1,_captured_codeUnits_2,_captured_startIndex_3,_captured_endIndex_4", |
call$2: function(from, to) { |
- this._captured_this_1._stringSink._contents += P.String_String$fromCharCodes(this._captured_codeUnits_2, from, to); |
+ this._convert$_captured_this_1._stringSink._contents += P.String_String$fromCharCodes(this._captured_codeUnits_2, from, to); |
} |
} |
}], |
["dart.core", "dart:core", , P, { |
"^": "", |
- _symbolToString: function(symbol) { |
- return H.Symbol_getName(symbol); |
- }, |
String__checkBounds: function(len, start, end) { |
if (start < 0 || start > len) |
throw H.wrapException(P.RangeError$range(start, 0, len, null, null)); |
@@ -8855,10 +9136,15 @@ var dart = [ |
NoSuchMethodError_toString_closure: { |
"^": "Closure:44;_box_0", |
call$2: function(key, value) { |
- var t1 = this._box_0; |
+ var t1, t2; |
+ t1 = this._box_0; |
if (t1._captured_i_1 > 0) |
t1._captured_sb_0._contents += ", "; |
- P._symbolToString(key); |
+ t1._captured_sb_0._contents += H.S(key.get$_name()); |
+ t2 = t1._captured_sb_0; |
+ t2._contents += ": "; |
+ t2._contents += H.S(P.Error_safeToString(value)); |
+ ++t1._captured_i_1; |
} |
}, |
bool: { |
@@ -8948,7 +9234,7 @@ var dart = [ |
return this._duration > other.get$_duration(); |
}, |
$ge: function(_, other) { |
- return C.JSInt_methods.$ge(this._duration, other.get$_duration()); |
+ return this._duration >= other.get$_duration(); |
}, |
get$inMilliseconds: function() { |
return C.JSInt_methods._tdivFast$1(this._duration, 1000); |
@@ -9075,7 +9361,7 @@ var dart = [ |
var t1; |
if (typeof start !== "number") |
return H.iae(start); |
- if (0 <= start) { |
+ if (!(0 > start)) { |
if (typeof $length !== "number") |
return H.iae($length); |
t1 = start > $length; |
@@ -9120,6 +9406,30 @@ var dart = [ |
return new P.IndexError(indexable, t1, true, invalidValue, $name, "Index out of range"); |
}} |
}, |
+ NoSuchMethodError: { |
+ "^": "Error;_core$_receiver,_memberName,_core$_arguments,_namedArguments,_existingArgumentNames", |
+ toString$0: function(_) { |
+ var t1, t2, t3, t4, t5; |
+ t1 = {}; |
+ t1._captured_sb_0 = new P.StringBuffer(""); |
+ t1._captured_i_1 = 0; |
+ for (t2 = this._core$_arguments, t3 = 0; t4 = t2.length, t3 < t4; t3 = ++t1._captured_i_1) { |
+ if (t3 > 0) |
+ t1._captured_sb_0._contents += ", "; |
+ t5 = t1._captured_sb_0; |
+ if (t3 < 0) |
+ return H.ioore(t2, t3); |
+ t5._contents += H.S(P.Error_safeToString(t2[t3])); |
+ } |
+ this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closure(t1)); |
+ t2 = "NoSuchMethodError : method not found: '" + this._memberName.toString$0(0) + "'\nReceiver: " + H.S(P.Error_safeToString(this._core$_receiver)) + "\nArguments: ["; |
+ t1 = t1._captured_sb_0._contents; |
+ return t2 + (t1.charCodeAt(0) == 0 ? t1 : t1) + "]"; |
+ }, |
+ static: {NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames) { |
+ return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames); |
+ }} |
+ }, |
UnsupportedError: { |
"^": "Error;message>", |
toString$0: function(_) { |
@@ -9349,8 +9659,11 @@ var dart = [ |
get$hashCode: function(_) { |
return H.Primitives_objectHashCode(this); |
}, |
- toString$0: function(_) { |
+ toString$0: ["super$Object$toString$0", function(_) { |
return H.Primitives_objectToString(this); |
+ }], |
+ noSuchMethod$1: function(_, invocation) { |
+ throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); |
} |
}, |
Match: { |
@@ -9364,7 +9677,7 @@ var dart = [ |
}, |
"+String": 0, |
StringBuffer: { |
- "^": "Object;_contents<", |
+ "^": "Object;_contents@", |
get$length: function(_) { |
return this._contents.length; |
}, |
@@ -9684,7 +9997,7 @@ var dart = [ |
t1._captured_char_6 = -1; |
state = 0; |
} else { |
- $char = C.JSString_methods.codeUnitAt$1(uri, i); |
+ $char = t2.codeUnitAt$1(uri, i); |
t1._captured_char_6 = $char; |
if ($char === 63 || $char === 35) |
state = 0; |
@@ -9802,24 +10115,24 @@ var dart = [ |
else |
throw H.wrapException(P.UnsupportedError$("Illegal drive letter " + P.String_String$fromCharCode(charCode))); |
}, Uri__makeFileUri: function(path) { |
- if (J.startsWith$1$s(path, "/")) |
- return P.Uri_Uri(null, null, null, path.split("/"), null, null, null, "file", ""); |
+ var t1 = J.getInterceptor$s(path); |
+ if (t1.startsWith$1(path, "/")) |
+ return P.Uri_Uri(null, null, null, t1.split$1(path, "/"), null, null, null, "file", ""); |
else |
- return P.Uri_Uri(null, null, null, path.split("/"), null, null, null, "", ""); |
+ return P.Uri_Uri(null, null, null, t1.split$1(path, "/"), null, null, null, "", ""); |
}, Uri__makeWindowsFileUrl: function(path) { |
var t1, pathSegments, pathStart, hostPart; |
- if (J.getInterceptor$s(path).startsWith$1(path, "\\\\?\\")) |
- if (C.JSString_methods.startsWith$2(path, "UNC\\", 4)) |
- path = C.JSString_methods.replaceRange$3(path, 0, 7, "\\"); |
+ t1 = J.getInterceptor$s(path); |
+ if (t1.startsWith$1(path, "\\\\?\\")) |
+ if (t1.startsWith$2(path, "UNC\\", 4)) |
+ path = t1.replaceRange$3(path, 0, 7, "\\"); |
else { |
- path = C.JSString_methods.substring$1(path, 4); |
+ path = t1.substring$1(path, 4); |
if (path.length < 3 || C.JSString_methods.codeUnitAt$1(path, 1) !== 58 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92) |
throw H.wrapException(P.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute")); |
} |
- else { |
- H.checkString("\\"); |
- path = H.stringReplaceAllUnchecked(path, "/", "\\"); |
- } |
+ else |
+ path = t1.replaceAll$2(path, "/", "\\"); |
t1 = path.length; |
if (t1 > 1 && C.JSString_methods.codeUnitAt$1(path, 1) === 58) { |
P.Uri__checkWindowsDriveLetter(C.JSString_methods.codeUnitAt$1(path, 0), true); |
@@ -9852,45 +10165,46 @@ var dart = [ |
return; |
return port; |
}, Uri__makeHost: function(host, start, end, strictIPv6) { |
- var t1, t2, i; |
+ var t1, t2, t3, i; |
if (host == null) |
return; |
t1 = J.getInterceptor(start); |
if (t1.$eq(start, end)) |
return ""; |
- if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) { |
- t2 = J.getInterceptor$n(end); |
- if (C.JSString_methods.codeUnitAt$1(host, t2.$sub(end, 1)) !== 93) |
+ t2 = J.getInterceptor$s(host); |
+ if (t2.codeUnitAt$1(host, start) === 91) { |
+ t3 = J.getInterceptor$n(end); |
+ if (t2.codeUnitAt$1(host, t3.$sub(end, 1)) !== 93) |
P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); |
- P.Uri_parseIPv6Address(host, t1.$add(start, 1), t2.$sub(end, 1)); |
- return C.JSString_methods.substring$2(host, start, end).toLowerCase(); |
+ P.Uri_parseIPv6Address(host, t1.$add(start, 1), t3.$sub(end, 1)); |
+ return t2.substring$2(host, start, end).toLowerCase(); |
} |
if (!strictIPv6) |
for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$add(i, 1)) |
- if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { |
+ if (t2.codeUnitAt$1(host, i) === 58) { |
P.Uri_parseIPv6Address(host, start, end); |
- return "[" + host + "]"; |
+ return "[" + H.S(host) + "]"; |
} |
return P.Uri__normalizeRegName(host, start, end); |
}, Uri__normalizeRegName: function(host, start, end) { |
- var index, sectionStart, buffer, isNormalized, t1, $char, replacement, t2, slice, sourceLength, tail; |
- for (index = start, sectionStart = index, buffer = null, isNormalized = true; t1 = J.getInterceptor$n(index), t1.$lt(index, end);) { |
- $char = C.JSString_methods.codeUnitAt$1(host, index); |
+ var t1, index, sectionStart, buffer, isNormalized, t2, $char, replacement, t3, slice, sourceLength, tail; |
+ for (t1 = J.getInterceptor$s(host), index = start, sectionStart = index, buffer = null, isNormalized = true; t2 = J.getInterceptor$n(index), t2.$lt(index, end);) { |
+ $char = t1.codeUnitAt$1(host, index); |
if ($char === 37) { |
replacement = P.Uri__normalizeEscape(host, index, true); |
- t2 = replacement == null; |
- if (t2 && isNormalized) { |
- index = t1.$add(index, 3); |
+ t3 = replacement == null; |
+ if (t3 && isNormalized) { |
+ index = t2.$add(index, 3); |
continue; |
} |
if (buffer == null) |
buffer = new P.StringBuffer(""); |
- slice = C.JSString_methods.substring$2(host, sectionStart, index); |
+ slice = t1.substring$2(host, sectionStart, index); |
if (!isNormalized) |
slice = slice.toLowerCase(); |
buffer._contents = buffer._contents + slice; |
- if (t2) { |
- replacement = C.JSString_methods.substring$2(host, index, t1.$add(index, 3)); |
+ if (t3) { |
+ replacement = t1.substring$2(host, index, t2.$add(index, 3)); |
sourceLength = 3; |
} else if (replacement === "%") { |
replacement = "%25"; |
@@ -9898,42 +10212,42 @@ var dart = [ |
} else |
sourceLength = 3; |
buffer._contents += replacement; |
- index = t1.$add(index, sourceLength); |
+ index = t2.$add(index, sourceLength); |
sectionStart = index; |
isNormalized = true; |
} else { |
if ($char < 127) { |
- t2 = $char >>> 4; |
- if (t2 >= 8) |
- return H.ioore(C.List_qNA, t2); |
- t2 = (C.List_qNA[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; |
+ t3 = $char >>> 4; |
+ if (t3 >= 8) |
+ return H.ioore(C.List_qNA, t3); |
+ t3 = (C.List_qNA[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; |
} else |
- t2 = false; |
- if (t2) { |
+ t3 = false; |
+ if (t3) { |
if (isNormalized && 65 <= $char && 90 >= $char) { |
if (buffer == null) |
buffer = new P.StringBuffer(""); |
if (J.$lt$n(sectionStart, index)) { |
- t2 = C.JSString_methods.substring$2(host, sectionStart, index); |
- buffer._contents = buffer._contents + t2; |
+ t3 = t1.substring$2(host, sectionStart, index); |
+ buffer._contents = buffer._contents + t3; |
sectionStart = index; |
} |
isNormalized = false; |
} |
- index = t1.$add(index, 1); |
+ index = t2.$add(index, 1); |
} else { |
if ($char <= 93) { |
- t2 = $char >>> 4; |
- if (t2 >= 8) |
- return H.ioore(C.List_2Vk, t2); |
- t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; |
+ t3 = $char >>> 4; |
+ if (t3 >= 8) |
+ return H.ioore(C.List_2Vk, t3); |
+ t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; |
} else |
- t2 = false; |
- if (t2) |
+ t3 = false; |
+ if (t3) |
P.Uri__fail(host, index, "Invalid character"); |
else { |
- if (($char & 64512) === 55296 && J.$lt$n(t1.$add(index, 1), end)) { |
- tail = C.JSString_methods.codeUnitAt$1(host, t1.$add(index, 1)); |
+ if (($char & 64512) === 55296 && J.$lt$n(t2.$add(index, 1), end)) { |
+ tail = t1.codeUnitAt$1(host, t2.$add(index, 1)); |
if ((tail & 64512) === 56320) { |
$char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0; |
sourceLength = 2; |
@@ -9943,57 +10257,60 @@ var dart = [ |
sourceLength = 1; |
if (buffer == null) |
buffer = new P.StringBuffer(""); |
- slice = C.JSString_methods.substring$2(host, sectionStart, index); |
+ slice = t1.substring$2(host, sectionStart, index); |
if (!isNormalized) |
slice = slice.toLowerCase(); |
buffer._contents = buffer._contents + slice; |
buffer._contents += P.Uri__escapeChar($char); |
- index = t1.$add(index, sourceLength); |
+ index = t2.$add(index, sourceLength); |
sectionStart = index; |
} |
} |
} |
} |
if (buffer == null) |
- return C.JSString_methods.substring$2(host, start, end); |
+ return t1.substring$2(host, start, end); |
if (J.$lt$n(sectionStart, end)) { |
- slice = C.JSString_methods.substring$2(host, sectionStart, end); |
+ slice = t1.substring$2(host, sectionStart, end); |
buffer._contents += !isNormalized ? slice.toLowerCase() : slice; |
} |
t1 = buffer._contents; |
return t1.charCodeAt(0) == 0 ? t1 : t1; |
}, Uri__makeScheme: function(scheme, start, end) { |
- var firstCodeUnit, allLowercase, t1, i, codeUnit; |
+ var t1, firstCodeUnit, allLowercase, t2, i, codeUnit; |
if (start === end) |
return ""; |
- firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, start); |
+ t1 = J.getInterceptor$s(scheme); |
+ firstCodeUnit = t1.codeUnitAt$1(scheme, start); |
allLowercase = firstCodeUnit >= 97; |
if (!(allLowercase && firstCodeUnit <= 122)) |
- t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90; |
+ t2 = firstCodeUnit >= 65 && firstCodeUnit <= 90; |
else |
- t1 = true; |
- if (!t1) |
+ t2 = true; |
+ if (!t2) |
P.Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); |
if (typeof end !== "number") |
return H.iae(end); |
i = start; |
for (; i < end; ++i) { |
- codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i); |
+ codeUnit = t1.codeUnitAt$1(scheme, i); |
if (codeUnit < 128) { |
- t1 = codeUnit >>> 4; |
- if (t1 >= 8) |
- return H.ioore(C.List_JYB, t1); |
- t1 = (C.List_JYB[t1] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0; |
+ t2 = codeUnit >>> 4; |
+ if (t2 >= 8) |
+ return H.ioore(C.List_JYB, t2); |
+ t2 = (C.List_JYB[t2] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0; |
} else |
- t1 = false; |
- if (!t1) |
+ t2 = false; |
+ if (!t2) |
P.Uri__fail(scheme, i, "Illegal scheme character"); |
if (codeUnit < 97 || codeUnit > 122) |
allLowercase = false; |
} |
- scheme = C.JSString_methods.substring$2(scheme, start, end); |
+ scheme = t1.substring$2(scheme, start, end); |
return !allLowercase ? scheme.toLowerCase() : scheme; |
}, Uri__makeUserInfo: function(userInfo, start, end) { |
+ if (userInfo == null) |
+ return ""; |
return P.Uri__normalize(userInfo, start, end, C.List_gRj); |
}, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSlash, isFile) { |
var t1, result; |
@@ -10045,26 +10362,27 @@ var dart = [ |
return $char - 48; |
return ($char | 32) - 87; |
}, Uri__normalizeEscape: function(source, index, lowerCase) { |
- var t1, firstDigit, secondDigit, value, t2; |
+ var t1, t2, firstDigit, secondDigit, value, t3; |
t1 = J.getInterceptor$ns(index); |
- if (J.$ge$n(t1.$add(index, 2), source.length)) |
+ t2 = J.getInterceptor$asx(source); |
+ if (J.$ge$n(t1.$add(index, 2), t2.get$length(source))) |
return "%"; |
- firstDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 1)); |
- secondDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 2)); |
+ firstDigit = t2.codeUnitAt$1(source, t1.$add(index, 1)); |
+ secondDigit = t2.codeUnitAt$1(source, t1.$add(index, 2)); |
if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit)) |
return "%"; |
value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit); |
if (value < 127) { |
- t2 = C.JSInt_methods._shrOtherPositive$1(value, 4); |
- if (t2 >= 8) |
- return H.ioore(C.List_nxB, t2); |
- t2 = (C.List_nxB[t2] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0; |
+ t3 = C.JSInt_methods._shrOtherPositive$1(value, 4); |
+ if (t3 >= 8) |
+ return H.ioore(C.List_nxB, t3); |
+ t3 = (C.List_nxB[t3] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0; |
} else |
- t2 = false; |
- if (t2) |
+ t3 = false; |
+ if (t3) |
return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); |
if (firstDigit >= 97 || secondDigit >= 97) |
- return C.JSString_methods.substring$2(source, index, t1.$add(index, 3)).toUpperCase(); |
+ return t2.substring$2(source, index, t1.$add(index, 3)).toUpperCase(); |
return; |
}, Uri__escapeChar: function($char) { |
var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; |
@@ -10149,7 +10467,7 @@ var dart = [ |
} else { |
if (($char & 64512) === 55296) |
if (J.$lt$n(t2.$add(index, 1), end)) { |
- tail = C.JSString_methods.codeUnitAt$1(component, t2.$add(index, 1)); |
+ tail = t1.codeUnitAt$1(component, t2.$add(index, 1)); |
if ((tail & 64512) === 56320) { |
$char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0; |
sourceLength = 2; |
@@ -10164,7 +10482,7 @@ var dart = [ |
} |
if (buffer == null) |
buffer = new P.StringBuffer(""); |
- t3 = C.JSString_methods.substring$2(component, sectionStart, index); |
+ t3 = t1.substring$2(component, sectionStart, index); |
buffer._contents = buffer._contents + t3; |
buffer._contents += H.S(replacement); |
index = t2.$add(index, sourceLength); |
@@ -10179,7 +10497,7 @@ var dart = [ |
return t1.charCodeAt(0) == 0 ? t1 : t1; |
}, Uri_decodeComponent: [function(encodedComponent) { |
return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); |
- }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71], Uri_splitQueryString: function(query, encoding) { |
+ }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71, 36], Uri_splitQueryString: function(query, encoding) { |
return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_LinkedHashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); |
}, Uri_parseIPv4Address: function(host) { |
var t1, bytes; |
@@ -10194,7 +10512,7 @@ var dart = [ |
end = J.get$length$asx(host); |
error = new P.Uri_parseIPv6Address_error(host); |
parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); |
- if (J.get$length$asx(host) < 2) |
+ if (J.$lt$n(J.get$length$asx(host), 2)) |
error.call$1("address is too short"); |
parts = []; |
partStart = start; |
@@ -10229,20 +10547,16 @@ var dart = [ |
H.unwrapException(exception); |
try { |
last = P.Uri_parseIPv4Address(J.substring$2$s(host, partStart, end)); |
- t1 = J.$index$asx(last, 0); |
- if (typeof t1 !== "number") |
- return t1.$shl(); |
+ t1 = J.$shl$n(J.$index$asx(last, 0), 8); |
t2 = J.$index$asx(last, 1); |
if (typeof t2 !== "number") |
return H.iae(t2); |
- J.add$1$ax(parts, (t1 << 8 | t2) >>> 0); |
- t2 = J.$index$asx(last, 2); |
- if (typeof t2 !== "number") |
- return t2.$shl(); |
+ J.add$1$ax(parts, (t1 | t2) >>> 0); |
+ t2 = J.$shl$n(J.$index$asx(last, 2), 8); |
t1 = J.$index$asx(last, 3); |
if (typeof t1 !== "number") |
return H.iae(t1); |
- J.add$1$ax(parts, (t2 << 8 | t1) >>> 0); |
+ J.add$1$ax(parts, (t2 | t1) >>> 0); |
} catch (exception) { |
H.unwrapException(exception); |
error.call$2("invalid end of IPv6 address.", partStart); |
@@ -10264,7 +10578,8 @@ var dart = [ |
if (!(i < t1)) |
break; |
value = J.$index$asx(parts, i); |
- if (J.getInterceptor(value).$eq(value, -1)) { |
+ t1 = J.getInterceptor(value); |
+ if (t1.$eq(value, -1)) { |
wildCardLength = 9 - J.get$length$asx(parts); |
for (j = 0; j < wildCardLength; ++j) { |
if (index < 0 || index >= 16) |
@@ -10277,16 +10592,15 @@ var dart = [ |
index += 2; |
} |
} else { |
- if (typeof value !== "number") |
- return value.$shr(); |
- t1 = C.JSNumber_methods._shrOtherPositive$1(value, 8); |
+ t2 = t1.$shr(value, 8); |
if (index < 0 || index >= 16) |
return H.ioore(bytes, index); |
- bytes[index] = t1; |
- t1 = index + 1; |
- if (t1 >= 16) |
- return H.ioore(bytes, t1); |
- bytes[t1] = value & 255; |
+ bytes[index] = t2; |
+ t2 = index + 1; |
+ t1 = t1.$and(value, 255); |
+ if (t2 >= 16) |
+ return H.ioore(bytes, t2); |
+ bytes[t2] = t1; |
index += 2; |
} |
++i; |
@@ -10318,9 +10632,9 @@ var dart = [ |
t1 = result._contents; |
return t1.charCodeAt(0) == 0 ? t1 : t1; |
}, Uri__hexCharPairToByte: function(s, pos) { |
- var $byte, i, charCode; |
- for ($byte = 0, i = 0; i < 2; ++i) { |
- charCode = C.JSString_methods.codeUnitAt$1(s, pos + i); |
+ var t1, $byte, i, charCode; |
+ for (t1 = J.getInterceptor$s(s), $byte = 0, i = 0; i < 2; ++i) { |
+ charCode = t1.codeUnitAt$1(s, pos + i); |
if (48 <= charCode && charCode <= 57) |
$byte = $byte * 16 + charCode - 48; |
else { |
@@ -10365,7 +10679,10 @@ var dart = [ |
if (codeUnit > 127) |
throw H.wrapException(P.ArgumentError$("Illegal percent encoding in URI")); |
if (codeUnit === 37) { |
- if (i + 3 > text.length) |
+ t2 = t1.get$length(text); |
+ if (typeof t2 !== "number") |
+ return H.iae(t2); |
+ if (i + 3 > t2) |
throw H.wrapException(P.ArgumentError$("Truncated URI")); |
bytes.push(P.Uri__hexCharPairToByte(text, i + 1)); |
i += 2; |
@@ -10387,9 +10704,9 @@ var dart = [ |
} |
}, |
Uri_parse_parseAuth: { |
- "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2", |
+ "^": "Closure:2;_box_0,_captured_uri_1,_captured_EOI_2", |
call$0: function() { |
- var t1, authStart, t2, $char, lastColon, lastAt, char0, endBracket, hostEnd, t3, hostStart, i, portNumber, digit; |
+ var t1, authStart, t2, t3, $char, lastColon, lastAt, char0, endBracket, hostEnd, t4, hostStart, i, portNumber, digit; |
t1 = this._box_0; |
if (J.$eq(t1._captured_index_5, t1._captured_end_0)) { |
t1._captured_char_6 = this._captured_EOI_2; |
@@ -10397,9 +10714,10 @@ var dart = [ |
} |
authStart = t1._captured_index_5; |
t2 = this._captured_uri_1; |
- t1._captured_char_6 = J.getInterceptor$s(t2).codeUnitAt$1(t2, authStart); |
+ t3 = J.getInterceptor$s(t2); |
+ t1._captured_char_6 = t3.codeUnitAt$1(t2, authStart); |
for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; J.$lt$n(t1._captured_index_5, t1._captured_end_0);) { |
- char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5); |
+ char0 = t3.codeUnitAt$1(t2, t1._captured_index_5); |
t1._captured_char_6 = char0; |
if (char0 === 47 || char0 === 63 || char0 === 35) |
break; |
@@ -10409,8 +10727,8 @@ var dart = [ |
} else if (char0 === 58) |
lastColon = t1._captured_index_5; |
else if (char0 === 91) { |
- endBracket = C.JSString_methods.indexOf$2(t2, "]", J.$add$ns(t1._captured_index_5, 1)); |
- if (endBracket === -1) { |
+ endBracket = t3.indexOf$2(t2, "]", J.$add$ns(t1._captured_index_5, 1)); |
+ if (J.$eq(endBracket, -1)) { |
t1._captured_index_5 = t1._captured_end_0; |
t1._captured_char_6 = $char; |
lastColon = -1; |
@@ -10423,17 +10741,17 @@ var dart = [ |
t1._captured_char_6 = $char; |
} |
hostEnd = t1._captured_index_5; |
- t3 = J.getInterceptor$n(lastAt); |
- if (t3.$ge(lastAt, 0)) { |
+ t4 = J.getInterceptor$n(lastAt); |
+ if (t4.$ge(lastAt, 0)) { |
t1._captured_userinfo_2 = P.Uri__makeUserInfo(t2, authStart, lastAt); |
- hostStart = t3.$add(lastAt, 1); |
+ hostStart = t4.$add(lastAt, 1); |
} else |
hostStart = authStart; |
- t3 = J.getInterceptor$n(lastColon); |
- if (t3.$ge(lastColon, 0)) { |
- if (J.$lt$n(t3.$add(lastColon, 1), t1._captured_index_5)) |
- for (i = t3.$add(lastColon, 1), portNumber = 0; t3 = J.getInterceptor$n(i), t3.$lt(i, t1._captured_index_5); i = t3.$add(i, 1)) { |
- digit = C.JSString_methods.codeUnitAt$1(t2, i); |
+ t4 = J.getInterceptor$n(lastColon); |
+ if (t4.$ge(lastColon, 0)) { |
+ if (J.$lt$n(t4.$add(lastColon, 1), t1._captured_index_5)) |
+ for (i = t4.$add(lastColon, 1), portNumber = 0; t4 = J.getInterceptor$n(i), t4.$lt(i, t1._captured_index_5); i = t4.$add(i, 1)) { |
+ digit = t3.codeUnitAt$1(t2, i); |
if (48 > digit || 57 < digit) |
P.Uri__fail(t2, i, "Invalid port number"); |
portNumber = portNumber * 10 + (digit - 48); |
@@ -10445,11 +10763,11 @@ var dart = [ |
} |
t1._captured_host_3 = P.Uri__makeHost(t2, hostStart, hostEnd, true); |
if (J.$lt$n(t1._captured_index_5, t1._captured_end_0)) |
- t1._captured_char_6 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5); |
+ t1._captured_char_6 = t3.codeUnitAt$1(t2, t1._captured_index_5); |
} |
}, |
Uri__checkNonWindowsPathReservedCharacters_closure: { |
- "^": "Closure:2;_captured_argumentError_0", |
+ "^": "Closure:3;_captured_argumentError_0", |
call$1: function(segment) { |
if (J.contains$1$asx(segment, "/") === true) |
if (this._captured_argumentError_0) |
@@ -10459,7 +10777,7 @@ var dart = [ |
} |
}, |
Uri__checkWindowsPathReservedCharacters_closure: { |
- "^": "Closure:2;_captured_argumentError_0", |
+ "^": "Closure:3;_captured_argumentError_0", |
call$1: function(segment) { |
if (J.contains$1$asx(segment, new H.JSSyntaxRegExp("[\"*/:<>?\\\\|]", H.JSSyntaxRegExp_makeNative("[\"*/:<>?\\\\|]", false, true, false), null, null)) === true) |
if (this._captured_argumentError_0) |
@@ -10469,19 +10787,19 @@ var dart = [ |
} |
}, |
Uri__makePath_closure: { |
- "^": "Closure:2;", |
- call$1: function(s) { |
+ "^": "Closure:3;", |
+ call$1: [function(s) { |
return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); |
- } |
+ }, null, null, 2, 0, null, 30, "call"] |
}, |
Uri__makeQuery_closure: { |
- "^": "Closure:40;_box_0,_captured_result_1", |
+ "^": "Closure:41;_box_0,_core$_captured_result_1", |
call$2: function(key, value) { |
var t1 = this._box_0; |
if (!t1._captured_first_0) |
- this._captured_result_1._contents += "&"; |
+ this._core$_captured_result_1._contents += "&"; |
t1._captured_first_0 = false; |
- t1 = this._captured_result_1; |
+ t1 = this._core$_captured_result_1; |
t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true); |
value.get$isEmpty(value); |
t1._contents += "="; |
@@ -10495,17 +10813,18 @@ var dart = [ |
} |
}, |
Uri_splitQueryString_closure: { |
- "^": "Closure:40;_captured_encoding_0", |
+ "^": "Closure:41;_captured_encoding_0", |
call$2: function(map, element) { |
- var t1, index, key, value; |
+ var t1, index, t2, key, value; |
t1 = J.getInterceptor$asx(element); |
index = t1.indexOf$1(element, "="); |
- if (index === -1) { |
- if (element !== "") |
+ t2 = J.getInterceptor(index); |
+ if (t2.$eq(index, -1)) { |
+ if (!t1.$eq(element, "")) |
J.$indexSet$ax(map, P.Uri__uriDecode(element, this._captured_encoding_0, true), ""); |
- } else if (index !== 0) { |
+ } else if (!t2.$eq(index, 0)) { |
key = t1.substring$2(element, 0, index); |
- value = C.JSString_methods.substring$1(element, index + 1); |
+ value = t1.substring$1(element, t2.$add(index, 1)); |
t1 = this._captured_encoding_0; |
J.$indexSet$ax(map, P.Uri__uriDecode(key, t1, true), P.Uri__uriDecode(value, t1, true)); |
} |
@@ -10513,21 +10832,21 @@ var dart = [ |
} |
}, |
Uri_parseIPv4Address_error: { |
- "^": "Closure:38;", |
+ "^": "Closure:39;", |
call$1: function(msg) { |
throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, null, null)); |
} |
}, |
Uri_parseIPv4Address_closure: { |
- "^": "Closure:2;_captured_error_0", |
- call$1: function(byteString) { |
+ "^": "Closure:3;_core$_captured_error_0", |
+ call$1: [function(byteString) { |
var $byte, t1; |
$byte = H.Primitives_parseInt(byteString, null, null); |
t1 = J.getInterceptor$n($byte); |
if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) |
- this._captured_error_0.call$1("each part must be in the range of `0..255`"); |
+ this._core$_captured_error_0.call$1("each part must be in the range of `0..255`"); |
return $byte; |
- } |
+ }, null, null, 2, 0, null, 37, "call"] |
}, |
Uri_parseIPv6Address_error: { |
"^": "Closure:48;_captured_host_0", |
@@ -10544,7 +10863,7 @@ var dart = [ |
var value, t1; |
if (J.$gt$n(J.$sub$n(end, start), 4)) |
this._captured_error_2.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); |
- value = H.Primitives_parseInt(C.JSString_methods.substring$2(this._captured_host_1, start, end), 16, null); |
+ value = H.Primitives_parseInt(J.substring$2$s(this._captured_host_1, start, end), 16, null); |
t1 = J.getInterceptor$n(value); |
if (t1.$lt(value, 0) || t1.$gt(value, 65535)) |
this._captured_error_2.call$2("each part must be in the range of `0x0..0xFFFF`", start); |
@@ -10552,10 +10871,11 @@ var dart = [ |
} |
}, |
Uri__uriEncode_byteToHex: { |
- "^": "Closure:40;", |
+ "^": "Closure:41;", |
call$2: function($byte, buffer) { |
- buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte >>> 4)); |
- buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 15)); |
+ var t1 = J.getInterceptor$n($byte); |
+ buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", t1.$shr($byte, 4))); |
+ buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", t1.$and($byte, 15))); |
} |
} |
}], |
@@ -10742,6 +11062,10 @@ var dart = [ |
}, |
Event: { |
"^": "Interceptor;", |
+ stopPropagation$0: function(receiver) { |
+ return receiver.stopPropagation(); |
+ }, |
+ $isEvent: 1, |
"%": "AnimationPlayerEvent|AudioProcessingEvent|AutocompleteErrorEvent|BeforeUnloadEvent|CloseEvent|CustomEvent|DeviceLightEvent|DeviceMotionEvent|DeviceOrientationEvent|ExtendableEvent|FetchEvent|FontFaceSetLoadEvent|GamepadEvent|HashChangeEvent|IDBVersionChangeEvent|InstallEvent|MIDIConnectionEvent|MediaKeyNeededEvent|MediaQueryListEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RTCPeerConnectionIceEvent|RelatedEvent|ResourceProgressEvent|SecurityPolicyViolationEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpRequestProgressEvent;ClipboardEvent|Event|InputEvent" |
}, |
EventTarget: { |
@@ -10822,6 +11146,11 @@ var dart = [ |
}, |
"%": "HTMLIFrameElement" |
}, |
+ ImageData: { |
+ "^": "Interceptor;data=", |
+ $isImageData: 1, |
+ "%": "ImageData" |
+ }, |
ImageElement: { |
"^": "HtmlElement;src%", |
"%": "HTMLImageElement" |
@@ -10829,6 +11158,7 @@ var dart = [ |
InputElement: { |
"^": "HtmlElement;src%", |
$isInterceptor: 1, |
+ $isNode: 1, |
"%": "HTMLInputElement" |
}, |
KeyboardEvent: { |
@@ -11037,6 +11367,10 @@ var dart = [ |
postMessage$2: function($receiver, message, targetOrigin) { |
return this.postMessage$3($receiver, message, targetOrigin, null); |
}, |
+ print$0: [function(receiver) { |
+ return receiver.print(); |
+ }, "call$0", "get$print", 0, 0, 2], |
+ $isWindow: 1, |
$isInterceptor: 1, |
"%": "DOMWindow|Window" |
}, |
@@ -11105,9 +11439,9 @@ var dart = [ |
"%": "HTMLFrameSetElement" |
}, |
_EventStream: { |
- "^": "Stream;_html$_target,_eventType,_useCapture", |
+ "^": "Stream;_target,_eventType,_useCapture", |
listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
- var t1 = new W._EventStreamSubscription(0, this._html$_target, this._eventType, W._wrapZone(onData), this._useCapture); |
+ var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W._wrapZone(onData), this._useCapture); |
t1.$builtinTypeInfo = this.$builtinTypeInfo; |
t1._tryResume$0(); |
return t1; |
@@ -11117,17 +11451,17 @@ var dart = [ |
} |
}, |
_EventStreamSubscription: { |
- "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData,_useCapture", |
+ "^": "StreamSubscription;_pauseCount,_target,_eventType,_html$_onData,_useCapture", |
cancel$0: function() { |
- if (this._html$_target == null) |
+ if (this._target == null) |
return; |
this._unlisten$0(); |
- this._html$_target = null; |
+ this._target = null; |
this._html$_onData = null; |
return; |
}, |
pause$1: function(_, resumeSignal) { |
- if (this._html$_target == null) |
+ if (this._target == null) |
return; |
++this._pauseCount; |
this._unlisten$0(); |
@@ -11135,8 +11469,11 @@ var dart = [ |
pause$0: function($receiver) { |
return this.pause$1($receiver, null); |
}, |
+ get$isPaused: function() { |
+ return this._pauseCount > 0; |
+ }, |
resume$0: function() { |
- if (this._html$_target == null || this._pauseCount <= 0) |
+ if (this._target == null || this._pauseCount <= 0) |
return; |
--this._pauseCount; |
this._tryResume$0(); |
@@ -11146,7 +11483,7 @@ var dart = [ |
t1 = this._html$_onData; |
t2 = t1 != null; |
if (t2 && this._pauseCount <= 0) { |
- t3 = this._html$_target; |
+ t3 = this._target; |
t3.toString; |
if (t2) |
J._addEventListener$3$x(t3, this._eventType, t1, this._useCapture); |
@@ -11157,7 +11494,7 @@ var dart = [ |
t1 = this._html$_onData; |
t2 = t1 != null; |
if (t2) { |
- t3 = this._html$_target; |
+ t3 = this._target; |
t3.toString; |
if (t2) |
J._removeEventListener$3$x(t3, this._eventType, t1, this._useCapture); |
@@ -11172,27 +11509,36 @@ var dart = [ |
add$1: function(receiver, value) { |
throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); |
}, |
+ setRange$4: function(receiver, start, end, iterable, skipCount) { |
+ throw H.wrapException(P.UnsupportedError$("Cannot setRange on immutable List.")); |
+ }, |
+ setRange$3: function($receiver, start, end, iterable) { |
+ return this.setRange$4($receiver, start, end, iterable, 0); |
+ }, |
+ replaceRange$3: function(receiver, start, end, iterable) { |
+ throw H.wrapException(P.UnsupportedError$("Cannot modify an immutable List.")); |
+ }, |
$isList: 1, |
$asList: null, |
$isEfficientLength: 1 |
}, |
FixedSizeListIterator: { |
- "^": "Object;_array,_length,_position,_html$_current", |
+ "^": "Object;_array,_length,_position,_current", |
moveNext$0: function() { |
var nextPosition, t1; |
nextPosition = this._position + 1; |
t1 = this._length; |
if (nextPosition < t1) { |
- this._html$_current = J.$index$asx(this._array, nextPosition); |
+ this._current = J.$index$asx(this._array, nextPosition); |
this._position = nextPosition; |
return true; |
} |
- this._html$_current = null; |
+ this._current = null; |
this._position = t1; |
return false; |
}, |
get$current: function() { |
- return this._html$_current; |
+ return this._current; |
} |
}, |
_DOMWindowCrossFrame: { |
@@ -11231,7 +11577,12 @@ var dart = [ |
} |
}], |
["dart.dom.indexed_db", "dart:indexed_db", , P, { |
- "^": "" |
+ "^": "", |
+ KeyRange: { |
+ "^": "Interceptor;", |
+ $isKeyRange: 1, |
+ "%": "IDBKeyRange" |
+ } |
}], |
["dart.dom.svg", "dart:svg", , P, { |
"^": "", |
@@ -11251,82 +11602,82 @@ var dart = [ |
"%": "SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGAnimationElement|SVGSetElement" |
}, |
FEBlendElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEBlendElement" |
}, |
FEColorMatrixElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEColorMatrixElement" |
}, |
FEComponentTransferElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEComponentTransferElement" |
}, |
FECompositeElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFECompositeElement" |
}, |
FEConvolveMatrixElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEConvolveMatrixElement" |
}, |
FEDiffuseLightingElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEDiffuseLightingElement" |
}, |
FEDisplacementMapElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEDisplacementMapElement" |
}, |
FEFloodElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEFloodElement" |
}, |
FEGaussianBlurElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEGaussianBlurElement" |
}, |
FEImageElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEImageElement" |
}, |
FEMergeElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEMergeElement" |
}, |
FEMorphologyElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEMorphologyElement" |
}, |
FEOffsetElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFEOffsetElement" |
}, |
FESpecularLightingElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFESpecularLightingElement" |
}, |
FETileElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFETileElement" |
}, |
FETurbulenceElement: { |
- "^": "SvgElement;", |
+ "^": "SvgElement;result=", |
$isInterceptor: 1, |
"%": "SVGFETurbulenceElement" |
}, |
@@ -11448,6 +11799,239 @@ var dart = [ |
"^": "Object;" |
} |
}], |
+["dart.js", "dart:js", , P, { |
+ "^": "", |
+ _callDartFunction: [function(callback, captureThis, $self, $arguments) { |
+ var arguments0, dartArgs; |
+ if (captureThis === true) { |
+ arguments0 = [$self]; |
+ C.JSArray_methods.addAll$1(arguments0, $arguments); |
+ $arguments = arguments0; |
+ } |
+ dartArgs = P.List_List$from(J.map$1$ax($arguments, P._convertToDart$closure()), true, null); |
+ return P._convertToJS(H.Primitives_applyFunctionWithPositionalArguments(callback, dartArgs)); |
+ }, null, null, 8, 0, null, 22, 38, 16, 39], |
+ _defineProperty: function(o, $name, value) { |
+ var exception; |
+ if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name)) |
+ try { |
+ Object.defineProperty(o, $name, {value: value}); |
+ return true; |
+ } catch (exception) { |
+ H.unwrapException(exception); |
+ } |
+ return false; |
+ }, |
+ _getOwnProperty: function(o, $name) { |
+ if (Object.prototype.hasOwnProperty.call(o, $name)) |
+ return o[$name]; |
+ return; |
+ }, |
+ _convertToJS: [function(o) { |
+ var t1; |
+ if (o == null || typeof o === "string" || typeof o === "number" || typeof o === "boolean") |
+ return o; |
+ else { |
+ t1 = J.getInterceptor(o); |
+ if (!!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow) |
+ return o; |
+ else if (!!t1.$isDateTime) |
+ return H.Primitives_lazyAsJsDate(o); |
+ else if (!!t1.$isJsObject) |
+ return o._jsObject; |
+ else if (!!t1.$isFunction) |
+ return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()); |
+ else |
+ return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.get$_dartProxyCtor())); |
+ } |
+ }, "call$1", "_convertToJS$closure", 2, 0, 3, 40], |
+ _getJsProxy: function(o, propertyName, createProxy) { |
+ var jsProxy = P._getOwnProperty(o, propertyName); |
+ if (jsProxy == null) { |
+ jsProxy = createProxy.call$1(o); |
+ P._defineProperty(o, propertyName, jsProxy); |
+ } |
+ return jsProxy; |
+ }, |
+ _convertToDart: [function(o) { |
+ var t1; |
+ if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") |
+ return o; |
+ else { |
+ if (o instanceof Object) { |
+ t1 = J.getInterceptor(o); |
+ t1 = !!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow; |
+ } else |
+ t1 = false; |
+ if (t1) |
+ return o; |
+ else if (o instanceof Date) |
+ return P.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false); |
+ else if (o.constructor === $.get$_dartProxyCtor()) |
+ return o.o; |
+ else |
+ return P._wrapToDart(o); |
+ } |
+ }, "call$1", "_convertToDart$closure", 2, 0, 68, 40], |
+ _wrapToDart: function(o) { |
+ if (typeof o == "function") |
+ return P._getDartProxy(o, $.get$_DART_CLOSURE_PROPERTY_NAME(), new P._wrapToDart_closure()); |
+ else if (o instanceof Array) |
+ return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure0()); |
+ else |
+ return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure1()); |
+ }, |
+ _getDartProxy: function(o, propertyName, createProxy) { |
+ var dartProxy = P._getOwnProperty(o, propertyName); |
+ if (dartProxy == null || !(o instanceof Object)) { |
+ dartProxy = createProxy.call$1(o); |
+ P._defineProperty(o, propertyName, dartProxy); |
+ } |
+ return dartProxy; |
+ }, |
+ JsObject: { |
+ "^": "Object;_jsObject", |
+ $index: ["super$JsObject$$index", function(_, property) { |
+ if (typeof property !== "string" && typeof property !== "number") |
+ throw H.wrapException(P.ArgumentError$("property is not a String or num")); |
+ return P._convertToDart(this._jsObject[property]); |
+ }], |
+ $indexSet: ["super$JsObject$$indexSet", function(_, property, value) { |
+ if (typeof property !== "string" && typeof property !== "number") |
+ throw H.wrapException(P.ArgumentError$("property is not a String or num")); |
+ this._jsObject[property] = P._convertToJS(value); |
+ }], |
+ get$hashCode: function(_) { |
+ return 0; |
+ }, |
+ $eq: function(_, other) { |
+ if (other == null) |
+ return false; |
+ return other instanceof P.JsObject && this._jsObject === other._jsObject; |
+ }, |
+ toString$0: function(_) { |
+ var t1, exception; |
+ try { |
+ t1 = String(this._jsObject); |
+ return t1; |
+ } catch (exception) { |
+ H.unwrapException(exception); |
+ return this.super$Object$toString$0(this); |
+ } |
+ }, |
+ callMethod$2: function(method, args) { |
+ var t1, t2; |
+ t1 = this._jsObject; |
+ t2 = args == null ? null : P.List_List$from(H.setRuntimeTypeInfo(new H.MappedListIterable(args, P._convertToJS$closure()), [null, null]), true, null); |
+ return P._convertToDart(t1[method].apply(t1, t2)); |
+ } |
+ }, |
+ JsFunction: { |
+ "^": "JsObject;_jsObject" |
+ }, |
+ JsArray: { |
+ "^": "JsObject_ListMixin;_jsObject", |
+ $index: function(_, index) { |
+ var t1; |
+ if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(index)) { |
+ if (typeof index === "number" && Math.floor(index) === index) |
+ t1 = index < 0 || index >= this.get$length(this); |
+ else |
+ t1 = false; |
+ if (t1) |
+ H.throwExpression(P.RangeError$range(index, 0, this.get$length(this), null, null)); |
+ } |
+ return this.super$JsObject$$index(this, index); |
+ }, |
+ $indexSet: function(_, index, value) { |
+ var t1; |
+ if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(index)) { |
+ if (typeof index === "number" && Math.floor(index) === index) |
+ t1 = index < 0 || index >= this.get$length(this); |
+ else |
+ t1 = false; |
+ if (t1) |
+ H.throwExpression(P.RangeError$range(index, 0, this.get$length(this), null, null)); |
+ } |
+ this.super$JsObject$$indexSet(this, index, value); |
+ }, |
+ get$length: function(_) { |
+ var len = this._jsObject.length; |
+ if (typeof len === "number" && len >>> 0 === len) |
+ return len; |
+ throw H.wrapException(P.StateError$("Bad JsArray length")); |
+ }, |
+ set$length: function(_, $length) { |
+ this.super$JsObject$$indexSet(this, "length", $length); |
+ }, |
+ add$1: function(_, value) { |
+ this.callMethod$2("push", [value]); |
+ }, |
+ setRange$4: function(_, start, end, iterable, skipCount) { |
+ var $length, args, t1; |
+ P.JsArray__checkRange(start, end, this.get$length(this)); |
+ $length = end - start; |
+ if ($length === 0) |
+ return; |
+ args = [start, $length]; |
+ t1 = new H.SubListIterable(iterable, skipCount, null); |
+ t1.$builtinTypeInfo = [H.getRuntimeTypeArgument(iterable, "ListMixin", 0)]; |
+ C.JSArray_methods.addAll$1(args, t1.take$1(0, $length)); |
+ this.callMethod$2("splice", args); |
+ }, |
+ setRange$3: function($receiver, start, end, iterable) { |
+ return this.setRange$4($receiver, start, end, iterable, 0); |
+ }, |
+ static: {JsArray__checkRange: function(start, end, $length) { |
+ if (start > $length) |
+ throw H.wrapException(P.RangeError$range(start, 0, $length, null, null)); |
+ if (end < start || end > $length) |
+ throw H.wrapException(P.RangeError$range(end, start, $length, null, null)); |
+ }} |
+ }, |
+ JsObject_ListMixin: { |
+ "^": "JsObject+ListMixin;", |
+ $isList: 1, |
+ $asList: null, |
+ $isEfficientLength: 1 |
+ }, |
+ _convertToJS_closure: { |
+ "^": "Closure:3;", |
+ call$1: function(o) { |
+ var jsFunction = function(_call, f, captureThis) { |
+ return function() { |
+ return _call(f, captureThis, this, Array.prototype.slice.apply(arguments)); |
+ }; |
+ }(P._callDartFunction, o, false); |
+ P._defineProperty(jsFunction, $.get$_DART_CLOSURE_PROPERTY_NAME(), o); |
+ return jsFunction; |
+ } |
+ }, |
+ _convertToJS_closure0: { |
+ "^": "Closure:3;_captured_ctor_0", |
+ call$1: function(o) { |
+ return new this._captured_ctor_0(o); |
+ } |
+ }, |
+ _wrapToDart_closure: { |
+ "^": "Closure:3;", |
+ call$1: function(o) { |
+ return new P.JsFunction(o); |
+ } |
+ }, |
+ _wrapToDart_closure0: { |
+ "^": "Closure:3;", |
+ call$1: function(o) { |
+ return H.setRuntimeTypeInfo(new P.JsArray(o), [null]); |
+ } |
+ }, |
+ _wrapToDart_closure1: { |
+ "^": "Closure:3;", |
+ call$1: function(o) { |
+ return new P.JsObject(o); |
+ } |
+ } |
+}], |
["dart.math", "dart:math", , P, { |
"^": "", |
_JenkinsSmiHash_combine0: function(hash, value) { |
@@ -11461,7 +12045,6 @@ var dart = [ |
return 536870911 & hash + ((16383 & hash) << 15 >>> 0); |
}, |
max: [function(a, b) { |
- var t1; |
if (typeof a !== "number") |
throw H.wrapException(P.ArgumentError$(a)); |
if (typeof b !== "number") |
@@ -11478,11 +12061,7 @@ var dart = [ |
return b; |
return a; |
} |
- if (b === 0) |
- t1 = a === 0 ? 1 / a < 0 : a < 0; |
- else |
- t1 = false; |
- if (t1) |
+ if (b === 0 && C.JSNumber_methods.get$isNegative(a)) |
return b; |
return a; |
}, "call$2", "max$closure", 4, 0, 72] |
@@ -11519,13 +12098,34 @@ var dart = [ |
return end; |
}, |
$isNativeTypedData: 1, |
- "%": "DataView;ArrayBufferView;NativeTypedArray|NativeTypedArray_ListMixin|NativeTypedArray_ListMixin_FixedLengthListMixin|NativeTypedArrayOfDouble|NativeTypedArray_ListMixin0|NativeTypedArray_ListMixin_FixedLengthListMixin0|NativeTypedArrayOfInt" |
+ $isTypedData: 1, |
+ "%": ";ArrayBufferView;NativeTypedArray|NativeTypedArray_ListMixin|NativeTypedArray_ListMixin_FixedLengthListMixin|NativeTypedArrayOfDouble|NativeTypedArray_ListMixin0|NativeTypedArray_ListMixin_FixedLengthListMixin0|NativeTypedArrayOfInt" |
+ }, |
+ NativeByteData: { |
+ "^": "NativeTypedData;", |
+ $isTypedData: 1, |
+ "%": "DataView" |
}, |
NativeTypedArray: { |
"^": "NativeTypedData;", |
get$length: function(receiver) { |
return receiver.length; |
}, |
+ _setRangeFast$4: function(receiver, start, end, source, skipCount) { |
+ var t1, count, sourceLength; |
+ t1 = receiver.length + 1; |
+ this._checkIndex$2(receiver, start, t1); |
+ this._checkIndex$2(receiver, end, t1); |
+ if (start > end) |
+ throw H.wrapException(P.RangeError$range(start, 0, end, null, null)); |
+ count = end - start; |
+ sourceLength = source.length; |
+ if (sourceLength - skipCount < count) |
+ throw H.wrapException(P.StateError$("Not enough elements")); |
+ if (skipCount !== 0 || sourceLength !== count) |
+ source = source.subarray(skipCount, skipCount + count); |
+ receiver.set(source, start); |
+ }, |
$isJavaScriptIndexingBehavior: 1, |
$isJSIndexable: 1 |
}, |
@@ -11542,6 +12142,16 @@ var dart = [ |
if (index >>> 0 !== index || index >= t1) |
this._invalidIndex$2(receiver, index, t1); |
receiver[index] = value; |
+ }, |
+ setRange$4: function(receiver, start, end, iterable, skipCount) { |
+ if (!!J.getInterceptor(iterable).$isNativeTypedArrayOfDouble) { |
+ this._setRangeFast$4(receiver, start, end, iterable, skipCount); |
+ return; |
+ } |
+ this.super$ListMixin$setRange$4(receiver, start, end, iterable, skipCount); |
+ }, |
+ setRange$3: function($receiver, start, end, iterable) { |
+ return this.setRange$4($receiver, start, end, iterable, 0); |
} |
}, |
NativeTypedArray_ListMixin: { |
@@ -11563,6 +12173,16 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
receiver[index] = value; |
}, |
+ setRange$4: function(receiver, start, end, iterable, skipCount) { |
+ if (!!J.getInterceptor(iterable).$isNativeTypedArrayOfInt) { |
+ this._setRangeFast$4(receiver, start, end, iterable, skipCount); |
+ return; |
+ } |
+ this.super$ListMixin$setRange$4(receiver, start, end, iterable, skipCount); |
+ }, |
+ setRange$3: function($receiver, start, end, iterable) { |
+ return this.setRange$4($receiver, start, end, iterable, 0); |
+ }, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11582,6 +12202,7 @@ var dart = [ |
}, |
NativeFloat32List: { |
"^": "NativeTypedArrayOfDouble;", |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$double]; |
@@ -11591,6 +12212,7 @@ var dart = [ |
}, |
NativeFloat64List: { |
"^": "NativeTypedArrayOfDouble;", |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$double]; |
@@ -11606,6 +12228,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11621,6 +12244,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11636,6 +12260,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11651,6 +12276,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11666,6 +12292,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11684,6 +12311,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11702,6 +12330,7 @@ var dart = [ |
this._invalidIndex$2(receiver, index, t1); |
return receiver[index]; |
}, |
+ $isTypedData: 1, |
$isList: 1, |
$asList: function() { |
return [P.$int]; |
@@ -11733,12 +12362,12 @@ var dart = [ |
["frame", "package:stack_trace/src/frame.dart", , S, { |
"^": "", |
Frame: { |
- "^": "Object;uri<,line,column,member<", |
+ "^": "Object;uri<,line<,column<,member<", |
get$isCore: function() { |
return this.uri.scheme === "dart"; |
}, |
get$library: function() { |
- return $.get$context().prettyUri$1(this.uri); |
+ return $.get$context0().prettyUri$1(this.uri); |
}, |
get$$package: function() { |
var t1 = this.uri; |
@@ -11750,11 +12379,11 @@ var dart = [ |
var t1, t2; |
t1 = this.line; |
if (t1 == null) |
- return $.get$context().prettyUri$1(this.uri); |
+ return $.get$context0().prettyUri$1(this.uri); |
t2 = this.column; |
if (t2 == null) |
- return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1); |
- return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1) + ":" + H.S(t2); |
+ return $.get$context0().prettyUri$1(this.uri) + " " + H.S(t1); |
+ return $.get$context0().prettyUri$1(this.uri) + " " + H.S(t1) + ":" + H.S(t2); |
}, |
toString$0: function(_) { |
return this.get$location(this) + " in " + H.S(this.member); |
@@ -11808,13 +12437,13 @@ var dart = [ |
return P.Uri_Uri$file(uriOrPath, true); |
else if (t1.startsWith$1(uriOrPath, "/")) |
return P.Uri_Uri$file(uriOrPath, false); |
- if (C.JSString_methods.contains$1(uriOrPath, "\\")) |
+ if (t1.contains$1(uriOrPath, "\\") === true) |
return $.get$windows().toUri$1(uriOrPath); |
return P.Uri_parse(uriOrPath, 0, null); |
}} |
}, |
Frame_Frame$parseV8_parseLocation: { |
- "^": "Closure:40;_captured_frame_0", |
+ "^": "Closure:41;_captured_frame_0", |
call$2: function($location, member) { |
var t1, evalMatch, t2, urlMatch, t3; |
t1 = $.get$_v8EvalLocation(); |
@@ -11893,7 +12522,7 @@ var dart = [ |
} |
}, |
_convertDartToNative_PrepareForStructuredClone_walk: { |
- "^": "Closure:2;_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlot_7", |
+ "^": "Closure:3;_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlot_7", |
call$1: function(e) { |
var t1, t2, slot, copy, $length, i; |
t1 = {}; |
@@ -11914,6 +12543,8 @@ var dart = [ |
return e; |
if (!!t2.$isBlob) |
return e; |
+ if (!!t2.$isImageData) |
+ return e; |
if (!!t2.$isNativeByteBuffer) |
return e; |
if (!!t2.$isNativeTypedData) |
@@ -11955,10 +12586,10 @@ var dart = [ |
} |
}, |
_convertDartToNative_PrepareForStructuredClone_walk_closure: { |
- "^": "Closure:40;_html_common$_box_0,_captured_walk_8", |
- call$2: function(key, value) { |
+ "^": "Closure:41;_html_common$_box_0,_captured_walk_8", |
+ call$2: [function(key, value) { |
this._html_common$_box_0._captured_copy_0[key] = this._captured_walk_8.call$1(value); |
- } |
+ }, null, null, 4, 0, null, 35, 12, "call"] |
}, |
convertNativeToDart_AcceptStructuredClone_findSlot: { |
"^": "Closure:50;_captured_values_0,_captured_copies_1", |
@@ -11995,7 +12626,7 @@ var dart = [ |
} |
}, |
convertNativeToDart_AcceptStructuredClone_walk: { |
- "^": "Closure:2;_captured_mustCopy_4,_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlot_7", |
+ "^": "Closure:3;_captured_mustCopy_4,_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlot_7", |
call$1: function(e) { |
var proto, slot, copy, t1, key, $length, t2, i; |
if (e == null) |
@@ -12049,7 +12680,7 @@ var dart = [ |
"^": "", |
LazyTrace: { |
"^": "Object;_thunk,_inner", |
- get$_trace: function() { |
+ get$_lazy_trace$_trace: function() { |
var t1 = this._inner; |
if (t1 == null) { |
t1 = this._thunk$0(); |
@@ -12061,7 +12692,7 @@ var dart = [ |
return new S.LazyTrace(new S.LazyTrace_terse_closure(this), null); |
}, |
toString$0: function(_) { |
- return J.toString$0(this.get$_trace()); |
+ return J.toString$0(this.get$_lazy_trace$_trace()); |
}, |
_thunk$0: function() { |
return this._thunk.call$0(); |
@@ -12071,7 +12702,7 @@ var dart = [ |
LazyTrace_terse_closure: { |
"^": "Closure:0;_lazy_trace$_captured_this_0", |
call$0: function() { |
- return this._lazy_trace$_captured_this_0.get$_trace().get$terse(); |
+ return this._lazy_trace$_captured_this_0.get$_lazy_trace$_trace().get$terse(); |
} |
} |
}], |
@@ -12177,7 +12808,7 @@ var dart = [ |
} |
}, |
Context: { |
- "^": "Object;style,_context0$_current", |
+ "^": "Object;style,_context1$_current", |
join$8: function(_, part1, part2, part3, part4, part5, part6, part7, part8) { |
var parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, part6, part7, part8], [P.String]); |
F._validateArgList("join", parts); |
@@ -12189,7 +12820,7 @@ var dart = [ |
joinAll$1: function(parts) { |
var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, part, parsed, t4, t5; |
buffer = new P.StringBuffer(""); |
- for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_joinAll_closure()), [H.getRuntimeTypeArgument(parts, "IterableBase", 0)]), t1 = H.setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterator, needsSeparator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0();) { |
+ for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_joinAll_closure()), [H.getRuntimeTypeArgument(parts, "IterableBase", 0)]), t1 = H.setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1._iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterator, needsSeparator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0();) { |
part = t3.get$current(); |
if (t2.isRootRelative$1(part) && isAbsoluteAndNotRootRelative) { |
parsed = Q.ParsedPath_ParsedPath$parse(part, t2); |
@@ -12206,7 +12837,7 @@ var dart = [ |
} |
buffer._contents = ""; |
buffer._contents += parsed.toString$0(0); |
- } else if (t2.rootLength$1(part) > 0) { |
+ } else if (J.$gt$n(t2.rootLength$1(part), 0)) { |
isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(part); |
buffer._contents = ""; |
buffer._contents += H.S(part); |
@@ -12242,16 +12873,16 @@ var dart = [ |
}, |
relative$2$from: function(path, from) { |
var t1, t2, fromParsed, pathParsed, t3; |
- from = this._context0$_current; |
+ from = this._context1$_current; |
from = from != null ? from : B.current(); |
t1 = this.style; |
- if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) |
+ if (!J.$gt$n(t1.rootLength$1(from), 0) && J.$gt$n(t1.rootLength$1(path), 0)) |
return this.normalize$1(path); |
- if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) { |
- t2 = this._context0$_current; |
+ if (!J.$gt$n(t1.rootLength$1(path), 0) || t1.isRootRelative$1(path)) { |
+ t2 = this._context1$_current; |
path = this.join$8(0, t2 != null ? t2 : B.current(), path, null, null, null, null, null, null); |
} |
- if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) |
+ if (!J.$gt$n(t1.rootLength$1(path), 0) && J.$gt$n(t1.rootLength$1(from), 0)) |
throw H.wrapException(E.PathException$("Unable to find a path to \"" + path + "\" from \"" + H.S(from) + "\".")); |
fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1); |
fromParsed.normalize$0(); |
@@ -12326,10 +12957,10 @@ var dart = [ |
toUri$1: function(path) { |
var t1, t2; |
t1 = this.style; |
- if (t1.rootLength$1(path) <= 0) |
+ if (!J.$gt$n(t1.rootLength$1(path), 0)) |
return t1.relativePathToUri$1(path); |
else { |
- t2 = this._context0$_current; |
+ t2 = this._context1$_current; |
return t1.absolutePathToUri$1(this.join$2(0, t2 != null ? t2 : B.current(), path)); |
} |
}, |
@@ -12372,28 +13003,28 @@ var dart = [ |
}} |
}, |
Context_join_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(part) { |
return part != null; |
} |
}, |
Context_joinAll_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(part) { |
return !J.$eq(part, ""); |
} |
}, |
Context_split_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(part) { |
return J.get$isEmpty$asx(part) !== true; |
} |
}, |
_validateArgList_closure: { |
- "^": "Closure:2;", |
- call$1: function(arg) { |
+ "^": "Closure:3;", |
+ call$1: [function(arg) { |
return arg == null ? "null" : "\"" + H.S(arg) + "\""; |
- } |
+ }, null, null, 2, 0, null, 20, "call"] |
} |
}], |
["path.internal_style", "package:path/src/internal_style.dart", , E, { |
@@ -12402,7 +13033,7 @@ var dart = [ |
"^": "Style;", |
getRoot$1: function(path) { |
var $length = this.rootLength$1(path); |
- if ($length > 0) |
+ if (J.$gt$n($length, 0)) |
return J.substring$2$s(path, 0, $length); |
return this.isRootRelative$1(path) ? J.$index$asx(path, 0) : null; |
}, |
@@ -12441,7 +13072,7 @@ var dart = [ |
t1[t2 - 1] = ""; |
}, |
normalize$0: function() { |
- var newParts, t1, leadingDoubles, part, t2, newSeparators; |
+ var newParts, t1, leadingDoubles, part, t2, newSeparators, t3; |
newParts = H.setRuntimeTypeInfo([], [P.String]); |
for (t1 = this.parts, t1 = new J.ArrayIterator(t1, t1.length, 0, null), leadingDoubles = 0; t1.moveNext$0();) { |
part = t1.__interceptors$_current; |
@@ -12466,7 +13097,14 @@ var dart = [ |
this.parts = newParts; |
this.separators = newSeparators; |
t1 = this.root; |
- if (t1 != null && this.style === $.get$Style_windows()) |
+ if (t1 != null) { |
+ t2 = this.style; |
+ t3 = $.get$Style_windows(); |
+ t3 = t2 == null ? t3 == null : t2 === t3; |
+ t2 = t3; |
+ } else |
+ t2 = false; |
+ if (t2) |
this.root = J.replaceAll$2$s(t1, "/", "\\"); |
this.removeTrailingSeparators$0(); |
}, |
@@ -12513,10 +13151,8 @@ var dart = [ |
if (!(i < t2)) |
break; |
if (style.isSeparator$1(t1.codeUnitAt$1(path, i))) { |
- parts.push(C.JSString_methods.substring$2(path, start, i)); |
- if (i >= path.length) |
- return H.ioore(path, i); |
- separators.push(path[i]); |
+ parts.push(t1.substring$2(path, start, i)); |
+ separators.push(t1.$index(path, i)); |
start = i + 1; |
} |
++i; |
@@ -12532,9 +13168,9 @@ var dart = [ |
}} |
}, |
ParsedPath_normalize_closure: { |
- "^": "Closure:2;_captured_this_0", |
+ "^": "Closure:3;_parsed_path$_captured_this_0", |
call$1: function(_) { |
- return this._captured_this_0.style.get$separator(); |
+ return this._parsed_path$_captured_this_0.style.get$separator(); |
} |
} |
}], |
@@ -12625,21 +13261,22 @@ var dart = [ |
return false; |
if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47) |
return true; |
- return C.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === path.length; |
+ return t1.endsWith$1(path, "://") && J.$eq(this.rootLength$1(path), t1.get$length(path)); |
}, |
rootLength$1: function(path) { |
- var t1, index; |
+ var t1, index, t2; |
t1 = J.getInterceptor$asx(path); |
if (t1.get$isEmpty(path) === true) |
return 0; |
if (t1.codeUnitAt$1(path, 0) === 47) |
return 1; |
- index = C.JSString_methods.indexOf$1(path, "/"); |
- if (index > 0 && C.JSString_methods.startsWith$2(path, "://", index - 1)) { |
- index = C.JSString_methods.indexOf$2(path, "/", index + 2); |
- if (index > 0) |
+ index = t1.indexOf$1(path, "/"); |
+ t2 = J.getInterceptor$n(index); |
+ if (t2.$gt(index, 0) && t1.startsWith$2(path, "://", t2.$sub(index, 1))) { |
+ index = t1.indexOf$2(path, "/", t2.$add(index, 2)); |
+ if (J.$gt$n(index, 0)) |
return index; |
- return path.length; |
+ return t1.get$length(path); |
} |
return 0; |
}, |
@@ -12676,42 +13313,42 @@ var dart = [ |
return !(t1 === 47 || t1 === 92); |
}, |
rootLength$1: function(path) { |
- var t1, index; |
+ var t1, index, t2; |
t1 = J.getInterceptor$asx(path); |
if (t1.get$isEmpty(path) === true) |
return 0; |
if (t1.codeUnitAt$1(path, 0) === 47) |
return 1; |
- if (C.JSString_methods.codeUnitAt$1(path, 0) === 92) { |
- t1 = path.length; |
- if (t1 < 2 || C.JSString_methods.codeUnitAt$1(path, 1) !== 92) |
+ if (t1.codeUnitAt$1(path, 0) === 92) { |
+ if (J.$lt$n(t1.get$length(path), 2) || t1.codeUnitAt$1(path, 1) !== 92) |
return 1; |
- index = C.JSString_methods.indexOf$2(path, "\\", 2); |
- if (index > 0) { |
- index = C.JSString_methods.indexOf$2(path, "\\", index + 1); |
- if (index > 0) |
+ index = t1.indexOf$2(path, "\\", 2); |
+ t2 = J.getInterceptor$n(index); |
+ if (t2.$gt(index, 0)) { |
+ index = t1.indexOf$2(path, "\\", t2.$add(index, 1)); |
+ if (J.$gt$n(index, 0)) |
return index; |
} |
- return t1; |
+ return t1.get$length(path); |
} |
- if (path.length < 3) |
+ if (J.$lt$n(t1.get$length(path), 3)) |
return 0; |
- t1 = C.JSString_methods.codeUnitAt$1(path, 0); |
- if (!(t1 >= 65 && t1 <= 90)) |
- t1 = t1 >= 97 && t1 <= 122; |
+ t2 = t1.codeUnitAt$1(path, 0); |
+ if (!(t2 >= 65 && t2 <= 90)) |
+ t2 = t2 >= 97 && t2 <= 122; |
else |
- t1 = true; |
- if (!t1) |
+ t2 = true; |
+ if (!t2) |
return 0; |
- if (C.JSString_methods.codeUnitAt$1(path, 1) !== 58) |
+ if (t1.codeUnitAt$1(path, 1) !== 58) |
return 0; |
- t1 = C.JSString_methods.codeUnitAt$1(path, 2); |
+ t1 = t1.codeUnitAt$1(path, 2); |
if (!(t1 === 47 || t1 === 92)) |
return 0; |
return 3; |
}, |
isRootRelative$1: function(path) { |
- return this.rootLength$1(path) === 1; |
+ return J.$eq(this.rootLength$1(path), 1); |
}, |
pathFromUri$1: function(uri) { |
var t1, path; |
@@ -12749,7 +13386,7 @@ var dart = [ |
} |
}, |
WindowsStyle_absolutePathToUri_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(part) { |
return !J.$eq(part, ""); |
} |
@@ -12758,15 +13395,19 @@ var dart = [ |
["stack_trace.src.utils", "package:stack_trace/src/utils.dart", , N, { |
"^": "", |
padRight: function(string, $length) { |
- var t1, t2, i; |
- t1 = J.get$length$asx(string); |
+ var t1, t2, result, i; |
+ t1 = J.getInterceptor$asx(string); |
+ t2 = t1.get$length(string); |
if (typeof $length !== "number") |
return H.iae($length); |
- if (t1 >= $length) |
+ if (t2 >= $length) |
return string; |
- for (t1 = $length - string.length, t2 = string, i = 0; i < t1; ++i) |
- t2 += " "; |
- return t2.charCodeAt(0) == 0 ? t2 : t2; |
+ result = new P.StringBuffer(""); |
+ result._contents = H.S(string); |
+ for (i = 0; i < $length - t1.get$length(string); ++i) |
+ result._contents += " "; |
+ t1 = result._contents; |
+ return t1.charCodeAt(0) == 0 ? t1 : t1; |
} |
}], |
["test.multi_channel", "package:test/src/util/multi_channel.dart", , V, { |
@@ -12824,7 +13465,7 @@ var dart = [ |
this._innerSink = null; |
for (var t1 = this._sinkControllers, t1 = t1.get$values(t1), t1 = P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)), t1 = new J.ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();) |
J.close$0$x(t1.__interceptors$_current); |
- }, "call$0", "get$_closeInnerChannel", 0, 0, 1], |
+ }, "call$0", "get$_closeInnerChannel", 0, 0, 2], |
_MultiChannel$2: function(_innerStream, _innerSink) { |
var t1, t2; |
t1 = this._streamController; |
@@ -12841,24 +13482,24 @@ var dart = [ |
}} |
}, |
_MultiChannel_closure: { |
- "^": "Closure:2;_multi_channel$_captured_this_0", |
- call$1: function(message) { |
+ "^": "Closure:3;_multi_channel$_captured_this_0", |
+ call$1: [function(message) { |
var t1 = this._multi_channel$_captured_this_0._innerSink._async$_target; |
if (t1._state >= 4) |
H.throwExpression(t1._badEventState$0()); |
t1._async$_add$1([0, message]); |
return; |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_MultiChannel_closure0: { |
- "^": "Closure:0;_multi_channel$_captured_this_1", |
- call$0: function() { |
- return this._multi_channel$_captured_this_1._closeChannel$2(0, 0); |
- } |
+ "^": "Closure:0;_captured_this_1", |
+ call$0: [function() { |
+ return this._captured_this_1._closeChannel$2(0, 0); |
+ }, null, null, 0, 0, null, "call"] |
}, |
_MultiChannel_closure1: { |
- "^": "Closure:2;_multi_channel$_captured_this_2", |
- call$1: function(message) { |
+ "^": "Closure:3;_multi_channel$_captured_this_2", |
+ call$1: [function(message) { |
var t1, id, t2, sink; |
t1 = J.getInterceptor$asx(message); |
id = t1.$index(message, 0); |
@@ -12871,27 +13512,27 @@ var dart = [ |
return; |
} |
J.close$0$x(t2._sinkControllers.$index(0, id)); |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_MultiChannel_virtualChannel_closure: { |
- "^": "Closure:2;_multi_channel$_box_0,_multi_channel$_captured_this_1", |
- call$1: function(message) { |
+ "^": "Closure:3;_multi_channel$_box_0,_captured_this_1", |
+ call$1: [function(message) { |
var t1, t2; |
- t1 = this._multi_channel$_captured_this_1._innerSink; |
+ t1 = this._captured_this_1._innerSink; |
t2 = this._multi_channel$_box_0._captured_outputId_1; |
t1 = t1._async$_target; |
if (t1._state >= 4) |
H.throwExpression(t1._badEventState$0()); |
t1._async$_add$1([t2, message]); |
return; |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_MultiChannel_virtualChannel_closure0: { |
"^": "Closure:0;_multi_channel$_box_0,_multi_channel$_captured_this_2", |
- call$0: function() { |
+ call$0: [function() { |
var t1 = this._multi_channel$_box_0; |
return this._multi_channel$_captured_this_2._closeChannel$2(t1._captured_inputId_0, t1._captured_outputId_1); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
VirtualChannel: { |
"^": "StreamChannelMixin;_parent,id,stream,sink" |
@@ -12900,8 +13541,11 @@ var dart = [ |
["test.runner.browser.host", "host.dart", , R, { |
"^": "", |
main: [function() { |
+ var testRunner = J.$index$asx($.get$context(), "testRunner"); |
+ if (testRunner != null) |
+ testRunner.callMethod$2("waitUntilDone", []); |
P.runZoned(new R.main_closure(), new R.main_closure0(), null, null); |
- }, "call$0", "main$closure", 0, 0, 1], |
+ }, "call$0", "main$closure", 0, 0, 2], |
_connectToServer: function() { |
var currentUrl, t1, webSocket, inputController, outputController; |
currentUrl = P.Uri_parse(window.location.href, 0, null); |
@@ -12914,7 +13558,7 @@ var dart = [ |
webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "managerUrl"), null); |
inputController = P.StreamController_StreamController(null, null, null, null, true, null); |
t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [null]); |
- H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(new R._connectToServer_closure(inputController)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
+ H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone(new R._connectToServer_closure(inputController)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
outputController = P.StreamController_StreamController(null, null, null, null, true, null); |
H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).listen$1(new R._connectToServer_closure0(webSocket)); |
return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); |
@@ -12928,37 +13572,37 @@ var dart = [ |
outputController = P.StreamController_StreamController(null, null, null, null, true, null); |
readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); |
t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [null]); |
- H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(new R._connectToIframe_closure(iframe, inputController, readyCompleter)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
+ H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone(new R._connectToIframe_closure(iframe, inputController, readyCompleter)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).listen$1(new R._connectToIframe_closure0(iframe, readyCompleter)); |
return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P._ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])), [null]); |
}, |
main_closure: { |
"^": "Closure:0;", |
- call$0: function() { |
+ call$0: [function() { |
var serverChannel = R._connectToServer(); |
H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamController), [null]).listen$1(new R.main__closure(serverChannel)); |
- } |
+ }, null, null, 0, 0, null, "call"] |
}, |
main__closure: { |
- "^": "Closure:2;_captured_serverChannel_0", |
- call$1: function(message) { |
+ "^": "Closure:3;_captured_serverChannel_0", |
+ call$1: [function(message) { |
var t1, suiteChannel, iframeChannel; |
t1 = J.getInterceptor$asx(message); |
suiteChannel = this._captured_serverChannel_0.virtualChannel$1(t1.$index(message, "channel")); |
iframeChannel = R._connectToIframe(t1.$index(message, "url")); |
suiteChannel.stream.pipe$1(iframeChannel.sink); |
iframeChannel.stream.pipe$1(suiteChannel.sink); |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
main_closure0: { |
- "^": "Closure:40;", |
- call$2: function(error, stackTrace) { |
+ "^": "Closure:41;", |
+ call$2: [function(error, stackTrace) { |
P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse())); |
- } |
+ }, null, null, 4, 0, null, 14, 15, "call"] |
}, |
_connectToServer_closure: { |
- "^": "Closure:2;_captured_inputController_0", |
- call$1: function(message) { |
+ "^": "Closure:3;_captured_inputController_0", |
+ call$1: [function(message) { |
var t1, t2; |
t1 = this._captured_inputController_0; |
t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message)); |
@@ -12966,17 +13610,17 @@ var dart = [ |
H.throwExpression(t1._badEventState$0()); |
t1._async$_add$1(t2); |
return; |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_connectToServer_closure0: { |
- "^": "Closure:2;_captured_webSocket_1", |
- call$1: function(message) { |
+ "^": "Closure:3;_captured_webSocket_1", |
+ call$1: [function(message) { |
return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(message)); |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_connectToIframe_closure: { |
- "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_readyCompleter_2", |
- call$1: function(message) { |
+ "^": "Closure:3;_captured_iframe_0,_captured_inputController_1,_captured_readyCompleter_2", |
+ call$1: [function(message) { |
var t1, t2, t3; |
t1 = J.getInterceptor$x(message); |
t2 = t1.get$origin(message); |
@@ -12985,29 +13629,29 @@ var dart = [ |
return; |
if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._captured_iframe_0))) |
return; |
- message.stopPropagation(); |
- t1 = this._captured_inputController_1; |
- t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data, true), "data"); |
- if (t1._state >= 4) |
- H.throwExpression(t1._badEventState$0()); |
- t1._async$_add$1(t2); |
+ t1.stopPropagation$0(message); |
+ t2 = this._captured_inputController_1; |
+ t1 = J.$index$asx(t1.get$data(message), "data"); |
+ if (t2._state >= 4) |
+ H.throwExpression(t2._badEventState$0()); |
+ t2._async$_add$1(t1); |
this._captured_readyCompleter_2.complete$0(0); |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_connectToIframe_closure0: { |
- "^": "Closure:2;_captured_iframe_3,_captured_readyCompleter_4", |
- call$1: function(message) { |
+ "^": "Closure:3;_captured_iframe_3,_captured_readyCompleter_4", |
+ call$1: [function(message) { |
this._captured_readyCompleter_4.future.then$1(new R._connectToIframe__closure(this._captured_iframe_3, message)); |
- } |
+ }, null, null, 2, 0, null, 41, "call"] |
}, |
_connectToIframe__closure: { |
- "^": "Closure:2;_captured_iframe_5,_captured_message_6", |
- call$1: function(_) { |
+ "^": "Closure:3;_captured_iframe_5,_captured_message_6", |
+ call$1: [function(_) { |
var t1, t2; |
t1 = J.get$contentWindow$x(this._captured_iframe_5); |
t2 = window.location; |
return J.postMessage$2$x(t1, this._captured_message_6, (t2 && C.Location_methods).get$origin(t2)); |
- } |
+ }, null, null, 2, 0, null, 26, "call"] |
} |
}, |
1], |
@@ -13035,11 +13679,11 @@ var dart = [ |
t1._captured_predicate_0 = new R.Trace_foldFrames_closure(predicate); |
newFrames = []; |
for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator(t2, t2.get$length(t2), 0, null); t2.moveNext$0();) { |
- frame = t2._current; |
+ frame = t2.__internal$_current; |
if (t1._captured_predicate_0.call$1(frame) !== true) |
newFrames.push(frame); |
else if (newFrames.length === 0 || t1._captured_predicate_0.call$1(C.JSArray_methods.get$last(newFrames)) !== true) |
- newFrames.push(new S.Frame(frame.get$uri(), frame.line, frame.column, frame.member)); |
+ newFrames.push(new S.Frame(frame.get$uri(), frame.get$line(), frame.get$column(), frame.get$member())); |
} |
if (terse) { |
newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); |
@@ -13113,39 +13757,39 @@ var dart = [ |
} |
}, |
Trace$parseVM_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(line) { |
return J.get$isNotEmpty$asx(line); |
} |
}, |
Trace$parseVM_closure0: { |
- "^": "Closure:2;", |
- call$1: function(line) { |
+ "^": "Closure:3;", |
+ call$1: [function(line) { |
return S.Frame_Frame$parseVM(line); |
- } |
+ }, null, null, 2, 0, null, 23, "call"] |
}, |
Trace$parseV8_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(line) { |
return !J.startsWith$1$s(line, $.get$_v8TraceLine()); |
} |
}, |
Trace$parseV8_closure0: { |
- "^": "Closure:2;", |
- call$1: function(line) { |
+ "^": "Closure:3;", |
+ call$1: [function(line) { |
return S.Frame_Frame$parseV8(line); |
- } |
+ }, null, null, 2, 0, null, 23, "call"] |
}, |
Trace$parseFirefox_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(line) { |
var t1 = J.getInterceptor$asx(line); |
return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]"); |
} |
}, |
Trace$parseFirefox_closure0: { |
- "^": "Closure:2;", |
- call$1: function(line) { |
+ "^": "Closure:3;", |
+ call$1: [function(line) { |
var match, t1, uri, t2, t3, member, column; |
match = $.get$_firefoxSafariFrame().firstMatch$1(line); |
if (match == null) |
@@ -13187,17 +13831,17 @@ var dart = [ |
column = H.Primitives_parseInt(t1[5], null, null); |
} |
return new S.Frame(uri, line, column, member); |
- } |
+ }, null, null, 2, 0, null, 23, "call"] |
}, |
Trace$parseFriendly_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(line) { |
return !J.startsWith$1$s(line, "====="); |
} |
}, |
Trace$parseFriendly_closure0: { |
- "^": "Closure:2;", |
- call$1: function(line) { |
+ "^": "Closure:3;", |
+ call$1: [function(line) { |
var match, t1, uri, t2, t3, t4, column; |
match = $.get$_friendlyFrame().firstMatch$1(line); |
if (match == null) |
@@ -13207,9 +13851,9 @@ var dart = [ |
return H.ioore(t1, 1); |
uri = P.Uri_parse(t1[1], 0, null); |
if (uri.scheme === "") { |
- t2 = $.get$context(); |
+ t2 = $.get$context0(); |
t3 = t2.fromUri$1(uri); |
- t4 = t2._context0$_current; |
+ t4 = t2._context1$_current; |
uri = t2.toUri$1(t2.join$8(0, t4 != null ? t4 : B.current(), t3, null, null, null, null, null, null)); |
} |
if (2 >= t1.length) |
@@ -13223,16 +13867,16 @@ var dart = [ |
if (4 >= t1.length) |
return H.ioore(t1, 4); |
return new S.Frame(uri, line, column, t1[4]); |
- } |
+ }, null, null, 2, 0, null, 23, "call"] |
}, |
Trace_terse_closure: { |
- "^": "Closure:2;", |
+ "^": "Closure:3;", |
call$1: function(_) { |
return false; |
} |
}, |
Trace_foldFrames_closure: { |
- "^": "Closure:2;_captured_oldPredicate_1", |
+ "^": "Closure:3;_captured_oldPredicate_1", |
call$1: function(frame) { |
if (this._captured_oldPredicate_1.call$1(frame) === true) |
return true; |
@@ -13240,34 +13884,34 @@ var dart = [ |
return true; |
if (J.$eq(frame.get$$package(), "stack_trace")) |
return true; |
- if (J.contains$1$asx(frame.member, "<async>") !== true) |
+ if (J.contains$1$asx(frame.get$member(), "<async>") !== true) |
return false; |
- return frame.line == null; |
+ return frame.get$line() == null; |
} |
}, |
Trace_foldFrames_closure0: { |
- "^": "Closure:2;_trace$_box_0", |
- call$1: function(frame) { |
+ "^": "Closure:3;_trace$_box_0", |
+ call$1: [function(frame) { |
var t1, t2; |
if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) |
return frame; |
t1 = frame.get$library(); |
t2 = $.get$_terseRegExp(); |
H.checkString(""); |
- return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0, null), null, null, frame.member); |
- } |
+ return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0, null), null, null, frame.get$member()); |
+ }, null, null, 2, 0, null, 42, "call"] |
}, |
Trace_toString_closure0: { |
- "^": "Closure:2;", |
- call$1: function(frame) { |
+ "^": "Closure:3;", |
+ call$1: [function(frame) { |
return J.get$length$asx(J.get$location$x(frame)); |
- } |
+ }, null, null, 2, 0, null, 42, "call"] |
}, |
Trace_toString_closure: { |
- "^": "Closure:2;_captured_longest_0", |
- call$1: function(frame) { |
+ "^": "Closure:3;_captured_longest_0", |
+ call$1: [function(frame) { |
return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0)) + " " + H.S(frame.get$member()) + "\n"; |
- } |
+ }, null, null, 2, 0, null, 42, "call"] |
} |
}], |
]; |
@@ -13360,6 +14004,11 @@ J.$add$ns = function(receiver, a0) { |
return receiver + a0; |
return J.getInterceptor$ns(receiver).$add(receiver, a0); |
}; |
+J.$and$n = function(receiver, a0) { |
+ if (typeof receiver == "number" && typeof a0 == "number") |
+ return (receiver & a0) >>> 0; |
+ return J.getInterceptor$n(receiver).$and(receiver, a0); |
+}; |
J.$eq = function(receiver, a0) { |
if (receiver == null) |
return a0 == null; |
@@ -13393,6 +14042,9 @@ J.$lt$n = function(receiver, a0) { |
return receiver < a0; |
return J.getInterceptor$n(receiver).$lt(receiver, a0); |
}; |
+J.$shl$n = function(receiver, a0) { |
+ return J.getInterceptor$n(receiver).$shl(receiver, a0); |
+}; |
J.$sub$n = function(receiver, a0) { |
if (typeof receiver == "number" && typeof a0 == "number") |
return receiver - a0; |
@@ -13458,6 +14110,12 @@ J.get$message$x = function(receiver) { |
J.get$parent$x = function(receiver) { |
return J.getInterceptor$x(receiver).get$parent(receiver); |
}; |
+J.get$print$x = function(receiver) { |
+ return J.getInterceptor$x(receiver).get$print(receiver); |
+}; |
+J.get$result$x = function(receiver) { |
+ return J.getInterceptor$x(receiver).get$result(receiver); |
+}; |
J.get$src$x = function(receiver) { |
return J.getInterceptor$x(receiver).get$src(receiver); |
}; |
@@ -13470,6 +14128,9 @@ J.map$1$ax = function(receiver, a0) { |
J.matchAsPrefix$2$s = function(receiver, a0, a1) { |
return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); |
}; |
+J.noSuchMethod$1 = function(receiver, a0) { |
+ return J.getInterceptor(receiver).noSuchMethod$1(receiver, a0); |
+}; |
J.postMessage$2$x = function(receiver, a0, a1) { |
return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); |
}; |
@@ -13680,11 +14341,13 @@ C.List_JYB = Isolate.makeConstantList([0, 0, 26624, 1023, 65534, 2047, 65534, 20 |
C.List_WnV = Isolate.makeConstantList(["/", "\\"]); |
C.List_cSk = Isolate.makeConstantList(["/"]); |
C.List_empty = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.String]); |
+C.List_empty0 = Isolate.makeConstantList([]); |
C.List_gRj = Isolate.makeConstantList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]); |
C.List_nxB = Isolate.makeConstantList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]); |
C.List_qNA = Isolate.makeConstantList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]); |
C.List_qg4 = Isolate.makeConstantList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]); |
C.List_qg40 = Isolate.makeConstantList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]); |
+C.Symbol_call = new H.Symbol0("call"); |
C.Utf8Codec_false = new P.Utf8Codec(false); |
C._ZoneFunction_3bB = new P._ZoneFunction(C.C__RootZone, P._rootCreatePeriodicTimer$closure()); |
C._ZoneFunction_7G2 = new P._ZoneFunction(C.C__RootZone, P._rootRegisterBinaryCallback$closure()); |
@@ -13813,7 +14476,17 @@ $.Device__cachedCssPrefix = null; |
return P.HashMap_HashMap(null, null, null, null, null); |
}, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisiting", function() { |
return []; |
-}, "_toStringVisiting", "_vmFrame", "get$_vmFrame", function() { |
+}, "_toStringVisiting", "context", "get$context", function() { |
+ return P._wrapToDart(self); |
+}, "context", "_DART_OBJECT_PROPERTY_NAME", "get$_DART_OBJECT_PROPERTY_NAME", function() { |
+ return H.getIsolateAffinityTag("_$dart_dartObject"); |
+}, "_DART_OBJECT_PROPERTY_NAME", "_DART_CLOSURE_PROPERTY_NAME", "get$_DART_CLOSURE_PROPERTY_NAME", function() { |
+ return H.getIsolateAffinityTag("_$dart_dartClosure"); |
+}, "_DART_CLOSURE_PROPERTY_NAME", "_dartProxyCtor", "get$_dartProxyCtor", function() { |
+ return function DartObject(o) { |
+ this.o = o; |
+ }; |
+}, "_dartProxyCtor", "_vmFrame", "get$_vmFrame", function() { |
return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true, false); |
}, "_vmFrame", "_v8Frame", "get$_v8Frame", function() { |
return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", true, false); |
@@ -13835,7 +14508,7 @@ $.Device__cachedCssPrefix = null; |
return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); |
}, "_windowsRegExp", "windows", "get$windows", function() { |
return F.Context_Context(null, $.get$Style_windows()); |
-}, "windows", "context", "get$context", function() { |
+}, "windows", "context0", "get$context0", function() { |
return new F.Context($.get$Style_platform(), null); |
}, "context", "Style_posix", "get$Style_posix", function() { |
return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, false), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false), null); |
@@ -13859,8 +14532,8 @@ $.Device__cachedCssPrefix = null; |
; |
{ |
- init.metadata = [null]; |
- init.types = [{func: 1}, {func: 1, void: true}, {func: 1, args: [,]}, {func: 1, args: [, P.String]}, {func: 1, args: [P.String]}, {func: 1, args: [{func: 1, void: true}]}, {func: 1, void: true, args: [,], opt: [P.StackTrace]}, {func: 1, args: [,], opt: [,]}, {func: 1, ret: P.bool}, {func: 1, args: [P.bool]}, {func: 1, void: true, args: [P.Object], opt: [P.StackTrace]}, {func: 1, void: true, args: [P.Object, P.StackTrace]}, {func: 1, args: [, P.StackTrace]}, {func: 1, void: true, args: [, P.StackTrace]}, {func: 1, args: [P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues: P.Map}}, {func: 1, args: [{func: 1}]}, {func: 1, args: [{func: 1, args: [,]},,]}, {func: 1, args: [{func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [{func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [{func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Object, P.StackTrace]}, {func: 1, void: true, args: [{func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.String]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [,,]}, {func: 1, args: [P.String,,]}, {func: 1, ret: P.$int, args: [, P.$int]}, {func: 1, void: true, args: [P.$int, P.$int]}, {func: 1, args: [P.Symbol,,]}, {func: 1, ret: P.String, args: [P.$int]}, {func: 1, ret: P.bool, args: [P.$int]}, {func: 1, ret: P.$int, args: [,,]}, {func: 1, void: true, args: [P.String], opt: [,]}, {func: 1, ret: P.$int, args: [P.$int, P.$int]}, {func: 1, ret: P.$int, args: [,]}, {func: 1, args: [P.$int]}, {func: 1, args: [P.$int,,]}, {func: 1, void: true, args: [,]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.bool, args: [,,]}, {func: 1, ret: P.Object, args: [,]}, {func: 1, ret: P.bool, args: [P.Object, P.Object]}, {func: 1, ret: P.$int, args: [P.Object]}, {func: 1, ret: P.String, args: [P.String]}, {func: 1, ret: P.num, args: [P.num, P.num]}]; |
+ init.metadata = ["object", "sender", "e", "x", "closure", "isolate", "numberOfArguments", "arg1", "arg2", "arg3", "arg4", "each", "value", null, "error", "stackTrace", "self", "parent", "zone", "f", "arg", "duration", "callback", "line", "specification", "zoneValues", "_", "ignored", "element", "data", "s", "a", "k", "v", 0, "key", "encodedComponent", "byteString", "captureThis", "arguments", "o", "message", "frame"]; |
+ init.types = [{func: 1}, {func: 1, void: true, args: [, P.StackTrace]}, {func: 1, void: true}, {func: 1, args: [,]}, {func: 1, args: [P.String,,]}, {func: 1, args: [, P.String]}, {func: 1, args: [P.String]}, {func: 1, args: [{func: 1, void: true}]}, {func: 1, void: true, args: [,], opt: [P.StackTrace]}, {func: 1, args: [,], opt: [,]}, {func: 1, ret: P.bool}, {func: 1, args: [P.bool]}, {func: 1, void: true, args: [P.Object], opt: [P.StackTrace]}, {func: 1, void: true, args: [P.Object, P.StackTrace]}, {func: 1, args: [, P.StackTrace]}, {func: 1, args: [P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues: P.Map}}, {func: 1, args: [{func: 1}]}, {func: 1, args: [{func: 1, args: [,]},,]}, {func: 1, args: [{func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [{func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [{func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Object, P.StackTrace]}, {func: 1, void: true, args: [{func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.String]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [,,]}, {func: 1, ret: P.$int, args: [, P.$int]}, {func: 1, void: true, args: [P.$int, P.$int]}, {func: 1, args: [P.Symbol,,]}, {func: 1, ret: P.String, args: [P.$int]}, {func: 1, ret: P.bool, args: [P.$int]}, {func: 1, ret: P.$int, args: [,,]}, {func: 1, void: true, args: [P.String], opt: [,]}, {func: 1, ret: P.$int, args: [P.$int, P.$int]}, {func: 1, ret: P.$int, args: [,]}, {func: 1, args: [P.$int]}, {func: 1, args: [P.$int,,]}, {func: 1, void: true, args: [,]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.bool, args: [,,]}, {func: 1, ret: P.Object, args: [,]}, {func: 1, ret: P.bool, args: [P.Object, P.Object]}, {func: 1, ret: P.$int, args: [P.Object]}, {func: 1, ret: P.String, args: [P.String]}, {func: 1, ret: P.num, args: [P.num, P.num]}]; |
} |
$ = null; |