Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: lib/src/runner/browser/static/host.dart.js

Issue 1080103002: Add support for running tests on Dartium. (Closed) Base URL: git@github.com:dart-lang/test@wip.dartium
Patch Set: . Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.44 826. 1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.45 075.
2 // The code supports the following hooks: 2 // The code supports the following hooks:
3 // dartPrint(message): 3 // dartPrint(message):
4 // if this function is defined it is called instead of the Dart [print] 4 // if this function is defined it is called instead of the Dart [print]
5 // method. 5 // method.
6 // 6 //
7 // dartMainRunner(main, args): 7 // dartMainRunner(main, args):
8 // if this function is defined, the Dart [main] method will not be invoked 8 // if this function is defined, the Dart [main] method will not be invoked
9 // directly. Instead, a closure that will invoke [main], and its arguments 9 // directly. Instead, a closure that will invoke [main], and its arguments
10 // [args] is passed to [dartMainRunner]. 10 // [args] is passed to [dartMainRunner].
11 // 11 //
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 var X = map(); 54 var X = map();
55 var Y = map(); 55 var Y = map();
56 var Z = map(); 56 var Z = map();
57 function Isolate() {} 57 function Isolate() {}
58 init(); 58 init();
59 59
60 $ = Isolate.$isolateProperties; 60 $ = Isolate.$isolateProperties;
61 $.functionThatReturnsNull = function() { 61 $.functionThatReturnsNull = function() {
62 }; 62 };
63 ; 63 ;
64 function setupProgram(programData) { 64 function setupProgram(programData, typesOffset) {
65 "use strict"; 65 "use strict";
66 function generateAccessor(fieldDescriptor, accessors, cls) { 66 function generateAccessor(fieldDescriptor, accessors, cls) {
67 var fieldInformation = fieldDescriptor.split("-"); 67 var fieldInformation = fieldDescriptor.split("-");
68 var field = fieldInformation[0]; 68 var field = fieldInformation[0];
69 var len = field.length; 69 var len = field.length;
70 var code = field.charCodeAt(len - 1); 70 var code = field.charCodeAt(len - 1);
71 var reflectable; 71 var reflectable;
72 if (fieldInformation.length > 1) 72 if (fieldInformation.length > 1)
73 reflectable = true; 73 reflectable = true;
74 else 74 else
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 var d = properties[i]; 216 var d = properties[i];
217 if (!hasOwnProperty.call(clsPrototype, d)) 217 if (!hasOwnProperty.call(clsPrototype, d))
218 clsPrototype[d] = mixinPrototype[d]; 218 clsPrototype[d] = mixinPrototype[d];
219 } 219 }
220 } 220 }
221 if (!superclass || typeof superclass != "string") { 221 if (!superclass || typeof superclass != "string") {
222 var constructor = allClasses[cls]; 222 var constructor = allClasses[cls];
223 var prototype = constructor.prototype; 223 var prototype = constructor.prototype;
224 prototype.constructor = constructor; 224 prototype.constructor = constructor;
225 prototype.$isObject = constructor; 225 prototype.$isObject = constructor;
226 prototype.$deferredAction = markerFun; 226 prototype.$deferredAction = function() {
227 };
227 return; 228 return;
228 } 229 }
229 finishClass(superclass); 230 finishClass(superclass);
230 var superConstructor = allClasses[superclass]; 231 var superConstructor = allClasses[superclass];
231 if (!superConstructor) 232 if (!superConstructor)
232 superConstructor = existingIsolateProperties[superclass]; 233 superConstructor = existingIsolateProperties[superclass];
233 var constructor = allClasses[cls]; 234 var constructor = allClasses[cls];
234 var prototype = inheritFrom(constructor, superConstructor); 235 var prototype = inheritFrom(constructor, superConstructor);
236 if (mixinPrototype)
237 prototype.$deferredAction = mixinDeferredActionHelper(mixinPrototype, pr ototype);
235 if (Object.prototype.hasOwnProperty.call(prototype, "%")) { 238 if (Object.prototype.hasOwnProperty.call(prototype, "%")) {
236 var nativeSpec = prototype["%"].split(";"); 239 var nativeSpec = prototype["%"].split(";");
237 if (nativeSpec[0]) { 240 if (nativeSpec[0]) {
238 var tags = nativeSpec[0].split("|"); 241 var tags = nativeSpec[0].split("|");
239 for (var i = 0; i < tags.length; i++) { 242 for (var i = 0; i < tags.length; i++) {
240 init.interceptorsByTag[tags[i]] = constructor; 243 init.interceptorsByTag[tags[i]] = constructor;
241 init.leafTags[tags[i]] = true; 244 init.leafTags[tags[i]] = true;
242 } 245 }
243 } 246 }
244 if (nativeSpec[1]) { 247 if (nativeSpec[1]) {
245 tags = nativeSpec[1].split("|"); 248 tags = nativeSpec[1].split("|");
246 if (nativeSpec[2]) { 249 if (nativeSpec[2]) {
247 var subclasses = nativeSpec[2].split("|"); 250 var subclasses = nativeSpec[2].split("|");
248 for (var i = 0; i < subclasses.length; i++) { 251 for (var i = 0; i < subclasses.length; i++) {
249 var subclass = allClasses[subclasses[i]]; 252 var subclass = allClasses[subclasses[i]];
250 subclass.$nativeSuperclassTag = tags[0]; 253 subclass.$nativeSuperclassTag = tags[0];
251 } 254 }
252 } 255 }
253 for (i = 0; i < tags.length; i++) { 256 for (i = 0; i < tags.length; i++) {
254 init.interceptorsByTag[tags[i]] = constructor; 257 init.interceptorsByTag[tags[i]] = constructor;
255 init.leafTags[tags[i]] = false; 258 init.leafTags[tags[i]] = false;
256 } 259 }
257 } 260 }
258 if (constructor.prototype.$deferredAction) 261 prototype.$deferredAction();
259 finishAddStubsHelper(constructor.prototype);
260 } 262 }
261 if (prototype.$isInterceptor && constructor.prototype.$deferredAction) 263 if (prototype.$isInterceptor)
262 finishAddStubsHelper(constructor.prototype); 264 prototype.$deferredAction();
263 } 265 }
264 var properties = Object.keys(processedClasses.pending); 266 var properties = Object.keys(processedClasses.pending);
265 for (var i = 0; i < properties.length; i++) 267 for (var i = 0; i < properties.length; i++)
266 finishClass(properties[i]); 268 finishClass(properties[i]);
267 } 269 }
268 function finishAddStubsHelper(prototype) { 270 function finishAddStubsHelper() {
269 var prototype = prototype || this; 271 var prototype = this;
270 var object; 272 while (!prototype.hasOwnProperty("$deferredAction"))
271 while (prototype.$deferredAction != markerFun) { 273 prototype = prototype.__proto__;
272 if (prototype.hasOwnProperty("$deferredAction")) { 274 delete prototype.$deferredAction;
275 var properties = Object.keys(prototype);
276 for (var index = 0; index < properties.length; index++) {
277 var property = properties[index];
278 var firstChar = property.charCodeAt(0);
279 var elem;
280 if (property !== "^" && property !== "$reflectable" && firstChar !== 43 && firstChar !== 42 && (elem = prototype[property]) != null && elem.constructor == = Array && property !== "<>")
281 addStubs(prototype, elem, property, false, []);
282 }
283 convertToFastObject(prototype);
284 prototype = prototype.__proto__;
285 prototype.$deferredAction();
286 }
287 function mixinDeferredActionHelper(mixinPrototype, targetPrototype) {
288 var chain;
289 if (targetPrototype.hasOwnProperty("$deferredAction"))
290 chain = targetPrototype.$deferredAction;
291 return function foo() {
292 var prototype = this;
293 while (!prototype.hasOwnProperty("$deferredAction"))
294 prototype = prototype.__proto__;
295 if (chain)
296 prototype.$deferredAction = chain;
297 else {
273 delete prototype.$deferredAction; 298 delete prototype.$deferredAction;
274 var properties = Object.keys(prototype);
275 for (var index = 0; index < properties.length; index++) {
276 var property = properties[index];
277 var firstChar = property.charCodeAt(0);
278 var elem;
279 if (property !== "^" && property !== "$reflectable" && firstChar !== 4 3 && firstChar !== 42 && (elem = prototype[property]) != null && elem.constructo r === Array && property !== "<>")
280 addStubs(prototype, elem, property, false, []);
281 }
282 convertToFastObject(prototype); 299 convertToFastObject(prototype);
283 } 300 }
284 prototype = prototype.__proto__; 301 mixinPrototype.$deferredAction();
285 } 302 prototype.$deferredAction();
303 };
286 } 304 }
287 function processClassData(cls, descriptor, processedClasses) { 305 function processClassData(cls, descriptor, processedClasses) {
288 descriptor = convertToSlowObject(descriptor); 306 descriptor = convertToSlowObject(descriptor);
289 var previousProperty; 307 var previousProperty;
290 var properties = Object.keys(descriptor); 308 var properties = Object.keys(descriptor);
291 var hasDeferredWork = false; 309 var hasDeferredWork = false;
292 var shouldDeferWork = supportsDirectProtoAccess && cls != "Object"; 310 var shouldDeferWork = supportsDirectProtoAccess && cls != "Object";
293 for (var i = 0; i < properties.length; i++) { 311 for (var i = 0; i < properties.length; i++) {
294 var property = properties[i]; 312 var property = properties[i];
295 var firstChar = property.charCodeAt(0); 313 var firstChar = property.charCodeAt(0);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 var requiredParameterInfo = array[0]; 424 var requiredParameterInfo = array[0];
407 var requiredParameterCount = requiredParameterInfo >> 1; 425 var requiredParameterCount = requiredParameterInfo >> 1;
408 var isAccessor = (requiredParameterInfo & 1) === 1; 426 var isAccessor = (requiredParameterInfo & 1) === 1;
409 var isSetter = requiredParameterInfo === 3; 427 var isSetter = requiredParameterInfo === 3;
410 var isGetter = requiredParameterInfo === 1; 428 var isGetter = requiredParameterInfo === 1;
411 var optionalParameterInfo = array[1]; 429 var optionalParameterInfo = array[1];
412 var optionalParameterCount = optionalParameterInfo >> 1; 430 var optionalParameterCount = optionalParameterInfo >> 1;
413 var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1; 431 var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1;
414 var isIntercepted = requiredParameterCount + optionalParameterCount != funcs [0].length; 432 var isIntercepted = requiredParameterCount + optionalParameterCount != funcs [0].length;
415 var functionTypeIndex = array[2]; 433 var functionTypeIndex = array[2];
434 if (typeof functionTypeIndex == "number")
435 array[2] = functionTypeIndex + typesOffset;
416 var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount + 3; 436 var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount + 3;
417 if (getterStubName) { 437 if (getterStubName) {
418 f = tearOff(funcs, array, isStatic, name, isIntercepted); 438 f = tearOff(funcs, array, isStatic, name, isIntercepted);
419 prototype[name].$getter = f; 439 prototype[name].$getter = f;
420 f.$getterStub = true; 440 f.$getterStub = true;
421 if (isStatic) { 441 if (isStatic) {
422 init.globalFunctions[name] = f; 442 init.globalFunctions[name] = f;
423 functions.push(getterStubName); 443 functions.push(getterStubName);
424 } 444 }
425 prototype[getterStubName] = f; 445 prototype[getterStubName] = f;
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 t1 = skipCount + i; 743 t1 = skipCount + i;
724 if (t1 < 0 || t1 >= iterable.length) 744 if (t1 < 0 || t1 >= iterable.length)
725 return H.ioore(iterable, t1); 745 return H.ioore(iterable, t1);
726 receiver[start + i] = iterable[t1]; 746 receiver[start + i] = iterable[t1];
727 } 747 }
728 }, 748 },
729 setRange$3: function($receiver, start, end, iterable) { 749 setRange$3: function($receiver, start, end, iterable) {
730 return this.setRange$4($receiver, start, end, iterable, 0); 750 return this.setRange$4($receiver, start, end, iterable, 0);
731 }, 751 },
732 indexOf$2: function(receiver, element, start) { 752 indexOf$2: function(receiver, element, start) {
733 var i, t1; 753 var i;
734 if (start >= receiver.length) 754 if (start >= receiver.length)
735 return -1; 755 return -1;
736 if (start < 0) 756 for (i = start; i < receiver.length; ++i)
737 start = 0;
738 for (i = start; t1 = receiver.length, i < t1; ++i) {
739 if (i < 0)
740 return H.ioore(receiver, i);
741 if (J.$eq(receiver[i], element)) 757 if (J.$eq(receiver[i], element))
742 return i; 758 return i;
743 }
744 return -1; 759 return -1;
745 }, 760 },
746 indexOf$1: function($receiver, element) { 761 indexOf$1: function($receiver, element) {
747 return this.indexOf$2($receiver, element, 0); 762 return this.indexOf$2($receiver, element, 0);
748 }, 763 },
749 contains$1: function(receiver, other) { 764 contains$1: function(receiver, other) {
750 var i; 765 var i;
751 for (i = 0; i < receiver.length; ++i) 766 for (i = 0; i < receiver.length; ++i)
752 if (J.$eq(receiver[i], other)) 767 if (J.$eq(receiver[i], other))
753 return true; 768 return true;
754 return false; 769 return false;
755 }, 770 },
756 get$isEmpty: function(receiver) { 771 get$isEmpty: function(receiver) {
757 return receiver.length === 0; 772 return receiver.length === 0;
758 }, 773 },
759 get$isNotEmpty: function(receiver) { 774 get$isNotEmpty: function(receiver) {
760 return receiver.length !== 0; 775 return receiver.length !== 0;
761 }, 776 },
762 toString$0: function(receiver) { 777 toString$0: function(receiver) {
763 return P.IterableBase_iterableToFullString(receiver, "[", "]"); 778 return P.IterableBase_iterableToFullString(receiver, "[", "]");
764 }, 779 },
765 toList$1$growable: function(receiver, growable) { 780 toList$1$growable: function(receiver, growable) {
766 var t1; 781 var t1;
767 if (growable) 782 if (growable)
768 return H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex( receiver, 0)]); 783 t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(re ceiver, 0)]);
769 else { 784 else {
770 t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(re ceiver, 0)]); 785 t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(re ceiver, 0)]);
771 t1.fixed$length = Array; 786 t1.fixed$length = Array;
772 return t1; 787 t1 = t1;
773 } 788 }
789 return t1;
774 }, 790 },
775 toList$0: function($receiver) { 791 toList$0: function($receiver) {
776 return this.toList$1$growable($receiver, true); 792 return this.toList$1$growable($receiver, true);
777 }, 793 },
778 get$iterator: function(receiver) { 794 get$iterator: function(receiver) {
779 return new J.ArrayIterator(receiver, receiver.length, 0, null); 795 return new J.ArrayIterator(receiver, receiver.length, 0, null);
780 }, 796 },
781 get$hashCode: function(receiver) { 797 get$hashCode: function(receiver) {
782 return H.Primitives_objectHashCode(receiver); 798 return H.Primitives_objectHashCode(receiver);
783 }, 799 },
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 if (times === 0) 1128 if (times === 0)
1113 break; 1129 break;
1114 s += s; 1130 s += s;
1115 } 1131 }
1116 return result; 1132 return result;
1117 }, 1133 },
1118 get$codeUnits: function(receiver) { 1134 get$codeUnits: function(receiver) {
1119 return new H.CodeUnits(receiver); 1135 return new H.CodeUnits(receiver);
1120 }, 1136 },
1121 indexOf$2: function(receiver, pattern, start) { 1137 indexOf$2: function(receiver, pattern, start) {
1138 if (typeof start !== "number" || Math.floor(start) !== start)
1139 throw H.wrapException(P.ArgumentError$(start));
1122 if (start < 0 || start > receiver.length) 1140 if (start < 0 || start > receiver.length)
1123 throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null , null)); 1141 throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null , null));
1124 return receiver.indexOf(pattern, start); 1142 return receiver.indexOf(pattern, start);
1125 }, 1143 },
1126 indexOf$1: function($receiver, pattern) { 1144 indexOf$1: function($receiver, pattern) {
1127 return this.indexOf$2($receiver, pattern, 0); 1145 return this.indexOf$2($receiver, pattern, 0);
1128 }, 1146 },
1129 lastIndexOf$2: function(receiver, pattern, start) { 1147 lastIndexOf$2: function(receiver, pattern, start) {
1130 var t1, t2; 1148 var t1, t2;
1131 if (start == null) 1149 if (start == null)
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 this.isPaused = false; 1533 this.isPaused = false;
1516 } 1534 }
1517 this._updateGlobalState$0(); 1535 this._updateGlobalState$0();
1518 }, 1536 },
1519 addDoneListener$1: function(responsePort) { 1537 addDoneListener$1: function(responsePort) {
1520 var t1 = this.doneHandlers; 1538 var t1 = this.doneHandlers;
1521 if (t1 == null) { 1539 if (t1 == null) {
1522 t1 = []; 1540 t1 = [];
1523 this.doneHandlers = t1; 1541 this.doneHandlers = t1;
1524 } 1542 }
1525 if (J.contains$1$asx(t1, responsePort)) 1543 if ((t1 && C.JSArray_methods).contains$1(t1, responsePort))
1526 return; 1544 return;
1527 this.doneHandlers.push(responsePort); 1545 this.doneHandlers.push(responsePort);
1528 }, 1546 },
1529 removeDoneListener$1: function(responsePort) { 1547 removeDoneListener$1: function(responsePort) {
1530 var t1 = this.doneHandlers; 1548 var t1 = this.doneHandlers;
1531 if (t1 == null) 1549 if (t1 == null)
1532 return; 1550 return;
1533 J.remove$1$ax(t1, responsePort); 1551 (t1 && C.JSArray_methods).remove$1(t1, responsePort);
1534 }, 1552 },
1535 setErrorsFatal$2: function(authentification, errorsAreFatal) { 1553 setErrorsFatal$2: function(authentification, errorsAreFatal) {
1536 if (!this.terminateCapability.$eq(0, authentification)) 1554 if (!this.terminateCapability.$eq(0, authentification))
1537 return; 1555 return;
1538 this.errorsAreFatal = errorsAreFatal; 1556 this.errorsAreFatal = errorsAreFatal;
1539 }, 1557 },
1540 handlePing$2: function(responsePort, pingType) { 1558 handlePing$2: function(responsePort, pingType) {
1541 var t1, t2; 1559 var t1, t2;
1542 t1 = J.getInterceptor(pingType); 1560 t1 = J.getInterceptor(pingType);
1543 if (!t1.$eq(pingType, 0)) 1561 if (!t1.$eq(pingType, 0))
(...skipping 2496 matching lines...) Expand 10 before | Expand all | Expand 10 after
4040 C.JSArray_methods.set$length(match, t2); 4058 C.JSArray_methods.set$length(match, t2);
4041 return H._MatchImplementation$(this, match); 4059 return H._MatchImplementation$(this, match);
4042 }, 4060 },
4043 matchAsPrefix$2: function(_, string, start) { 4061 matchAsPrefix$2: function(_, string, start) {
4044 if (start < 0 || start > string.length) 4062 if (start < 0 || start > string.length)
4045 throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); 4063 throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null));
4046 return this._execAnchored$2(string, start); 4064 return this._execAnchored$2(string, start);
4047 }, 4065 },
4048 $isRegExp: 1, 4066 $isRegExp: 1,
4049 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitiv e, global) { 4067 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitiv e, global) {
4050 var m, i, g, regexp, errorMessage; 4068 var m, i, g, regexp;
4051 H.checkString(source); 4069 H.checkString(source);
4052 m = multiLine ? "m" : ""; 4070 m = multiLine ? "m" : "";
4053 i = caseSensitive ? "" : "i"; 4071 i = caseSensitive ? "" : "i";
4054 g = global ? "g" : ""; 4072 g = global ? "g" : "";
4055 regexp = function() { 4073 regexp = function() {
4056 try { 4074 try {
4057 return new RegExp(source, m + i + g); 4075 return new RegExp(source, m + i + g);
4058 } catch (e) { 4076 } catch (e) {
4059 return e; 4077 return e;
4060 } 4078 }
4061 }(); 4079 }();
4062 if (regexp instanceof RegExp) 4080 if (regexp instanceof RegExp)
4063 return regexp; 4081 return regexp;
4064 errorMessage = String(regexp); 4082 throw H.wrapException(P.FormatException$("Illegal RegExp pattern (" + St ring(regexp) + ")", source, null));
4065 throw H.wrapException(P.FormatException$("Illegal RegExp pattern: " + so urce + ", " + errorMessage, null, null));
4066 }} 4083 }}
4067 }, 4084 },
4068 _MatchImplementation: { 4085 _MatchImplementation: {
4069 "^": "Object;pattern,_match", 4086 "^": "Object;pattern,_match",
4070 get$start: function(_) { 4087 get$start: function(_) {
4071 return this._match.index; 4088 return this._match.index;
4072 }, 4089 },
4073 get$end: function() { 4090 get$end: function() {
4074 var t1, t2; 4091 var t1, t2;
4075 t1 = this._match; 4092 t1 = this._match;
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
5411 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n ew P.Stream_isEmpty_closure(t1, future), true, new P.Stream_isEmpty_closure0(fut ure), future.get$_completeError()); 5428 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n ew P.Stream_isEmpty_closure(t1, future), true, new P.Stream_isEmpty_closure0(fut ure), future.get$_completeError());
5412 return future; 5429 return future;
5413 }, 5430 },
5414 toList$0: function(_) { 5431 toList$0: function(_) {
5415 var result, future; 5432 var result, future;
5416 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "Stream" , 0)]); 5433 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "Stream" , 0)]);
5417 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [[P .List, H.getRuntimeTypeArgument(this, "Stream", 0)]]); 5434 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [[P .List, H.getRuntimeTypeArgument(this, "Stream", 0)]]);
5418 this.listen$4$cancelOnError$onDone$onError(new P.Stream_toList_closure(thi s, result), true, new P.Stream_toList_closure0(result, future), future.get$_comp leteError()); 5435 this.listen$4$cancelOnError$onDone$onError(new P.Stream_toList_closure(thi s, result), true, new P.Stream_toList_closure0(result, future), future.get$_comp leteError());
5419 return future; 5436 return future;
5420 }, 5437 },
5421 get$first: function(_) {
5422 var t1, future;
5423 t1 = {};
5424 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H. getRuntimeTypeArgument(this, "Stream", 0)]);
5425 t1._captured_subscription_0 = null;
5426 t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(n ew P.Stream_first_closure(t1, this, future), true, new P.Stream_first_closure0(f uture), future.get$_completeError());
5427 return future;
5428 },
5429 get$last: function(_) { 5438 get$last: function(_) {
5430 var t1, future; 5439 var t1, future;
5431 t1 = {}; 5440 t1 = {};
5432 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H. getRuntimeTypeArgument(this, "Stream", 0)]); 5441 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H. getRuntimeTypeArgument(this, "Stream", 0)]);
5433 t1._captured_result_0 = null; 5442 t1._captured_result_0 = null;
5434 t1._captured_foundResult_1 = false; 5443 t1._captured_foundResult_1 = false;
5435 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, t his), true, new P.Stream_last_closure0(t1, future), future.get$_completeError()) ; 5444 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, t his), true, new P.Stream_last_closure0(t1, future), future.get$_completeError()) ;
5436 return future; 5445 return future;
5437 } 5446 }
5438 }, 5447 },
5439 Stream_pipe_closure: { 5448 Stream_pipe_closure: {
5440 "^": "Closure:2;_captured_streamConsumer_0", 5449 "^": "Closure:2;_captured_streamConsumer_0",
5441 call$1: function(_) { 5450 call$1: function(_) {
5442 return this._captured_streamConsumer_0._async$_target.close$0(0); 5451 return this._captured_streamConsumer_0._async$_target.close$0(0);
5443 } 5452 }
5444 }, 5453 },
5445 Stream_contains_closure: { 5454 Stream_contains_closure: {
5446 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt ured_future_3", 5455 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt ured_future_3",
5447 call$1: function(element) { 5456 call$1: function(element) {
5448 var t1, t2; 5457 var t1, t2;
5449 t1 = this._async$_box_0; 5458 t1 = this._async$_box_0;
5450 t2 = this._captured_future_3; 5459 t2 = this._captured_future_3;
5451 P._runUserCode(new P.Stream_contains__closure(this._captured_needle_2, ele ment), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1._cap tured_subscription_0, t2)); 5460 P._runUserCode(new P.Stream_contains__closure(this._captured_needle_2, ele ment), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1._cap tured_subscription_0, t2));
5452 }, 5461 },
5453 $signature: function() { 5462 $signature: function() {
5454 return H.computeSignature(function(T) { 5463 return H.computeSignature(function(T) {
5455 return {func: "", args: [T]}; 5464 return {func: 1, args: [T]};
5456 }, this._async$_captured_this_1, "Stream"); 5465 }, this._async$_captured_this_1, "Stream");
5457 } 5466 }
5458 }, 5467 },
5459 Stream_contains__closure: { 5468 Stream_contains__closure: {
5460 "^": "Closure:0;_captured_needle_4,_captured_element_5", 5469 "^": "Closure:0;_captured_needle_4,_captured_element_5",
5461 call$0: function() { 5470 call$0: function() {
5462 return J.$eq(this._captured_element_5, this._captured_needle_4); 5471 return J.$eq(this._captured_element_5, this._captured_needle_4);
5463 } 5472 }
5464 }, 5473 },
5465 Stream_contains__closure0: { 5474 Stream_contains__closure0: {
5466 "^": "Closure:9;_async$_box_0,_captured_future_6", 5475 "^": "Closure:9;_async$_box_0,_captured_future_6",
5467 call$1: function(isMatch) { 5476 call$1: function(isMatch) {
5468 if (isMatch === true) 5477 if (isMatch === true)
5469 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap tured_future_6, true); 5478 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap tured_future_6, true);
5470 } 5479 }
5471 }, 5480 },
5472 Stream_contains_closure0: { 5481 Stream_contains_closure0: {
5473 "^": "Closure:0;_captured_future_7", 5482 "^": "Closure:0;_captured_future_7",
5474 call$0: function() { 5483 call$0: function() {
5475 this._captured_future_7._complete$1(false); 5484 this._captured_future_7._complete$1(false);
5476 } 5485 }
5477 }, 5486 },
5478 Stream_forEach_closure: { 5487 Stream_forEach_closure: {
5479 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt ured_future_3", 5488 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt ured_future_3",
5480 call$1: function(element) { 5489 call$1: function(element) {
5481 P._runUserCode(new P.Stream_forEach__closure(this._captured_action_2, elem ent), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._async$_bo x_0._captured_subscription_0, this._captured_future_3)); 5490 P._runUserCode(new P.Stream_forEach__closure(this._captured_action_2, elem ent), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._async$_bo x_0._captured_subscription_0, this._captured_future_3));
5482 }, 5491 },
5483 $signature: function() { 5492 $signature: function() {
5484 return H.computeSignature(function(T) { 5493 return H.computeSignature(function(T) {
5485 return {func: "", args: [T]}; 5494 return {func: 1, args: [T]};
5486 }, this._async$_captured_this_1, "Stream"); 5495 }, this._async$_captured_this_1, "Stream");
5487 } 5496 }
5488 }, 5497 },
5489 Stream_forEach__closure: { 5498 Stream_forEach__closure: {
5490 "^": "Closure:0;_captured_action_4,_captured_element_5", 5499 "^": "Closure:0;_captured_action_4,_captured_element_5",
5491 call$0: function() { 5500 call$0: function() {
5492 return this._captured_action_4.call$1(this._captured_element_5); 5501 return this._captured_action_4.call$1(this._captured_element_5);
5493 } 5502 }
5494 }, 5503 },
5495 Stream_forEach__closure0: { 5504 Stream_forEach__closure0: {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
5527 this._captured_future_2._complete$1(true); 5536 this._captured_future_2._complete$1(true);
5528 } 5537 }
5529 }, 5538 },
5530 Stream_toList_closure: { 5539 Stream_toList_closure: {
5531 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", 5540 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1",
5532 call$1: function(data) { 5541 call$1: function(data) {
5533 this._async$_captured_result_1.push(data); 5542 this._async$_captured_result_1.push(data);
5534 }, 5543 },
5535 $signature: function() { 5544 $signature: function() {
5536 return H.computeSignature(function(T) { 5545 return H.computeSignature(function(T) {
5537 return {func: "", args: [T]}; 5546 return {func: 1, args: [T]};
5538 }, this._async$_captured_this_0, "Stream"); 5547 }, this._async$_captured_this_0, "Stream");
5539 } 5548 }
5540 }, 5549 },
5541 Stream_toList_closure0: { 5550 Stream_toList_closure0: {
5542 "^": "Closure:0;_captured_result_2,_captured_future_3", 5551 "^": "Closure:0;_captured_result_2,_captured_future_3",
5543 call$0: function() { 5552 call$0: function() {
5544 this._captured_future_3._complete$1(this._captured_result_2); 5553 this._captured_future_3._complete$1(this._captured_result_2);
5545 } 5554 }
5546 }, 5555 },
5547 Stream_first_closure: {
5548 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_future_2",
5549 call$1: function(value) {
5550 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu red_future_2, value);
5551 },
5552 $signature: function() {
5553 return H.computeSignature(function(T) {
5554 return {func: "", args: [T]};
5555 }, this._async$_captured_this_1, "Stream");
5556 }
5557 },
5558 Stream_first_closure0: {
5559 "^": "Closure:0;_captured_future_3",
5560 call$0: function() {
5561 var e, s, t1, exception;
5562 try {
5563 t1 = H.IterableElementError_noElement();
5564 throw H.wrapException(t1);
5565 } catch (exception) {
5566 t1 = H.unwrapException(exception);
5567 e = t1;
5568 s = H.getTraceFromException(exception);
5569 P._completeWithErrorCallback(this._captured_future_3, e, s);
5570 }
5571 }
5572 },
5573 Stream_last_closure: { 5556 Stream_last_closure: {
5574 "^": "Closure;_async$_box_0,_async$_captured_this_1", 5557 "^": "Closure;_async$_box_0,_async$_captured_this_1",
5575 call$1: function(value) { 5558 call$1: function(value) {
5576 var t1 = this._async$_box_0; 5559 var t1 = this._async$_box_0;
5577 t1._captured_foundResult_1 = true; 5560 t1._captured_foundResult_1 = true;
5578 t1._captured_result_0 = value; 5561 t1._captured_result_0 = value;
5579 }, 5562 },
5580 $signature: function() { 5563 $signature: function() {
5581 return H.computeSignature(function(T) { 5564 return H.computeSignature(function(T) {
5582 return {func: "", args: [T]}; 5565 return {func: 1, args: [T]};
5583 }, this._async$_captured_this_1, "Stream"); 5566 }, this._async$_captured_this_1, "Stream");
5584 } 5567 }
5585 }, 5568 },
5586 Stream_last_closure0: { 5569 Stream_last_closure0: {
5587 "^": "Closure:0;_async$_box_0,_captured_future_2", 5570 "^": "Closure:0;_async$_box_0,_captured_future_2",
5588 call$0: function() { 5571 call$0: function() {
5589 var e, s, t1, exception; 5572 var e, s, t1, exception;
5590 t1 = this._async$_box_0; 5573 t1 = this._async$_box_0;
5591 if (t1._captured_foundResult_1) { 5574 if (t1._captured_foundResult_1) {
5592 this._captured_future_2._complete$1(t1._captured_result_0); 5575 this._captured_future_2._complete$1(t1._captured_result_0);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
5706 return this._ensureDoneFuture$0(); 5689 return this._ensureDoneFuture$0();
5707 }, 5690 },
5708 _async$_add$1: [function(value) { 5691 _async$_add$1: [function(value) {
5709 var t1 = this._state; 5692 var t1 = this._state;
5710 if ((t1 & 1) !== 0) 5693 if ((t1 & 1) !== 0)
5711 this._sendData$1(value); 5694 this._sendData$1(value);
5712 else if ((t1 & 3) === 0) 5695 else if ((t1 & 3) === 0)
5713 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); 5696 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null));
5714 }, "call$1", "get$_async$_add", 2, 0, function() { 5697 }, "call$1", "get$_async$_add", 2, 0, function() {
5715 return H.computeSignature(function(T) { 5698 return H.computeSignature(function(T) {
5716 return {func: "", void: true, args: [T]}; 5699 return {func: 1, void: true, args: [T]};
5717 }, this.$receiver, "_StreamController"); 5700 }, this.$receiver, "_StreamController");
5718 }], 5701 }],
5719 _addError$2: [function(error, stackTrace) { 5702 _addError$2: [function(error, stackTrace) {
5720 var t1 = this._state; 5703 var t1 = this._state;
5721 if ((t1 & 1) !== 0) 5704 if ((t1 & 1) !== 0)
5722 this._sendError$2(error, stackTrace); 5705 this._sendError$2(error, stackTrace);
5723 else if ((t1 & 3) === 0) 5706 else if ((t1 & 3) === 0)
5724 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT race, null)); 5707 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT race, null));
5725 }, "call$2", "get$_addError", 4, 0, 11], 5708 }, "call$2", "get$_addError", 4, 0, 11],
5726 _close$0: [function() { 5709 _close$0: [function() {
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
6369 if (t1 != null) { 6352 if (t1 != null) {
6370 this._subscription = null; 6353 this._subscription = null;
6371 t1.cancel$0(); 6354 t1.cancel$0();
6372 } 6355 }
6373 return; 6356 return;
6374 }, 6357 },
6375 _handleData$1: [function(data) { 6358 _handleData$1: [function(data) {
6376 this._stream._handleData$2(data, this); 6359 this._stream._handleData$2(data, this);
6377 }, "call$1", "get$_handleData", 2, 0, function() { 6360 }, "call$1", "get$_handleData", 2, 0, function() {
6378 return H.computeSignature(function(S, T) { 6361 return H.computeSignature(function(S, T) {
6379 return {func: "", void: true, args: [S]}; 6362 return {func: 1, void: true, args: [S]};
6380 }, this.$receiver, "_ForwardingStreamSubscription"); 6363 }, this.$receiver, "_ForwardingStreamSubscription");
6381 }], 6364 }],
6382 _handleError$2: [function(error, stackTrace) { 6365 _handleError$2: [function(error, stackTrace) {
6383 this._addError$2(error, stackTrace); 6366 this._addError$2(error, stackTrace);
6384 }, "call$2", "get$_handleError", 4, 0, 13], 6367 }, "call$2", "get$_handleError", 4, 0, 13],
6385 _handleDone$0: [function() { 6368 _handleDone$0: [function() {
6386 this._close$0(); 6369 this._close$0();
6387 }, "call$0", "get$_handleDone", 0, 0, 1], 6370 }, "call$0", "get$_handleDone", 0, 0, 1],
6388 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { 6371 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) {
6389 var t1, t2; 6372 var t1, t2;
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
7797 }, 7780 },
7798 add$1: function(receiver, element) { 7781 add$1: function(receiver, element) {
7799 var t1 = this.get$length(receiver); 7782 var t1 = this.get$length(receiver);
7800 this.set$length(receiver, t1 + 1); 7783 this.set$length(receiver, t1 + 1);
7801 this.$indexSet(receiver, t1, element); 7784 this.$indexSet(receiver, t1, element);
7802 }, 7785 },
7803 indexOf$2: function(receiver, element, startIndex) { 7786 indexOf$2: function(receiver, element, startIndex) {
7804 var i; 7787 var i;
7805 if (startIndex >= this.get$length(receiver)) 7788 if (startIndex >= this.get$length(receiver))
7806 return -1; 7789 return -1;
7807 if (startIndex < 0)
7808 startIndex = 0;
7809 for (i = startIndex; i < this.get$length(receiver); ++i) 7790 for (i = startIndex; i < this.get$length(receiver); ++i)
7810 if (J.$eq(this.$index(receiver, i), element)) 7791 if (J.$eq(this.$index(receiver, i), element))
7811 return i; 7792 return i;
7812 return -1; 7793 return -1;
7813 }, 7794 },
7814 indexOf$1: function($receiver, element) { 7795 indexOf$1: function($receiver, element) {
7815 return this.indexOf$2($receiver, element, 0); 7796 return this.indexOf$2($receiver, element, 0);
7816 }, 7797 },
7817 get$reversed: function(receiver) { 7798 get$reversed: function(receiver) {
7818 return H.setRuntimeTypeInfo(new H.ReversedListIterable(receiver), [H.getRu ntimeTypeArgument(receiver, "ListMixin", 0)]); 7799 return H.setRuntimeTypeInfo(new H.ReversedListIterable(receiver), [H.getRu ntimeTypeArgument(receiver, "ListMixin", 0)]);
(...skipping 1819 matching lines...) Expand 10 before | Expand all | Expand 10 after
9638 t4 = ""; 9619 t4 = "";
9639 t5 = this._fragment; 9620 t5 = this._fragment;
9640 return t1.call$2(this.scheme, t1.call$2(this._userInfo, t1.call$2(t2, t1.c all$2(t3, t1.call$2(this._path, t1.call$2(t4, t1.call$2(t5 == null ? "" : t5, 1) )))))); 9621 return t1.call$2(this.scheme, t1.call$2(this._userInfo, t1.call$2(t2, t1.c all$2(t3, t1.call$2(this._path, t1.call$2(t4, t1.call$2(t5 == null ? "" : t5, 1) ))))));
9641 }, 9622 },
9642 static: {Uri__defaultPort: function(scheme) { 9623 static: {Uri__defaultPort: function(scheme) {
9643 if (scheme === "http") 9624 if (scheme === "http")
9644 return 80; 9625 return 80;
9645 if (scheme === "https") 9626 if (scheme === "https")
9646 return 443; 9627 return 443;
9647 return 0; 9628 return 0;
9648 }, Uri_parse: function(uri) { 9629 }, Uri_parse: function(uri, start, end) {
9649 var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignI ndex, query, fragment; 9630 var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignI ndex, query, fragment;
9650 t1 = {}; 9631 t1 = {};
9651 t1._captured_scheme_0 = ""; 9632 t1._captured_end_0 = end;
9652 t1._captured_userinfo_1 = ""; 9633 t1._captured_scheme_1 = "";
9653 t1._captured_host_2 = null; 9634 t1._captured_userinfo_2 = "";
9654 t1._captured_port_3 = null; 9635 t1._captured_host_3 = null;
9655 t1._captured_index_4 = 0; 9636 t1._captured_port_4 = null;
9656 t1._captured_char_5 = -1; 9637 t1._captured_end_0 = J.get$length$asx(uri);
9657 t2 = J.getInterceptor$asx(uri); 9638 t1._captured_index_5 = start;
9658 i = 0; 9639 t1._captured_char_6 = -1;
9640 t2 = J.getInterceptor$s(uri);
9641 i = start;
9659 while (true) { 9642 while (true) {
9660 t3 = t2.get$length(uri); 9643 t3 = t1._captured_end_0;
9661 if (typeof t3 !== "number") 9644 if (typeof t3 !== "number")
9662 return H.iae(t3); 9645 return H.iae(t3);
9663 if (!(i < t3)) { 9646 if (!(i < t3)) {
9664 pathStart = 0; 9647 pathStart = start;
9665 state = 0; 9648 state = 0;
9666 break; 9649 break;
9667 } 9650 }
9668 $char = t2.codeUnitAt$1(uri, i); 9651 $char = t2.codeUnitAt$1(uri, i);
9669 t1._captured_char_5 = $char; 9652 t1._captured_char_6 = $char;
9670 if ($char === 63 || $char === 35) { 9653 if ($char === 63 || $char === 35) {
9671 pathStart = 0; 9654 pathStart = start;
9672 state = 0; 9655 state = 0;
9673 break; 9656 break;
9674 } 9657 }
9675 if ($char === 47) { 9658 if ($char === 47) {
9676 state = i === 0 ? 2 : 1; 9659 state = i === start ? 2 : 1;
9677 pathStart = 0; 9660 pathStart = start;
9678 break; 9661 break;
9679 } 9662 }
9680 if ($char === 58) { 9663 if ($char === 58) {
9681 if (i === 0) 9664 if (i === start)
9682 P.Uri__fail(uri, 0, "Invalid empty scheme"); 9665 P.Uri__fail(uri, start, "Invalid empty scheme");
9683 t1._captured_scheme_0 = P.Uri__makeScheme(uri, i); 9666 t1._captured_scheme_1 = P.Uri__makeScheme(uri, start, i);
9684 ++i; 9667 ++i;
9685 if (i === uri.length) { 9668 if (i === t1._captured_end_0) {
9686 t1._captured_char_5 = -1; 9669 t1._captured_char_6 = -1;
9687 state = 0; 9670 state = 0;
9688 } else { 9671 } else {
9689 $char = C.JSString_methods.codeUnitAt$1(uri, i); 9672 $char = C.JSString_methods.codeUnitAt$1(uri, i);
9690 t1._captured_char_5 = $char; 9673 t1._captured_char_6 = $char;
9691 if ($char === 63 || $char === 35) 9674 if ($char === 63 || $char === 35)
9692 state = 0; 9675 state = 0;
9693 else 9676 else
9694 state = $char === 47 ? 2 : 1; 9677 state = $char === 47 ? 2 : 1;
9695 } 9678 }
9696 pathStart = i; 9679 pathStart = i;
9697 break; 9680 break;
9698 } 9681 }
9699 ++i; 9682 ++i;
9700 t1._captured_char_5 = -1; 9683 t1._captured_char_6 = -1;
9701 } 9684 }
9702 t1._captured_index_4 = i; 9685 t1._captured_index_5 = i;
9703 if (state === 2) { 9686 if (state === 2) {
9704 index = i + 1; 9687 index = i + 1;
9705 t1._captured_index_4 = index; 9688 t1._captured_index_5 = index;
9706 if (index === t2.get$length(uri)) { 9689 if (index === t1._captured_end_0) {
9707 t1._captured_char_5 = -1; 9690 t1._captured_char_6 = -1;
9708 state = 0; 9691 state = 0;
9709 } else { 9692 } else {
9710 $char = t2.codeUnitAt$1(uri, t1._captured_index_4); 9693 $char = t2.codeUnitAt$1(uri, t1._captured_index_5);
9711 t1._captured_char_5 = $char; 9694 t1._captured_char_6 = $char;
9712 if ($char === 47) { 9695 if ($char === 47) {
9713 ++t1._captured_index_4; 9696 t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1);
9714 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); 9697 new P.Uri_parse_parseAuth(t1, uri, -1).call$0();
9715 pathStart = t1._captured_index_4; 9698 pathStart = t1._captured_index_5;
9716 } 9699 }
9717 t3 = t1._captured_char_5; 9700 t3 = t1._captured_char_6;
9718 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; 9701 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1;
9719 } 9702 }
9720 } 9703 }
9721 if (state === 1) 9704 if (state === 1)
9722 while (true) { 9705 for (; index = J.$add$ns(t1._captured_index_5, 1), t1._captured_index_ 5 = index, J.$lt$n(index, t1._captured_end_0);) {
9723 t3 = ++t1._captured_index_4; 9706 $char = t2.codeUnitAt$1(uri, t1._captured_index_5);
9724 t4 = t2.get$length(uri); 9707 t1._captured_char_6 = $char;
9725 if (typeof t4 !== "number")
9726 return H.iae(t4);
9727 if (!(t3 < t4))
9728 break;
9729 $char = t2.codeUnitAt$1(uri, t1._captured_index_4);
9730 t1._captured_char_5 = $char;
9731 if ($char === 63 || $char === 35) 9708 if ($char === 63 || $char === 35)
9732 break; 9709 break;
9733 t1._captured_char_5 = -1; 9710 t1._captured_char_6 = -1;
9734 } 9711 }
9735 t3 = t1._captured_scheme_0; 9712 t3 = t1._captured_scheme_1;
9736 t4 = t1._captured_host_2; 9713 t4 = t1._captured_host_3;
9737 path = P.Uri__makePath(uri, pathStart, t1._captured_index_4, null, t4 != null, t3 === "file"); 9714 path = P.Uri__makePath(uri, pathStart, t1._captured_index_5, null, t4 != null, t3 === "file");
9738 t3 = t1._captured_char_5; 9715 t3 = t1._captured_char_6;
9739 if (t3 === 63) { 9716 if (t3 === 63) {
9740 numberSignIndex = t2.indexOf$2(uri, "#", t1._captured_index_4 + 1); 9717 i = J.$add$ns(t1._captured_index_5, 1);
9741 t3 = t1._captured_index_4; 9718 while (true) {
9742 if (numberSignIndex < 0) { 9719 t3 = J.getInterceptor$n(i);
9743 query = P.Uri__makeQuery(uri, t3 + 1, t2.get$length(uri), null); 9720 if (!t3.$lt(i, t1._captured_end_0)) {
9721 numberSignIndex = -1;
9722 break;
9723 }
9724 if (t2.codeUnitAt$1(uri, i) === 35) {
9725 numberSignIndex = i;
9726 break;
9727 }
9728 i = t3.$add(i, 1);
9729 }
9730 t2 = J.getInterceptor$n(numberSignIndex);
9731 t3 = t2.$lt(numberSignIndex, 0);
9732 t4 = t1._captured_index_5;
9733 if (t3) {
9734 query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), t1._captured_end_0, null);
9744 fragment = null; 9735 fragment = null;
9745 } else { 9736 } else {
9746 query = P.Uri__makeQuery(uri, t3 + 1, numberSignIndex, null); 9737 query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), numberSignIndex, nul l);
9747 fragment = P.Uri__makeFragment(uri, numberSignIndex + 1, t2.get$leng th(uri)); 9738 fragment = P.Uri__makeFragment(uri, t2.$add(numberSignIndex, 1), t1. _captured_end_0);
9748 } 9739 }
9749 } else { 9740 } else {
9750 fragment = t3 === 35 ? P.Uri__makeFragment(uri, t1._captured_index_4 + 1, t2.get$length(uri)) : null; 9741 fragment = t3 === 35 ? P.Uri__makeFragment(uri, J.$add$ns(t1._captured _index_5, 1), t1._captured_end_0) : null;
9751 query = null; 9742 query = null;
9752 } 9743 }
9753 t2 = t1._captured_scheme_0; 9744 t2 = t1._captured_scheme_1;
9754 t3 = t1._captured_userinfo_1; 9745 t3 = t1._captured_userinfo_2;
9755 return new P.Uri(t1._captured_host_2, t1._captured_port_3, path, t2, t3, query, fragment, null, null); 9746 return new P.Uri(t1._captured_host_3, t1._captured_port_4, path, t2, t3, query, fragment, null, null);
9756 }, Uri__fail: function(uri, index, message) { 9747 }, Uri__fail: function(uri, index, message) {
9757 throw H.wrapException(P.FormatException$(message, uri, index)); 9748 throw H.wrapException(P.FormatException$(message, uri, index));
9758 }, Uri_Uri: function(fragment, host, path, pathSegments, port, query, quer yParameters, scheme, userInfo) { 9749 }, Uri_Uri: function(fragment, host, path, pathSegments, port, query, quer yParameters, scheme, userInfo) {
9759 var isFile, t1; 9750 var isFile, t1;
9760 scheme = P.Uri__makeScheme(scheme, scheme.length); 9751 scheme = P.Uri__makeScheme(scheme, 0, scheme.length);
9761 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); 9752 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length);
9762 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host ), false); 9753 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host ), false);
9763 query = P.Uri__makeQuery(query, 0, 0, queryParameters); 9754 query = P.Uri__makeQuery(query, 0, 0, queryParameters);
9764 fragment = P.Uri__makeFragment(fragment, 0, 0); 9755 fragment = P.Uri__makeFragment(fragment, 0, 0);
9765 port = P.Uri__makePort(port, scheme); 9756 port = P.Uri__makePort(port, scheme);
9766 isFile = scheme === "file"; 9757 isFile = scheme === "file";
9767 if (host == null) 9758 if (host == null)
9768 t1 = userInfo.length !== 0 || port != null || isFile; 9759 t1 = userInfo.length !== 0 || port != null || isFile;
9769 else 9760 else
9770 t1 = false; 9761 t1 = false;
9771 if (t1) 9762 if (t1)
9772 host = ""; 9763 host = "";
9773 t1 = path == null ? 0 : path.length; 9764 t1 = path == null ? 0 : path.length;
9774 return new P.Uri(host, port, P.Uri__makePath(path, 0, t1, pathSegments, host != null, isFile), scheme, userInfo, query, fragment, null, null); 9765 return new P.Uri(host, port, P.Uri__makePath(path, 0, t1, pathSegments, host != null, isFile), scheme, userInfo, query, fragment, null, null);
9775 }, Uri_Uri$file: function(path, windows) { 9766 }, Uri_Uri$file: function(path, windows) {
9776 return windows ? P.Uri__makeWindowsFileUrl(path) : P.Uri__makeFileUri(pa th); 9767 return windows ? P.Uri__makeWindowsFileUrl(path) : P.Uri__makeFileUri(pa th);
9777 }, Uri_base: function() { 9768 }, Uri_base: function() {
9778 var uri = H.Primitives_currentUri(); 9769 var uri = H.Primitives_currentUri();
9779 if (uri != null) 9770 if (uri != null)
9780 return P.Uri_parse(uri); 9771 return P.Uri_parse(uri, 0, null);
9781 throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported") ); 9772 throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported") );
9782 }, Uri__checkNonWindowsPathReservedCharacters: function(segments, argument Error) { 9773 }, Uri__checkNonWindowsPathReservedCharacters: function(segments, argument Error) {
9783 segments.forEach$1(segments, new P.Uri__checkNonWindowsPathReservedChara cters_closure(argumentError)); 9774 segments.forEach$1(segments, new P.Uri__checkNonWindowsPathReservedChara cters_closure(argumentError));
9784 }, Uri__checkWindowsPathReservedCharacters: function(segments, argumentErr or, firstSegment) { 9775 }, Uri__checkWindowsPathReservedCharacters: function(segments, argumentErr or, firstSegment) {
9785 J.skip$1$ax(segments, firstSegment).forEach$1(0, new P.Uri__checkWindows PathReservedCharacters_closure(argumentError)); 9776 J.skip$1$ax(segments, firstSegment).forEach$1(0, new P.Uri__checkWindows PathReservedCharacters_closure(argumentError));
9786 }, Uri__checkWindowsDriveLetter: function(charCode, argumentError) { 9777 }, Uri__checkWindowsDriveLetter: function(charCode, argumentError) {
9787 var t1; 9778 var t1;
9788 if (!(65 <= charCode && charCode <= 90)) 9779 if (!(65 <= charCode && charCode <= 90))
9789 t1 = 97 <= charCode && charCode <= 122; 9780 t1 = 97 <= charCode && charCode <= 122;
9790 else 9781 else
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
9839 else { 9830 else {
9840 pathSegments = path.split("\\"); 9831 pathSegments = path.split("\\");
9841 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); 9832 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
9842 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "", ""); 9833 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "", "");
9843 } 9834 }
9844 }, Uri__makePort: function(port, scheme) { 9835 }, Uri__makePort: function(port, scheme) {
9845 if (port != null && port === P.Uri__defaultPort(scheme)) 9836 if (port != null && port === P.Uri__defaultPort(scheme))
9846 return; 9837 return;
9847 return port; 9838 return port;
9848 }, Uri__makeHost: function(host, start, end, strictIPv6) { 9839 }, Uri__makeHost: function(host, start, end, strictIPv6) {
9849 var t1, i; 9840 var t1, t2, i;
9850 if (host == null) 9841 if (host == null)
9851 return; 9842 return;
9852 if (start === end) 9843 t1 = J.getInterceptor(start);
9844 if (t1.$eq(start, end))
9853 return ""; 9845 return "";
9854 if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) { 9846 if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) {
9855 t1 = J.getInterceptor$n(end); 9847 t2 = J.getInterceptor$n(end);
9856 if (C.JSString_methods.codeUnitAt$1(host, t1.$sub(end, 1)) !== 93) 9848 if (C.JSString_methods.codeUnitAt$1(host, t2.$sub(end, 1)) !== 93)
9857 P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); 9849 P.Uri__fail(host, start, "Missing end `]` to match `[` in host");
9858 P.Uri_parseIPv6Address(host, start + 1, t1.$sub(end, 1)); 9850 P.Uri_parseIPv6Address(host, t1.$add(start, 1), t2.$sub(end, 1));
9859 return C.JSString_methods.substring$2(host, start, end).toLowerCase(); 9851 return C.JSString_methods.substring$2(host, start, end).toLowerCase();
9860 } 9852 }
9861 if (!strictIPv6) { 9853 if (!strictIPv6)
9862 if (typeof end !== "number") 9854 for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$ad d(i, 1))
9863 return H.iae(end);
9864 i = start;
9865 for (; i < end; ++i)
9866 if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { 9855 if (C.JSString_methods.codeUnitAt$1(host, i) === 58) {
9867 P.Uri_parseIPv6Address(host, start, end); 9856 P.Uri_parseIPv6Address(host, start, end);
9868 return "[" + host + "]"; 9857 return "[" + host + "]";
9869 } 9858 }
9870 }
9871 return P.Uri__normalizeRegName(host, start, end); 9859 return P.Uri__normalizeRegName(host, start, end);
9872 }, Uri__normalizeRegName: function(host, start, end) { 9860 }, Uri__normalizeRegName: function(host, start, end) {
9873 var index, sectionStart, buffer, isNormalized, $char, replacement, t1, s lice, sourceLength, tail; 9861 var index, sectionStart, buffer, isNormalized, t1, $char, replacement, t 2, slice, sourceLength, tail;
9874 if (typeof end !== "number") 9862 for (index = start, sectionStart = index, buffer = null, isNormalized = true; t1 = J.getInterceptor$n(index), t1.$lt(index, end);) {
9875 return H.iae(end);
9876 index = start;
9877 sectionStart = index;
9878 buffer = null;
9879 isNormalized = true;
9880 for (; index < end;) {
9881 $char = C.JSString_methods.codeUnitAt$1(host, index); 9863 $char = C.JSString_methods.codeUnitAt$1(host, index);
9882 if ($char === 37) { 9864 if ($char === 37) {
9883 replacement = P.Uri__normalizeEscape(host, index, true); 9865 replacement = P.Uri__normalizeEscape(host, index, true);
9884 t1 = replacement == null; 9866 t2 = replacement == null;
9885 if (t1 && isNormalized) { 9867 if (t2 && isNormalized) {
9886 index += 3; 9868 index = t1.$add(index, 3);
9887 continue; 9869 continue;
9888 } 9870 }
9889 if (buffer == null) 9871 if (buffer == null)
9890 buffer = new P.StringBuffer(""); 9872 buffer = new P.StringBuffer("");
9891 slice = C.JSString_methods.substring$2(host, sectionStart, index); 9873 slice = C.JSString_methods.substring$2(host, sectionStart, index);
9892 if (!isNormalized) 9874 if (!isNormalized)
9893 slice = slice.toLowerCase(); 9875 slice = slice.toLowerCase();
9894 buffer._contents = buffer._contents + slice; 9876 buffer._contents = buffer._contents + slice;
9895 if (t1) { 9877 if (t2) {
9896 replacement = C.JSString_methods.substring$2(host, index, index + 3); 9878 replacement = C.JSString_methods.substring$2(host, index, t1.$add( index, 3));
9897 sourceLength = 3; 9879 sourceLength = 3;
9898 } else if (replacement === "%") { 9880 } else if (replacement === "%") {
9899 replacement = "%25"; 9881 replacement = "%25";
9900 sourceLength = 1; 9882 sourceLength = 1;
9901 } else 9883 } else
9902 sourceLength = 3; 9884 sourceLength = 3;
9903 buffer._contents += replacement; 9885 buffer._contents += replacement;
9904 index += sourceLength; 9886 index = t1.$add(index, sourceLength);
9905 sectionStart = index; 9887 sectionStart = index;
9906 isNormalized = true; 9888 isNormalized = true;
9907 } else { 9889 } else {
9908 if ($char < 127) { 9890 if ($char < 127) {
9909 t1 = $char >>> 4; 9891 t2 = $char >>> 4;
9910 if (t1 >= 8) 9892 if (t2 >= 8)
9911 return H.ioore(C.List_qNA, t1); 9893 return H.ioore(C.List_qNA, t2);
9912 t1 = (C.List_qNA[t1] & C.JSInt_methods._shlPositive$1(1, $char & 1 5)) !== 0; 9894 t2 = (C.List_qNA[t2] & C.JSInt_methods._shlPositive$1(1, $char & 1 5)) !== 0;
9913 } else 9895 } else
9914 t1 = false; 9896 t2 = false;
9915 if (t1) { 9897 if (t2) {
9916 if (isNormalized && 65 <= $char && 90 >= $char) { 9898 if (isNormalized && 65 <= $char && 90 >= $char) {
9917 if (buffer == null) 9899 if (buffer == null)
9918 buffer = new P.StringBuffer(""); 9900 buffer = new P.StringBuffer("");
9919 if (sectionStart < index) { 9901 if (J.$lt$n(sectionStart, index)) {
9920 t1 = C.JSString_methods.substring$2(host, sectionStart, index) ; 9902 t2 = C.JSString_methods.substring$2(host, sectionStart, index) ;
9921 buffer._contents = buffer._contents + t1; 9903 buffer._contents = buffer._contents + t2;
9922 sectionStart = index; 9904 sectionStart = index;
9923 } 9905 }
9924 isNormalized = false; 9906 isNormalized = false;
9925 } 9907 }
9926 ++index; 9908 index = t1.$add(index, 1);
9927 } else { 9909 } else {
9928 if ($char <= 93) { 9910 if ($char <= 93) {
9929 t1 = $char >>> 4; 9911 t2 = $char >>> 4;
9930 if (t1 >= 8) 9912 if (t2 >= 8)
9931 return H.ioore(C.List_2Vk, t1); 9913 return H.ioore(C.List_2Vk, t2);
9932 t1 = (C.List_2Vk[t1] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; 9914 t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
9933 } else 9915 } else
9934 t1 = false; 9916 t2 = false;
9935 if (t1) 9917 if (t2)
9936 P.Uri__fail(host, index, "Invalid character"); 9918 P.Uri__fail(host, index, "Invalid character");
9937 else { 9919 else {
9938 if (($char & 64512) === 55296 && index + 1 < end) { 9920 if (($char & 64512) === 55296 && J.$lt$n(t1.$add(index, 1), end) ) {
9939 tail = C.JSString_methods.codeUnitAt$1(host, index + 1); 9921 tail = C.JSString_methods.codeUnitAt$1(host, t1.$add(index, 1) );
9940 if ((tail & 64512) === 56320) { 9922 if ((tail & 64512) === 56320) {
9941 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0; 9923 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0;
9942 sourceLength = 2; 9924 sourceLength = 2;
9943 } else 9925 } else
9944 sourceLength = 1; 9926 sourceLength = 1;
9945 } else 9927 } else
9946 sourceLength = 1; 9928 sourceLength = 1;
9947 if (buffer == null) 9929 if (buffer == null)
9948 buffer = new P.StringBuffer(""); 9930 buffer = new P.StringBuffer("");
9949 slice = C.JSString_methods.substring$2(host, sectionStart, index ); 9931 slice = C.JSString_methods.substring$2(host, sectionStart, index );
9950 if (!isNormalized) 9932 if (!isNormalized)
9951 slice = slice.toLowerCase(); 9933 slice = slice.toLowerCase();
9952 buffer._contents = buffer._contents + slice; 9934 buffer._contents = buffer._contents + slice;
9953 buffer._contents += P.Uri__escapeChar($char); 9935 buffer._contents += P.Uri__escapeChar($char);
9954 index += sourceLength; 9936 index = t1.$add(index, sourceLength);
9955 sectionStart = index; 9937 sectionStart = index;
9956 } 9938 }
9957 } 9939 }
9958 } 9940 }
9959 } 9941 }
9960 if (buffer == null) 9942 if (buffer == null)
9961 return C.JSString_methods.substring$2(host, start, end); 9943 return C.JSString_methods.substring$2(host, start, end);
9962 if (sectionStart < end) { 9944 if (J.$lt$n(sectionStart, end)) {
9963 slice = C.JSString_methods.substring$2(host, sectionStart, end); 9945 slice = C.JSString_methods.substring$2(host, sectionStart, end);
9964 buffer._contents += !isNormalized ? slice.toLowerCase() : slice; 9946 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
9965 } 9947 }
9966 t1 = buffer._contents; 9948 t1 = buffer._contents;
9967 return t1.charCodeAt(0) == 0 ? t1 : t1; 9949 return t1.charCodeAt(0) == 0 ? t1 : t1;
9968 }, Uri__makeScheme: function(scheme, end) { 9950 }, Uri__makeScheme: function(scheme, start, end) {
9969 var firstCodeUnit, allLowercase, t1, i, codeUnit; 9951 var firstCodeUnit, allLowercase, t1, i, codeUnit;
9970 if (J.$eq(end, 0)) 9952 if (start === end)
9971 return ""; 9953 return "";
9972 firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, 0); 9954 firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, start);
9973 allLowercase = firstCodeUnit >= 97; 9955 allLowercase = firstCodeUnit >= 97;
9974 if (!(allLowercase && firstCodeUnit <= 122)) 9956 if (!(allLowercase && firstCodeUnit <= 122))
9975 t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90; 9957 t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90;
9976 else 9958 else
9977 t1 = true; 9959 t1 = true;
9978 if (!t1) 9960 if (!t1)
9979 P.Uri__fail(scheme, 0, "Scheme not starting with alphabetic character" ); 9961 P.Uri__fail(scheme, start, "Scheme not starting with alphabetic charac ter");
9980 if (typeof end !== "number") 9962 if (typeof end !== "number")
9981 return H.iae(end); 9963 return H.iae(end);
9982 i = 0; 9964 i = start;
9983 for (; i < end; ++i) { 9965 for (; i < end; ++i) {
9984 codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i); 9966 codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i);
9985 if (codeUnit < 128) { 9967 if (codeUnit < 128) {
9986 t1 = codeUnit >>> 4; 9968 t1 = codeUnit >>> 4;
9987 if (t1 >= 8) 9969 if (t1 >= 8)
9988 return H.ioore(C.List_JYB, t1); 9970 return H.ioore(C.List_JYB, t1);
9989 t1 = (C.List_JYB[t1] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0; 9971 t1 = (C.List_JYB[t1] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0;
9990 } else 9972 } else
9991 t1 = false; 9973 t1 = false;
9992 if (!t1) 9974 if (!t1)
9993 P.Uri__fail(scheme, i, "Illegal scheme character"); 9975 P.Uri__fail(scheme, i, "Illegal scheme character");
9994 if (codeUnit < 97 || codeUnit > 122) 9976 if (codeUnit < 97 || codeUnit > 122)
9995 allLowercase = false; 9977 allLowercase = false;
9996 } 9978 }
9997 scheme = C.JSString_methods.substring$2(scheme, 0, end); 9979 scheme = C.JSString_methods.substring$2(scheme, start, end);
9998 return !allLowercase ? scheme.toLowerCase() : scheme; 9980 return !allLowercase ? scheme.toLowerCase() : scheme;
9999 }, Uri__makeUserInfo: function(userInfo, start, end) { 9981 }, Uri__makeUserInfo: function(userInfo, start, end) {
10000 return P.Uri__normalize(userInfo, start, end, C.List_gRj); 9982 return P.Uri__normalize(userInfo, start, end, C.List_gRj);
10001 }, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSl ash, isFile) { 9983 }, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSl ash, isFile) {
10002 var t1, result; 9984 var t1, result;
10003 t1 = path == null; 9985 t1 = path == null;
10004 if (t1 && pathSegments == null) 9986 if (t1 && pathSegments == null)
10005 return isFile ? "/" : ""; 9987 return isFile ? "/" : "";
10006 t1 = !t1; 9988 t1 = !t1;
10007 if (t1 && pathSegments != null) 9989 if (t1 && pathSegments != null)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
10041 }, Uri__isHexDigit: function($char) { 10023 }, Uri__isHexDigit: function($char) {
10042 if (57 >= $char) 10024 if (57 >= $char)
10043 return 48 <= $char; 10025 return 48 <= $char;
10044 $char |= 32; 10026 $char |= 32;
10045 return 97 <= $char && 102 >= $char; 10027 return 97 <= $char && 102 >= $char;
10046 }, Uri__hexValue: function($char) { 10028 }, Uri__hexValue: function($char) {
10047 if (57 >= $char) 10029 if (57 >= $char)
10048 return $char - 48; 10030 return $char - 48;
10049 return ($char | 32) - 87; 10031 return ($char | 32) - 87;
10050 }, Uri__normalizeEscape: function(source, index, lowerCase) { 10032 }, Uri__normalizeEscape: function(source, index, lowerCase) {
10051 var t1, firstDigit, secondDigit, value; 10033 var t1, firstDigit, secondDigit, value, t2;
10052 t1 = index + 2; 10034 t1 = J.getInterceptor$ns(index);
10053 if (t1 >= source.length) 10035 if (J.$ge$n(t1.$add(index, 2), source.length))
10054 return "%"; 10036 return "%";
10055 firstDigit = C.JSString_methods.codeUnitAt$1(source, index + 1); 10037 firstDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 1));
10056 secondDigit = C.JSString_methods.codeUnitAt$1(source, t1); 10038 secondDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 2)) ;
10057 if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit)) 10039 if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit))
10058 return "%"; 10040 return "%";
10059 value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit); 10041 value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit);
10060 if (value < 127) { 10042 if (value < 127) {
10061 t1 = C.JSInt_methods._shrOtherPositive$1(value, 4); 10043 t2 = C.JSInt_methods._shrOtherPositive$1(value, 4);
10062 if (t1 >= 8) 10044 if (t2 >= 8)
10063 return H.ioore(C.List_nxB, t1); 10045 return H.ioore(C.List_nxB, t2);
10064 t1 = (C.List_nxB[t1] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0; 10046 t2 = (C.List_nxB[t2] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0;
10065 } else 10047 } else
10066 t1 = false; 10048 t2 = false;
10067 if (t1) 10049 if (t2)
10068 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); 10050 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
10069 if (firstDigit >= 97 || secondDigit >= 97) 10051 if (firstDigit >= 97 || secondDigit >= 97)
10070 return C.JSString_methods.substring$2(source, index, index + 3).toUppe rCase(); 10052 return C.JSString_methods.substring$2(source, index, t1.$add(index, 3) ).toUpperCase();
10071 return; 10053 return;
10072 }, Uri__escapeChar: function($char) { 10054 }, Uri__escapeChar: function($char) {
10073 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; 10055 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3;
10074 if ($char < 128) { 10056 if ($char < 128) {
10075 codeUnits = Array(3); 10057 codeUnits = Array(3);
10076 codeUnits.fixed$length = Array; 10058 codeUnits.fixed$length = Array;
10077 codeUnits[0] = 37; 10059 codeUnits[0] = 37;
10078 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar >>> 4); 10060 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar >>> 4);
10079 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar & 15); 10061 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar & 15);
10080 } else { 10062 } else {
(...skipping 25 matching lines...) Expand all
10106 t3 = index + 2; 10088 t3 = index + 2;
10107 t2 = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 15) ; 10089 t2 = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 15) ;
10108 if (t3 >= t1) 10090 if (t3 >= t1)
10109 return H.ioore(codeUnits, t3); 10091 return H.ioore(codeUnits, t3);
10110 codeUnits[t3] = t2; 10092 codeUnits[t3] = t2;
10111 index += 3; 10093 index += 3;
10112 } 10094 }
10113 } 10095 }
10114 return P.String_String$fromCharCodes(codeUnits, 0, null); 10096 return P.String_String$fromCharCodes(codeUnits, 0, null);
10115 }, Uri__normalize: function(component, start, end, charTable) { 10097 }, Uri__normalize: function(component, start, end, charTable) {
10116 var t1, index, sectionStart, buffer, $char, t2, replacement, sourceLengt h, tail; 10098 var t1, index, sectionStart, buffer, t2, $char, t3, replacement, sourceL ength, tail;
10117 if (typeof end !== "number") 10099 for (t1 = J.getInterceptor$s(component), index = start, sectionStart = i ndex, buffer = null; t2 = J.getInterceptor$n(index), t2.$lt(index, end);) {
10118 return H.iae(end);
10119 t1 = J.getInterceptor$s(component);
10120 index = start;
10121 sectionStart = index;
10122 buffer = null;
10123 for (; index < end;) {
10124 $char = t1.codeUnitAt$1(component, index); 10100 $char = t1.codeUnitAt$1(component, index);
10125 if ($char < 127) { 10101 if ($char < 127) {
10126 t2 = $char >>> 4; 10102 t3 = $char >>> 4;
10127 if (t2 >= 8) 10103 if (t3 >= 8)
10128 return H.ioore(charTable, t2); 10104 return H.ioore(charTable, t3);
10129 t2 = (charTable[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; 10105 t3 = (charTable[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
10130 } else 10106 } else
10131 t2 = false; 10107 t3 = false;
10132 if (t2) 10108 if (t3)
10133 ++index; 10109 index = t2.$add(index, 1);
10134 else { 10110 else {
10135 if ($char === 37) { 10111 if ($char === 37) {
10136 replacement = P.Uri__normalizeEscape(component, index, false); 10112 replacement = P.Uri__normalizeEscape(component, index, false);
10137 if (replacement == null) { 10113 if (replacement == null) {
10138 index += 3; 10114 index = t2.$add(index, 3);
10139 continue; 10115 continue;
10140 } 10116 }
10141 if ("%" === replacement) { 10117 if ("%" === replacement) {
10142 replacement = "%25"; 10118 replacement = "%25";
10143 sourceLength = 1; 10119 sourceLength = 1;
10144 } else 10120 } else
10145 sourceLength = 3; 10121 sourceLength = 3;
10146 } else { 10122 } else {
10147 if ($char <= 93) { 10123 if ($char <= 93) {
10148 t2 = $char >>> 4; 10124 t3 = $char >>> 4;
10149 if (t2 >= 8) 10125 if (t3 >= 8)
10150 return H.ioore(C.List_2Vk, t2); 10126 return H.ioore(C.List_2Vk, t3);
10151 t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; 10127 t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
10152 } else 10128 } else
10153 t2 = false; 10129 t3 = false;
10154 if (t2) { 10130 if (t3) {
10155 P.Uri__fail(component, index, "Invalid character"); 10131 P.Uri__fail(component, index, "Invalid character");
10156 replacement = null; 10132 replacement = null;
10157 sourceLength = null; 10133 sourceLength = null;
10158 } else { 10134 } else {
10159 if (($char & 64512) === 55296) { 10135 if (($char & 64512) === 55296)
10160 t2 = index + 1; 10136 if (J.$lt$n(t2.$add(index, 1), end)) {
10161 if (t2 < end) { 10137 tail = C.JSString_methods.codeUnitAt$1(component, t2.$add(in dex, 1));
10162 tail = C.JSString_methods.codeUnitAt$1(component, t2);
10163 if ((tail & 64512) === 56320) { 10138 if ((tail & 64512) === 56320) {
10164 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0 ; 10139 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0 ;
10165 sourceLength = 2; 10140 sourceLength = 2;
10166 } else 10141 } else
10167 sourceLength = 1; 10142 sourceLength = 1;
10168 } else 10143 } else
10169 sourceLength = 1; 10144 sourceLength = 1;
10170 } else 10145 else
10171 sourceLength = 1; 10146 sourceLength = 1;
10172 replacement = P.Uri__escapeChar($char); 10147 replacement = P.Uri__escapeChar($char);
10173 } 10148 }
10174 } 10149 }
10175 if (buffer == null) 10150 if (buffer == null)
10176 buffer = new P.StringBuffer(""); 10151 buffer = new P.StringBuffer("");
10177 t2 = C.JSString_methods.substring$2(component, sectionStart, index); 10152 t3 = C.JSString_methods.substring$2(component, sectionStart, index);
10178 buffer._contents = buffer._contents + t2; 10153 buffer._contents = buffer._contents + t3;
10179 buffer._contents += H.S(replacement); 10154 buffer._contents += H.S(replacement);
10180 if (typeof sourceLength !== "number") 10155 index = t2.$add(index, sourceLength);
10181 return H.iae(sourceLength);
10182 index += sourceLength;
10183 sectionStart = index; 10156 sectionStart = index;
10184 } 10157 }
10185 } 10158 }
10186 if (buffer == null) 10159 if (buffer == null)
10187 return t1.substring$2(component, start, end); 10160 return t1.substring$2(component, start, end);
10188 if (sectionStart < end) 10161 if (J.$lt$n(sectionStart, end))
10189 buffer._contents += t1.substring$2(component, sectionStart, end); 10162 buffer._contents += t1.substring$2(component, sectionStart, end);
10190 t1 = buffer._contents; 10163 t1 = buffer._contents;
10191 return t1.charCodeAt(0) == 0 ? t1 : t1; 10164 return t1.charCodeAt(0) == 0 ? t1 : t1;
10192 }, Uri_decodeComponent: [function(encodedComponent) { 10165 }, Uri_decodeComponent: [function(encodedComponent) {
10193 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); 10166 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false);
10194 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71], Uri_splitQueryStrin g: function(query, encoding) { 10167 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71], Uri_splitQueryStrin g: function(query, encoding) {
10195 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); 10168 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding));
10196 }, Uri_parseIPv4Address: function(host) { 10169 }, Uri_parseIPv4Address: function(host) {
10197 var t1, bytes; 10170 var t1, bytes;
10198 t1 = new P.Uri_parseIPv4Address_error(); 10171 t1 = new P.Uri_parseIPv4Address_error();
10199 bytes = host.split("."); 10172 bytes = host.split(".");
10200 if (bytes.length !== 4) 10173 if (bytes.length !== 4)
10201 t1.call$1("IPv4 address should contain exactly 4 parts"); 10174 t1.call$1("IPv4 address should contain exactly 4 parts");
10202 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa rseIPv4Address_closure(t1)), [null, null]).toList$0(0); 10175 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa rseIPv4Address_closure(t1)), [null, null]).toList$0(0);
10203 }, Uri_parseIPv6Address: function(host, start, end) { 10176 }, Uri_parseIPv6Address: function(host, start, end) {
10204 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd, isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; 10177 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd, isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j;
10205 if (end == null) 10178 if (end == null)
10206 end = J.get$length$asx(host); 10179 end = J.get$length$asx(host);
10207 error = new P.Uri_parseIPv6Address_error(host); 10180 error = new P.Uri_parseIPv6Address_error(host);
10208 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); 10181 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error);
10209 if (J.get$length$asx(host) < 2) 10182 if (J.get$length$asx(host) < 2)
10210 error.call$1("address is too short"); 10183 error.call$1("address is too short");
10211 parts = []; 10184 parts = [];
10212 partStart = start; 10185 partStart = start;
10213 i = start; 10186 for (i = start, wildcardSeen = false; t1 = J.getInterceptor$n(i), t1.$lt (i, end); i = J.$add$ns(i, 1))
10214 wildcardSeen = false;
10215 while (true) {
10216 t1 = end;
10217 if (typeof t1 !== "number")
10218 return H.iae(t1);
10219 if (!(i < t1))
10220 break;
10221 if (J.codeUnitAt$1$s(host, i) === 58) { 10187 if (J.codeUnitAt$1$s(host, i) === 58) {
10222 if (i === start) { 10188 if (t1.$eq(i, start)) {
10223 ++i; 10189 i = t1.$add(i, 1);
10224 if (J.codeUnitAt$1$s(host, i) !== 58) 10190 if (J.codeUnitAt$1$s(host, i) !== 58)
10225 error.call$2("invalid start colon.", i); 10191 error.call$2("invalid start colon.", i);
10226 partStart = i; 10192 partStart = i;
10227 } 10193 }
10228 if (i === partStart) { 10194 t1 = J.getInterceptor(i);
10195 if (t1.$eq(i, partStart)) {
10229 if (wildcardSeen) 10196 if (wildcardSeen)
10230 error.call$2("only one wildcard `::` is allowed", i); 10197 error.call$2("only one wildcard `::` is allowed", i);
10231 J.add$1$ax(parts, -1); 10198 J.add$1$ax(parts, -1);
10232 wildcardSeen = true; 10199 wildcardSeen = true;
10233 } else 10200 } else
10234 J.add$1$ax(parts, parseHex.call$2(partStart, i)); 10201 J.add$1$ax(parts, parseHex.call$2(partStart, i));
10235 partStart = i + 1; 10202 partStart = t1.$add(i, 1);
10236 } 10203 }
10237 ++i;
10238 }
10239 if (J.get$length$asx(parts) === 0) 10204 if (J.get$length$asx(parts) === 0)
10240 error.call$1("too few parts"); 10205 error.call$1("too few parts");
10241 atEnd = J.$eq(partStart, end); 10206 atEnd = J.$eq(partStart, end);
10242 isLastWildcard = J.$eq(J.get$last$ax(parts), -1); 10207 isLastWildcard = J.$eq(J.get$last$ax(parts), -1);
10243 if (atEnd && !isLastWildcard) 10208 if (atEnd && !isLastWildcard)
10244 error.call$2("expected a part after last `:`", end); 10209 error.call$2("expected a part after last `:`", end);
10245 if (!atEnd) 10210 if (!atEnd)
10246 try { 10211 try {
10247 J.add$1$ax(parts, parseHex.call$2(partStart, end)); 10212 J.add$1$ax(parts, parseHex.call$2(partStart, end));
10248 } catch (exception) { 10213 } catch (exception) {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
10402 Uri_parse_isRegName: { 10367 Uri_parse_isRegName: {
10403 "^": "Closure:46;", 10368 "^": "Closure:46;",
10404 call$1: function(ch) { 10369 call$1: function(ch) {
10405 ch.$lt(0, 128); 10370 ch.$lt(0, 128);
10406 return false; 10371 return false;
10407 } 10372 }
10408 }, 10373 },
10409 Uri_parse_parseAuth: { 10374 Uri_parse_parseAuth: {
10410 "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2", 10375 "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2",
10411 call$0: function() { 10376 call$0: function() {
10412 var t1, t2, t3, authStart, $char, lastColon, lastAt, char0, endBracket, ho stEnd, hostStart, i, portNumber, digit; 10377 var t1, authStart, t2, $char, lastColon, lastAt, char0, endBracket, hostEn d, t3, hostStart, i, portNumber, digit;
10413 t1 = this._box_0; 10378 t1 = this._box_0;
10414 t2 = this._captured_uri_1; 10379 if (J.$eq(t1._captured_index_5, t1._captured_end_0)) {
10415 t3 = J.getInterceptor$asx(t2); 10380 t1._captured_char_6 = this._captured_EOI_2;
10416 if (t1._captured_index_4 === t3.get$length(t2)) {
10417 t1._captured_char_5 = this._captured_EOI_2;
10418 return; 10381 return;
10419 } 10382 }
10420 authStart = t1._captured_index_4; 10383 authStart = t1._captured_index_5;
10421 t1._captured_char_5 = t3.codeUnitAt$1(t2, authStart); 10384 t2 = this._captured_uri_1;
10422 for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; t1._captur ed_index_4 < t2.length;) { 10385 t1._captured_char_6 = J.getInterceptor$s(t2).codeUnitAt$1(t2, authStart);
10423 char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_4); 10386 for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; J.$lt$n(t1 ._captured_index_5, t1._captured_end_0);) {
10424 t1._captured_char_5 = char0; 10387 char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5);
10388 t1._captured_char_6 = char0;
10425 if (char0 === 47 || char0 === 63 || char0 === 35) 10389 if (char0 === 47 || char0 === 63 || char0 === 35)
10426 break; 10390 break;
10427 if (char0 === 64) { 10391 if (char0 === 64) {
10428 lastAt = t1._captured_index_4; 10392 lastAt = t1._captured_index_5;
10429 lastColon = -1; 10393 lastColon = -1;
10430 } else if (char0 === 58) 10394 } else if (char0 === 58)
10431 lastColon = t1._captured_index_4; 10395 lastColon = t1._captured_index_5;
10432 else if (char0 === 91) { 10396 else if (char0 === 91) {
10433 endBracket = C.JSString_methods.indexOf$2(t2, "]", t1._captured_index_ 4 + 1); 10397 endBracket = C.JSString_methods.indexOf$2(t2, "]", J.$add$ns(t1._captu red_index_5, 1));
10434 if (endBracket === -1) { 10398 if (endBracket === -1) {
10435 t1._captured_index_4 = t2.length; 10399 t1._captured_index_5 = t1._captured_end_0;
10436 t1._captured_char_5 = $char; 10400 t1._captured_char_6 = $char;
10437 lastColon = -1; 10401 lastColon = -1;
10438 break; 10402 break;
10439 } else 10403 } else
10440 t1._captured_index_4 = endBracket; 10404 t1._captured_index_5 = endBracket;
10441 lastColon = -1; 10405 lastColon = -1;
10442 } 10406 }
10443 ++t1._captured_index_4; 10407 t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1);
10444 t1._captured_char_5 = $char; 10408 t1._captured_char_6 = $char;
10445 } 10409 }
10446 hostEnd = t1._captured_index_4; 10410 hostEnd = t1._captured_index_5;
10447 if (lastAt >= 0) { 10411 t3 = J.getInterceptor$n(lastAt);
10448 t1._captured_userinfo_1 = P.Uri__makeUserInfo(t2, authStart, lastAt); 10412 if (t3.$ge(lastAt, 0)) {
10449 hostStart = lastAt + 1; 10413 t1._captured_userinfo_2 = P.Uri__makeUserInfo(t2, authStart, lastAt);
10414 hostStart = t3.$add(lastAt, 1);
10450 } else 10415 } else
10451 hostStart = authStart; 10416 hostStart = authStart;
10452 if (lastColon >= 0) { 10417 t3 = J.getInterceptor$n(lastColon);
10453 i = lastColon + 1; 10418 if (t3.$ge(lastColon, 0)) {
10454 if (i < t1._captured_index_4) 10419 if (J.$lt$n(t3.$add(lastColon, 1), t1._captured_index_5))
10455 for (portNumber = 0; i < t1._captured_index_4; ++i) { 10420 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)) {
10456 digit = C.JSString_methods.codeUnitAt$1(t2, i); 10421 digit = C.JSString_methods.codeUnitAt$1(t2, i);
10457 if (48 > digit || 57 < digit) 10422 if (48 > digit || 57 < digit)
10458 P.Uri__fail(t2, i, "Invalid port number"); 10423 P.Uri__fail(t2, i, "Invalid port number");
10459 portNumber = portNumber * 10 + (digit - 48); 10424 portNumber = portNumber * 10 + (digit - 48);
10460 } 10425 }
10461 else 10426 else
10462 portNumber = null; 10427 portNumber = null;
10463 t1._captured_port_3 = P.Uri__makePort(portNumber, t1._captured_scheme_0) ; 10428 t1._captured_port_4 = P.Uri__makePort(portNumber, t1._captured_scheme_1) ;
10464 hostEnd = lastColon; 10429 hostEnd = lastColon;
10465 } 10430 }
10466 t1._captured_host_2 = P.Uri__makeHost(t2, hostStart, hostEnd, true); 10431 t1._captured_host_3 = P.Uri__makeHost(t2, hostStart, hostEnd, true);
10467 if (t1._captured_index_4 < t2.length) 10432 if (J.$lt$n(t1._captured_index_5, t1._captured_end_0))
10468 t1._captured_char_5 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_i ndex_4); 10433 t1._captured_char_6 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_i ndex_5);
10469 } 10434 }
10470 }, 10435 },
10471 Uri__checkNonWindowsPathReservedCharacters_closure: { 10436 Uri__checkNonWindowsPathReservedCharacters_closure: {
10472 "^": "Closure:2;_captured_argumentError_0", 10437 "^": "Closure:2;_captured_argumentError_0",
10473 call$1: function(segment) { 10438 call$1: function(segment) {
10474 if (J.contains$1$asx(segment, "/") === true) 10439 if (J.contains$1$asx(segment, "/") === true)
10475 if (this._captured_argumentError_0) 10440 if (this._captured_argumentError_0)
10476 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S (segment))); 10441 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S (segment)));
10477 else 10442 else
10478 throw H.wrapException(P.UnsupportedError$("Illegal path character " + H.S(segment))); 10443 throw H.wrapException(P.UnsupportedError$("Illegal path character " + H.S(segment)));
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
10648 Blob: { 10613 Blob: {
10649 "^": "Interceptor;", 10614 "^": "Interceptor;",
10650 close$0: function(receiver) { 10615 close$0: function(receiver) {
10651 return receiver.close(); 10616 return receiver.close();
10652 }, 10617 },
10653 $isBlob: 1, 10618 $isBlob: 1,
10654 "%": ";Blob" 10619 "%": ";Blob"
10655 }, 10620 },
10656 BodyElement: { 10621 BodyElement: {
10657 "^": "HtmlElement;", 10622 "^": "HtmlElement;",
10658 get$onLoad: function(receiver) {
10659 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "load" , false), [null]);
10660 },
10661 $isInterceptor: 1, 10623 $isInterceptor: 1,
10662 "%": "HTMLBodyElement" 10624 "%": "HTMLBodyElement"
10663 }, 10625 },
10664 CharacterData: { 10626 CharacterData: {
10665 "^": "Node;data=,length=", 10627 "^": "Node;data=,length=",
10666 $isInterceptor: 1, 10628 $isInterceptor: 1,
10667 "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text" 10629 "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text"
10668 }, 10630 },
10669 CompositionEvent: { 10631 CompositionEvent: {
10670 "^": "UIEvent;data=", 10632 "^": "UIEvent;data=",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
10742 }, 10704 },
10743 $isRectangle: 1, 10705 $isRectangle: 1,
10744 $asRectangle: $.functionThatReturnsNull, 10706 $asRectangle: $.functionThatReturnsNull,
10745 "%": ";DOMRectReadOnly" 10707 "%": ";DOMRectReadOnly"
10746 }, 10708 },
10747 Element: { 10709 Element: {
10748 "^": "Node;", 10710 "^": "Node;",
10749 toString$0: function(receiver) { 10711 toString$0: function(receiver) {
10750 return receiver.localName; 10712 return receiver.localName;
10751 }, 10713 },
10752 get$onLoad: function(receiver) {
10753 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "load" , false), [null]);
10754 },
10755 $isElement: 1, 10714 $isElement: 1,
10756 $isNode: 1, 10715 $isNode: 1,
10757 $isObject: 1, 10716 $isObject: 1,
10758 $isInterceptor: 1, 10717 $isInterceptor: 1,
10759 "%": ";Element" 10718 "%": ";Element"
10760 }, 10719 },
10761 EmbedElement: { 10720 EmbedElement: {
10762 "^": "HtmlElement;src}", 10721 "^": "HtmlElement;src%",
10763 "%": "HTMLEmbedElement" 10722 "%": "HTMLEmbedElement"
10764 }, 10723 },
10765 ErrorEvent: { 10724 ErrorEvent: {
10766 "^": "Event;error=,message=", 10725 "^": "Event;error=,message=",
10767 "%": "ErrorEvent" 10726 "%": "ErrorEvent"
10768 }, 10727 },
10769 Event: { 10728 Event: {
10770 "^": "Interceptor;", 10729 "^": "Interceptor;",
10771 "%": "AnimationPlayerEvent|AudioProcessingEvent|AutocompleteErrorEvent|Befor eUnloadEvent|CloseEvent|CustomEvent|DeviceLightEvent|DeviceMotionEvent|DeviceOri entationEvent|ExtendableEvent|FetchEvent|FontFaceSetLoadEvent|GamepadEvent|HashC hangeEvent|IDBVersionChangeEvent|InstallEvent|MIDIConnectionEvent|MediaKeyNeeded Event|MediaQueryListEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent|O fflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|Progr essEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RTCPeer ConnectionIceEvent|RelatedEvent|ResourceProgressEvent|SecurityPolicyViolationEve nt|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|Transitio nEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpReque stProgressEvent;ClipboardEvent|Event|InputEvent" 10730 "%": "AnimationPlayerEvent|AudioProcessingEvent|AutocompleteErrorEvent|Befor eUnloadEvent|CloseEvent|CustomEvent|DeviceLightEvent|DeviceMotionEvent|DeviceOri entationEvent|ExtendableEvent|FetchEvent|FontFaceSetLoadEvent|GamepadEvent|HashC hangeEvent|IDBVersionChangeEvent|InstallEvent|MIDIConnectionEvent|MediaKeyNeeded Event|MediaQueryListEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent|O fflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|Progr essEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RTCPeer ConnectionIceEvent|RelatedEvent|ResourceProgressEvent|SecurityPolicyViolationEve nt|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|Transitio nEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpReque stProgressEvent;ClipboardEvent|Event|InputEvent"
10772 }, 10731 },
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
10835 }, 10794 },
10836 Interceptor_ListMixin_ImmutableListMixin: { 10795 Interceptor_ListMixin_ImmutableListMixin: {
10837 "^": "Interceptor_ListMixin+ImmutableListMixin;", 10796 "^": "Interceptor_ListMixin+ImmutableListMixin;",
10838 $isList: 1, 10797 $isList: 1,
10839 $asList: function() { 10798 $asList: function() {
10840 return [W.Node]; 10799 return [W.Node];
10841 }, 10800 },
10842 $isEfficientLength: 1 10801 $isEfficientLength: 1
10843 }, 10802 },
10844 IFrameElement: { 10803 IFrameElement: {
10845 "^": "HtmlElement;src}", 10804 "^": "HtmlElement;src%",
10846 get$contentWindow: function(receiver) { 10805 get$contentWindow: function(receiver) {
10847 return W._convertNativeToDart_Window(receiver.contentWindow); 10806 return W._convertNativeToDart_Window(receiver.contentWindow);
10848 }, 10807 },
10849 "%": "HTMLIFrameElement" 10808 "%": "HTMLIFrameElement"
10850 }, 10809 },
10851 ImageElement: { 10810 ImageElement: {
10852 "^": "HtmlElement;src}", 10811 "^": "HtmlElement;src%",
10853 "%": "HTMLImageElement" 10812 "%": "HTMLImageElement"
10854 }, 10813 },
10855 InputElement: { 10814 InputElement: {
10856 "^": "HtmlElement;src}", 10815 "^": "HtmlElement;src%",
10857 $isInterceptor: 1, 10816 $isInterceptor: 1,
10858 "%": "HTMLInputElement" 10817 "%": "HTMLInputElement"
10859 }, 10818 },
10860 KeyboardEvent: { 10819 KeyboardEvent: {
10861 "^": "UIEvent;location=", 10820 "^": "UIEvent;location=",
10862 "%": "KeyboardEvent" 10821 "%": "KeyboardEvent"
10863 }, 10822 },
10864 Location: { 10823 Location: {
10865 "^": "Interceptor;", 10824 "^": "Interceptor;",
10866 get$origin: function(receiver) { 10825 get$origin: function(receiver) {
10867 if ("origin" in receiver) 10826 if ("origin" in receiver)
10868 return receiver.origin; 10827 return receiver.origin;
10869 return H.S(receiver.protocol) + "//" + H.S(receiver.host); 10828 return H.S(receiver.protocol) + "//" + H.S(receiver.host);
10870 }, 10829 },
10871 toString$0: function(receiver) { 10830 toString$0: function(receiver) {
10872 return String(receiver); 10831 return String(receiver);
10873 }, 10832 },
10874 "%": "Location" 10833 "%": "Location"
10875 }, 10834 },
10876 MediaElement: { 10835 MediaElement: {
10877 "^": "HtmlElement;error=,src}", 10836 "^": "HtmlElement;error=,src%",
10878 "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement" 10837 "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"
10879 }, 10838 },
10880 MediaKeyEvent: { 10839 MediaKeyEvent: {
10881 "^": "Event;message=", 10840 "^": "Event;message=",
10882 "%": "MediaKeyEvent" 10841 "%": "MediaKeyEvent"
10883 }, 10842 },
10884 MediaKeyMessageEvent: { 10843 MediaKeyMessageEvent: {
10885 "^": "Event;message=", 10844 "^": "Event;message=",
10886 "%": "MediaKeyMessageEvent" 10845 "%": "MediaKeyMessageEvent"
10887 }, 10846 },
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
10998 }, 10957 },
10999 PositionError: { 10958 PositionError: {
11000 "^": "Interceptor;message=", 10959 "^": "Interceptor;message=",
11001 "%": "PositionError" 10960 "%": "PositionError"
11002 }, 10961 },
11003 PushEvent: { 10962 PushEvent: {
11004 "^": "Event;data=", 10963 "^": "Event;data=",
11005 "%": "PushEvent" 10964 "%": "PushEvent"
11006 }, 10965 },
11007 ScriptElement: { 10966 ScriptElement: {
11008 "^": "HtmlElement;src}", 10967 "^": "HtmlElement;src%",
11009 "%": "HTMLScriptElement" 10968 "%": "HTMLScriptElement"
11010 }, 10969 },
11011 SelectElement: { 10970 SelectElement: {
11012 "^": "HtmlElement;length=", 10971 "^": "HtmlElement;length=",
11013 "%": "HTMLSelectElement" 10972 "%": "HTMLSelectElement"
11014 }, 10973 },
11015 SourceElement: { 10974 SourceElement: {
11016 "^": "HtmlElement;src}", 10975 "^": "HtmlElement;src%",
11017 "%": "HTMLSourceElement" 10976 "%": "HTMLSourceElement"
11018 }, 10977 },
11019 SpeechRecognitionError: { 10978 SpeechRecognitionError: {
11020 "^": "Event;error=,message=", 10979 "^": "Event;error=,message=",
11021 "%": "SpeechRecognitionError" 10980 "%": "SpeechRecognitionError"
11022 }, 10981 },
11023 TextEvent: { 10982 TextEvent: {
11024 "^": "UIEvent;data=", 10983 "^": "UIEvent;data=",
11025 "%": "TextEvent" 10984 "%": "TextEvent"
11026 }, 10985 },
11027 TrackElement: { 10986 TrackElement: {
11028 "^": "HtmlElement;src}", 10987 "^": "HtmlElement;src%",
11029 "%": "HTMLTrackElement" 10988 "%": "HTMLTrackElement"
11030 }, 10989 },
11031 UIEvent: { 10990 UIEvent: {
11032 "^": "Event;", 10991 "^": "Event;",
11033 "%": "DragEvent|FocusEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseW heelEvent|PointerEvent|SVGZoomEvent|TouchEvent|WheelEvent;UIEvent" 10992 "%": "DragEvent|FocusEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseW heelEvent|PointerEvent|SVGZoomEvent|TouchEvent|WheelEvent;UIEvent"
11034 }, 10993 },
11035 WebSocket: { 10994 WebSocket: {
11036 "^": "EventTarget;", 10995 "^": "EventTarget;",
11037 close$2: function(receiver, code, reason) { 10996 close$2: function(receiver, code, reason) {
11038 return receiver.close(code, reason); 10997 return receiver.close(code, reason);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
11135 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) { 11094 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) {
11136 var t1 = new W._EventStreamSubscription(0, this._html$_target, this._event Type, W._wrapZone(onData), this._useCapture); 11095 var t1 = new W._EventStreamSubscription(0, this._html$_target, this._event Type, W._wrapZone(onData), this._useCapture);
11137 t1.$builtinTypeInfo = this.$builtinTypeInfo; 11096 t1.$builtinTypeInfo = this.$builtinTypeInfo;
11138 t1._tryResume$0(); 11097 t1._tryResume$0();
11139 return t1; 11098 return t1;
11140 }, 11099 },
11141 listen$3$onDone$onError: function(onData, onDone, onError) { 11100 listen$3$onDone$onError: function(onData, onDone, onError) {
11142 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on Error); 11101 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on Error);
11143 } 11102 }
11144 }, 11103 },
11145 _ElementEventStreamImpl: {
11146 "^": "_EventStream;_html$_target,_eventType,_useCapture"
11147 },
11148 _EventStreamSubscription: { 11104 _EventStreamSubscription: {
11149 "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData, _useCapture", 11105 "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData, _useCapture",
11150 cancel$0: function() { 11106 cancel$0: function() {
11151 if (this._html$_target == null) 11107 if (this._html$_target == null)
11152 return; 11108 return;
11153 this._unlisten$0(); 11109 this._unlisten$0();
11154 this._html$_target = null; 11110 this._html$_target = null;
11155 this._html$_onData = null; 11111 this._html$_onData = null;
11156 return; 11112 return;
11157 }, 11113 },
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
11796 if (match == null) 11752 if (match == null)
11797 throw H.wrapException(P.FormatException$("Couldn't parse VM stack trac e line '" + H.S(frame) + "'.", null, null)); 11753 throw H.wrapException(P.FormatException$("Couldn't parse VM stack trac e line '" + H.S(frame) + "'.", null, null));
11798 t1 = match._match; 11754 t1 = match._match;
11799 if (1 >= t1.length) 11755 if (1 >= t1.length)
11800 return H.ioore(t1, 1); 11756 return H.ioore(t1, 1);
11801 t2 = J.replaceAll$2$s(t1[1], $.get$_asyncBody(), "<async>"); 11757 t2 = J.replaceAll$2$s(t1[1], $.get$_asyncBody(), "<async>");
11802 H.checkString("<fn>"); 11758 H.checkString("<fn>");
11803 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); 11759 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
11804 if (2 >= t1.length) 11760 if (2 >= t1.length)
11805 return H.ioore(t1, 2); 11761 return H.ioore(t1, 2);
11806 uri = P.Uri_parse(t1[2]); 11762 uri = P.Uri_parse(t1[2], 0, null);
11807 if (3 >= t1.length) 11763 if (3 >= t1.length)
11808 return H.ioore(t1, 3); 11764 return H.ioore(t1, 3);
11809 lineAndColumn = J.split$1$s(t1[3], ":"); 11765 lineAndColumn = J.split$1$s(t1[3], ":");
11810 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1] , null, null) : null; 11766 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1] , null, null) : null;
11811 return new S.Frame(uri, line, lineAndColumn.length > 2 ? H.Primitives_pa rseInt(lineAndColumn[2], null, null) : null, member); 11767 return new S.Frame(uri, line, lineAndColumn.length > 2 ? H.Primitives_pa rseInt(lineAndColumn[2], null, null) : null, member);
11812 }, Frame_Frame$parseV8: function(frame) { 11768 }, Frame_Frame$parseV8: function(frame) {
11813 var match, t1, t2, t3, t4; 11769 var match, t1, t2, t3, t4;
11814 match = $.get$_v8Frame().firstMatch$1(frame); 11770 match = $.get$_v8Frame().firstMatch$1(frame);
11815 if (match == null) 11771 if (match == null)
11816 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trac e line '" + H.S(frame) + "'.", null, null)); 11772 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trac e line '" + H.S(frame) + "'.", null, null));
11817 t1 = new S.Frame_Frame$parseV8_parseLocation(frame); 11773 t1 = new S.Frame_Frame$parseV8_parseLocation(frame);
11818 t2 = match._match; 11774 t2 = match._match;
11819 t3 = t2.length; 11775 t3 = t2.length;
11820 if (2 >= t3) 11776 if (2 >= t3)
11821 return H.ioore(t2, 2); 11777 return H.ioore(t2, 2);
11822 t4 = t2[2]; 11778 t4 = t2[2];
11823 if (t4 != null) { 11779 if (t4 != null) {
11824 t2 = J.replaceAll$2$s(t2[1], "<anonymous>", "<fn>"); 11780 t2 = J.replaceAll$2$s(t2[1], "<anonymous>", "<fn>");
11825 H.checkString("<fn>"); 11781 H.checkString("<fn>");
11826 return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "Anonymous functi on", "<fn>")); 11782 return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "Anonymous functi on", "<fn>"));
11827 } else { 11783 } else {
11828 if (3 >= t3) 11784 if (3 >= t3)
11829 return H.ioore(t2, 3); 11785 return H.ioore(t2, 3);
11830 return t1.call$2(t2[3], "<fn>"); 11786 return t1.call$2(t2[3], "<fn>");
11831 } 11787 }
11832 }, Frame__uriOrPathToUri: function(uriOrPath) { 11788 }, Frame__uriOrPathToUri: function(uriOrPath) {
11833 var t1 = J.getInterceptor$asx(uriOrPath); 11789 var t1 = J.getInterceptor$asx(uriOrPath);
11834 if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true) 11790 if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true)
11835 return P.Uri_parse(uriOrPath); 11791 return P.Uri_parse(uriOrPath, 0, null);
11836 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true ) 11792 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true )
11837 return P.Uri_Uri$file(uriOrPath, true); 11793 return P.Uri_Uri$file(uriOrPath, true);
11838 else if (t1.startsWith$1(uriOrPath, "/")) 11794 else if (t1.startsWith$1(uriOrPath, "/"))
11839 return P.Uri_Uri$file(uriOrPath, false); 11795 return P.Uri_Uri$file(uriOrPath, false);
11840 if (C.JSString_methods.contains$1(uriOrPath, "\\")) 11796 if (C.JSString_methods.contains$1(uriOrPath, "\\"))
11841 return $.get$windows().toUri$1(uriOrPath); 11797 return $.get$windows().toUri$1(uriOrPath);
11842 return P.Uri_parse(uriOrPath); 11798 return P.Uri_parse(uriOrPath, 0, null);
11843 }} 11799 }}
11844 }, 11800 },
11845 Frame_Frame$parseV8_parseLocation: { 11801 Frame_Frame$parseV8_parseLocation: {
11846 "^": "Closure:40;_captured_frame_0", 11802 "^": "Closure:40;_captured_frame_0",
11847 call$2: function($location, member) { 11803 call$2: function($location, member) {
11848 var t1, evalMatch, t2, urlMatch, t3; 11804 var t1, evalMatch, t2, urlMatch, t3;
11849 t1 = $.get$_v8EvalLocation(); 11805 t1 = $.get$_v8EvalLocation();
11850 evalMatch = t1.firstMatch$1($location); 11806 evalMatch = t1.firstMatch$1($location);
11851 for (; evalMatch != null;) { 11807 for (; evalMatch != null;) {
11852 t2 = evalMatch._match; 11808 t2 = evalMatch._match;
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
12105 } 12061 }
12106 }], 12062 }],
12107 ["path", "package:path/path.dart", , B, { 12063 ["path", "package:path/path.dart", , B, {
12108 "^": "", 12064 "^": "",
12109 current: function() { 12065 current: function() {
12110 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe tPath, targetQuery, fragment, path; 12066 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe tPath, targetQuery, fragment, path;
12111 uri = P.Uri_base(); 12067 uri = P.Uri_base();
12112 t1 = $.get$Style_platform(); 12068 t1 = $.get$Style_platform();
12113 t2 = $.get$Style_url(); 12069 t2 = $.get$Style_url();
12114 if (t1 == null ? t2 == null : t1 === t2) { 12070 if (t1 == null ? t2 == null : t1 === t2) {
12115 t1 = P.Uri_parse("."); 12071 t1 = P.Uri_parse(".", 0, null);
12116 targetScheme = t1.scheme; 12072 targetScheme = t1.scheme;
12117 if (targetScheme.length !== 0) { 12073 if (targetScheme.length !== 0) {
12118 if (t1._host != null) { 12074 if (t1._host != null) {
12119 targetUserInfo = t1._userInfo; 12075 targetUserInfo = t1._userInfo;
12120 targetHost = t1.get$host(t1); 12076 targetHost = t1.get$host(t1);
12121 targetPort = t1._port != null ? t1.get$port(t1) : null; 12077 targetPort = t1._port != null ? t1.get$port(t1) : null;
12122 } else { 12078 } else {
12123 targetUserInfo = ""; 12079 targetUserInfo = "";
12124 targetHost = null; 12080 targetHost = null;
12125 targetPort = null; 12081 targetPort = null;
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
12673 return 0; 12629 return 0;
12674 }, 12630 },
12675 isRootRelative$1: function(path) { 12631 isRootRelative$1: function(path) {
12676 var t1 = J.getInterceptor$asx(path); 12632 var t1 = J.getInterceptor$asx(path);
12677 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; 12633 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47;
12678 }, 12634 },
12679 pathFromUri$1: function(uri) { 12635 pathFromUri$1: function(uri) {
12680 return uri.toString$0(0); 12636 return uri.toString$0(0);
12681 }, 12637 },
12682 relativePathToUri$1: function(path) { 12638 relativePathToUri$1: function(path) {
12683 return P.Uri_parse(path); 12639 return P.Uri_parse(path, 0, null);
12684 }, 12640 },
12685 absolutePathToUri$1: function(path) { 12641 absolutePathToUri$1: function(path) {
12686 return P.Uri_parse(path); 12642 return P.Uri_parse(path, 0, null);
12687 } 12643 }
12688 } 12644 }
12689 }], 12645 }],
12690 ["path.style.windows", "package:path/src/style/windows.dart", , T, { 12646 ["path.style.windows", "package:path/src/style/windows.dart", , T, {
12691 "^": "", 12647 "^": "",
12692 WindowsStyle: { 12648 WindowsStyle: {
12693 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara torPattern,rootPattern,relativeRootPattern", 12649 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara torPattern,rootPattern,relativeRootPattern",
12694 containsSeparator$1: function(path) { 12650 containsSeparator$1: function(path) {
12695 return J.contains$1$asx(path, "/"); 12651 return J.contains$1$asx(path, "/");
12696 }, 12652 },
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
12926 "^": "StreamChannelMixin;_parent,id,stream,sink" 12882 "^": "StreamChannelMixin;_parent,id,stream,sink"
12927 } 12883 }
12928 }], 12884 }],
12929 ["test.runner.browser.host", "host.dart", , R, { 12885 ["test.runner.browser.host", "host.dart", , R, {
12930 "^": "", 12886 "^": "",
12931 main: [function() { 12887 main: [function() {
12932 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null); 12888 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null);
12933 }, "call$0", "main$closure", 0, 0, 1], 12889 }, "call$0", "main$closure", 0, 0, 1],
12934 _connectToServer: function() { 12890 _connectToServer: function() {
12935 var currentUrl, t1, webSocket, inputController, outputController; 12891 var currentUrl, t1, webSocket, inputController, outputController;
12936 currentUrl = P.Uri_parse(window.location.href); 12892 currentUrl = P.Uri_parse(window.location.href, 0, null);
12937 t1 = currentUrl._queryParameters; 12893 t1 = currentUrl._queryParameters;
12938 if (t1 == null) { 12894 if (t1 == null) {
12939 t1 = currentUrl._query; 12895 t1 = currentUrl._query;
12940 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString (t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); 12896 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString (t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]);
12941 currentUrl._queryParameters = t1; 12897 currentUrl._queryParameters = t1;
12942 } 12898 }
12943 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager Url"), null); 12899 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager Url"), null);
12944 inputController = P.StreamController_StreamController(null, null, null, null , true, null); 12900 inputController = P.StreamController_StreamController(null, null, null, null , true, null);
12945 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [ null]); 12901 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [ null]);
12946 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1. _eventType, W._wrapZone(new R._connectToServer_closure(inputController)), t1._us eCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); 12902 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1. _eventType, W._wrapZone(new R._connectToServer_closure(inputController)), t1._us eCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0();
12947 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null); 12903 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null);
12948 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list en$1(new R._connectToServer_closure0(webSocket)); 12904 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list en$1(new R._connectToServer_closure0(webSocket));
12949 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); 12905 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)]));
12950 }, 12906 },
12951 _connectToIframe: function(url) { 12907 _connectToIframe: function(url) {
12952 var iframe, t1, inputController, outputController; 12908 var iframe, inputController, outputController, t1;
12953 iframe = document.createElement("iframe", null); 12909 iframe = document.createElement("iframe", null);
12954 t1 = J.getInterceptor$x(iframe); 12910 J.set$src$x(iframe, url);
12955 t1.set$src(iframe, url);
12956 document.body.appendChild(iframe); 12911 document.body.appendChild(iframe);
12957 inputController = P.StreamController_StreamController(null, null, null, null , true, null); 12912 inputController = P.StreamController_StreamController(null, null, null, null , true, null);
12958 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null); 12913 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null);
12959 t1 = t1.get$onLoad(iframe); 12914 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [nul l]);
12960 t1.get$first(t1).then$1(new R._connectToIframe_closure(iframe, inputControll er, outputController)); 12915 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1. _eventType, W._wrapZone(new R._connectToIframe_closure(iframe, inputController)) , t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0();
12916 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list en$1(new R._connectToIframe_closure0(iframe));
12961 return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P. _ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamS inkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_Stre amController", 0)])), [null]); 12917 return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P. _ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamS inkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_Stre amController", 0)])), [null]);
12962 }, 12918 },
12963 main_closure: { 12919 main_closure: {
12964 "^": "Closure:0;", 12920 "^": "Closure:0;",
12965 call$0: function() { 12921 call$0: function() {
12966 var serverChannel = R._connectToServer(); 12922 var serverChannel = R._connectToServer();
12967 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll er), [null]).listen$1(new R.main__closure(serverChannel)); 12923 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll er), [null]).listen$1(new R.main__closure(serverChannel));
12968 } 12924 }
12969 }, 12925 },
12970 main__closure: { 12926 main__closure: {
(...skipping 25 matching lines...) Expand all
12996 return; 12952 return;
12997 } 12953 }
12998 }, 12954 },
12999 _connectToServer_closure0: { 12955 _connectToServer_closure0: {
13000 "^": "Closure:2;_captured_webSocket_1", 12956 "^": "Closure:2;_captured_webSocket_1",
13001 call$1: function(message) { 12957 call$1: function(message) {
13002 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess age)); 12958 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess age));
13003 } 12959 }
13004 }, 12960 },
13005 _connectToIframe_closure: { 12961 _connectToIframe_closure: {
13006 "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_out putController_2", 12962 "^": "Closure:2;_captured_iframe_0,_captured_inputController_1",
13007 call$1: function(_) {
13008 var t1, t2;
13009 t1 = this._captured_iframe_0;
13010 J.postMessage$2$x(J.get$contentWindow$x(t1), P.LinkedHashMap_LinkedHashMap $_literal(["command", "connect"], null, null), J.get$origin$x(window.location));
13011 t2 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [n ull]);
13012 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t 2._eventType, W._wrapZone(new R._connectToIframe__closure(t1, this._captured_inp utController_1)), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)])._tryResume $0();
13013 H.setRuntimeTypeInfo(new P._ControllerStream(this._captured_outputControll er_2), [null]).listen$1(new R._connectToIframe__closure0(t1));
13014 }
13015 },
13016 _connectToIframe__closure: {
13017 "^": "Closure:2;_captured_iframe_3,_captured_inputController_4",
13018 call$1: function(message) { 12963 call$1: function(message) {
13019 var t1, t2; 12964 var t1, t2, t3;
13020 t1 = J.getInterceptor$x(message); 12965 t1 = J.getInterceptor$x(message);
13021 if (t1.get$origin(message) !== J.get$origin$x(window.location)) 12966 t2 = t1.get$origin(message);
12967 t3 = window.location;
12968 if (t2 !== (t3 && C.Location_methods).get$origin(t3))
13022 return; 12969 return;
13023 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), this._captured_ifra me_3.src)) 12970 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._c aptured_iframe_0)))
13024 return; 12971 return;
13025 message.stopPropagation(); 12972 message.stopPropagation();
13026 t1 = this._captured_inputController_4; 12973 t1 = this._captured_inputController_1;
13027 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data , true), "data"); 12974 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data , true), "data");
13028 if (t1._state >= 4) 12975 if (t1._state >= 4)
13029 H.throwExpression(t1._badEventState$0()); 12976 H.throwExpression(t1._badEventState$0());
13030 t1._async$_add$1(t2); 12977 t1._async$_add$1(t2);
13031 } 12978 }
13032 }, 12979 },
13033 _connectToIframe__closure0: { 12980 _connectToIframe_closure0: {
13034 "^": "Closure:2;_captured_iframe_5", 12981 "^": "Closure:2;_captured_iframe_2",
13035 call$1: function(message) { 12982 call$1: function(message) {
13036 return J.postMessage$2$x(W._convertNativeToDart_Window(this._captured_ifra me_5.contentWindow), message, J.get$origin$x(window.location)); 12983 var t1, t2;
12984 t1 = J.get$contentWindow$x(this._captured_iframe_2);
12985 t2 = window.location;
12986 return J.postMessage$2$x(t1, message, (t2 && C.Location_methods).get$origi n(t2));
13037 } 12987 }
13038 } 12988 }
13039 }, 12989 },
13040 1], 12990 1],
13041 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { 12991 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, {
13042 "^": "", 12992 "^": "",
13043 _StreamChannel: { 12993 _StreamChannel: {
13044 "^": "StreamChannelMixin;stream,sink" 12994 "^": "StreamChannelMixin;stream,sink"
13045 }, 12995 },
13046 StreamChannelMixin: { 12996 StreamChannelMixin: {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
13225 Trace$parseFriendly_closure0: { 13175 Trace$parseFriendly_closure0: {
13226 "^": "Closure:2;", 13176 "^": "Closure:2;",
13227 call$1: function(line) { 13177 call$1: function(line) {
13228 var match, t1, uri, t2, t3, t4, column; 13178 var match, t1, uri, t2, t3, t4, column;
13229 match = $.get$_friendlyFrame().firstMatch$1(line); 13179 match = $.get$_friendlyFrame().firstMatch$1(line);
13230 if (match == null) 13180 if (match == null)
13231 H.throwExpression(P.FormatException$("Couldn't parse package:stack_trace stack trace line '" + H.S(line) + "'.", null, null)); 13181 H.throwExpression(P.FormatException$("Couldn't parse package:stack_trace stack trace line '" + H.S(line) + "'.", null, null));
13232 t1 = match._match; 13182 t1 = match._match;
13233 if (1 >= t1.length) 13183 if (1 >= t1.length)
13234 return H.ioore(t1, 1); 13184 return H.ioore(t1, 1);
13235 uri = P.Uri_parse(t1[1]); 13185 uri = P.Uri_parse(t1[1], 0, null);
13236 if (uri.scheme === "") { 13186 if (uri.scheme === "") {
13237 t2 = $.get$context(); 13187 t2 = $.get$context();
13238 t3 = t2.fromUri$1(uri); 13188 t3 = t2.fromUri$1(uri);
13239 t4 = t2._context0$_current; 13189 t4 = t2._context0$_current;
13240 uri = t2.toUri$1(t2.join$8(0, t4 != null ? t4 : B.current(), t3, null, n ull, null, null, null, null)); 13190 uri = t2.toUri$1(t2.join$8(0, t4 != null ? t4 : B.current(), t3, null, n ull, null, null, null, null));
13241 } 13191 }
13242 if (2 >= t1.length) 13192 if (2 >= t1.length)
13243 return H.ioore(t1, 2); 13193 return H.ioore(t1, 2);
13244 t2 = t1[2]; 13194 t2 = t1[2];
13245 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); 13195 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null);
(...skipping 28 matching lines...) Expand all
13274 }, 13224 },
13275 Trace_foldFrames_closure0: { 13225 Trace_foldFrames_closure0: {
13276 "^": "Closure:2;_trace$_box_0", 13226 "^": "Closure:2;_trace$_box_0",
13277 call$1: function(frame) { 13227 call$1: function(frame) {
13278 var t1, t2; 13228 var t1, t2;
13279 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) 13229 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true)
13280 return frame; 13230 return frame;
13281 t1 = frame.get$library(); 13231 t1 = frame.get$library();
13282 t2 = $.get$_terseRegExp(); 13232 t2 = $.get$_terseRegExp();
13283 H.checkString(""); 13233 H.checkString("");
13284 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, "")), n ull, null, frame.member); 13234 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0, null), null, null, frame.member);
13285 } 13235 }
13286 }, 13236 },
13287 Trace_toString_closure0: { 13237 Trace_toString_closure0: {
13288 "^": "Closure:2;", 13238 "^": "Closure:2;",
13289 call$1: function(frame) { 13239 call$1: function(frame) {
13290 return J.get$length$asx(J.get$location$x(frame)); 13240 return J.get$length$asx(J.get$location$x(frame));
13291 } 13241 }
13292 }, 13242 },
13293 Trace_toString_closure: { 13243 Trace_toString_closure: {
13294 "^": "Closure:2;_captured_longest_0", 13244 "^": "Closure:2;_captured_longest_0",
13295 call$1: function(frame) { 13245 call$1: function(frame) {
13296 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0)) + " " + H.S(frame.get$member()) + "\n"; 13246 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0)) + " " + H.S(frame.get$member()) + "\n";
13297 } 13247 }
13298 } 13248 }
13299 }], 13249 }],
13300 ]; 13250 ];
13301 setupProgram(dart); 13251 setupProgram(dart, 0);
13302 // getInterceptor methods 13252 // getInterceptor methods
13303 J.getInterceptor = function(receiver) { 13253 J.getInterceptor = function(receiver) {
13304 if (typeof receiver == "number") { 13254 if (typeof receiver == "number") {
13305 if (Math.floor(receiver) == receiver) 13255 if (Math.floor(receiver) == receiver)
13306 return J.JSInt.prototype; 13256 return J.JSInt.prototype;
13307 return J.JSDouble.prototype; 13257 return J.JSDouble.prototype;
13308 } 13258 }
13309 if (typeof receiver == "string") 13259 if (typeof receiver == "string")
13310 return J.JSString.prototype; 13260 return J.JSString.prototype;
13311 if (receiver == null) 13261 if (receiver == null)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
13387 return receiver + a0; 13337 return receiver + a0;
13388 return J.getInterceptor$ns(receiver).$add(receiver, a0); 13338 return J.getInterceptor$ns(receiver).$add(receiver, a0);
13389 }; 13339 };
13390 J.$eq = function(receiver, a0) { 13340 J.$eq = function(receiver, a0) {
13391 if (receiver == null) 13341 if (receiver == null)
13392 return a0 == null; 13342 return a0 == null;
13393 if (typeof receiver != "object") 13343 if (typeof receiver != "object")
13394 return a0 != null && receiver === a0; 13344 return a0 != null && receiver === a0;
13395 return J.getInterceptor(receiver).$eq(receiver, a0); 13345 return J.getInterceptor(receiver).$eq(receiver, a0);
13396 }; 13346 };
13347 J.$ge$n = function(receiver, a0) {
13348 if (typeof receiver == "number" && typeof a0 == "number")
13349 return receiver >= a0;
13350 return J.getInterceptor$n(receiver).$ge(receiver, a0);
13351 };
13397 J.$gt$n = function(receiver, a0) { 13352 J.$gt$n = function(receiver, a0) {
13398 if (typeof receiver == "number" && typeof a0 == "number") 13353 if (typeof receiver == "number" && typeof a0 == "number")
13399 return receiver > a0; 13354 return receiver > a0;
13400 return J.getInterceptor$n(receiver).$gt(receiver, a0); 13355 return J.getInterceptor$n(receiver).$gt(receiver, a0);
13401 }; 13356 };
13402 J.$index$asx = function(receiver, a0) { 13357 J.$index$asx = function(receiver, a0) {
13403 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde xable(receiver, receiver[init.dispatchPropertyName])) 13358 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde xable(receiver, receiver[init.dispatchPropertyName]))
13404 if (a0 >>> 0 === a0 && a0 < receiver.length) 13359 if (a0 >>> 0 === a0 && a0 < receiver.length)
13405 return receiver[a0]; 13360 return receiver[a0];
13406 return J.getInterceptor$asx(receiver).$index(receiver, a0); 13361 return J.getInterceptor$asx(receiver).$index(receiver, a0);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
13470 }; 13425 };
13471 J.get$length$asx = function(receiver) { 13426 J.get$length$asx = function(receiver) {
13472 return J.getInterceptor$asx(receiver).get$length(receiver); 13427 return J.getInterceptor$asx(receiver).get$length(receiver);
13473 }; 13428 };
13474 J.get$location$x = function(receiver) { 13429 J.get$location$x = function(receiver) {
13475 return J.getInterceptor$x(receiver).get$location(receiver); 13430 return J.getInterceptor$x(receiver).get$location(receiver);
13476 }; 13431 };
13477 J.get$message$x = function(receiver) { 13432 J.get$message$x = function(receiver) {
13478 return J.getInterceptor$x(receiver).get$message(receiver); 13433 return J.getInterceptor$x(receiver).get$message(receiver);
13479 }; 13434 };
13480 J.get$origin$x = function(receiver) {
13481 return J.getInterceptor$x(receiver).get$origin(receiver);
13482 };
13483 J.get$parent$x = function(receiver) { 13435 J.get$parent$x = function(receiver) {
13484 return J.getInterceptor$x(receiver).get$parent(receiver); 13436 return J.getInterceptor$x(receiver).get$parent(receiver);
13485 }; 13437 };
13438 J.get$src$x = function(receiver) {
13439 return J.getInterceptor$x(receiver).get$src(receiver);
13440 };
13486 J.get$start$x = function(receiver) { 13441 J.get$start$x = function(receiver) {
13487 return J.getInterceptor$x(receiver).get$start(receiver); 13442 return J.getInterceptor$x(receiver).get$start(receiver);
13488 }; 13443 };
13489 J.map$1$ax = function(receiver, a0) { 13444 J.map$1$ax = function(receiver, a0) {
13490 return J.getInterceptor$ax(receiver).map$1(receiver, a0); 13445 return J.getInterceptor$ax(receiver).map$1(receiver, a0);
13491 }; 13446 };
13492 J.matchAsPrefix$2$s = function(receiver, a0, a1) { 13447 J.matchAsPrefix$2$s = function(receiver, a0, a1) {
13493 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); 13448 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
13494 }; 13449 };
13495 J.postMessage$2$x = function(receiver, a0, a1) { 13450 J.postMessage$2$x = function(receiver, a0, a1) {
13496 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); 13451 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1);
13497 }; 13452 };
13498 J.print$1$x = function(receiver, a0) { 13453 J.print$1$x = function(receiver, a0) {
13499 return J.getInterceptor$x(receiver).print$1(receiver, a0); 13454 return J.getInterceptor$x(receiver).print$1(receiver, a0);
13500 }; 13455 };
13501 J.remove$1$ax = function(receiver, a0) {
13502 return J.getInterceptor$ax(receiver).remove$1(receiver, a0);
13503 };
13504 J.replaceAll$2$s = function(receiver, a0, a1) { 13456 J.replaceAll$2$s = function(receiver, a0, a1) {
13505 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); 13457 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1);
13506 }; 13458 };
13507 J.replaceFirst$2$s = function(receiver, a0, a1) { 13459 J.replaceFirst$2$s = function(receiver, a0, a1) {
13508 return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); 13460 return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
13509 }; 13461 };
13510 J.send$1$x = function(receiver, a0) { 13462 J.send$1$x = function(receiver, a0) {
13511 return J.getInterceptor$x(receiver).send$1(receiver, a0); 13463 return J.getInterceptor$x(receiver).send$1(receiver, a0);
13512 }; 13464 };
13465 J.set$src$x = function(receiver, value) {
13466 return J.getInterceptor$x(receiver).set$src(receiver, value);
13467 };
13513 J.skip$1$ax = function(receiver, a0) { 13468 J.skip$1$ax = function(receiver, a0) {
13514 return J.getInterceptor$ax(receiver).skip$1(receiver, a0); 13469 return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
13515 }; 13470 };
13516 J.split$1$s = function(receiver, a0) { 13471 J.split$1$s = function(receiver, a0) {
13517 return J.getInterceptor$s(receiver).split$1(receiver, a0); 13472 return J.getInterceptor$s(receiver).split$1(receiver, a0);
13518 }; 13473 };
13519 J.startsWith$1$s = function(receiver, a0) { 13474 J.startsWith$1$s = function(receiver, a0) {
13520 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); 13475 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
13521 }; 13476 };
13522 J.substring$1$s = function(receiver, a0) { 13477 J.substring$1$s = function(receiver, a0) {
(...skipping 19 matching lines...) Expand all
13542 list.fixed$length = Array; 13497 list.fixed$length = Array;
13543 return list; 13498 return list;
13544 }; 13499 };
13545 ; 13500 ;
13546 C.JSArray_methods = J.JSArray.prototype; 13501 C.JSArray_methods = J.JSArray.prototype;
13547 C.JSDouble_methods = J.JSDouble.prototype; 13502 C.JSDouble_methods = J.JSDouble.prototype;
13548 C.JSInt_methods = J.JSInt.prototype; 13503 C.JSInt_methods = J.JSInt.prototype;
13549 C.JSNull_methods = J.JSNull.prototype; 13504 C.JSNull_methods = J.JSNull.prototype;
13550 C.JSNumber_methods = J.JSNumber.prototype; 13505 C.JSNumber_methods = J.JSNumber.prototype;
13551 C.JSString_methods = J.JSString.prototype; 13506 C.JSString_methods = J.JSString.prototype;
13507 C.Location_methods = W.Location.prototype;
13552 C.NativeUint8List_methods = H.NativeUint8List.prototype; 13508 C.NativeUint8List_methods = H.NativeUint8List.prototype;
13553 C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; 13509 C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
13554 C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; 13510 C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
13555 C.C_DynamicRuntimeType = new H.DynamicRuntimeType(); 13511 C.C_DynamicRuntimeType = new H.DynamicRuntimeType();
13556 C.C_OutOfMemoryError = new P.OutOfMemoryError(); 13512 C.C_OutOfMemoryError = new P.OutOfMemoryError();
13557 C.C__DelayedDone = new P._DelayedDone(); 13513 C.C__DelayedDone = new P._DelayedDone();
13558 C.C__RootZone = new P._RootZone(); 13514 C.C__RootZone = new P._RootZone();
13559 C.Duration_0 = new P.Duration(0); 13515 C.Duration_0 = new P.Duration(0);
13560 C.JS_CONST_0 = function(hooks) { 13516 C.JS_CONST_0 = function(hooks) {
13561 if (typeof dartExperimentalFixupGetTag != "function") return hooks; 13517 if (typeof dartExperimentalFixupGetTag != "function") return hooks;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
13756 $._lastPriorityCallback = null; 13712 $._lastPriorityCallback = null;
13757 $._isInCallbackLoop = false; 13713 $._isInCallbackLoop = false;
13758 $.Zone__current = C.C__RootZone; 13714 $.Zone__current = C.C__RootZone;
13759 $._RootZone__rootDelegate = null; 13715 $._RootZone__rootDelegate = null;
13760 $.Expando__keyCount = 0; 13716 $.Expando__keyCount = 0;
13761 $.Device__isOpera = null; 13717 $.Device__isOpera = null;
13762 $.Device__isIE = null; 13718 $.Device__isIE = null;
13763 $.Device__isFirefox = null; 13719 $.Device__isFirefox = null;
13764 $.Device__isWebKit = null; 13720 $.Device__isWebKit = null;
13765 $.Device__cachedCssPrefix = null; 13721 $.Device__cachedCssPrefix = null;
13766 Isolate.$lazy("IsolateNatives_thisScript", "get$IsolateNatives_thisScript", func tion() { 13722 (function(lazies) {
13723 var descriptorLength = 4;
13724 for (var i = 0; i < lazies.length; i += descriptorLength) {
13725 var fieldName = lazies[i];
13726 var getterName = lazies[i + 1];
13727 var lazyValue = lazies[i + 2];
13728 var staticName = lazies[i + 3];
13729 Isolate.$lazy(fieldName, getterName, lazyValue, staticName);
13730 }
13731 })(["IsolateNatives_thisScript", "get$IsolateNatives_thisScript", function() {
13767 return H.IsolateNatives_computeThisScript(); 13732 return H.IsolateNatives_computeThisScript();
13768 }, "thisScript"); 13733 }, "thisScript", "IsolateNatives_workerIds", "get$IsolateNatives_workerIds", fun ction() {
13769 Isolate.$lazy("IsolateNatives_workerIds", "get$IsolateNatives_workerIds", functi on() {
13770 return new P.Expando(null); 13734 return new P.Expando(null);
13771 }, "workerIds"); 13735 }, "workerIds", "TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_no SuchMethodPattern", function() {
13772 Isolate.$lazy("TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_noSu chMethodPattern", function() {
13773 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn ({toString: function() { 13736 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn ({toString: function() {
13774 return "$receiver$"; 13737 return "$receiver$";
13775 }})); 13738 }}));
13776 }, "noSuchMethodPattern"); 13739 }, "noSuchMethodPattern", "TypeErrorDecoder_notClosurePattern", "get$TypeErrorDe coder_notClosurePattern", function() {
13777 Isolate.$lazy("TypeErrorDecoder_notClosurePattern", "get$TypeErrorDecoder_notClo surePattern", function() {
13778 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn ({$method$: null, toString: function() { 13740 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn ({$method$: null, toString: function() {
13779 return "$receiver$"; 13741 return "$receiver$";
13780 }})); 13742 }}));
13781 }, "notClosurePattern"); 13743 }, "notClosurePattern", "TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecode r_nullCallPattern", function() {
13782 Isolate.$lazy("TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecoder_nullCall Pattern", function() {
13783 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn (null)); 13744 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn (null));
13784 }, "nullCallPattern"); 13745 }, "nullCallPattern", "TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorD ecoder_nullLiteralCallPattern", function() {
13785 Isolate.$lazy("TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_n ullLiteralCallPattern", function() {
13786 return H.TypeErrorDecoder_extractPattern(function() { 13746 return H.TypeErrorDecoder_extractPattern(function() {
13787 var $argumentsExpr$ = '$arguments$'; 13747 var $argumentsExpr$ = '$arguments$';
13788 try { 13748 try {
13789 null.$method$($argumentsExpr$); 13749 null.$method$($argumentsExpr$);
13790 } catch (e) { 13750 } catch (e) {
13791 return e.message; 13751 return e.message;
13792 } 13752 }
13793 }()); 13753 }());
13794 }, "nullLiteralCallPattern"); 13754 }, "nullLiteralCallPattern", "TypeErrorDecoder_undefinedCallPattern", "get$TypeE rrorDecoder_undefinedCallPattern", function() {
13795 Isolate.$lazy("TypeErrorDecoder_undefinedCallPattern", "get$TypeErrorDecoder_und efinedCallPattern", function() {
13796 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn (void 0)); 13755 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn (void 0));
13797 }, "undefinedCallPattern"); 13756 }, "undefinedCallPattern", "TypeErrorDecoder_undefinedLiteralCallPattern", "get$ TypeErrorDecoder_undefinedLiteralCallPattern", function() {
13798 Isolate.$lazy("TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDeco der_undefinedLiteralCallPattern", function() {
13799 return H.TypeErrorDecoder_extractPattern(function() { 13757 return H.TypeErrorDecoder_extractPattern(function() {
13800 var $argumentsExpr$ = '$arguments$'; 13758 var $argumentsExpr$ = '$arguments$';
13801 try { 13759 try {
13802 (void 0).$method$($argumentsExpr$); 13760 (void 0).$method$($argumentsExpr$);
13803 } catch (e) { 13761 } catch (e) {
13804 return e.message; 13762 return e.message;
13805 } 13763 }
13806 }()); 13764 }());
13807 }, "undefinedLiteralCallPattern"); 13765 }, "undefinedLiteralCallPattern", "TypeErrorDecoder_nullPropertyPattern", "get$T ypeErrorDecoder_nullPropertyPattern", function() {
13808 Isolate.$lazy("TypeErrorDecoder_nullPropertyPattern", "get$TypeErrorDecoder_null PropertyPattern", function() {
13809 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr orOn(null)); 13766 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr orOn(null));
13810 }, "nullPropertyPattern"); 13767 }, "nullPropertyPattern", "TypeErrorDecoder_nullLiteralPropertyPattern", "get$Ty peErrorDecoder_nullLiteralPropertyPattern", function() {
13811 Isolate.$lazy("TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecod er_nullLiteralPropertyPattern", function() {
13812 return H.TypeErrorDecoder_extractPattern(function() { 13768 return H.TypeErrorDecoder_extractPattern(function() {
13813 try { 13769 try {
13814 null.$method$; 13770 null.$method$;
13815 } catch (e) { 13771 } catch (e) {
13816 return e.message; 13772 return e.message;
13817 } 13773 }
13818 }()); 13774 }());
13819 }, "nullLiteralPropertyPattern"); 13775 }, "nullLiteralPropertyPattern", "TypeErrorDecoder_undefinedPropertyPattern", "g et$TypeErrorDecoder_undefinedPropertyPattern", function() {
13820 Isolate.$lazy("TypeErrorDecoder_undefinedPropertyPattern", "get$TypeErrorDecoder _undefinedPropertyPattern", function() {
13821 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr orOn(void 0)); 13776 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr orOn(void 0));
13822 }, "undefinedPropertyPattern"); 13777 }, "undefinedPropertyPattern", "TypeErrorDecoder_undefinedLiteralPropertyPattern ", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() {
13823 Isolate.$lazy("TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeError Decoder_undefinedLiteralPropertyPattern", function() {
13824 return H.TypeErrorDecoder_extractPattern(function() { 13778 return H.TypeErrorDecoder_extractPattern(function() {
13825 try { 13779 try {
13826 (void 0).$method$; 13780 (void 0).$method$;
13827 } catch (e) { 13781 } catch (e) {
13828 return e.message; 13782 return e.message;
13829 } 13783 }
13830 }()); 13784 }());
13831 }, "undefinedLiteralPropertyPattern"); 13785 }, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get $_AsyncRun_scheduleImmediateClosure", function() {
13832 Isolate.$lazy("_AsyncRun_scheduleImmediateClosure", "get$_AsyncRun_scheduleImmed iateClosure", function() {
13833 return P._AsyncRun__initializeScheduleImmediate(); 13786 return P._AsyncRun__initializeScheduleImmediate();
13834 }, "scheduleImmediateClosure"); 13787 }, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", f unction() {
13835 Isolate.$lazy("Future__nullFuture", "get$Future__nullFuture", function() {
13836 return P._Future$immediate(null, null); 13788 return P._Future$immediate(null, null);
13837 }, "_nullFuture"); 13789 }, "_nullFuture", "_RootZone__rootMap", "get$_RootZone__rootMap", function() {
13838 Isolate.$lazy("_RootZone__rootMap", "get$_RootZone__rootMap", function() {
13839 return P.HashMap_HashMap(null, null, null, null, null); 13790 return P.HashMap_HashMap(null, null, null, null, null);
13840 }, "_rootMap"); 13791 }, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisi ting", function() {
13841 Isolate.$lazy("IterableBase__toStringVisiting", "get$IterableBase__toStringVisit ing", function() {
13842 return []; 13792 return [];
13843 }, "_toStringVisiting"); 13793 }, "_toStringVisiting", "_vmFrame", "get$_vmFrame", function() {
13844 Isolate.$lazy("_vmFrame", "get$_vmFrame", function() {
13845 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true, false); 13794 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true, false);
13846 }, "_vmFrame"); 13795 }, "_vmFrame", "_v8Frame", "get$_v8Frame", function() {
13847 Isolate.$lazy("_v8Frame", "get$_v8Frame", function() {
13848 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|( .*))$", true, false); 13796 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|( .*))$", true, false);
13849 }, "_v8Frame"); 13797 }, "_v8Frame", "_v8UrlLocation", "get$_v8UrlLocation", function() {
13850 Isolate.$lazy("_v8UrlLocation", "get$_v8UrlLocation", function() {
13851 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false); 13798 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false);
13852 }, "_v8UrlLocation"); 13799 }, "_v8UrlLocation", "_v8EvalLocation", "get$_v8EvalLocation", function() {
13853 Isolate.$lazy("_v8EvalLocation", "get$_v8EvalLocation", function() {
13854 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", true, false); 13800 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", true, false);
13855 }, "_v8EvalLocation"); 13801 }, "_v8EvalLocation", "_firefoxSafariFrame", "get$_firefoxSafariFrame", function () {
13856 Isolate.$lazy("_firefoxSafariFrame", "get$_firefoxSafariFrame", function() {
13857 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@) ?(.*?):(\\d*)(?::(\\d*))?$", true, false); 13802 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@) ?(.*?):(\\d*)(?::(\\d*))?$", true, false);
13858 }, "_firefoxSafariFrame"); 13803 }, "_firefoxSafariFrame", "_friendlyFrame", "get$_friendlyFrame", function() {
13859 Isolate.$lazy("_friendlyFrame", "get$_friendlyFrame", function() {
13860 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru e, false); 13804 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru e, false);
13861 }, "_friendlyFrame"); 13805 }, "_friendlyFrame", "_asyncBody", "get$_asyncBody", function() {
13862 Isolate.$lazy("_asyncBody", "get$_asyncBody", function() {
13863 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false ); 13806 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false );
13864 }, "_asyncBody"); 13807 }, "_asyncBody", "_initialDot", "get$_initialDot", function() {
13865 Isolate.$lazy("_initialDot", "get$_initialDot", function() {
13866 return P.RegExp_RegExp("^\\.", true, false); 13808 return P.RegExp_RegExp("^\\.", true, false);
13867 }, "_initialDot"); 13809 }, "_initialDot", "Frame__uriRegExp", "get$Frame__uriRegExp", function() {
13868 Isolate.$lazy("Frame__uriRegExp", "get$Frame__uriRegExp", function() {
13869 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); 13810 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false);
13870 }, "_uriRegExp"); 13811 }, "_uriRegExp", "Frame__windowsRegExp", "get$Frame__windowsRegExp", function() {
13871 Isolate.$lazy("Frame__windowsRegExp", "get$Frame__windowsRegExp", function() {
13872 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); 13812 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false);
13873 }, "_windowsRegExp"); 13813 }, "_windowsRegExp", "windows", "get$windows", function() {
13874 Isolate.$lazy("windows", "get$windows", function() {
13875 return F.Context_Context(null, $.get$Style_windows()); 13814 return F.Context_Context(null, $.get$Style_windows());
13876 }, "windows"); 13815 }, "windows", "context", "get$context", function() {
13877 Isolate.$lazy("context", "get$context", function() {
13878 return new F.Context($.get$Style_platform(), null); 13816 return new F.Context($.get$Style_platform(), null);
13879 }, "context"); 13817 }, "context", "Style_posix", "get$Style_posix", function() {
13880 Isolate.$lazy("Style_posix", "get$Style_posix", function() {
13881 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, f alse), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false) , null); 13818 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, f alse), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false) , null);
13882 }, "posix"); 13819 }, "posix", "Style_windows", "get$Style_windows", function() {
13883 Isolate.$lazy("Style_windows", "get$Style_windows", function() {
13884 return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\ ]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^( \\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp( "^[/\\\\](?![/\\\\])", true, false)); 13820 return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\ ]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^( \\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp( "^[/\\\\](?![/\\\\])", true, false));
13885 }, "windows"); 13821 }, "windows", "Style_url", "get$Style_url", function() {
13886 Isolate.$lazy("Style_url", "get$Style_url", function() {
13887 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false ), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp _RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", t rue, false)); 13822 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false ), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp _RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", t rue, false));
13888 }, "url"); 13823 }, "url", "Style_platform", "get$Style_platform", function() {
13889 Isolate.$lazy("Style_platform", "get$Style_platform", function() {
13890 return S.Style__getPlatformStyle(); 13824 return S.Style__getPlatformStyle();
13891 }, "platform"); 13825 }, "platform", "_terseRegExp", "get$_terseRegExp", function() {
13892 Isolate.$lazy("_terseRegExp", "get$_terseRegExp", function() {
13893 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); 13826 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false);
13894 }, "_terseRegExp"); 13827 }, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() {
13895 Isolate.$lazy("_v8Trace", "get$_v8Trace", function() {
13896 return P.RegExp_RegExp("\\n ?at ", true, false); 13828 return P.RegExp_RegExp("\\n ?at ", true, false);
13897 }, "_v8Trace"); 13829 }, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() {
13898 Isolate.$lazy("_v8TraceLine", "get$_v8TraceLine", function() {
13899 return P.RegExp_RegExp(" ?at ", true, false); 13830 return P.RegExp_RegExp(" ?at ", true, false);
13900 }, "_v8TraceLine"); 13831 }, "_v8TraceLine", "_firefoxSafariTrace", "get$_firefoxSafariTrace", function() {
13901 Isolate.$lazy("_firefoxSafariTrace", "get$_firefoxSafariTrace", function() {
13902 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true, true); 13832 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true, true);
13903 }, "_firefoxSafariTrace"); 13833 }, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() {
13904 Isolate.$lazy("_friendlyTrace", "get$_friendlyTrace", function() {
13905 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); 13834 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true);
13906 }, "_friendlyTrace"); 13835 }, "_friendlyTrace"]);
13836 ;
13907 13837
13908 init.metadata = [, 13838 {
13909 ]; 13839 init.metadata = [null];
13910 init.types = [{func: ""}, 13840 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, v oid: true}]}, {func: 1, void: true, args: [,], opt: [P.StackTrace]}, {func: 1, a rgs: [,], 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, {f unc: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.Object, P.S tackTrace]}, {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.Time r, 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.Zon eSpecification, zoneValues: P.Map}}, {func: 1, args: [{func: 1}]}, {func: 1, arg s: [{func: 1, args: [,]},,]}, {func: 1, args: [{func: 1, args: [,,]},,,]}, {func : 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, ar gs: [{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, a rgs: [P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Dura tion, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.S tring]}, {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.Sym bol,,]}, {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.St ring], 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,,]}, {fu nc: 1, void: true, args: [,]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelega te, P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {f unc: 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, {fu nc: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, P.Zone Delegate, 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, a rgs: [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.Zon e, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.bool, args: [,,]}, {func: 1, r et: P.Object, args: [,]}, {func: 1, ret: P.bool, args: [P.Object, P.Object]}, {f unc: 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]}];
13911 {func: "", void: true}, 13841 }
13912 {func: "", args: [,]}, 13842
13913 {func: "", args: [, P.String]},
13914 {func: "", args: [P.String]},
13915 {func: "", args: [{func: "", void: true}]},
13916 {func: "", void: true, args: [,], opt: [P.StackTrace]},
13917 {func: "", args: [,], opt: [,]},
13918 {func: "", ret: P.bool},
13919 {func: "", args: [P.bool]},
13920 {func: "", void: true, args: [P.Object], opt: [P.StackTrace]},
13921 {func: "", void: true, args: [P.Object, P.StackTrace]},
13922 {func: "", args: [, P.StackTrace]},
13923 {func: "", void: true, args: [, P.StackTrace]},
13924 {func: "", args: [P.Zone,, P.StackTrace]},
13925 {func: "", args: [P.Zone, {func: ""}]},
13926 {func: "", args: [P.Zone, {func: "", args: [,]},,]},
13927 {func: "", args: [P.Zone, {func: "", args: [,,]},,,]},
13928 {func: "", ret: {func: ""}, args: [P.Zone, {func: ""}]},
13929 {func: "", ret: {func: "", args: [,]}, args: [P.Zone, {func: "", args: [,]}]},
13930 {func: "", ret: {func: "", args: [,,]}, args: [P.Zone, {func: "", args: [,,]}]},
13931 {func: "", ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]},
13932 {func: "", void: true, args: [P.Zone, {func: ""}]},
13933 {func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true}]},
13934 {func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true, args: [P.Timer]}]},
13935 {func: "", void: true, args: [P.Zone, P.String]},
13936 {func: "", ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]},
13937 {func: "", ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues: P.Map}},
13938 {func: "", args: [{func: ""}]},
13939 {func: "", args: [{func: "", args: [,]},,]},
13940 {func: "", args: [{func: "", args: [,,]},,,]},
13941 {func: "", ret: {func: ""}, args: [{func: ""}]},
13942 {func: "", ret: {func: "", args: [,]}, args: [{func: "", args: [,]}]},
13943 {func: "", ret: {func: "", args: [,,]}, args: [{func: "", args: [,,]}]},
13944 {func: "", ret: P.AsyncError, args: [P.Object, P.StackTrace]},
13945 {func: "", void: true, args: [{func: "", void: true}]},
13946 {func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true}]},
13947 {func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true, args: [P.Time r]}]},
13948 {func: "", void: true, args: [P.String]},
13949 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]},
13950 {func: "", args: [,,]},
13951 {func: "", args: [P.String,,]},
13952 {func: "", ret: P.$int, args: [, P.$int]},
13953 {func: "", void: true, args: [P.$int, P.$int]},
13954 {func: "", args: [P.Symbol,,]},
13955 {func: "", ret: P.String, args: [P.$int]},
13956 {func: "", ret: P.bool, args: [P.$int]},
13957 {func: "", ret: P.$int, args: [,,]},
13958 {func: "", void: true, args: [P.String], opt: [,]},
13959 {func: "", ret: P.$int, args: [P.$int, P.$int]},
13960 {func: "", ret: P.$int, args: [,]},
13961 {func: "", args: [P.$int]},
13962 {func: "", args: [P.$int,,]},
13963 {func: "", void: true, args: [,]},
13964 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]},
13965 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]},
13966 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,]},,]},
13967 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,,]},,,]},
13968 {func: "", ret: {func: ""}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]},
13969 {func: "", ret: {func: "", args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {f unc: "", args: [,]}]},
13970 {func: "", ret: {func: "", args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, { func: "", args: [,,]}]},
13971 {func: "", ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P .StackTrace]},
13972 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]},
13973 {func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {fun c: "", void: true}]},
13974 {func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {fun c: "", void: true, args: [P.Timer]}]},
13975 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]},
13976 {func: "", ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecificati on, P.Map]},
13977 {func: "", ret: P.bool, args: [,,]},
13978 {func: "", ret: P.Object, args: [,]},
13979 {func: "", ret: P.bool, args: [P.Object, P.Object]},
13980 {func: "", ret: P.$int, args: [P.Object]},
13981 {func: "", ret: P.String, args: [P.String]},
13982 {func: "", ret: P.num, args: [P.num, P.num]},
13983 ];
13984 $ = null; 13843 $ = null;
13985 Isolate = Isolate.$finishIsolateConstructor(Isolate); 13844 Isolate = Isolate.$finishIsolateConstructor(Isolate);
13986 $ = new Isolate(); 13845 $ = new Isolate();
13987 function convertToFastObject(properties) { 13846 function convertToFastObject(properties) {
13988 function MyClass() { 13847 function MyClass() {
13989 } 13848 }
13990 MyClass.prototype = properties; 13849 MyClass.prototype = properties;
13991 new MyClass(); 13850 new MyClass();
13992 return properties; 13851 return properties;
13993 } 13852 }
13994 ; 13853 ;
13995 function convertToSlowObject(properties) { 13854 function convertToSlowObject(properties) {
13996 properties.__MAGIC_SLOW_PROPERTY = 1; 13855 properties.__MAGIC_SLOW_PROPERTY = 1;
13997 delete properties.__MAGIC_SLOW_PROPERTY; 13856 delete properties.__MAGIC_SLOW_PROPERTY;
13998 return properties; 13857 return properties;
13999 } 13858 }
14000 ; 13859 ;
14001 function markerFun() {
14002 }
14003 ;
14004 A = convertToFastObject(A); 13860 A = convertToFastObject(A);
14005 B = convertToFastObject(B); 13861 B = convertToFastObject(B);
14006 C = convertToFastObject(C); 13862 C = convertToFastObject(C);
14007 D = convertToFastObject(D); 13863 D = convertToFastObject(D);
14008 E = convertToFastObject(E); 13864 E = convertToFastObject(E);
14009 F = convertToFastObject(F); 13865 F = convertToFastObject(F);
14010 G = convertToFastObject(G); 13866 G = convertToFastObject(G);
14011 H = convertToFastObject(H); 13867 H = convertToFastObject(H);
14012 J = convertToFastObject(J); 13868 J = convertToFastObject(J);
14013 K = convertToFastObject(K); 13869 K = convertToFastObject(K);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
14142 else 13998 else
14143 (function(a) { 13999 (function(a) {
14144 H.startRootIsolate(R.main$closure(), a); 14000 H.startRootIsolate(R.main$closure(), a);
14145 })([]); 14001 })([]);
14146 }); 14002 });
14147 ; 14003 ;
14148 // END invoke [main]. 14004 // END invoke [main].
14149 })() 14005 })()
14150 14006
14151 //# sourceMappingURL=host.dart.js.map 14007 //# sourceMappingURL=host.dart.js.map
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698