| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4922 if (stackTrace != null) | 4939 if (stackTrace != null) |
| 4923 return stackTrace; | 4940 return stackTrace; |
| 4924 if (!!J.getInterceptor(error).$isError) | 4941 if (!!J.getInterceptor(error).$isError) |
| 4925 return error.get$stackTrace(); | 4942 return error.get$stackTrace(); |
| 4926 return; | 4943 return; |
| 4927 }} | 4944 }} |
| 4928 }, | 4945 }, |
| 4929 Future: { | 4946 Future: { |
| 4930 "^": "Object;" | 4947 "^": "Object;" |
| 4931 }, | 4948 }, |
| 4949 _Completer: { |
| 4950 "^": "Object;" |
| 4951 }, |
| 4952 _AsyncCompleter: { |
| 4953 "^": "_Completer;future", |
| 4954 complete$1: function(_, value) { |
| 4955 var t1 = this.future; |
| 4956 if (t1._state !== 0) |
| 4957 throw H.wrapException(P.StateError$("Future already completed")); |
| 4958 t1._asyncComplete$1(value); |
| 4959 }, |
| 4960 complete$0: function($receiver) { |
| 4961 return this.complete$1($receiver, null); |
| 4962 } |
| 4963 }, |
| 4932 _FutureListener: { | 4964 _FutureListener: { |
| 4933 "^": "Object;_nextListener<,result>,state,callback,errorCallback", | 4965 "^": "Object;_nextListener<,result>,state,callback,errorCallback", |
| 4934 get$_zone: function() { | 4966 get$_zone: function() { |
| 4935 return this.result._zone; | 4967 return this.result._zone; |
| 4936 }, | 4968 }, |
| 4937 get$handlesValue: function() { | 4969 get$handlesValue: function() { |
| 4938 return (this.state & 1) !== 0; | 4970 return (this.state & 1) !== 0; |
| 4939 }, | 4971 }, |
| 4940 get$hasErrorTest: function() { | 4972 get$hasErrorTest: function() { |
| 4941 return this.state === 6; | 4973 return this.state === 6; |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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()); | 5443 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; | 5444 return future; |
| 5413 }, | 5445 }, |
| 5414 toList$0: function(_) { | 5446 toList$0: function(_) { |
| 5415 var result, future; | 5447 var result, future; |
| 5416 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "Stream"
, 0)]); | 5448 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)]]); | 5449 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()); | 5450 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; | 5451 return future; |
| 5420 }, | 5452 }, |
| 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(_) { | 5453 get$last: function(_) { |
| 5430 var t1, future; | 5454 var t1, future; |
| 5431 t1 = {}; | 5455 t1 = {}; |
| 5432 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.
getRuntimeTypeArgument(this, "Stream", 0)]); | 5456 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.
getRuntimeTypeArgument(this, "Stream", 0)]); |
| 5433 t1._captured_result_0 = null; | 5457 t1._captured_result_0 = null; |
| 5434 t1._captured_foundResult_1 = false; | 5458 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())
; | 5459 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; | 5460 return future; |
| 5437 } | 5461 } |
| 5438 }, | 5462 }, |
| 5439 Stream_pipe_closure: { | 5463 Stream_pipe_closure: { |
| 5440 "^": "Closure:2;_captured_streamConsumer_0", | 5464 "^": "Closure:2;_captured_streamConsumer_0", |
| 5441 call$1: function(_) { | 5465 call$1: function(_) { |
| 5442 return this._captured_streamConsumer_0._async$_target.close$0(0); | 5466 return this._captured_streamConsumer_0._async$_target.close$0(0); |
| 5443 } | 5467 } |
| 5444 }, | 5468 }, |
| 5445 Stream_contains_closure: { | 5469 Stream_contains_closure: { |
| 5446 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt
ured_future_3", | 5470 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt
ured_future_3", |
| 5447 call$1: function(element) { | 5471 call$1: function(element) { |
| 5448 var t1, t2; | 5472 var t1, t2; |
| 5449 t1 = this._async$_box_0; | 5473 t1 = this._async$_box_0; |
| 5450 t2 = this._captured_future_3; | 5474 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)); | 5475 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 }, | 5476 }, |
| 5453 $signature: function() { | 5477 $signature: function() { |
| 5454 return H.computeSignature(function(T) { | 5478 return H.computeSignature(function(T) { |
| 5455 return {func: "", args: [T]}; | 5479 return {func: 1, args: [T]}; |
| 5456 }, this._async$_captured_this_1, "Stream"); | 5480 }, this._async$_captured_this_1, "Stream"); |
| 5457 } | 5481 } |
| 5458 }, | 5482 }, |
| 5459 Stream_contains__closure: { | 5483 Stream_contains__closure: { |
| 5460 "^": "Closure:0;_captured_needle_4,_captured_element_5", | 5484 "^": "Closure:0;_captured_needle_4,_captured_element_5", |
| 5461 call$0: function() { | 5485 call$0: function() { |
| 5462 return J.$eq(this._captured_element_5, this._captured_needle_4); | 5486 return J.$eq(this._captured_element_5, this._captured_needle_4); |
| 5463 } | 5487 } |
| 5464 }, | 5488 }, |
| 5465 Stream_contains__closure0: { | 5489 Stream_contains__closure0: { |
| 5466 "^": "Closure:9;_async$_box_0,_captured_future_6", | 5490 "^": "Closure:9;_async$_box_0,_captured_future_6", |
| 5467 call$1: function(isMatch) { | 5491 call$1: function(isMatch) { |
| 5468 if (isMatch === true) | 5492 if (isMatch === true) |
| 5469 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap
tured_future_6, true); | 5493 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap
tured_future_6, true); |
| 5470 } | 5494 } |
| 5471 }, | 5495 }, |
| 5472 Stream_contains_closure0: { | 5496 Stream_contains_closure0: { |
| 5473 "^": "Closure:0;_captured_future_7", | 5497 "^": "Closure:0;_captured_future_7", |
| 5474 call$0: function() { | 5498 call$0: function() { |
| 5475 this._captured_future_7._complete$1(false); | 5499 this._captured_future_7._complete$1(false); |
| 5476 } | 5500 } |
| 5477 }, | 5501 }, |
| 5478 Stream_forEach_closure: { | 5502 Stream_forEach_closure: { |
| 5479 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt
ured_future_3", | 5503 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt
ured_future_3", |
| 5480 call$1: function(element) { | 5504 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)); | 5505 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 }, | 5506 }, |
| 5483 $signature: function() { | 5507 $signature: function() { |
| 5484 return H.computeSignature(function(T) { | 5508 return H.computeSignature(function(T) { |
| 5485 return {func: "", args: [T]}; | 5509 return {func: 1, args: [T]}; |
| 5486 }, this._async$_captured_this_1, "Stream"); | 5510 }, this._async$_captured_this_1, "Stream"); |
| 5487 } | 5511 } |
| 5488 }, | 5512 }, |
| 5489 Stream_forEach__closure: { | 5513 Stream_forEach__closure: { |
| 5490 "^": "Closure:0;_captured_action_4,_captured_element_5", | 5514 "^": "Closure:0;_captured_action_4,_captured_element_5", |
| 5491 call$0: function() { | 5515 call$0: function() { |
| 5492 return this._captured_action_4.call$1(this._captured_element_5); | 5516 return this._captured_action_4.call$1(this._captured_element_5); |
| 5493 } | 5517 } |
| 5494 }, | 5518 }, |
| 5495 Stream_forEach__closure0: { | 5519 Stream_forEach__closure0: { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5527 this._captured_future_2._complete$1(true); | 5551 this._captured_future_2._complete$1(true); |
| 5528 } | 5552 } |
| 5529 }, | 5553 }, |
| 5530 Stream_toList_closure: { | 5554 Stream_toList_closure: { |
| 5531 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", | 5555 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", |
| 5532 call$1: function(data) { | 5556 call$1: function(data) { |
| 5533 this._async$_captured_result_1.push(data); | 5557 this._async$_captured_result_1.push(data); |
| 5534 }, | 5558 }, |
| 5535 $signature: function() { | 5559 $signature: function() { |
| 5536 return H.computeSignature(function(T) { | 5560 return H.computeSignature(function(T) { |
| 5537 return {func: "", args: [T]}; | 5561 return {func: 1, args: [T]}; |
| 5538 }, this._async$_captured_this_0, "Stream"); | 5562 }, this._async$_captured_this_0, "Stream"); |
| 5539 } | 5563 } |
| 5540 }, | 5564 }, |
| 5541 Stream_toList_closure0: { | 5565 Stream_toList_closure0: { |
| 5542 "^": "Closure:0;_captured_result_2,_captured_future_3", | 5566 "^": "Closure:0;_captured_result_2,_captured_future_3", |
| 5543 call$0: function() { | 5567 call$0: function() { |
| 5544 this._captured_future_3._complete$1(this._captured_result_2); | 5568 this._captured_future_3._complete$1(this._captured_result_2); |
| 5545 } | 5569 } |
| 5546 }, | 5570 }, |
| 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: { | 5571 Stream_last_closure: { |
| 5574 "^": "Closure;_async$_box_0,_async$_captured_this_1", | 5572 "^": "Closure;_async$_box_0,_async$_captured_this_1", |
| 5575 call$1: function(value) { | 5573 call$1: function(value) { |
| 5576 var t1 = this._async$_box_0; | 5574 var t1 = this._async$_box_0; |
| 5577 t1._captured_foundResult_1 = true; | 5575 t1._captured_foundResult_1 = true; |
| 5578 t1._captured_result_0 = value; | 5576 t1._captured_result_0 = value; |
| 5579 }, | 5577 }, |
| 5580 $signature: function() { | 5578 $signature: function() { |
| 5581 return H.computeSignature(function(T) { | 5579 return H.computeSignature(function(T) { |
| 5582 return {func: "", args: [T]}; | 5580 return {func: 1, args: [T]}; |
| 5583 }, this._async$_captured_this_1, "Stream"); | 5581 }, this._async$_captured_this_1, "Stream"); |
| 5584 } | 5582 } |
| 5585 }, | 5583 }, |
| 5586 Stream_last_closure0: { | 5584 Stream_last_closure0: { |
| 5587 "^": "Closure:0;_async$_box_0,_captured_future_2", | 5585 "^": "Closure:0;_async$_box_0,_captured_future_2", |
| 5588 call$0: function() { | 5586 call$0: function() { |
| 5589 var e, s, t1, exception; | 5587 var e, s, t1, exception; |
| 5590 t1 = this._async$_box_0; | 5588 t1 = this._async$_box_0; |
| 5591 if (t1._captured_foundResult_1) { | 5589 if (t1._captured_foundResult_1) { |
| 5592 this._captured_future_2._complete$1(t1._captured_result_0); | 5590 this._captured_future_2._complete$1(t1._captured_result_0); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5706 return this._ensureDoneFuture$0(); | 5704 return this._ensureDoneFuture$0(); |
| 5707 }, | 5705 }, |
| 5708 _async$_add$1: [function(value) { | 5706 _async$_add$1: [function(value) { |
| 5709 var t1 = this._state; | 5707 var t1 = this._state; |
| 5710 if ((t1 & 1) !== 0) | 5708 if ((t1 & 1) !== 0) |
| 5711 this._sendData$1(value); | 5709 this._sendData$1(value); |
| 5712 else if ((t1 & 3) === 0) | 5710 else if ((t1 & 3) === 0) |
| 5713 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); | 5711 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); |
| 5714 }, "call$1", "get$_async$_add", 2, 0, function() { | 5712 }, "call$1", "get$_async$_add", 2, 0, function() { |
| 5715 return H.computeSignature(function(T) { | 5713 return H.computeSignature(function(T) { |
| 5716 return {func: "", void: true, args: [T]}; | 5714 return {func: 1, void: true, args: [T]}; |
| 5717 }, this.$receiver, "_StreamController"); | 5715 }, this.$receiver, "_StreamController"); |
| 5718 }], | 5716 }], |
| 5719 _addError$2: [function(error, stackTrace) { | 5717 _addError$2: [function(error, stackTrace) { |
| 5720 var t1 = this._state; | 5718 var t1 = this._state; |
| 5721 if ((t1 & 1) !== 0) | 5719 if ((t1 & 1) !== 0) |
| 5722 this._sendError$2(error, stackTrace); | 5720 this._sendError$2(error, stackTrace); |
| 5723 else if ((t1 & 3) === 0) | 5721 else if ((t1 & 3) === 0) |
| 5724 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT
race, null)); | 5722 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT
race, null)); |
| 5725 }, "call$2", "get$_addError", 4, 0, 11], | 5723 }, "call$2", "get$_addError", 4, 0, 11], |
| 5726 _close$0: [function() { | 5724 _close$0: [function() { |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6369 if (t1 != null) { | 6367 if (t1 != null) { |
| 6370 this._subscription = null; | 6368 this._subscription = null; |
| 6371 t1.cancel$0(); | 6369 t1.cancel$0(); |
| 6372 } | 6370 } |
| 6373 return; | 6371 return; |
| 6374 }, | 6372 }, |
| 6375 _handleData$1: [function(data) { | 6373 _handleData$1: [function(data) { |
| 6376 this._stream._handleData$2(data, this); | 6374 this._stream._handleData$2(data, this); |
| 6377 }, "call$1", "get$_handleData", 2, 0, function() { | 6375 }, "call$1", "get$_handleData", 2, 0, function() { |
| 6378 return H.computeSignature(function(S, T) { | 6376 return H.computeSignature(function(S, T) { |
| 6379 return {func: "", void: true, args: [S]}; | 6377 return {func: 1, void: true, args: [S]}; |
| 6380 }, this.$receiver, "_ForwardingStreamSubscription"); | 6378 }, this.$receiver, "_ForwardingStreamSubscription"); |
| 6381 }], | 6379 }], |
| 6382 _handleError$2: [function(error, stackTrace) { | 6380 _handleError$2: [function(error, stackTrace) { |
| 6383 this._addError$2(error, stackTrace); | 6381 this._addError$2(error, stackTrace); |
| 6384 }, "call$2", "get$_handleError", 4, 0, 13], | 6382 }, "call$2", "get$_handleError", 4, 0, 13], |
| 6385 _handleDone$0: [function() { | 6383 _handleDone$0: [function() { |
| 6386 this._close$0(); | 6384 this._close$0(); |
| 6387 }, "call$0", "get$_handleDone", 0, 0, 1], | 6385 }, "call$0", "get$_handleDone", 0, 0, 1], |
| 6388 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone,
cancelOnError, $S, $T) { | 6386 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone,
cancelOnError, $S, $T) { |
| 6389 var t1, t2; | 6387 var t1, t2; |
| (...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7797 }, | 7795 }, |
| 7798 add$1: function(receiver, element) { | 7796 add$1: function(receiver, element) { |
| 7799 var t1 = this.get$length(receiver); | 7797 var t1 = this.get$length(receiver); |
| 7800 this.set$length(receiver, t1 + 1); | 7798 this.set$length(receiver, t1 + 1); |
| 7801 this.$indexSet(receiver, t1, element); | 7799 this.$indexSet(receiver, t1, element); |
| 7802 }, | 7800 }, |
| 7803 indexOf$2: function(receiver, element, startIndex) { | 7801 indexOf$2: function(receiver, element, startIndex) { |
| 7804 var i; | 7802 var i; |
| 7805 if (startIndex >= this.get$length(receiver)) | 7803 if (startIndex >= this.get$length(receiver)) |
| 7806 return -1; | 7804 return -1; |
| 7807 if (startIndex < 0) | |
| 7808 startIndex = 0; | |
| 7809 for (i = startIndex; i < this.get$length(receiver); ++i) | 7805 for (i = startIndex; i < this.get$length(receiver); ++i) |
| 7810 if (J.$eq(this.$index(receiver, i), element)) | 7806 if (J.$eq(this.$index(receiver, i), element)) |
| 7811 return i; | 7807 return i; |
| 7812 return -1; | 7808 return -1; |
| 7813 }, | 7809 }, |
| 7814 indexOf$1: function($receiver, element) { | 7810 indexOf$1: function($receiver, element) { |
| 7815 return this.indexOf$2($receiver, element, 0); | 7811 return this.indexOf$2($receiver, element, 0); |
| 7816 }, | 7812 }, |
| 7817 get$reversed: function(receiver) { | 7813 get$reversed: function(receiver) { |
| 7818 return H.setRuntimeTypeInfo(new H.ReversedListIterable(receiver), [H.getRu
ntimeTypeArgument(receiver, "ListMixin", 0)]); | 7814 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 Loading... |
| 9638 t4 = ""; | 9634 t4 = ""; |
| 9639 t5 = this._fragment; | 9635 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)
)))))); | 9636 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 }, | 9637 }, |
| 9642 static: {Uri__defaultPort: function(scheme) { | 9638 static: {Uri__defaultPort: function(scheme) { |
| 9643 if (scheme === "http") | 9639 if (scheme === "http") |
| 9644 return 80; | 9640 return 80; |
| 9645 if (scheme === "https") | 9641 if (scheme === "https") |
| 9646 return 443; | 9642 return 443; |
| 9647 return 0; | 9643 return 0; |
| 9648 }, Uri_parse: function(uri) { | 9644 }, Uri_parse: function(uri, start, end) { |
| 9649 var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignI
ndex, query, fragment; | 9645 var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignI
ndex, query, fragment; |
| 9650 t1 = {}; | 9646 t1 = {}; |
| 9651 t1._captured_scheme_0 = ""; | 9647 t1._captured_end_0 = end; |
| 9652 t1._captured_userinfo_1 = ""; | 9648 t1._captured_scheme_1 = ""; |
| 9653 t1._captured_host_2 = null; | 9649 t1._captured_userinfo_2 = ""; |
| 9654 t1._captured_port_3 = null; | 9650 t1._captured_host_3 = null; |
| 9655 t1._captured_index_4 = 0; | 9651 t1._captured_port_4 = null; |
| 9656 t1._captured_char_5 = -1; | 9652 t1._captured_end_0 = J.get$length$asx(uri); |
| 9657 t2 = J.getInterceptor$asx(uri); | 9653 t1._captured_index_5 = start; |
| 9658 i = 0; | 9654 t1._captured_char_6 = -1; |
| 9655 t2 = J.getInterceptor$s(uri); |
| 9656 i = start; |
| 9659 while (true) { | 9657 while (true) { |
| 9660 t3 = t2.get$length(uri); | 9658 t3 = t1._captured_end_0; |
| 9661 if (typeof t3 !== "number") | 9659 if (typeof t3 !== "number") |
| 9662 return H.iae(t3); | 9660 return H.iae(t3); |
| 9663 if (!(i < t3)) { | 9661 if (!(i < t3)) { |
| 9664 pathStart = 0; | 9662 pathStart = start; |
| 9665 state = 0; | 9663 state = 0; |
| 9666 break; | 9664 break; |
| 9667 } | 9665 } |
| 9668 $char = t2.codeUnitAt$1(uri, i); | 9666 $char = t2.codeUnitAt$1(uri, i); |
| 9669 t1._captured_char_5 = $char; | 9667 t1._captured_char_6 = $char; |
| 9670 if ($char === 63 || $char === 35) { | 9668 if ($char === 63 || $char === 35) { |
| 9671 pathStart = 0; | 9669 pathStart = start; |
| 9672 state = 0; | 9670 state = 0; |
| 9673 break; | 9671 break; |
| 9674 } | 9672 } |
| 9675 if ($char === 47) { | 9673 if ($char === 47) { |
| 9676 state = i === 0 ? 2 : 1; | 9674 state = i === start ? 2 : 1; |
| 9677 pathStart = 0; | 9675 pathStart = start; |
| 9678 break; | 9676 break; |
| 9679 } | 9677 } |
| 9680 if ($char === 58) { | 9678 if ($char === 58) { |
| 9681 if (i === 0) | 9679 if (i === start) |
| 9682 P.Uri__fail(uri, 0, "Invalid empty scheme"); | 9680 P.Uri__fail(uri, start, "Invalid empty scheme"); |
| 9683 t1._captured_scheme_0 = P.Uri__makeScheme(uri, i); | 9681 t1._captured_scheme_1 = P.Uri__makeScheme(uri, start, i); |
| 9684 ++i; | 9682 ++i; |
| 9685 if (i === uri.length) { | 9683 if (i === t1._captured_end_0) { |
| 9686 t1._captured_char_5 = -1; | 9684 t1._captured_char_6 = -1; |
| 9687 state = 0; | 9685 state = 0; |
| 9688 } else { | 9686 } else { |
| 9689 $char = C.JSString_methods.codeUnitAt$1(uri, i); | 9687 $char = C.JSString_methods.codeUnitAt$1(uri, i); |
| 9690 t1._captured_char_5 = $char; | 9688 t1._captured_char_6 = $char; |
| 9691 if ($char === 63 || $char === 35) | 9689 if ($char === 63 || $char === 35) |
| 9692 state = 0; | 9690 state = 0; |
| 9693 else | 9691 else |
| 9694 state = $char === 47 ? 2 : 1; | 9692 state = $char === 47 ? 2 : 1; |
| 9695 } | 9693 } |
| 9696 pathStart = i; | 9694 pathStart = i; |
| 9697 break; | 9695 break; |
| 9698 } | 9696 } |
| 9699 ++i; | 9697 ++i; |
| 9700 t1._captured_char_5 = -1; | 9698 t1._captured_char_6 = -1; |
| 9701 } | 9699 } |
| 9702 t1._captured_index_4 = i; | 9700 t1._captured_index_5 = i; |
| 9703 if (state === 2) { | 9701 if (state === 2) { |
| 9704 index = i + 1; | 9702 index = i + 1; |
| 9705 t1._captured_index_4 = index; | 9703 t1._captured_index_5 = index; |
| 9706 if (index === t2.get$length(uri)) { | 9704 if (index === t1._captured_end_0) { |
| 9707 t1._captured_char_5 = -1; | 9705 t1._captured_char_6 = -1; |
| 9708 state = 0; | 9706 state = 0; |
| 9709 } else { | 9707 } else { |
| 9710 $char = t2.codeUnitAt$1(uri, t1._captured_index_4); | 9708 $char = t2.codeUnitAt$1(uri, t1._captured_index_5); |
| 9711 t1._captured_char_5 = $char; | 9709 t1._captured_char_6 = $char; |
| 9712 if ($char === 47) { | 9710 if ($char === 47) { |
| 9713 ++t1._captured_index_4; | 9711 t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1); |
| 9714 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); | 9712 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); |
| 9715 pathStart = t1._captured_index_4; | 9713 pathStart = t1._captured_index_5; |
| 9716 } | 9714 } |
| 9717 t3 = t1._captured_char_5; | 9715 t3 = t1._captured_char_6; |
| 9718 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; | 9716 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; |
| 9719 } | 9717 } |
| 9720 } | 9718 } |
| 9721 if (state === 1) | 9719 if (state === 1) |
| 9722 while (true) { | 9720 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; | 9721 $char = t2.codeUnitAt$1(uri, t1._captured_index_5); |
| 9724 t4 = t2.get$length(uri); | 9722 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) | 9723 if ($char === 63 || $char === 35) |
| 9732 break; | 9724 break; |
| 9733 t1._captured_char_5 = -1; | 9725 t1._captured_char_6 = -1; |
| 9734 } | 9726 } |
| 9735 t3 = t1._captured_scheme_0; | 9727 t3 = t1._captured_scheme_1; |
| 9736 t4 = t1._captured_host_2; | 9728 t4 = t1._captured_host_3; |
| 9737 path = P.Uri__makePath(uri, pathStart, t1._captured_index_4, null, t4 !=
null, t3 === "file"); | 9729 path = P.Uri__makePath(uri, pathStart, t1._captured_index_5, null, t4 !=
null, t3 === "file"); |
| 9738 t3 = t1._captured_char_5; | 9730 t3 = t1._captured_char_6; |
| 9739 if (t3 === 63) { | 9731 if (t3 === 63) { |
| 9740 numberSignIndex = t2.indexOf$2(uri, "#", t1._captured_index_4 + 1); | 9732 i = J.$add$ns(t1._captured_index_5, 1); |
| 9741 t3 = t1._captured_index_4; | 9733 while (true) { |
| 9742 if (numberSignIndex < 0) { | 9734 t3 = J.getInterceptor$n(i); |
| 9743 query = P.Uri__makeQuery(uri, t3 + 1, t2.get$length(uri), null); | 9735 if (!t3.$lt(i, t1._captured_end_0)) { |
| 9736 numberSignIndex = -1; |
| 9737 break; |
| 9738 } |
| 9739 if (t2.codeUnitAt$1(uri, i) === 35) { |
| 9740 numberSignIndex = i; |
| 9741 break; |
| 9742 } |
| 9743 i = t3.$add(i, 1); |
| 9744 } |
| 9745 t2 = J.getInterceptor$n(numberSignIndex); |
| 9746 t3 = t2.$lt(numberSignIndex, 0); |
| 9747 t4 = t1._captured_index_5; |
| 9748 if (t3) { |
| 9749 query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), t1._captured_end_0,
null); |
| 9744 fragment = null; | 9750 fragment = null; |
| 9745 } else { | 9751 } else { |
| 9746 query = P.Uri__makeQuery(uri, t3 + 1, numberSignIndex, null); | 9752 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)); | 9753 fragment = P.Uri__makeFragment(uri, t2.$add(numberSignIndex, 1), t1.
_captured_end_0); |
| 9748 } | 9754 } |
| 9749 } else { | 9755 } else { |
| 9750 fragment = t3 === 35 ? P.Uri__makeFragment(uri, t1._captured_index_4 +
1, t2.get$length(uri)) : null; | 9756 fragment = t3 === 35 ? P.Uri__makeFragment(uri, J.$add$ns(t1._captured
_index_5, 1), t1._captured_end_0) : null; |
| 9751 query = null; | 9757 query = null; |
| 9752 } | 9758 } |
| 9753 t2 = t1._captured_scheme_0; | 9759 t2 = t1._captured_scheme_1; |
| 9754 t3 = t1._captured_userinfo_1; | 9760 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); | 9761 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) { | 9762 }, Uri__fail: function(uri, index, message) { |
| 9757 throw H.wrapException(P.FormatException$(message, uri, index)); | 9763 throw H.wrapException(P.FormatException$(message, uri, index)); |
| 9758 }, Uri_Uri: function(fragment, host, path, pathSegments, port, query, quer
yParameters, scheme, userInfo) { | 9764 }, Uri_Uri: function(fragment, host, path, pathSegments, port, query, quer
yParameters, scheme, userInfo) { |
| 9759 var isFile, t1; | 9765 var isFile, t1; |
| 9760 scheme = P.Uri__makeScheme(scheme, scheme.length); | 9766 scheme = P.Uri__makeScheme(scheme, 0, scheme.length); |
| 9761 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); | 9767 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); |
| 9762 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host
), false); | 9768 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host
), false); |
| 9763 query = P.Uri__makeQuery(query, 0, 0, queryParameters); | 9769 query = P.Uri__makeQuery(query, 0, 0, queryParameters); |
| 9764 fragment = P.Uri__makeFragment(fragment, 0, 0); | 9770 fragment = P.Uri__makeFragment(fragment, 0, 0); |
| 9765 port = P.Uri__makePort(port, scheme); | 9771 port = P.Uri__makePort(port, scheme); |
| 9766 isFile = scheme === "file"; | 9772 isFile = scheme === "file"; |
| 9767 if (host == null) | 9773 if (host == null) |
| 9768 t1 = userInfo.length !== 0 || port != null || isFile; | 9774 t1 = userInfo.length !== 0 || port != null || isFile; |
| 9769 else | 9775 else |
| 9770 t1 = false; | 9776 t1 = false; |
| 9771 if (t1) | 9777 if (t1) |
| 9772 host = ""; | 9778 host = ""; |
| 9773 t1 = path == null ? 0 : path.length; | 9779 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); | 9780 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) { | 9781 }, Uri_Uri$file: function(path, windows) { |
| 9776 return windows ? P.Uri__makeWindowsFileUrl(path) : P.Uri__makeFileUri(pa
th); | 9782 return windows ? P.Uri__makeWindowsFileUrl(path) : P.Uri__makeFileUri(pa
th); |
| 9777 }, Uri_base: function() { | 9783 }, Uri_base: function() { |
| 9778 var uri = H.Primitives_currentUri(); | 9784 var uri = H.Primitives_currentUri(); |
| 9779 if (uri != null) | 9785 if (uri != null) |
| 9780 return P.Uri_parse(uri); | 9786 return P.Uri_parse(uri, 0, null); |
| 9781 throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported")
); | 9787 throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported")
); |
| 9782 }, Uri__checkNonWindowsPathReservedCharacters: function(segments, argument
Error) { | 9788 }, Uri__checkNonWindowsPathReservedCharacters: function(segments, argument
Error) { |
| 9783 segments.forEach$1(segments, new P.Uri__checkNonWindowsPathReservedChara
cters_closure(argumentError)); | 9789 segments.forEach$1(segments, new P.Uri__checkNonWindowsPathReservedChara
cters_closure(argumentError)); |
| 9784 }, Uri__checkWindowsPathReservedCharacters: function(segments, argumentErr
or, firstSegment) { | 9790 }, Uri__checkWindowsPathReservedCharacters: function(segments, argumentErr
or, firstSegment) { |
| 9785 J.skip$1$ax(segments, firstSegment).forEach$1(0, new P.Uri__checkWindows
PathReservedCharacters_closure(argumentError)); | 9791 J.skip$1$ax(segments, firstSegment).forEach$1(0, new P.Uri__checkWindows
PathReservedCharacters_closure(argumentError)); |
| 9786 }, Uri__checkWindowsDriveLetter: function(charCode, argumentError) { | 9792 }, Uri__checkWindowsDriveLetter: function(charCode, argumentError) { |
| 9787 var t1; | 9793 var t1; |
| 9788 if (!(65 <= charCode && charCode <= 90)) | 9794 if (!(65 <= charCode && charCode <= 90)) |
| 9789 t1 = 97 <= charCode && charCode <= 122; | 9795 t1 = 97 <= charCode && charCode <= 122; |
| 9790 else | 9796 else |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9839 else { | 9845 else { |
| 9840 pathSegments = path.split("\\"); | 9846 pathSegments = path.split("\\"); |
| 9841 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); | 9847 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); |
| 9842 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "",
""); | 9848 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "",
""); |
| 9843 } | 9849 } |
| 9844 }, Uri__makePort: function(port, scheme) { | 9850 }, Uri__makePort: function(port, scheme) { |
| 9845 if (port != null && port === P.Uri__defaultPort(scheme)) | 9851 if (port != null && port === P.Uri__defaultPort(scheme)) |
| 9846 return; | 9852 return; |
| 9847 return port; | 9853 return port; |
| 9848 }, Uri__makeHost: function(host, start, end, strictIPv6) { | 9854 }, Uri__makeHost: function(host, start, end, strictIPv6) { |
| 9849 var t1, i; | 9855 var t1, t2, i; |
| 9850 if (host == null) | 9856 if (host == null) |
| 9851 return; | 9857 return; |
| 9852 if (start === end) | 9858 t1 = J.getInterceptor(start); |
| 9859 if (t1.$eq(start, end)) |
| 9853 return ""; | 9860 return ""; |
| 9854 if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) { | 9861 if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) { |
| 9855 t1 = J.getInterceptor$n(end); | 9862 t2 = J.getInterceptor$n(end); |
| 9856 if (C.JSString_methods.codeUnitAt$1(host, t1.$sub(end, 1)) !== 93) | 9863 if (C.JSString_methods.codeUnitAt$1(host, t2.$sub(end, 1)) !== 93) |
| 9857 P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); | 9864 P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); |
| 9858 P.Uri_parseIPv6Address(host, start + 1, t1.$sub(end, 1)); | 9865 P.Uri_parseIPv6Address(host, t1.$add(start, 1), t2.$sub(end, 1)); |
| 9859 return C.JSString_methods.substring$2(host, start, end).toLowerCase(); | 9866 return C.JSString_methods.substring$2(host, start, end).toLowerCase(); |
| 9860 } | 9867 } |
| 9861 if (!strictIPv6) { | 9868 if (!strictIPv6) |
| 9862 if (typeof end !== "number") | 9869 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) { | 9870 if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { |
| 9867 P.Uri_parseIPv6Address(host, start, end); | 9871 P.Uri_parseIPv6Address(host, start, end); |
| 9868 return "[" + host + "]"; | 9872 return "[" + host + "]"; |
| 9869 } | 9873 } |
| 9870 } | |
| 9871 return P.Uri__normalizeRegName(host, start, end); | 9874 return P.Uri__normalizeRegName(host, start, end); |
| 9872 }, Uri__normalizeRegName: function(host, start, end) { | 9875 }, Uri__normalizeRegName: function(host, start, end) { |
| 9873 var index, sectionStart, buffer, isNormalized, $char, replacement, t1, s
lice, sourceLength, tail; | 9876 var index, sectionStart, buffer, isNormalized, t1, $char, replacement, t
2, slice, sourceLength, tail; |
| 9874 if (typeof end !== "number") | 9877 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); | 9878 $char = C.JSString_methods.codeUnitAt$1(host, index); |
| 9882 if ($char === 37) { | 9879 if ($char === 37) { |
| 9883 replacement = P.Uri__normalizeEscape(host, index, true); | 9880 replacement = P.Uri__normalizeEscape(host, index, true); |
| 9884 t1 = replacement == null; | 9881 t2 = replacement == null; |
| 9885 if (t1 && isNormalized) { | 9882 if (t2 && isNormalized) { |
| 9886 index += 3; | 9883 index = t1.$add(index, 3); |
| 9887 continue; | 9884 continue; |
| 9888 } | 9885 } |
| 9889 if (buffer == null) | 9886 if (buffer == null) |
| 9890 buffer = new P.StringBuffer(""); | 9887 buffer = new P.StringBuffer(""); |
| 9891 slice = C.JSString_methods.substring$2(host, sectionStart, index); | 9888 slice = C.JSString_methods.substring$2(host, sectionStart, index); |
| 9892 if (!isNormalized) | 9889 if (!isNormalized) |
| 9893 slice = slice.toLowerCase(); | 9890 slice = slice.toLowerCase(); |
| 9894 buffer._contents = buffer._contents + slice; | 9891 buffer._contents = buffer._contents + slice; |
| 9895 if (t1) { | 9892 if (t2) { |
| 9896 replacement = C.JSString_methods.substring$2(host, index, index +
3); | 9893 replacement = C.JSString_methods.substring$2(host, index, t1.$add(
index, 3)); |
| 9897 sourceLength = 3; | 9894 sourceLength = 3; |
| 9898 } else if (replacement === "%") { | 9895 } else if (replacement === "%") { |
| 9899 replacement = "%25"; | 9896 replacement = "%25"; |
| 9900 sourceLength = 1; | 9897 sourceLength = 1; |
| 9901 } else | 9898 } else |
| 9902 sourceLength = 3; | 9899 sourceLength = 3; |
| 9903 buffer._contents += replacement; | 9900 buffer._contents += replacement; |
| 9904 index += sourceLength; | 9901 index = t1.$add(index, sourceLength); |
| 9905 sectionStart = index; | 9902 sectionStart = index; |
| 9906 isNormalized = true; | 9903 isNormalized = true; |
| 9907 } else { | 9904 } else { |
| 9908 if ($char < 127) { | 9905 if ($char < 127) { |
| 9909 t1 = $char >>> 4; | 9906 t2 = $char >>> 4; |
| 9910 if (t1 >= 8) | 9907 if (t2 >= 8) |
| 9911 return H.ioore(C.List_qNA, t1); | 9908 return H.ioore(C.List_qNA, t2); |
| 9912 t1 = (C.List_qNA[t1] & C.JSInt_methods._shlPositive$1(1, $char & 1
5)) !== 0; | 9909 t2 = (C.List_qNA[t2] & C.JSInt_methods._shlPositive$1(1, $char & 1
5)) !== 0; |
| 9913 } else | 9910 } else |
| 9914 t1 = false; | 9911 t2 = false; |
| 9915 if (t1) { | 9912 if (t2) { |
| 9916 if (isNormalized && 65 <= $char && 90 >= $char) { | 9913 if (isNormalized && 65 <= $char && 90 >= $char) { |
| 9917 if (buffer == null) | 9914 if (buffer == null) |
| 9918 buffer = new P.StringBuffer(""); | 9915 buffer = new P.StringBuffer(""); |
| 9919 if (sectionStart < index) { | 9916 if (J.$lt$n(sectionStart, index)) { |
| 9920 t1 = C.JSString_methods.substring$2(host, sectionStart, index)
; | 9917 t2 = C.JSString_methods.substring$2(host, sectionStart, index)
; |
| 9921 buffer._contents = buffer._contents + t1; | 9918 buffer._contents = buffer._contents + t2; |
| 9922 sectionStart = index; | 9919 sectionStart = index; |
| 9923 } | 9920 } |
| 9924 isNormalized = false; | 9921 isNormalized = false; |
| 9925 } | 9922 } |
| 9926 ++index; | 9923 index = t1.$add(index, 1); |
| 9927 } else { | 9924 } else { |
| 9928 if ($char <= 93) { | 9925 if ($char <= 93) { |
| 9929 t1 = $char >>> 4; | 9926 t2 = $char >>> 4; |
| 9930 if (t1 >= 8) | 9927 if (t2 >= 8) |
| 9931 return H.ioore(C.List_2Vk, t1); | 9928 return H.ioore(C.List_2Vk, t2); |
| 9932 t1 = (C.List_2Vk[t1] & C.JSInt_methods._shlPositive$1(1, $char &
15)) !== 0; | 9929 t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char &
15)) !== 0; |
| 9933 } else | 9930 } else |
| 9934 t1 = false; | 9931 t2 = false; |
| 9935 if (t1) | 9932 if (t2) |
| 9936 P.Uri__fail(host, index, "Invalid character"); | 9933 P.Uri__fail(host, index, "Invalid character"); |
| 9937 else { | 9934 else { |
| 9938 if (($char & 64512) === 55296 && index + 1 < end) { | 9935 if (($char & 64512) === 55296 && J.$lt$n(t1.$add(index, 1), end)
) { |
| 9939 tail = C.JSString_methods.codeUnitAt$1(host, index + 1); | 9936 tail = C.JSString_methods.codeUnitAt$1(host, t1.$add(index, 1)
); |
| 9940 if ((tail & 64512) === 56320) { | 9937 if ((tail & 64512) === 56320) { |
| 9941 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0; | 9938 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0; |
| 9942 sourceLength = 2; | 9939 sourceLength = 2; |
| 9943 } else | 9940 } else |
| 9944 sourceLength = 1; | 9941 sourceLength = 1; |
| 9945 } else | 9942 } else |
| 9946 sourceLength = 1; | 9943 sourceLength = 1; |
| 9947 if (buffer == null) | 9944 if (buffer == null) |
| 9948 buffer = new P.StringBuffer(""); | 9945 buffer = new P.StringBuffer(""); |
| 9949 slice = C.JSString_methods.substring$2(host, sectionStart, index
); | 9946 slice = C.JSString_methods.substring$2(host, sectionStart, index
); |
| 9950 if (!isNormalized) | 9947 if (!isNormalized) |
| 9951 slice = slice.toLowerCase(); | 9948 slice = slice.toLowerCase(); |
| 9952 buffer._contents = buffer._contents + slice; | 9949 buffer._contents = buffer._contents + slice; |
| 9953 buffer._contents += P.Uri__escapeChar($char); | 9950 buffer._contents += P.Uri__escapeChar($char); |
| 9954 index += sourceLength; | 9951 index = t1.$add(index, sourceLength); |
| 9955 sectionStart = index; | 9952 sectionStart = index; |
| 9956 } | 9953 } |
| 9957 } | 9954 } |
| 9958 } | 9955 } |
| 9959 } | 9956 } |
| 9960 if (buffer == null) | 9957 if (buffer == null) |
| 9961 return C.JSString_methods.substring$2(host, start, end); | 9958 return C.JSString_methods.substring$2(host, start, end); |
| 9962 if (sectionStart < end) { | 9959 if (J.$lt$n(sectionStart, end)) { |
| 9963 slice = C.JSString_methods.substring$2(host, sectionStart, end); | 9960 slice = C.JSString_methods.substring$2(host, sectionStart, end); |
| 9964 buffer._contents += !isNormalized ? slice.toLowerCase() : slice; | 9961 buffer._contents += !isNormalized ? slice.toLowerCase() : slice; |
| 9965 } | 9962 } |
| 9966 t1 = buffer._contents; | 9963 t1 = buffer._contents; |
| 9967 return t1.charCodeAt(0) == 0 ? t1 : t1; | 9964 return t1.charCodeAt(0) == 0 ? t1 : t1; |
| 9968 }, Uri__makeScheme: function(scheme, end) { | 9965 }, Uri__makeScheme: function(scheme, start, end) { |
| 9969 var firstCodeUnit, allLowercase, t1, i, codeUnit; | 9966 var firstCodeUnit, allLowercase, t1, i, codeUnit; |
| 9970 if (J.$eq(end, 0)) | 9967 if (start === end) |
| 9971 return ""; | 9968 return ""; |
| 9972 firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, 0); | 9969 firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, start); |
| 9973 allLowercase = firstCodeUnit >= 97; | 9970 allLowercase = firstCodeUnit >= 97; |
| 9974 if (!(allLowercase && firstCodeUnit <= 122)) | 9971 if (!(allLowercase && firstCodeUnit <= 122)) |
| 9975 t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90; | 9972 t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90; |
| 9976 else | 9973 else |
| 9977 t1 = true; | 9974 t1 = true; |
| 9978 if (!t1) | 9975 if (!t1) |
| 9979 P.Uri__fail(scheme, 0, "Scheme not starting with alphabetic character"
); | 9976 P.Uri__fail(scheme, start, "Scheme not starting with alphabetic charac
ter"); |
| 9980 if (typeof end !== "number") | 9977 if (typeof end !== "number") |
| 9981 return H.iae(end); | 9978 return H.iae(end); |
| 9982 i = 0; | 9979 i = start; |
| 9983 for (; i < end; ++i) { | 9980 for (; i < end; ++i) { |
| 9984 codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i); | 9981 codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i); |
| 9985 if (codeUnit < 128) { | 9982 if (codeUnit < 128) { |
| 9986 t1 = codeUnit >>> 4; | 9983 t1 = codeUnit >>> 4; |
| 9987 if (t1 >= 8) | 9984 if (t1 >= 8) |
| 9988 return H.ioore(C.List_JYB, t1); | 9985 return H.ioore(C.List_JYB, t1); |
| 9989 t1 = (C.List_JYB[t1] & C.JSInt_methods._shlPositive$1(1, codeUnit &
15)) !== 0; | 9986 t1 = (C.List_JYB[t1] & C.JSInt_methods._shlPositive$1(1, codeUnit &
15)) !== 0; |
| 9990 } else | 9987 } else |
| 9991 t1 = false; | 9988 t1 = false; |
| 9992 if (!t1) | 9989 if (!t1) |
| 9993 P.Uri__fail(scheme, i, "Illegal scheme character"); | 9990 P.Uri__fail(scheme, i, "Illegal scheme character"); |
| 9994 if (codeUnit < 97 || codeUnit > 122) | 9991 if (codeUnit < 97 || codeUnit > 122) |
| 9995 allLowercase = false; | 9992 allLowercase = false; |
| 9996 } | 9993 } |
| 9997 scheme = C.JSString_methods.substring$2(scheme, 0, end); | 9994 scheme = C.JSString_methods.substring$2(scheme, start, end); |
| 9998 return !allLowercase ? scheme.toLowerCase() : scheme; | 9995 return !allLowercase ? scheme.toLowerCase() : scheme; |
| 9999 }, Uri__makeUserInfo: function(userInfo, start, end) { | 9996 }, Uri__makeUserInfo: function(userInfo, start, end) { |
| 10000 return P.Uri__normalize(userInfo, start, end, C.List_gRj); | 9997 return P.Uri__normalize(userInfo, start, end, C.List_gRj); |
| 10001 }, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSl
ash, isFile) { | 9998 }, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSl
ash, isFile) { |
| 10002 var t1, result; | 9999 var t1, result; |
| 10003 t1 = path == null; | 10000 t1 = path == null; |
| 10004 if (t1 && pathSegments == null) | 10001 if (t1 && pathSegments == null) |
| 10005 return isFile ? "/" : ""; | 10002 return isFile ? "/" : ""; |
| 10006 t1 = !t1; | 10003 t1 = !t1; |
| 10007 if (t1 && pathSegments != null) | 10004 if (t1 && pathSegments != null) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10041 }, Uri__isHexDigit: function($char) { | 10038 }, Uri__isHexDigit: function($char) { |
| 10042 if (57 >= $char) | 10039 if (57 >= $char) |
| 10043 return 48 <= $char; | 10040 return 48 <= $char; |
| 10044 $char |= 32; | 10041 $char |= 32; |
| 10045 return 97 <= $char && 102 >= $char; | 10042 return 97 <= $char && 102 >= $char; |
| 10046 }, Uri__hexValue: function($char) { | 10043 }, Uri__hexValue: function($char) { |
| 10047 if (57 >= $char) | 10044 if (57 >= $char) |
| 10048 return $char - 48; | 10045 return $char - 48; |
| 10049 return ($char | 32) - 87; | 10046 return ($char | 32) - 87; |
| 10050 }, Uri__normalizeEscape: function(source, index, lowerCase) { | 10047 }, Uri__normalizeEscape: function(source, index, lowerCase) { |
| 10051 var t1, firstDigit, secondDigit, value; | 10048 var t1, firstDigit, secondDigit, value, t2; |
| 10052 t1 = index + 2; | 10049 t1 = J.getInterceptor$ns(index); |
| 10053 if (t1 >= source.length) | 10050 if (J.$ge$n(t1.$add(index, 2), source.length)) |
| 10054 return "%"; | 10051 return "%"; |
| 10055 firstDigit = C.JSString_methods.codeUnitAt$1(source, index + 1); | 10052 firstDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 1)); |
| 10056 secondDigit = C.JSString_methods.codeUnitAt$1(source, t1); | 10053 secondDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 2))
; |
| 10057 if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit)) | 10054 if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit)) |
| 10058 return "%"; | 10055 return "%"; |
| 10059 value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit); | 10056 value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit); |
| 10060 if (value < 127) { | 10057 if (value < 127) { |
| 10061 t1 = C.JSInt_methods._shrOtherPositive$1(value, 4); | 10058 t2 = C.JSInt_methods._shrOtherPositive$1(value, 4); |
| 10062 if (t1 >= 8) | 10059 if (t2 >= 8) |
| 10063 return H.ioore(C.List_nxB, t1); | 10060 return H.ioore(C.List_nxB, t2); |
| 10064 t1 = (C.List_nxB[t1] & C.JSInt_methods._shlPositive$1(1, value & 15))
!== 0; | 10061 t2 = (C.List_nxB[t2] & C.JSInt_methods._shlPositive$1(1, value & 15))
!== 0; |
| 10065 } else | 10062 } else |
| 10066 t1 = false; | 10063 t2 = false; |
| 10067 if (t1) | 10064 if (t2) |
| 10068 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90
>= value ? (value | 32) >>> 0 : value); | 10065 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90
>= value ? (value | 32) >>> 0 : value); |
| 10069 if (firstDigit >= 97 || secondDigit >= 97) | 10066 if (firstDigit >= 97 || secondDigit >= 97) |
| 10070 return C.JSString_methods.substring$2(source, index, index + 3).toUppe
rCase(); | 10067 return C.JSString_methods.substring$2(source, index, t1.$add(index, 3)
).toUpperCase(); |
| 10071 return; | 10068 return; |
| 10072 }, Uri__escapeChar: function($char) { | 10069 }, Uri__escapeChar: function($char) { |
| 10073 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; | 10070 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; |
| 10074 if ($char < 128) { | 10071 if ($char < 128) { |
| 10075 codeUnits = Array(3); | 10072 codeUnits = Array(3); |
| 10076 codeUnits.fixed$length = Array; | 10073 codeUnits.fixed$length = Array; |
| 10077 codeUnits[0] = 37; | 10074 codeUnits[0] = 37; |
| 10078 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch
ar >>> 4); | 10075 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch
ar >>> 4); |
| 10079 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch
ar & 15); | 10076 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch
ar & 15); |
| 10080 } else { | 10077 } else { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 10106 t3 = index + 2; | 10103 t3 = index + 2; |
| 10107 t2 = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 15)
; | 10104 t2 = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 15)
; |
| 10108 if (t3 >= t1) | 10105 if (t3 >= t1) |
| 10109 return H.ioore(codeUnits, t3); | 10106 return H.ioore(codeUnits, t3); |
| 10110 codeUnits[t3] = t2; | 10107 codeUnits[t3] = t2; |
| 10111 index += 3; | 10108 index += 3; |
| 10112 } | 10109 } |
| 10113 } | 10110 } |
| 10114 return P.String_String$fromCharCodes(codeUnits, 0, null); | 10111 return P.String_String$fromCharCodes(codeUnits, 0, null); |
| 10115 }, Uri__normalize: function(component, start, end, charTable) { | 10112 }, Uri__normalize: function(component, start, end, charTable) { |
| 10116 var t1, index, sectionStart, buffer, $char, t2, replacement, sourceLengt
h, tail; | 10113 var t1, index, sectionStart, buffer, t2, $char, t3, replacement, sourceL
ength, tail; |
| 10117 if (typeof end !== "number") | 10114 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); | 10115 $char = t1.codeUnitAt$1(component, index); |
| 10125 if ($char < 127) { | 10116 if ($char < 127) { |
| 10126 t2 = $char >>> 4; | 10117 t3 = $char >>> 4; |
| 10127 if (t2 >= 8) | 10118 if (t3 >= 8) |
| 10128 return H.ioore(charTable, t2); | 10119 return H.ioore(charTable, t3); |
| 10129 t2 = (charTable[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15))
!== 0; | 10120 t3 = (charTable[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15))
!== 0; |
| 10130 } else | 10121 } else |
| 10131 t2 = false; | 10122 t3 = false; |
| 10132 if (t2) | 10123 if (t3) |
| 10133 ++index; | 10124 index = t2.$add(index, 1); |
| 10134 else { | 10125 else { |
| 10135 if ($char === 37) { | 10126 if ($char === 37) { |
| 10136 replacement = P.Uri__normalizeEscape(component, index, false); | 10127 replacement = P.Uri__normalizeEscape(component, index, false); |
| 10137 if (replacement == null) { | 10128 if (replacement == null) { |
| 10138 index += 3; | 10129 index = t2.$add(index, 3); |
| 10139 continue; | 10130 continue; |
| 10140 } | 10131 } |
| 10141 if ("%" === replacement) { | 10132 if ("%" === replacement) { |
| 10142 replacement = "%25"; | 10133 replacement = "%25"; |
| 10143 sourceLength = 1; | 10134 sourceLength = 1; |
| 10144 } else | 10135 } else |
| 10145 sourceLength = 3; | 10136 sourceLength = 3; |
| 10146 } else { | 10137 } else { |
| 10147 if ($char <= 93) { | 10138 if ($char <= 93) { |
| 10148 t2 = $char >>> 4; | 10139 t3 = $char >>> 4; |
| 10149 if (t2 >= 8) | 10140 if (t3 >= 8) |
| 10150 return H.ioore(C.List_2Vk, t2); | 10141 return H.ioore(C.List_2Vk, t3); |
| 10151 t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char &
15)) !== 0; | 10142 t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char &
15)) !== 0; |
| 10152 } else | 10143 } else |
| 10153 t2 = false; | 10144 t3 = false; |
| 10154 if (t2) { | 10145 if (t3) { |
| 10155 P.Uri__fail(component, index, "Invalid character"); | 10146 P.Uri__fail(component, index, "Invalid character"); |
| 10156 replacement = null; | 10147 replacement = null; |
| 10157 sourceLength = null; | 10148 sourceLength = null; |
| 10158 } else { | 10149 } else { |
| 10159 if (($char & 64512) === 55296) { | 10150 if (($char & 64512) === 55296) |
| 10160 t2 = index + 1; | 10151 if (J.$lt$n(t2.$add(index, 1), end)) { |
| 10161 if (t2 < end) { | 10152 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) { | 10153 if ((tail & 64512) === 56320) { |
| 10164 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0
; | 10154 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0
; |
| 10165 sourceLength = 2; | 10155 sourceLength = 2; |
| 10166 } else | 10156 } else |
| 10167 sourceLength = 1; | 10157 sourceLength = 1; |
| 10168 } else | 10158 } else |
| 10169 sourceLength = 1; | 10159 sourceLength = 1; |
| 10170 } else | 10160 else |
| 10171 sourceLength = 1; | 10161 sourceLength = 1; |
| 10172 replacement = P.Uri__escapeChar($char); | 10162 replacement = P.Uri__escapeChar($char); |
| 10173 } | 10163 } |
| 10174 } | 10164 } |
| 10175 if (buffer == null) | 10165 if (buffer == null) |
| 10176 buffer = new P.StringBuffer(""); | 10166 buffer = new P.StringBuffer(""); |
| 10177 t2 = C.JSString_methods.substring$2(component, sectionStart, index); | 10167 t3 = C.JSString_methods.substring$2(component, sectionStart, index); |
| 10178 buffer._contents = buffer._contents + t2; | 10168 buffer._contents = buffer._contents + t3; |
| 10179 buffer._contents += H.S(replacement); | 10169 buffer._contents += H.S(replacement); |
| 10180 if (typeof sourceLength !== "number") | 10170 index = t2.$add(index, sourceLength); |
| 10181 return H.iae(sourceLength); | |
| 10182 index += sourceLength; | |
| 10183 sectionStart = index; | 10171 sectionStart = index; |
| 10184 } | 10172 } |
| 10185 } | 10173 } |
| 10186 if (buffer == null) | 10174 if (buffer == null) |
| 10187 return t1.substring$2(component, start, end); | 10175 return t1.substring$2(component, start, end); |
| 10188 if (sectionStart < end) | 10176 if (J.$lt$n(sectionStart, end)) |
| 10189 buffer._contents += t1.substring$2(component, sectionStart, end); | 10177 buffer._contents += t1.substring$2(component, sectionStart, end); |
| 10190 t1 = buffer._contents; | 10178 t1 = buffer._contents; |
| 10191 return t1.charCodeAt(0) == 0 ? t1 : t1; | 10179 return t1.charCodeAt(0) == 0 ? t1 : t1; |
| 10192 }, Uri_decodeComponent: [function(encodedComponent) { | 10180 }, Uri_decodeComponent: [function(encodedComponent) { |
| 10193 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); | 10181 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); |
| 10194 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71], Uri_splitQueryStrin
g: function(query, encoding) { | 10182 }, "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)); | 10183 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) { | 10184 }, Uri_parseIPv4Address: function(host) { |
| 10197 var t1, bytes; | 10185 var t1, bytes; |
| 10198 t1 = new P.Uri_parseIPv4Address_error(); | 10186 t1 = new P.Uri_parseIPv4Address_error(); |
| 10199 bytes = host.split("."); | 10187 bytes = host.split("."); |
| 10200 if (bytes.length !== 4) | 10188 if (bytes.length !== 4) |
| 10201 t1.call$1("IPv4 address should contain exactly 4 parts"); | 10189 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); | 10190 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) { | 10191 }, 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; | 10192 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd,
isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; |
| 10205 if (end == null) | 10193 if (end == null) |
| 10206 end = J.get$length$asx(host); | 10194 end = J.get$length$asx(host); |
| 10207 error = new P.Uri_parseIPv6Address_error(host); | 10195 error = new P.Uri_parseIPv6Address_error(host); |
| 10208 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); | 10196 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); |
| 10209 if (J.get$length$asx(host) < 2) | 10197 if (J.get$length$asx(host) < 2) |
| 10210 error.call$1("address is too short"); | 10198 error.call$1("address is too short"); |
| 10211 parts = []; | 10199 parts = []; |
| 10212 partStart = start; | 10200 partStart = start; |
| 10213 i = start; | 10201 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) { | 10202 if (J.codeUnitAt$1$s(host, i) === 58) { |
| 10222 if (i === start) { | 10203 if (t1.$eq(i, start)) { |
| 10223 ++i; | 10204 i = t1.$add(i, 1); |
| 10224 if (J.codeUnitAt$1$s(host, i) !== 58) | 10205 if (J.codeUnitAt$1$s(host, i) !== 58) |
| 10225 error.call$2("invalid start colon.", i); | 10206 error.call$2("invalid start colon.", i); |
| 10226 partStart = i; | 10207 partStart = i; |
| 10227 } | 10208 } |
| 10228 if (i === partStart) { | 10209 t1 = J.getInterceptor(i); |
| 10210 if (t1.$eq(i, partStart)) { |
| 10229 if (wildcardSeen) | 10211 if (wildcardSeen) |
| 10230 error.call$2("only one wildcard `::` is allowed", i); | 10212 error.call$2("only one wildcard `::` is allowed", i); |
| 10231 J.add$1$ax(parts, -1); | 10213 J.add$1$ax(parts, -1); |
| 10232 wildcardSeen = true; | 10214 wildcardSeen = true; |
| 10233 } else | 10215 } else |
| 10234 J.add$1$ax(parts, parseHex.call$2(partStart, i)); | 10216 J.add$1$ax(parts, parseHex.call$2(partStart, i)); |
| 10235 partStart = i + 1; | 10217 partStart = t1.$add(i, 1); |
| 10236 } | 10218 } |
| 10237 ++i; | |
| 10238 } | |
| 10239 if (J.get$length$asx(parts) === 0) | 10219 if (J.get$length$asx(parts) === 0) |
| 10240 error.call$1("too few parts"); | 10220 error.call$1("too few parts"); |
| 10241 atEnd = J.$eq(partStart, end); | 10221 atEnd = J.$eq(partStart, end); |
| 10242 isLastWildcard = J.$eq(J.get$last$ax(parts), -1); | 10222 isLastWildcard = J.$eq(J.get$last$ax(parts), -1); |
| 10243 if (atEnd && !isLastWildcard) | 10223 if (atEnd && !isLastWildcard) |
| 10244 error.call$2("expected a part after last `:`", end); | 10224 error.call$2("expected a part after last `:`", end); |
| 10245 if (!atEnd) | 10225 if (!atEnd) |
| 10246 try { | 10226 try { |
| 10247 J.add$1$ax(parts, parseHex.call$2(partStart, end)); | 10227 J.add$1$ax(parts, parseHex.call$2(partStart, end)); |
| 10248 } catch (exception) { | 10228 } catch (exception) { |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10402 Uri_parse_isRegName: { | 10382 Uri_parse_isRegName: { |
| 10403 "^": "Closure:46;", | 10383 "^": "Closure:46;", |
| 10404 call$1: function(ch) { | 10384 call$1: function(ch) { |
| 10405 ch.$lt(0, 128); | 10385 ch.$lt(0, 128); |
| 10406 return false; | 10386 return false; |
| 10407 } | 10387 } |
| 10408 }, | 10388 }, |
| 10409 Uri_parse_parseAuth: { | 10389 Uri_parse_parseAuth: { |
| 10410 "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2", | 10390 "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2", |
| 10411 call$0: function() { | 10391 call$0: function() { |
| 10412 var t1, t2, t3, authStart, $char, lastColon, lastAt, char0, endBracket, ho
stEnd, hostStart, i, portNumber, digit; | 10392 var t1, authStart, t2, $char, lastColon, lastAt, char0, endBracket, hostEn
d, t3, hostStart, i, portNumber, digit; |
| 10413 t1 = this._box_0; | 10393 t1 = this._box_0; |
| 10414 t2 = this._captured_uri_1; | 10394 if (J.$eq(t1._captured_index_5, t1._captured_end_0)) { |
| 10415 t3 = J.getInterceptor$asx(t2); | 10395 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; | 10396 return; |
| 10419 } | 10397 } |
| 10420 authStart = t1._captured_index_4; | 10398 authStart = t1._captured_index_5; |
| 10421 t1._captured_char_5 = t3.codeUnitAt$1(t2, authStart); | 10399 t2 = this._captured_uri_1; |
| 10422 for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; t1._captur
ed_index_4 < t2.length;) { | 10400 t1._captured_char_6 = J.getInterceptor$s(t2).codeUnitAt$1(t2, authStart); |
| 10423 char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_4); | 10401 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; | 10402 char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5); |
| 10403 t1._captured_char_6 = char0; |
| 10425 if (char0 === 47 || char0 === 63 || char0 === 35) | 10404 if (char0 === 47 || char0 === 63 || char0 === 35) |
| 10426 break; | 10405 break; |
| 10427 if (char0 === 64) { | 10406 if (char0 === 64) { |
| 10428 lastAt = t1._captured_index_4; | 10407 lastAt = t1._captured_index_5; |
| 10429 lastColon = -1; | 10408 lastColon = -1; |
| 10430 } else if (char0 === 58) | 10409 } else if (char0 === 58) |
| 10431 lastColon = t1._captured_index_4; | 10410 lastColon = t1._captured_index_5; |
| 10432 else if (char0 === 91) { | 10411 else if (char0 === 91) { |
| 10433 endBracket = C.JSString_methods.indexOf$2(t2, "]", t1._captured_index_
4 + 1); | 10412 endBracket = C.JSString_methods.indexOf$2(t2, "]", J.$add$ns(t1._captu
red_index_5, 1)); |
| 10434 if (endBracket === -1) { | 10413 if (endBracket === -1) { |
| 10435 t1._captured_index_4 = t2.length; | 10414 t1._captured_index_5 = t1._captured_end_0; |
| 10436 t1._captured_char_5 = $char; | 10415 t1._captured_char_6 = $char; |
| 10437 lastColon = -1; | 10416 lastColon = -1; |
| 10438 break; | 10417 break; |
| 10439 } else | 10418 } else |
| 10440 t1._captured_index_4 = endBracket; | 10419 t1._captured_index_5 = endBracket; |
| 10441 lastColon = -1; | 10420 lastColon = -1; |
| 10442 } | 10421 } |
| 10443 ++t1._captured_index_4; | 10422 t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1); |
| 10444 t1._captured_char_5 = $char; | 10423 t1._captured_char_6 = $char; |
| 10445 } | 10424 } |
| 10446 hostEnd = t1._captured_index_4; | 10425 hostEnd = t1._captured_index_5; |
| 10447 if (lastAt >= 0) { | 10426 t3 = J.getInterceptor$n(lastAt); |
| 10448 t1._captured_userinfo_1 = P.Uri__makeUserInfo(t2, authStart, lastAt); | 10427 if (t3.$ge(lastAt, 0)) { |
| 10449 hostStart = lastAt + 1; | 10428 t1._captured_userinfo_2 = P.Uri__makeUserInfo(t2, authStart, lastAt); |
| 10429 hostStart = t3.$add(lastAt, 1); |
| 10450 } else | 10430 } else |
| 10451 hostStart = authStart; | 10431 hostStart = authStart; |
| 10452 if (lastColon >= 0) { | 10432 t3 = J.getInterceptor$n(lastColon); |
| 10453 i = lastColon + 1; | 10433 if (t3.$ge(lastColon, 0)) { |
| 10454 if (i < t1._captured_index_4) | 10434 if (J.$lt$n(t3.$add(lastColon, 1), t1._captured_index_5)) |
| 10455 for (portNumber = 0; i < t1._captured_index_4; ++i) { | 10435 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); | 10436 digit = C.JSString_methods.codeUnitAt$1(t2, i); |
| 10457 if (48 > digit || 57 < digit) | 10437 if (48 > digit || 57 < digit) |
| 10458 P.Uri__fail(t2, i, "Invalid port number"); | 10438 P.Uri__fail(t2, i, "Invalid port number"); |
| 10459 portNumber = portNumber * 10 + (digit - 48); | 10439 portNumber = portNumber * 10 + (digit - 48); |
| 10460 } | 10440 } |
| 10461 else | 10441 else |
| 10462 portNumber = null; | 10442 portNumber = null; |
| 10463 t1._captured_port_3 = P.Uri__makePort(portNumber, t1._captured_scheme_0)
; | 10443 t1._captured_port_4 = P.Uri__makePort(portNumber, t1._captured_scheme_1)
; |
| 10464 hostEnd = lastColon; | 10444 hostEnd = lastColon; |
| 10465 } | 10445 } |
| 10466 t1._captured_host_2 = P.Uri__makeHost(t2, hostStart, hostEnd, true); | 10446 t1._captured_host_3 = P.Uri__makeHost(t2, hostStart, hostEnd, true); |
| 10467 if (t1._captured_index_4 < t2.length) | 10447 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); | 10448 t1._captured_char_6 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_i
ndex_5); |
| 10469 } | 10449 } |
| 10470 }, | 10450 }, |
| 10471 Uri__checkNonWindowsPathReservedCharacters_closure: { | 10451 Uri__checkNonWindowsPathReservedCharacters_closure: { |
| 10472 "^": "Closure:2;_captured_argumentError_0", | 10452 "^": "Closure:2;_captured_argumentError_0", |
| 10473 call$1: function(segment) { | 10453 call$1: function(segment) { |
| 10474 if (J.contains$1$asx(segment, "/") === true) | 10454 if (J.contains$1$asx(segment, "/") === true) |
| 10475 if (this._captured_argumentError_0) | 10455 if (this._captured_argumentError_0) |
| 10476 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S
(segment))); | 10456 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S
(segment))); |
| 10477 else | 10457 else |
| 10478 throw H.wrapException(P.UnsupportedError$("Illegal path character " +
H.S(segment))); | 10458 throw H.wrapException(P.UnsupportedError$("Illegal path character " +
H.S(segment))); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10648 Blob: { | 10628 Blob: { |
| 10649 "^": "Interceptor;", | 10629 "^": "Interceptor;", |
| 10650 close$0: function(receiver) { | 10630 close$0: function(receiver) { |
| 10651 return receiver.close(); | 10631 return receiver.close(); |
| 10652 }, | 10632 }, |
| 10653 $isBlob: 1, | 10633 $isBlob: 1, |
| 10654 "%": ";Blob" | 10634 "%": ";Blob" |
| 10655 }, | 10635 }, |
| 10656 BodyElement: { | 10636 BodyElement: { |
| 10657 "^": "HtmlElement;", | 10637 "^": "HtmlElement;", |
| 10658 get$onLoad: function(receiver) { | |
| 10659 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "load"
, false), [null]); | |
| 10660 }, | |
| 10661 $isInterceptor: 1, | 10638 $isInterceptor: 1, |
| 10662 "%": "HTMLBodyElement" | 10639 "%": "HTMLBodyElement" |
| 10663 }, | 10640 }, |
| 10664 CharacterData: { | 10641 CharacterData: { |
| 10665 "^": "Node;data=,length=", | 10642 "^": "Node;data=,length=", |
| 10666 $isInterceptor: 1, | 10643 $isInterceptor: 1, |
| 10667 "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text" | 10644 "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text" |
| 10668 }, | 10645 }, |
| 10669 CompositionEvent: { | 10646 CompositionEvent: { |
| 10670 "^": "UIEvent;data=", | 10647 "^": "UIEvent;data=", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10742 }, | 10719 }, |
| 10743 $isRectangle: 1, | 10720 $isRectangle: 1, |
| 10744 $asRectangle: $.functionThatReturnsNull, | 10721 $asRectangle: $.functionThatReturnsNull, |
| 10745 "%": ";DOMRectReadOnly" | 10722 "%": ";DOMRectReadOnly" |
| 10746 }, | 10723 }, |
| 10747 Element: { | 10724 Element: { |
| 10748 "^": "Node;", | 10725 "^": "Node;", |
| 10749 toString$0: function(receiver) { | 10726 toString$0: function(receiver) { |
| 10750 return receiver.localName; | 10727 return receiver.localName; |
| 10751 }, | 10728 }, |
| 10752 get$onLoad: function(receiver) { | |
| 10753 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "load"
, false), [null]); | |
| 10754 }, | |
| 10755 $isElement: 1, | 10729 $isElement: 1, |
| 10756 $isNode: 1, | 10730 $isNode: 1, |
| 10757 $isObject: 1, | 10731 $isObject: 1, |
| 10758 $isInterceptor: 1, | 10732 $isInterceptor: 1, |
| 10759 "%": ";Element" | 10733 "%": ";Element" |
| 10760 }, | 10734 }, |
| 10761 EmbedElement: { | 10735 EmbedElement: { |
| 10762 "^": "HtmlElement;src}", | 10736 "^": "HtmlElement;src%", |
| 10763 "%": "HTMLEmbedElement" | 10737 "%": "HTMLEmbedElement" |
| 10764 }, | 10738 }, |
| 10765 ErrorEvent: { | 10739 ErrorEvent: { |
| 10766 "^": "Event;error=,message=", | 10740 "^": "Event;error=,message=", |
| 10767 "%": "ErrorEvent" | 10741 "%": "ErrorEvent" |
| 10768 }, | 10742 }, |
| 10769 Event: { | 10743 Event: { |
| 10770 "^": "Interceptor;", | 10744 "^": "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" | 10745 "%": "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 }, | 10746 }, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10835 }, | 10809 }, |
| 10836 Interceptor_ListMixin_ImmutableListMixin: { | 10810 Interceptor_ListMixin_ImmutableListMixin: { |
| 10837 "^": "Interceptor_ListMixin+ImmutableListMixin;", | 10811 "^": "Interceptor_ListMixin+ImmutableListMixin;", |
| 10838 $isList: 1, | 10812 $isList: 1, |
| 10839 $asList: function() { | 10813 $asList: function() { |
| 10840 return [W.Node]; | 10814 return [W.Node]; |
| 10841 }, | 10815 }, |
| 10842 $isEfficientLength: 1 | 10816 $isEfficientLength: 1 |
| 10843 }, | 10817 }, |
| 10844 IFrameElement: { | 10818 IFrameElement: { |
| 10845 "^": "HtmlElement;src}", | 10819 "^": "HtmlElement;src%", |
| 10846 get$contentWindow: function(receiver) { | 10820 get$contentWindow: function(receiver) { |
| 10847 return W._convertNativeToDart_Window(receiver.contentWindow); | 10821 return W._convertNativeToDart_Window(receiver.contentWindow); |
| 10848 }, | 10822 }, |
| 10849 "%": "HTMLIFrameElement" | 10823 "%": "HTMLIFrameElement" |
| 10850 }, | 10824 }, |
| 10851 ImageElement: { | 10825 ImageElement: { |
| 10852 "^": "HtmlElement;src}", | 10826 "^": "HtmlElement;src%", |
| 10853 "%": "HTMLImageElement" | 10827 "%": "HTMLImageElement" |
| 10854 }, | 10828 }, |
| 10855 InputElement: { | 10829 InputElement: { |
| 10856 "^": "HtmlElement;src}", | 10830 "^": "HtmlElement;src%", |
| 10857 $isInterceptor: 1, | 10831 $isInterceptor: 1, |
| 10858 "%": "HTMLInputElement" | 10832 "%": "HTMLInputElement" |
| 10859 }, | 10833 }, |
| 10860 KeyboardEvent: { | 10834 KeyboardEvent: { |
| 10861 "^": "UIEvent;location=", | 10835 "^": "UIEvent;location=", |
| 10862 "%": "KeyboardEvent" | 10836 "%": "KeyboardEvent" |
| 10863 }, | 10837 }, |
| 10864 Location: { | 10838 Location: { |
| 10865 "^": "Interceptor;", | 10839 "^": "Interceptor;", |
| 10866 get$origin: function(receiver) { | 10840 get$origin: function(receiver) { |
| 10867 if ("origin" in receiver) | 10841 if ("origin" in receiver) |
| 10868 return receiver.origin; | 10842 return receiver.origin; |
| 10869 return H.S(receiver.protocol) + "//" + H.S(receiver.host); | 10843 return H.S(receiver.protocol) + "//" + H.S(receiver.host); |
| 10870 }, | 10844 }, |
| 10871 toString$0: function(receiver) { | 10845 toString$0: function(receiver) { |
| 10872 return String(receiver); | 10846 return String(receiver); |
| 10873 }, | 10847 }, |
| 10874 "%": "Location" | 10848 "%": "Location" |
| 10875 }, | 10849 }, |
| 10876 MediaElement: { | 10850 MediaElement: { |
| 10877 "^": "HtmlElement;error=,src}", | 10851 "^": "HtmlElement;error=,src%", |
| 10878 "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement" | 10852 "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement" |
| 10879 }, | 10853 }, |
| 10880 MediaKeyEvent: { | 10854 MediaKeyEvent: { |
| 10881 "^": "Event;message=", | 10855 "^": "Event;message=", |
| 10882 "%": "MediaKeyEvent" | 10856 "%": "MediaKeyEvent" |
| 10883 }, | 10857 }, |
| 10884 MediaKeyMessageEvent: { | 10858 MediaKeyMessageEvent: { |
| 10885 "^": "Event;message=", | 10859 "^": "Event;message=", |
| 10886 "%": "MediaKeyMessageEvent" | 10860 "%": "MediaKeyMessageEvent" |
| 10887 }, | 10861 }, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10998 }, | 10972 }, |
| 10999 PositionError: { | 10973 PositionError: { |
| 11000 "^": "Interceptor;message=", | 10974 "^": "Interceptor;message=", |
| 11001 "%": "PositionError" | 10975 "%": "PositionError" |
| 11002 }, | 10976 }, |
| 11003 PushEvent: { | 10977 PushEvent: { |
| 11004 "^": "Event;data=", | 10978 "^": "Event;data=", |
| 11005 "%": "PushEvent" | 10979 "%": "PushEvent" |
| 11006 }, | 10980 }, |
| 11007 ScriptElement: { | 10981 ScriptElement: { |
| 11008 "^": "HtmlElement;src}", | 10982 "^": "HtmlElement;src%", |
| 11009 "%": "HTMLScriptElement" | 10983 "%": "HTMLScriptElement" |
| 11010 }, | 10984 }, |
| 11011 SelectElement: { | 10985 SelectElement: { |
| 11012 "^": "HtmlElement;length=", | 10986 "^": "HtmlElement;length=", |
| 11013 "%": "HTMLSelectElement" | 10987 "%": "HTMLSelectElement" |
| 11014 }, | 10988 }, |
| 11015 SourceElement: { | 10989 SourceElement: { |
| 11016 "^": "HtmlElement;src}", | 10990 "^": "HtmlElement;src%", |
| 11017 "%": "HTMLSourceElement" | 10991 "%": "HTMLSourceElement" |
| 11018 }, | 10992 }, |
| 11019 SpeechRecognitionError: { | 10993 SpeechRecognitionError: { |
| 11020 "^": "Event;error=,message=", | 10994 "^": "Event;error=,message=", |
| 11021 "%": "SpeechRecognitionError" | 10995 "%": "SpeechRecognitionError" |
| 11022 }, | 10996 }, |
| 11023 TextEvent: { | 10997 TextEvent: { |
| 11024 "^": "UIEvent;data=", | 10998 "^": "UIEvent;data=", |
| 11025 "%": "TextEvent" | 10999 "%": "TextEvent" |
| 11026 }, | 11000 }, |
| 11027 TrackElement: { | 11001 TrackElement: { |
| 11028 "^": "HtmlElement;src}", | 11002 "^": "HtmlElement;src%", |
| 11029 "%": "HTMLTrackElement" | 11003 "%": "HTMLTrackElement" |
| 11030 }, | 11004 }, |
| 11031 UIEvent: { | 11005 UIEvent: { |
| 11032 "^": "Event;", | 11006 "^": "Event;", |
| 11033 "%": "DragEvent|FocusEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseW
heelEvent|PointerEvent|SVGZoomEvent|TouchEvent|WheelEvent;UIEvent" | 11007 "%": "DragEvent|FocusEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseW
heelEvent|PointerEvent|SVGZoomEvent|TouchEvent|WheelEvent;UIEvent" |
| 11034 }, | 11008 }, |
| 11035 WebSocket: { | 11009 WebSocket: { |
| 11036 "^": "EventTarget;", | 11010 "^": "EventTarget;", |
| 11037 close$2: function(receiver, code, reason) { | 11011 close$2: function(receiver, code, reason) { |
| 11038 return receiver.close(code, reason); | 11012 return receiver.close(code, reason); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11135 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon
e, onError) { | 11109 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); | 11110 var t1 = new W._EventStreamSubscription(0, this._html$_target, this._event
Type, W._wrapZone(onData), this._useCapture); |
| 11137 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 11111 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| 11138 t1._tryResume$0(); | 11112 t1._tryResume$0(); |
| 11139 return t1; | 11113 return t1; |
| 11140 }, | 11114 }, |
| 11141 listen$3$onDone$onError: function(onData, onDone, onError) { | 11115 listen$3$onDone$onError: function(onData, onDone, onError) { |
| 11142 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on
Error); | 11116 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on
Error); |
| 11143 } | 11117 } |
| 11144 }, | 11118 }, |
| 11145 _ElementEventStreamImpl: { | |
| 11146 "^": "_EventStream;_html$_target,_eventType,_useCapture" | |
| 11147 }, | |
| 11148 _EventStreamSubscription: { | 11119 _EventStreamSubscription: { |
| 11149 "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData,
_useCapture", | 11120 "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData,
_useCapture", |
| 11150 cancel$0: function() { | 11121 cancel$0: function() { |
| 11151 if (this._html$_target == null) | 11122 if (this._html$_target == null) |
| 11152 return; | 11123 return; |
| 11153 this._unlisten$0(); | 11124 this._unlisten$0(); |
| 11154 this._html$_target = null; | 11125 this._html$_target = null; |
| 11155 this._html$_onData = null; | 11126 this._html$_onData = null; |
| 11156 return; | 11127 return; |
| 11157 }, | 11128 }, |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11796 if (match == null) | 11767 if (match == null) |
| 11797 throw H.wrapException(P.FormatException$("Couldn't parse VM stack trac
e line '" + H.S(frame) + "'.", null, null)); | 11768 throw H.wrapException(P.FormatException$("Couldn't parse VM stack trac
e line '" + H.S(frame) + "'.", null, null)); |
| 11798 t1 = match._match; | 11769 t1 = match._match; |
| 11799 if (1 >= t1.length) | 11770 if (1 >= t1.length) |
| 11800 return H.ioore(t1, 1); | 11771 return H.ioore(t1, 1); |
| 11801 t2 = J.replaceAll$2$s(t1[1], $.get$_asyncBody(), "<async>"); | 11772 t2 = J.replaceAll$2$s(t1[1], $.get$_asyncBody(), "<async>"); |
| 11802 H.checkString("<fn>"); | 11773 H.checkString("<fn>"); |
| 11803 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); | 11774 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); |
| 11804 if (2 >= t1.length) | 11775 if (2 >= t1.length) |
| 11805 return H.ioore(t1, 2); | 11776 return H.ioore(t1, 2); |
| 11806 uri = P.Uri_parse(t1[2]); | 11777 uri = P.Uri_parse(t1[2], 0, null); |
| 11807 if (3 >= t1.length) | 11778 if (3 >= t1.length) |
| 11808 return H.ioore(t1, 3); | 11779 return H.ioore(t1, 3); |
| 11809 lineAndColumn = J.split$1$s(t1[3], ":"); | 11780 lineAndColumn = J.split$1$s(t1[3], ":"); |
| 11810 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1]
, null, null) : null; | 11781 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); | 11782 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) { | 11783 }, Frame_Frame$parseV8: function(frame) { |
| 11813 var match, t1, t2, t3, t4; | 11784 var match, t1, t2, t3, t4; |
| 11814 match = $.get$_v8Frame().firstMatch$1(frame); | 11785 match = $.get$_v8Frame().firstMatch$1(frame); |
| 11815 if (match == null) | 11786 if (match == null) |
| 11816 throw H.wrapException(P.FormatException$("Couldn't parse V8 stack trac
e line '" + H.S(frame) + "'.", null, null)); | 11787 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); | 11788 t1 = new S.Frame_Frame$parseV8_parseLocation(frame); |
| 11818 t2 = match._match; | 11789 t2 = match._match; |
| 11819 t3 = t2.length; | 11790 t3 = t2.length; |
| 11820 if (2 >= t3) | 11791 if (2 >= t3) |
| 11821 return H.ioore(t2, 2); | 11792 return H.ioore(t2, 2); |
| 11822 t4 = t2[2]; | 11793 t4 = t2[2]; |
| 11823 if (t4 != null) { | 11794 if (t4 != null) { |
| 11824 t2 = J.replaceAll$2$s(t2[1], "<anonymous>", "<fn>"); | 11795 t2 = J.replaceAll$2$s(t2[1], "<anonymous>", "<fn>"); |
| 11825 H.checkString("<fn>"); | 11796 H.checkString("<fn>"); |
| 11826 return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "Anonymous functi
on", "<fn>")); | 11797 return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "Anonymous functi
on", "<fn>")); |
| 11827 } else { | 11798 } else { |
| 11828 if (3 >= t3) | 11799 if (3 >= t3) |
| 11829 return H.ioore(t2, 3); | 11800 return H.ioore(t2, 3); |
| 11830 return t1.call$2(t2[3], "<fn>"); | 11801 return t1.call$2(t2[3], "<fn>"); |
| 11831 } | 11802 } |
| 11832 }, Frame__uriOrPathToUri: function(uriOrPath) { | 11803 }, Frame__uriOrPathToUri: function(uriOrPath) { |
| 11833 var t1 = J.getInterceptor$asx(uriOrPath); | 11804 var t1 = J.getInterceptor$asx(uriOrPath); |
| 11834 if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true) | 11805 if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true) |
| 11835 return P.Uri_parse(uriOrPath); | 11806 return P.Uri_parse(uriOrPath, 0, null); |
| 11836 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true
) | 11807 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true
) |
| 11837 return P.Uri_Uri$file(uriOrPath, true); | 11808 return P.Uri_Uri$file(uriOrPath, true); |
| 11838 else if (t1.startsWith$1(uriOrPath, "/")) | 11809 else if (t1.startsWith$1(uriOrPath, "/")) |
| 11839 return P.Uri_Uri$file(uriOrPath, false); | 11810 return P.Uri_Uri$file(uriOrPath, false); |
| 11840 if (C.JSString_methods.contains$1(uriOrPath, "\\")) | 11811 if (C.JSString_methods.contains$1(uriOrPath, "\\")) |
| 11841 return $.get$windows().toUri$1(uriOrPath); | 11812 return $.get$windows().toUri$1(uriOrPath); |
| 11842 return P.Uri_parse(uriOrPath); | 11813 return P.Uri_parse(uriOrPath, 0, null); |
| 11843 }} | 11814 }} |
| 11844 }, | 11815 }, |
| 11845 Frame_Frame$parseV8_parseLocation: { | 11816 Frame_Frame$parseV8_parseLocation: { |
| 11846 "^": "Closure:40;_captured_frame_0", | 11817 "^": "Closure:40;_captured_frame_0", |
| 11847 call$2: function($location, member) { | 11818 call$2: function($location, member) { |
| 11848 var t1, evalMatch, t2, urlMatch, t3; | 11819 var t1, evalMatch, t2, urlMatch, t3; |
| 11849 t1 = $.get$_v8EvalLocation(); | 11820 t1 = $.get$_v8EvalLocation(); |
| 11850 evalMatch = t1.firstMatch$1($location); | 11821 evalMatch = t1.firstMatch$1($location); |
| 11851 for (; evalMatch != null;) { | 11822 for (; evalMatch != null;) { |
| 11852 t2 = evalMatch._match; | 11823 t2 = evalMatch._match; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12105 } | 12076 } |
| 12106 }], | 12077 }], |
| 12107 ["path", "package:path/path.dart", , B, { | 12078 ["path", "package:path/path.dart", , B, { |
| 12108 "^": "", | 12079 "^": "", |
| 12109 current: function() { | 12080 current: function() { |
| 12110 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe
tPath, targetQuery, fragment, path; | 12081 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe
tPath, targetQuery, fragment, path; |
| 12111 uri = P.Uri_base(); | 12082 uri = P.Uri_base(); |
| 12112 t1 = $.get$Style_platform(); | 12083 t1 = $.get$Style_platform(); |
| 12113 t2 = $.get$Style_url(); | 12084 t2 = $.get$Style_url(); |
| 12114 if (t1 == null ? t2 == null : t1 === t2) { | 12085 if (t1 == null ? t2 == null : t1 === t2) { |
| 12115 t1 = P.Uri_parse("."); | 12086 t1 = P.Uri_parse(".", 0, null); |
| 12116 targetScheme = t1.scheme; | 12087 targetScheme = t1.scheme; |
| 12117 if (targetScheme.length !== 0) { | 12088 if (targetScheme.length !== 0) { |
| 12118 if (t1._host != null) { | 12089 if (t1._host != null) { |
| 12119 targetUserInfo = t1._userInfo; | 12090 targetUserInfo = t1._userInfo; |
| 12120 targetHost = t1.get$host(t1); | 12091 targetHost = t1.get$host(t1); |
| 12121 targetPort = t1._port != null ? t1.get$port(t1) : null; | 12092 targetPort = t1._port != null ? t1.get$port(t1) : null; |
| 12122 } else { | 12093 } else { |
| 12123 targetUserInfo = ""; | 12094 targetUserInfo = ""; |
| 12124 targetHost = null; | 12095 targetHost = null; |
| 12125 targetPort = null; | 12096 targetPort = null; |
| (...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12673 return 0; | 12644 return 0; |
| 12674 }, | 12645 }, |
| 12675 isRootRelative$1: function(path) { | 12646 isRootRelative$1: function(path) { |
| 12676 var t1 = J.getInterceptor$asx(path); | 12647 var t1 = J.getInterceptor$asx(path); |
| 12677 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; | 12648 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; |
| 12678 }, | 12649 }, |
| 12679 pathFromUri$1: function(uri) { | 12650 pathFromUri$1: function(uri) { |
| 12680 return uri.toString$0(0); | 12651 return uri.toString$0(0); |
| 12681 }, | 12652 }, |
| 12682 relativePathToUri$1: function(path) { | 12653 relativePathToUri$1: function(path) { |
| 12683 return P.Uri_parse(path); | 12654 return P.Uri_parse(path, 0, null); |
| 12684 }, | 12655 }, |
| 12685 absolutePathToUri$1: function(path) { | 12656 absolutePathToUri$1: function(path) { |
| 12686 return P.Uri_parse(path); | 12657 return P.Uri_parse(path, 0, null); |
| 12687 } | 12658 } |
| 12688 } | 12659 } |
| 12689 }], | 12660 }], |
| 12690 ["path.style.windows", "package:path/src/style/windows.dart", , T, { | 12661 ["path.style.windows", "package:path/src/style/windows.dart", , T, { |
| 12691 "^": "", | 12662 "^": "", |
| 12692 WindowsStyle: { | 12663 WindowsStyle: { |
| 12693 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara
torPattern,rootPattern,relativeRootPattern", | 12664 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepara
torPattern,rootPattern,relativeRootPattern", |
| 12694 containsSeparator$1: function(path) { | 12665 containsSeparator$1: function(path) { |
| 12695 return J.contains$1$asx(path, "/"); | 12666 return J.contains$1$asx(path, "/"); |
| 12696 }, | 12667 }, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12926 "^": "StreamChannelMixin;_parent,id,stream,sink" | 12897 "^": "StreamChannelMixin;_parent,id,stream,sink" |
| 12927 } | 12898 } |
| 12928 }], | 12899 }], |
| 12929 ["test.runner.browser.host", "host.dart", , R, { | 12900 ["test.runner.browser.host", "host.dart", , R, { |
| 12930 "^": "", | 12901 "^": "", |
| 12931 main: [function() { | 12902 main: [function() { |
| 12932 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null); | 12903 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null); |
| 12933 }, "call$0", "main$closure", 0, 0, 1], | 12904 }, "call$0", "main$closure", 0, 0, 1], |
| 12934 _connectToServer: function() { | 12905 _connectToServer: function() { |
| 12935 var currentUrl, t1, webSocket, inputController, outputController; | 12906 var currentUrl, t1, webSocket, inputController, outputController; |
| 12936 currentUrl = P.Uri_parse(window.location.href); | 12907 currentUrl = P.Uri_parse(window.location.href, 0, null); |
| 12937 t1 = currentUrl._queryParameters; | 12908 t1 = currentUrl._queryParameters; |
| 12938 if (t1 == null) { | 12909 if (t1 == null) { |
| 12939 t1 = currentUrl._query; | 12910 t1 = currentUrl._query; |
| 12940 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString
(t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); | 12911 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString
(t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); |
| 12941 currentUrl._queryParameters = t1; | 12912 currentUrl._queryParameters = t1; |
| 12942 } | 12913 } |
| 12943 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager
Url"), null); | 12914 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager
Url"), null); |
| 12944 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); | 12915 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); |
| 12945 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [
null]); | 12916 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(); | 12917 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); | 12918 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)); | 12919 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)])); | 12920 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo
ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll
er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); |
| 12950 }, | 12921 }, |
| 12951 _connectToIframe: function(url) { | 12922 _connectToIframe: function(url) { |
| 12952 var iframe, t1, inputController, outputController; | 12923 var iframe, inputController, outputController, readyCompleter, t1; |
| 12953 iframe = document.createElement("iframe", null); | 12924 iframe = document.createElement("iframe", null); |
| 12954 t1 = J.getInterceptor$x(iframe); | 12925 J.set$src$x(iframe, url); |
| 12955 t1.set$src(iframe, url); | |
| 12956 document.body.appendChild(iframe); | 12926 document.body.appendChild(iframe); |
| 12957 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); | 12927 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); |
| 12958 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | 12928 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
| 12959 t1 = t1.get$onLoad(iframe); | 12929 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeType
Info(new P._Future(0, $.Zone__current, null), [null])), [null]); |
| 12960 t1.get$first(t1).then$1(new R._connectToIframe_closure(iframe, inputControll
er, outputController)); | 12930 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [nul
l]); |
| 12931 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1.
_eventType, W._wrapZone(new R._connectToIframe_closure(iframe, inputController,
readyCompleter)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume
$0(); |
| 12932 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new R._connectToIframe_closure0(iframe, readyCompleter)); |
| 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]); | 12933 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 }, | 12934 }, |
| 12963 main_closure: { | 12935 main_closure: { |
| 12964 "^": "Closure:0;", | 12936 "^": "Closure:0;", |
| 12965 call$0: function() { | 12937 call$0: function() { |
| 12966 var serverChannel = R._connectToServer(); | 12938 var serverChannel = R._connectToServer(); |
| 12967 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll
er), [null]).listen$1(new R.main__closure(serverChannel)); | 12939 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll
er), [null]).listen$1(new R.main__closure(serverChannel)); |
| 12968 } | 12940 } |
| 12969 }, | 12941 }, |
| 12970 main__closure: { | 12942 main__closure: { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 12996 return; | 12968 return; |
| 12997 } | 12969 } |
| 12998 }, | 12970 }, |
| 12999 _connectToServer_closure0: { | 12971 _connectToServer_closure0: { |
| 13000 "^": "Closure:2;_captured_webSocket_1", | 12972 "^": "Closure:2;_captured_webSocket_1", |
| 13001 call$1: function(message) { | 12973 call$1: function(message) { |
| 13002 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess
age)); | 12974 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess
age)); |
| 13003 } | 12975 } |
| 13004 }, | 12976 }, |
| 13005 _connectToIframe_closure: { | 12977 _connectToIframe_closure: { |
| 13006 "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_out
putController_2", | 12978 "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_rea
dyCompleter_2", |
| 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) { | 12979 call$1: function(message) { |
| 13019 var t1, t2; | 12980 var t1, t2, t3; |
| 13020 t1 = J.getInterceptor$x(message); | 12981 t1 = J.getInterceptor$x(message); |
| 13021 if (t1.get$origin(message) !== J.get$origin$x(window.location)) | 12982 t2 = t1.get$origin(message); |
| 12983 t3 = window.location; |
| 12984 if (t2 !== (t3 && C.Location_methods).get$origin(t3)) |
| 13022 return; | 12985 return; |
| 13023 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), this._captured_ifra
me_3.src)) | 12986 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._c
aptured_iframe_0))) |
| 13024 return; | 12987 return; |
| 13025 message.stopPropagation(); | 12988 message.stopPropagation(); |
| 13026 t1 = this._captured_inputController_4; | 12989 t1 = this._captured_inputController_1; |
| 13027 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data
, true), "data"); | 12990 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data
, true), "data"); |
| 13028 if (t1._state >= 4) | 12991 if (t1._state >= 4) |
| 13029 H.throwExpression(t1._badEventState$0()); | 12992 H.throwExpression(t1._badEventState$0()); |
| 13030 t1._async$_add$1(t2); | 12993 t1._async$_add$1(t2); |
| 12994 this._captured_readyCompleter_2.complete$0(0); |
| 13031 } | 12995 } |
| 13032 }, | 12996 }, |
| 13033 _connectToIframe__closure0: { | 12997 _connectToIframe_closure0: { |
| 13034 "^": "Closure:2;_captured_iframe_5", | 12998 "^": "Closure:2;_captured_iframe_3,_captured_readyCompleter_4", |
| 13035 call$1: function(message) { | 12999 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)); | 13000 this._captured_readyCompleter_4.future.then$1(new R._connectToIframe__clos
ure(this._captured_iframe_3, message)); |
| 13001 } |
| 13002 }, |
| 13003 _connectToIframe__closure: { |
| 13004 "^": "Closure:2;_captured_iframe_5,_captured_message_6", |
| 13005 call$1: function(_) { |
| 13006 var t1, t2; |
| 13007 t1 = J.get$contentWindow$x(this._captured_iframe_5); |
| 13008 t2 = window.location; |
| 13009 return J.postMessage$2$x(t1, this._captured_message_6, (t2 && C.Location_m
ethods).get$origin(t2)); |
| 13037 } | 13010 } |
| 13038 } | 13011 } |
| 13039 }, | 13012 }, |
| 13040 1], | 13013 1], |
| 13041 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { | 13014 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { |
| 13042 "^": "", | 13015 "^": "", |
| 13043 _StreamChannel: { | 13016 _StreamChannel: { |
| 13044 "^": "StreamChannelMixin;stream,sink" | 13017 "^": "StreamChannelMixin;stream,sink" |
| 13045 }, | 13018 }, |
| 13046 StreamChannelMixin: { | 13019 StreamChannelMixin: { |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13225 Trace$parseFriendly_closure0: { | 13198 Trace$parseFriendly_closure0: { |
| 13226 "^": "Closure:2;", | 13199 "^": "Closure:2;", |
| 13227 call$1: function(line) { | 13200 call$1: function(line) { |
| 13228 var match, t1, uri, t2, t3, t4, column; | 13201 var match, t1, uri, t2, t3, t4, column; |
| 13229 match = $.get$_friendlyFrame().firstMatch$1(line); | 13202 match = $.get$_friendlyFrame().firstMatch$1(line); |
| 13230 if (match == null) | 13203 if (match == null) |
| 13231 H.throwExpression(P.FormatException$("Couldn't parse package:stack_trace
stack trace line '" + H.S(line) + "'.", null, null)); | 13204 H.throwExpression(P.FormatException$("Couldn't parse package:stack_trace
stack trace line '" + H.S(line) + "'.", null, null)); |
| 13232 t1 = match._match; | 13205 t1 = match._match; |
| 13233 if (1 >= t1.length) | 13206 if (1 >= t1.length) |
| 13234 return H.ioore(t1, 1); | 13207 return H.ioore(t1, 1); |
| 13235 uri = P.Uri_parse(t1[1]); | 13208 uri = P.Uri_parse(t1[1], 0, null); |
| 13236 if (uri.scheme === "") { | 13209 if (uri.scheme === "") { |
| 13237 t2 = $.get$context(); | 13210 t2 = $.get$context(); |
| 13238 t3 = t2.fromUri$1(uri); | 13211 t3 = t2.fromUri$1(uri); |
| 13239 t4 = t2._context0$_current; | 13212 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)); | 13213 uri = t2.toUri$1(t2.join$8(0, t4 != null ? t4 : B.current(), t3, null, n
ull, null, null, null, null)); |
| 13241 } | 13214 } |
| 13242 if (2 >= t1.length) | 13215 if (2 >= t1.length) |
| 13243 return H.ioore(t1, 2); | 13216 return H.ioore(t1, 2); |
| 13244 t2 = t1[2]; | 13217 t2 = t1[2]; |
| 13245 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); | 13218 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 13274 }, | 13247 }, |
| 13275 Trace_foldFrames_closure0: { | 13248 Trace_foldFrames_closure0: { |
| 13276 "^": "Closure:2;_trace$_box_0", | 13249 "^": "Closure:2;_trace$_box_0", |
| 13277 call$1: function(frame) { | 13250 call$1: function(frame) { |
| 13278 var t1, t2; | 13251 var t1, t2; |
| 13279 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) | 13252 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) |
| 13280 return frame; | 13253 return frame; |
| 13281 t1 = frame.get$library(); | 13254 t1 = frame.get$library(); |
| 13282 t2 = $.get$_terseRegExp(); | 13255 t2 = $.get$_terseRegExp(); |
| 13283 H.checkString(""); | 13256 H.checkString(""); |
| 13284 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, "")), n
ull, null, frame.member); | 13257 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0,
null), null, null, frame.member); |
| 13285 } | 13258 } |
| 13286 }, | 13259 }, |
| 13287 Trace_toString_closure0: { | 13260 Trace_toString_closure0: { |
| 13288 "^": "Closure:2;", | 13261 "^": "Closure:2;", |
| 13289 call$1: function(frame) { | 13262 call$1: function(frame) { |
| 13290 return J.get$length$asx(J.get$location$x(frame)); | 13263 return J.get$length$asx(J.get$location$x(frame)); |
| 13291 } | 13264 } |
| 13292 }, | 13265 }, |
| 13293 Trace_toString_closure: { | 13266 Trace_toString_closure: { |
| 13294 "^": "Closure:2;_captured_longest_0", | 13267 "^": "Closure:2;_captured_longest_0", |
| 13295 call$1: function(frame) { | 13268 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"; | 13269 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0))
+ " " + H.S(frame.get$member()) + "\n"; |
| 13297 } | 13270 } |
| 13298 } | 13271 } |
| 13299 }], | 13272 }], |
| 13300 ]; | 13273 ]; |
| 13301 setupProgram(dart); | 13274 setupProgram(dart, 0); |
| 13302 // getInterceptor methods | 13275 // getInterceptor methods |
| 13303 J.getInterceptor = function(receiver) { | 13276 J.getInterceptor = function(receiver) { |
| 13304 if (typeof receiver == "number") { | 13277 if (typeof receiver == "number") { |
| 13305 if (Math.floor(receiver) == receiver) | 13278 if (Math.floor(receiver) == receiver) |
| 13306 return J.JSInt.prototype; | 13279 return J.JSInt.prototype; |
| 13307 return J.JSDouble.prototype; | 13280 return J.JSDouble.prototype; |
| 13308 } | 13281 } |
| 13309 if (typeof receiver == "string") | 13282 if (typeof receiver == "string") |
| 13310 return J.JSString.prototype; | 13283 return J.JSString.prototype; |
| 13311 if (receiver == null) | 13284 if (receiver == null) |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13387 return receiver + a0; | 13360 return receiver + a0; |
| 13388 return J.getInterceptor$ns(receiver).$add(receiver, a0); | 13361 return J.getInterceptor$ns(receiver).$add(receiver, a0); |
| 13389 }; | 13362 }; |
| 13390 J.$eq = function(receiver, a0) { | 13363 J.$eq = function(receiver, a0) { |
| 13391 if (receiver == null) | 13364 if (receiver == null) |
| 13392 return a0 == null; | 13365 return a0 == null; |
| 13393 if (typeof receiver != "object") | 13366 if (typeof receiver != "object") |
| 13394 return a0 != null && receiver === a0; | 13367 return a0 != null && receiver === a0; |
| 13395 return J.getInterceptor(receiver).$eq(receiver, a0); | 13368 return J.getInterceptor(receiver).$eq(receiver, a0); |
| 13396 }; | 13369 }; |
| 13370 J.$ge$n = function(receiver, a0) { |
| 13371 if (typeof receiver == "number" && typeof a0 == "number") |
| 13372 return receiver >= a0; |
| 13373 return J.getInterceptor$n(receiver).$ge(receiver, a0); |
| 13374 }; |
| 13397 J.$gt$n = function(receiver, a0) { | 13375 J.$gt$n = function(receiver, a0) { |
| 13398 if (typeof receiver == "number" && typeof a0 == "number") | 13376 if (typeof receiver == "number" && typeof a0 == "number") |
| 13399 return receiver > a0; | 13377 return receiver > a0; |
| 13400 return J.getInterceptor$n(receiver).$gt(receiver, a0); | 13378 return J.getInterceptor$n(receiver).$gt(receiver, a0); |
| 13401 }; | 13379 }; |
| 13402 J.$index$asx = function(receiver, a0) { | 13380 J.$index$asx = function(receiver, a0) { |
| 13403 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde
xable(receiver, receiver[init.dispatchPropertyName])) | 13381 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde
xable(receiver, receiver[init.dispatchPropertyName])) |
| 13404 if (a0 >>> 0 === a0 && a0 < receiver.length) | 13382 if (a0 >>> 0 === a0 && a0 < receiver.length) |
| 13405 return receiver[a0]; | 13383 return receiver[a0]; |
| 13406 return J.getInterceptor$asx(receiver).$index(receiver, a0); | 13384 return J.getInterceptor$asx(receiver).$index(receiver, a0); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13470 }; | 13448 }; |
| 13471 J.get$length$asx = function(receiver) { | 13449 J.get$length$asx = function(receiver) { |
| 13472 return J.getInterceptor$asx(receiver).get$length(receiver); | 13450 return J.getInterceptor$asx(receiver).get$length(receiver); |
| 13473 }; | 13451 }; |
| 13474 J.get$location$x = function(receiver) { | 13452 J.get$location$x = function(receiver) { |
| 13475 return J.getInterceptor$x(receiver).get$location(receiver); | 13453 return J.getInterceptor$x(receiver).get$location(receiver); |
| 13476 }; | 13454 }; |
| 13477 J.get$message$x = function(receiver) { | 13455 J.get$message$x = function(receiver) { |
| 13478 return J.getInterceptor$x(receiver).get$message(receiver); | 13456 return J.getInterceptor$x(receiver).get$message(receiver); |
| 13479 }; | 13457 }; |
| 13480 J.get$origin$x = function(receiver) { | |
| 13481 return J.getInterceptor$x(receiver).get$origin(receiver); | |
| 13482 }; | |
| 13483 J.get$parent$x = function(receiver) { | 13458 J.get$parent$x = function(receiver) { |
| 13484 return J.getInterceptor$x(receiver).get$parent(receiver); | 13459 return J.getInterceptor$x(receiver).get$parent(receiver); |
| 13485 }; | 13460 }; |
| 13461 J.get$src$x = function(receiver) { |
| 13462 return J.getInterceptor$x(receiver).get$src(receiver); |
| 13463 }; |
| 13486 J.get$start$x = function(receiver) { | 13464 J.get$start$x = function(receiver) { |
| 13487 return J.getInterceptor$x(receiver).get$start(receiver); | 13465 return J.getInterceptor$x(receiver).get$start(receiver); |
| 13488 }; | 13466 }; |
| 13489 J.map$1$ax = function(receiver, a0) { | 13467 J.map$1$ax = function(receiver, a0) { |
| 13490 return J.getInterceptor$ax(receiver).map$1(receiver, a0); | 13468 return J.getInterceptor$ax(receiver).map$1(receiver, a0); |
| 13491 }; | 13469 }; |
| 13492 J.matchAsPrefix$2$s = function(receiver, a0, a1) { | 13470 J.matchAsPrefix$2$s = function(receiver, a0, a1) { |
| 13493 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); | 13471 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); |
| 13494 }; | 13472 }; |
| 13495 J.postMessage$2$x = function(receiver, a0, a1) { | 13473 J.postMessage$2$x = function(receiver, a0, a1) { |
| 13496 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); | 13474 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); |
| 13497 }; | 13475 }; |
| 13498 J.print$1$x = function(receiver, a0) { | 13476 J.print$1$x = function(receiver, a0) { |
| 13499 return J.getInterceptor$x(receiver).print$1(receiver, a0); | 13477 return J.getInterceptor$x(receiver).print$1(receiver, a0); |
| 13500 }; | 13478 }; |
| 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) { | 13479 J.replaceAll$2$s = function(receiver, a0, a1) { |
| 13505 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); | 13480 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); |
| 13506 }; | 13481 }; |
| 13507 J.replaceFirst$2$s = function(receiver, a0, a1) { | 13482 J.replaceFirst$2$s = function(receiver, a0, a1) { |
| 13508 return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); | 13483 return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); |
| 13509 }; | 13484 }; |
| 13510 J.send$1$x = function(receiver, a0) { | 13485 J.send$1$x = function(receiver, a0) { |
| 13511 return J.getInterceptor$x(receiver).send$1(receiver, a0); | 13486 return J.getInterceptor$x(receiver).send$1(receiver, a0); |
| 13512 }; | 13487 }; |
| 13488 J.set$src$x = function(receiver, value) { |
| 13489 return J.getInterceptor$x(receiver).set$src(receiver, value); |
| 13490 }; |
| 13513 J.skip$1$ax = function(receiver, a0) { | 13491 J.skip$1$ax = function(receiver, a0) { |
| 13514 return J.getInterceptor$ax(receiver).skip$1(receiver, a0); | 13492 return J.getInterceptor$ax(receiver).skip$1(receiver, a0); |
| 13515 }; | 13493 }; |
| 13516 J.split$1$s = function(receiver, a0) { | 13494 J.split$1$s = function(receiver, a0) { |
| 13517 return J.getInterceptor$s(receiver).split$1(receiver, a0); | 13495 return J.getInterceptor$s(receiver).split$1(receiver, a0); |
| 13518 }; | 13496 }; |
| 13519 J.startsWith$1$s = function(receiver, a0) { | 13497 J.startsWith$1$s = function(receiver, a0) { |
| 13520 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); | 13498 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); |
| 13521 }; | 13499 }; |
| 13522 J.substring$1$s = function(receiver, a0) { | 13500 J.substring$1$s = function(receiver, a0) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 13542 list.fixed$length = Array; | 13520 list.fixed$length = Array; |
| 13543 return list; | 13521 return list; |
| 13544 }; | 13522 }; |
| 13545 ; | 13523 ; |
| 13546 C.JSArray_methods = J.JSArray.prototype; | 13524 C.JSArray_methods = J.JSArray.prototype; |
| 13547 C.JSDouble_methods = J.JSDouble.prototype; | 13525 C.JSDouble_methods = J.JSDouble.prototype; |
| 13548 C.JSInt_methods = J.JSInt.prototype; | 13526 C.JSInt_methods = J.JSInt.prototype; |
| 13549 C.JSNull_methods = J.JSNull.prototype; | 13527 C.JSNull_methods = J.JSNull.prototype; |
| 13550 C.JSNumber_methods = J.JSNumber.prototype; | 13528 C.JSNumber_methods = J.JSNumber.prototype; |
| 13551 C.JSString_methods = J.JSString.prototype; | 13529 C.JSString_methods = J.JSString.prototype; |
| 13530 C.Location_methods = W.Location.prototype; |
| 13552 C.NativeUint8List_methods = H.NativeUint8List.prototype; | 13531 C.NativeUint8List_methods = H.NativeUint8List.prototype; |
| 13553 C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; | 13532 C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; |
| 13554 C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; | 13533 C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; |
| 13555 C.C_DynamicRuntimeType = new H.DynamicRuntimeType(); | 13534 C.C_DynamicRuntimeType = new H.DynamicRuntimeType(); |
| 13556 C.C_OutOfMemoryError = new P.OutOfMemoryError(); | 13535 C.C_OutOfMemoryError = new P.OutOfMemoryError(); |
| 13557 C.C__DelayedDone = new P._DelayedDone(); | 13536 C.C__DelayedDone = new P._DelayedDone(); |
| 13558 C.C__RootZone = new P._RootZone(); | 13537 C.C__RootZone = new P._RootZone(); |
| 13559 C.Duration_0 = new P.Duration(0); | 13538 C.Duration_0 = new P.Duration(0); |
| 13560 C.JS_CONST_0 = function(hooks) { | 13539 C.JS_CONST_0 = function(hooks) { |
| 13561 if (typeof dartExperimentalFixupGetTag != "function") return hooks; | 13540 if (typeof dartExperimentalFixupGetTag != "function") return hooks; |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13756 $._lastPriorityCallback = null; | 13735 $._lastPriorityCallback = null; |
| 13757 $._isInCallbackLoop = false; | 13736 $._isInCallbackLoop = false; |
| 13758 $.Zone__current = C.C__RootZone; | 13737 $.Zone__current = C.C__RootZone; |
| 13759 $._RootZone__rootDelegate = null; | 13738 $._RootZone__rootDelegate = null; |
| 13760 $.Expando__keyCount = 0; | 13739 $.Expando__keyCount = 0; |
| 13761 $.Device__isOpera = null; | 13740 $.Device__isOpera = null; |
| 13762 $.Device__isIE = null; | 13741 $.Device__isIE = null; |
| 13763 $.Device__isFirefox = null; | 13742 $.Device__isFirefox = null; |
| 13764 $.Device__isWebKit = null; | 13743 $.Device__isWebKit = null; |
| 13765 $.Device__cachedCssPrefix = null; | 13744 $.Device__cachedCssPrefix = null; |
| 13766 Isolate.$lazy("IsolateNatives_thisScript", "get$IsolateNatives_thisScript", func
tion() { | 13745 (function(lazies) { |
| 13746 var descriptorLength = 4; |
| 13747 for (var i = 0; i < lazies.length; i += descriptorLength) { |
| 13748 var fieldName = lazies[i]; |
| 13749 var getterName = lazies[i + 1]; |
| 13750 var lazyValue = lazies[i + 2]; |
| 13751 var staticName = lazies[i + 3]; |
| 13752 Isolate.$lazy(fieldName, getterName, lazyValue, staticName); |
| 13753 } |
| 13754 })(["IsolateNatives_thisScript", "get$IsolateNatives_thisScript", function() { |
| 13767 return H.IsolateNatives_computeThisScript(); | 13755 return H.IsolateNatives_computeThisScript(); |
| 13768 }, "thisScript"); | 13756 }, "thisScript", "IsolateNatives_workerIds", "get$IsolateNatives_workerIds", fun
ction() { |
| 13769 Isolate.$lazy("IsolateNatives_workerIds", "get$IsolateNatives_workerIds", functi
on() { | |
| 13770 return new P.Expando(null); | 13757 return new P.Expando(null); |
| 13771 }, "workerIds"); | 13758 }, "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() { | 13759 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
({toString: function() { |
| 13774 return "$receiver$"; | 13760 return "$receiver$"; |
| 13775 }})); | 13761 }})); |
| 13776 }, "noSuchMethodPattern"); | 13762 }, "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() { | 13763 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
({$method$: null, toString: function() { |
| 13779 return "$receiver$"; | 13764 return "$receiver$"; |
| 13780 }})); | 13765 }})); |
| 13781 }, "notClosurePattern"); | 13766 }, "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)); | 13767 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
(null)); |
| 13784 }, "nullCallPattern"); | 13768 }, "nullCallPattern", "TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorD
ecoder_nullLiteralCallPattern", function() { |
| 13785 Isolate.$lazy("TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_n
ullLiteralCallPattern", function() { | |
| 13786 return H.TypeErrorDecoder_extractPattern(function() { | 13769 return H.TypeErrorDecoder_extractPattern(function() { |
| 13787 var $argumentsExpr$ = '$arguments$'; | 13770 var $argumentsExpr$ = '$arguments$'; |
| 13788 try { | 13771 try { |
| 13789 null.$method$($argumentsExpr$); | 13772 null.$method$($argumentsExpr$); |
| 13790 } catch (e) { | 13773 } catch (e) { |
| 13791 return e.message; | 13774 return e.message; |
| 13792 } | 13775 } |
| 13793 }()); | 13776 }()); |
| 13794 }, "nullLiteralCallPattern"); | 13777 }, "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)); | 13778 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn
(void 0)); |
| 13797 }, "undefinedCallPattern"); | 13779 }, "undefinedCallPattern", "TypeErrorDecoder_undefinedLiteralCallPattern", "get$
TypeErrorDecoder_undefinedLiteralCallPattern", function() { |
| 13798 Isolate.$lazy("TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDeco
der_undefinedLiteralCallPattern", function() { | |
| 13799 return H.TypeErrorDecoder_extractPattern(function() { | 13780 return H.TypeErrorDecoder_extractPattern(function() { |
| 13800 var $argumentsExpr$ = '$arguments$'; | 13781 var $argumentsExpr$ = '$arguments$'; |
| 13801 try { | 13782 try { |
| 13802 (void 0).$method$($argumentsExpr$); | 13783 (void 0).$method$($argumentsExpr$); |
| 13803 } catch (e) { | 13784 } catch (e) { |
| 13804 return e.message; | 13785 return e.message; |
| 13805 } | 13786 } |
| 13806 }()); | 13787 }()); |
| 13807 }, "undefinedLiteralCallPattern"); | 13788 }, "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)); | 13789 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr
orOn(null)); |
| 13810 }, "nullPropertyPattern"); | 13790 }, "nullPropertyPattern", "TypeErrorDecoder_nullLiteralPropertyPattern", "get$Ty
peErrorDecoder_nullLiteralPropertyPattern", function() { |
| 13811 Isolate.$lazy("TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecod
er_nullLiteralPropertyPattern", function() { | |
| 13812 return H.TypeErrorDecoder_extractPattern(function() { | 13791 return H.TypeErrorDecoder_extractPattern(function() { |
| 13813 try { | 13792 try { |
| 13814 null.$method$; | 13793 null.$method$; |
| 13815 } catch (e) { | 13794 } catch (e) { |
| 13816 return e.message; | 13795 return e.message; |
| 13817 } | 13796 } |
| 13818 }()); | 13797 }()); |
| 13819 }, "nullLiteralPropertyPattern"); | 13798 }, "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)); | 13799 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErr
orOn(void 0)); |
| 13822 }, "undefinedPropertyPattern"); | 13800 }, "undefinedPropertyPattern", "TypeErrorDecoder_undefinedLiteralPropertyPattern
", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() { |
| 13823 Isolate.$lazy("TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeError
Decoder_undefinedLiteralPropertyPattern", function() { | |
| 13824 return H.TypeErrorDecoder_extractPattern(function() { | 13801 return H.TypeErrorDecoder_extractPattern(function() { |
| 13825 try { | 13802 try { |
| 13826 (void 0).$method$; | 13803 (void 0).$method$; |
| 13827 } catch (e) { | 13804 } catch (e) { |
| 13828 return e.message; | 13805 return e.message; |
| 13829 } | 13806 } |
| 13830 }()); | 13807 }()); |
| 13831 }, "undefinedLiteralPropertyPattern"); | 13808 }, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get
$_AsyncRun_scheduleImmediateClosure", function() { |
| 13832 Isolate.$lazy("_AsyncRun_scheduleImmediateClosure", "get$_AsyncRun_scheduleImmed
iateClosure", function() { | |
| 13833 return P._AsyncRun__initializeScheduleImmediate(); | 13809 return P._AsyncRun__initializeScheduleImmediate(); |
| 13834 }, "scheduleImmediateClosure"); | 13810 }, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", f
unction() { |
| 13835 Isolate.$lazy("Future__nullFuture", "get$Future__nullFuture", function() { | |
| 13836 return P._Future$immediate(null, null); | 13811 return P._Future$immediate(null, null); |
| 13837 }, "_nullFuture"); | 13812 }, "_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); | 13813 return P.HashMap_HashMap(null, null, null, null, null); |
| 13840 }, "_rootMap"); | 13814 }, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisi
ting", function() { |
| 13841 Isolate.$lazy("IterableBase__toStringVisiting", "get$IterableBase__toStringVisit
ing", function() { | |
| 13842 return []; | 13815 return []; |
| 13843 }, "_toStringVisiting"); | 13816 }, "_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); | 13817 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true,
false); |
| 13846 }, "_vmFrame"); | 13818 }, "_vmFrame", "_v8Frame", "get$_v8Frame", function() { |
| 13847 Isolate.$lazy("_v8Frame", "get$_v8Frame", function() { | |
| 13848 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(
.*))$", true, false); | 13819 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(
.*))$", true, false); |
| 13849 }, "_v8Frame"); | 13820 }, "_v8Frame", "_v8UrlLocation", "get$_v8UrlLocation", function() { |
| 13850 Isolate.$lazy("_v8UrlLocation", "get$_v8UrlLocation", function() { | |
| 13851 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false); | 13821 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false); |
| 13852 }, "_v8UrlLocation"); | 13822 }, "_v8UrlLocation", "_v8EvalLocation", "get$_v8EvalLocation", function() { |
| 13853 Isolate.$lazy("_v8EvalLocation", "get$_v8EvalLocation", function() { | |
| 13854 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",
true, false); | 13823 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",
true, false); |
| 13855 }, "_v8EvalLocation"); | 13824 }, "_v8EvalLocation", "_firefoxSafariFrame", "get$_firefoxSafariFrame", function
() { |
| 13856 Isolate.$lazy("_firefoxSafariFrame", "get$_firefoxSafariFrame", function() { | |
| 13857 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)
?(.*?):(\\d*)(?::(\\d*))?$", true, false); | 13825 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)
?(.*?):(\\d*)(?::(\\d*))?$", true, false); |
| 13858 }, "_firefoxSafariFrame"); | 13826 }, "_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); | 13827 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru
e, false); |
| 13861 }, "_friendlyFrame"); | 13828 }, "_friendlyFrame", "_asyncBody", "get$_asyncBody", function() { |
| 13862 Isolate.$lazy("_asyncBody", "get$_asyncBody", function() { | |
| 13863 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false
); | 13829 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false
); |
| 13864 }, "_asyncBody"); | 13830 }, "_asyncBody", "_initialDot", "get$_initialDot", function() { |
| 13865 Isolate.$lazy("_initialDot", "get$_initialDot", function() { | |
| 13866 return P.RegExp_RegExp("^\\.", true, false); | 13831 return P.RegExp_RegExp("^\\.", true, false); |
| 13867 }, "_initialDot"); | 13832 }, "_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); | 13833 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); |
| 13870 }, "_uriRegExp"); | 13834 }, "_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); | 13835 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); |
| 13873 }, "_windowsRegExp"); | 13836 }, "_windowsRegExp", "windows", "get$windows", function() { |
| 13874 Isolate.$lazy("windows", "get$windows", function() { | |
| 13875 return F.Context_Context(null, $.get$Style_windows()); | 13837 return F.Context_Context(null, $.get$Style_windows()); |
| 13876 }, "windows"); | 13838 }, "windows", "context", "get$context", function() { |
| 13877 Isolate.$lazy("context", "get$context", function() { | |
| 13878 return new F.Context($.get$Style_platform(), null); | 13839 return new F.Context($.get$Style_platform(), null); |
| 13879 }, "context"); | 13840 }, "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); | 13841 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"); | 13842 }, "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)); | 13843 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"); | 13844 }, "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)); | 13845 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"); | 13846 }, "url", "Style_platform", "get$Style_platform", function() { |
| 13889 Isolate.$lazy("Style_platform", "get$Style_platform", function() { | |
| 13890 return S.Style__getPlatformStyle(); | 13847 return S.Style__getPlatformStyle(); |
| 13891 }, "platform"); | 13848 }, "platform", "_terseRegExp", "get$_terseRegExp", function() { |
| 13892 Isolate.$lazy("_terseRegExp", "get$_terseRegExp", function() { | |
| 13893 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); | 13849 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); |
| 13894 }, "_terseRegExp"); | 13850 }, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() { |
| 13895 Isolate.$lazy("_v8Trace", "get$_v8Trace", function() { | |
| 13896 return P.RegExp_RegExp("\\n ?at ", true, false); | 13851 return P.RegExp_RegExp("\\n ?at ", true, false); |
| 13897 }, "_v8Trace"); | 13852 }, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() { |
| 13898 Isolate.$lazy("_v8TraceLine", "get$_v8TraceLine", function() { | |
| 13899 return P.RegExp_RegExp(" ?at ", true, false); | 13853 return P.RegExp_RegExp(" ?at ", true, false); |
| 13900 }, "_v8TraceLine"); | 13854 }, "_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); | 13855 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true,
true); |
| 13903 }, "_firefoxSafariTrace"); | 13856 }, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() { |
| 13904 Isolate.$lazy("_friendlyTrace", "get$_friendlyTrace", function() { | |
| 13905 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); | 13857 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); |
| 13906 }, "_friendlyTrace"); | 13858 }, "_friendlyTrace"]); |
| 13859 ; |
| 13907 | 13860 |
| 13908 init.metadata = [, | 13861 { |
| 13909 ]; | 13862 init.metadata = [null]; |
| 13910 init.types = [{func: ""}, | 13863 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}, | 13864 } |
| 13912 {func: "", args: [,]}, | 13865 |
| 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; | 13866 $ = null; |
| 13985 Isolate = Isolate.$finishIsolateConstructor(Isolate); | 13867 Isolate = Isolate.$finishIsolateConstructor(Isolate); |
| 13986 $ = new Isolate(); | 13868 $ = new Isolate(); |
| 13987 function convertToFastObject(properties) { | 13869 function convertToFastObject(properties) { |
| 13988 function MyClass() { | 13870 function MyClass() { |
| 13989 } | 13871 } |
| 13990 MyClass.prototype = properties; | 13872 MyClass.prototype = properties; |
| 13991 new MyClass(); | 13873 new MyClass(); |
| 13992 return properties; | 13874 return properties; |
| 13993 } | 13875 } |
| 13994 ; | 13876 ; |
| 13995 function convertToSlowObject(properties) { | 13877 function convertToSlowObject(properties) { |
| 13996 properties.__MAGIC_SLOW_PROPERTY = 1; | 13878 properties.__MAGIC_SLOW_PROPERTY = 1; |
| 13997 delete properties.__MAGIC_SLOW_PROPERTY; | 13879 delete properties.__MAGIC_SLOW_PROPERTY; |
| 13998 return properties; | 13880 return properties; |
| 13999 } | 13881 } |
| 14000 ; | 13882 ; |
| 14001 function markerFun() { | |
| 14002 } | |
| 14003 ; | |
| 14004 A = convertToFastObject(A); | 13883 A = convertToFastObject(A); |
| 14005 B = convertToFastObject(B); | 13884 B = convertToFastObject(B); |
| 14006 C = convertToFastObject(C); | 13885 C = convertToFastObject(C); |
| 14007 D = convertToFastObject(D); | 13886 D = convertToFastObject(D); |
| 14008 E = convertToFastObject(E); | 13887 E = convertToFastObject(E); |
| 14009 F = convertToFastObject(F); | 13888 F = convertToFastObject(F); |
| 14010 G = convertToFastObject(G); | 13889 G = convertToFastObject(G); |
| 14011 H = convertToFastObject(H); | 13890 H = convertToFastObject(H); |
| 14012 J = convertToFastObject(J); | 13891 J = convertToFastObject(J); |
| 14013 K = convertToFastObject(K); | 13892 K = convertToFastObject(K); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14142 else | 14021 else |
| 14143 (function(a) { | 14022 (function(a) { |
| 14144 H.startRootIsolate(R.main$closure(), a); | 14023 H.startRootIsolate(R.main$closure(), a); |
| 14145 })([]); | 14024 })([]); |
| 14146 }); | 14025 }); |
| 14147 ; | 14026 ; |
| 14148 // END invoke [main]. | 14027 // END invoke [main]. |
| 14149 })() | 14028 })() |
| 14150 | 14029 |
| 14151 //# sourceMappingURL=host.dart.js.map | 14030 //# sourceMappingURL=host.dart.js.map |
| OLD | NEW |