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

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

Issue 1080193002: Add content shell support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/runner/browser/static/host.dart ('k') | lib/src/runner/browser/static/host.dart.js.map » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.45 075. 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].
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 f.$getterStub = true; 440 f.$getterStub = true;
441 if (isStatic) { 441 if (isStatic) {
442 init.globalFunctions[name] = f; 442 init.globalFunctions[name] = f;
443 functions.push(getterStubName); 443 functions.push(getterStubName);
444 } 444 }
445 prototype[getterStubName] = f; 445 prototype[getterStubName] = f;
446 funcs.push(f); 446 funcs.push(f);
447 f.$stubName = getterStubName; 447 f.$stubName = getterStubName;
448 f.$callName = null; 448 f.$callName = null;
449 } 449 }
450 var isReflectable = array.length > unmangledNameIndex;
451 if (isReflectable) {
452 funcs[0].$reflectable = 1;
453 funcs[0].$reflectionInfo = array;
454 for (var i = 1; i < funcs.length; i++) {
455 funcs[i].$reflectable = 2;
456 funcs[i].$reflectionInfo = array;
457 }
458 var mangledNames = isStatic ? init.mangledGlobalNames : init.mangledNames;
459 var unmangledName = array[unmangledNameIndex];
460 var reflectionName = unmangledName;
461 if (getterStubName)
462 mangledNames[getterStubName] = reflectionName;
463 if (isSetter)
464 reflectionName += "=";
465 else if (!isGetter)
466 reflectionName += ":" + (requiredParameterCount + optionalParameterCount );
467 mangledNames[name] = reflectionName;
468 funcs[0].$reflectionName = reflectionName;
469 funcs[0].$metadataIndex = unmangledNameIndex + 1;
470 if (optionalParameterCount)
471 prototype[unmangledName + "*"] = funcs[0];
472 }
450 } 473 }
451 function tearOffGetter(funcs, reflectionInfo, name, isIntercepted) { 474 function tearOffGetter(funcs, reflectionInfo, name, isIntercepted) {
452 return isIntercepted ? new Function("funcs", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(x) {" + "if (c == = null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [x], n ame);" + "return new c(this, funcs[0], x, name);" + "}")(funcs, reflectionInfo, name, H, null) : new Function("funcs", "reflectionInfo", "name", "H", "c", "retu rn function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [], name);" + "re turn new c(this, funcs[0], null, name);" + "}")(funcs, reflectionInfo, name, H, null); 475 return isIntercepted ? new Function("funcs", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(x) {" + "if (c == = null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [x], n ame);" + "return new c(this, funcs[0], x, name);" + "}")(funcs, reflectionInfo, name, H, null) : new Function("funcs", "reflectionInfo", "name", "H", "c", "retu rn function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [], name);" + "re turn new c(this, funcs[0], null, name);" + "}")(funcs, reflectionInfo, name, H, null);
453 } 476 }
454 function tearOff(funcs, reflectionInfo, isStatic, name, isIntercepted) { 477 function tearOff(funcs, reflectionInfo, isStatic, name, isIntercepted) {
455 var cache; 478 var cache;
456 return isStatic ? function() { 479 return isStatic ? function() {
457 if (cache === void 0) 480 if (cache === void 0)
458 cache = H.closureFromTearOff(this, funcs, reflectionInfo, true, [], name ).prototype; 481 cache = H.closureFromTearOff(this, funcs, reflectionInfo, true, [], name ).prototype;
459 return cache; 482 return cache;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 "^": "Object;", 572 "^": "Object;",
550 $eq: function(receiver, other) { 573 $eq: function(receiver, other) {
551 return receiver === other; 574 return receiver === other;
552 }, 575 },
553 get$hashCode: function(receiver) { 576 get$hashCode: function(receiver) {
554 return H.Primitives_objectHashCode(receiver); 577 return H.Primitives_objectHashCode(receiver);
555 }, 578 },
556 toString$0: ["super$Interceptor$toString$0", function(receiver) { 579 toString$0: ["super$Interceptor$toString$0", function(receiver) {
557 return H.Primitives_objectToString(receiver); 580 return H.Primitives_objectToString(receiver);
558 }], 581 }],
582 noSuchMethod$1: ["super$Interceptor$noSuchMethod$1", function(receiver, invo cation) {
583 throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$member Name(), invocation.get$positionalArguments(), invocation.get$namedArguments(), n ull));
584 }],
559 "%": "MediaError|MediaKeyError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAn imatedNumber|SVGAnimatedNumberList|SVGAnimatedString" 585 "%": "MediaError|MediaKeyError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAn imatedNumber|SVGAnimatedNumberList|SVGAnimatedString"
560 }, 586 },
561 JSBool: { 587 JSBool: {
562 "^": "Interceptor;", 588 "^": "Interceptor;",
563 toString$0: function(receiver) { 589 toString$0: function(receiver) {
564 return String(receiver); 590 return String(receiver);
565 }, 591 },
566 get$hashCode: function(receiver) { 592 get$hashCode: function(receiver) {
567 return receiver ? 519018 : 218159; 593 return receiver ? 519018 : 218159;
568 }, 594 },
569 $isbool: 1 595 $isbool: 1
570 }, 596 },
571 JSNull: { 597 JSNull: {
572 "^": "Interceptor;", 598 "^": "Interceptor;",
573 $eq: function(receiver, other) { 599 $eq: function(receiver, other) {
574 return null == other; 600 return null == other;
575 }, 601 },
576 toString$0: function(receiver) { 602 toString$0: function(receiver) {
577 return "null"; 603 return "null";
578 }, 604 },
579 get$hashCode: function(receiver) { 605 get$hashCode: function(receiver) {
580 return 0; 606 return 0;
607 },
608 noSuchMethod$1: function(receiver, invocation) {
609 return this.super$Interceptor$noSuchMethod$1(receiver, invocation);
581 } 610 }
582 }, 611 },
583 JavaScriptObject: { 612 JavaScriptObject: {
584 "^": "Interceptor;", 613 "^": "Interceptor;",
585 get$hashCode: function(_) { 614 get$hashCode: function(_) {
586 return 0; 615 return 0;
587 }, 616 },
588 $isJSObject: 1 617 $isJSObject: 1
589 }, 618 },
590 PlainJavaScriptObject: { 619 PlainJavaScriptObject: {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 this.checkGrowable$1(receiver, "remove"); 673 this.checkGrowable$1(receiver, "remove");
645 for (i = 0; i < receiver.length; ++i) 674 for (i = 0; i < receiver.length; ++i)
646 if (J.$eq(receiver[i], element)) { 675 if (J.$eq(receiver[i], element)) {
647 receiver.splice(i, 1); 676 receiver.splice(i, 1);
648 return true; 677 return true;
649 } 678 }
650 return false; 679 return false;
651 }, 680 },
652 addAll$1: function(receiver, collection) { 681 addAll$1: function(receiver, collection) {
653 var t1; 682 var t1;
654 for (t1 = new J.ArrayIterator(collection, 2, 0, null); t1.moveNext$0();) 683 for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
655 this.add$1(receiver, t1.__interceptors$_current); 684 this.add$1(receiver, t1.get$current());
656 }, 685 },
657 forEach$1: function(receiver, f) { 686 forEach$1: function(receiver, f) {
658 var end, i; 687 var end, i;
659 end = receiver.length; 688 end = receiver.length;
660 for (i = 0; i < end; ++i) { 689 for (i = 0; i < end; ++i) {
661 f.call$1(receiver[i]); 690 f.call$1(receiver[i]);
662 if (receiver.length !== end) 691 if (receiver.length !== end)
663 throw H.wrapException(P.ConcurrentModificationError$(receiver)); 692 throw H.wrapException(P.ConcurrentModificationError$(receiver));
664 } 693 }
665 }, 694 },
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 for (i = 0; i < $length; ++i) { 771 for (i = 0; i < $length; ++i) {
743 t1 = skipCount + i; 772 t1 = skipCount + i;
744 if (t1 < 0 || t1 >= iterable.length) 773 if (t1 < 0 || t1 >= iterable.length)
745 return H.ioore(iterable, t1); 774 return H.ioore(iterable, t1);
746 receiver[start + i] = iterable[t1]; 775 receiver[start + i] = iterable[t1];
747 } 776 }
748 }, 777 },
749 setRange$3: function($receiver, start, end, iterable) { 778 setRange$3: function($receiver, start, end, iterable) {
750 return this.setRange$4($receiver, start, end, iterable, 0); 779 return this.setRange$4($receiver, start, end, iterable, 0);
751 }, 780 },
781 replaceRange$3: function(receiver, start, end, replacement) {
782 var removeLength, insertLength, insertEnd, t1, newLength;
783 this.checkGrowable$1(receiver, "replace range");
784 P.RangeError_checkValidRange(start, end, receiver.length, null, null, null );
785 replacement = C.JSString_methods.toList$0(replacement);
786 removeLength = end - start;
787 insertLength = replacement.length;
788 insertEnd = start + insertLength;
789 t1 = receiver.length;
790 if (removeLength >= insertLength) {
791 newLength = t1 - (removeLength - insertLength);
792 this.setRange$3(receiver, start, insertEnd, replacement);
793 this.setRange$4(receiver, insertEnd, newLength, receiver, end);
794 this.set$length(receiver, newLength);
795 } else {
796 newLength = t1 + (insertLength - removeLength);
797 this.set$length(receiver, newLength);
798 this.setRange$4(receiver, insertEnd, newLength, receiver, end);
799 this.setRange$3(receiver, start, insertEnd, replacement);
800 }
801 },
752 indexOf$2: function(receiver, element, start) { 802 indexOf$2: function(receiver, element, start) {
753 var i; 803 var t1, i;
754 if (start >= receiver.length) 804 t1 = J.getInterceptor$n(start);
805 if (t1.$ge(start, receiver.length))
755 return -1; 806 return -1;
756 for (i = start; i < receiver.length; ++i) 807 if (t1.$lt(start, 0))
808 start = 0;
809 for (i = start; J.$lt$n(i, receiver.length); ++i) {
810 if (i >>> 0 !== i || i >= receiver.length)
811 return H.ioore(receiver, i);
757 if (J.$eq(receiver[i], element)) 812 if (J.$eq(receiver[i], element))
758 return i; 813 return i;
814 }
759 return -1; 815 return -1;
760 }, 816 },
761 indexOf$1: function($receiver, element) { 817 indexOf$1: function($receiver, element) {
762 return this.indexOf$2($receiver, element, 0); 818 return this.indexOf$2($receiver, element, 0);
763 }, 819 },
764 contains$1: function(receiver, other) { 820 contains$1: function(receiver, other) {
765 var i; 821 var i;
766 for (i = 0; i < receiver.length; ++i) 822 for (i = 0; i < receiver.length; ++i)
767 if (J.$eq(receiver[i], other)) 823 if (J.$eq(receiver[i], other))
768 return true; 824 return true;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 static: {JSArray_JSArray$fixed: function($length, $E) { 885 static: {JSArray_JSArray$fixed: function($length, $E) {
830 var t1; 886 var t1;
831 if (typeof $length !== "number" || Math.floor($length) !== $length || $l ength < 0) 887 if (typeof $length !== "number" || Math.floor($length) !== $length || $l ength < 0)
832 throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + H.S($length))); 888 throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + H.S($length)));
833 t1 = H.setRuntimeTypeInfo(new Array($length), [$E]); 889 t1 = H.setRuntimeTypeInfo(new Array($length), [$E]);
834 t1.fixed$length = Array; 890 t1.fixed$length = Array;
835 return t1; 891 return t1;
836 }} 892 }}
837 }, 893 },
838 ArrayIterator: { 894 ArrayIterator: {
839 "^": "Object;_iterable,__interceptors$_length,_index,__interceptors$_current ", 895 "^": "Object;__interceptors$_iterable,__interceptors$_length,__interceptors$ _index,__interceptors$_current",
840 get$current: function() { 896 get$current: function() {
841 return this.__interceptors$_current; 897 return this.__interceptors$_current;
842 }, 898 },
843 moveNext$0: function() { 899 moveNext$0: function() {
844 var t1, $length, t2; 900 var t1, $length, t2;
845 t1 = this._iterable; 901 t1 = this.__interceptors$_iterable;
846 $length = t1.length; 902 $length = t1.length;
847 if (this.__interceptors$_length !== $length) 903 if (this.__interceptors$_length !== $length)
848 throw H.wrapException(P.ConcurrentModificationError$(t1)); 904 throw H.wrapException(P.ConcurrentModificationError$(t1));
849 t2 = this._index; 905 t2 = this.__interceptors$_index;
850 if (t2 >= $length) { 906 if (t2 >= $length) {
851 this.__interceptors$_current = null; 907 this.__interceptors$_current = null;
852 return false; 908 return false;
853 } 909 }
854 this.__interceptors$_current = t1[t2]; 910 this.__interceptors$_current = t1[t2];
855 this._index = t2 + 1; 911 this.__interceptors$_index = t2 + 1;
856 return true; 912 return true;
857 } 913 }
858 }, 914 },
859 JSNumber: { 915 JSNumber: {
860 "^": "Interceptor;", 916 "^": "Interceptor;",
917 get$isNegative: function(receiver) {
918 return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
919 },
861 get$isNaN: function(receiver) { 920 get$isNaN: function(receiver) {
862 return isNaN(receiver); 921 return isNaN(receiver);
863 }, 922 },
864 get$isFinite: function(receiver) { 923 get$isFinite: function(receiver) {
865 return isFinite(receiver); 924 return isFinite(receiver);
866 }, 925 },
867 remainder$1: function(receiver, b) { 926 remainder$1: function(receiver, b) {
868 return receiver % b; 927 return receiver % b;
869 }, 928 },
870 toInt$0: function(receiver) { 929 toInt$0: function(receiver) {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 if (typeof other !== "number") 985 if (typeof other !== "number")
927 throw H.wrapException(P.ArgumentError$(other)); 986 throw H.wrapException(P.ArgumentError$(other));
928 return receiver - other; 987 return receiver - other;
929 }, 988 },
930 $mul: function(receiver, other) { 989 $mul: function(receiver, other) {
931 return receiver * other; 990 return receiver * other;
932 }, 991 },
933 _tdivFast$1: function(receiver, other) { 992 _tdivFast$1: function(receiver, other) {
934 return (receiver | 0) === receiver ? receiver / other | 0 : this.toInt$0(r eceiver / other); 993 return (receiver | 0) === receiver ? receiver / other | 0 : this.toInt$0(r eceiver / other);
935 }, 994 },
995 $shl: function(receiver, other) {
996 if (other < 0)
997 throw H.wrapException(P.ArgumentError$(other));
998 return other > 31 ? 0 : receiver << other >>> 0;
999 },
936 _shlPositive$1: function(receiver, other) { 1000 _shlPositive$1: function(receiver, other) {
937 return other > 31 ? 0 : receiver << other >>> 0; 1001 return other > 31 ? 0 : receiver << other >>> 0;
938 }, 1002 },
1003 $shr: function(receiver, other) {
1004 var t1;
1005 if (other < 0)
1006 throw H.wrapException(P.ArgumentError$(other));
1007 if (receiver > 0)
1008 t1 = other > 31 ? 0 : receiver >>> other;
1009 else {
1010 t1 = other > 31 ? 31 : other;
1011 t1 = receiver >> t1 >>> 0;
1012 }
1013 return t1;
1014 },
939 _shrOtherPositive$1: function(receiver, other) { 1015 _shrOtherPositive$1: function(receiver, other) {
940 var t1; 1016 var t1;
941 if (receiver > 0) 1017 if (receiver > 0)
942 t1 = other > 31 ? 0 : receiver >>> other; 1018 t1 = other > 31 ? 0 : receiver >>> other;
943 else { 1019 else {
944 t1 = other > 31 ? 31 : other; 1020 t1 = other > 31 ? 31 : other;
945 t1 = receiver >> t1 >>> 0; 1021 t1 = receiver >> t1 >>> 0;
946 } 1022 }
947 return t1; 1023 return t1;
948 }, 1024 },
949 _shrReceiverPositive$1: function(receiver, other) { 1025 _shrReceiverPositive$1: function(receiver, other) {
950 if (other < 0) 1026 if (other < 0)
951 throw H.wrapException(P.ArgumentError$(other)); 1027 throw H.wrapException(P.ArgumentError$(other));
952 return other > 31 ? 0 : receiver >>> other; 1028 return other > 31 ? 0 : receiver >>> other;
953 }, 1029 },
1030 $and: function(receiver, other) {
1031 return (receiver & other) >>> 0;
1032 },
954 $lt: function(receiver, other) { 1033 $lt: function(receiver, other) {
955 if (typeof other !== "number") 1034 if (typeof other !== "number")
956 throw H.wrapException(P.ArgumentError$(other)); 1035 throw H.wrapException(P.ArgumentError$(other));
957 return receiver < other; 1036 return receiver < other;
958 }, 1037 },
959 $gt: function(receiver, other) { 1038 $gt: function(receiver, other) {
960 if (typeof other !== "number") 1039 if (typeof other !== "number")
961 throw H.wrapException(P.ArgumentError$(other)); 1040 throw H.wrapException(P.ArgumentError$(other));
962 return receiver > other; 1041 return receiver > other;
963 }, 1042 },
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 return H.iae(t1); 1078 return H.iae(t1);
1000 t1 = start > t1; 1079 t1 = start > t1;
1001 if (t1) 1080 if (t1)
1002 throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(stri ng), null, null)); 1081 throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(stri ng), null, null));
1003 return H.allMatchesInStringUnchecked(receiver, string, start); 1082 return H.allMatchesInStringUnchecked(receiver, string, start);
1004 }, 1083 },
1005 allMatches$1: function($receiver, string) { 1084 allMatches$1: function($receiver, string) {
1006 return this.allMatches$2($receiver, string, 0); 1085 return this.allMatches$2($receiver, string, 0);
1007 }, 1086 },
1008 matchAsPrefix$2: function(receiver, string, start) { 1087 matchAsPrefix$2: function(receiver, string, start) {
1009 var t1, i; 1088 var t1, t2, i;
1010 if (start < 0 || start > string.length) 1089 t1 = J.getInterceptor$n(start);
1090 if (t1.$lt(start, 0) || t1.$gt(start, string.length))
1011 throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); 1091 throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null));
1012 t1 = receiver.length; 1092 t2 = receiver.length;
1013 if (start + t1 > string.length) 1093 if (J.$gt$n(t1.$add(start, t2), string.length))
1014 return; 1094 return;
1015 for (i = 0; i < t1; ++i) 1095 for (i = 0; i < t2; ++i)
1016 if (this.codeUnitAt$1(string, start + i) !== this.codeUnitAt$1(receiver, i)) 1096 if (this.codeUnitAt$1(string, t1.$add(start, i)) !== this.codeUnitAt$1(r eceiver, i))
1017 return; 1097 return;
1018 return new H.StringMatch(start, string, receiver); 1098 return new H.StringMatch(start, string, receiver);
1019 }, 1099 },
1020 $add: function(receiver, other) { 1100 $add: function(receiver, other) {
1021 if (typeof other !== "string") 1101 if (typeof other !== "string")
1022 throw H.wrapException(P.ArgumentError$(other)); 1102 throw H.wrapException(P.ArgumentError$(other));
1023 return receiver + other; 1103 return receiver + other;
1024 }, 1104 },
1025 endsWith$1: function(receiver, other) { 1105 endsWith$1: function(receiver, other) {
1026 var otherLength, t1; 1106 var otherLength, t1;
(...skipping 21 matching lines...) Expand all
1048 return receiver.split(pattern); 1128 return receiver.split(pattern);
1049 }, 1129 },
1050 replaceRange$3: function(receiver, start, end, replacement) { 1130 replaceRange$3: function(receiver, start, end, replacement) {
1051 H.checkString(replacement); 1131 H.checkString(replacement);
1052 H.checkInt(start); 1132 H.checkInt(start);
1053 end = P.RangeError_checkValidRange(start, end, receiver.length, null, null , null); 1133 end = P.RangeError_checkValidRange(start, end, receiver.length, null, null , null);
1054 H.checkInt(end); 1134 H.checkInt(end);
1055 return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); 1135 return H.stringReplaceRangeUnchecked(receiver, start, end, replacement);
1056 }, 1136 },
1057 startsWith$2: function(receiver, pattern, index) { 1137 startsWith$2: function(receiver, pattern, index) {
1058 var endIndex; 1138 var t1, endIndex;
1059 H.checkInt(index); 1139 H.checkInt(index);
1060 if (index < 0 || index > receiver.length) 1140 t1 = J.getInterceptor$n(index);
1141 if (t1.$lt(index, 0) || t1.$gt(index, receiver.length))
1061 throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null , null)); 1142 throw H.wrapException(P.RangeError$range(index, 0, receiver.length, null , null));
1062 if (typeof pattern === "string") { 1143 if (typeof pattern === "string") {
1063 endIndex = index + pattern.length; 1144 endIndex = t1.$add(index, pattern.length);
1064 if (endIndex > receiver.length) 1145 if (J.$gt$n(endIndex, receiver.length))
1065 return false; 1146 return false;
1066 return pattern === receiver.substring(index, endIndex); 1147 return pattern === receiver.substring(index, endIndex);
1067 } 1148 }
1068 return J.matchAsPrefix$2$s(pattern, receiver, index) != null; 1149 return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
1069 }, 1150 },
1070 startsWith$1: function($receiver, pattern) { 1151 startsWith$1: function($receiver, pattern) {
1071 return this.startsWith$2($receiver, pattern, 0); 1152 return this.startsWith$2($receiver, pattern, 0);
1072 }, 1153 },
1073 substring$2: function(receiver, startIndex, endIndex) { 1154 substring$2: function(receiver, startIndex, endIndex) {
1074 var t1; 1155 var t1;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 throw H.wrapException(P.UnsupportedError$("No stack trace")); 1430 throw H.wrapException(P.UnsupportedError$("No stack trace"));
1350 } 1431 }
1351 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m" )); 1432 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m" ));
1352 if (matches != null) 1433 if (matches != null)
1353 return matches[1]; 1434 return matches[1];
1354 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m")); 1435 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m"));
1355 if (matches != null) 1436 if (matches != null)
1356 return matches[1]; 1437 return matches[1];
1357 throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + H.S (stack) + "\"")); 1438 throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + H.S (stack) + "\""));
1358 }, 1439 },
1359 IsolateNatives__processWorkerMessage: function(sender, e) { 1440 IsolateNatives__processWorkerMessage: [function(sender, e) {
1360 var msg, t1, functionName, entryPoint, args, message, isSpawnUri, startPause d, replyTo, t2, t3, t4, context; 1441 var msg, t1, functionName, entryPoint, args, message, isSpawnUri, startPause d, replyTo, t2, t3, t4, context;
1361 msg = new H._Deserializer(true, []).deserialize$1(e.data); 1442 msg = new H._Deserializer(true, []).deserialize$1(e.data);
1362 t1 = J.getInterceptor$asx(msg); 1443 t1 = J.getInterceptor$asx(msg);
1363 switch (t1.$index(msg, "command")) { 1444 switch (t1.$index(msg, "command")) {
1364 case "start": 1445 case "start":
1365 init.globalState.currentManagerId = t1.$index(msg, "id"); 1446 init.globalState.currentManagerId = t1.$index(msg, "id");
1366 functionName = t1.$index(msg, "functionName"); 1447 functionName = t1.$index(msg, "functionName");
1367 entryPoint = functionName == null ? init.globalState.entry : H.IsolateNa tives__getJSFunctionFromName(functionName); 1448 entryPoint = functionName == null ? init.globalState.entry : H.IsolateNa tives__getJSFunctionFromName(functionName);
1368 args = t1.$index(msg, "args"); 1449 args = t1.$index(msg, "args");
1369 message = new H._Deserializer(true, []).deserialize$1(t1.$index(msg, "ms g")); 1450 message = new H._Deserializer(true, []).deserialize$1(t1.$index(msg, "ms g"));
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "msg" , msg], null, null); 1483 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "msg" , msg], null, null);
1403 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu ll, P.$int)).serialize$1(t2); 1484 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu ll, P.$int)).serialize$1(t2);
1404 t1.toString; 1485 t1.toString;
1405 self.postMessage(t2); 1486 self.postMessage(t2);
1406 } else 1487 } else
1407 P.print(t1.$index(msg, "msg")); 1488 P.print(t1.$index(msg, "msg"));
1408 break; 1489 break;
1409 case "error": 1490 case "error":
1410 throw H.wrapException(t1.$index(msg, "msg")); 1491 throw H.wrapException(t1.$index(msg, "msg"));
1411 } 1492 }
1412 }, 1493 }, null, null, 4, 0, null, 1, 2],
1413 IsolateNatives__log: function(msg) { 1494 IsolateNatives__log: function(msg) {
1414 var trace, t1, t2, exception; 1495 var trace, t1, t2, exception;
1415 if (init.globalState.isWorker === true) { 1496 if (init.globalState.isWorker === true) {
1416 t1 = init.globalState.mainManager; 1497 t1 = init.globalState.mainManager;
1417 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "log", "msg", msg] , null, null); 1498 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "log", "msg", msg] , null, null);
1418 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(null, P.$int)).serialize$1(t2); 1499 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(null, P.$int)).serialize$1(t2);
1419 t1.toString; 1500 t1.toString;
1420 self.postMessage(t2); 1501 self.postMessage(t2);
1421 } else 1502 } else
1422 try { 1503 try {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1485 }(H.IsolateNatives__processWorkerMessage, this.mainManager); 1566 }(H.IsolateNatives__processWorkerMessage, this.mainManager);
1486 self.dartPrint = self.dartPrint || function(serialize) { 1567 self.dartPrint = self.dartPrint || function(serialize) {
1487 return function(object) { 1568 return function(object) {
1488 if (self.console && self.console.log) 1569 if (self.console && self.console.log)
1489 self.console.log(object); 1570 self.console.log(object);
1490 else 1571 else
1491 self.postMessage(serialize(object)); 1572 self.postMessage(serialize(object));
1492 }; 1573 };
1493 }(H._Manager__serializePrintMessage); 1574 }(H._Manager__serializePrintMessage);
1494 }, 1575 },
1495 static: {_Manager__serializePrintMessage: function(object) { 1576 static: {_Manager__serializePrintMessage: [function(object) {
1496 var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "ms g", object], null, null); 1577 var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "ms g", object], null, null);
1497 return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu ll, P.$int)).serialize$1(t1); 1578 return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu ll, P.$int)).serialize$1(t1);
1498 }} 1579 }, null, null, 2, 0, null, 0]}
1499 }, 1580 },
1500 _IsolateContext: { 1581 _IsolateContext: {
1501 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability ,terminateCapability,initialized,isPaused,delayedEvents,pauseTokens,doneHandlers ,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", 1582 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability ,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHandl ers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts",
1502 addPause$2: function(authentification, resume) { 1583 addPause$2: function(authentification, resume) {
1503 if (!this.pauseCapability.$eq(0, authentification)) 1584 if (!this.pauseCapability.$eq(0, authentification))
1504 return; 1585 return;
1505 if (this.pauseTokens.add$1(0, resume) && !this.isPaused) 1586 if (this.pauseTokens.add$1(0, resume) && !this.isPaused)
1506 this.isPaused = true; 1587 this.isPaused = true;
1507 this._updateGlobalState$0(); 1588 this._updateGlobalState$0();
1508 }, 1589 },
1509 removePause$1: function(resume) { 1590 removePause$1: function(resume) {
1510 var t1, t2, $event, t3, t4, t5; 1591 var t1, t2, $event, t3, t4, t5;
1511 if (!this.isPaused) 1592 if (!this.isPaused)
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 t1.events._add$1(new H._IsolateEvent(this, t2, "kill")); 1678 t1.events._add$1(new H._IsolateEvent(this, t2, "kill"));
1598 return; 1679 return;
1599 } 1680 }
1600 t1 = this._scheduledControlEvents; 1681 t1 = this._scheduledControlEvents;
1601 if (t1 == null) { 1682 if (t1 == null) {
1602 t1 = P.ListQueue$(null, null); 1683 t1 = P.ListQueue$(null, null);
1603 this._scheduledControlEvents = t1; 1684 this._scheduledControlEvents = t1;
1604 } 1685 }
1605 t1._add$1(this.get$kill()); 1686 t1._add$1(this.get$kill());
1606 }, 1687 },
1607 handleUncaughtError$2: function(error, stackTrace) { 1688 handleUncaughtError$2: [function(error, stackTrace) {
1608 var t1, message, t2; 1689 var t1, message, t2;
1609 t1 = this.errorPorts; 1690 t1 = this.errorPorts;
1610 if (t1._collection$_length === 0) { 1691 if (t1._collection$_length === 0) {
1611 if (this.errorsAreFatal === true && this === init.globalState.rootContex t) 1692 if (this.errorsAreFatal === true && this === init.globalState.rootContex t)
1612 return; 1693 return;
1613 if (self.console && self.console.error) 1694 if (self.console && self.console.error)
1614 self.console.error(error, stackTrace); 1695 self.console.error(error, stackTrace);
1615 else { 1696 else {
1616 P.print(error); 1697 P.print(error);
1617 if (stackTrace != null) 1698 if (stackTrace != null)
1618 P.print(stackTrace); 1699 P.print(stackTrace);
1619 } 1700 }
1620 return; 1701 return;
1621 } 1702 }
1622 message = Array(2); 1703 message = Array(2);
1623 message.fixed$length = Array; 1704 message.fixed$length = Array;
1624 message[0] = J.toString$0(error); 1705 message[0] = J.toString$0(error);
1625 message[1] = stackTrace == null ? null : J.toString$0(stackTrace); 1706 message[1] = stackTrace == null ? null : J.toString$0(stackTrace);
1626 for (t2 = new P.LinkedHashSetIterator(t1, t1._collection$_modifications, n ull, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();) 1707 for (t2 = new P.LinkedHashSetIterator(t1, t1._collection$_modifications, n ull, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();)
1627 J.send$1$x(t2._collection$_current, message); 1708 J.send$1$x(t2._collection$_current, message);
1628 }, 1709 }, "call$2", "get$handleUncaughtError", 4, 0, 1],
1629 eval$1: function(code) { 1710 eval$1: function(code) {
1630 var old, result, oldIsExecutingEvent, e, s, exception, t1; 1711 var old, result, oldIsExecutingEvent, e, s, exception, t1;
1631 old = init.globalState.currentContext; 1712 old = init.globalState.currentContext;
1632 init.globalState.currentContext = this; 1713 init.globalState.currentContext = this;
1633 $ = this.isolateStatics; 1714 $ = this.isolateStatics;
1634 result = null; 1715 result = null;
1635 oldIsExecutingEvent = this._isExecutingEvent; 1716 oldIsExecutingEvent = this._isExecutingEvent;
1636 this._isExecutingEvent = true; 1717 this._isExecutingEvent = true;
1637 try { 1718 try {
1638 result = code.call$0(); 1719 result = code.call$0();
(...skipping 11 matching lines...) Expand all
1650 this._isExecutingEvent = oldIsExecutingEvent; 1731 this._isExecutingEvent = oldIsExecutingEvent;
1651 init.globalState.currentContext = old; 1732 init.globalState.currentContext = old;
1652 if (old != null) 1733 if (old != null)
1653 $ = old.get$isolateStatics(); 1734 $ = old.get$isolateStatics();
1654 if (this._scheduledControlEvents != null) 1735 if (this._scheduledControlEvents != null)
1655 for (; t1 = this._scheduledControlEvents, !t1.get$isEmpty(t1);) 1736 for (; t1 = this._scheduledControlEvents, !t1.get$isEmpty(t1);)
1656 this._scheduledControlEvents.removeFirst$0().call$0(); 1737 this._scheduledControlEvents.removeFirst$0().call$0();
1657 } 1738 }
1658 return result; 1739 return result;
1659 }, 1740 },
1741 handleControlMessage$1: function(message) {
1742 var t1 = J.getInterceptor$asx(message);
1743 switch (t1.$index(message, 0)) {
1744 case "pause":
1745 this.addPause$2(t1.$index(message, 1), t1.$index(message, 2));
1746 break;
1747 case "resume":
1748 this.removePause$1(t1.$index(message, 1));
1749 break;
1750 case "add-ondone":
1751 this.addDoneListener$1(t1.$index(message, 1));
1752 break;
1753 case "remove-ondone":
1754 this.removeDoneListener$1(t1.$index(message, 1));
1755 break;
1756 case "set-errors-fatal":
1757 this.setErrorsFatal$2(t1.$index(message, 1), t1.$index(message, 2));
1758 break;
1759 case "ping":
1760 this.handlePing$2(t1.$index(message, 1), t1.$index(message, 2));
1761 break;
1762 case "kill":
1763 this.handleKill$2(t1.$index(message, 1), t1.$index(message, 2));
1764 break;
1765 case "getErrors":
1766 this.errorPorts.add$1(0, t1.$index(message, 1));
1767 break;
1768 case "stopErrors":
1769 this.errorPorts.remove$1(0, t1.$index(message, 1));
1770 break;
1771 }
1772 },
1660 lookup$1: function(portId) { 1773 lookup$1: function(portId) {
1661 return this.ports.$index(0, portId); 1774 return this.ports.$index(0, portId);
1662 }, 1775 },
1663 _addRegistration$2: function(portId, port) { 1776 _addRegistration$2: function(portId, port) {
1664 var t1 = this.ports; 1777 var t1 = this.ports;
1665 if (t1.containsKey$1(portId)) 1778 if (t1.containsKey$1(portId))
1666 throw H.wrapException(P.Exception_Exception("Registry: ports must be reg istered only once.")); 1779 throw H.wrapException(P.Exception_Exception("Registry: ports must be reg istered only once."));
1667 t1.$indexSet(0, portId, port); 1780 t1.$indexSet(0, portId, port);
1668 }, 1781 },
1669 _updateGlobalState$0: function() { 1782 _updateGlobalState$0: function() {
1670 if (this.ports.__js_helper$_length - this.weakPorts._collection$_length > 0 || this.isPaused || !this.initialized) 1783 if (this.ports.__js_helper$_length - this.weakPorts._collection$_length > 0 || this.isPaused || !this.initialized)
1671 init.globalState.isolates.$indexSet(0, this.id, this); 1784 init.globalState.isolates.$indexSet(0, this.id, this);
1672 else 1785 else
1673 this.kill$0(); 1786 this.kill$0();
1674 }, 1787 },
1675 kill$0: [function() { 1788 kill$0: [function() {
1676 var t1, t2; 1789 var t1, t2;
1677 t1 = this._scheduledControlEvents; 1790 t1 = this._scheduledControlEvents;
1678 if (t1 != null) 1791 if (t1 != null)
1679 t1.clear$0(0); 1792 t1.clear$0(0);
1680 for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(ne w H.MappedIterator(null, J.get$iterator$ax(t2.__internal$_iterable), t2._f), [H. getTypeArgumentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0( );) 1793 for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(ne w H.MappedIterator(null, J.get$iterator$ax(t2._iterable), t2._f), [H.getTypeArgu mentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0();)
1681 t2._current.__isolate_helper$_close$0(); 1794 t2.__internal$_current.__isolate_helper$_close$0();
1682 t1.clear$0(0); 1795 t1.clear$0(0);
1683 this.weakPorts.clear$0(0); 1796 this.weakPorts.clear$0(0);
1684 init.globalState.isolates.remove$1(0, this.id); 1797 init.globalState.isolates.remove$1(0, this.id);
1685 this.errorPorts.clear$0(0); 1798 this.errorPorts.clear$0(0);
1686 t1 = this.doneHandlers; 1799 t1 = this.doneHandlers;
1687 if (t1 != null) { 1800 if (t1 != null) {
1688 for (t1 = new J.ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();) 1801 for (t1 = new J.ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();)
1689 J.send$1$x(t1.__interceptors$_current, null); 1802 J.send$1$x(t1.__interceptors$_current, null);
1690 this.doneHandlers = null; 1803 this.doneHandlers = null;
1691 } 1804 }
1692 }, "call$0", "get$kill", 0, 0, 1] 1805 }, "call$0", "get$kill", 0, 0, 2]
1693 }, 1806 },
1694 _IsolateContext_handlePing_respond: { 1807 _IsolateContext_handlePing_respond: {
1695 "^": "Closure:1;_captured_responsePort_0", 1808 "^": "Closure:2;_captured_responsePort_0",
1696 call$0: function() { 1809 call$0: [function() {
1697 J.send$1$x(this._captured_responsePort_0, null); 1810 J.send$1$x(this._captured_responsePort_0, null);
1698 } 1811 }, null, null, 0, 0, null, "call"]
1699 }, 1812 },
1700 _EventLoop: { 1813 _EventLoop: {
1701 "^": "Object;events,_activeJsAsyncCount", 1814 "^": "Object;events,_activeJsAsyncCount",
1702 dequeue$0: function() { 1815 dequeue$0: function() {
1703 var t1 = this.events; 1816 var t1 = this.events;
1704 if (t1._head === t1._tail) 1817 if (t1._head === t1._tail)
1705 return; 1818 return;
1706 return t1.removeFirst$0(); 1819 return t1.removeFirst$0();
1707 }, 1820 },
1708 runIteration$0: function() { 1821 runIteration$0: function() {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 } catch (exception) { 1854 } catch (exception) {
1742 t1 = H.unwrapException(exception); 1855 t1 = H.unwrapException(exception);
1743 e = t1; 1856 e = t1;
1744 trace = H.getTraceFromException(exception); 1857 trace = H.getTraceFromException(exception);
1745 t1 = init.globalState.mainManager; 1858 t1 = init.globalState.mainManager;
1746 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "error", "msg" , H.S(e) + "\n" + H.S(trace)], null, null); 1859 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "error", "msg" , H.S(e) + "\n" + H.S(trace)], null, null);
1747 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu ll, P.$int)).serialize$1(t2); 1860 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu ll, P.$int)).serialize$1(t2);
1748 t1.toString; 1861 t1.toString;
1749 self.postMessage(t2); 1862 self.postMessage(t2);
1750 } 1863 }
1751 }, "call$0", "get$run", 0, 0, 1] 1864 }, "call$0", "get$run", 0, 0, 2]
1752 }, 1865 },
1753 _EventLoop__runHelper_next: { 1866 _EventLoop__runHelper_next: {
1754 "^": "Closure:1;__isolate_helper$_captured_this_0", 1867 "^": "Closure:2;_captured_this_0",
1755 call$0: function() { 1868 call$0: [function() {
1756 if (!this.__isolate_helper$_captured_this_0.runIteration$0()) 1869 if (!this._captured_this_0.runIteration$0())
1757 return; 1870 return;
1758 P.Timer_Timer(C.Duration_0, this); 1871 P.Timer_Timer(C.Duration_0, this);
1759 } 1872 }, null, null, 0, 0, null, "call"]
1760 }, 1873 },
1761 _IsolateEvent: { 1874 _IsolateEvent: {
1762 "^": "Object;isolate,fn,message>", 1875 "^": "Object;isolate,fn,message>",
1763 process$0: function() { 1876 process$0: function() {
1764 var t1 = this.isolate; 1877 var t1 = this.isolate;
1765 if (t1.isPaused) { 1878 if (t1.get$isPaused()) {
1766 t1.delayedEvents.push(this); 1879 t1.get$delayedEvents().push(this);
1767 return; 1880 return;
1768 } 1881 }
1769 t1.eval$1(this.fn); 1882 t1.eval$1(this.fn);
1770 } 1883 }
1771 }, 1884 },
1772 _MainManagerStub: { 1885 _MainManagerStub: {
1773 "^": "Object;" 1886 "^": "Object;"
1774 }, 1887 },
1775 IsolateNatives__processWorkerMessage_closure: { 1888 IsolateNatives__processWorkerMessage_closure: {
1776 "^": "Closure:0;_captured_entryPoint_0,_captured_args_1,_captured_message_2, _captured_isSpawnUri_3,_captured_startPaused_4,_captured_replyTo_5", 1889 "^": "Closure:0;_captured_entryPoint_0,_captured_args_1,_captured_message_2, _captured_isSpawnUri_3,_captured_startPaused_4,_captured_replyTo_5",
1777 call$0: function() { 1890 call$0: function() {
1778 H.IsolateNatives__startIsolate(this._captured_entryPoint_0, this._captured _args_1, this._captured_message_2, this._captured_isSpawnUri_3, this._captured_s tartPaused_4, this._captured_replyTo_5); 1891 H.IsolateNatives__startIsolate(this._captured_entryPoint_0, this._captured _args_1, this._captured_message_2, this._captured_isSpawnUri_3, this._captured_s tartPaused_4, this._captured_replyTo_5);
1779 } 1892 }
1780 }, 1893 },
1781 IsolateNatives__startIsolate_runStartFunction: { 1894 IsolateNatives__startIsolate_runStartFunction: {
1782 "^": "Closure:1;_captured_topLevel_0,_captured_args_1,_captured_message_2,_c aptured_isSpawnUri_3,_captured_context_4", 1895 "^": "Closure:2;_captured_topLevel_0,_captured_args_1,_captured_message_2,_c aptured_isSpawnUri_3,_captured_context_4",
1783 call$0: function() { 1896 call$0: function() {
1784 var t1, t2, t3; 1897 var t1, t2, t3;
1785 this._captured_context_4.initialized = true; 1898 this._captured_context_4.set$initialized(true);
1786 if (this._captured_isSpawnUri_3 !== true) 1899 if (this._captured_isSpawnUri_3 !== true)
1787 this._captured_topLevel_0.call$1(this._captured_message_2); 1900 this._captured_topLevel_0.call$1(this._captured_message_2);
1788 else { 1901 else {
1789 t1 = this._captured_topLevel_0; 1902 t1 = this._captured_topLevel_0;
1790 t2 = H.getDynamicRuntimeType(); 1903 t2 = H.getDynamicRuntimeType();
1791 t3 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); 1904 t3 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1);
1792 if (t3) 1905 if (t3)
1793 t1.call$2(this._captured_args_1, this._captured_message_2); 1906 t1.call$2(this._captured_args_1, this._captured_message_2);
1794 else { 1907 else {
1795 t2 = H.buildFunctionType(t2, [t2])._isTest$1(t1); 1908 t2 = H.buildFunctionType(t2, [t2])._isTest$1(t1);
(...skipping 13 matching lines...) Expand all
1809 send$1: function(_, message) { 1922 send$1: function(_, message) {
1810 var isolate, t1, msg, t2; 1923 var isolate, t1, msg, t2;
1811 isolate = init.globalState.isolates.$index(0, this._isolateId); 1924 isolate = init.globalState.isolates.$index(0, this._isolateId);
1812 if (isolate == null) 1925 if (isolate == null)
1813 return; 1926 return;
1814 t1 = this._receivePort; 1927 t1 = this._receivePort;
1815 if (t1.get$_isClosed()) 1928 if (t1.get$_isClosed())
1816 return; 1929 return;
1817 msg = H._clone(message); 1930 msg = H._clone(message);
1818 if (isolate.get$controlPort() === t1) { 1931 if (isolate.get$controlPort() === t1) {
1819 t1 = J.getInterceptor$asx(msg); 1932 isolate.handleControlMessage$1(msg);
1820 switch (t1.$index(msg, 0)) {
1821 case "pause":
1822 isolate.addPause$2(t1.$index(msg, 1), t1.$index(msg, 2));
1823 break;
1824 case "resume":
1825 isolate.removePause$1(t1.$index(msg, 1));
1826 break;
1827 case "add-ondone":
1828 isolate.addDoneListener$1(t1.$index(msg, 1));
1829 break;
1830 case "remove-ondone":
1831 isolate.removeDoneListener$1(t1.$index(msg, 1));
1832 break;
1833 case "set-errors-fatal":
1834 isolate.setErrorsFatal$2(t1.$index(msg, 1), t1.$index(msg, 2));
1835 break;
1836 case "ping":
1837 isolate.handlePing$2(t1.$index(msg, 1), t1.$index(msg, 2));
1838 break;
1839 case "kill":
1840 isolate.handleKill$2(t1.$index(msg, 1), t1.$index(msg, 2));
1841 break;
1842 case "getErrors":
1843 t1 = t1.$index(msg, 1);
1844 isolate.errorPorts.add$1(0, t1);
1845 break;
1846 case "stopErrors":
1847 t1 = t1.$index(msg, 1);
1848 isolate.errorPorts.remove$1(0, t1);
1849 break;
1850 }
1851 return; 1933 return;
1852 } 1934 }
1853 t1 = init.globalState.topEventLoop; 1935 t1 = init.globalState.topEventLoop;
1854 t2 = "receive " + H.S(message); 1936 t2 = "receive " + H.S(message);
1855 t1.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send _closure(this, msg), t2)); 1937 t1.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send _closure(this, msg), t2));
1856 }, 1938 },
1857 $eq: function(_, other) { 1939 $eq: function(_, other) {
1858 if (other == null) 1940 if (other == null)
1859 return false; 1941 return false;
1860 return other instanceof H._NativeJsSendPort && J.$eq(this._receivePort, ot her._receivePort); 1942 return other instanceof H._NativeJsSendPort && J.$eq(this._receivePort, ot her._receivePort);
1861 }, 1943 },
1862 get$hashCode: function(_) { 1944 get$hashCode: function(_) {
1863 return this._receivePort.get$_id(); 1945 return this._receivePort.get$_id();
1864 } 1946 }
1865 }, 1947 },
1866 _NativeJsSendPort_send_closure: { 1948 _NativeJsSendPort_send_closure: {
1867 "^": "Closure:0;__isolate_helper$_captured_this_0,_captured_msg_1", 1949 "^": "Closure:0;_captured_this_0,_captured_msg_1",
1868 call$0: function() { 1950 call$0: function() {
1869 var t1 = this.__isolate_helper$_captured_this_0._receivePort; 1951 var t1 = this._captured_this_0._receivePort;
1870 if (!t1.get$_isClosed()) 1952 if (!t1.get$_isClosed())
1871 t1.__isolate_helper$_add$1(this._captured_msg_1); 1953 t1.__isolate_helper$_add$1(this._captured_msg_1);
1872 } 1954 }
1873 }, 1955 },
1874 _WorkerSendPort: { 1956 _WorkerSendPort: {
1875 "^": "_BaseSendPort;_workerId,_receivePortId,_isolateId", 1957 "^": "_BaseSendPort;_workerId,_receivePortId,_isolateId",
1876 send$1: function(_, message) { 1958 send$1: function(_, message) {
1877 var t1, workerMessage, manager; 1959 var t1, workerMessage, manager;
1878 t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "message", "port", this, "msg", message], null, null); 1960 t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "message", "port", this, "msg", message], null, null);
1879 workerMessage = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$iden tity(null, P.$int)).serialize$1(t1); 1961 workerMessage = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$iden tity(null, P.$int)).serialize$1(t1);
1880 if (init.globalState.isWorker === true) { 1962 if (init.globalState.isWorker === true) {
1881 init.globalState.mainManager.toString; 1963 init.globalState.mainManager.toString;
1882 self.postMessage(workerMessage); 1964 self.postMessage(workerMessage);
1883 } else { 1965 } else {
1884 manager = init.globalState.managers.$index(0, this._workerId); 1966 manager = init.globalState.managers.$index(0, this._workerId);
1885 if (manager != null) 1967 if (manager != null)
1886 manager.postMessage(workerMessage); 1968 manager.postMessage(workerMessage);
1887 } 1969 }
1888 }, 1970 },
1889 $eq: function(_, other) { 1971 $eq: function(_, other) {
1890 if (other == null) 1972 if (other == null)
1891 return false; 1973 return false;
1892 return other instanceof H._WorkerSendPort && J.$eq(this._workerId, other._ workerId) && J.$eq(this._isolateId, other._isolateId) && J.$eq(this._receivePort Id, other._receivePortId); 1974 return other instanceof H._WorkerSendPort && J.$eq(this._workerId, other._ workerId) && J.$eq(this._isolateId, other._isolateId) && J.$eq(this._receivePort Id, other._receivePortId);
1893 }, 1975 },
1894 get$hashCode: function(_) { 1976 get$hashCode: function(_) {
1895 var t1, t2, t3; 1977 var t1, t2, t3;
1896 t1 = this._workerId; 1978 t1 = J.$shl$n(this._workerId, 16);
1897 if (typeof t1 !== "number") 1979 t2 = J.$shl$n(this._isolateId, 8);
1898 return t1.$shl();
1899 t2 = this._isolateId;
1900 if (typeof t2 !== "number")
1901 return t2.$shl();
1902 t3 = this._receivePortId; 1980 t3 = this._receivePortId;
1903 if (typeof t3 !== "number") 1981 if (typeof t3 !== "number")
1904 return H.iae(t3); 1982 return H.iae(t3);
1905 return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0; 1983 return (t1 ^ t2 ^ t3) >>> 0;
1906 } 1984 }
1907 }, 1985 },
1908 RawReceivePortImpl: { 1986 RawReceivePortImpl: {
1909 "^": "Object;_id<,_handler,_isClosed<", 1987 "^": "Object;_id<,_handler,_isClosed<",
1910 __isolate_helper$_close$0: function() { 1988 __isolate_helper$_close$0: function() {
1911 this._isClosed = true; 1989 this._isClosed = true;
1912 this._handler = null; 1990 this._handler = null;
1913 }, 1991 },
1914 close$0: function(_) { 1992 close$0: function(_) {
1915 var t1, t2; 1993 var t1, t2;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1964 var t1 = new H.TimerImpl(true, false, null); 2042 var t1 = new H.TimerImpl(true, false, null);
1965 t1.TimerImpl$2(milliseconds, callback); 2043 t1.TimerImpl$2(milliseconds, callback);
1966 return t1; 2044 return t1;
1967 }, TimerImpl$periodic: function(milliseconds, callback) { 2045 }, TimerImpl$periodic: function(milliseconds, callback) {
1968 var t1 = new H.TimerImpl(false, false, null); 2046 var t1 = new H.TimerImpl(false, false, null);
1969 t1.TimerImpl$periodic$2(milliseconds, callback); 2047 t1.TimerImpl$periodic$2(milliseconds, callback);
1970 return t1; 2048 return t1;
1971 }} 2049 }}
1972 }, 2050 },
1973 TimerImpl_internalCallback: { 2051 TimerImpl_internalCallback: {
1974 "^": "Closure:1;__isolate_helper$_captured_this_0,_captured_callback_1", 2052 "^": "Closure:2;_captured_this_0,_captured_callback_1",
1975 call$0: function() { 2053 call$0: function() {
1976 this.__isolate_helper$_captured_this_0._handle = null; 2054 this._captured_this_0._handle = null;
1977 this._captured_callback_1.call$0(); 2055 this._captured_callback_1.call$0();
1978 } 2056 }
1979 }, 2057 },
1980 TimerImpl_internalCallback0: { 2058 TimerImpl_internalCallback0: {
1981 "^": "Closure:1;_captured_this_2,_captured_callback_3", 2059 "^": "Closure:2;_captured_this_2,_captured_callback_3",
1982 call$0: function() { 2060 call$0: [function() {
1983 this._captured_this_2._handle = null; 2061 this._captured_this_2._handle = null;
1984 H.leaveJsAsync(); 2062 H.leaveJsAsync();
1985 this._captured_callback_3.call$0(); 2063 this._captured_callback_3.call$0();
1986 } 2064 }, null, null, 0, 0, null, "call"]
1987 }, 2065 },
1988 TimerImpl$periodic_closure: { 2066 TimerImpl$periodic_closure: {
1989 "^": "Closure:0;__isolate_helper$_captured_this_0,_captured_callback_1", 2067 "^": "Closure:0;_captured_this_0,_captured_callback_1",
1990 call$0: function() { 2068 call$0: [function() {
1991 this._captured_callback_1.call$1(this.__isolate_helper$_captured_this_0); 2069 this._captured_callback_1.call$1(this._captured_this_0);
1992 } 2070 }, null, null, 0, 0, null, "call"]
1993 }, 2071 },
1994 CapabilityImpl: { 2072 CapabilityImpl: {
1995 "^": "Object;_id<", 2073 "^": "Object;_id<",
1996 get$hashCode: function(_) { 2074 get$hashCode: function(_) {
1997 var hash = this._id; 2075 var hash = this._id;
1998 hash = C.JSInt_methods._shrOtherPositive$1(hash, 0) ^ C.JSInt_methods._tdi vFast$1(hash, 4294967296); 2076 hash = C.JSInt_methods._shrOtherPositive$1(hash, 0) ^ C.JSInt_methods._tdi vFast$1(hash, 4294967296);
1999 hash = (~hash >>> 0) + (hash << 15 >>> 0) & 4294967295; 2077 hash = (~hash >>> 0) + (hash << 15 >>> 0) & 4294967295;
2000 hash = ((hash ^ hash >>> 12) >>> 0) * 5 & 4294967295; 2078 hash = ((hash ^ hash >>> 12) >>> 0) * 5 & 4294967295;
2001 hash = ((hash ^ hash >>> 4) >>> 0) * 2057 & 4294967295; 2079 hash = ((hash ^ hash >>> 4) >>> 0) * 2057 & 4294967295;
2002 return (hash ^ hash >>> 16) >>> 0; 2080 return (hash ^ hash >>> 16) >>> 0;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2048 return this.serializeJsSendPort$1(x); 2126 return this.serializeJsSendPort$1(x);
2049 if (!!t1.$is_WorkerSendPort) 2127 if (!!t1.$is_WorkerSendPort)
2050 return this.serializeWorkerSendPort$1(x); 2128 return this.serializeWorkerSendPort$1(x);
2051 if (!!t1.$isClosure) { 2129 if (!!t1.$isClosure) {
2052 $name = x.$name; 2130 $name = x.$name;
2053 if ($name == null) 2131 if ($name == null)
2054 this.unsupported$2(x, "Closures can't be transmitted:"); 2132 this.unsupported$2(x, "Closures can't be transmitted:");
2055 return ["function", $name]; 2133 return ["function", $name];
2056 } 2134 }
2057 return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(ini t.classFieldsExtractor(x))]; 2135 return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(ini t.classFieldsExtractor(x))];
2058 }, "call$1", "get$serialize", 2, 0, 2], 2136 }, "call$1", "get$serialize", 2, 0, 3, 3],
2059 unsupported$2: function(x, message) { 2137 unsupported$2: function(x, message) {
2060 throw H.wrapException(P.UnsupportedError$(H.S(message == null ? "Can't tra nsmit:" : message) + " " + H.S(x))); 2138 throw H.wrapException(P.UnsupportedError$(H.S(message == null ? "Can't tra nsmit:" : message) + " " + H.S(x)));
2061 }, 2139 },
2062 unsupported$1: function(x) { 2140 unsupported$1: function(x) {
2063 return this.unsupported$2(x, null); 2141 return this.unsupported$2(x, null);
2064 }, 2142 },
2065 serializeJSIndexable$1: function(indexable) { 2143 serializeJSIndexable$1: function(indexable) {
2066 var serialized = this.serializeArray$1(indexable); 2144 var serialized = this.serializeArray$1(indexable);
2067 if (!!indexable.fixed$length) 2145 if (!!indexable.fixed$length)
2068 return ["fixed", serialized]; 2146 return ["fixed", serialized];
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2205 if (2 >= t1) 2283 if (2 >= t1)
2206 return H.ioore(x, 2); 2284 return H.ioore(x, 2);
2207 fields = x[2]; 2285 fields = x[2];
2208 emptyInstance = init.instanceFromClassId(classId); 2286 emptyInstance = init.instanceFromClassId(classId);
2209 this.deserializedObjects.push(emptyInstance); 2287 this.deserializedObjects.push(emptyInstance);
2210 this.deserializeArrayInPlace$1(fields); 2288 this.deserializeArrayInPlace$1(fields);
2211 return init.initializeEmptyInstance(classId, emptyInstance, fields); 2289 return init.initializeEmptyInstance(classId, emptyInstance, fields);
2212 default: 2290 default:
2213 throw H.wrapException("couldn't deserialize: " + H.S(x)); 2291 throw H.wrapException("couldn't deserialize: " + H.S(x));
2214 } 2292 }
2215 }, "call$1", "get$deserialize", 2, 0, 2], 2293 }, "call$1", "get$deserialize", 2, 0, 3, 3],
2216 deserializeArrayInPlace$1: function(x) { 2294 deserializeArrayInPlace$1: function(x) {
2217 var t1, i, t2; 2295 var t1, i, t2;
2218 t1 = J.getInterceptor$asx(x); 2296 t1 = J.getInterceptor$asx(x);
2219 i = 0; 2297 i = 0;
2220 while (true) { 2298 while (true) {
2221 t2 = t1.get$length(x); 2299 t2 = t1.get$length(x);
2222 if (typeof t2 !== "number") 2300 if (typeof t2 !== "number")
2223 return H.iae(t2); 2301 return H.iae(t2);
2224 if (!(i < t2)) 2302 if (!(i < t2))
2225 break; 2303 break;
2226 t1.$indexSet(x, i, this.deserialize$1(t1.$index(x, i))); 2304 t1.$indexSet(x, i, this.deserialize$1(t1.$index(x, i)));
2227 ++i; 2305 ++i;
2228 } 2306 }
2229 return x; 2307 return x;
2230 }, 2308 },
2231 deserializeMap$1: function(x) { 2309 deserializeMap$1: function(x) {
2232 var t1, keys, values, result, t2, i; 2310 var t1, keys, values, result, t2, i;
2233 t1 = x.length; 2311 t1 = x.length;
2234 if (1 >= t1) 2312 if (1 >= t1)
2235 return H.ioore(x, 1); 2313 return H.ioore(x, 1);
2236 keys = x[1]; 2314 keys = x[1];
2237 if (2 >= t1) 2315 if (2 >= t1)
2238 return H.ioore(x, 2); 2316 return H.ioore(x, 2);
2239 values = x[2]; 2317 values = x[2];
2240 result = P.LinkedHashMap_LinkedHashMap$_empty(null, null); 2318 result = P.LinkedHashMap_LinkedHashMap$_empty(null, null);
2241 this.deserializedObjects.push(result); 2319 this.deserializedObjects.push(result);
2242 keys = J.map$1$ax(keys, this.get$deserialize()).toList$0(0); 2320 keys = J.map$1$ax(keys, this.get$deserialize()).toList$0(0);
2243 for (t1 = J.getInterceptor$asx(keys), t2 = J.getInterceptor$asx(values), i = 0; i < t1.get$length(keys); ++i) { 2321 for (t1 = J.getInterceptor$asx(keys), t2 = J.getInterceptor$asx(values), i = 0; i < t1.get$length(keys); ++i)
2244 if (i >= keys.length) 2322 result.$indexSet(0, t1.$index(keys, i), this.deserialize$1(t2.$index(val ues, i)));
2245 return H.ioore(keys, i);
2246 result.$indexSet(0, keys[i], this.deserialize$1(t2.$index(values, i)));
2247 }
2248 return result; 2323 return result;
2249 }, 2324 },
2250 deserializeSendPort$1: function(x) { 2325 deserializeSendPort$1: function(x) {
2251 var t1, managerId, isolateId, receivePortId, isolate, receivePort, result; 2326 var t1, managerId, isolateId, receivePortId, isolate, receivePort, result;
2252 t1 = x.length; 2327 t1 = x.length;
2253 if (1 >= t1) 2328 if (1 >= t1)
2254 return H.ioore(x, 1); 2329 return H.ioore(x, 1);
2255 managerId = x[1]; 2330 managerId = x[1];
2256 if (2 >= t1) 2331 if (2 >= t1)
2257 return H.ioore(x, 2); 2332 return H.ioore(x, 2);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 throw H.wrapException(P.ArgumentError$(i)); 2503 throw H.wrapException(P.ArgumentError$(i));
2429 if (i < 0) 2504 if (i < 0)
2430 throw H.wrapException(P.ArgumentError$(i)); 2505 throw H.wrapException(P.ArgumentError$(i));
2431 if (i > 65535) 2506 if (i > 65535)
2432 return H.Primitives_stringFromCodePoints(charCodes); 2507 return H.Primitives_stringFromCodePoints(charCodes);
2433 } 2508 }
2434 return H.Primitives__fromCharCodeApply(charCodes); 2509 return H.Primitives__fromCharCodeApply(charCodes);
2435 }, 2510 },
2436 Primitives_stringFromCharCode: function(charCode) { 2511 Primitives_stringFromCharCode: function(charCode) {
2437 var bits; 2512 var bits;
2513 if (typeof charCode !== "number")
2514 return H.iae(charCode);
2438 if (0 <= charCode) { 2515 if (0 <= charCode) {
2439 if (charCode <= 65535) 2516 if (charCode <= 65535)
2440 return String.fromCharCode(charCode); 2517 return String.fromCharCode(charCode);
2441 if (charCode <= 1114111) { 2518 if (charCode <= 1114111) {
2442 bits = charCode - 65536; 2519 bits = charCode - 65536;
2443 return String.fromCharCode((55296 | C.JSInt_methods._shrOtherPositive$1( bits, 10)) >>> 0, 56320 | bits & 1023); 2520 return String.fromCharCode((55296 | C.JSInt_methods._shrOtherPositive$1( bits, 10)) >>> 0, 56320 | bits & 1023);
2444 } 2521 }
2445 } 2522 }
2446 throw H.wrapException(P.RangeError$range(charCode, 0, 1114111, null, null)); 2523 throw H.wrapException(P.RangeError$range(charCode, 0, 1114111, null, null));
2447 }, 2524 },
2448 Primitives_lazyAsJsDate: function(receiver) { 2525 Primitives_lazyAsJsDate: function(receiver) {
2449 if (receiver.date === void 0) 2526 if (receiver.date === void 0)
2450 receiver.date = new Date(receiver.millisecondsSinceEpoch); 2527 receiver.date = new Date(receiver.millisecondsSinceEpoch);
2451 return receiver.date; 2528 return receiver.date;
2452 }, 2529 },
2453 Primitives_getProperty: function(object, key) { 2530 Primitives_getProperty: function(object, key) {
2454 if (object == null || typeof object === "boolean" || typeof object === "numb er" || typeof object === "string") 2531 if (object == null || typeof object === "boolean" || typeof object === "numb er" || typeof object === "string")
2455 throw H.wrapException(P.ArgumentError$(object)); 2532 throw H.wrapException(P.ArgumentError$(object));
2456 return object[key]; 2533 return object[key];
2457 }, 2534 },
2458 Primitives_setProperty: function(object, key, value) { 2535 Primitives_setProperty: function(object, key, value) {
2459 if (object == null || typeof object === "boolean" || typeof object === "numb er" || typeof object === "string") 2536 if (object == null || typeof object === "boolean" || typeof object === "numb er" || typeof object === "string")
2460 throw H.wrapException(P.ArgumentError$(object)); 2537 throw H.wrapException(P.ArgumentError$(object));
2461 object[key] = value; 2538 object[key] = value;
2462 }, 2539 },
2540 Primitives_functionNoSuchMethod: function($function, positionalArguments, name dArguments) {
2541 var t1, $arguments, namedArgumentList;
2542 t1 = {};
2543 t1._captured_argumentCount_0 = 0;
2544 $arguments = [];
2545 namedArgumentList = [];
2546 t1._captured_argumentCount_0 = positionalArguments.length;
2547 C.JSArray_methods.addAll$1($arguments, positionalArguments);
2548 t1._captured_names_1 = "";
2549 if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
2550 namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure( t1, $arguments, namedArgumentList));
2551 return J.noSuchMethod$1($function, new H.JSInvocationMirror(C.Symbol_call, " call$" + t1._captured_argumentCount_0 + t1._captured_names_1, 0, $arguments, nam edArgumentList, null));
2552 },
2553 Primitives_applyFunctionWithPositionalArguments: function($function, positiona lArguments) {
2554 var $arguments, t1;
2555 $arguments = positionalArguments instanceof Array ? positionalArguments : P. List_List$from(positionalArguments, true, null);
2556 t1 = $arguments.length;
2557 if (t1 === 0) {
2558 if (!!$function.call$0)
2559 return $function.call$0();
2560 } else if (t1 === 1) {
2561 if (!!$function.call$1)
2562 return $function.call$1($arguments[0]);
2563 } else if (t1 === 2) {
2564 if (!!$function.call$2)
2565 return $function.call$2($arguments[0], $arguments[1]);
2566 } else if (t1 === 3)
2567 if (!!$function.call$3)
2568 return $function.call$3($arguments[0], $arguments[1], $arguments[2]);
2569 return H.Primitives__genericApplyFunctionWithPositionalArguments($function, $arguments);
2570 },
2571 Primitives__genericApplyFunctionWithPositionalArguments: function($function, $ arguments) {
2572 var argumentCount, jsFunction, info, requiredArgumentCount, maxArgumentCount , pos;
2573 argumentCount = $arguments.length;
2574 jsFunction = $function["call$" + argumentCount];
2575 if (jsFunction == null) {
2576 jsFunction = J.getInterceptor($function)["call*"];
2577 if (jsFunction == null)
2578 return H.Primitives_functionNoSuchMethod($function, $arguments, null);
2579 info = H.ReflectionInfo_ReflectionInfo(jsFunction);
2580 requiredArgumentCount = info.requiredParameterCount;
2581 maxArgumentCount = requiredArgumentCount + info.optionalParameterCount;
2582 if (info.areOptionalParametersNamed || requiredArgumentCount > argumentCou nt || maxArgumentCount < argumentCount)
2583 return H.Primitives_functionNoSuchMethod($function, $arguments, null);
2584 $arguments = P.List_List$from($arguments, true, null);
2585 for (pos = argumentCount; pos < maxArgumentCount; ++pos)
2586 $arguments.push(init.metadata[info.defaultValue$1(0, pos)]);
2587 }
2588 return jsFunction.apply($function, $arguments);
2589 },
2463 iae: function(argument) { 2590 iae: function(argument) {
2464 throw H.wrapException(P.ArgumentError$(argument)); 2591 throw H.wrapException(P.ArgumentError$(argument));
2465 }, 2592 },
2466 ioore: function(receiver, index) { 2593 ioore: function(receiver, index) {
2467 if (receiver == null) 2594 if (receiver == null)
2468 J.get$length$asx(receiver); 2595 J.get$length$asx(receiver);
2469 if (typeof index !== "number" || Math.floor(index) !== index) 2596 if (typeof index !== "number" || Math.floor(index) !== index)
2470 H.iae(index); 2597 H.iae(index);
2471 throw H.wrapException(P.RangeError$value(index, null, null)); 2598 throw H.wrapException(P.RangeError$value(index, null, null));
2472 }, 2599 },
(...skipping 13 matching lines...) Expand all
2486 ex = new P.NullThrownError(); 2613 ex = new P.NullThrownError();
2487 wrapper = new Error(); 2614 wrapper = new Error();
2488 wrapper.dartException = ex; 2615 wrapper.dartException = ex;
2489 if ("defineProperty" in Object) { 2616 if ("defineProperty" in Object) {
2490 Object.defineProperty(wrapper, "message", {get: H.toStringWrapper}); 2617 Object.defineProperty(wrapper, "message", {get: H.toStringWrapper});
2491 wrapper.name = ""; 2618 wrapper.name = "";
2492 } else 2619 } else
2493 wrapper.toString = H.toStringWrapper; 2620 wrapper.toString = H.toStringWrapper;
2494 return wrapper; 2621 return wrapper;
2495 }, 2622 },
2496 toStringWrapper: function() { 2623 toStringWrapper: [function() {
2497 return J.toString$0(this.dartException); 2624 return J.toString$0(this.dartException);
2498 }, 2625 }, null, null, 0, 0, null],
2499 throwExpression: function(ex) { 2626 throwExpression: function(ex) {
2500 throw H.wrapException(ex); 2627 throw H.wrapException(ex);
2501 }, 2628 },
2502 unwrapException: function(ex) { 2629 unwrapException: function(ex) {
2503 var t1, message, number, ieErrorCode, t2, t3, t4, nullLiteralCall, t5, t6, t 7, t8, t9, match; 2630 var t1, message, number, ieErrorCode, t2, t3, t4, nullLiteralCall, t5, t6, t 7, t8, t9, match;
2504 t1 = new H.unwrapException_saveStackTrace(ex); 2631 t1 = new H.unwrapException_saveStackTrace(ex);
2505 if (ex == null) 2632 if (ex == null)
2506 return; 2633 return;
2507 if (typeof ex !== "object") 2634 if (typeof ex !== "object")
2508 return ex; 2635 return ex;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 fillLiteralMap: function(keyValuePairs, result) { 2729 fillLiteralMap: function(keyValuePairs, result) {
2603 var $length, index, index0, index1; 2730 var $length, index, index0, index1;
2604 $length = keyValuePairs.length; 2731 $length = keyValuePairs.length;
2605 for (index = 0; index < $length; index = index1) { 2732 for (index = 0; index < $length; index = index1) {
2606 index0 = index + 1; 2733 index0 = index + 1;
2607 index1 = index0 + 1; 2734 index1 = index0 + 1;
2608 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]); 2735 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
2609 } 2736 }
2610 return result; 2737 return result;
2611 }, 2738 },
2612 invokeClosure: function(closure, isolate, numberOfArguments, arg1, arg2, arg3, arg4) { 2739 invokeClosure: [function(closure, isolate, numberOfArguments, arg1, arg2, arg3 , arg4) {
2613 var t1 = J.getInterceptor(numberOfArguments); 2740 var t1 = J.getInterceptor(numberOfArguments);
2614 if (t1.$eq(numberOfArguments, 0)) 2741 if (t1.$eq(numberOfArguments, 0))
2615 return H._callInIsolate(isolate, new H.invokeClosure_closure(closure)); 2742 return H._callInIsolate(isolate, new H.invokeClosure_closure(closure));
2616 else if (t1.$eq(numberOfArguments, 1)) 2743 else if (t1.$eq(numberOfArguments, 1))
2617 return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, arg 1)); 2744 return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, arg 1));
2618 else if (t1.$eq(numberOfArguments, 2)) 2745 else if (t1.$eq(numberOfArguments, 2))
2619 return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, arg 1, arg2)); 2746 return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, arg 1, arg2));
2620 else if (t1.$eq(numberOfArguments, 3)) 2747 else if (t1.$eq(numberOfArguments, 3))
2621 return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, arg 1, arg2, arg3)); 2748 return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, arg 1, arg2, arg3));
2622 else if (t1.$eq(numberOfArguments, 4)) 2749 else if (t1.$eq(numberOfArguments, 4))
2623 return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, arg 1, arg2, arg3, arg4)); 2750 return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, arg 1, arg2, arg3, arg4));
2624 else 2751 else
2625 throw H.wrapException(P.Exception_Exception("Unsupported number of argumen ts for wrapped closure")); 2752 throw H.wrapException(P.Exception_Exception("Unsupported number of argumen ts for wrapped closure"));
2626 }, 2753 }, null, null, 14, 0, null, 4, 5, 6, 7, 8, 9, 10],
2627 convertDartClosureToJS: function(closure, arity) { 2754 convertDartClosureToJS: function(closure, arity) {
2628 var $function; 2755 var $function;
2629 if (closure == null) 2756 if (closure == null)
2630 return; 2757 return;
2631 $function = closure.$identity; 2758 $function = closure.$identity;
2632 if (!!$function) 2759 if (!!$function)
2633 return $function; 2760 return $function;
2634 $function = function(closure, arity, context, invoke) { 2761 $function = function(closure, arity, context, invoke) {
2635 return function(a1, a2, a3, a4) { 2762 return function(a1, a2, a3, a4) {
2636 return invoke(closure, context, arity, a1, a2, a3, a4); 2763 return invoke(closure, context, arity, a1, a2, a3, a4);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
2898 }, 3025 },
2899 buildFunctionType: function(returnType, parameterTypes, optionalParameterTypes ) { 3026 buildFunctionType: function(returnType, parameterTypes, optionalParameterTypes ) {
2900 return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParamet erTypes, null); 3027 return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParamet erTypes, null);
2901 }, 3028 },
2902 getDynamicRuntimeType: function() { 3029 getDynamicRuntimeType: function() {
2903 return C.C_DynamicRuntimeType; 3030 return C.C_DynamicRuntimeType;
2904 }, 3031 },
2905 random64: function() { 3032 random64: function() {
2906 return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000 >> > 0) * 4294967296; 3033 return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000 >> > 0) * 4294967296;
2907 }, 3034 },
3035 getIsolateAffinityTag: function($name) {
3036 return init.getIsolateTag($name);
3037 },
2908 setRuntimeTypeInfo: function(target, typeInfo) { 3038 setRuntimeTypeInfo: function(target, typeInfo) {
2909 if (target != null) 3039 if (target != null)
2910 target.$builtinTypeInfo = typeInfo; 3040 target.$builtinTypeInfo = typeInfo;
2911 return target; 3041 return target;
2912 }, 3042 },
2913 getRuntimeTypeInfo: function(target) { 3043 getRuntimeTypeInfo: function(target) {
2914 if (target == null) 3044 if (target == null)
2915 return; 3045 return;
2916 return target.$builtinTypeInfo; 3046 return target.$builtinTypeInfo;
2917 }, 3047 },
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
3352 return receiver; 3482 return receiver;
3353 match = matches.get$current(); 3483 match = matches.get$current();
3354 return C.JSString_methods.replaceRange$3(receiver, J.get$start$x(match), mat ch.get$end(), replacement); 3484 return C.JSString_methods.replaceRange$3(receiver, J.get$start$x(match), mat ch.get$end(), replacement);
3355 }, 3485 },
3356 stringReplaceRangeUnchecked: function(receiver, start, end, replacement) { 3486 stringReplaceRangeUnchecked: function(receiver, start, end, replacement) {
3357 var prefix, suffix; 3487 var prefix, suffix;
3358 prefix = receiver.substring(0, start); 3488 prefix = receiver.substring(0, start);
3359 suffix = receiver.substring(end); 3489 suffix = receiver.substring(end);
3360 return prefix + replacement + suffix; 3490 return prefix + replacement + suffix;
3361 }, 3491 },
3492 JSInvocationMirror: {
3493 "^": "Object;__js_helper$_memberName,_internalName,_kind,_arguments,_namedAr gumentNames,_namedIndices",
3494 get$memberName: function() {
3495 return this.__js_helper$_memberName;
3496 },
3497 get$positionalArguments: function() {
3498 var t1, argumentCount, list, index;
3499 if (this._kind === 1)
3500 return C.List_empty0;
3501 t1 = this._arguments;
3502 argumentCount = t1.length - this._namedArgumentNames.length;
3503 if (argumentCount === 0)
3504 return C.List_empty0;
3505 list = [];
3506 for (index = 0; index < argumentCount; ++index) {
3507 if (index >= t1.length)
3508 return H.ioore(t1, index);
3509 list.push(t1[index]);
3510 }
3511 list.immutable$list = true;
3512 list.fixed$length = true;
3513 return list;
3514 },
3515 get$namedArguments: function() {
3516 var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4;
3517 if (this._kind !== 0)
3518 return P.LinkedHashMap_LinkedHashMap$_empty(P.Symbol, null);
3519 t1 = this._namedArgumentNames;
3520 namedArgumentCount = t1.length;
3521 t2 = this._arguments;
3522 namedArgumentsStartIndex = t2.length - namedArgumentCount;
3523 if (namedArgumentCount === 0)
3524 return P.LinkedHashMap_LinkedHashMap$_empty(P.Symbol, null);
3525 map = P.LinkedHashMap_LinkedHashMap(null, null, null, P.Symbol, null);
3526 for (i = 0; i < namedArgumentCount; ++i) {
3527 if (i >= t1.length)
3528 return H.ioore(t1, i);
3529 t3 = t1[i];
3530 t4 = namedArgumentsStartIndex + i;
3531 if (t4 < 0 || t4 >= t2.length)
3532 return H.ioore(t2, t4);
3533 map.$indexSet(0, new H.Symbol0(t3), t2[t4]);
3534 }
3535 return map;
3536 }
3537 },
3362 ReflectionInfo: { 3538 ReflectionInfo: {
3363 "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalPara meterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", 3539 "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalPara meterCount,areOptionalParametersNamed,functionType,cachedSortedIndices",
3540 defaultValue$1: function(_, parameter) {
3541 var t1 = this.requiredParameterCount;
3542 if (typeof parameter !== "number")
3543 return parameter.$lt();
3544 if (parameter < t1)
3545 return;
3546 return this.data[3 + parameter - t1];
3547 },
3364 static: {ReflectionInfo_ReflectionInfo: function(jsFunction) { 3548 static: {ReflectionInfo_ReflectionInfo: function(jsFunction) {
3365 var data, requiredParametersInfo, optionalParametersInfo; 3549 var data, requiredParametersInfo, optionalParametersInfo;
3366 data = jsFunction.$reflectionInfo; 3550 data = jsFunction.$reflectionInfo;
3367 if (data == null) 3551 if (data == null)
3368 return; 3552 return;
3369 data.fixed$length = Array; 3553 data.fixed$length = Array;
3370 data = data; 3554 data = data;
3371 requiredParametersInfo = data[0]; 3555 requiredParametersInfo = data[0];
3372 optionalParametersInfo = data[1]; 3556 optionalParametersInfo = data[1];
3373 return new H.ReflectionInfo(jsFunction, data, (requiredParametersInfo & 1) === 1, requiredParametersInfo >> 1, optionalParametersInfo >> 1, (optionalPar ametersInfo & 1) === 1, data[2], null); 3557 return new H.ReflectionInfo(jsFunction, data, (requiredParametersInfo & 1) === 1, requiredParametersInfo >> 1, optionalParametersInfo >> 1, (optionalPar ametersInfo & 1) === 1, data[2], null);
3374 }} 3558 }}
3375 }, 3559 },
3560 Primitives_functionNoSuchMethod_closure: {
3561 "^": "Closure:4;__js_helper$_box_0,_captured_arguments_1,_captured_namedArgu mentList_2",
3562 call$2: function($name, argument) {
3563 var t1 = this.__js_helper$_box_0;
3564 t1._captured_names_1 = t1._captured_names_1 + "$" + H.S($name);
3565 this._captured_namedArgumentList_2.push($name);
3566 this._captured_arguments_1.push(argument);
3567 ++t1._captured_argumentCount_0;
3568 }
3569 },
3376 TypeErrorDecoder: { 3570 TypeErrorDecoder: {
3377 "^": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver", 3571 "^": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver",
3378 matchTypeError$1: function(message) { 3572 matchTypeError$1: function(message) {
3379 var match, result, t1; 3573 var match, result, t1;
3380 match = new RegExp(this._pattern).exec(message); 3574 match = new RegExp(this._pattern).exec(message);
3381 if (match == null) 3575 if (match == null)
3382 return; 3576 return;
3383 result = Object.create(null); 3577 result = Object.create(null);
3384 t1 = this._arguments; 3578 t1 = this._arguments;
3385 if (t1 !== -1) 3579 if (t1 !== -1)
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
3458 }} 3652 }}
3459 }, 3653 },
3460 UnknownJsTypeError: { 3654 UnknownJsTypeError: {
3461 "^": "Error;_message", 3655 "^": "Error;_message",
3462 toString$0: function(_) { 3656 toString$0: function(_) {
3463 var t1 = this._message; 3657 var t1 = this._message;
3464 return C.JSString_methods.get$isEmpty(t1) ? "Error" : "Error: " + t1; 3658 return C.JSString_methods.get$isEmpty(t1) ? "Error" : "Error: " + t1;
3465 } 3659 }
3466 }, 3660 },
3467 unwrapException_saveStackTrace: { 3661 unwrapException_saveStackTrace: {
3468 "^": "Closure:2;_captured_ex_0", 3662 "^": "Closure:3;_captured_ex_0",
3469 call$1: function(error) { 3663 call$1: function(error) {
3470 if (!!J.getInterceptor(error).$isError) 3664 if (!!J.getInterceptor(error).$isError)
3471 if (error.$thrownJsError == null) 3665 if (error.$thrownJsError == null)
3472 error.$thrownJsError = this._captured_ex_0; 3666 error.$thrownJsError = this._captured_ex_0;
3473 return error; 3667 return error;
3474 } 3668 }
3475 }, 3669 },
3476 _StackTrace: { 3670 _StackTrace: {
3477 "^": "Object;_exception,__js_helper$_trace", 3671 "^": "Object;_exception,_trace",
3478 toString$0: function(_) { 3672 toString$0: function(_) {
3479 var t1, trace; 3673 var t1, trace;
3480 t1 = this.__js_helper$_trace; 3674 t1 = this._trace;
3481 if (t1 != null) 3675 if (t1 != null)
3482 return t1; 3676 return t1;
3483 t1 = this._exception; 3677 t1 = this._exception;
3484 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; 3678 trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
3485 t1 = trace == null ? "" : trace; 3679 t1 = trace == null ? "" : trace;
3486 this.__js_helper$_trace = t1; 3680 this._trace = t1;
3487 return t1; 3681 return t1;
3488 } 3682 }
3489 }, 3683 },
3490 invokeClosure_closure: { 3684 invokeClosure_closure: {
3491 "^": "Closure:0;_captured_closure_0", 3685 "^": "Closure:0;_captured_closure_0",
3492 call$0: function() { 3686 call$0: function() {
3493 return this._captured_closure_0.call$0(); 3687 return this._captured_closure_0.call$0();
3494 } 3688 }
3495 }, 3689 },
3496 invokeClosure_closure0: { 3690 invokeClosure_closure0: {
(...skipping 21 matching lines...) Expand all
3518 } 3712 }
3519 }, 3713 },
3520 Closure: { 3714 Closure: {
3521 "^": "Object;", 3715 "^": "Object;",
3522 toString$0: function(_) { 3716 toString$0: function(_) {
3523 return "Closure"; 3717 return "Closure";
3524 }, 3718 },
3525 get$$call: function() { 3719 get$$call: function() {
3526 return this; 3720 return this;
3527 }, 3721 },
3722 $isFunction: 1,
3528 get$$call: function() { 3723 get$$call: function() {
3529 return this; 3724 return this;
3530 } 3725 }
3531 }, 3726 },
3532 TearOffClosure: { 3727 TearOffClosure: {
3533 "^": "Closure;" 3728 "^": "Closure;"
3534 }, 3729 },
3535 BoundClosure: { 3730 BoundClosure: {
3536 "^": "TearOffClosure;_self,_target,_receiver,__js_helper$_name", 3731 "^": "TearOffClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
3537 $eq: function(_, other) { 3732 $eq: function(_, other) {
3538 if (other == null) 3733 if (other == null)
3539 return false; 3734 return false;
3540 if (this === other) 3735 if (this === other)
3541 return true; 3736 return true;
3542 if (!(other instanceof H.BoundClosure)) 3737 if (!(other instanceof H.BoundClosure))
3543 return false; 3738 return false;
3544 return this._self === other._self && this._target === other._target && thi s._receiver === other._receiver; 3739 return this._self === other._self && this.__js_helper$_target === other.__ js_helper$_target && this._receiver === other._receiver;
3545 }, 3740 },
3546 get$hashCode: function(_) { 3741 get$hashCode: function(_) {
3547 var t1, receiverHashCode; 3742 var t1, receiverHashCode;
3548 t1 = this._receiver; 3743 t1 = this._receiver;
3549 if (t1 == null) 3744 if (t1 == null)
3550 receiverHashCode = H.Primitives_objectHashCode(this._self); 3745 receiverHashCode = H.Primitives_objectHashCode(this._self);
3551 else 3746 else
3552 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Prim itives_objectHashCode(t1); 3747 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Prim itives_objectHashCode(t1);
3553 return (receiverHashCode ^ H.Primitives_objectHashCode(this._target)) >>> 0; 3748 return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_t arget)) >>> 0;
3554 }, 3749 },
3555 static: {BoundClosure_selfOf: function(closure) { 3750 static: {BoundClosure_selfOf: function(closure) {
3556 return closure._self; 3751 return closure._self;
3557 }, BoundClosure_receiverOf: function(closure) { 3752 }, BoundClosure_receiverOf: function(closure) {
3558 return closure._receiver; 3753 return closure._receiver;
3559 }, BoundClosure_selfFieldName: function() { 3754 }, BoundClosure_selfFieldName: function() {
3560 var t1 = $.BoundClosure_selfFieldNameCache; 3755 var t1 = $.BoundClosure_selfFieldNameCache;
3561 if (t1 == null) { 3756 if (t1 == null) {
3562 t1 = H.BoundClosure_computeFieldNamed("self"); 3757 t1 = H.BoundClosure_computeFieldNamed("self");
3563 $.BoundClosure_selfFieldNameCache = t1; 3758 $.BoundClosure_selfFieldNameCache = t1;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
3869 last._next = cell; 4064 last._next = cell;
3870 this._last = cell; 4065 this._last = cell;
3871 } 4066 }
3872 ++this.__js_helper$_length; 4067 ++this.__js_helper$_length;
3873 this._modifications = this._modifications + 1 & 67108863; 4068 this._modifications = this._modifications + 1 & 67108863;
3874 return cell; 4069 return cell;
3875 }, 4070 },
3876 _unlinkCell$1: function(cell) { 4071 _unlinkCell$1: function(cell) {
3877 var previous, next; 4072 var previous, next;
3878 previous = cell.get$_previous(); 4073 previous = cell.get$_previous();
3879 next = cell._next; 4074 next = cell.get$_next();
3880 if (previous == null) 4075 if (previous == null)
3881 this._first = next; 4076 this._first = next;
3882 else 4077 else
3883 previous._next = next; 4078 previous._next = next;
3884 if (next == null) 4079 if (next == null)
3885 this._last = previous; 4080 this._last = previous;
3886 else 4081 else
3887 next._previous = previous; 4082 next._previous = previous;
3888 --this.__js_helper$_length; 4083 --this.__js_helper$_length;
3889 this._modifications = this._modifications + 1 & 67108863; 4084 this._modifications = this._modifications + 1 & 67108863;
(...skipping 17 matching lines...) Expand all
3907 $isInternalMap: 1, 4102 $isInternalMap: 1,
3908 $isMap: 1, 4103 $isMap: 1,
3909 static: {JsLinkedHashMap__newHashTable: function() { 4104 static: {JsLinkedHashMap__newHashTable: function() {
3910 var table = Object.create(null); 4105 var table = Object.create(null);
3911 table["<non-identifier-key>"] = table; 4106 table["<non-identifier-key>"] = table;
3912 delete table["<non-identifier-key>"]; 4107 delete table["<non-identifier-key>"];
3913 return table; 4108 return table;
3914 }} 4109 }}
3915 }, 4110 },
3916 JsLinkedHashMap_values_closure: { 4111 JsLinkedHashMap_values_closure: {
3917 "^": "Closure:2;__js_helper$_captured_this_0", 4112 "^": "Closure:3;__js_helper$_captured_this_0",
3918 call$1: function(each) { 4113 call$1: [function(each) {
3919 return this.__js_helper$_captured_this_0.$index(0, each); 4114 return this.__js_helper$_captured_this_0.$index(0, each);
3920 } 4115 }, null, null, 2, 0, null, 11, "call"]
3921 }, 4116 },
3922 LinkedHashMapCell: { 4117 LinkedHashMapCell: {
3923 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next,_previous<" 4118 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next<,_previous<"
3924 }, 4119 },
3925 LinkedHashMapKeyIterable: { 4120 LinkedHashMapKeyIterable: {
3926 "^": "IterableBase;__js_helper$_map", 4121 "^": "IterableBase;__js_helper$_map",
3927 get$length: function(_) { 4122 get$length: function(_) {
3928 return this.__js_helper$_map.__js_helper$_length; 4123 return this.__js_helper$_map.__js_helper$_length;
3929 }, 4124 },
3930 get$isEmpty: function(_) { 4125 get$isEmpty: function(_) {
3931 return this.__js_helper$_map.__js_helper$_length === 0; 4126 return this.__js_helper$_map.__js_helper$_length === 0;
3932 }, 4127 },
3933 get$iterator: function(_) { 4128 get$iterator: function(_) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3970 return false; 4165 return false;
3971 } else { 4166 } else {
3972 this.__js_helper$_current = t1.hashMapCellKey; 4167 this.__js_helper$_current = t1.hashMapCellKey;
3973 this._cell = t1._next; 4168 this._cell = t1._next;
3974 return true; 4169 return true;
3975 } 4170 }
3976 } 4171 }
3977 } 4172 }
3978 }, 4173 },
3979 initHooks_closure: { 4174 initHooks_closure: {
3980 "^": "Closure:2;_captured_getTag_0", 4175 "^": "Closure:3;_captured_getTag_0",
3981 call$1: function(o) { 4176 call$1: function(o) {
3982 return this._captured_getTag_0(o); 4177 return this._captured_getTag_0(o);
3983 } 4178 }
3984 }, 4179 },
3985 initHooks_closure0: { 4180 initHooks_closure0: {
3986 "^": "Closure:3;_captured_getUnknownTag_1", 4181 "^": "Closure:5;_captured_getUnknownTag_1",
3987 call$2: function(o, tag) { 4182 call$2: function(o, tag) {
3988 return this._captured_getUnknownTag_1(o, tag); 4183 return this._captured_getUnknownTag_1(o, tag);
3989 } 4184 }
3990 }, 4185 },
3991 initHooks_closure1: { 4186 initHooks_closure1: {
3992 "^": "Closure:4;_captured_prototypeForTag_2", 4187 "^": "Closure:6;_captured_prototypeForTag_2",
3993 call$1: function(tag) { 4188 call$1: function(tag) {
3994 return this._captured_prototypeForTag_2(tag); 4189 return this._captured_prototypeForTag_2(tag);
3995 } 4190 }
3996 }, 4191 },
3997 JSSyntaxRegExp: { 4192 JSSyntaxRegExp: {
3998 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp ", 4193 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp ",
3999 toString$0: function(_) { 4194 toString$0: function(_) {
4000 return "RegExp/" + this.pattern + "/"; 4195 return "RegExp/" + this.pattern + "/";
4001 }, 4196 },
4002 get$_nativeGlobalVersion: function() { 4197 get$_nativeGlobalVersion: function() {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
4052 t1 = match.length; 4247 t1 = match.length;
4053 t2 = t1 - 1; 4248 t2 = t1 - 1;
4054 if (t2 < 0) 4249 if (t2 < 0)
4055 return H.ioore(match, t2); 4250 return H.ioore(match, t2);
4056 if (match[t2] != null) 4251 if (match[t2] != null)
4057 return; 4252 return;
4058 C.JSArray_methods.set$length(match, t2); 4253 C.JSArray_methods.set$length(match, t2);
4059 return H._MatchImplementation$(this, match); 4254 return H._MatchImplementation$(this, match);
4060 }, 4255 },
4061 matchAsPrefix$2: function(_, string, start) { 4256 matchAsPrefix$2: function(_, string, start) {
4062 if (start < 0 || start > string.length) 4257 var t1 = J.getInterceptor$n(start);
4258 if (t1.$lt(start, 0) || t1.$gt(start, string.length))
4063 throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null)); 4259 throw H.wrapException(P.RangeError$range(start, 0, string.length, null, null));
4064 return this._execAnchored$2(string, start); 4260 return this._execAnchored$2(string, start);
4065 }, 4261 },
4066 $isRegExp: 1, 4262 $isRegExp: 1,
4067 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitiv e, global) { 4263 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitiv e, global) {
4068 var m, i, g, regexp; 4264 var m, i, g, regexp;
4069 H.checkString(source); 4265 H.checkString(source);
4070 m = multiLine ? "m" : ""; 4266 m = multiLine ? "m" : "";
4071 i = caseSensitive ? "" : "i"; 4267 i = caseSensitive ? "" : "i";
4072 g = global ? "g" : ""; 4268 g = global ? "g" : "";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4106 }, 4302 },
4107 _MatchImplementation$2: function(pattern, _match) { 4303 _MatchImplementation$2: function(pattern, _match) {
4108 }, 4304 },
4109 static: {_MatchImplementation$: function(pattern, _match) { 4305 static: {_MatchImplementation$: function(pattern, _match) {
4110 var t1 = new H._MatchImplementation(pattern, _match); 4306 var t1 = new H._MatchImplementation(pattern, _match);
4111 t1._MatchImplementation$2(pattern, _match); 4307 t1._MatchImplementation$2(pattern, _match);
4112 return t1; 4308 return t1;
4113 }} 4309 }}
4114 }, 4310 },
4115 _AllMatchesIterable: { 4311 _AllMatchesIterable: {
4116 "^": "IterableBase;_re,_string,_start", 4312 "^": "IterableBase;_re,__js_helper$_string,_start",
4117 get$iterator: function(_) { 4313 get$iterator: function(_) {
4118 return new H._AllMatchesIterator(this._re, this._string, this._start, null ); 4314 return new H._AllMatchesIterator(this._re, this.__js_helper$_string, this. _start, null);
4119 }, 4315 },
4120 $asIterableBase: function() { 4316 $asIterableBase: function() {
4121 return [P.Match]; 4317 return [P.Match];
4122 } 4318 }
4123 }, 4319 },
4124 _AllMatchesIterator: { 4320 _AllMatchesIterator: {
4125 "^": "Object;_regExp,_string,_nextIndex,__js_helper$_current", 4321 "^": "Object;_regExp,__js_helper$_string,_nextIndex,__js_helper$_current",
4126 get$current: function() { 4322 get$current: function() {
4127 return this.__js_helper$_current; 4323 return this.__js_helper$_current;
4128 }, 4324 },
4129 moveNext$0: function() { 4325 moveNext$0: function() {
4130 var t1, t2, match, t3, nextIndex; 4326 var t1, t2, match, t3, nextIndex;
4131 t1 = this._string; 4327 t1 = this.__js_helper$_string;
4132 if (t1 == null) 4328 if (t1 == null)
4133 return false; 4329 return false;
4134 t2 = this._nextIndex; 4330 t2 = this._nextIndex;
4135 if (t2 <= t1.length) { 4331 if (t2 <= t1.length) {
4136 match = this._regExp._execGlobal$2(t1, t2); 4332 match = this._regExp._execGlobal$2(t1, t2);
4137 if (match != null) { 4333 if (match != null) {
4138 this.__js_helper$_current = match; 4334 this.__js_helper$_current = match;
4139 t1 = match._match; 4335 t1 = match._match;
4140 t2 = t1.index; 4336 t2 = t1.index;
4141 if (0 >= t1.length) 4337 if (0 >= t1.length)
4142 return H.ioore(t1, 0); 4338 return H.ioore(t1, 0);
4143 t3 = J.get$length$asx(t1[0]); 4339 t3 = J.get$length$asx(t1[0]);
4144 if (typeof t3 !== "number") 4340 if (typeof t3 !== "number")
4145 return H.iae(t3); 4341 return H.iae(t3);
4146 nextIndex = t2 + t3; 4342 nextIndex = t2 + t3;
4147 this._nextIndex = t1.index === nextIndex ? nextIndex + 1 : nextIndex; 4343 this._nextIndex = t1.index === nextIndex ? nextIndex + 1 : nextIndex;
4148 return true; 4344 return true;
4149 } 4345 }
4150 } 4346 }
4151 this.__js_helper$_current = null; 4347 this.__js_helper$_current = null;
4152 this._string = null; 4348 this.__js_helper$_string = null;
4153 return false; 4349 return false;
4154 } 4350 }
4155 }, 4351 },
4156 StringMatch: { 4352 StringMatch: {
4157 "^": "Object;start>,input,pattern", 4353 "^": "Object;start>,input,pattern",
4158 get$end: function() { 4354 get$end: function() {
4159 return this.start + this.pattern.length; 4355 return J.$add$ns(this.start, this.pattern.length);
4160 }, 4356 },
4161 $index: function(_, g) { 4357 $index: function(_, g) {
4162 if (g !== 0) 4358 if (g !== 0)
4163 H.throwExpression(P.RangeError$value(g, null, null)); 4359 H.throwExpression(P.RangeError$value(g, null, null));
4164 return this.pattern; 4360 return this.pattern;
4165 } 4361 }
4166 } 4362 }
4167 }], 4363 }],
4168 ["dart._internal", "dart:_internal", , H, { 4364 ["dart._internal", "dart:_internal", , H, {
4169 "^": "", 4365 "^": "",
4170 IterableElementError_noElement: function() { 4366 IterableElementError_noElement: function() {
4171 return new P.StateError("No element"); 4367 return new P.StateError("No element");
4172 }, 4368 },
4173 IterableElementError_tooFew: function() { 4369 IterableElementError_tooFew: function() {
4174 return new P.StateError("Too few elements"); 4370 return new P.StateError("Too few elements");
4175 }, 4371 },
4176 Symbol_getName: function(symbol) {
4177 return symbol.get$_name();
4178 },
4179 CodeUnits: { 4372 CodeUnits: {
4180 "^": "UnmodifiableListBase;__internal$_string", 4373 "^": "UnmodifiableListBase;_string",
4181 get$length: function(_) { 4374 get$length: function(_) {
4182 return this.__internal$_string.length; 4375 return this._string.length;
4183 }, 4376 },
4184 $index: function(_, i) { 4377 $index: function(_, i) {
4185 return C.JSString_methods.codeUnitAt$1(this.__internal$_string, i); 4378 return C.JSString_methods.codeUnitAt$1(this._string, i);
4186 }, 4379 },
4187 $asUnmodifiableListBase: function() { 4380 $asUnmodifiableListBase: function() {
4188 return [P.$int]; 4381 return [P.$int];
4189 }, 4382 },
4190 $asListBase: function() { 4383 $asListBase: function() {
4191 return [P.$int]; 4384 return [P.$int];
4192 }, 4385 },
4193 $asList: function() { 4386 $asList: function() {
4194 return [P.$int]; 4387 return [P.$int];
4195 } 4388 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
4289 result[i] = t1; 4482 result[i] = t1;
4290 } 4483 }
4291 return result; 4484 return result;
4292 }, 4485 },
4293 toList$0: function($receiver) { 4486 toList$0: function($receiver) {
4294 return this.toList$1$growable($receiver, true); 4487 return this.toList$1$growable($receiver, true);
4295 }, 4488 },
4296 $isEfficientLength: 1 4489 $isEfficientLength: 1
4297 }, 4490 },
4298 SubListIterable: { 4491 SubListIterable: {
4299 "^": "ListIterable;__internal$_iterable,__internal$_start,_endOrLength", 4492 "^": "ListIterable;_iterable,__internal$_start,_endOrLength",
4300 get$_endIndex: function() { 4493 get$_endIndex: function() {
4301 var $length, t1, t2; 4494 var $length, t1, t2;
4302 $length = J.get$length$asx(this.__internal$_iterable); 4495 $length = J.get$length$asx(this._iterable);
4303 t1 = this._endOrLength; 4496 t1 = this._endOrLength;
4304 if (t1 != null) { 4497 if (t1 != null) {
4305 if (typeof t1 !== "number") 4498 if (typeof t1 !== "number")
4306 return t1.$gt(); 4499 return t1.$gt();
4307 t2 = t1 > $length; 4500 t2 = t1 > $length;
4308 } else 4501 } else
4309 t2 = true; 4502 t2 = true;
4310 if (t2) 4503 if (t2)
4311 return $length; 4504 return $length;
4312 return t1; 4505 return t1;
4313 }, 4506 },
4314 get$_startIndex: function() { 4507 get$_startIndex: function() {
4315 var $length, t1; 4508 var $length, t1;
4316 $length = J.get$length$asx(this.__internal$_iterable); 4509 $length = J.get$length$asx(this._iterable);
4317 t1 = this.__internal$_start; 4510 t1 = this.__internal$_start;
4318 if (t1 > $length) 4511 if (t1 > $length)
4319 return $length; 4512 return $length;
4320 return t1; 4513 return t1;
4321 }, 4514 },
4322 get$length: function(_) { 4515 get$length: function(_) {
4323 var $length, t1, t2, t3; 4516 var $length, t1, t2, t3;
4324 $length = J.get$length$asx(this.__internal$_iterable); 4517 $length = J.get$length$asx(this._iterable);
4325 t1 = this.__internal$_start; 4518 t1 = this.__internal$_start;
4326 if (t1 >= $length) 4519 if (t1 >= $length)
4327 return 0; 4520 return 0;
4328 t2 = this._endOrLength; 4521 t2 = this._endOrLength;
4329 if (t2 != null) { 4522 if (t2 != null) {
4330 if (typeof t2 !== "number") 4523 if (typeof t2 !== "number")
4331 return t2.$ge(); 4524 return t2.$ge();
4332 t3 = t2 >= $length; 4525 t3 = t2 >= $length;
4333 } else 4526 } else
4334 t3 = true; 4527 t3 = true;
4335 if (t3) 4528 if (t3)
4336 return $length - t1; 4529 return $length - t1;
4337 if (typeof t2 !== "number") 4530 if (typeof t2 !== "number")
4338 return t2.$sub(); 4531 return t2.$sub();
4339 return t2 - t1; 4532 return t2 - t1;
4340 }, 4533 },
4341 elementAt$1: function(_, index) { 4534 elementAt$1: function(_, index) {
4342 var realIndex, t1; 4535 var realIndex, t1;
4343 realIndex = this.get$_startIndex() + index; 4536 realIndex = this.get$_startIndex() + index;
4344 if (index >= 0) { 4537 if (index >= 0) {
4345 t1 = this.get$_endIndex(); 4538 t1 = this.get$_endIndex();
4346 if (typeof t1 !== "number") 4539 if (typeof t1 !== "number")
4347 return H.iae(t1); 4540 return H.iae(t1);
4348 t1 = realIndex >= t1; 4541 t1 = realIndex >= t1;
4349 } else 4542 } else
4350 t1 = true; 4543 t1 = true;
4351 if (t1) 4544 if (t1)
4352 throw H.wrapException(P.IndexError$(index, this, "index", null, null)); 4545 throw H.wrapException(P.IndexError$(index, this, "index", null, null));
4353 return J.elementAt$1$ax(this.__internal$_iterable, realIndex); 4546 return J.elementAt$1$ax(this._iterable, realIndex);
4547 },
4548 take$1: function(_, count) {
4549 var t1, t2, newEnd;
4550 if (count < 0)
4551 H.throwExpression(P.RangeError$range(count, 0, null, "count", null));
4552 t1 = this._endOrLength;
4553 t2 = this.__internal$_start;
4554 if (t1 == null)
4555 return H.SubListIterable$(this._iterable, t2, t2 + count, H.getTypeArgum entByIndex(this, 0));
4556 else {
4557 newEnd = t2 + count;
4558 if (typeof t1 !== "number")
4559 return t1.$lt();
4560 if (t1 < newEnd)
4561 return this;
4562 return H.SubListIterable$(this._iterable, t2, newEnd, H.getTypeArgumentB yIndex(this, 0));
4563 }
4354 }, 4564 },
4355 SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { 4565 SubListIterable$3: function(_iterable, _start, _endOrLength, $E) {
4356 var t1, t2; 4566 var t1, t2;
4357 t1 = this.__internal$_start; 4567 t1 = this.__internal$_start;
4358 if (t1 < 0) 4568 if (t1 < 0)
4359 H.throwExpression(P.RangeError$range(t1, 0, null, "start", null)); 4569 H.throwExpression(P.RangeError$range(t1, 0, null, "start", null));
4360 t2 = this._endOrLength; 4570 t2 = this._endOrLength;
4361 if (t2 != null) { 4571 if (t2 != null) {
4362 if (typeof t2 !== "number") 4572 if (typeof t2 !== "number")
4363 return t2.$lt(); 4573 return t2.$lt();
4364 if (t2 < 0) 4574 if (t2 < 0)
4365 H.throwExpression(P.RangeError$range(t2, 0, null, "end", null)); 4575 H.throwExpression(P.RangeError$range(t2, 0, null, "end", null));
4366 if (t1 > t2) 4576 if (t1 > t2)
4367 throw H.wrapException(P.RangeError$range(t1, 0, t2, "start", null)); 4577 throw H.wrapException(P.RangeError$range(t1, 0, t2, "start", null));
4368 } 4578 }
4369 }, 4579 },
4370 static: {SubListIterable$: function(_iterable, _start, _endOrLength, $E) { 4580 static: {SubListIterable$: function(_iterable, _start, _endOrLength, $E) {
4371 var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start, _ endOrLength), [$E]); 4581 var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start, _ endOrLength), [$E]);
4372 t1.SubListIterable$3(_iterable, _start, _endOrLength, $E); 4582 t1.SubListIterable$3(_iterable, _start, _endOrLength, $E);
4373 return t1; 4583 return t1;
4374 }} 4584 }}
4375 }, 4585 },
4376 ListIterator: { 4586 ListIterator: {
4377 "^": "Object;__internal$_iterable,__internal$_length,__internal$_index,_curr ent", 4587 "^": "Object;_iterable,__internal$_length,_index,__internal$_current",
4378 get$current: function() { 4588 get$current: function() {
4379 return this._current; 4589 return this.__internal$_current;
4380 }, 4590 },
4381 moveNext$0: function() { 4591 moveNext$0: function() {
4382 var t1, t2, $length, t3; 4592 var t1, t2, $length, t3;
4383 t1 = this.__internal$_iterable; 4593 t1 = this._iterable;
4384 t2 = J.getInterceptor$asx(t1); 4594 t2 = J.getInterceptor$asx(t1);
4385 $length = t2.get$length(t1); 4595 $length = t2.get$length(t1);
4386 if (this.__internal$_length !== $length) 4596 if (this.__internal$_length !== $length)
4387 throw H.wrapException(P.ConcurrentModificationError$(t1)); 4597 throw H.wrapException(P.ConcurrentModificationError$(t1));
4388 t3 = this.__internal$_index; 4598 t3 = this._index;
4389 if (t3 >= $length) { 4599 if (t3 >= $length) {
4390 this._current = null; 4600 this.__internal$_current = null;
4391 return false; 4601 return false;
4392 } 4602 }
4393 this._current = t2.elementAt$1(t1, t3); 4603 this.__internal$_current = t2.elementAt$1(t1, t3);
4394 ++this.__internal$_index; 4604 ++this._index;
4395 return true; 4605 return true;
4396 } 4606 }
4397 }, 4607 },
4398 MappedIterable: { 4608 MappedIterable: {
4399 "^": "IterableBase;__internal$_iterable,_f", 4609 "^": "IterableBase;_iterable,_f",
4400 get$iterator: function(_) { 4610 get$iterator: function(_) {
4401 var t1 = new H.MappedIterator(null, J.get$iterator$ax(this.__internal$_ite rable), this._f); 4611 var t1 = new H.MappedIterator(null, J.get$iterator$ax(this._iterable), thi s._f);
4402 t1.$builtinTypeInfo = this.$builtinTypeInfo; 4612 t1.$builtinTypeInfo = this.$builtinTypeInfo;
4403 return t1; 4613 return t1;
4404 }, 4614 },
4405 get$length: function(_) { 4615 get$length: function(_) {
4406 return J.get$length$asx(this.__internal$_iterable); 4616 return J.get$length$asx(this._iterable);
4407 }, 4617 },
4408 get$isEmpty: function(_) { 4618 get$isEmpty: function(_) {
4409 return J.get$isEmpty$asx(this.__internal$_iterable); 4619 return J.get$isEmpty$asx(this._iterable);
4410 }, 4620 },
4411 get$last: function(_) { 4621 get$last: function(_) {
4412 return this._f$1(J.get$last$ax(this.__internal$_iterable)); 4622 return this._f$1(J.get$last$ax(this._iterable));
4413 }, 4623 },
4414 _f$1: function(arg0) { 4624 _f$1: function(arg0) {
4415 return this._f.call$1(arg0); 4625 return this._f.call$1(arg0);
4416 }, 4626 },
4417 $asIterableBase: function($S, $T) { 4627 $asIterableBase: function($S, $T) {
4418 return [$T]; 4628 return [$T];
4419 }, 4629 },
4420 static: {MappedIterable_MappedIterable: function(iterable, $function, $S, $T ) { 4630 static: {MappedIterable_MappedIterable: function(iterable, $function, $S, $T ) {
4421 if (!!J.getInterceptor(iterable).$isEfficientLength) 4631 if (!!J.getInterceptor(iterable).$isEfficientLength)
4422 return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iterab le, $function), [$S, $T]); 4632 return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iterab le, $function), [$S, $T]);
4423 return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function), [ $S, $T]); 4633 return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function), [ $S, $T]);
4424 }} 4634 }}
4425 }, 4635 },
4426 EfficientLengthMappedIterable: { 4636 EfficientLengthMappedIterable: {
4427 "^": "MappedIterable;__internal$_iterable,_f", 4637 "^": "MappedIterable;_iterable,_f",
4428 $isEfficientLength: 1 4638 $isEfficientLength: 1
4429 }, 4639 },
4430 MappedIterator: { 4640 MappedIterator: {
4431 "^": "Iterator;_current,_iterator,_f", 4641 "^": "Iterator;__internal$_current,_iterator,_f",
4432 moveNext$0: function() { 4642 moveNext$0: function() {
4433 var t1 = this._iterator; 4643 var t1 = this._iterator;
4434 if (t1.moveNext$0()) { 4644 if (t1.moveNext$0()) {
4435 this._current = this._f$1(t1.get$current()); 4645 this.__internal$_current = this._f$1(t1.get$current());
4436 return true; 4646 return true;
4437 } 4647 }
4438 this._current = null; 4648 this.__internal$_current = null;
4439 return false; 4649 return false;
4440 }, 4650 },
4441 get$current: function() { 4651 get$current: function() {
4442 return this._current; 4652 return this.__internal$_current;
4443 }, 4653 },
4444 _f$1: function(arg0) { 4654 _f$1: function(arg0) {
4445 return this._f.call$1(arg0); 4655 return this._f.call$1(arg0);
4446 } 4656 }
4447 }, 4657 },
4448 MappedListIterable: { 4658 MappedListIterable: {
4449 "^": "ListIterable;_source,_f", 4659 "^": "ListIterable;_source,_f",
4450 get$length: function(_) { 4660 get$length: function(_) {
4451 return J.get$length$asx(this._source); 4661 return J.get$length$asx(this._source);
4452 }, 4662 },
4453 elementAt$1: function(_, index) { 4663 elementAt$1: function(_, index) {
4454 return this._f$1(J.elementAt$1$ax(this._source, index)); 4664 return this._f$1(J.elementAt$1$ax(this._source, index));
4455 }, 4665 },
4456 _f$1: function(arg0) { 4666 _f$1: function(arg0) {
4457 return this._f.call$1(arg0); 4667 return this._f.call$1(arg0);
4458 }, 4668 },
4459 $asListIterable: function($S, $T) { 4669 $asListIterable: function($S, $T) {
4460 return [$T]; 4670 return [$T];
4461 }, 4671 },
4462 $asIterableBase: function($S, $T) { 4672 $asIterableBase: function($S, $T) {
4463 return [$T]; 4673 return [$T];
4464 }, 4674 },
4465 $isEfficientLength: 1 4675 $isEfficientLength: 1
4466 }, 4676 },
4467 WhereIterable: { 4677 WhereIterable: {
4468 "^": "IterableBase;__internal$_iterable,_f", 4678 "^": "IterableBase;_iterable,_f",
4469 get$iterator: function(_) { 4679 get$iterator: function(_) {
4470 var t1 = new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f); 4680 var t1 = new H.WhereIterator(J.get$iterator$ax(this._iterable), this._f);
4471 t1.$builtinTypeInfo = this.$builtinTypeInfo; 4681 t1.$builtinTypeInfo = this.$builtinTypeInfo;
4472 return t1; 4682 return t1;
4473 } 4683 }
4474 }, 4684 },
4475 WhereIterator: { 4685 WhereIterator: {
4476 "^": "Iterator;_iterator,_f", 4686 "^": "Iterator;_iterator,_f",
4477 moveNext$0: function() { 4687 moveNext$0: function() {
4478 for (var t1 = this._iterator; t1.moveNext$0();) 4688 for (var t1 = this._iterator; t1.moveNext$0();)
4479 if (this._f$1(t1.get$current()) === true) 4689 if (this._f$1(t1.get$current()) === true)
4480 return true; 4690 return true;
4481 return false; 4691 return false;
4482 }, 4692 },
4483 get$current: function() { 4693 get$current: function() {
4484 return this._iterator.get$current(); 4694 return this._iterator.get$current();
4485 }, 4695 },
4486 _f$1: function(arg0) { 4696 _f$1: function(arg0) {
4487 return this._f.call$1(arg0); 4697 return this._f.call$1(arg0);
4488 } 4698 }
4489 }, 4699 },
4490 SkipWhileIterable: { 4700 SkipWhileIterable: {
4491 "^": "IterableBase;__internal$_iterable,_f", 4701 "^": "IterableBase;_iterable,_f",
4492 get$iterator: function(_) { 4702 get$iterator: function(_) {
4493 var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterab le), this._f, false); 4703 var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this._iterable), this._ f, false);
4494 t1.$builtinTypeInfo = this.$builtinTypeInfo; 4704 t1.$builtinTypeInfo = this.$builtinTypeInfo;
4495 return t1; 4705 return t1;
4496 } 4706 }
4497 }, 4707 },
4498 SkipWhileIterator: { 4708 SkipWhileIterator: {
4499 "^": "Iterator;_iterator,_f,_hasSkipped", 4709 "^": "Iterator;_iterator,_f,_hasSkipped",
4500 moveNext$0: function() { 4710 moveNext$0: function() {
4501 if (!this._hasSkipped) { 4711 if (!this._hasSkipped) {
4502 this._hasSkipped = true; 4712 this._hasSkipped = true;
4503 for (var t1 = this._iterator; t1.moveNext$0();) 4713 for (var t1 = this._iterator; t1.moveNext$0();)
4504 if (this._f$1(t1.get$current()) !== true) 4714 if (this._f$1(t1.get$current()) !== true)
4505 return true; 4715 return true;
4506 } 4716 }
4507 return this._iterator.moveNext$0(); 4717 return this._iterator.moveNext$0();
4508 }, 4718 },
4509 get$current: function() { 4719 get$current: function() {
4510 return this._iterator.get$current(); 4720 return this._iterator.get$current();
4511 }, 4721 },
4512 _f$1: function(arg0) { 4722 _f$1: function(arg0) {
4513 return this._f.call$1(arg0); 4723 return this._f.call$1(arg0);
4514 } 4724 }
4515 }, 4725 },
4516 FixedLengthListMixin: { 4726 FixedLengthListMixin: {
4517 "^": "Object;", 4727 "^": "Object;",
4518 set$length: function(receiver, newLength) { 4728 set$length: function(receiver, newLength) {
4519 throw H.wrapException(P.UnsupportedError$("Cannot change the length of a f ixed-length list")); 4729 throw H.wrapException(P.UnsupportedError$("Cannot change the length of a f ixed-length list"));
4520 }, 4730 },
4521 add$1: function(receiver, value) { 4731 add$1: function(receiver, value) {
4522 throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length li st")); 4732 throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length li st"));
4733 },
4734 replaceRange$3: function(receiver, start, end, iterable) {
4735 throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-leng th list"));
4523 } 4736 }
4524 }, 4737 },
4525 UnmodifiableListMixin: { 4738 UnmodifiableListMixin: {
4526 "^": "Object;", 4739 "^": "Object;",
4527 $indexSet: function(_, index, value) { 4740 $indexSet: function(_, index, value) {
4528 throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable l ist")); 4741 throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable l ist"));
4529 }, 4742 },
4530 set$length: function(_, newLength) { 4743 set$length: function(_, newLength) {
4531 throw H.wrapException(P.UnsupportedError$("Cannot change the length of an unmodifiable list")); 4744 throw H.wrapException(P.UnsupportedError$("Cannot change the length of an unmodifiable list"));
4532 }, 4745 },
4533 add$1: function(_, value) { 4746 add$1: function(_, value) {
4534 throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable l ist")); 4747 throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable l ist"));
4535 }, 4748 },
4749 setRange$4: function(_, start, end, iterable, skipCount) {
4750 throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable l ist"));
4751 },
4752 setRange$3: function($receiver, start, end, iterable) {
4753 return this.setRange$4($receiver, start, end, iterable, 0);
4754 },
4755 replaceRange$3: function(_, start, end, iterable) {
4756 throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifia ble list"));
4757 },
4536 $isList: 1, 4758 $isList: 1,
4537 $asList: null, 4759 $asList: null,
4538 $isEfficientLength: 1 4760 $isEfficientLength: 1
4539 }, 4761 },
4540 UnmodifiableListBase: { 4762 UnmodifiableListBase: {
4541 "^": "ListBase+UnmodifiableListMixin;", 4763 "^": "ListBase+UnmodifiableListMixin;",
4542 $isList: 1, 4764 $isList: 1,
4543 $asList: null, 4765 $asList: null,
4544 $isEfficientLength: 1 4766 $isEfficientLength: 1
4545 }, 4767 },
4546 ReversedListIterable: { 4768 ReversedListIterable: {
4547 "^": "ListIterable;_source", 4769 "^": "ListIterable;_source",
4548 get$length: function(_) { 4770 get$length: function(_) {
4549 return J.get$length$asx(this._source); 4771 return J.get$length$asx(this._source);
4550 }, 4772 },
4551 elementAt$1: function(_, index) { 4773 elementAt$1: function(_, index) {
4552 var t1, t2; 4774 var t1, t2;
4553 t1 = this._source; 4775 t1 = this._source;
4554 t2 = J.getInterceptor$asx(t1); 4776 t2 = J.getInterceptor$asx(t1);
4555 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); 4777 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
4556 } 4778 }
4779 },
4780 Symbol0: {
4781 "^": "Object;_name<",
4782 $eq: function(_, other) {
4783 if (other == null)
4784 return false;
4785 return other instanceof H.Symbol0 && J.$eq(this._name, other._name);
4786 },
4787 get$hashCode: function(_) {
4788 return 536870911 & 664597 * J.get$hashCode$(this._name);
4789 },
4790 toString$0: function(_) {
4791 return "Symbol(\"" + H.S(this._name) + "\")";
4792 }
4557 } 4793 }
4558 }], 4794 }],
4559 ["dart._js_names", "dart:_js_names", , H, { 4795 ["dart._js_names", "dart:_js_names", , H, {
4560 "^": "", 4796 "^": "",
4561 extractKeys: function(victim) { 4797 extractKeys: function(victim) {
4562 var t1 = H.setRuntimeTypeInfo(victim ? Object.keys(victim) : [], [null]); 4798 var t1 = H.setRuntimeTypeInfo(victim ? Object.keys(victim) : [], [null]);
4563 t1.fixed$length = Array; 4799 t1.fixed$length = Array;
4564 return t1; 4800 return t1;
4565 } 4801 }
4566 }], 4802 }],
(...skipping 10 matching lines...) Expand all
4577 t1._captured_storedCallback_0 = null; 4813 t1._captured_storedCallback_0 = null;
4578 new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initia lizeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); 4814 new self.MutationObserver(H.convertDartClosureToJS(new P._AsyncRun__initia lizeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
4579 return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span) ; 4815 return new P._AsyncRun__initializeScheduleImmediate_closure(t1, div, span) ;
4580 } else if (self.setImmediate != null) 4816 } else if (self.setImmediate != null)
4581 return P._AsyncRun__scheduleImmediateWithSetImmediate$closure(); 4817 return P._AsyncRun__scheduleImmediateWithSetImmediate$closure();
4582 return P._AsyncRun__scheduleImmediateWithTimer$closure(); 4818 return P._AsyncRun__scheduleImmediateWithTimer$closure();
4583 }, 4819 },
4584 _AsyncRun__scheduleImmediateJsOverride: [function(callback) { 4820 _AsyncRun__scheduleImmediateJsOverride: [function(callback) {
4585 ++init.globalState.topEventLoop._activeJsAsyncCount; 4821 ++init.globalState.topEventLoop._activeJsAsyncCount;
4586 self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImm ediateJsOverride_internalCallback(callback), 0)); 4822 self.scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImm ediateJsOverride_internalCallback(callback), 0));
4587 }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 35], 4823 }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 36],
4588 _AsyncRun__scheduleImmediateWithSetImmediate: [function(callback) { 4824 _AsyncRun__scheduleImmediateWithSetImmediate: [function(callback) {
4589 ++init.globalState.topEventLoop._activeJsAsyncCount; 4825 ++init.globalState.topEventLoop._activeJsAsyncCount;
4590 self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediat eWithSetImmediate_internalCallback(callback), 0)); 4826 self.setImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediat eWithSetImmediate_internalCallback(callback), 0));
4591 }, "call$1", "_AsyncRun__scheduleImmediateWithSetImmediate$closure", 2, 0, 35] , 4827 }, "call$1", "_AsyncRun__scheduleImmediateWithSetImmediate$closure", 2, 0, 36] ,
4592 _AsyncRun__scheduleImmediateWithTimer: [function(callback) { 4828 _AsyncRun__scheduleImmediateWithTimer: [function(callback) {
4593 P.Timer__createTimer(C.Duration_0, callback); 4829 P.Timer__createTimer(C.Duration_0, callback);
4594 }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 35], 4830 }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 36],
4595 _registerErrorHandler: function(errorHandler, zone) { 4831 _registerErrorHandler: function(errorHandler, zone) {
4596 var t1 = H.getDynamicRuntimeType(); 4832 var t1 = H.getDynamicRuntimeType();
4597 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); 4833 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler);
4598 if (t1) 4834 if (t1)
4599 return zone.registerBinaryCallback$1(errorHandler); 4835 return zone.registerBinaryCallback$1(errorHandler);
4600 else 4836 else
4601 return zone.registerUnaryCallback$1(errorHandler); 4837 return zone.registerUnaryCallback$1(errorHandler);
4602 }, 4838 },
4603 _completeWithErrorCallback: function(result, error, stackTrace) { 4839 _completeWithErrorCallback: function(result, error, stackTrace) {
4604 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); 4840 var replacement = $.Zone__current.errorCallback$2(error, stackTrace);
(...skipping 18 matching lines...) Expand all
4623 _asyncRunCallback: [function() { 4859 _asyncRunCallback: [function() {
4624 $._isInCallbackLoop = true; 4860 $._isInCallbackLoop = true;
4625 try { 4861 try {
4626 P._asyncRunCallbackLoop(); 4862 P._asyncRunCallbackLoop();
4627 } finally { 4863 } finally {
4628 $._lastPriorityCallback = null; 4864 $._lastPriorityCallback = null;
4629 $._isInCallbackLoop = false; 4865 $._isInCallbackLoop = false;
4630 if ($._nextCallback != null) 4866 if ($._nextCallback != null)
4631 $.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$cl osure()); 4867 $.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$cl osure());
4632 } 4868 }
4633 }, "call$0", "_asyncRunCallback$closure", 0, 0, 1], 4869 }, "call$0", "_asyncRunCallback$closure", 0, 0, 2],
4634 _scheduleAsyncCallback: function(callback) { 4870 _scheduleAsyncCallback: function(callback) {
4635 var t1, newEntry; 4871 var t1, newEntry;
4636 if ($._nextCallback == null) { 4872 if ($._nextCallback == null) {
4637 t1 = new P._AsyncCallbackEntry(callback, null); 4873 t1 = new P._AsyncCallbackEntry(callback, null);
4638 $._lastCallback = t1; 4874 $._lastCallback = t1;
4639 $._nextCallback = t1; 4875 $._nextCallback = t1;
4640 if (!$._isInCallbackLoop) 4876 if (!$._isInCallbackLoop)
4641 $.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$cl osure()); 4877 $.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$cl osure());
4642 } else { 4878 } else {
4643 newEntry = new P._AsyncCallbackEntry(callback, null); 4879 newEntry = new P._AsyncCallbackEntry(callback, null);
(...skipping 27 matching lines...) Expand all
4671 t1 = H.unwrapException(exception); 4907 t1 = H.unwrapException(exception);
4672 e = t1; 4908 e = t1;
4673 s = H.getTraceFromException(exception); 4909 s = H.getTraceFromException(exception);
4674 $.Zone__current.handleUncaughtError$2(e, s); 4910 $.Zone__current.handleUncaughtError$2(e, s);
4675 } 4911 }
4676 }, 4912 },
4677 _AddStreamState_makeErrorHandler: function(controller) { 4913 _AddStreamState_makeErrorHandler: function(controller) {
4678 return new P._AddStreamState_makeErrorHandler_closure(controller); 4914 return new P._AddStreamState_makeErrorHandler_closure(controller);
4679 }, 4915 },
4680 _nullDataHandler: [function(value) { 4916 _nullDataHandler: [function(value) {
4681 }, "call$1", "_nullDataHandler$closure", 2, 0, 53], 4917 }, "call$1", "_nullDataHandler$closure", 2, 0, 53, 12],
4682 _nullErrorHandler: [function(error, stackTrace) { 4918 _nullErrorHandler: [function(error, stackTrace) {
4683 $.Zone__current.handleUncaughtError$2(error, stackTrace); 4919 $.Zone__current.handleUncaughtError$2(error, stackTrace);
4684 }, function(error) { 4920 }, function(error) {
4685 return P._nullErrorHandler(error, null); 4921 return P._nullErrorHandler(error, null);
4686 }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 6, 0], 4922 }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 8, 13, 14, 15] ,
4687 _nullDoneHandler: [function() { 4923 _nullDoneHandler: [function() {
4688 }, "call$0", "_nullDoneHandler$closure", 0, 0, 1], 4924 }, "call$0", "_nullDoneHandler$closure", 0, 0, 2],
4689 _runUserCode: function(userCode, onSuccess, onError) { 4925 _runUserCode: function(userCode, onSuccess, onError) {
4690 var e, s, replacement, error, stackTrace, exception, t1, error0; 4926 var e, s, replacement, error, stackTrace, exception, t1, error0;
4691 try { 4927 try {
4692 onSuccess.call$1(userCode.call$0()); 4928 onSuccess.call$1(userCode.call$0());
4693 } catch (exception) { 4929 } catch (exception) {
4694 t1 = H.unwrapException(exception); 4930 t1 = H.unwrapException(exception);
4695 e = t1; 4931 e = t1;
4696 s = H.getTraceFromException(exception); 4932 s = H.getTraceFromException(exception);
4697 replacement = $.Zone__current.errorCallback$2(e, s); 4933 replacement = $.Zone__current.errorCallback$2(e, s);
4698 if (replacement == null) 4934 if (replacement == null)
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
4771 $._lastPriorityCallback = entry; 5007 $._lastPriorityCallback = entry;
4772 $._nextCallback = entry; 5008 $._nextCallback = entry;
4773 } else { 5009 } else {
4774 entry.next = t1.next; 5010 entry.next = t1.next;
4775 t1.next = entry; 5011 t1.next = entry;
4776 $._lastPriorityCallback = entry; 5012 $._lastPriorityCallback = entry;
4777 if (entry.next == null) 5013 if (entry.next == null)
4778 $._lastCallback = entry; 5014 $._lastCallback = entry;
4779 } 5015 }
4780 } 5016 }
4781 }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 54], 5017 }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 54, 16, 17, 18, 14, 15 ],
4782 _rootRun: [function($self, $parent, zone, f) { 5018 _rootRun: [function($self, $parent, zone, f) {
4783 var old, t1; 5019 var old, t1;
4784 if (J.$eq($.Zone__current, zone)) 5020 if (J.$eq($.Zone__current, zone))
4785 return f.call$0(); 5021 return f.call$0();
4786 old = P.Zone__enter(zone); 5022 old = P.Zone__enter(zone);
4787 try { 5023 try {
4788 t1 = f.call$0(); 5024 t1 = f.call$0();
4789 return t1; 5025 return t1;
4790 } finally { 5026 } finally {
4791 $.Zone__current = old; 5027 $.Zone__current = old;
4792 } 5028 }
4793 }, "call$4", "_rootRun$closure", 8, 0, 55], 5029 }, "call$4", "_rootRun$closure", 8, 0, 55, 16, 17, 18, 19],
4794 _rootRunUnary: [function($self, $parent, zone, f, arg) { 5030 _rootRunUnary: [function($self, $parent, zone, f, arg) {
4795 var old, t1; 5031 var old, t1;
4796 if (J.$eq($.Zone__current, zone)) 5032 if (J.$eq($.Zone__current, zone))
4797 return f.call$1(arg); 5033 return f.call$1(arg);
4798 old = P.Zone__enter(zone); 5034 old = P.Zone__enter(zone);
4799 try { 5035 try {
4800 t1 = f.call$1(arg); 5036 t1 = f.call$1(arg);
4801 return t1; 5037 return t1;
4802 } finally { 5038 } finally {
4803 $.Zone__current = old; 5039 $.Zone__current = old;
4804 } 5040 }
4805 }, "call$5", "_rootRunUnary$closure", 10, 0, 56], 5041 }, "call$5", "_rootRunUnary$closure", 10, 0, 56, 16, 17, 18, 19, 20],
4806 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { 5042 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) {
4807 var old, t1; 5043 var old, t1;
4808 if (J.$eq($.Zone__current, zone)) 5044 if (J.$eq($.Zone__current, zone))
4809 return f.call$2(arg1, arg2); 5045 return f.call$2(arg1, arg2);
4810 old = P.Zone__enter(zone); 5046 old = P.Zone__enter(zone);
4811 try { 5047 try {
4812 t1 = f.call$2(arg1, arg2); 5048 t1 = f.call$2(arg1, arg2);
4813 return t1; 5049 return t1;
4814 } finally { 5050 } finally {
4815 $.Zone__current = old; 5051 $.Zone__current = old;
4816 } 5052 }
4817 }, "call$6", "_rootRunBinary$closure", 12, 0, 57], 5053 }, "call$6", "_rootRunBinary$closure", 12, 0, 57, 16, 17, 18, 19, 7, 8],
4818 _rootRegisterCallback: [function($self, $parent, zone, f) { 5054 _rootRegisterCallback: [function($self, $parent, zone, f) {
4819 return f; 5055 return f;
4820 }, "call$4", "_rootRegisterCallback$closure", 8, 0, 58], 5056 }, "call$4", "_rootRegisterCallback$closure", 8, 0, 58, 16, 17, 18, 19],
4821 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { 5057 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) {
4822 return f; 5058 return f;
4823 }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 59], 5059 }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 59, 16, 17, 18, 19],
4824 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { 5060 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) {
4825 return f; 5061 return f;
4826 }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 60], 5062 }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 60, 16, 17, 18, 19],
4827 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { 5063 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) {
4828 return; 5064 return;
4829 }, "call$5", "_rootErrorCallback$closure", 10, 0, 61], 5065 }, "call$5", "_rootErrorCallback$closure", 10, 0, 61, 16, 17, 18, 14, 15],
4830 _rootScheduleMicrotask: [function($self, $parent, zone, f) { 5066 _rootScheduleMicrotask: [function($self, $parent, zone, f) {
4831 var t1 = C.C__RootZone !== zone; 5067 var t1 = C.C__RootZone !== zone;
4832 if (t1) 5068 if (t1)
4833 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone () === zone.get$errorZone())); 5069 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone () === zone.get$errorZone()));
4834 P._scheduleAsyncCallback(f); 5070 P._scheduleAsyncCallback(f);
4835 }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 62], 5071 }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 62, 16, 17, 18, 19],
4836 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { 5072 _rootCreateTimer: [function($self, $parent, zone, duration, callback) {
4837 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCall back$1(callback) : callback); 5073 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCall back$1(callback) : callback);
4838 }, "call$5", "_rootCreateTimer$closure", 10, 0, 63], 5074 }, "call$5", "_rootCreateTimer$closure", 10, 0, 63, 16, 17, 18, 21, 22],
4839 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback) { 5075 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback) {
4840 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone. bindUnaryCallback$1(callback) : callback); 5076 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone. bindUnaryCallback$1(callback) : callback);
4841 }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 64], 5077 }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 64, 16, 17, 18, 21, 22 ],
4842 _rootPrint: [function($self, $parent, zone, line) { 5078 _rootPrint: [function($self, $parent, zone, line) {
4843 H.printString(H.S(line)); 5079 H.printString(H.S(line));
4844 }, "call$4", "_rootPrint$closure", 8, 0, 65], 5080 }, "call$4", "_rootPrint$closure", 8, 0, 65, 16, 17, 18, 23],
4845 _printToZone: [function(line) { 5081 _printToZone: [function(line) {
4846 J.print$1$x($.Zone__current, line); 5082 J.print$1$x($.Zone__current, line);
4847 }, "call$1", "_printToZone$closure", 2, 0, 38], 5083 }, "call$1", "_printToZone$closure", 2, 0, 39],
4848 _rootFork: [function($self, $parent, zone, specification, zoneValues) { 5084 _rootFork: [function($self, $parent, zone, specification, zoneValues) {
4849 var valueMap, t1; 5085 var valueMap, t1;
4850 $.printToZone = P._printToZone$closure(); 5086 $.printToZone = P._printToZone$closure();
4851 if (specification == null) 5087 if (specification == null)
4852 specification = C._ZoneSpecification_ALf; 5088 specification = C._ZoneSpecification_ALf;
4853 else if (!(specification instanceof P._ZoneSpecification)) 5089 else if (!(specification instanceof P._ZoneSpecification))
4854 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be instant iated with the provided constructor.")); 5090 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be instant iated with the provided constructor."));
4855 if (zoneValues == null) 5091 if (zoneValues == null)
4856 valueMap = zone instanceof P._Zone ? zone.get$_map() : P.HashMap_HashMap(n ull, null, null, null, null); 5092 valueMap = zone instanceof P._Zone ? zone.get$_map() : P.HashMap_HashMap(n ull, null, null, null, null);
4857 else 5093 else
(...skipping 12 matching lines...) Expand all
4870 specification.get$registerBinaryCallback(); 5106 specification.get$registerBinaryCallback();
4871 t1._registerBinaryCallback = zone.get$_registerBinaryCallback(); 5107 t1._registerBinaryCallback = zone.get$_registerBinaryCallback();
4872 specification.get$errorCallback(); 5108 specification.get$errorCallback();
4873 t1._errorCallback = zone.get$_errorCallback(); 5109 t1._errorCallback = zone.get$_errorCallback();
4874 specification.get$scheduleMicrotask(); 5110 specification.get$scheduleMicrotask();
4875 t1._scheduleMicrotask = zone.get$_scheduleMicrotask(); 5111 t1._scheduleMicrotask = zone.get$_scheduleMicrotask();
4876 specification.get$createTimer(); 5112 specification.get$createTimer();
4877 t1._createTimer = zone.get$_createTimer(); 5113 t1._createTimer = zone.get$_createTimer();
4878 specification.get$createPeriodicTimer(); 5114 specification.get$createPeriodicTimer();
4879 t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); 5115 t1._createPeriodicTimer = zone.get$_createPeriodicTimer();
4880 specification.get$print(specification); 5116 J.get$print$x(specification);
4881 t1._print = zone.get$_print(); 5117 t1._print = zone.get$_print();
4882 specification.get$fork(); 5118 specification.get$fork();
4883 t1._fork = zone.get$_fork(); 5119 t1._fork = zone.get$_fork();
4884 t1._handleUncaughtError = specification.get$handleUncaughtError() != null ? new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_han dleUncaughtError(); 5120 t1._handleUncaughtError = specification.get$handleUncaughtError() != null ? new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_han dleUncaughtError();
4885 return t1; 5121 return t1;
4886 }, "call$5", "_rootFork$closure", 10, 0, 66], 5122 }, "call$5", "_rootFork$closure", 10, 0, 66, 16, 17, 18, 24, 25],
4887 runZoned: function(body, onError, zoneSpecification, zoneValues) { 5123 runZoned: function(body, onError, zoneSpecification, zoneValues) {
4888 var errorHandler, zone; 5124 var errorHandler, zone;
4889 errorHandler = new P.runZoned_closure(onError); 5125 errorHandler = new P.runZoned_closure(onError);
4890 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, null, null, null, null, null, null, null, null, null, null); 5126 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, null, null, null, null, null, null, null, null, null, null);
4891 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification, zo neValues); 5127 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification, zo neValues);
4892 return zone.runGuarded$1(body); 5128 return zone.runGuarded$1(body);
4893 }, 5129 },
4894 _AsyncRun__initializeScheduleImmediate_internalCallback: { 5130 _AsyncRun__initializeScheduleImmediate_internalCallback: {
4895 "^": "Closure:2;_async$_box_0", 5131 "^": "Closure:3;_async$_box_0",
4896 call$1: function(_) { 5132 call$1: [function(_) {
4897 var t1, f; 5133 var t1, f;
4898 H.leaveJsAsync(); 5134 H.leaveJsAsync();
4899 t1 = this._async$_box_0; 5135 t1 = this._async$_box_0;
4900 f = t1._captured_storedCallback_0; 5136 f = t1._captured_storedCallback_0;
4901 t1._captured_storedCallback_0 = null; 5137 t1._captured_storedCallback_0 = null;
4902 f.call$0(); 5138 f.call$0();
4903 } 5139 }, null, null, 2, 0, null, 26, "call"]
4904 }, 5140 },
4905 _AsyncRun__initializeScheduleImmediate_closure: { 5141 _AsyncRun__initializeScheduleImmediate_closure: {
4906 "^": "Closure:5;_async$_box_0,_captured_div_1,_captured_span_2", 5142 "^": "Closure:7;_async$_box_0,_captured_div_1,_captured_span_2",
4907 call$1: function(callback) { 5143 call$1: function(callback) {
4908 var t1, t2; 5144 var t1, t2;
4909 ++init.globalState.topEventLoop._activeJsAsyncCount; 5145 ++init.globalState.topEventLoop._activeJsAsyncCount;
4910 this._async$_box_0._captured_storedCallback_0 = callback; 5146 this._async$_box_0._captured_storedCallback_0 = callback;
4911 t1 = this._captured_div_1; 5147 t1 = this._captured_div_1;
4912 t2 = this._captured_span_2; 5148 t2 = this._captured_span_2;
4913 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); 5149 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
4914 } 5150 }
4915 }, 5151 },
4916 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { 5152 _AsyncRun__scheduleImmediateJsOverride_internalCallback: {
4917 "^": "Closure:0;_captured_callback_0", 5153 "^": "Closure:0;_captured_callback_0",
4918 call$0: function() { 5154 call$0: [function() {
4919 H.leaveJsAsync(); 5155 H.leaveJsAsync();
4920 this._captured_callback_0.call$0(); 5156 this._captured_callback_0.call$0();
4921 } 5157 }, null, null, 0, 0, null, "call"]
4922 }, 5158 },
4923 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: { 5159 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: {
4924 "^": "Closure:0;_captured_callback_0", 5160 "^": "Closure:0;_captured_callback_0",
4925 call$0: function() { 5161 call$0: [function() {
4926 H.leaveJsAsync(); 5162 H.leaveJsAsync();
4927 this._captured_callback_0.call$0(); 5163 this._captured_callback_0.call$0();
4928 } 5164 }, null, null, 0, 0, null, "call"]
4929 }, 5165 },
4930 _UncaughtAsyncError: { 5166 _UncaughtAsyncError: {
4931 "^": "AsyncError;error,stackTrace", 5167 "^": "AsyncError;error,stackTrace",
4932 toString$0: function(_) { 5168 toString$0: function(_) {
4933 var result, t1; 5169 var result, t1;
4934 result = "Uncaught Error: " + H.S(this.error); 5170 result = "Uncaught Error: " + H.S(this.error);
4935 t1 = this.stackTrace; 5171 t1 = this.stackTrace;
4936 return t1 != null ? result + ("\nStack Trace:\n" + H.S(t1)) : result; 5172 return t1 != null ? result + ("\nStack Trace:\n" + H.S(t1)) : result;
4937 }, 5173 },
4938 static: {_UncaughtAsyncError__getBestStackTrace: function(error, stackTrace) { 5174 static: {_UncaughtAsyncError__getBestStackTrace: function(error, stackTrace) {
(...skipping 16 matching lines...) Expand all
4955 var t1 = this.future; 5191 var t1 = this.future;
4956 if (t1._state !== 0) 5192 if (t1._state !== 0)
4957 throw H.wrapException(P.StateError$("Future already completed")); 5193 throw H.wrapException(P.StateError$("Future already completed"));
4958 t1._asyncComplete$1(value); 5194 t1._asyncComplete$1(value);
4959 }, 5195 },
4960 complete$0: function($receiver) { 5196 complete$0: function($receiver) {
4961 return this.complete$1($receiver, null); 5197 return this.complete$1($receiver, null);
4962 } 5198 }
4963 }, 5199 },
4964 _FutureListener: { 5200 _FutureListener: {
4965 "^": "Object;_nextListener<,result>,state,callback,errorCallback", 5201 "^": "Object;_nextListener@,result>,state,callback,errorCallback<",
4966 get$_zone: function() { 5202 get$_zone: function() {
4967 return this.result._zone; 5203 return this.result.get$_zone();
4968 }, 5204 },
4969 get$handlesValue: function() { 5205 get$handlesValue: function() {
4970 return (this.state & 1) !== 0; 5206 return (this.state & 1) !== 0;
4971 }, 5207 },
4972 get$hasErrorTest: function() { 5208 get$hasErrorTest: function() {
4973 return this.state === 6; 5209 return this.state === 6;
4974 }, 5210 },
4975 get$handlesComplete: function() { 5211 get$handlesComplete: function() {
4976 return this.state === 8; 5212 return this.state === 8;
4977 }, 5213 },
4978 get$_onValue: function() { 5214 get$_onValue: function() {
4979 return this.callback; 5215 return this.callback;
4980 }, 5216 },
5217 get$_onError: function() {
5218 return this.errorCallback;
5219 },
5220 get$_errorTest: function() {
5221 return this.callback;
5222 },
4981 get$_whenCompleteAction: function() { 5223 get$_whenCompleteAction: function() {
4982 return this.callback; 5224 return this.callback;
4983 }, 5225 },
5226 callback$0: function() {
5227 return this.callback.call$0();
5228 },
4984 errorCallback$2: function(arg0, arg1) { 5229 errorCallback$2: function(arg0, arg1) {
4985 return this.errorCallback.call$2(arg0, arg1); 5230 return this.errorCallback.call$2(arg0, arg1);
4986 } 5231 }
4987 }, 5232 },
4988 _Future: { 5233 _Future: {
4989 "^": "Object;_state?,_zone<,_resultOrListeners", 5234 "^": "Object;_state,_zone<,_resultOrListeners",
4990 get$_hasError: function() { 5235 get$_hasError: function() {
4991 return this._state === 8; 5236 return this._state === 8;
4992 }, 5237 },
4993 set$_isChained: function(value) { 5238 set$_isChained: function(value) {
4994 if (value) 5239 if (value)
4995 this._state = 2; 5240 this._state = 2;
4996 else 5241 else
4997 this._state = 0; 5242 this._state = 0;
4998 }, 5243 },
4999 then$2$onError: function(f, onError) { 5244 then$2$onError: function(f, onError) {
(...skipping 17 matching lines...) Expand all
5017 result = new P._Future(0, t1, null); 5262 result = new P._Future(0, t1, null);
5018 result.$builtinTypeInfo = this.$builtinTypeInfo; 5263 result.$builtinTypeInfo = this.$builtinTypeInfo;
5019 this._addListener$1(new P._FutureListener(null, result, 8, t1 !== C.C__Roo tZone ? t1.registerCallback$1(action) : action, null)); 5264 this._addListener$1(new P._FutureListener(null, result, 8, t1 !== C.C__Roo tZone ? t1.registerCallback$1(action) : action, null));
5020 return result; 5265 return result;
5021 }, 5266 },
5022 _markPendingCompletion$0: function() { 5267 _markPendingCompletion$0: function() {
5023 if (this._state !== 0) 5268 if (this._state !== 0)
5024 throw H.wrapException(P.StateError$("Future already completed")); 5269 throw H.wrapException(P.StateError$("Future already completed"));
5025 this._state = 1; 5270 this._state = 1;
5026 }, 5271 },
5027 get$_async$_value: function() { 5272 get$_value: function() {
5028 return this._resultOrListeners; 5273 return this._resultOrListeners;
5029 }, 5274 },
5030 get$_error: function() { 5275 get$_error: function() {
5031 return this._resultOrListeners; 5276 return this._resultOrListeners;
5032 }, 5277 },
5033 _setValue$1: function(value) { 5278 _setValue$1: function(value) {
5034 this._state = 4; 5279 this._state = 4;
5035 this._resultOrListeners = value; 5280 this._resultOrListeners = value;
5036 }, 5281 },
5037 _setErrorObject$1: function(error) { 5282 _setErrorObject$1: function(error) {
(...skipping 10 matching lines...) Expand all
5048 listener._nextListener = this._resultOrListeners; 5293 listener._nextListener = this._resultOrListeners;
5049 this._resultOrListeners = listener; 5294 this._resultOrListeners = listener;
5050 } 5295 }
5051 }, 5296 },
5052 _removeListeners$0: function() { 5297 _removeListeners$0: function() {
5053 var current, prev, next; 5298 var current, prev, next;
5054 current = this._resultOrListeners; 5299 current = this._resultOrListeners;
5055 this._resultOrListeners = null; 5300 this._resultOrListeners = null;
5056 for (prev = null; current != null; prev = current, current = next) { 5301 for (prev = null; current != null; prev = current, current = next) {
5057 next = current.get$_nextListener(); 5302 next = current.get$_nextListener();
5058 current._nextListener = prev; 5303 current.set$_nextListener(prev);
5059 } 5304 }
5060 return prev; 5305 return prev;
5061 }, 5306 },
5062 _complete$1: function(value) { 5307 _complete$1: function(value) {
5063 var t1, listeners; 5308 var t1, listeners;
5064 t1 = J.getInterceptor(value); 5309 t1 = J.getInterceptor(value);
5065 if (!!t1.$isFuture) 5310 if (!!t1.$isFuture)
5066 if (!!t1.$is_Future) 5311 if (!!t1.$is_Future)
5067 P._Future__chainCoreFuture(value, this); 5312 P._Future__chainCoreFuture(value, this);
5068 else 5313 else
5069 P._Future__chainForeignFuture(value, this); 5314 P._Future__chainForeignFuture(value, this);
5070 else { 5315 else {
5071 listeners = this._removeListeners$0(); 5316 listeners = this._removeListeners$0();
5072 this._setValue$1(value); 5317 this._setValue$1(value);
5073 P._Future__propagateToListeners(this, listeners); 5318 P._Future__propagateToListeners(this, listeners);
5074 } 5319 }
5075 }, 5320 },
5076 _completeWithValue$1: function(value) { 5321 _completeWithValue$1: function(value) {
5077 var listeners = this._removeListeners$0(); 5322 var listeners = this._removeListeners$0();
5078 this._setValue$1(value); 5323 this._setValue$1(value);
5079 P._Future__propagateToListeners(this, listeners); 5324 P._Future__propagateToListeners(this, listeners);
5080 }, 5325 },
5081 _completeError$2: [function(error, stackTrace) { 5326 _completeError$2: [function(error, stackTrace) {
5082 var listeners = this._removeListeners$0(); 5327 var listeners = this._removeListeners$0();
5083 this._setErrorObject$1(new P.AsyncError(error, stackTrace)); 5328 this._setErrorObject$1(new P.AsyncError(error, stackTrace));
5084 P._Future__propagateToListeners(this, listeners); 5329 P._Future__propagateToListeners(this, listeners);
5085 }, function(error) { 5330 }, function(error) {
5086 return this._completeError$2(error, null); 5331 return this._completeError$2(error, null);
5087 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 6, 0] , 5332 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 8, 13 , 14, 15],
5088 _asyncComplete$1: function(value) { 5333 _asyncComplete$1: function(value) {
5089 var t1; 5334 var t1;
5090 if (value == null) 5335 if (value == null)
5091 ; 5336 ;
5092 else { 5337 else {
5093 t1 = J.getInterceptor(value); 5338 t1 = J.getInterceptor(value);
5094 if (!!t1.$isFuture) { 5339 if (!!t1.$isFuture) {
5095 if (!!t1.$is_Future) { 5340 if (!!t1.$is_Future) {
5096 t1 = value._state; 5341 t1 = value._state;
5097 if (t1 >= 4 && t1 === 8) { 5342 if (t1 >= 4 && t1 === 8) {
(...skipping 13 matching lines...) Expand all
5111 this._markPendingCompletion$0(); 5356 this._markPendingCompletion$0();
5112 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(t his, error, stackTrace)); 5357 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(t his, error, stackTrace));
5113 }, 5358 },
5114 $isFuture: 1, 5359 $isFuture: 1,
5115 static: {_Future$immediate: function(value, $T) { 5360 static: {_Future$immediate: function(value, $T) {
5116 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [ $T]); 5361 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [ $T]);
5117 t1._asyncComplete$1(value); 5362 t1._asyncComplete$1(value);
5118 return t1; 5363 return t1;
5119 }, _Future__chainForeignFuture: function(source, target) { 5364 }, _Future__chainForeignFuture: function(source, target) {
5120 var e, s, exception, t1; 5365 var e, s, exception, t1;
5121 target.set$_state(2); 5366 target.set$_isChained(true);
5122 try { 5367 try {
5123 source.then$2$onError(new P._Future__chainForeignFuture_closure(target ), new P._Future__chainForeignFuture_closure0(target)); 5368 source.then$2$onError(new P._Future__chainForeignFuture_closure(target ), new P._Future__chainForeignFuture_closure0(target));
5124 } catch (exception) { 5369 } catch (exception) {
5125 t1 = H.unwrapException(exception); 5370 t1 = H.unwrapException(exception);
5126 e = t1; 5371 e = t1;
5127 s = H.getTraceFromException(exception); 5372 s = H.getTraceFromException(exception);
5128 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(target, e, s)); 5373 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(target, e, s));
5129 } 5374 }
5130 }, _Future__chainCoreFuture: function(source, target) { 5375 }, _Future__chainCoreFuture: function(source, target) {
5131 var listener; 5376 var listener;
5132 target._state = 2; 5377 target.set$_isChained(true);
5133 listener = new P._FutureListener(null, target, 0, null, null); 5378 listener = new P._FutureListener(null, target, 0, null, null);
5134 if (source._state >= 4) 5379 if (source._state >= 4)
5135 P._Future__propagateToListeners(source, listener); 5380 P._Future__propagateToListeners(source, listener);
5136 else 5381 else
5137 source._addListener$1(listener); 5382 source._addListener$1(listener);
5138 }, _Future__propagateToListeners: function(source, listeners) { 5383 }, _Future__propagateToListeners: function(source, listeners) {
5139 var t1, t2, t3, hasError, asyncError, listeners0, sourceValue, zone, old Zone, chainSource, result; 5384 var t1, t2, t3, hasError, asyncError, listeners0, sourceValue, zone, old Zone, chainSource, result;
5140 t1 = {}; 5385 t1 = {};
5141 t1._captured_source_4 = source; 5386 t1._captured_source_4 = source;
5142 for (t2 = source; true;) { 5387 for (t2 = source; true;) {
5143 t3 = {}; 5388 t3 = {};
5144 hasError = t2.get$_hasError(); 5389 hasError = t2.get$_hasError();
5145 if (listeners == null) { 5390 if (listeners == null) {
5146 if (hasError) { 5391 if (hasError) {
5147 asyncError = t1._captured_source_4.get$_error(); 5392 asyncError = t1._captured_source_4.get$_error();
5148 t1._captured_source_4.get$_zone().handleUncaughtError$2(J.get$erro r$x(asyncError), asyncError.get$stackTrace()); 5393 t1._captured_source_4.get$_zone().handleUncaughtError$2(J.get$erro r$x(asyncError), asyncError.get$stackTrace());
5149 } 5394 }
5150 return; 5395 return;
5151 } 5396 }
5152 for (; listeners.get$_nextListener() != null; listeners = listeners0) { 5397 for (; listeners.get$_nextListener() != null; listeners = listeners0) {
5153 listeners0 = listeners._nextListener; 5398 listeners0 = listeners.get$_nextListener();
5154 listeners._nextListener = null; 5399 listeners.set$_nextListener(null);
5155 P._Future__propagateToListeners(t1._captured_source_4, listeners); 5400 P._Future__propagateToListeners(t1._captured_source_4, listeners);
5156 } 5401 }
5157 t3._captured_listenerHasValue_1 = true; 5402 t3._captured_listenerHasValue_1 = true;
5158 sourceValue = hasError ? null : t1._captured_source_4.get$_async$_valu e(); 5403 sourceValue = hasError ? null : t1._captured_source_4.get$_value();
5159 t3._captured_listenerValueOrError_2 = sourceValue; 5404 t3._captured_listenerValueOrError_2 = sourceValue;
5160 t3._captured_isPropagationAborted_3 = false; 5405 t3._captured_isPropagationAborted_3 = false;
5161 t2 = !hasError; 5406 t2 = !hasError;
5162 if (!t2 || listeners.get$handlesValue() || listeners.state === 8) { 5407 if (!t2 || listeners.get$handlesValue() || listeners.get$handlesComple te()) {
5163 zone = listeners.get$_zone(); 5408 zone = listeners.get$_zone();
5164 if (hasError && !t1._captured_source_4.get$_zone().inSameErrorZone$1 (zone)) { 5409 if (hasError && !t1._captured_source_4.get$_zone().inSameErrorZone$1 (zone)) {
5165 asyncError = t1._captured_source_4.get$_error(); 5410 asyncError = t1._captured_source_4.get$_error();
5166 t1._captured_source_4.get$_zone().handleUncaughtError$2(J.get$erro r$x(asyncError), asyncError.get$stackTrace()); 5411 t1._captured_source_4.get$_zone().handleUncaughtError$2(J.get$erro r$x(asyncError), asyncError.get$stackTrace());
5167 return; 5412 return;
5168 } 5413 }
5169 oldZone = $.Zone__current; 5414 oldZone = $.Zone__current;
5170 if (oldZone == null ? zone != null : oldZone !== zone) 5415 if (oldZone == null ? zone != null : oldZone !== zone)
5171 $.Zone__current = zone; 5416 $.Zone__current = zone;
5172 else 5417 else
5173 oldZone = null; 5418 oldZone = null;
5174 if (t2) { 5419 if (t2) {
5175 if (listeners.get$handlesValue()) 5420 if (listeners.get$handlesValue())
5176 t3._captured_listenerHasValue_1 = new P._Future__propagateToList eners_handleValueCallback(t3, listeners, sourceValue, zone).call$0(); 5421 t3._captured_listenerHasValue_1 = new P._Future__propagateToList eners_handleValueCallback(t3, listeners, sourceValue, zone).call$0();
5177 } else 5422 } else
5178 new P._Future__propagateToListeners_handleError(t1, t3, listeners, zone).call$0(); 5423 new P._Future__propagateToListeners_handleError(t1, t3, listeners, zone).call$0();
5179 if (listeners.get$handlesComplete()) 5424 if (listeners.get$handlesComplete())
5180 new P._Future__propagateToListeners_handleWhenCompleteCallback(t1, t3, hasError, listeners, zone).call$0(); 5425 new P._Future__propagateToListeners_handleWhenCompleteCallback(t1, t3, hasError, listeners, zone).call$0();
5181 if (oldZone != null) 5426 if (oldZone != null)
5182 $.Zone__current = oldZone; 5427 $.Zone__current = oldZone;
5183 if (t3._captured_isPropagationAborted_3) 5428 if (t3._captured_isPropagationAborted_3)
5184 return; 5429 return;
5185 if (t3._captured_listenerHasValue_1 === true) { 5430 if (t3._captured_listenerHasValue_1 === true) {
5186 t2 = t3._captured_listenerValueOrError_2; 5431 t2 = t3._captured_listenerValueOrError_2;
5187 t2 = (sourceValue == null ? t2 != null : sourceValue !== t2) && !! J.getInterceptor(t2).$isFuture; 5432 t2 = (sourceValue == null ? t2 != null : sourceValue !== t2) && !! J.getInterceptor(t2).$isFuture;
5188 } else 5433 } else
5189 t2 = false; 5434 t2 = false;
5190 if (t2) { 5435 if (t2) {
5191 chainSource = t3._captured_listenerValueOrError_2; 5436 chainSource = t3._captured_listenerValueOrError_2;
5192 result = listeners.result; 5437 result = J.get$result$x(listeners);
5193 if (chainSource instanceof P._Future) 5438 if (chainSource instanceof P._Future)
5194 if (chainSource._state >= 4) { 5439 if (chainSource._state >= 4) {
5195 result._state = 2; 5440 result.set$_isChained(true);
5196 t1._captured_source_4 = chainSource; 5441 t1._captured_source_4 = chainSource;
5197 listeners = new P._FutureListener(null, result, 0, null, null) ; 5442 listeners = new P._FutureListener(null, result, 0, null, null) ;
5198 t2 = chainSource; 5443 t2 = chainSource;
5199 continue; 5444 continue;
5200 } else 5445 } else
5201 P._Future__chainCoreFuture(chainSource, result); 5446 P._Future__chainCoreFuture(chainSource, result);
5202 else 5447 else
5203 P._Future__chainForeignFuture(chainSource, result); 5448 P._Future__chainForeignFuture(chainSource, result);
5204 return; 5449 return;
5205 } 5450 }
5206 } 5451 }
5207 result = listeners.result; 5452 result = J.get$result$x(listeners);
5208 listeners = result._removeListeners$0(); 5453 listeners = result._removeListeners$0();
5209 t2 = t3._captured_listenerHasValue_1; 5454 t2 = t3._captured_listenerHasValue_1;
5210 t3 = t3._captured_listenerValueOrError_2; 5455 t3 = t3._captured_listenerValueOrError_2;
5211 if (t2 === true) { 5456 if (t2 === true)
5212 result._state = 4; 5457 result._setValue$1(t3);
5213 result._resultOrListeners = t3; 5458 else
5214 } else { 5459 result._setErrorObject$1(t3);
5215 result._state = 8;
5216 result._resultOrListeners = t3;
5217 }
5218 t1._captured_source_4 = result; 5460 t1._captured_source_4 = result;
5219 t2 = result; 5461 t2 = result;
5220 } 5462 }
5221 }} 5463 }}
5222 }, 5464 },
5223 _Future__addListener_closure: { 5465 _Future__addListener_closure: {
5224 "^": "Closure:0;_async$_captured_this_0,_captured_listener_1", 5466 "^": "Closure:0;_async$_captured_this_0,_captured_listener_1",
5225 call$0: function() { 5467 call$0: [function() {
5226 P._Future__propagateToListeners(this._async$_captured_this_0, this._captur ed_listener_1); 5468 P._Future__propagateToListeners(this._async$_captured_this_0, this._captur ed_listener_1);
5227 } 5469 }, null, null, 0, 0, null, "call"]
5228 }, 5470 },
5229 _Future__chainForeignFuture_closure: { 5471 _Future__chainForeignFuture_closure: {
5230 "^": "Closure:2;_captured_target_0", 5472 "^": "Closure:3;_captured_target_0",
5231 call$1: function(value) { 5473 call$1: [function(value) {
5232 this._captured_target_0._completeWithValue$1(value); 5474 this._captured_target_0._completeWithValue$1(value);
5233 } 5475 }, null, null, 2, 0, null, 12, "call"]
5234 }, 5476 },
5235 _Future__chainForeignFuture_closure0: { 5477 _Future__chainForeignFuture_closure0: {
5236 "^": "Closure:7;_captured_target_1", 5478 "^": "Closure:9;_captured_target_1",
5237 call$2: function(error, stackTrace) { 5479 call$2: [function(error, stackTrace) {
5238 this._captured_target_1._completeError$2(error, stackTrace); 5480 this._captured_target_1._completeError$2(error, stackTrace);
5239 }, 5481 }, function(error) {
5240 call$1: function(error) {
5241 return this.call$2(error, null); 5482 return this.call$2(error, null);
5242 } 5483 }, "call$1", null, null, null, 2, 2, null, 13, 14, 15, "call"]
5243 }, 5484 },
5244 _Future__chainForeignFuture_closure1: { 5485 _Future__chainForeignFuture_closure1: {
5245 "^": "Closure:0;_captured_target_2,_captured_e_3,_captured_s_4", 5486 "^": "Closure:0;_captured_target_2,_captured_e_3,_captured_s_4",
5246 call$0: function() { 5487 call$0: [function() {
5247 this._captured_target_2._completeError$2(this._captured_e_3, this._capture d_s_4); 5488 this._captured_target_2._completeError$2(this._captured_e_3, this._capture d_s_4);
5248 } 5489 }, null, null, 0, 0, null, "call"]
5249 }, 5490 },
5250 _Future__asyncComplete_closure: { 5491 _Future__asyncComplete_closure: {
5251 "^": "Closure:0;_async$_captured_this_0,_captured_coreFuture_1", 5492 "^": "Closure:0;_async$_captured_this_0,_captured_coreFuture_1",
5252 call$0: function() { 5493 call$0: [function() {
5253 P._Future__chainCoreFuture(this._captured_coreFuture_1, this._async$_captu red_this_0); 5494 P._Future__chainCoreFuture(this._captured_coreFuture_1, this._async$_captu red_this_0);
5254 } 5495 }, null, null, 0, 0, null, "call"]
5255 }, 5496 },
5256 _Future__asyncComplete_closure0: { 5497 _Future__asyncComplete_closure0: {
5257 "^": "Closure:0;_async$_captured_this_2,_captured_value_3", 5498 "^": "Closure:0;_async$_captured_this_2,_captured_value_3",
5258 call$0: function() { 5499 call$0: [function() {
5259 this._async$_captured_this_2._completeWithValue$1(this._captured_value_3); 5500 this._async$_captured_this_2._completeWithValue$1(this._captured_value_3);
5260 } 5501 }, null, null, 0, 0, null, "call"]
5261 }, 5502 },
5262 _Future__asyncCompleteError_closure: { 5503 _Future__asyncCompleteError_closure: {
5263 "^": "Closure:0;_async$_captured_this_0,_captured_error_1,_captured_stackTra ce_2", 5504 "^": "Closure:0;_async$_captured_this_0,_captured_error_1,_captured_stackTra ce_2",
5264 call$0: function() { 5505 call$0: [function() {
5265 this._async$_captured_this_0._completeError$2(this._captured_error_1, this ._captured_stackTrace_2); 5506 this._async$_captured_this_0._completeError$2(this._captured_error_1, this ._captured_stackTrace_2);
5266 } 5507 }, null, null, 0, 0, null, "call"]
5267 }, 5508 },
5268 _Future__propagateToListeners_handleValueCallback: { 5509 _Future__propagateToListeners_handleValueCallback: {
5269 "^": "Closure:8;_box_1,_captured_listener_3,_captured_sourceValue_4,_capture d_zone_5", 5510 "^": "Closure:10;_box_1,_captured_listener_3,_captured_sourceValue_4,_captur ed_zone_5",
5270 call$0: function() { 5511 call$0: function() {
5271 var e, s, exception, t1; 5512 var e, s, exception, t1;
5272 try { 5513 try {
5273 this._box_1._captured_listenerValueOrError_2 = this._captured_zone_5.run Unary$2(this._captured_listener_3.get$_onValue(), this._captured_sourceValue_4); 5514 this._box_1._captured_listenerValueOrError_2 = this._captured_zone_5.run Unary$2(this._captured_listener_3.get$_onValue(), this._captured_sourceValue_4);
5274 return true; 5515 return true;
5275 } catch (exception) { 5516 } catch (exception) {
5276 t1 = H.unwrapException(exception); 5517 t1 = H.unwrapException(exception);
5277 e = t1; 5518 e = t1;
5278 s = H.getTraceFromException(exception); 5519 s = H.getTraceFromException(exception);
5279 this._box_1._captured_listenerValueOrError_2 = new P.AsyncError(e, s); 5520 this._box_1._captured_listenerValueOrError_2 = new P.AsyncError(e, s);
5280 return false; 5521 return false;
5281 } 5522 }
5282 } 5523 }
5283 }, 5524 },
5284 _Future__propagateToListeners_handleError: { 5525 _Future__propagateToListeners_handleError: {
5285 "^": "Closure:1;_box_2,_box_1,_captured_listener_6,_captured_zone_7", 5526 "^": "Closure:2;_box_2,_box_1,_captured_listener_6,_captured_zone_7",
5286 call$0: function() { 5527 call$0: function() {
5287 var asyncError, matchesTest, test, e, s, errorCallback, e0, s0, t1, except ion, t2, listenerValueOrError, t3, t4; 5528 var asyncError, matchesTest, test, e, s, errorCallback, e0, s0, t1, except ion, t2, listenerValueOrError, t3, t4;
5288 asyncError = this._box_2._captured_source_4.get$_error(); 5529 asyncError = this._box_2._captured_source_4.get$_error();
5289 matchesTest = true; 5530 matchesTest = true;
5290 t1 = this._captured_listener_6; 5531 t1 = this._captured_listener_6;
5291 if (t1.get$hasErrorTest()) { 5532 if (t1.get$hasErrorTest()) {
5292 test = t1.callback; 5533 test = t1.get$_errorTest();
5293 try { 5534 try {
5294 matchesTest = this._captured_zone_7.runUnary$2(test, J.get$error$x(asy ncError)); 5535 matchesTest = this._captured_zone_7.runUnary$2(test, J.get$error$x(asy ncError));
5295 } catch (exception) { 5536 } catch (exception) {
5296 t1 = H.unwrapException(exception); 5537 t1 = H.unwrapException(exception);
5297 e = t1; 5538 e = t1;
5298 s = H.getTraceFromException(exception); 5539 s = H.getTraceFromException(exception);
5299 t1 = J.get$error$x(asyncError); 5540 t1 = J.get$error$x(asyncError);
5300 t2 = e; 5541 t2 = e;
5301 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncEr ror : new P.AsyncError(e, s); 5542 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncEr ror : new P.AsyncError(e, s);
5302 t1 = this._box_1; 5543 t1 = this._box_1;
5303 t1._captured_listenerValueOrError_2 = listenerValueOrError; 5544 t1._captured_listenerValueOrError_2 = listenerValueOrError;
5304 t1._captured_listenerHasValue_1 = false; 5545 t1._captured_listenerHasValue_1 = false;
5305 return; 5546 return;
5306 } 5547 }
5307 } 5548 }
5308 errorCallback = t1.errorCallback; 5549 errorCallback = t1.get$_onError();
5309 if (matchesTest === true && errorCallback != null) { 5550 if (matchesTest === true && errorCallback != null) {
5310 try { 5551 try {
5311 t1 = errorCallback; 5552 t1 = errorCallback;
5312 t2 = H.getDynamicRuntimeType(); 5553 t2 = H.getDynamicRuntimeType();
5313 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); 5554 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1);
5314 t3 = this._captured_zone_7; 5555 t3 = this._captured_zone_7;
5315 t4 = this._box_1; 5556 t4 = this._box_1;
5316 if (t2) 5557 if (t2)
5317 t4._captured_listenerValueOrError_2 = t3.runBinary$3(errorCallback, J.get$error$x(asyncError), asyncError.get$stackTrace()); 5558 t4._captured_listenerValueOrError_2 = t3.runBinary$3(errorCallback, J.get$error$x(asyncError), asyncError.get$stackTrace());
5318 else 5559 else
(...skipping 12 matching lines...) Expand all
5331 } 5572 }
5332 this._box_1._captured_listenerHasValue_1 = true; 5573 this._box_1._captured_listenerHasValue_1 = true;
5333 } else { 5574 } else {
5334 t1 = this._box_1; 5575 t1 = this._box_1;
5335 t1._captured_listenerValueOrError_2 = asyncError; 5576 t1._captured_listenerValueOrError_2 = asyncError;
5336 t1._captured_listenerHasValue_1 = false; 5577 t1._captured_listenerHasValue_1 = false;
5337 } 5578 }
5338 } 5579 }
5339 }, 5580 },
5340 _Future__propagateToListeners_handleWhenCompleteCallback: { 5581 _Future__propagateToListeners_handleWhenCompleteCallback: {
5341 "^": "Closure:1;_box_2,_box_1,_captured_hasError_8,_captured_listener_9,_cap tured_zone_10", 5582 "^": "Closure:2;_box_2,_box_1,_captured_hasError_8,_captured_listener_9,_cap tured_zone_10",
5342 call$0: function() { 5583 call$0: function() {
5343 var t1, e, s, completeResult, t2, exception, result; 5584 var t1, e, s, completeResult, t2, exception, result;
5344 t1 = {}; 5585 t1 = {};
5345 t1._captured_completeResult_0 = null; 5586 t1._captured_completeResult_0 = null;
5346 try { 5587 try {
5347 completeResult = this._captured_zone_10.run$1(this._captured_listener_9. get$_whenCompleteAction()); 5588 completeResult = this._captured_zone_10.run$1(this._captured_listener_9. get$_whenCompleteAction());
5348 t1._captured_completeResult_0 = completeResult; 5589 t1._captured_completeResult_0 = completeResult;
5349 t2 = completeResult; 5590 t2 = completeResult;
5350 } catch (exception) { 5591 } catch (exception) {
5351 t1 = H.unwrapException(exception); 5592 t1 = H.unwrapException(exception);
5352 e = t1; 5593 e = t1;
5353 s = H.getTraceFromException(exception); 5594 s = H.getTraceFromException(exception);
5354 if (this._captured_hasError_8) { 5595 if (this._captured_hasError_8) {
5355 t1 = J.get$error$x(this._box_2._captured_source_4.get$_error()); 5596 t1 = J.get$error$x(this._box_2._captured_source_4.get$_error());
5356 t2 = e; 5597 t2 = e;
5357 t2 = t1 == null ? t2 == null : t1 === t2; 5598 t2 = t1 == null ? t2 == null : t1 === t2;
5358 t1 = t2; 5599 t1 = t2;
5359 } else 5600 } else
5360 t1 = false; 5601 t1 = false;
5361 t2 = this._box_1; 5602 t2 = this._box_1;
5362 if (t1) 5603 if (t1)
5363 t2._captured_listenerValueOrError_2 = this._box_2._captured_source_4.g et$_error(); 5604 t2._captured_listenerValueOrError_2 = this._box_2._captured_source_4.g et$_error();
5364 else 5605 else
5365 t2._captured_listenerValueOrError_2 = new P.AsyncError(e, s); 5606 t2._captured_listenerValueOrError_2 = new P.AsyncError(e, s);
5366 t2._captured_listenerHasValue_1 = false; 5607 t2._captured_listenerHasValue_1 = false;
5367 return; 5608 return;
5368 } 5609 }
5369 if (!!J.getInterceptor(t2).$isFuture) { 5610 if (!!J.getInterceptor(t2).$isFuture) {
5370 t2 = this._captured_listener_9; 5611 result = J.get$result$x(this._captured_listener_9);
5371 result = t2.get$result(t2);
5372 result.set$_isChained(true); 5612 result.set$_isChained(true);
5373 this._box_1._captured_isPropagationAborted_3 = true; 5613 this._box_1._captured_isPropagationAborted_3 = true;
5374 t1._captured_completeResult_0.then$2$onError(new P._Future__propagateToL isteners_handleWhenCompleteCallback_closure(this._box_2, result), new P._Future_ _propagateToListeners_handleWhenCompleteCallback_closure0(t1, result)); 5614 t1._captured_completeResult_0.then$2$onError(new P._Future__propagateToL isteners_handleWhenCompleteCallback_closure(this._box_2, result), new P._Future_ _propagateToListeners_handleWhenCompleteCallback_closure0(t1, result));
5375 } 5615 }
5376 } 5616 }
5377 }, 5617 },
5378 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { 5618 _Future__propagateToListeners_handleWhenCompleteCallback_closure: {
5379 "^": "Closure:2;_box_2,_captured_result_11", 5619 "^": "Closure:3;_box_2,_captured_result_11",
5380 call$1: function(ignored) { 5620 call$1: [function(ignored) {
5381 P._Future__propagateToListeners(this._box_2._captured_source_4, new P._Fut ureListener(null, this._captured_result_11, 0, null, null)); 5621 P._Future__propagateToListeners(this._box_2._captured_source_4, new P._Fut ureListener(null, this._captured_result_11, 0, null, null));
5382 } 5622 }, null, null, 2, 0, null, 27, "call"]
5383 }, 5623 },
5384 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { 5624 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: {
5385 "^": "Closure:7;_async$_box_0,_captured_result_12", 5625 "^": "Closure:9;_async$_box_0,_captured_result_12",
5386 call$2: function(error, stackTrace) { 5626 call$2: [function(error, stackTrace) {
5387 var t1, completeResult; 5627 var t1, completeResult;
5388 t1 = this._async$_box_0; 5628 t1 = this._async$_box_0;
5389 if (!(t1._captured_completeResult_0 instanceof P._Future)) { 5629 if (!(t1._captured_completeResult_0 instanceof P._Future)) {
5390 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [null]); 5630 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [null]);
5391 t1._captured_completeResult_0 = completeResult; 5631 t1._captured_completeResult_0 = completeResult;
5392 completeResult._setError$2(error, stackTrace); 5632 completeResult._setError$2(error, stackTrace);
5393 } 5633 }
5394 P._Future__propagateToListeners(t1._captured_completeResult_0, new P._Futu reListener(null, this._captured_result_12, 0, null, null)); 5634 P._Future__propagateToListeners(t1._captured_completeResult_0, new P._Futu reListener(null, this._captured_result_12, 0, null, null));
5395 }, 5635 }, function(error) {
5396 call$1: function(error) {
5397 return this.call$2(error, null); 5636 return this.call$2(error, null);
5398 } 5637 }, "call$1", null, null, null, 2, 2, null, 13, 14, 15, "call"]
5399 }, 5638 },
5400 _AsyncCallbackEntry: { 5639 _AsyncCallbackEntry: {
5401 "^": "Object;callback,next@", 5640 "^": "Object;callback,next@",
5402 callback$0: function() { 5641 callback$0: function() {
5403 return this.callback.call$0(); 5642 return this.callback.call$0();
5404 } 5643 }
5405 }, 5644 },
5406 Stream: { 5645 Stream: {
5407 "^": "Object;", 5646 "^": "Object;",
5408 map$1: function(_, convert) { 5647 map$1: function(_, convert) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
5454 var t1, future; 5693 var t1, future;
5455 t1 = {}; 5694 t1 = {};
5456 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H. getRuntimeTypeArgument(this, "Stream", 0)]); 5695 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H. getRuntimeTypeArgument(this, "Stream", 0)]);
5457 t1._captured_result_0 = null; 5696 t1._captured_result_0 = null;
5458 t1._captured_foundResult_1 = false; 5697 t1._captured_foundResult_1 = false;
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()) ; 5698 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()) ;
5460 return future; 5699 return future;
5461 } 5700 }
5462 }, 5701 },
5463 Stream_pipe_closure: { 5702 Stream_pipe_closure: {
5464 "^": "Closure:2;_captured_streamConsumer_0", 5703 "^": "Closure:3;_captured_streamConsumer_0",
5465 call$1: function(_) { 5704 call$1: [function(_) {
5466 return this._captured_streamConsumer_0._async$_target.close$0(0); 5705 return this._captured_streamConsumer_0._async$_target.close$0(0);
5467 } 5706 }, null, null, 2, 0, null, 26, "call"]
5468 }, 5707 },
5469 Stream_contains_closure: { 5708 Stream_contains_closure: {
5470 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt ured_future_3", 5709 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt ured_future_3",
5471 call$1: function(element) { 5710 call$1: [function(element) {
5472 var t1, t2; 5711 var t1, t2;
5473 t1 = this._async$_box_0; 5712 t1 = this._async$_box_0;
5474 t2 = this._captured_future_3; 5713 t2 = this._captured_future_3;
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)); 5714 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));
5476 }, 5715 }, null, null, 2, 0, null, 28, "call"],
5477 $signature: function() { 5716 $signature: function() {
5478 return H.computeSignature(function(T) { 5717 return H.computeSignature(function(T) {
5479 return {func: 1, args: [T]}; 5718 return {func: 1, args: [T]};
5480 }, this._async$_captured_this_1, "Stream"); 5719 }, this._async$_captured_this_1, "Stream");
5481 } 5720 }
5482 }, 5721 },
5483 Stream_contains__closure: { 5722 Stream_contains__closure: {
5484 "^": "Closure:0;_captured_needle_4,_captured_element_5", 5723 "^": "Closure:0;_captured_needle_4,_captured_element_5",
5485 call$0: function() { 5724 call$0: function() {
5486 return J.$eq(this._captured_element_5, this._captured_needle_4); 5725 return J.$eq(this._captured_element_5, this._captured_needle_4);
5487 } 5726 }
5488 }, 5727 },
5489 Stream_contains__closure0: { 5728 Stream_contains__closure0: {
5490 "^": "Closure:9;_async$_box_0,_captured_future_6", 5729 "^": "Closure:11;_async$_box_0,_captured_future_6",
5491 call$1: function(isMatch) { 5730 call$1: function(isMatch) {
5492 if (isMatch === true) 5731 if (isMatch === true)
5493 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap tured_future_6, true); 5732 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap tured_future_6, true);
5494 } 5733 }
5495 }, 5734 },
5496 Stream_contains_closure0: { 5735 Stream_contains_closure0: {
5497 "^": "Closure:0;_captured_future_7", 5736 "^": "Closure:0;_captured_future_7",
5498 call$0: function() { 5737 call$0: [function() {
5499 this._captured_future_7._complete$1(false); 5738 this._captured_future_7._complete$1(false);
5500 } 5739 }, null, null, 0, 0, null, "call"]
5501 }, 5740 },
5502 Stream_forEach_closure: { 5741 Stream_forEach_closure: {
5503 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt ured_future_3", 5742 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt ured_future_3",
5504 call$1: function(element) { 5743 call$1: [function(element) {
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)); 5744 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));
5506 }, 5745 }, null, null, 2, 0, null, 28, "call"],
5507 $signature: function() { 5746 $signature: function() {
5508 return H.computeSignature(function(T) { 5747 return H.computeSignature(function(T) {
5509 return {func: 1, args: [T]}; 5748 return {func: 1, args: [T]};
5510 }, this._async$_captured_this_1, "Stream"); 5749 }, this._async$_captured_this_1, "Stream");
5511 } 5750 }
5512 }, 5751 },
5513 Stream_forEach__closure: { 5752 Stream_forEach__closure: {
5514 "^": "Closure:0;_captured_action_4,_captured_element_5", 5753 "^": "Closure:0;_captured_action_4,_captured_element_5",
5515 call$0: function() { 5754 call$0: function() {
5516 return this._captured_action_4.call$1(this._captured_element_5); 5755 return this._captured_action_4.call$1(this._captured_element_5);
5517 } 5756 }
5518 }, 5757 },
5519 Stream_forEach__closure0: { 5758 Stream_forEach__closure0: {
5520 "^": "Closure:2;", 5759 "^": "Closure:3;",
5521 call$1: function(_) { 5760 call$1: function(_) {
5522 } 5761 }
5523 }, 5762 },
5524 Stream_forEach_closure0: { 5763 Stream_forEach_closure0: {
5525 "^": "Closure:0;_captured_future_6", 5764 "^": "Closure:0;_captured_future_6",
5526 call$0: function() { 5765 call$0: [function() {
5527 this._captured_future_6._complete$1(null); 5766 this._captured_future_6._complete$1(null);
5528 } 5767 }, null, null, 0, 0, null, "call"]
5529 }, 5768 },
5530 Stream_length_closure: { 5769 Stream_length_closure: {
5531 "^": "Closure:2;_async$_box_0", 5770 "^": "Closure:3;_async$_box_0",
5532 call$1: function(_) { 5771 call$1: [function(_) {
5533 ++this._async$_box_0._captured_count_0; 5772 ++this._async$_box_0._captured_count_0;
5534 } 5773 }, null, null, 2, 0, null, 26, "call"]
5535 }, 5774 },
5536 Stream_length_closure0: { 5775 Stream_length_closure0: {
5537 "^": "Closure:0;_async$_box_0,_captured_future_1", 5776 "^": "Closure:0;_async$_box_0,_captured_future_1",
5538 call$0: function() { 5777 call$0: [function() {
5539 this._captured_future_1._complete$1(this._async$_box_0._captured_count_0); 5778 this._captured_future_1._complete$1(this._async$_box_0._captured_count_0);
5540 } 5779 }, null, null, 0, 0, null, "call"]
5541 }, 5780 },
5542 Stream_isEmpty_closure: { 5781 Stream_isEmpty_closure: {
5543 "^": "Closure:2;_async$_box_0,_captured_future_1", 5782 "^": "Closure:3;_async$_box_0,_captured_future_1",
5544 call$1: function(_) { 5783 call$1: [function(_) {
5545 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu red_future_1, false); 5784 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu red_future_1, false);
5546 } 5785 }, null, null, 2, 0, null, 26, "call"]
5547 }, 5786 },
5548 Stream_isEmpty_closure0: { 5787 Stream_isEmpty_closure0: {
5549 "^": "Closure:0;_captured_future_2", 5788 "^": "Closure:0;_captured_future_2",
5550 call$0: function() { 5789 call$0: [function() {
5551 this._captured_future_2._complete$1(true); 5790 this._captured_future_2._complete$1(true);
5552 } 5791 }, null, null, 0, 0, null, "call"]
5553 }, 5792 },
5554 Stream_toList_closure: { 5793 Stream_toList_closure: {
5555 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", 5794 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1",
5556 call$1: function(data) { 5795 call$1: [function(data) {
5557 this._async$_captured_result_1.push(data); 5796 this._async$_captured_result_1.push(data);
5558 }, 5797 }, null, null, 2, 0, null, 29, "call"],
5559 $signature: function() { 5798 $signature: function() {
5560 return H.computeSignature(function(T) { 5799 return H.computeSignature(function(T) {
5561 return {func: 1, args: [T]}; 5800 return {func: 1, args: [T]};
5562 }, this._async$_captured_this_0, "Stream"); 5801 }, this._async$_captured_this_0, "Stream");
5563 } 5802 }
5564 }, 5803 },
5565 Stream_toList_closure0: { 5804 Stream_toList_closure0: {
5566 "^": "Closure:0;_captured_result_2,_captured_future_3", 5805 "^": "Closure:0;_captured_result_2,_captured_future_3",
5567 call$0: function() { 5806 call$0: [function() {
5568 this._captured_future_3._complete$1(this._captured_result_2); 5807 this._captured_future_3._complete$1(this._captured_result_2);
5569 } 5808 }, null, null, 0, 0, null, "call"]
5570 }, 5809 },
5571 Stream_last_closure: { 5810 Stream_last_closure: {
5572 "^": "Closure;_async$_box_0,_async$_captured_this_1", 5811 "^": "Closure;_async$_box_0,_async$_captured_this_1",
5573 call$1: function(value) { 5812 call$1: [function(value) {
5574 var t1 = this._async$_box_0; 5813 var t1 = this._async$_box_0;
5575 t1._captured_foundResult_1 = true; 5814 t1._captured_foundResult_1 = true;
5576 t1._captured_result_0 = value; 5815 t1._captured_result_0 = value;
5577 }, 5816 }, null, null, 2, 0, null, 12, "call"],
5578 $signature: function() { 5817 $signature: function() {
5579 return H.computeSignature(function(T) { 5818 return H.computeSignature(function(T) {
5580 return {func: 1, args: [T]}; 5819 return {func: 1, args: [T]};
5581 }, this._async$_captured_this_1, "Stream"); 5820 }, this._async$_captured_this_1, "Stream");
5582 } 5821 }
5583 }, 5822 },
5584 Stream_last_closure0: { 5823 Stream_last_closure0: {
5585 "^": "Closure:0;_async$_box_0,_captured_future_2", 5824 "^": "Closure:0;_async$_box_0,_captured_future_2",
5586 call$0: function() { 5825 call$0: [function() {
5587 var e, s, t1, exception; 5826 var e, s, t1, exception;
5588 t1 = this._async$_box_0; 5827 t1 = this._async$_box_0;
5589 if (t1._captured_foundResult_1) { 5828 if (t1._captured_foundResult_1) {
5590 this._captured_future_2._complete$1(t1._captured_result_0); 5829 this._captured_future_2._complete$1(t1._captured_result_0);
5591 return; 5830 return;
5592 } 5831 }
5593 try { 5832 try {
5594 t1 = H.IterableElementError_noElement(); 5833 t1 = H.IterableElementError_noElement();
5595 throw H.wrapException(t1); 5834 throw H.wrapException(t1);
5596 } catch (exception) { 5835 } catch (exception) {
5597 t1 = H.unwrapException(exception); 5836 t1 = H.unwrapException(exception);
5598 e = t1; 5837 e = t1;
5599 s = H.getTraceFromException(exception); 5838 s = H.getTraceFromException(exception);
5600 P._completeWithErrorCallback(this._captured_future_2, e, s); 5839 P._completeWithErrorCallback(this._captured_future_2, e, s);
5601 } 5840 }
5602 } 5841 }, null, null, 0, 0, null, "call"]
5603 }, 5842 },
5604 StreamSubscription: { 5843 StreamSubscription: {
5605 "^": "Object;" 5844 "^": "Object;"
5606 }, 5845 },
5607 StreamController: { 5846 StreamController: {
5608 "^": "Object;" 5847 "^": "Object;"
5609 }, 5848 },
5610 _StreamController: { 5849 _StreamController: {
5611 "^": "Object;_state?", 5850 "^": "Object;",
5851 get$isPaused: function() {
5852 var t1 = this._state;
5853 return (t1 & 1) !== 0 ? this.get$_subscription().get$_isInputPaused() : (t 1 & 2) === 0;
5854 },
5612 get$_pendingEvents: function() { 5855 get$_pendingEvents: function() {
5613 if ((this._state & 8) === 0) 5856 if ((this._state & 8) === 0)
5614 return this._varData; 5857 return this._varData;
5615 return this._varData.get$varData(); 5858 return this._varData.get$varData();
5616 }, 5859 },
5617 _ensurePendingEvents$0: function() { 5860 _ensurePendingEvents$0: function() {
5618 var t1, state; 5861 var t1, state;
5619 if ((this._state & 8) === 0) { 5862 if ((this._state & 8) === 0) {
5620 t1 = this._varData; 5863 t1 = this._varData;
5621 if (t1 == null) { 5864 if (t1 == null) {
5622 t1 = new P._StreamImplEvents(null, null, 0); 5865 t1 = new P._StreamImplEvents(null, null, 0);
5623 this._varData = t1; 5866 this._varData = t1;
5624 } 5867 }
5625 return t1; 5868 return t1;
5626 } 5869 }
5627 state = this._varData; 5870 state = this._varData;
5628 if (state.get$varData() == null) 5871 if (state.get$varData() == null)
5629 state.varData = new P._StreamImplEvents(null, null, 0); 5872 state.set$varData(new P._StreamImplEvents(null, null, 0));
5630 return state.varData; 5873 return state.get$varData();
5631 }, 5874 },
5632 get$_subscription: function() { 5875 get$_subscription: function() {
5633 if ((this._state & 8) !== 0) 5876 if ((this._state & 8) !== 0)
5634 return this._varData.get$varData(); 5877 return this._varData.get$varData();
5635 return this._varData; 5878 return this._varData;
5636 }, 5879 },
5637 _badEventState$0: function() { 5880 _badEventState$0: function() {
5638 if ((this._state & 4) !== 0) 5881 if ((this._state & 4) !== 0)
5639 return new P.StateError("Cannot add event after closing"); 5882 return new P.StateError("Cannot add event after closing");
5640 return new P.StateError("Cannot add event while adding a stream"); 5883 return new P.StateError("Cannot add event while adding a stream");
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
5681 error = error != null ? error : new P.NullThrownError(); 5924 error = error != null ? error : new P.NullThrownError();
5682 replacement = $.Zone__current.errorCallback$2(error, stackTrace); 5925 replacement = $.Zone__current.errorCallback$2(error, stackTrace);
5683 if (replacement != null) { 5926 if (replacement != null) {
5684 error = J.get$error$x(replacement); 5927 error = J.get$error$x(replacement);
5685 error = error != null ? error : new P.NullThrownError(); 5928 error = error != null ? error : new P.NullThrownError();
5686 stackTrace = replacement.get$stackTrace(); 5929 stackTrace = replacement.get$stackTrace();
5687 } 5930 }
5688 this._addError$2(error, stackTrace); 5931 this._addError$2(error, stackTrace);
5689 }, function(error) { 5932 }, function(error) {
5690 return this.addError$2(error, null); 5933 return this.addError$2(error, null);
5691 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 10, 0], 5934 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 12, 13, 14, 15],
5692 close$0: function(_) { 5935 close$0: function(_) {
5693 var t1 = this._state; 5936 var t1 = this._state;
5694 if ((t1 & 4) !== 0) 5937 if ((t1 & 4) !== 0)
5695 return this._ensureDoneFuture$0(); 5938 return this._ensureDoneFuture$0();
5696 if (t1 >= 4) 5939 if (t1 >= 4)
5697 throw H.wrapException(this._badEventState$0()); 5940 throw H.wrapException(this._badEventState$0());
5698 t1 |= 4; 5941 t1 |= 4;
5699 this._state = t1; 5942 this._state = t1;
5700 if ((t1 & 1) !== 0) 5943 if ((t1 & 1) !== 0)
5701 this._sendDone$0(); 5944 this._sendDone$0();
5702 else if ((t1 & 3) === 0) 5945 else if ((t1 & 3) === 0)
5703 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); 5946 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone);
5704 return this._ensureDoneFuture$0(); 5947 return this._ensureDoneFuture$0();
5705 }, 5948 },
5706 _async$_add$1: [function(value) { 5949 _async$_add$1: [function(value) {
5707 var t1 = this._state; 5950 var t1 = this._state;
5708 if ((t1 & 1) !== 0) 5951 if ((t1 & 1) !== 0)
5709 this._sendData$1(value); 5952 this._sendData$1(value);
5710 else if ((t1 & 3) === 0) 5953 else if ((t1 & 3) === 0)
5711 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); 5954 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null));
5712 }, "call$1", "get$_async$_add", 2, 0, function() { 5955 }, "call$1", "get$_async$_add", 2, 0, function() {
5713 return H.computeSignature(function(T) { 5956 return H.computeSignature(function(T) {
5714 return {func: 1, void: true, args: [T]}; 5957 return {func: 1, void: true, args: [T]};
5715 }, this.$receiver, "_StreamController"); 5958 }, this.$receiver, "_StreamController");
5716 }], 5959 }, 12],
5717 _addError$2: [function(error, stackTrace) { 5960 _addError$2: [function(error, stackTrace) {
5718 var t1 = this._state; 5961 var t1 = this._state;
5719 if ((t1 & 1) !== 0) 5962 if ((t1 & 1) !== 0)
5720 this._sendError$2(error, stackTrace); 5963 this._sendError$2(error, stackTrace);
5721 else if ((t1 & 3) === 0) 5964 else if ((t1 & 3) === 0)
5722 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT race, null)); 5965 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT race, null));
5723 }, "call$2", "get$_addError", 4, 0, 11], 5966 }, "call$2", "get$_addError", 4, 0, 13, 14, 15],
5724 _close$0: [function() { 5967 _close$0: [function() {
5725 var addState = this._varData; 5968 var addState = this._varData;
5726 this._varData = addState.get$varData(); 5969 this._varData = addState.get$varData();
5727 this._state &= 4294967287; 5970 this._state &= 4294967287;
5728 addState.addStreamFuture._asyncComplete$1(null); 5971 addState.complete$0(0);
5729 }, "call$0", "get$_close", 0, 0, 1], 5972 }, "call$0", "get$_close", 0, 0, 2],
5730 _subscribe$4: function(onData, onError, onDone, cancelOnError) { 5973 _subscribe$4: function(onData, onError, onDone, cancelOnError) {
5731 var t1, subscription, pendingEvents, addState; 5974 var t1, subscription, pendingEvents, addState;
5732 if ((this._state & 3) !== 0) 5975 if ((this._state & 3) !== 0)
5733 throw H.wrapException(P.StateError$("Stream has already been listened to .")); 5976 throw H.wrapException(P.StateError$("Stream has already been listened to ."));
5734 t1 = $.Zone__current; 5977 t1 = $.Zone__current;
5735 subscription = H.setRuntimeTypeInfo(new P._ControllerSubscription(this, nu ll, null, null, t1, cancelOnError ? 1 : 0, null, null), [null]); 5978 subscription = H.setRuntimeTypeInfo(new P._ControllerSubscription(this, nu ll, null, null, t1, cancelOnError ? 1 : 0, null, null), [null]);
5736 subscription._BufferingStreamSubscription$4(onData, onError, onDone, cance lOnError, null); 5979 subscription._BufferingStreamSubscription$4(onData, onError, onDone, cance lOnError, null);
5737 pendingEvents = this.get$_pendingEvents(); 5980 pendingEvents = this.get$_pendingEvents();
5738 t1 = this._state |= 1; 5981 t1 = this._state |= 1;
5739 if ((t1 & 8) !== 0) { 5982 if ((t1 & 8) !== 0) {
5740 addState = this._varData; 5983 addState = this._varData;
5741 addState.set$varData(subscription); 5984 addState.set$varData(subscription);
5742 addState.addSubscription.resume$0(); 5985 addState.resume$0();
5743 } else 5986 } else
5744 this._varData = subscription; 5987 this._varData = subscription;
5745 subscription._setPendingEvents$1(pendingEvents); 5988 subscription._setPendingEvents$1(pendingEvents);
5746 subscription._guardCallback$1(new P._StreamController__subscribe_closure(t his)); 5989 subscription._guardCallback$1(new P._StreamController__subscribe_closure(t his));
5747 return subscription; 5990 return subscription;
5748 }, 5991 },
5749 _recordCancel$1: function(subscription) { 5992 _recordCancel$1: function(subscription) {
5750 var result, e, s, exception, t1, result0; 5993 var result, e, s, exception, t1, result0;
5751 result = null; 5994 result = null;
5752 if ((this._state & 8) !== 0) 5995 if ((this._state & 8) !== 0)
(...skipping 22 matching lines...) Expand all
5775 return result; 6018 return result;
5776 } 6019 }
5777 }, 6020 },
5778 _StreamController__subscribe_closure: { 6021 _StreamController__subscribe_closure: {
5779 "^": "Closure:0;_async$_captured_this_0", 6022 "^": "Closure:0;_async$_captured_this_0",
5780 call$0: function() { 6023 call$0: function() {
5781 P._runGuarded(this._async$_captured_this_0.get$_onListen()); 6024 P._runGuarded(this._async$_captured_this_0.get$_onListen());
5782 } 6025 }
5783 }, 6026 },
5784 _StreamController__recordCancel_complete: { 6027 _StreamController__recordCancel_complete: {
5785 "^": "Closure:1;_async$_captured_this_0", 6028 "^": "Closure:2;_async$_captured_this_0",
5786 call$0: function() { 6029 call$0: [function() {
5787 var t1 = this._async$_captured_this_0._doneFuture; 6030 var t1 = this._async$_captured_this_0._doneFuture;
5788 if (t1 != null && t1._state === 0) 6031 if (t1 != null && t1._state === 0)
5789 t1._asyncComplete$1(null); 6032 t1._asyncComplete$1(null);
5790 } 6033 }, null, null, 0, 0, null, "call"]
5791 }, 6034 },
5792 _SyncStreamControllerDispatch: { 6035 _SyncStreamControllerDispatch: {
5793 "^": "Object;", 6036 "^": "Object;",
5794 _sendData$1: function(data) { 6037 _sendData$1: function(data) {
5795 this.get$_subscription()._async$_add$1(data); 6038 this.get$_subscription()._async$_add$1(data);
5796 }, 6039 },
5797 _sendError$2: function(error, stackTrace) { 6040 _sendError$2: function(error, stackTrace) {
5798 this.get$_subscription()._addError$2(error, stackTrace); 6041 this.get$_subscription()._addError$2(error, stackTrace);
5799 }, 6042 },
5800 _sendDone$0: function() { 6043 _sendDone$0: function() {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
5884 _ControllerSubscription: { 6127 _ControllerSubscription: {
5885 "^": "_BufferingStreamSubscription;_controller,_onData,_onError,_onDone,_zon e,_state,_cancelFuture,_pending", 6128 "^": "_BufferingStreamSubscription;_controller,_onData,_onError,_onDone,_zon e,_state,_cancelFuture,_pending",
5886 _onCancel$0: function() { 6129 _onCancel$0: function() {
5887 return this._controller._recordCancel$1(this); 6130 return this._controller._recordCancel$1(this);
5888 }, 6131 },
5889 _onPause$0: [function() { 6132 _onPause$0: [function() {
5890 var t1 = this._controller; 6133 var t1 = this._controller;
5891 if ((t1._state & 8) !== 0) 6134 if ((t1._state & 8) !== 0)
5892 t1._varData.pause$0(0); 6135 t1._varData.pause$0(0);
5893 P._runGuarded(t1.get$_onPause()); 6136 P._runGuarded(t1.get$_onPause());
5894 }, "call$0", "get$_onPause", 0, 0, 1], 6137 }, "call$0", "get$_onPause", 0, 0, 2],
5895 _onResume$0: [function() { 6138 _onResume$0: [function() {
5896 var t1 = this._controller; 6139 var t1 = this._controller;
5897 if ((t1._state & 8) !== 0) 6140 if ((t1._state & 8) !== 0)
5898 t1._varData.resume$0(); 6141 t1._varData.resume$0();
5899 P._runGuarded(t1.get$_onResume()); 6142 P._runGuarded(t1.get$_onResume());
5900 }, "call$0", "get$_onResume", 0, 0, 1] 6143 }, "call$0", "get$_onResume", 0, 0, 2]
5901 }, 6144 },
5902 _StreamSinkWrapper: { 6145 _StreamSinkWrapper: {
5903 "^": "Object;_async$_target", 6146 "^": "Object;_async$_target",
5904 add$1: function(_, data) { 6147 add$1: function(_, data) {
5905 var t1 = this._async$_target; 6148 var t1 = this._async$_target;
5906 if (t1._state >= 4) 6149 if (t1._state >= 4)
5907 H.throwExpression(t1._badEventState$0()); 6150 H.throwExpression(t1._badEventState$0());
5908 t1._async$_add$1(data); 6151 t1._async$_add$1(data);
5909 }, 6152 },
5910 close$0: function(_) { 6153 close$0: function(_) {
5911 return this._async$_target.close$0(0); 6154 return this._async$_target.close$0(0);
5912 } 6155 }
5913 }, 6156 },
5914 _AddStreamState: { 6157 _AddStreamState: {
5915 "^": "Object;", 6158 "^": "Object;",
5916 pause$0: function(_) { 6159 pause$0: function(_) {
5917 this.addSubscription.pause$0(0); 6160 this.addSubscription.pause$0(0);
5918 }, 6161 },
5919 resume$0: function() { 6162 resume$0: function() {
5920 this.addSubscription.resume$0(); 6163 this.addSubscription.resume$0();
5921 }, 6164 },
5922 cancel$0: function() { 6165 cancel$0: function() {
5923 var cancel = this.addSubscription.cancel$0(); 6166 var cancel = this.addSubscription.cancel$0();
5924 if (cancel == null) { 6167 if (cancel == null) {
5925 this.addStreamFuture._asyncComplete$1(null); 6168 this.addStreamFuture._asyncComplete$1(null);
5926 return; 6169 return;
5927 } 6170 }
5928 return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this)); 6171 return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this));
6172 },
6173 complete$0: function(_) {
6174 this.addStreamFuture._asyncComplete$1(null);
5929 } 6175 }
5930 }, 6176 },
5931 _AddStreamState_makeErrorHandler_closure: { 6177 _AddStreamState_makeErrorHandler_closure: {
5932 "^": "Closure:12;_captured_controller_0", 6178 "^": "Closure:14;_captured_controller_0",
5933 call$2: function(e, s) { 6179 call$2: [function(e, s) {
5934 var t1 = this._captured_controller_0; 6180 var t1 = this._captured_controller_0;
5935 t1._addError$2(e, s); 6181 t1._addError$2(e, s);
5936 t1._close$0(); 6182 t1._close$0();
5937 } 6183 }, null, null, 4, 0, null, 2, 30, "call"]
5938 }, 6184 },
5939 _AddStreamState_cancel_closure: { 6185 _AddStreamState_cancel_closure: {
5940 "^": "Closure:0;_async$_captured_this_0", 6186 "^": "Closure:0;_async$_captured_this_0",
5941 call$0: function() { 6187 call$0: [function() {
5942 this._async$_captured_this_0.addStreamFuture._asyncComplete$1(null); 6188 this._async$_captured_this_0.addStreamFuture._asyncComplete$1(null);
5943 } 6189 }, null, null, 0, 0, null, "call"]
5944 }, 6190 },
5945 _StreamControllerAddStreamState: { 6191 _StreamControllerAddStreamState: {
5946 "^": "_AddStreamState;varData@,addStreamFuture,addSubscription" 6192 "^": "_AddStreamState;varData@,addStreamFuture,addSubscription"
5947 }, 6193 },
5948 _EventSink: { 6194 _EventSink: {
5949 "^": "Object;" 6195 "^": "Object;"
5950 }, 6196 },
5951 _BufferingStreamSubscription: { 6197 _BufferingStreamSubscription: {
5952 "^": "Object;_onData,_onError,_onDone,_zone<,_state?,_cancelFuture,_pending" , 6198 "^": "Object;_onData,_onError<,_onDone,_zone<,_state,_cancelFuture,_pending" ,
5953 _setPendingEvents$1: function(pendingEvents) { 6199 _setPendingEvents$1: function(pendingEvents) {
5954 if (pendingEvents == null) 6200 if (pendingEvents == null)
5955 return; 6201 return;
5956 this._pending = pendingEvents; 6202 this._pending = pendingEvents;
5957 if (!pendingEvents.get$isEmpty(pendingEvents)) { 6203 if (!pendingEvents.get$isEmpty(pendingEvents)) {
5958 this._state = (this._state | 64) >>> 0; 6204 this._state = (this._state | 64) >>> 0;
5959 this._pending.schedule$1(this); 6205 this._pending.schedule$1(this);
5960 } 6206 }
5961 }, 6207 },
5962 pause$1: function(_, resumeSignal) { 6208 pause$1: function(_, resumeSignal) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
6000 var t1 = (this._state & 4294967279) >>> 0; 6246 var t1 = (this._state & 4294967279) >>> 0;
6001 this._state = t1; 6247 this._state = t1;
6002 if ((t1 & 8) !== 0) 6248 if ((t1 & 8) !== 0)
6003 return this._cancelFuture; 6249 return this._cancelFuture;
6004 this._cancel$0(); 6250 this._cancel$0();
6005 return this._cancelFuture; 6251 return this._cancelFuture;
6006 }, 6252 },
6007 get$_isInputPaused: function() { 6253 get$_isInputPaused: function() {
6008 return (this._state & 4) !== 0; 6254 return (this._state & 4) !== 0;
6009 }, 6255 },
6256 get$isPaused: function() {
6257 return this._state >= 128;
6258 },
6010 _cancel$0: function() { 6259 _cancel$0: function() {
6011 var t1 = (this._state | 8) >>> 0; 6260 var t1 = (this._state | 8) >>> 0;
6012 this._state = t1; 6261 this._state = t1;
6013 if ((t1 & 64) !== 0) 6262 if ((t1 & 64) !== 0)
6014 this._pending.cancelSchedule$0(); 6263 this._pending.cancelSchedule$0();
6015 if ((this._state & 32) === 0) 6264 if ((this._state & 32) === 0)
6016 this._pending = null; 6265 this._pending = null;
6017 this._cancelFuture = this._onCancel$0(); 6266 this._cancelFuture = this._onCancel$0();
6018 }, 6267 },
6019 _async$_add$1: ["super$_BufferingStreamSubscription$_async$_add$1", function (data) { 6268 _async$_add$1: ["super$_BufferingStreamSubscription$_async$_add$1", function (data) {
(...skipping 19 matching lines...) Expand all
6039 if ((t1 & 8) !== 0) 6288 if ((t1 & 8) !== 0)
6040 return; 6289 return;
6041 t1 = (t1 | 2) >>> 0; 6290 t1 = (t1 | 2) >>> 0;
6042 this._state = t1; 6291 this._state = t1;
6043 if (t1 < 32) 6292 if (t1 < 32)
6044 this._sendDone$0(); 6293 this._sendDone$0();
6045 else 6294 else
6046 this._addPending$1(C.C__DelayedDone); 6295 this._addPending$1(C.C__DelayedDone);
6047 }, 6296 },
6048 _onPause$0: [function() { 6297 _onPause$0: [function() {
6049 }, "call$0", "get$_onPause", 0, 0, 1], 6298 }, "call$0", "get$_onPause", 0, 0, 2],
6050 _onResume$0: [function() { 6299 _onResume$0: [function() {
6051 }, "call$0", "get$_onResume", 0, 0, 1], 6300 }, "call$0", "get$_onResume", 0, 0, 2],
6052 _onCancel$0: function() { 6301 _onCancel$0: function() {
6053 return; 6302 return;
6054 }, 6303 },
6055 _addPending$1: function($event) { 6304 _addPending$1: function($event) {
6056 var pending, t1; 6305 var pending, t1;
6057 pending = this._pending; 6306 pending = this._pending;
6058 if (pending == null) { 6307 if (pending == null) {
6059 pending = new P._StreamImplEvents(null, null, 0); 6308 pending = new P._StreamImplEvents(null, null, 0);
6060 this._pending = pending; 6309 this._pending = pending;
6061 } 6310 }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
6158 this._onDone = t1.registerCallback$1(onDone == null ? P._nullDoneHandler$c losure() : onDone); 6407 this._onDone = t1.registerCallback$1(onDone == null ? P._nullDoneHandler$c losure() : onDone);
6159 }, 6408 },
6160 static: {_BufferingStreamSubscription$: function(onData, onError, onDone, ca ncelOnError, $T) { 6409 static: {_BufferingStreamSubscription$: function(onData, onError, onDone, ca ncelOnError, $T) {
6161 var t1 = $.Zone__current; 6410 var t1 = $.Zone__current;
6162 t1 = H.setRuntimeTypeInfo(new P._BufferingStreamSubscription(null, null, null, t1, cancelOnError ? 1 : 0, null, null), [$T]); 6411 t1 = H.setRuntimeTypeInfo(new P._BufferingStreamSubscription(null, null, null, t1, cancelOnError ? 1 : 0, null, null), [$T]);
6163 t1._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError , $T); 6412 t1._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnError , $T);
6164 return t1; 6413 return t1;
6165 }} 6414 }}
6166 }, 6415 },
6167 _BufferingStreamSubscription__sendError_sendError: { 6416 _BufferingStreamSubscription__sendError_sendError: {
6168 "^": "Closure:1;_async$_captured_this_0,_captured_error_1,_captured_stackTra ce_2", 6417 "^": "Closure:2;_async$_captured_this_0,_captured_error_1,_captured_stackTra ce_2",
6169 call$0: function() { 6418 call$0: [function() {
6170 var t1, t2, t3, t4, t5, t6; 6419 var t1, t2, t3, t4, t5, t6;
6171 t1 = this._async$_captured_this_0; 6420 t1 = this._async$_captured_this_0;
6172 t2 = t1._state; 6421 t2 = t1._state;
6173 if ((t2 & 8) !== 0 && (t2 & 16) === 0) 6422 if ((t2 & 8) !== 0 && (t2 & 16) === 0)
6174 return; 6423 return;
6175 t1._state = (t2 | 32) >>> 0; 6424 t1._state = (t2 | 32) >>> 0;
6176 t2 = t1._onError; 6425 t2 = t1._onError;
6177 t3 = H.getDynamicRuntimeType(); 6426 t3 = H.getDynamicRuntimeType();
6178 t3 = H.buildFunctionType(t3, [t3, t3])._isTest$1(t2); 6427 t3 = H.buildFunctionType(t3, [t3, t3])._isTest$1(t2);
6179 t4 = t1._zone; 6428 t4 = t1._zone;
6180 t5 = this._captured_error_1; 6429 t5 = this._captured_error_1;
6181 t6 = t1._onError; 6430 t6 = t1._onError;
6182 if (t3) 6431 if (t3)
6183 t4.runBinaryGuarded$3(t6, t5, this._captured_stackTrace_2); 6432 t4.runBinaryGuarded$3(t6, t5, this._captured_stackTrace_2);
6184 else 6433 else
6185 t4.runUnaryGuarded$2(t6, t5); 6434 t4.runUnaryGuarded$2(t6, t5);
6186 t1._state = (t1._state & 4294967263) >>> 0; 6435 t1._state = (t1._state & 4294967263) >>> 0;
6187 } 6436 }, null, null, 0, 0, null, "call"]
6188 }, 6437 },
6189 _BufferingStreamSubscription__sendDone_sendDone: { 6438 _BufferingStreamSubscription__sendDone_sendDone: {
6190 "^": "Closure:1;_async$_captured_this_0", 6439 "^": "Closure:2;_async$_captured_this_0",
6191 call$0: function() { 6440 call$0: [function() {
6192 var t1, t2; 6441 var t1, t2;
6193 t1 = this._async$_captured_this_0; 6442 t1 = this._async$_captured_this_0;
6194 t2 = t1._state; 6443 t2 = t1._state;
6195 if ((t2 & 16) === 0) 6444 if ((t2 & 16) === 0)
6196 return; 6445 return;
6197 t1._state = (t2 | 42) >>> 0; 6446 t1._state = (t2 | 42) >>> 0;
6198 t1._zone.runGuarded$1(t1._onDone); 6447 t1._zone.runGuarded$1(t1._onDone);
6199 t1._state = (t1._state & 4294967263) >>> 0; 6448 t1._state = (t1._state & 4294967263) >>> 0;
6200 } 6449 }, null, null, 0, 0, null, "call"]
6201 }, 6450 },
6202 _StreamImpl: { 6451 _StreamImpl: {
6203 "^": "Stream;", 6452 "^": "Stream;",
6204 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) { 6453 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) {
6205 return this._createSubscription$4(onData, onError, onDone, true === cancel OnError); 6454 return this._createSubscription$4(onData, onError, onDone, true === cancel OnError);
6206 }, 6455 },
6207 listen$1: function(onData) { 6456 listen$1: function(onData) {
6208 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null ); 6457 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null );
6209 }, 6458 },
6210 listen$2$onDone: function(onData, onDone) { 6459 listen$2$onDone: function(onData, onDone) {
(...skipping 30 matching lines...) Expand all
6241 dispatch._sendDone$0(); 6490 dispatch._sendDone$0();
6242 }, 6491 },
6243 get$next: function() { 6492 get$next: function() {
6244 return; 6493 return;
6245 }, 6494 },
6246 set$next: function(_) { 6495 set$next: function(_) {
6247 throw H.wrapException(P.StateError$("No events after a done.")); 6496 throw H.wrapException(P.StateError$("No events after a done."));
6248 } 6497 }
6249 }, 6498 },
6250 _PendingEvents: { 6499 _PendingEvents: {
6251 "^": "Object;_state?", 6500 "^": "Object;",
6252 schedule$1: function(dispatch) { 6501 schedule$1: function(dispatch) {
6253 var t1 = this._state; 6502 var t1 = this._state;
6254 if (t1 === 1) 6503 if (t1 === 1)
6255 return; 6504 return;
6256 if (t1 >= 1) { 6505 if (t1 >= 1) {
6257 this._state = 1; 6506 this._state = 1;
6258 return; 6507 return;
6259 } 6508 }
6260 P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch)) ; 6509 P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch)) ;
6261 this._state = 1; 6510 this._state = 1;
6262 }, 6511 },
6263 cancelSchedule$0: function() { 6512 cancelSchedule$0: function() {
6264 if (this._state === 1) 6513 if (this._state === 1)
6265 this._state = 3; 6514 this._state = 3;
6266 } 6515 }
6267 }, 6516 },
6268 _PendingEvents_schedule_closure: { 6517 _PendingEvents_schedule_closure: {
6269 "^": "Closure:0;_async$_captured_this_0,_captured_dispatch_1", 6518 "^": "Closure:0;_async$_captured_this_0,_captured_dispatch_1",
6270 call$0: function() { 6519 call$0: [function() {
6271 var t1, oldState; 6520 var t1, oldState;
6272 t1 = this._async$_captured_this_0; 6521 t1 = this._async$_captured_this_0;
6273 oldState = t1._state; 6522 oldState = t1._state;
6274 t1._state = 0; 6523 t1._state = 0;
6275 if (oldState === 3) 6524 if (oldState === 3)
6276 return; 6525 return;
6277 t1.handleNext$1(this._captured_dispatch_1); 6526 t1.handleNext$1(this._captured_dispatch_1);
6278 } 6527 }, null, null, 0, 0, null, "call"]
6279 }, 6528 },
6280 _StreamImplEvents: { 6529 _StreamImplEvents: {
6281 "^": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state", 6530 "^": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state",
6282 get$isEmpty: function(_) { 6531 get$isEmpty: function(_) {
6283 return this.lastPendingEvent == null; 6532 return this.lastPendingEvent == null;
6284 }, 6533 },
6285 add$1: function(_, $event) { 6534 add$1: function(_, $event) {
6286 var t1 = this.lastPendingEvent; 6535 var t1 = this.lastPendingEvent;
6287 if (t1 == null) { 6536 if (t1 == null) {
6288 this.lastPendingEvent = $event; 6537 this.lastPendingEvent = $event;
6289 this.firstPendingEvent = $event; 6538 this.firstPendingEvent = $event;
6290 } else { 6539 } else {
6291 t1.set$next($event); 6540 t1.set$next($event);
6292 this.lastPendingEvent = $event; 6541 this.lastPendingEvent = $event;
6293 } 6542 }
6294 }, 6543 },
6295 handleNext$1: function(dispatch) { 6544 handleNext$1: function(dispatch) {
6296 var $event, t1; 6545 var $event, t1;
6297 $event = this.firstPendingEvent; 6546 $event = this.firstPendingEvent;
6298 t1 = $event.get$next(); 6547 t1 = $event.get$next();
6299 this.firstPendingEvent = t1; 6548 this.firstPendingEvent = t1;
6300 if (t1 == null) 6549 if (t1 == null)
6301 this.lastPendingEvent = null; 6550 this.lastPendingEvent = null;
6302 $event.perform$1(dispatch); 6551 $event.perform$1(dispatch);
6303 } 6552 }
6304 }, 6553 },
6305 _cancelAndError_closure: { 6554 _cancelAndError_closure: {
6306 "^": "Closure:0;_captured_future_0,_captured_error_1,_captured_stackTrace_2" , 6555 "^": "Closure:0;_captured_future_0,_captured_error_1,_captured_stackTrace_2" ,
6307 call$0: function() { 6556 call$0: [function() {
6308 return this._captured_future_0._completeError$2(this._captured_error_1, th is._captured_stackTrace_2); 6557 return this._captured_future_0._completeError$2(this._captured_error_1, th is._captured_stackTrace_2);
6309 } 6558 }, null, null, 0, 0, null, "call"]
6310 }, 6559 },
6311 _cancelAndErrorClosure_closure: { 6560 _cancelAndErrorClosure_closure: {
6312 "^": "Closure:12;_captured_subscription_0,_captured_future_1", 6561 "^": "Closure:14;_captured_subscription_0,_captured_future_1",
6313 call$2: function(error, stackTrace) { 6562 call$2: function(error, stackTrace) {
6314 return P._cancelAndError(this._captured_subscription_0, this._captured_fut ure_1, error, stackTrace); 6563 return P._cancelAndError(this._captured_subscription_0, this._captured_fut ure_1, error, stackTrace);
6315 } 6564 }
6316 }, 6565 },
6317 _cancelAndValue_closure: { 6566 _cancelAndValue_closure: {
6318 "^": "Closure:0;_captured_future_0,_captured_value_1", 6567 "^": "Closure:0;_captured_future_0,_captured_value_1",
6319 call$0: function() { 6568 call$0: [function() {
6320 return this._captured_future_0._complete$1(this._captured_value_1); 6569 return this._captured_future_0._complete$1(this._captured_value_1);
6321 } 6570 }, null, null, 0, 0, null, "call"]
6322 }, 6571 },
6323 _ForwardingStream: { 6572 _ForwardingStream: {
6324 "^": "Stream;", 6573 "^": "Stream;",
6325 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) { 6574 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) {
6326 return this._createSubscription$4(onData, onError, onDone, true === cancel OnError); 6575 return this._createSubscription$4(onData, onError, onDone, true === cancel OnError);
6327 }, 6576 },
6328 listen$3$onDone$onError: function(onData, onDone, onError) { 6577 listen$3$onDone$onError: function(onData, onDone, onError) {
6329 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on Error); 6578 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on Error);
6330 }, 6579 },
6331 _createSubscription$4: function(onData, onError, onDone, cancelOnError) { 6580 _createSubscription$4: function(onData, onError, onDone, cancelOnError) {
(...skipping 16 matching lines...) Expand all
6348 _addError$2: function(error, stackTrace) { 6597 _addError$2: function(error, stackTrace) {
6349 if ((this._state & 2) !== 0) 6598 if ((this._state & 2) !== 0)
6350 return; 6599 return;
6351 this.super$_BufferingStreamSubscription$_addError$2(error, stackTrace); 6600 this.super$_BufferingStreamSubscription$_addError$2(error, stackTrace);
6352 }, 6601 },
6353 _onPause$0: [function() { 6602 _onPause$0: [function() {
6354 var t1 = this._subscription; 6603 var t1 = this._subscription;
6355 if (t1 == null) 6604 if (t1 == null)
6356 return; 6605 return;
6357 t1.pause$0(0); 6606 t1.pause$0(0);
6358 }, "call$0", "get$_onPause", 0, 0, 1], 6607 }, "call$0", "get$_onPause", 0, 0, 2],
6359 _onResume$0: [function() { 6608 _onResume$0: [function() {
6360 var t1 = this._subscription; 6609 var t1 = this._subscription;
6361 if (t1 == null) 6610 if (t1 == null)
6362 return; 6611 return;
6363 t1.resume$0(); 6612 t1.resume$0();
6364 }, "call$0", "get$_onResume", 0, 0, 1], 6613 }, "call$0", "get$_onResume", 0, 0, 2],
6365 _onCancel$0: function() { 6614 _onCancel$0: function() {
6366 var t1 = this._subscription; 6615 var t1 = this._subscription;
6367 if (t1 != null) { 6616 if (t1 != null) {
6368 this._subscription = null; 6617 this._subscription = null;
6369 t1.cancel$0(); 6618 t1.cancel$0();
6370 } 6619 }
6371 return; 6620 return;
6372 }, 6621 },
6373 _handleData$1: [function(data) { 6622 _handleData$1: [function(data) {
6374 this._stream._handleData$2(data, this); 6623 this._stream._handleData$2(data, this);
6375 }, "call$1", "get$_handleData", 2, 0, function() { 6624 }, "call$1", "get$_handleData", 2, 0, function() {
6376 return H.computeSignature(function(S, T) { 6625 return H.computeSignature(function(S, T) {
6377 return {func: 1, void: true, args: [S]}; 6626 return {func: 1, void: true, args: [S]};
6378 }, this.$receiver, "_ForwardingStreamSubscription"); 6627 }, this.$receiver, "_ForwardingStreamSubscription");
6379 }], 6628 }, 29],
6380 _handleError$2: [function(error, stackTrace) { 6629 _handleError$2: [function(error, stackTrace) {
6381 this._addError$2(error, stackTrace); 6630 this._addError$2(error, stackTrace);
6382 }, "call$2", "get$_handleError", 4, 0, 13], 6631 }, "call$2", "get$_handleError", 4, 0, 1, 14, 15],
6383 _handleDone$0: [function() { 6632 _handleDone$0: [function() {
6384 this._close$0(); 6633 this._close$0();
6385 }, "call$0", "get$_handleDone", 0, 0, 1], 6634 }, "call$0", "get$_handleDone", 0, 0, 2],
6386 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { 6635 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) {
6387 var t1, t2; 6636 var t1, t2;
6388 t1 = this.get$_handleData(); 6637 t1 = this.get$_handleData();
6389 t2 = this.get$_handleError(); 6638 t2 = this.get$_handleError();
6390 this._subscription = this._stream._async$_source.listen$3$onDone$onError(t 1, this.get$_handleDone(), t2); 6639 this._subscription = this._stream._async$_source.listen$3$onDone$onError(t 1, this.get$_handleDone(), t2);
6391 }, 6640 },
6392 $as_BufferingStreamSubscription: function($S, $T) { 6641 $as_BufferingStreamSubscription: function($S, $T) {
6393 return [$T]; 6642 return [$T];
6394 }, 6643 },
6395 static: {_ForwardingStreamSubscription$: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { 6644 static: {_ForwardingStreamSubscription$: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
6484 Zone: { 6733 Zone: {
6485 "^": "Object;" 6734 "^": "Object;"
6486 }, 6735 },
6487 _ZoneDelegate: { 6736 _ZoneDelegate: {
6488 "^": "Object;_delegationTarget", 6737 "^": "Object;_delegationTarget",
6489 handleUncaughtError$3: [function(zone, error, stackTrace) { 6738 handleUncaughtError$3: [function(zone, error, stackTrace) {
6490 var implementation, implZone; 6739 var implementation, implZone;
6491 implementation = this._delegationTarget.get$_handleUncaughtError(); 6740 implementation = this._delegationTarget.get$_handleUncaughtError();
6492 implZone = implementation.zone; 6741 implZone = implementation.zone;
6493 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, error, stackTrace); 6742 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, error, stackTrace);
6494 }, "call$3", "get$handleUncaughtError", 6, 0, 14], 6743 }, "call$3", "get$handleUncaughtError", 6, 0, 15],
6495 run$2: [function(zone, f) { 6744 run$2: [function(zone, f) {
6496 var implementation, implZone; 6745 var implementation, implZone;
6497 implementation = this._delegationTarget.get$_run(); 6746 implementation = this._delegationTarget.get$_run();
6498 implZone = implementation.zone; 6747 implZone = implementation.zone;
6499 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f); 6748 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f);
6500 }, "call$2", "get$run", 4, 0, 15], 6749 }, "call$2", "get$run", 4, 0, 16],
6501 runUnary$3: [function(zone, f, arg) { 6750 runUnary$3: [function(zone, f, arg) {
6502 var implementation, implZone; 6751 var implementation, implZone;
6503 implementation = this._delegationTarget.get$_runUnary(); 6752 implementation = this._delegationTarget.get$_runUnary();
6504 implZone = implementation.zone; 6753 implZone = implementation.zone;
6505 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, f, arg); 6754 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, f, arg);
6506 }, "call$3", "get$runUnary", 6, 0, 16], 6755 }, "call$3", "get$runUnary", 6, 0, 17],
6507 runBinary$4: [function(zone, f, arg1, arg2) { 6756 runBinary$4: [function(zone, f, arg1, arg2) {
6508 var implementation, implZone; 6757 var implementation, implZone;
6509 implementation = this._delegationTarget.get$_runBinary(); 6758 implementation = this._delegationTarget.get$_runBinary();
6510 implZone = implementation.zone; 6759 implZone = implementation.zone;
6511 return implementation.$function.call$6(implZone, P._parentDelegate(implZon e), zone, f, arg1, arg2); 6760 return implementation.$function.call$6(implZone, P._parentDelegate(implZon e), zone, f, arg1, arg2);
6512 }, "call$4", "get$runBinary", 8, 0, 17], 6761 }, "call$4", "get$runBinary", 8, 0, 18],
6513 registerCallback$2: [function(zone, f) { 6762 registerCallback$2: [function(zone, f) {
6514 var implementation, implZone; 6763 var implementation, implZone;
6515 implementation = this._delegationTarget.get$_registerCallback(); 6764 implementation = this._delegationTarget.get$_registerCallback();
6516 implZone = implementation.zone; 6765 implZone = implementation.zone;
6517 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f); 6766 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f);
6518 }, "call$2", "get$registerCallback", 4, 0, 18], 6767 }, "call$2", "get$registerCallback", 4, 0, 19],
6519 registerUnaryCallback$2: [function(zone, f) { 6768 registerUnaryCallback$2: [function(zone, f) {
6520 var implementation, implZone; 6769 var implementation, implZone;
6521 implementation = this._delegationTarget.get$_registerUnaryCallback(); 6770 implementation = this._delegationTarget.get$_registerUnaryCallback();
6522 implZone = implementation.zone; 6771 implZone = implementation.zone;
6523 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f); 6772 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f);
6524 }, "call$2", "get$registerUnaryCallback", 4, 0, 19], 6773 }, "call$2", "get$registerUnaryCallback", 4, 0, 20],
6525 registerBinaryCallback$2: [function(zone, f) { 6774 registerBinaryCallback$2: [function(zone, f) {
6526 var implementation, implZone; 6775 var implementation, implZone;
6527 implementation = this._delegationTarget.get$_registerBinaryCallback(); 6776 implementation = this._delegationTarget.get$_registerBinaryCallback();
6528 implZone = implementation.zone; 6777 implZone = implementation.zone;
6529 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f); 6778 return implementation.$function.call$4(implZone, P._parentDelegate(implZon e), zone, f);
6530 }, "call$2", "get$registerBinaryCallback", 4, 0, 20], 6779 }, "call$2", "get$registerBinaryCallback", 4, 0, 21],
6531 errorCallback$3: [function(zone, error, stackTrace) { 6780 errorCallback$3: [function(zone, error, stackTrace) {
6532 var implementation, implZone; 6781 var implementation, implZone;
6533 implementation = this._delegationTarget.get$_errorCallback(); 6782 implementation = this._delegationTarget.get$_errorCallback();
6534 implZone = implementation.zone; 6783 implZone = implementation.zone;
6535 if (implZone === C.C__RootZone) 6784 if (implZone === C.C__RootZone)
6536 return; 6785 return;
6537 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, error, stackTrace); 6786 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, error, stackTrace);
6538 }, "call$3", "get$errorCallback", 6, 0, 21], 6787 }, "call$3", "get$errorCallback", 6, 0, 22],
6539 scheduleMicrotask$2: [function(zone, f) { 6788 scheduleMicrotask$2: [function(zone, f) {
6540 var implementation, implZone; 6789 var implementation, implZone;
6541 implementation = this._delegationTarget.get$_scheduleMicrotask(); 6790 implementation = this._delegationTarget.get$_scheduleMicrotask();
6542 implZone = implementation.zone; 6791 implZone = implementation.zone;
6543 implementation.$function.call$4(implZone, P._parentDelegate(implZone), zon e, f); 6792 implementation.$function.call$4(implZone, P._parentDelegate(implZone), zon e, f);
6544 }, "call$2", "get$scheduleMicrotask", 4, 0, 22], 6793 }, "call$2", "get$scheduleMicrotask", 4, 0, 23],
6545 createTimer$3: [function(zone, duration, f) { 6794 createTimer$3: [function(zone, duration, f) {
6546 var implementation, implZone; 6795 var implementation, implZone;
6547 implementation = this._delegationTarget.get$_createTimer(); 6796 implementation = this._delegationTarget.get$_createTimer();
6548 implZone = implementation.zone; 6797 implZone = implementation.zone;
6549 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, duration, f); 6798 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, duration, f);
6550 }, "call$3", "get$createTimer", 6, 0, 23], 6799 }, "call$3", "get$createTimer", 6, 0, 24],
6551 createPeriodicTimer$3: [function(zone, period, f) { 6800 createPeriodicTimer$3: [function(zone, period, f) {
6552 var implementation, implZone; 6801 var implementation, implZone;
6553 implementation = this._delegationTarget.get$_createPeriodicTimer(); 6802 implementation = this._delegationTarget.get$_createPeriodicTimer();
6554 implZone = implementation.zone; 6803 implZone = implementation.zone;
6555 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, period, f); 6804 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, period, f);
6556 }, "call$3", "get$createPeriodicTimer", 6, 0, 24], 6805 }, "call$3", "get$createPeriodicTimer", 6, 0, 25],
6557 print$2: [function(_, zone, line) { 6806 print$2: [function(_, zone, line) {
6558 var implementation, implZone; 6807 var implementation, implZone;
6559 implementation = this._delegationTarget.get$_print(); 6808 implementation = this._delegationTarget.get$_print();
6560 implZone = implementation.zone; 6809 implZone = implementation.zone;
6561 implementation.$function.call$4(implZone, P._parentDelegate(implZone), zon e, line); 6810 implementation.$function.call$4(implZone, P._parentDelegate(implZone), zon e, line);
6562 }, "call$2", "get$print", 4, 0, 25], 6811 }, "call$2", "get$print", 4, 0, 26],
6563 fork$3: [function(zone, specification, zoneValues) { 6812 fork$3: [function(zone, specification, zoneValues) {
6564 var implementation, implZone; 6813 var implementation, implZone;
6565 implementation = this._delegationTarget.get$_fork(); 6814 implementation = this._delegationTarget.get$_fork();
6566 implZone = implementation.zone; 6815 implZone = implementation.zone;
6567 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, specification, zoneValues); 6816 return implementation.$function.call$5(implZone, P._parentDelegate(implZon e), zone, specification, zoneValues);
6568 }, "call$3", "get$fork", 6, 0, 26] 6817 }, "call$3", "get$fork", 6, 0, 27]
6569 }, 6818 },
6570 _Zone: { 6819 _Zone: {
6571 "^": "Object;", 6820 "^": "Object;",
6572 inSameErrorZone$1: function(otherZone) { 6821 inSameErrorZone$1: function(otherZone) {
6573 return this === otherZone || this.get$errorZone() === otherZone.get$errorZ one(); 6822 return this === otherZone || this.get$errorZone() === otherZone.get$errorZ one();
6574 } 6823 }
6575 }, 6824 },
6576 _CustomZone: { 6825 _CustomZone: {
6577 "^": "_Zone;_runUnary<,_run<,_runBinary<,_registerCallback<,_registerUnaryCa llback<,_registerBinaryCallback<,_errorCallback<,_scheduleMicrotask<,_createTime r<,_createPeriodicTimer<,_print<,_fork<,_handleUncaughtError<,_delegateCache,par ent>,_map<", 6826 "^": "_Zone;_runUnary<,_run<,_runBinary<,_registerCallback<,_registerUnaryCa llback<,_registerBinaryCallback<,_errorCallback<,_scheduleMicrotask<,_createTime r<,_createPeriodicTimer<,_print<,_fork<,_handleUncaughtError<,_delegateCache,par ent>,_map<",
6578 get$_delegate: function() { 6827 get$_delegate: function() {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
6656 return value; 6905 return value;
6657 } 6906 }
6658 return; 6907 return;
6659 }, 6908 },
6660 handleUncaughtError$2: [function(error, stackTrace) { 6909 handleUncaughtError$2: [function(error, stackTrace) {
6661 var implementation, t1, parentDelegate; 6910 var implementation, t1, parentDelegate;
6662 implementation = this._handleUncaughtError; 6911 implementation = this._handleUncaughtError;
6663 t1 = implementation.zone; 6912 t1 = implementation.zone;
6664 parentDelegate = P._parentDelegate(t1); 6913 parentDelegate = P._parentDelegate(t1);
6665 return implementation.$function.call$5(t1, parentDelegate, this, error, st ackTrace); 6914 return implementation.$function.call$5(t1, parentDelegate, this, error, st ackTrace);
6666 }, "call$2", "get$handleUncaughtError", 4, 0, 12], 6915 }, "call$2", "get$handleUncaughtError", 4, 0, 14],
6667 fork$2$specification$zoneValues: [function(specification, zoneValues) { 6916 fork$2$specification$zoneValues: [function(specification, zoneValues) {
6668 var implementation, t1, parentDelegate; 6917 var implementation, t1, parentDelegate;
6669 implementation = this._fork; 6918 implementation = this._fork;
6670 t1 = implementation.zone; 6919 t1 = implementation.zone;
6671 parentDelegate = P._parentDelegate(t1); 6920 parentDelegate = P._parentDelegate(t1);
6672 return implementation.$function.call$5(t1, parentDelegate, this, specifica tion, zoneValues); 6921 return implementation.$function.call$5(t1, parentDelegate, this, specifica tion, zoneValues);
6673 }, function() { 6922 }, function() {
6674 return this.fork$2$specification$zoneValues(null, null); 6923 return this.fork$2$specification$zoneValues(null, null);
6675 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 27, 0, 0], 6924 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 28, 13, 13],
6676 run$1: [function(f) { 6925 run$1: [function(f) {
6677 var implementation, t1, parentDelegate; 6926 var implementation, t1, parentDelegate;
6678 implementation = this._run; 6927 implementation = this._run;
6679 t1 = implementation.zone; 6928 t1 = implementation.zone;
6680 parentDelegate = P._parentDelegate(t1); 6929 parentDelegate = P._parentDelegate(t1);
6681 return implementation.$function.call$4(t1, parentDelegate, this, f); 6930 return implementation.$function.call$4(t1, parentDelegate, this, f);
6682 }, "call$1", "get$run", 2, 0, 28], 6931 }, "call$1", "get$run", 2, 0, 29],
6683 runUnary$2: [function(f, arg) { 6932 runUnary$2: [function(f, arg) {
6684 var implementation, t1, parentDelegate; 6933 var implementation, t1, parentDelegate;
6685 implementation = this._runUnary; 6934 implementation = this._runUnary;
6686 t1 = implementation.zone; 6935 t1 = implementation.zone;
6687 parentDelegate = P._parentDelegate(t1); 6936 parentDelegate = P._parentDelegate(t1);
6688 return implementation.$function.call$5(t1, parentDelegate, this, f, arg); 6937 return implementation.$function.call$5(t1, parentDelegate, this, f, arg);
6689 }, "call$2", "get$runUnary", 4, 0, 29], 6938 }, "call$2", "get$runUnary", 4, 0, 30],
6690 runBinary$3: [function(f, arg1, arg2) { 6939 runBinary$3: [function(f, arg1, arg2) {
6691 var implementation, t1, parentDelegate; 6940 var implementation, t1, parentDelegate;
6692 implementation = this._runBinary; 6941 implementation = this._runBinary;
6693 t1 = implementation.zone; 6942 t1 = implementation.zone;
6694 parentDelegate = P._parentDelegate(t1); 6943 parentDelegate = P._parentDelegate(t1);
6695 return implementation.$function.call$6(t1, parentDelegate, this, f, arg1, arg2); 6944 return implementation.$function.call$6(t1, parentDelegate, this, f, arg1, arg2);
6696 }, "call$3", "get$runBinary", 6, 0, 30], 6945 }, "call$3", "get$runBinary", 6, 0, 31],
6697 registerCallback$1: [function(f) { 6946 registerCallback$1: [function(f) {
6698 var implementation, t1, parentDelegate; 6947 var implementation, t1, parentDelegate;
6699 implementation = this._registerCallback; 6948 implementation = this._registerCallback;
6700 t1 = implementation.zone; 6949 t1 = implementation.zone;
6701 parentDelegate = P._parentDelegate(t1); 6950 parentDelegate = P._parentDelegate(t1);
6702 return implementation.$function.call$4(t1, parentDelegate, this, f); 6951 return implementation.$function.call$4(t1, parentDelegate, this, f);
6703 }, "call$1", "get$registerCallback", 2, 0, 31], 6952 }, "call$1", "get$registerCallback", 2, 0, 32],
6704 registerUnaryCallback$1: [function(f) { 6953 registerUnaryCallback$1: [function(f) {
6705 var implementation, t1, parentDelegate; 6954 var implementation, t1, parentDelegate;
6706 implementation = this._registerUnaryCallback; 6955 implementation = this._registerUnaryCallback;
6707 t1 = implementation.zone; 6956 t1 = implementation.zone;
6708 parentDelegate = P._parentDelegate(t1); 6957 parentDelegate = P._parentDelegate(t1);
6709 return implementation.$function.call$4(t1, parentDelegate, this, f); 6958 return implementation.$function.call$4(t1, parentDelegate, this, f);
6710 }, "call$1", "get$registerUnaryCallback", 2, 0, 32], 6959 }, "call$1", "get$registerUnaryCallback", 2, 0, 33],
6711 registerBinaryCallback$1: [function(f) { 6960 registerBinaryCallback$1: [function(f) {
6712 var implementation, t1, parentDelegate; 6961 var implementation, t1, parentDelegate;
6713 implementation = this._registerBinaryCallback; 6962 implementation = this._registerBinaryCallback;
6714 t1 = implementation.zone; 6963 t1 = implementation.zone;
6715 parentDelegate = P._parentDelegate(t1); 6964 parentDelegate = P._parentDelegate(t1);
6716 return implementation.$function.call$4(t1, parentDelegate, this, f); 6965 return implementation.$function.call$4(t1, parentDelegate, this, f);
6717 }, "call$1", "get$registerBinaryCallback", 2, 0, 33], 6966 }, "call$1", "get$registerBinaryCallback", 2, 0, 34],
6718 errorCallback$2: [function(error, stackTrace) { 6967 errorCallback$2: [function(error, stackTrace) {
6719 var implementation, implementationZone, parentDelegate; 6968 var implementation, implementationZone, parentDelegate;
6720 implementation = this._errorCallback; 6969 implementation = this._errorCallback;
6721 implementationZone = implementation.zone; 6970 implementationZone = implementation.zone;
6722 if (implementationZone === C.C__RootZone) 6971 if (implementationZone === C.C__RootZone)
6723 return; 6972 return;
6724 parentDelegate = P._parentDelegate(implementationZone); 6973 parentDelegate = P._parentDelegate(implementationZone);
6725 return implementation.$function.call$5(implementationZone, parentDelegate, this, error, stackTrace); 6974 return implementation.$function.call$5(implementationZone, parentDelegate, this, error, stackTrace);
6726 }, "call$2", "get$errorCallback", 4, 0, 34], 6975 }, "call$2", "get$errorCallback", 4, 0, 35],
6727 scheduleMicrotask$1: [function(f) { 6976 scheduleMicrotask$1: [function(f) {
6728 var implementation, t1, parentDelegate; 6977 var implementation, t1, parentDelegate;
6729 implementation = this._scheduleMicrotask; 6978 implementation = this._scheduleMicrotask;
6730 t1 = implementation.zone; 6979 t1 = implementation.zone;
6731 parentDelegate = P._parentDelegate(t1); 6980 parentDelegate = P._parentDelegate(t1);
6732 return implementation.$function.call$4(t1, parentDelegate, this, f); 6981 return implementation.$function.call$4(t1, parentDelegate, this, f);
6733 }, "call$1", "get$scheduleMicrotask", 2, 0, 35], 6982 }, "call$1", "get$scheduleMicrotask", 2, 0, 36],
6734 createTimer$2: [function(duration, f) { 6983 createTimer$2: [function(duration, f) {
6735 var implementation, t1, parentDelegate; 6984 var implementation, t1, parentDelegate;
6736 implementation = this._createTimer; 6985 implementation = this._createTimer;
6737 t1 = implementation.zone; 6986 t1 = implementation.zone;
6738 parentDelegate = P._parentDelegate(t1); 6987 parentDelegate = P._parentDelegate(t1);
6739 return implementation.$function.call$5(t1, parentDelegate, this, duration, f); 6988 return implementation.$function.call$5(t1, parentDelegate, this, duration, f);
6740 }, "call$2", "get$createTimer", 4, 0, 36], 6989 }, "call$2", "get$createTimer", 4, 0, 37],
6741 createPeriodicTimer$2: [function(duration, f) { 6990 createPeriodicTimer$2: [function(duration, f) {
6742 var implementation, t1, parentDelegate; 6991 var implementation, t1, parentDelegate;
6743 implementation = this._createPeriodicTimer; 6992 implementation = this._createPeriodicTimer;
6744 t1 = implementation.zone; 6993 t1 = implementation.zone;
6745 parentDelegate = P._parentDelegate(t1); 6994 parentDelegate = P._parentDelegate(t1);
6746 return implementation.$function.call$5(t1, parentDelegate, this, duration, f); 6995 return implementation.$function.call$5(t1, parentDelegate, this, duration, f);
6747 }, "call$2", "get$createPeriodicTimer", 4, 0, 37], 6996 }, "call$2", "get$createPeriodicTimer", 4, 0, 38],
6748 print$1: [function(_, line) { 6997 print$1: [function(_, line) {
6749 var implementation, t1, parentDelegate; 6998 var implementation, t1, parentDelegate;
6750 implementation = this._print; 6999 implementation = this._print;
6751 t1 = implementation.zone; 7000 t1 = implementation.zone;
6752 parentDelegate = P._parentDelegate(t1); 7001 parentDelegate = P._parentDelegate(t1);
6753 return implementation.$function.call$4(t1, parentDelegate, this, line); 7002 return implementation.$function.call$4(t1, parentDelegate, this, line);
6754 }, "call$1", "get$print", 2, 0, 38] 7003 }, "call$1", "get$print", 2, 0, 39]
6755 }, 7004 },
6756 _CustomZone_bindCallback_closure: { 7005 _CustomZone_bindCallback_closure: {
6757 "^": "Closure:0;_async$_captured_this_0,_captured_registered_1", 7006 "^": "Closure:0;_async$_captured_this_0,_captured_registered_1",
6758 call$0: function() { 7007 call$0: [function() {
6759 return this._async$_captured_this_0.runGuarded$1(this._captured_registered _1); 7008 return this._async$_captured_this_0.runGuarded$1(this._captured_registered _1);
6760 } 7009 }, null, null, 0, 0, null, "call"]
6761 }, 7010 },
6762 _CustomZone_bindCallback_closure0: { 7011 _CustomZone_bindCallback_closure0: {
6763 "^": "Closure:0;_async$_captured_this_2,_captured_registered_3", 7012 "^": "Closure:0;_async$_captured_this_2,_captured_registered_3",
6764 call$0: function() { 7013 call$0: [function() {
6765 return this._async$_captured_this_2.run$1(this._captured_registered_3); 7014 return this._async$_captured_this_2.run$1(this._captured_registered_3);
6766 } 7015 }, null, null, 0, 0, null, "call"]
6767 }, 7016 },
6768 _CustomZone_bindUnaryCallback_closure: { 7017 _CustomZone_bindUnaryCallback_closure: {
6769 "^": "Closure:2;_async$_captured_this_0,_captured_registered_1", 7018 "^": "Closure:3;_async$_captured_this_0,_captured_registered_1",
6770 call$1: function(arg) { 7019 call$1: [function(arg) {
6771 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_regis tered_1, arg); 7020 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_regis tered_1, arg);
6772 } 7021 }, null, null, 2, 0, null, 20, "call"]
6773 }, 7022 },
6774 _CustomZone_bindUnaryCallback_closure0: { 7023 _CustomZone_bindUnaryCallback_closure0: {
6775 "^": "Closure:2;_async$_captured_this_2,_captured_registered_3", 7024 "^": "Closure:3;_async$_captured_this_2,_captured_registered_3",
6776 call$1: function(arg) { 7025 call$1: [function(arg) {
6777 return this._async$_captured_this_2.runUnary$2(this._captured_registered_3 , arg); 7026 return this._async$_captured_this_2.runUnary$2(this._captured_registered_3 , arg);
6778 } 7027 }, null, null, 2, 0, null, 20, "call"]
6779 }, 7028 },
6780 _rootHandleUncaughtError_closure: { 7029 _rootHandleUncaughtError_closure: {
6781 "^": "Closure:0;_async$_captured_error_0,_captured_stackTrace_1", 7030 "^": "Closure:0;_captured_error_0,_captured_stackTrace_1",
6782 call$0: function() { 7031 call$0: function() {
6783 var t1 = this._async$_captured_error_0; 7032 var t1 = this._captured_error_0;
6784 throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError_ _getBestStackTrace(t1, this._captured_stackTrace_1))); 7033 throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError_ _getBestStackTrace(t1, this._captured_stackTrace_1)));
6785 } 7034 }
6786 }, 7035 },
6787 _RootZone: { 7036 _RootZone: {
6788 "^": "_Zone;", 7037 "^": "_Zone;",
6789 get$_run: function() { 7038 get$_run: function() {
6790 return C._ZoneFunction__RootZone__rootRun; 7039 return C._ZoneFunction__RootZone__rootRun;
6791 }, 7040 },
6792 get$_runUnary: function() { 7041 get$_runUnary: function() {
6793 return C._ZoneFunction__RootZone__rootRunUnary; 7042 return C._ZoneFunction__RootZone__rootRunUnary;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
6906 return new P._RootZone_bindUnaryCallback_closure0(this, f); 7155 return new P._RootZone_bindUnaryCallback_closure0(this, f);
6907 }, 7156 },
6908 bindUnaryCallback$1: function(f) { 7157 bindUnaryCallback$1: function(f) {
6909 return this.bindUnaryCallback$2$runGuarded(f, true); 7158 return this.bindUnaryCallback$2$runGuarded(f, true);
6910 }, 7159 },
6911 $index: function(_, key) { 7160 $index: function(_, key) {
6912 return; 7161 return;
6913 }, 7162 },
6914 handleUncaughtError$2: [function(error, stackTrace) { 7163 handleUncaughtError$2: [function(error, stackTrace) {
6915 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); 7164 return P._rootHandleUncaughtError(null, null, this, error, stackTrace);
6916 }, "call$2", "get$handleUncaughtError", 4, 0, 12], 7165 }, "call$2", "get$handleUncaughtError", 4, 0, 14],
6917 fork$2$specification$zoneValues: [function(specification, zoneValues) { 7166 fork$2$specification$zoneValues: [function(specification, zoneValues) {
6918 return P._rootFork(null, null, this, specification, zoneValues); 7167 return P._rootFork(null, null, this, specification, zoneValues);
6919 }, function() { 7168 }, function() {
6920 return this.fork$2$specification$zoneValues(null, null); 7169 return this.fork$2$specification$zoneValues(null, null);
6921 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 27, 0, 0], 7170 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5, 28, 13, 13],
6922 run$1: [function(f) { 7171 run$1: [function(f) {
6923 if ($.Zone__current === C.C__RootZone) 7172 if ($.Zone__current === C.C__RootZone)
6924 return f.call$0(); 7173 return f.call$0();
6925 return P._rootRun(null, null, this, f); 7174 return P._rootRun(null, null, this, f);
6926 }, "call$1", "get$run", 2, 0, 28], 7175 }, "call$1", "get$run", 2, 0, 29],
6927 runUnary$2: [function(f, arg) { 7176 runUnary$2: [function(f, arg) {
6928 if ($.Zone__current === C.C__RootZone) 7177 if ($.Zone__current === C.C__RootZone)
6929 return f.call$1(arg); 7178 return f.call$1(arg);
6930 return P._rootRunUnary(null, null, this, f, arg); 7179 return P._rootRunUnary(null, null, this, f, arg);
6931 }, "call$2", "get$runUnary", 4, 0, 29], 7180 }, "call$2", "get$runUnary", 4, 0, 30],
6932 runBinary$3: [function(f, arg1, arg2) { 7181 runBinary$3: [function(f, arg1, arg2) {
6933 if ($.Zone__current === C.C__RootZone) 7182 if ($.Zone__current === C.C__RootZone)
6934 return f.call$2(arg1, arg2); 7183 return f.call$2(arg1, arg2);
6935 return P._rootRunBinary(null, null, this, f, arg1, arg2); 7184 return P._rootRunBinary(null, null, this, f, arg1, arg2);
6936 }, "call$3", "get$runBinary", 6, 0, 30], 7185 }, "call$3", "get$runBinary", 6, 0, 31],
6937 registerCallback$1: [function(f) { 7186 registerCallback$1: [function(f) {
6938 return f; 7187 return f;
6939 }, "call$1", "get$registerCallback", 2, 0, 31], 7188 }, "call$1", "get$registerCallback", 2, 0, 32],
6940 registerUnaryCallback$1: [function(f) { 7189 registerUnaryCallback$1: [function(f) {
6941 return f; 7190 return f;
6942 }, "call$1", "get$registerUnaryCallback", 2, 0, 32], 7191 }, "call$1", "get$registerUnaryCallback", 2, 0, 33],
6943 registerBinaryCallback$1: [function(f) { 7192 registerBinaryCallback$1: [function(f) {
6944 return f; 7193 return f;
6945 }, "call$1", "get$registerBinaryCallback", 2, 0, 33], 7194 }, "call$1", "get$registerBinaryCallback", 2, 0, 34],
6946 errorCallback$2: [function(error, stackTrace) { 7195 errorCallback$2: [function(error, stackTrace) {
6947 return; 7196 return;
6948 }, "call$2", "get$errorCallback", 4, 0, 34], 7197 }, "call$2", "get$errorCallback", 4, 0, 35],
6949 scheduleMicrotask$1: [function(f) { 7198 scheduleMicrotask$1: [function(f) {
6950 P._rootScheduleMicrotask(null, null, this, f); 7199 P._rootScheduleMicrotask(null, null, this, f);
6951 }, "call$1", "get$scheduleMicrotask", 2, 0, 35], 7200 }, "call$1", "get$scheduleMicrotask", 2, 0, 36],
6952 createTimer$2: [function(duration, f) { 7201 createTimer$2: [function(duration, f) {
6953 return P.Timer__createTimer(duration, f); 7202 return P.Timer__createTimer(duration, f);
6954 }, "call$2", "get$createTimer", 4, 0, 36], 7203 }, "call$2", "get$createTimer", 4, 0, 37],
6955 createPeriodicTimer$2: [function(duration, f) { 7204 createPeriodicTimer$2: [function(duration, f) {
6956 return P.Timer__createPeriodicTimer(duration, f); 7205 return P.Timer__createPeriodicTimer(duration, f);
6957 }, "call$2", "get$createPeriodicTimer", 4, 0, 37], 7206 }, "call$2", "get$createPeriodicTimer", 4, 0, 38],
6958 print$1: [function(_, line) { 7207 print$1: [function(_, line) {
6959 H.printString(line); 7208 H.printString(line);
6960 }, "call$1", "get$print", 2, 0, 38] 7209 }, "call$1", "get$print", 2, 0, 39]
6961 }, 7210 },
6962 _RootZone_bindCallback_closure: { 7211 _RootZone_bindCallback_closure: {
6963 "^": "Closure:0;_async$_captured_this_0,_captured_f_1", 7212 "^": "Closure:0;_async$_captured_this_0,_captured_f_1",
6964 call$0: function() { 7213 call$0: [function() {
6965 return this._async$_captured_this_0.runGuarded$1(this._captured_f_1); 7214 return this._async$_captured_this_0.runGuarded$1(this._captured_f_1);
6966 } 7215 }, null, null, 0, 0, null, "call"]
6967 }, 7216 },
6968 _RootZone_bindCallback_closure0: { 7217 _RootZone_bindCallback_closure0: {
6969 "^": "Closure:0;_async$_captured_this_2,_captured_f_3", 7218 "^": "Closure:0;_async$_captured_this_2,_captured_f_3",
6970 call$0: function() { 7219 call$0: [function() {
6971 return this._async$_captured_this_2.run$1(this._captured_f_3); 7220 return this._async$_captured_this_2.run$1(this._captured_f_3);
6972 } 7221 }, null, null, 0, 0, null, "call"]
6973 }, 7222 },
6974 _RootZone_bindUnaryCallback_closure: { 7223 _RootZone_bindUnaryCallback_closure: {
6975 "^": "Closure:2;_async$_captured_this_0,_captured_f_1", 7224 "^": "Closure:3;_async$_captured_this_0,_captured_f_1",
6976 call$1: function(arg) { 7225 call$1: [function(arg) {
6977 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_f_1, arg); 7226 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_f_1, arg);
6978 } 7227 }, null, null, 2, 0, null, 20, "call"]
6979 }, 7228 },
6980 _RootZone_bindUnaryCallback_closure0: { 7229 _RootZone_bindUnaryCallback_closure0: {
6981 "^": "Closure:2;_async$_captured_this_2,_captured_f_3", 7230 "^": "Closure:3;_async$_captured_this_2,_captured_f_3",
6982 call$1: function(arg) { 7231 call$1: [function(arg) {
6983 return this._async$_captured_this_2.runUnary$2(this._captured_f_3, arg); 7232 return this._async$_captured_this_2.runUnary$2(this._captured_f_3, arg);
6984 } 7233 }, null, null, 2, 0, null, 20, "call"]
6985 }, 7234 },
6986 runZoned_closure: { 7235 runZoned_closure: {
6987 "^": "Closure:39;_captured_onError_0", 7236 "^": "Closure:40;_captured_onError_0",
6988 call$5: function($self, $parent, zone, error, stackTrace) { 7237 call$5: [function($self, $parent, zone, error, stackTrace) {
6989 var e, s, t1, t2, exception; 7238 var e, s, t1, t2, exception;
6990 try { 7239 try {
6991 t1 = this._captured_onError_0; 7240 t1 = this._captured_onError_0;
6992 t2 = H.getDynamicRuntimeType(); 7241 t2 = H.getDynamicRuntimeType();
6993 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); 7242 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1);
6994 if (t2) { 7243 if (t2) {
6995 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); 7244 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace);
6996 return t1; 7245 return t1;
6997 } 7246 }
6998 t1 = J.get$parent$x($self).runUnary$2(t1, error); 7247 t1 = J.get$parent$x($self).runUnary$2(t1, error);
6999 return t1; 7248 return t1;
7000 } catch (exception) { 7249 } catch (exception) {
7001 t1 = H.unwrapException(exception); 7250 t1 = H.unwrapException(exception);
7002 e = t1; 7251 e = t1;
7003 s = H.getTraceFromException(exception); 7252 s = H.getTraceFromException(exception);
7004 t1 = e; 7253 t1 = e;
7005 t2 = error; 7254 t2 = error;
7006 if (t1 == null ? t2 == null : t1 === t2) 7255 if (t1 == null ? t2 == null : t1 === t2)
7007 return $parent.handleUncaughtError$3(zone, error, stackTrace); 7256 return $parent.handleUncaughtError$3(zone, error, stackTrace);
7008 else 7257 else
7009 return $parent.handleUncaughtError$3(zone, e, s); 7258 return $parent.handleUncaughtError$3(zone, e, s);
7010 } 7259 }
7011 } 7260 }, null, null, 10, 0, null, 16, 17, 18, 14, 15, "call"]
7012 } 7261 }
7013 }], 7262 }],
7014 ["dart.collection", "dart:collection", , P, { 7263 ["dart.collection", "dart:collection", , P, {
7015 "^": "", 7264 "^": "",
7016 LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { 7265 LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) {
7017 return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new H.JsLinkedHa shMap(0, null, null, null, null, null, 0), [$K, $V])); 7266 return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new H.JsLinkedHa shMap(0, null, null, null, null, null, 0), [$K, $V]));
7018 }, 7267 },
7019 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { 7268 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) {
7020 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, null, null, 0), [$K, $V]); 7269 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, null, null, 0), [$K, $V]);
7021 }, 7270 },
7022 _defaultEquals: [function(a, b) { 7271 _defaultEquals: [function(a, b) {
7023 return J.$eq(a, b); 7272 return J.$eq(a, b);
7024 }, "call$2", "_defaultEquals$closure", 4, 0, 67], 7273 }, "call$2", "_defaultEquals$closure", 4, 0, 67],
7025 _defaultHashCode: [function(a) { 7274 _defaultHashCode: [function(a) {
7026 return J.get$hashCode$(a); 7275 return J.get$hashCode$(a);
7027 }, "call$1", "_defaultHashCode$closure", 2, 0, 50], 7276 }, "call$1", "_defaultHashCode$closure", 2, 0, 50, 31],
7028 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { 7277 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) {
7029 return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K, $V]); 7278 return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K, $V]);
7030 }, 7279 },
7031 HashMap_HashMap$from: function(other, $K, $V) { 7280 HashMap_HashMap$from: function(other, $K, $V) {
7032 var result = P.HashMap_HashMap(null, null, null, $K, $V); 7281 var result = P.HashMap_HashMap(null, null, null, $K, $V);
7033 J.forEach$1$ax(other, new P.HashMap_HashMap$from_closure(result)); 7282 J.forEach$1$ax(other, new P.HashMap_HashMap$from_closure(result));
7034 return result; 7283 return result;
7035 }, 7284 },
7036 IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDel imiter) { 7285 IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDel imiter) {
7037 var parts, t1; 7286 var parts, t1;
(...skipping 25 matching lines...) Expand all
7063 t1 = $.get$IterableBase__toStringVisiting(); 7312 t1 = $.get$IterableBase__toStringVisiting();
7064 t1.push(iterable); 7313 t1.push(iterable);
7065 try { 7314 try {
7066 buffer.writeAll$2(iterable, ", "); 7315 buffer.writeAll$2(iterable, ", ");
7067 } finally { 7316 } finally {
7068 if (0 >= t1.length) 7317 if (0 >= t1.length)
7069 return H.ioore(t1, 0); 7318 return H.ioore(t1, 0);
7070 t1.pop(); 7319 t1.pop();
7071 } 7320 }
7072 t1 = buffer; 7321 t1 = buffer;
7073 t1._contents = t1.get$_contents() + rightDelimiter; 7322 t1.set$_contents(t1.get$_contents() + rightDelimiter);
7074 t1 = buffer.get$_contents(); 7323 t1 = buffer.get$_contents();
7075 return t1.charCodeAt(0) == 0 ? t1 : t1; 7324 return t1.charCodeAt(0) == 0 ? t1 : t1;
7076 }, 7325 },
7077 IterableBase__isToStringVisiting: function(o) { 7326 IterableBase__isToStringVisiting: function(o) {
7078 var i, t1; 7327 var i, t1;
7079 for (i = 0; t1 = $.get$IterableBase__toStringVisiting(), i < t1.length; ++i) { 7328 for (i = 0; t1 = $.get$IterableBase__toStringVisiting(), i < t1.length; ++i) {
7080 t1 = t1[i]; 7329 t1 = t1[i];
7081 if (o == null ? t1 == null : o === t1) 7330 if (o == null ? t1 == null : o === t1)
7082 return true; 7331 return true;
7083 } 7332 }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
7176 }, 7425 },
7177 Maps_mapToString: function(m) { 7426 Maps_mapToString: function(m) {
7178 var t1, result, t2; 7427 var t1, result, t2;
7179 t1 = {}; 7428 t1 = {};
7180 if (P.IterableBase__isToStringVisiting(m)) 7429 if (P.IterableBase__isToStringVisiting(m))
7181 return "{...}"; 7430 return "{...}";
7182 result = new P.StringBuffer(""); 7431 result = new P.StringBuffer("");
7183 try { 7432 try {
7184 $.get$IterableBase__toStringVisiting().push(m); 7433 $.get$IterableBase__toStringVisiting().push(m);
7185 t2 = result; 7434 t2 = result;
7186 t2._contents = t2.get$_contents() + "{"; 7435 t2.set$_contents(t2.get$_contents() + "{");
7187 t1._captured_first_0 = true; 7436 t1._captured_first_0 = true;
7188 J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result)); 7437 J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result));
7189 t1 = result; 7438 t1 = result;
7190 t1._contents = t1.get$_contents() + "}"; 7439 t1.set$_contents(t1.get$_contents() + "}");
7191 } finally { 7440 } finally {
7192 t1 = $.get$IterableBase__toStringVisiting(); 7441 t1 = $.get$IterableBase__toStringVisiting();
7193 if (0 >= t1.length) 7442 if (0 >= t1.length)
7194 return H.ioore(t1, 0); 7443 return H.ioore(t1, 0);
7195 t1.pop(); 7444 t1.pop();
7196 } 7445 }
7197 t1 = result.get$_contents(); 7446 t1 = result.get$_contents();
7198 return t1.charCodeAt(0) == 0 ? t1 : t1; 7447 return t1.charCodeAt(0) == 0 ? t1 : t1;
7199 }, 7448 },
7200 _HashMap: { 7449 _HashMap: {
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
7582 last._collection$_next = cell; 7831 last._collection$_next = cell;
7583 this._collection$_last = cell; 7832 this._collection$_last = cell;
7584 } 7833 }
7585 ++this._collection$_length; 7834 ++this._collection$_length;
7586 this._collection$_modifications = this._collection$_modifications + 1 & 67 108863; 7835 this._collection$_modifications = this._collection$_modifications + 1 & 67 108863;
7587 return cell; 7836 return cell;
7588 }, 7837 },
7589 _collection$_unlinkCell$1: function(cell) { 7838 _collection$_unlinkCell$1: function(cell) {
7590 var previous, next; 7839 var previous, next;
7591 previous = cell.get$_collection$_previous(); 7840 previous = cell.get$_collection$_previous();
7592 next = cell._collection$_next; 7841 next = cell.get$_collection$_next();
7593 if (previous == null) 7842 if (previous == null)
7594 this._collection$_first = next; 7843 this._collection$_first = next;
7595 else 7844 else
7596 previous._collection$_next = next; 7845 previous._collection$_next = next;
7597 if (next == null) 7846 if (next == null)
7598 this._collection$_last = previous; 7847 this._collection$_last = previous;
7599 else 7848 else
7600 next._collection$_previous = previous; 7849 next._collection$_previous = previous;
7601 --this._collection$_length; 7850 --this._collection$_length;
7602 this._collection$_modifications = this._collection$_modifications + 1 & 67 108863; 7851 this._collection$_modifications = this._collection$_modifications + 1 & 67 108863;
(...skipping 13 matching lines...) Expand all
7616 }, 7865 },
7617 $isEfficientLength: 1, 7866 $isEfficientLength: 1,
7618 static: {_LinkedHashSet__newHashTable: function() { 7867 static: {_LinkedHashSet__newHashTable: function() {
7619 var table = Object.create(null); 7868 var table = Object.create(null);
7620 table["<non-identifier-key>"] = table; 7869 table["<non-identifier-key>"] = table;
7621 delete table["<non-identifier-key>"]; 7870 delete table["<non-identifier-key>"];
7622 return table; 7871 return table;
7623 }} 7872 }}
7624 }, 7873 },
7625 LinkedHashSetCell: { 7874 LinkedHashSetCell: {
7626 "^": "Object;_element<,_collection$_next,_collection$_previous<" 7875 "^": "Object;_element<,_collection$_next<,_collection$_previous<"
7627 }, 7876 },
7628 LinkedHashSetIterator: { 7877 LinkedHashSetIterator: {
7629 "^": "Object;_set,_collection$_modifications,_collection$_cell,_collection$_ current", 7878 "^": "Object;_set,_collection$_modifications,_collection$_cell,_collection$_ current",
7630 get$current: function() { 7879 get$current: function() {
7631 return this._collection$_current; 7880 return this._collection$_current;
7632 }, 7881 },
7633 moveNext$0: function() { 7882 moveNext$0: function() {
7634 var t1 = this._set; 7883 var t1 = this._set;
7635 if (this._collection$_modifications !== t1._collection$_modifications) 7884 if (this._collection$_modifications !== t1._collection$_modifications)
7636 throw H.wrapException(P.ConcurrentModificationError$(t1)); 7885 throw H.wrapException(P.ConcurrentModificationError$(t1));
(...skipping 16 matching lines...) Expand all
7653 return this._collection$_source.length; 7902 return this._collection$_source.length;
7654 }, 7903 },
7655 $index: function(_, index) { 7904 $index: function(_, index) {
7656 var t1 = this._collection$_source; 7905 var t1 = this._collection$_source;
7657 if (index >>> 0 !== index || index >= t1.length) 7906 if (index >>> 0 !== index || index >= t1.length)
7658 return H.ioore(t1, index); 7907 return H.ioore(t1, index);
7659 return t1[index]; 7908 return t1[index];
7660 } 7909 }
7661 }, 7910 },
7662 HashMap_HashMap$from_closure: { 7911 HashMap_HashMap$from_closure: {
7663 "^": "Closure:40;_captured_result_0", 7912 "^": "Closure:41;_captured_result_0",
7664 call$2: function(k, v) { 7913 call$2: [function(k, v) {
7665 this._captured_result_0.$indexSet(0, k, v); 7914 this._captured_result_0.$indexSet(0, k, v);
7666 } 7915 }, null, null, 4, 0, null, 32, 33, "call"]
7667 }, 7916 },
7668 _HashSetBase: { 7917 _HashSetBase: {
7669 "^": "SetBase;" 7918 "^": "SetBase;"
7670 }, 7919 },
7671 IterableBase: { 7920 IterableBase: {
7672 "^": "Object;", 7921 "^": "Object;",
7673 map$1: function(_, f) { 7922 map$1: function(_, f) {
7674 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(t his, "IterableBase", 0), null); 7923 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(t his, "IterableBase", 0), null);
7675 }, 7924 },
7676 contains$1: function(_, element) { 7925 contains$1: function(_, element) {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
7791 return H.setRuntimeTypeInfo(new H.MappedListIterable(receiver, f), [null, null]); 8040 return H.setRuntimeTypeInfo(new H.MappedListIterable(receiver, f), [null, null]);
7792 }, 8041 },
7793 skip$1: function(receiver, count) { 8042 skip$1: function(receiver, count) {
7794 return H.SubListIterable$(receiver, count, null, H.getRuntimeTypeArgument( receiver, "ListMixin", 0)); 8043 return H.SubListIterable$(receiver, count, null, H.getRuntimeTypeArgument( receiver, "ListMixin", 0));
7795 }, 8044 },
7796 add$1: function(receiver, element) { 8045 add$1: function(receiver, element) {
7797 var t1 = this.get$length(receiver); 8046 var t1 = this.get$length(receiver);
7798 this.set$length(receiver, t1 + 1); 8047 this.set$length(receiver, t1 + 1);
7799 this.$indexSet(receiver, t1, element); 8048 this.$indexSet(receiver, t1, element);
7800 }, 8049 },
8050 setRange$4: ["super$ListMixin$setRange$4", function(receiver, start, end, it erable, skipCount) {
8051 var $length, t1, i;
8052 P.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null, null);
8053 $length = end - start;
8054 if ($length === 0)
8055 return;
8056 t1 = J.getInterceptor$asx(iterable);
8057 if (skipCount + $length > t1.get$length(iterable))
8058 throw H.wrapException(H.IterableElementError_tooFew());
8059 if (skipCount < start)
8060 for (i = $length - 1; i >= 0; --i)
8061 this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i) );
8062 else
8063 for (i = 0; i < $length; ++i)
8064 this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i) );
8065 }, function($receiver, start, end, iterable) {
8066 return this.setRange$4($receiver, start, end, iterable, 0);
8067 }, "setRange$3", null, null, "get$setRange", 6, 2, null, 34],
8068 replaceRange$3: function(receiver, start, end, newContents) {
8069 var removeLength, insertLength, insertEnd, newLength;
8070 P.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null, null);
8071 newContents = C.JSString_methods.toList$0(newContents);
8072 removeLength = end - start;
8073 insertLength = newContents.length;
8074 insertEnd = start + insertLength;
8075 if (removeLength >= insertLength) {
8076 newLength = this.get$length(receiver) - (removeLength - insertLength);
8077 this.setRange$3(receiver, start, insertEnd, newContents);
8078 this.setRange$4(receiver, insertEnd, newLength, receiver, end);
8079 this.set$length(receiver, newLength);
8080 } else {
8081 newLength = this.get$length(receiver) + (insertLength - removeLength);
8082 this.set$length(receiver, newLength);
8083 this.setRange$4(receiver, insertEnd, newLength, receiver, end);
8084 this.setRange$3(receiver, start, insertEnd, newContents);
8085 }
8086 },
7801 indexOf$2: function(receiver, element, startIndex) { 8087 indexOf$2: function(receiver, element, startIndex) {
7802 var i; 8088 var t1, i;
7803 if (startIndex >= this.get$length(receiver)) 8089 t1 = J.getInterceptor$n(startIndex);
8090 if (t1.$ge(startIndex, this.get$length(receiver)))
7804 return -1; 8091 return -1;
7805 for (i = startIndex; i < this.get$length(receiver); ++i) 8092 if (t1.$lt(startIndex, 0))
8093 startIndex = 0;
8094 for (i = startIndex; t1 = J.getInterceptor$n(i), t1.$lt(i, this.get$length (receiver)); i = t1.$add(i, 1))
7806 if (J.$eq(this.$index(receiver, i), element)) 8095 if (J.$eq(this.$index(receiver, i), element))
7807 return i; 8096 return i;
7808 return -1; 8097 return -1;
7809 }, 8098 },
7810 indexOf$1: function($receiver, element) { 8099 indexOf$1: function($receiver, element) {
7811 return this.indexOf$2($receiver, element, 0); 8100 return this.indexOf$2($receiver, element, 0);
7812 }, 8101 },
7813 get$reversed: function(receiver) { 8102 get$reversed: function(receiver) {
7814 return H.setRuntimeTypeInfo(new H.ReversedListIterable(receiver), [H.getRu ntimeTypeArgument(receiver, "ListMixin", 0)]); 8103 return H.setRuntimeTypeInfo(new H.ReversedListIterable(receiver), [H.getRu ntimeTypeArgument(receiver, "ListMixin", 0)]);
7815 }, 8104 },
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
7850 toString$0: function(_) { 8139 toString$0: function(_) {
7851 return J.toString$0(this._collection$_map); 8140 return J.toString$0(this._collection$_map);
7852 }, 8141 },
7853 $isMap: 1 8142 $isMap: 1
7854 }, 8143 },
7855 UnmodifiableMapView: { 8144 UnmodifiableMapView: {
7856 "^": "MapView+_UnmodifiableMapMixin;_collection$_map", 8145 "^": "MapView+_UnmodifiableMapMixin;_collection$_map",
7857 $isMap: 1 8146 $isMap: 1
7858 }, 8147 },
7859 Maps_mapToString_closure: { 8148 Maps_mapToString_closure: {
7860 "^": "Closure:40;_collection$_box_0,_collection$_captured_result_1", 8149 "^": "Closure:41;_collection$_box_0,_captured_result_1",
7861 call$2: function(k, v) { 8150 call$2: function(k, v) {
7862 var t1, t2; 8151 var t1, t2;
7863 t1 = this._collection$_box_0; 8152 t1 = this._collection$_box_0;
7864 if (!t1._captured_first_0) 8153 if (!t1._captured_first_0)
7865 this._collection$_captured_result_1._contents += ", "; 8154 this._captured_result_1._contents += ", ";
7866 t1._captured_first_0 = false; 8155 t1._captured_first_0 = false;
7867 t1 = this._collection$_captured_result_1; 8156 t1 = this._captured_result_1;
7868 t2 = t1._contents += H.S(k); 8157 t2 = t1._contents += H.S(k);
7869 t1._contents = t2 + ": "; 8158 t1._contents = t2 + ": ";
7870 t1._contents += H.S(v); 8159 t1._contents += H.S(v);
7871 } 8160 }
7872 }, 8161 },
7873 ListQueue: { 8162 ListQueue: {
7874 "^": "IterableBase;_table,_head,_tail,_modificationCount", 8163 "^": "IterableBase;_table,_head,_tail,_modificationCount",
7875 get$iterator: function(_) { 8164 get$iterator: function(_) {
7876 return new P._ListQueueIterator(this, this._tail, this._modificationCount, this._head, null); 8165 return new P._ListQueueIterator(this, this._tail, this._modificationCount, this._head, null);
7877 }, 8166 },
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
8065 parsed = JSON.parse(source); 8354 parsed = JSON.parse(source);
8066 } catch (exception) { 8355 } catch (exception) {
8067 t1 = H.unwrapException(exception); 8356 t1 = H.unwrapException(exception);
8068 e = t1; 8357 e = t1;
8069 throw H.wrapException(P.FormatException$(String(e), null, null)); 8358 throw H.wrapException(P.FormatException$(String(e), null, null));
8070 } 8359 }
8071 return P._convertJsonToDartLazy(parsed); 8360 return P._convertJsonToDartLazy(parsed);
8072 }, 8361 },
8073 _defaultToEncodable: [function(object) { 8362 _defaultToEncodable: [function(object) {
8074 return object.toJson$0(); 8363 return object.toJson$0();
8075 }, "call$1", "_defaultToEncodable$closure", 2, 0, 68], 8364 }, "call$1", "_defaultToEncodable$closure", 2, 0, 68, 0],
8076 _JsonMap: { 8365 _JsonMap: {
8077 "^": "Object;_original,_processed,_data", 8366 "^": "Object;_original,_processed,_data",
8078 $index: function(_, key) { 8367 $index: function(_, key) {
8079 var t1, result; 8368 var t1, result;
8080 t1 = this._processed; 8369 t1 = this._processed;
8081 if (t1 == null) 8370 if (t1 == null)
8082 return this._data.$index(0, key); 8371 return this._data.$index(0, key);
8083 else if (typeof key !== "string") 8372 else if (typeof key !== "string")
8084 return; 8373 return;
8085 else { 8374 else {
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
8395 this.writeString$1("{"); 8684 this.writeString$1("{");
8396 t1._captured_separator_0 = "\""; 8685 t1._captured_separator_0 = "\"";
8397 map.forEach$1(0, new P._JsonStringifier_writeMap_closure(t1, this)); 8686 map.forEach$1(0, new P._JsonStringifier_writeMap_closure(t1, this));
8398 this.writeString$1("}"); 8687 this.writeString$1("}");
8399 }, 8688 },
8400 _toEncodable$1: function(arg0) { 8689 _toEncodable$1: function(arg0) {
8401 return this._toEncodable.call$1(arg0); 8690 return this._toEncodable.call$1(arg0);
8402 } 8691 }
8403 }, 8692 },
8404 _JsonStringifier_writeMap_closure: { 8693 _JsonStringifier_writeMap_closure: {
8405 "^": "Closure:41;_convert$_box_0,_captured_this_1", 8694 "^": "Closure:4;_convert$_box_0,_convert$_captured_this_1",
8406 call$2: function(key, value) { 8695 call$2: [function(key, value) {
8407 var t1, t2; 8696 var t1, t2;
8408 t1 = this._captured_this_1; 8697 t1 = this._convert$_captured_this_1;
8409 t2 = this._convert$_box_0; 8698 t2 = this._convert$_box_0;
8410 t1.writeString$1(t2._captured_separator_0); 8699 t1.writeString$1(t2._captured_separator_0);
8411 t2._captured_separator_0 = ",\""; 8700 t2._captured_separator_0 = ",\"";
8412 t1.writeStringContent$1(key); 8701 t1.writeStringContent$1(key);
8413 t1.writeString$1("\":"); 8702 t1.writeString$1("\":");
8414 t1.writeObject$1(value); 8703 t1.writeObject$1(value);
8415 } 8704 }, null, null, 4, 0, null, 35, 12, "call"]
8416 }, 8705 },
8417 _JsonStringStringifier: { 8706 _JsonStringStringifier: {
8418 "^": "_JsonStringifier;_sink,_seen,_toEncodable", 8707 "^": "_JsonStringifier;_sink,_seen,_toEncodable",
8419 writeNumber$1: function(number) { 8708 writeNumber$1: function(number) {
8420 this._sink._contents += C.JSNumber_methods.toString$0(number); 8709 this._sink._contents += C.JSNumber_methods.toString$0(number);
8421 }, 8710 },
8422 writeString$1: function(string) { 8711 writeString$1: function(string) {
8423 this._sink._contents += H.S(string); 8712 this._sink._contents += H.S(string);
8424 }, 8713 },
8425 writeStringSlice$3: function(string, start, end) { 8714 writeStringSlice$3: function(string, start, end) {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
8532 if (codeUnit <= 127) { 8821 if (codeUnit <= 127) {
8533 t4 = this._bufferIndex; 8822 t4 = this._bufferIndex;
8534 if (t4 >= t2) 8823 if (t4 >= t2)
8535 break; 8824 break;
8536 this._bufferIndex = t4 + 1; 8825 this._bufferIndex = t4 + 1;
8537 t1[t4] = codeUnit; 8826 t1[t4] = codeUnit;
8538 } else if ((codeUnit & 64512) === 55296) { 8827 } else if ((codeUnit & 64512) === 55296) {
8539 if (this._bufferIndex + 3 >= t2) 8828 if (this._bufferIndex + 3 >= t2)
8540 break; 8829 break;
8541 stringIndex0 = stringIndex + 1; 8830 stringIndex0 = stringIndex + 1;
8542 if (this._writeSurrogate$2(codeUnit, C.JSString_methods.codeUnitAt$1(s tr, stringIndex0))) 8831 if (this._writeSurrogate$2(codeUnit, t3.codeUnitAt$1(str, stringIndex0 )))
8543 stringIndex = stringIndex0; 8832 stringIndex = stringIndex0;
8544 } else if (codeUnit <= 2047) { 8833 } else if (codeUnit <= 2047) {
8545 t4 = this._bufferIndex; 8834 t4 = this._bufferIndex;
8546 t5 = t4 + 1; 8835 t5 = t4 + 1;
8547 if (t5 >= t2) 8836 if (t5 >= t2)
8548 break; 8837 break;
8549 this._bufferIndex = t5; 8838 this._bufferIndex = t5;
8550 if (t4 >= t2) 8839 if (t4 >= t2)
8551 return H.ioore(t1, t4); 8840 return H.ioore(t1, t4);
8552 t1[t4] = 192 | codeUnit >>> 6; 8841 t1[t4] = 192 | codeUnit >>> 6;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
8586 decoder.convert$3(codeUnits, start, $length); 8875 decoder.convert$3(codeUnits, start, $length);
8587 decoder.flush$0(); 8876 decoder.flush$0();
8588 t1 = buffer._contents; 8877 t1 = buffer._contents;
8589 return t1.charCodeAt(0) == 0 ? t1 : t1; 8878 return t1.charCodeAt(0) == 0 ? t1 : t1;
8590 }, 8879 },
8591 convert$1: function(codeUnits) { 8880 convert$1: function(codeUnits) {
8592 return this.convert$3(codeUnits, 0, null); 8881 return this.convert$3(codeUnits, 0, null);
8593 } 8882 }
8594 }, 8883 },
8595 _Utf8Decoder: { 8884 _Utf8Decoder: {
8596 "^": "Object;_allowMalformed,_stringSink,_isFirstCharacter,_value,_expectedU nits,_extraUnits", 8885 "^": "Object;_allowMalformed,_stringSink,_isFirstCharacter,_convert$_value,_ expectedUnits,_extraUnits",
8597 close$0: function(_) { 8886 close$0: function(_) {
8598 this.flush$0(); 8887 this.flush$0();
8599 }, 8888 },
8600 flush$0: function() { 8889 flush$0: function() {
8601 if (this._expectedUnits > 0) { 8890 if (this._expectedUnits > 0) {
8602 if (!this._allowMalformed) 8891 if (!this._allowMalformed)
8603 throw H.wrapException(P.FormatException$("Unfinished UTF-8 octet seque nce", null, null)); 8892 throw H.wrapException(P.FormatException$("Unfinished UTF-8 octet seque nce", null, null));
8604 this._stringSink._contents += H.Primitives_stringFromCharCode(65533); 8893 this._stringSink._contents += H.Primitives_stringFromCharCode(65533);
8605 this._value = 0; 8894 this._convert$_value = 0;
8606 this._expectedUnits = 0; 8895 this._expectedUnits = 0;
8607 this._extraUnits = 0; 8896 this._extraUnits = 0;
8608 } 8897 }
8609 }, 8898 },
8610 convert$3: function(codeUnits, startIndex, endIndex) { 8899 convert$3: function(codeUnits, startIndex, endIndex) {
8611 var value, expectedUnits, extraUnits, t1, t2, t3, t4, t5, i, unit, t6, one Bytes, i0; 8900 var value, expectedUnits, extraUnits, t1, t2, t3, t4, t5, i, unit, t6, one Bytes, i0;
8612 value = this._value; 8901 value = this._convert$_value;
8613 expectedUnits = this._expectedUnits; 8902 expectedUnits = this._expectedUnits;
8614 extraUnits = this._extraUnits; 8903 extraUnits = this._extraUnits;
8615 this._value = 0; 8904 this._convert$_value = 0;
8616 this._expectedUnits = 0; 8905 this._expectedUnits = 0;
8617 this._extraUnits = 0; 8906 this._extraUnits = 0;
8618 t1 = new P._Utf8Decoder_convert_scanOneByteCharacters(endIndex); 8907 t1 = new P._Utf8Decoder_convert_scanOneByteCharacters(endIndex);
8619 t2 = new P._Utf8Decoder_convert_addSingleBytes(this, codeUnits, startIndex , endIndex); 8908 t2 = new P._Utf8Decoder_convert_addSingleBytes(this, codeUnits, startIndex , endIndex);
8620 $loop$0: 8909 $loop$0:
8621 for (t3 = this._stringSink, t4 = !this._allowMalformed, t5 = J.getInterc eptor$asx(codeUnits), i = startIndex; true; i = i0) { 8910 for (t3 = this._stringSink, t4 = !this._allowMalformed, t5 = J.getInterc eptor$asx(codeUnits), i = startIndex; true; i = i0) {
8622 $multibyte$2: 8911 $multibyte$2:
8623 if (expectedUnits > 0) { 8912 if (expectedUnits > 0) {
8624 do { 8913 do {
8625 if (i === endIndex) 8914 if (i === endIndex)
8626 break $loop$0; 8915 break $loop$0;
8627 unit = t5.$index(codeUnits, i); 8916 unit = t5.$index(codeUnits, i);
8628 if (typeof unit !== "number") 8917 t6 = J.getInterceptor$n(unit);
8629 return unit.$and(); 8918 if (t6.$and(unit, 192) !== 128) {
8630 if ((unit & 192) !== 128) {
8631 if (t4) 8919 if (t4)
8632 throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + C.JSNumber_methods.toRadixString$1(unit, 16), null, null)); 8920 throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + t6.toRadixString$1(unit, 16), null, null));
8633 this._isFirstCharacter = false; 8921 this._isFirstCharacter = false;
8634 t3._contents += H.Primitives_stringFromCharCode(65533); 8922 t3._contents += H.Primitives_stringFromCharCode(65533);
8635 expectedUnits = 0; 8923 expectedUnits = 0;
8636 break $multibyte$2; 8924 break $multibyte$2;
8637 } else { 8925 } else {
8638 value = (value << 6 | unit & 63) >>> 0; 8926 value = (value << 6 | t6.$and(unit, 63)) >>> 0;
8639 --expectedUnits; 8927 --expectedUnits;
8640 ++i; 8928 ++i;
8641 } 8929 }
8642 } while (expectedUnits > 0); 8930 } while (expectedUnits > 0);
8643 t6 = extraUnits - 1; 8931 t6 = extraUnits - 1;
8644 if (t6 < 0 || t6 >= 4) 8932 if (t6 < 0 || t6 >= 4)
8645 return H.ioore(C.List_127_2047_65535_1114111, t6); 8933 return H.ioore(C.List_127_2047_65535_1114111, t6);
8646 if (value <= C.List_127_2047_65535_1114111[t6]) { 8934 if (value <= C.List_127_2047_65535_1114111[t6]) {
8647 if (t4) 8935 if (t4)
8648 throw H.wrapException(P.FormatException$("Overlong encoding of 0x" + C.JSInt_methods.toRadixString$1(value, 16), null, null)); 8936 throw H.wrapException(P.FormatException$("Overlong encoding of 0x" + C.JSInt_methods.toRadixString$1(value, 16), null, null));
(...skipping 23 matching lines...) Expand all
8672 i = i0; 8960 i = i0;
8673 } 8961 }
8674 i0 = i + 1; 8962 i0 = i + 1;
8675 unit = t5.$index(codeUnits, i); 8963 unit = t5.$index(codeUnits, i);
8676 t6 = J.getInterceptor$n(unit); 8964 t6 = J.getInterceptor$n(unit);
8677 if (t6.$lt(unit, 0)) { 8965 if (t6.$lt(unit, 0)) {
8678 if (t4) 8966 if (t4)
8679 throw H.wrapException(P.FormatException$("Negative UTF-8 code un it: -0x" + J.toRadixString$1$n(t6.$negate(unit), 16), null, null)); 8967 throw H.wrapException(P.FormatException$("Negative UTF-8 code un it: -0x" + J.toRadixString$1$n(t6.$negate(unit), 16), null, null));
8680 t3._contents += H.Primitives_stringFromCharCode(65533); 8968 t3._contents += H.Primitives_stringFromCharCode(65533);
8681 } else { 8969 } else {
8682 if (typeof unit !== "number") 8970 if (t6.$and(unit, 224) === 192) {
8683 return unit.$and(); 8971 value = t6.$and(unit, 31);
8684 if ((unit & 224) === 192) {
8685 value = unit & 31;
8686 expectedUnits = 1; 8972 expectedUnits = 1;
8687 extraUnits = 1; 8973 extraUnits = 1;
8688 continue $loop$0; 8974 continue $loop$0;
8689 } 8975 }
8690 if ((unit & 240) === 224) { 8976 if (t6.$and(unit, 240) === 224) {
8691 value = unit & 15; 8977 value = t6.$and(unit, 15);
8692 expectedUnits = 2; 8978 expectedUnits = 2;
8693 extraUnits = 2; 8979 extraUnits = 2;
8694 continue $loop$0; 8980 continue $loop$0;
8695 } 8981 }
8696 if ((unit & 248) === 240 && unit < 245) { 8982 if (t6.$and(unit, 248) === 240 && t6.$lt(unit, 245)) {
8697 value = unit & 7; 8983 value = t6.$and(unit, 7);
8698 expectedUnits = 3; 8984 expectedUnits = 3;
8699 extraUnits = 3; 8985 extraUnits = 3;
8700 continue $loop$0; 8986 continue $loop$0;
8701 } 8987 }
8702 if (t4) 8988 if (t4)
8703 throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + C.JSNumber_methods.toRadixString$1(unit, 16), null, null)); 8989 throw H.wrapException(P.FormatException$("Bad UTF-8 encoding 0x" + t6.toRadixString$1(unit, 16), null, null));
8704 this._isFirstCharacter = false; 8990 this._isFirstCharacter = false;
8705 t3._contents += H.Primitives_stringFromCharCode(65533); 8991 t3._contents += H.Primitives_stringFromCharCode(65533);
8706 value = 65533; 8992 value = 65533;
8707 expectedUnits = 0; 8993 expectedUnits = 0;
8708 extraUnits = 0; 8994 extraUnits = 0;
8709 } 8995 }
8710 } 8996 }
8711 break $loop$0; 8997 break $loop$0;
8712 } 8998 }
8713 if (expectedUnits > 0) { 8999 if (expectedUnits > 0) {
8714 this._value = value; 9000 this._convert$_value = value;
8715 this._expectedUnits = expectedUnits; 9001 this._expectedUnits = expectedUnits;
8716 this._extraUnits = extraUnits; 9002 this._extraUnits = extraUnits;
8717 } 9003 }
8718 } 9004 }
8719 }, 9005 },
8720 _Utf8Decoder_convert_scanOneByteCharacters: { 9006 _Utf8Decoder_convert_scanOneByteCharacters: {
8721 "^": "Closure:42;_captured_endIndex_0", 9007 "^": "Closure:42;_captured_endIndex_0",
8722 call$2: function(units, from) { 9008 call$2: function(units, from) {
8723 var to, t1, i, unit; 9009 var to, t1, i, unit;
8724 to = this._captured_endIndex_0; 9010 to = this._captured_endIndex_0;
8725 for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) { 9011 for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) {
8726 unit = t1.$index(units, i); 9012 unit = t1.$index(units, i);
8727 if (typeof unit !== "number") 9013 if (J.$and$n(unit, 127) !== unit)
8728 return unit.$and();
8729 if ((unit & 127) !== unit)
8730 return i - from; 9014 return i - from;
8731 } 9015 }
8732 return to - from; 9016 return to - from;
8733 } 9017 }
8734 }, 9018 },
8735 _Utf8Decoder_convert_addSingleBytes: { 9019 _Utf8Decoder_convert_addSingleBytes: {
8736 "^": "Closure:43;_captured_this_1,_captured_codeUnits_2,_captured_startIndex _3,_captured_endIndex_4", 9020 "^": "Closure:43;_convert$_captured_this_1,_captured_codeUnits_2,_captured_s tartIndex_3,_captured_endIndex_4",
8737 call$2: function(from, to) { 9021 call$2: function(from, to) {
8738 this._captured_this_1._stringSink._contents += P.String_String$fromCharCod es(this._captured_codeUnits_2, from, to); 9022 this._convert$_captured_this_1._stringSink._contents += P.String_String$fr omCharCodes(this._captured_codeUnits_2, from, to);
8739 } 9023 }
8740 } 9024 }
8741 }], 9025 }],
8742 ["dart.core", "dart:core", , P, { 9026 ["dart.core", "dart:core", , P, {
8743 "^": "", 9027 "^": "",
8744 _symbolToString: function(symbol) {
8745 return H.Symbol_getName(symbol);
8746 },
8747 String__checkBounds: function(len, start, end) { 9028 String__checkBounds: function(len, start, end) {
8748 if (start < 0 || start > len) 9029 if (start < 0 || start > len)
8749 throw H.wrapException(P.RangeError$range(start, 0, len, null, null)); 9030 throw H.wrapException(P.RangeError$range(start, 0, len, null, null));
8750 if (end == null) 9031 if (end == null)
8751 end = len; 9032 end = len;
8752 else if (end < start || end > len) 9033 else if (end < start || end > len)
8753 throw H.wrapException(P.RangeError$range(end, start, len, null, null)); 9034 throw H.wrapException(P.RangeError$range(end, start, len, null, null));
8754 return end; 9035 return end;
8755 }, 9036 },
8756 String__stringFromIterable: function(charCodes, start, end) { 9037 String__stringFromIterable: function(charCodes, start, end) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
8848 return H.Primitives_stringFromCharCodes(start > 0 || end < len ? C.JSArray _methods.sublist$2(charCodes, start, end) : charCodes); 9129 return H.Primitives_stringFromCharCodes(start > 0 || end < len ? C.JSArray _methods.sublist$2(charCodes, start, end) : charCodes);
8849 } 9130 }
8850 return P.String__stringFromIterable(charCodes, start, end); 9131 return P.String__stringFromIterable(charCodes, start, end);
8851 }, 9132 },
8852 String_String$fromCharCode: function(charCode) { 9133 String_String$fromCharCode: function(charCode) {
8853 return H.Primitives_stringFromCharCode(charCode); 9134 return H.Primitives_stringFromCharCode(charCode);
8854 }, 9135 },
8855 NoSuchMethodError_toString_closure: { 9136 NoSuchMethodError_toString_closure: {
8856 "^": "Closure:44;_box_0", 9137 "^": "Closure:44;_box_0",
8857 call$2: function(key, value) { 9138 call$2: function(key, value) {
8858 var t1 = this._box_0; 9139 var t1, t2;
9140 t1 = this._box_0;
8859 if (t1._captured_i_1 > 0) 9141 if (t1._captured_i_1 > 0)
8860 t1._captured_sb_0._contents += ", "; 9142 t1._captured_sb_0._contents += ", ";
8861 P._symbolToString(key); 9143 t1._captured_sb_0._contents += H.S(key.get$_name());
9144 t2 = t1._captured_sb_0;
9145 t2._contents += ": ";
9146 t2._contents += H.S(P.Error_safeToString(value));
9147 ++t1._captured_i_1;
8862 } 9148 }
8863 }, 9149 },
8864 bool: { 9150 bool: {
8865 "^": "Object;" 9151 "^": "Object;"
8866 }, 9152 },
8867 "+bool": 0, 9153 "+bool": 0,
8868 DateTime: { 9154 DateTime: {
8869 "^": "Object;millisecondsSinceEpoch,isUtc", 9155 "^": "Object;millisecondsSinceEpoch,isUtc",
8870 $eq: function(_, other) { 9156 $eq: function(_, other) {
8871 if (other == null) 9157 if (other == null)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
8941 $mul: function(_, factor) { 9227 $mul: function(_, factor) {
8942 return new P.Duration(C.JSInt_methods.round$0(this._duration * factor)); 9228 return new P.Duration(C.JSInt_methods.round$0(this._duration * factor));
8943 }, 9229 },
8944 $lt: function(_, other) { 9230 $lt: function(_, other) {
8945 return this._duration < other.get$_duration(); 9231 return this._duration < other.get$_duration();
8946 }, 9232 },
8947 $gt: function(_, other) { 9233 $gt: function(_, other) {
8948 return this._duration > other.get$_duration(); 9234 return this._duration > other.get$_duration();
8949 }, 9235 },
8950 $ge: function(_, other) { 9236 $ge: function(_, other) {
8951 return C.JSInt_methods.$ge(this._duration, other.get$_duration()); 9237 return this._duration >= other.get$_duration();
8952 }, 9238 },
8953 get$inMilliseconds: function() { 9239 get$inMilliseconds: function() {
8954 return C.JSInt_methods._tdivFast$1(this._duration, 1000); 9240 return C.JSInt_methods._tdivFast$1(this._duration, 1000);
8955 }, 9241 },
8956 $eq: function(_, other) { 9242 $eq: function(_, other) {
8957 if (other == null) 9243 if (other == null)
8958 return false; 9244 return false;
8959 if (!(other instanceof P.Duration)) 9245 if (!(other instanceof P.Duration))
8960 return false; 9246 return false;
8961 return this._duration === other._duration; 9247 return this._duration === other._duration;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
9068 return new P.RangeError(null, null, true, value, $name, "Value not in ra nge"); 9354 return new P.RangeError(null, null, true, value, $name, "Value not in ra nge");
9069 }, RangeError$range: function(invalidValue, minValue, maxValue, $name, mes sage) { 9355 }, RangeError$range: function(invalidValue, minValue, maxValue, $name, mes sage) {
9070 return new P.RangeError(minValue, maxValue, true, invalidValue, $name, " Invalid value"); 9356 return new P.RangeError(minValue, maxValue, true, invalidValue, $name, " Invalid value");
9071 }, RangeError_checkValueInInterval: function(value, minValue, maxValue, $n ame, message) { 9357 }, RangeError_checkValueInInterval: function(value, minValue, maxValue, $n ame, message) {
9072 if (value < minValue || value > maxValue) 9358 if (value < minValue || value > maxValue)
9073 throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $n ame, message)); 9359 throw H.wrapException(P.RangeError$range(value, minValue, maxValue, $n ame, message));
9074 }, RangeError_checkValidRange: function(start, end, $length, startName, en dName, message) { 9360 }, RangeError_checkValidRange: function(start, end, $length, startName, en dName, message) {
9075 var t1; 9361 var t1;
9076 if (typeof start !== "number") 9362 if (typeof start !== "number")
9077 return H.iae(start); 9363 return H.iae(start);
9078 if (0 <= start) { 9364 if (!(0 > start)) {
9079 if (typeof $length !== "number") 9365 if (typeof $length !== "number")
9080 return H.iae($length); 9366 return H.iae($length);
9081 t1 = start > $length; 9367 t1 = start > $length;
9082 } else 9368 } else
9083 t1 = true; 9369 t1 = true;
9084 if (t1) 9370 if (t1)
9085 throw H.wrapException(P.RangeError$range(start, 0, $length, "start", m essage)); 9371 throw H.wrapException(P.RangeError$range(start, 0, $length, "start", m essage));
9086 if (end != null) { 9372 if (end != null) {
9087 if (typeof end !== "number") 9373 if (typeof end !== "number")
9088 return H.iae(end); 9374 return H.iae(end);
(...skipping 24 matching lines...) Expand all
9113 get$_errorExplanation: function() { 9399 get$_errorExplanation: function() {
9114 P.Error_safeToString(this.indexable); 9400 P.Error_safeToString(this.indexable);
9115 var explanation = ": index should be less than " + H.S(this.length); 9401 var explanation = ": index should be less than " + H.S(this.length);
9116 return J.$lt$n(this.invalidValue, 0) ? ": index must not be negative" : ex planation; 9402 return J.$lt$n(this.invalidValue, 0) ? ": index must not be negative" : ex planation;
9117 }, 9403 },
9118 static: {IndexError$: function(invalidValue, indexable, $name, message, $len gth) { 9404 static: {IndexError$: function(invalidValue, indexable, $name, message, $len gth) {
9119 var t1 = $length != null ? $length : J.get$length$asx(indexable); 9405 var t1 = $length != null ? $length : J.get$length$asx(indexable);
9120 return new P.IndexError(indexable, t1, true, invalidValue, $name, "Index out of range"); 9406 return new P.IndexError(indexable, t1, true, invalidValue, $name, "Index out of range");
9121 }} 9407 }}
9122 }, 9408 },
9409 NoSuchMethodError: {
9410 "^": "Error;_core$_receiver,_memberName,_core$_arguments,_namedArguments,_ex istingArgumentNames",
9411 toString$0: function(_) {
9412 var t1, t2, t3, t4, t5;
9413 t1 = {};
9414 t1._captured_sb_0 = new P.StringBuffer("");
9415 t1._captured_i_1 = 0;
9416 for (t2 = this._core$_arguments, t3 = 0; t4 = t2.length, t3 < t4; t3 = ++t 1._captured_i_1) {
9417 if (t3 > 0)
9418 t1._captured_sb_0._contents += ", ";
9419 t5 = t1._captured_sb_0;
9420 if (t3 < 0)
9421 return H.ioore(t2, t3);
9422 t5._contents += H.S(P.Error_safeToString(t2[t3]));
9423 }
9424 this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closure (t1));
9425 t2 = "NoSuchMethodError : method not found: '" + this._memberName.toString $0(0) + "'\nReceiver: " + H.S(P.Error_safeToString(this._core$_receiver)) + "\nA rguments: [";
9426 t1 = t1._captured_sb_0._contents;
9427 return t2 + (t1.charCodeAt(0) == 0 ? t1 : t1) + "]";
9428 },
9429 static: {NoSuchMethodError$: function(receiver, memberName, positionalArgume nts, namedArguments, existingArgumentNames) {
9430 return new P.NoSuchMethodError(receiver, memberName, positionalArguments , namedArguments, existingArgumentNames);
9431 }}
9432 },
9123 UnsupportedError: { 9433 UnsupportedError: {
9124 "^": "Error;message>", 9434 "^": "Error;message>",
9125 toString$0: function(_) { 9435 toString$0: function(_) {
9126 return "Unsupported operation: " + this.message; 9436 return "Unsupported operation: " + this.message;
9127 }, 9437 },
9128 static: {UnsupportedError$: function(message) { 9438 static: {UnsupportedError$: function(message) {
9129 return new P.UnsupportedError(message); 9439 return new P.UnsupportedError(message);
9130 }} 9440 }}
9131 }, 9441 },
9132 UnimplementedError: { 9442 UnimplementedError: {
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
9342 }, 9652 },
9343 "+num": 0, 9653 "+num": 0,
9344 Object: { 9654 Object: {
9345 "^": ";", 9655 "^": ";",
9346 $eq: function(_, other) { 9656 $eq: function(_, other) {
9347 return this === other; 9657 return this === other;
9348 }, 9658 },
9349 get$hashCode: function(_) { 9659 get$hashCode: function(_) {
9350 return H.Primitives_objectHashCode(this); 9660 return H.Primitives_objectHashCode(this);
9351 }, 9661 },
9352 toString$0: function(_) { 9662 toString$0: ["super$Object$toString$0", function(_) {
9353 return H.Primitives_objectToString(this); 9663 return H.Primitives_objectToString(this);
9664 }],
9665 noSuchMethod$1: function(_, invocation) {
9666 throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName (), invocation.get$positionalArguments(), invocation.get$namedArguments(), null) );
9354 } 9667 }
9355 }, 9668 },
9356 Match: { 9669 Match: {
9357 "^": "Object;" 9670 "^": "Object;"
9358 }, 9671 },
9359 StackTrace: { 9672 StackTrace: {
9360 "^": "Object;" 9673 "^": "Object;"
9361 }, 9674 },
9362 String: { 9675 String: {
9363 "^": "Object;" 9676 "^": "Object;"
9364 }, 9677 },
9365 "+String": 0, 9678 "+String": 0,
9366 StringBuffer: { 9679 StringBuffer: {
9367 "^": "Object;_contents<", 9680 "^": "Object;_contents@",
9368 get$length: function(_) { 9681 get$length: function(_) {
9369 return this._contents.length; 9682 return this._contents.length;
9370 }, 9683 },
9371 get$isEmpty: function(_) { 9684 get$isEmpty: function(_) {
9372 return this._contents.length === 0; 9685 return this._contents.length === 0;
9373 }, 9686 },
9374 get$isNotEmpty: function(_) { 9687 get$isNotEmpty: function(_) {
9375 return this._contents.length !== 0; 9688 return this._contents.length !== 0;
9376 }, 9689 },
9377 writeAll$2: function(objects, separator) { 9690 writeAll$2: function(objects, separator) {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
9677 } 9990 }
9678 if ($char === 58) { 9991 if ($char === 58) {
9679 if (i === start) 9992 if (i === start)
9680 P.Uri__fail(uri, start, "Invalid empty scheme"); 9993 P.Uri__fail(uri, start, "Invalid empty scheme");
9681 t1._captured_scheme_1 = P.Uri__makeScheme(uri, start, i); 9994 t1._captured_scheme_1 = P.Uri__makeScheme(uri, start, i);
9682 ++i; 9995 ++i;
9683 if (i === t1._captured_end_0) { 9996 if (i === t1._captured_end_0) {
9684 t1._captured_char_6 = -1; 9997 t1._captured_char_6 = -1;
9685 state = 0; 9998 state = 0;
9686 } else { 9999 } else {
9687 $char = C.JSString_methods.codeUnitAt$1(uri, i); 10000 $char = t2.codeUnitAt$1(uri, i);
9688 t1._captured_char_6 = $char; 10001 t1._captured_char_6 = $char;
9689 if ($char === 63 || $char === 35) 10002 if ($char === 63 || $char === 35)
9690 state = 0; 10003 state = 0;
9691 else 10004 else
9692 state = $char === 47 ? 2 : 1; 10005 state = $char === 47 ? 2 : 1;
9693 } 10006 }
9694 pathStart = i; 10007 pathStart = i;
9695 break; 10008 break;
9696 } 10009 }
9697 ++i; 10010 ++i;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
9795 t1 = 97 <= charCode && charCode <= 122; 10108 t1 = 97 <= charCode && charCode <= 122;
9796 else 10109 else
9797 t1 = true; 10110 t1 = true;
9798 if (t1) 10111 if (t1)
9799 return; 10112 return;
9800 if (argumentError) 10113 if (argumentError)
9801 throw H.wrapException(P.ArgumentError$("Illegal drive letter " + P.Str ing_String$fromCharCode(charCode))); 10114 throw H.wrapException(P.ArgumentError$("Illegal drive letter " + P.Str ing_String$fromCharCode(charCode)));
9802 else 10115 else
9803 throw H.wrapException(P.UnsupportedError$("Illegal drive letter " + P. String_String$fromCharCode(charCode))); 10116 throw H.wrapException(P.UnsupportedError$("Illegal drive letter " + P. String_String$fromCharCode(charCode)));
9804 }, Uri__makeFileUri: function(path) { 10117 }, Uri__makeFileUri: function(path) {
9805 if (J.startsWith$1$s(path, "/")) 10118 var t1 = J.getInterceptor$s(path);
9806 return P.Uri_Uri(null, null, null, path.split("/"), null, null, null, "file", ""); 10119 if (t1.startsWith$1(path, "/"))
10120 return P.Uri_Uri(null, null, null, t1.split$1(path, "/"), null, null, null, "file", "");
9807 else 10121 else
9808 return P.Uri_Uri(null, null, null, path.split("/"), null, null, null, "", ""); 10122 return P.Uri_Uri(null, null, null, t1.split$1(path, "/"), null, null, null, "", "");
9809 }, Uri__makeWindowsFileUrl: function(path) { 10123 }, Uri__makeWindowsFileUrl: function(path) {
9810 var t1, pathSegments, pathStart, hostPart; 10124 var t1, pathSegments, pathStart, hostPart;
9811 if (J.getInterceptor$s(path).startsWith$1(path, "\\\\?\\")) 10125 t1 = J.getInterceptor$s(path);
9812 if (C.JSString_methods.startsWith$2(path, "UNC\\", 4)) 10126 if (t1.startsWith$1(path, "\\\\?\\"))
9813 path = C.JSString_methods.replaceRange$3(path, 0, 7, "\\"); 10127 if (t1.startsWith$2(path, "UNC\\", 4))
10128 path = t1.replaceRange$3(path, 0, 7, "\\");
9814 else { 10129 else {
9815 path = C.JSString_methods.substring$1(path, 4); 10130 path = t1.substring$1(path, 4);
9816 if (path.length < 3 || C.JSString_methods.codeUnitAt$1(path, 1) !== 58 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92) 10131 if (path.length < 3 || C.JSString_methods.codeUnitAt$1(path, 1) !== 58 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92)
9817 throw H.wrapException(P.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute")); 10132 throw H.wrapException(P.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute"));
9818 } 10133 }
9819 else { 10134 else
9820 H.checkString("\\"); 10135 path = t1.replaceAll$2(path, "/", "\\");
9821 path = H.stringReplaceAllUnchecked(path, "/", "\\");
9822 }
9823 t1 = path.length; 10136 t1 = path.length;
9824 if (t1 > 1 && C.JSString_methods.codeUnitAt$1(path, 1) === 58) { 10137 if (t1 > 1 && C.JSString_methods.codeUnitAt$1(path, 1) === 58) {
9825 P.Uri__checkWindowsDriveLetter(C.JSString_methods.codeUnitAt$1(path, 0 ), true); 10138 P.Uri__checkWindowsDriveLetter(C.JSString_methods.codeUnitAt$1(path, 0 ), true);
9826 if (t1 === 2 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92) 10139 if (t1 === 2 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92)
9827 throw H.wrapException(P.ArgumentError$("Windows paths with drive let ter must be absolute")); 10140 throw H.wrapException(P.ArgumentError$("Windows paths with drive let ter must be absolute"));
9828 pathSegments = path.split("\\"); 10141 pathSegments = path.split("\\");
9829 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1); 10142 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
9830 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "fi le", ""); 10143 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "fi le", "");
9831 } 10144 }
9832 if (C.JSString_methods.startsWith$1(path, "\\")) 10145 if (C.JSString_methods.startsWith$1(path, "\\"))
(...skipping 12 matching lines...) Expand all
9845 else { 10158 else {
9846 pathSegments = path.split("\\"); 10159 pathSegments = path.split("\\");
9847 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); 10160 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
9848 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "", ""); 10161 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "", "");
9849 } 10162 }
9850 }, Uri__makePort: function(port, scheme) { 10163 }, Uri__makePort: function(port, scheme) {
9851 if (port != null && port === P.Uri__defaultPort(scheme)) 10164 if (port != null && port === P.Uri__defaultPort(scheme))
9852 return; 10165 return;
9853 return port; 10166 return port;
9854 }, Uri__makeHost: function(host, start, end, strictIPv6) { 10167 }, Uri__makeHost: function(host, start, end, strictIPv6) {
9855 var t1, t2, i; 10168 var t1, t2, t3, i;
9856 if (host == null) 10169 if (host == null)
9857 return; 10170 return;
9858 t1 = J.getInterceptor(start); 10171 t1 = J.getInterceptor(start);
9859 if (t1.$eq(start, end)) 10172 if (t1.$eq(start, end))
9860 return ""; 10173 return "";
9861 if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) { 10174 t2 = J.getInterceptor$s(host);
9862 t2 = J.getInterceptor$n(end); 10175 if (t2.codeUnitAt$1(host, start) === 91) {
9863 if (C.JSString_methods.codeUnitAt$1(host, t2.$sub(end, 1)) !== 93) 10176 t3 = J.getInterceptor$n(end);
10177 if (t2.codeUnitAt$1(host, t3.$sub(end, 1)) !== 93)
9864 P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); 10178 P.Uri__fail(host, start, "Missing end `]` to match `[` in host");
9865 P.Uri_parseIPv6Address(host, t1.$add(start, 1), t2.$sub(end, 1)); 10179 P.Uri_parseIPv6Address(host, t1.$add(start, 1), t3.$sub(end, 1));
9866 return C.JSString_methods.substring$2(host, start, end).toLowerCase(); 10180 return t2.substring$2(host, start, end).toLowerCase();
9867 } 10181 }
9868 if (!strictIPv6) 10182 if (!strictIPv6)
9869 for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$ad d(i, 1)) 10183 for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$ad d(i, 1))
9870 if (C.JSString_methods.codeUnitAt$1(host, i) === 58) { 10184 if (t2.codeUnitAt$1(host, i) === 58) {
9871 P.Uri_parseIPv6Address(host, start, end); 10185 P.Uri_parseIPv6Address(host, start, end);
9872 return "[" + host + "]"; 10186 return "[" + H.S(host) + "]";
9873 } 10187 }
9874 return P.Uri__normalizeRegName(host, start, end); 10188 return P.Uri__normalizeRegName(host, start, end);
9875 }, Uri__normalizeRegName: function(host, start, end) { 10189 }, Uri__normalizeRegName: function(host, start, end) {
9876 var index, sectionStart, buffer, isNormalized, t1, $char, replacement, t 2, slice, sourceLength, tail; 10190 var t1, index, sectionStart, buffer, isNormalized, t2, $char, replacemen t, t3, slice, sourceLength, tail;
9877 for (index = start, sectionStart = index, buffer = null, isNormalized = true; t1 = J.getInterceptor$n(index), t1.$lt(index, end);) { 10191 for (t1 = J.getInterceptor$s(host), index = start, sectionStart = index, buffer = null, isNormalized = true; t2 = J.getInterceptor$n(index), t2.$lt(inde x, end);) {
9878 $char = C.JSString_methods.codeUnitAt$1(host, index); 10192 $char = t1.codeUnitAt$1(host, index);
9879 if ($char === 37) { 10193 if ($char === 37) {
9880 replacement = P.Uri__normalizeEscape(host, index, true); 10194 replacement = P.Uri__normalizeEscape(host, index, true);
9881 t2 = replacement == null; 10195 t3 = replacement == null;
9882 if (t2 && isNormalized) { 10196 if (t3 && isNormalized) {
9883 index = t1.$add(index, 3); 10197 index = t2.$add(index, 3);
9884 continue; 10198 continue;
9885 } 10199 }
9886 if (buffer == null) 10200 if (buffer == null)
9887 buffer = new P.StringBuffer(""); 10201 buffer = new P.StringBuffer("");
9888 slice = C.JSString_methods.substring$2(host, sectionStart, index); 10202 slice = t1.substring$2(host, sectionStart, index);
9889 if (!isNormalized) 10203 if (!isNormalized)
9890 slice = slice.toLowerCase(); 10204 slice = slice.toLowerCase();
9891 buffer._contents = buffer._contents + slice; 10205 buffer._contents = buffer._contents + slice;
9892 if (t2) { 10206 if (t3) {
9893 replacement = C.JSString_methods.substring$2(host, index, t1.$add( index, 3)); 10207 replacement = t1.substring$2(host, index, t2.$add(index, 3));
9894 sourceLength = 3; 10208 sourceLength = 3;
9895 } else if (replacement === "%") { 10209 } else if (replacement === "%") {
9896 replacement = "%25"; 10210 replacement = "%25";
9897 sourceLength = 1; 10211 sourceLength = 1;
9898 } else 10212 } else
9899 sourceLength = 3; 10213 sourceLength = 3;
9900 buffer._contents += replacement; 10214 buffer._contents += replacement;
9901 index = t1.$add(index, sourceLength); 10215 index = t2.$add(index, sourceLength);
9902 sectionStart = index; 10216 sectionStart = index;
9903 isNormalized = true; 10217 isNormalized = true;
9904 } else { 10218 } else {
9905 if ($char < 127) { 10219 if ($char < 127) {
9906 t2 = $char >>> 4; 10220 t3 = $char >>> 4;
9907 if (t2 >= 8) 10221 if (t3 >= 8)
9908 return H.ioore(C.List_qNA, t2); 10222 return H.ioore(C.List_qNA, t3);
9909 t2 = (C.List_qNA[t2] & C.JSInt_methods._shlPositive$1(1, $char & 1 5)) !== 0; 10223 t3 = (C.List_qNA[t3] & C.JSInt_methods._shlPositive$1(1, $char & 1 5)) !== 0;
9910 } else 10224 } else
9911 t2 = false; 10225 t3 = false;
9912 if (t2) { 10226 if (t3) {
9913 if (isNormalized && 65 <= $char && 90 >= $char) { 10227 if (isNormalized && 65 <= $char && 90 >= $char) {
9914 if (buffer == null) 10228 if (buffer == null)
9915 buffer = new P.StringBuffer(""); 10229 buffer = new P.StringBuffer("");
9916 if (J.$lt$n(sectionStart, index)) { 10230 if (J.$lt$n(sectionStart, index)) {
9917 t2 = C.JSString_methods.substring$2(host, sectionStart, index) ; 10231 t3 = t1.substring$2(host, sectionStart, index);
9918 buffer._contents = buffer._contents + t2; 10232 buffer._contents = buffer._contents + t3;
9919 sectionStart = index; 10233 sectionStart = index;
9920 } 10234 }
9921 isNormalized = false; 10235 isNormalized = false;
9922 } 10236 }
9923 index = t1.$add(index, 1); 10237 index = t2.$add(index, 1);
9924 } else { 10238 } else {
9925 if ($char <= 93) { 10239 if ($char <= 93) {
9926 t2 = $char >>> 4; 10240 t3 = $char >>> 4;
9927 if (t2 >= 8) 10241 if (t3 >= 8)
9928 return H.ioore(C.List_2Vk, t2); 10242 return H.ioore(C.List_2Vk, t3);
9929 t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; 10243 t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
9930 } else 10244 } else
9931 t2 = false; 10245 t3 = false;
9932 if (t2) 10246 if (t3)
9933 P.Uri__fail(host, index, "Invalid character"); 10247 P.Uri__fail(host, index, "Invalid character");
9934 else { 10248 else {
9935 if (($char & 64512) === 55296 && J.$lt$n(t1.$add(index, 1), end) ) { 10249 if (($char & 64512) === 55296 && J.$lt$n(t2.$add(index, 1), end) ) {
9936 tail = C.JSString_methods.codeUnitAt$1(host, t1.$add(index, 1) ); 10250 tail = t1.codeUnitAt$1(host, t2.$add(index, 1));
9937 if ((tail & 64512) === 56320) { 10251 if ((tail & 64512) === 56320) {
9938 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0; 10252 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0;
9939 sourceLength = 2; 10253 sourceLength = 2;
9940 } else 10254 } else
9941 sourceLength = 1; 10255 sourceLength = 1;
9942 } else 10256 } else
9943 sourceLength = 1; 10257 sourceLength = 1;
9944 if (buffer == null) 10258 if (buffer == null)
9945 buffer = new P.StringBuffer(""); 10259 buffer = new P.StringBuffer("");
9946 slice = C.JSString_methods.substring$2(host, sectionStart, index ); 10260 slice = t1.substring$2(host, sectionStart, index);
9947 if (!isNormalized) 10261 if (!isNormalized)
9948 slice = slice.toLowerCase(); 10262 slice = slice.toLowerCase();
9949 buffer._contents = buffer._contents + slice; 10263 buffer._contents = buffer._contents + slice;
9950 buffer._contents += P.Uri__escapeChar($char); 10264 buffer._contents += P.Uri__escapeChar($char);
9951 index = t1.$add(index, sourceLength); 10265 index = t2.$add(index, sourceLength);
9952 sectionStart = index; 10266 sectionStart = index;
9953 } 10267 }
9954 } 10268 }
9955 } 10269 }
9956 } 10270 }
9957 if (buffer == null) 10271 if (buffer == null)
9958 return C.JSString_methods.substring$2(host, start, end); 10272 return t1.substring$2(host, start, end);
9959 if (J.$lt$n(sectionStart, end)) { 10273 if (J.$lt$n(sectionStart, end)) {
9960 slice = C.JSString_methods.substring$2(host, sectionStart, end); 10274 slice = t1.substring$2(host, sectionStart, end);
9961 buffer._contents += !isNormalized ? slice.toLowerCase() : slice; 10275 buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
9962 } 10276 }
9963 t1 = buffer._contents; 10277 t1 = buffer._contents;
9964 return t1.charCodeAt(0) == 0 ? t1 : t1; 10278 return t1.charCodeAt(0) == 0 ? t1 : t1;
9965 }, Uri__makeScheme: function(scheme, start, end) { 10279 }, Uri__makeScheme: function(scheme, start, end) {
9966 var firstCodeUnit, allLowercase, t1, i, codeUnit; 10280 var t1, firstCodeUnit, allLowercase, t2, i, codeUnit;
9967 if (start === end) 10281 if (start === end)
9968 return ""; 10282 return "";
9969 firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, start); 10283 t1 = J.getInterceptor$s(scheme);
10284 firstCodeUnit = t1.codeUnitAt$1(scheme, start);
9970 allLowercase = firstCodeUnit >= 97; 10285 allLowercase = firstCodeUnit >= 97;
9971 if (!(allLowercase && firstCodeUnit <= 122)) 10286 if (!(allLowercase && firstCodeUnit <= 122))
9972 t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90; 10287 t2 = firstCodeUnit >= 65 && firstCodeUnit <= 90;
9973 else 10288 else
9974 t1 = true; 10289 t2 = true;
9975 if (!t1) 10290 if (!t2)
9976 P.Uri__fail(scheme, start, "Scheme not starting with alphabetic charac ter"); 10291 P.Uri__fail(scheme, start, "Scheme not starting with alphabetic charac ter");
9977 if (typeof end !== "number") 10292 if (typeof end !== "number")
9978 return H.iae(end); 10293 return H.iae(end);
9979 i = start; 10294 i = start;
9980 for (; i < end; ++i) { 10295 for (; i < end; ++i) {
9981 codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i); 10296 codeUnit = t1.codeUnitAt$1(scheme, i);
9982 if (codeUnit < 128) { 10297 if (codeUnit < 128) {
9983 t1 = codeUnit >>> 4; 10298 t2 = codeUnit >>> 4;
9984 if (t1 >= 8) 10299 if (t2 >= 8)
9985 return H.ioore(C.List_JYB, t1); 10300 return H.ioore(C.List_JYB, t2);
9986 t1 = (C.List_JYB[t1] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0; 10301 t2 = (C.List_JYB[t2] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0;
9987 } else 10302 } else
9988 t1 = false; 10303 t2 = false;
9989 if (!t1) 10304 if (!t2)
9990 P.Uri__fail(scheme, i, "Illegal scheme character"); 10305 P.Uri__fail(scheme, i, "Illegal scheme character");
9991 if (codeUnit < 97 || codeUnit > 122) 10306 if (codeUnit < 97 || codeUnit > 122)
9992 allLowercase = false; 10307 allLowercase = false;
9993 } 10308 }
9994 scheme = C.JSString_methods.substring$2(scheme, start, end); 10309 scheme = t1.substring$2(scheme, start, end);
9995 return !allLowercase ? scheme.toLowerCase() : scheme; 10310 return !allLowercase ? scheme.toLowerCase() : scheme;
9996 }, Uri__makeUserInfo: function(userInfo, start, end) { 10311 }, Uri__makeUserInfo: function(userInfo, start, end) {
10312 if (userInfo == null)
10313 return "";
9997 return P.Uri__normalize(userInfo, start, end, C.List_gRj); 10314 return P.Uri__normalize(userInfo, start, end, C.List_gRj);
9998 }, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSl ash, isFile) { 10315 }, Uri__makePath: function(path, start, end, pathSegments, ensureLeadingSl ash, isFile) {
9999 var t1, result; 10316 var t1, result;
10000 t1 = path == null; 10317 t1 = path == null;
10001 if (t1 && pathSegments == null) 10318 if (t1 && pathSegments == null)
10002 return isFile ? "/" : ""; 10319 return isFile ? "/" : "";
10003 t1 = !t1; 10320 t1 = !t1;
10004 if (t1 && pathSegments != null) 10321 if (t1 && pathSegments != null)
10005 throw H.wrapException(P.ArgumentError$("Both path and pathSegments spe cified")); 10322 throw H.wrapException(P.ArgumentError$("Both path and pathSegments spe cified"));
10006 if (t1) 10323 if (t1)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
10038 }, Uri__isHexDigit: function($char) { 10355 }, Uri__isHexDigit: function($char) {
10039 if (57 >= $char) 10356 if (57 >= $char)
10040 return 48 <= $char; 10357 return 48 <= $char;
10041 $char |= 32; 10358 $char |= 32;
10042 return 97 <= $char && 102 >= $char; 10359 return 97 <= $char && 102 >= $char;
10043 }, Uri__hexValue: function($char) { 10360 }, Uri__hexValue: function($char) {
10044 if (57 >= $char) 10361 if (57 >= $char)
10045 return $char - 48; 10362 return $char - 48;
10046 return ($char | 32) - 87; 10363 return ($char | 32) - 87;
10047 }, Uri__normalizeEscape: function(source, index, lowerCase) { 10364 }, Uri__normalizeEscape: function(source, index, lowerCase) {
10048 var t1, firstDigit, secondDigit, value, t2; 10365 var t1, t2, firstDigit, secondDigit, value, t3;
10049 t1 = J.getInterceptor$ns(index); 10366 t1 = J.getInterceptor$ns(index);
10050 if (J.$ge$n(t1.$add(index, 2), source.length)) 10367 t2 = J.getInterceptor$asx(source);
10368 if (J.$ge$n(t1.$add(index, 2), t2.get$length(source)))
10051 return "%"; 10369 return "%";
10052 firstDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 1)); 10370 firstDigit = t2.codeUnitAt$1(source, t1.$add(index, 1));
10053 secondDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 2)) ; 10371 secondDigit = t2.codeUnitAt$1(source, t1.$add(index, 2));
10054 if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit)) 10372 if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit))
10055 return "%"; 10373 return "%";
10056 value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit); 10374 value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit);
10057 if (value < 127) { 10375 if (value < 127) {
10058 t2 = C.JSInt_methods._shrOtherPositive$1(value, 4); 10376 t3 = C.JSInt_methods._shrOtherPositive$1(value, 4);
10059 if (t2 >= 8) 10377 if (t3 >= 8)
10060 return H.ioore(C.List_nxB, t2); 10378 return H.ioore(C.List_nxB, t3);
10061 t2 = (C.List_nxB[t2] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0; 10379 t3 = (C.List_nxB[t3] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0;
10062 } else 10380 } else
10063 t2 = false; 10381 t3 = false;
10064 if (t2) 10382 if (t3)
10065 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); 10383 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
10066 if (firstDigit >= 97 || secondDigit >= 97) 10384 if (firstDigit >= 97 || secondDigit >= 97)
10067 return C.JSString_methods.substring$2(source, index, t1.$add(index, 3) ).toUpperCase(); 10385 return t2.substring$2(source, index, t1.$add(index, 3)).toUpperCase();
10068 return; 10386 return;
10069 }, Uri__escapeChar: function($char) { 10387 }, Uri__escapeChar: function($char) {
10070 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; 10388 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3;
10071 if ($char < 128) { 10389 if ($char < 128) {
10072 codeUnits = Array(3); 10390 codeUnits = Array(3);
10073 codeUnits.fixed$length = Array; 10391 codeUnits.fixed$length = Array;
10074 codeUnits[0] = 37; 10392 codeUnits[0] = 37;
10075 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar >>> 4); 10393 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar >>> 4);
10076 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar & 15); 10394 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $ch ar & 15);
10077 } else { 10395 } else {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
10142 t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0; 10460 t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
10143 } else 10461 } else
10144 t3 = false; 10462 t3 = false;
10145 if (t3) { 10463 if (t3) {
10146 P.Uri__fail(component, index, "Invalid character"); 10464 P.Uri__fail(component, index, "Invalid character");
10147 replacement = null; 10465 replacement = null;
10148 sourceLength = null; 10466 sourceLength = null;
10149 } else { 10467 } else {
10150 if (($char & 64512) === 55296) 10468 if (($char & 64512) === 55296)
10151 if (J.$lt$n(t2.$add(index, 1), end)) { 10469 if (J.$lt$n(t2.$add(index, 1), end)) {
10152 tail = C.JSString_methods.codeUnitAt$1(component, t2.$add(in dex, 1)); 10470 tail = t1.codeUnitAt$1(component, t2.$add(index, 1));
10153 if ((tail & 64512) === 56320) { 10471 if ((tail & 64512) === 56320) {
10154 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0 ; 10472 $char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0 ;
10155 sourceLength = 2; 10473 sourceLength = 2;
10156 } else 10474 } else
10157 sourceLength = 1; 10475 sourceLength = 1;
10158 } else 10476 } else
10159 sourceLength = 1; 10477 sourceLength = 1;
10160 else 10478 else
10161 sourceLength = 1; 10479 sourceLength = 1;
10162 replacement = P.Uri__escapeChar($char); 10480 replacement = P.Uri__escapeChar($char);
10163 } 10481 }
10164 } 10482 }
10165 if (buffer == null) 10483 if (buffer == null)
10166 buffer = new P.StringBuffer(""); 10484 buffer = new P.StringBuffer("");
10167 t3 = C.JSString_methods.substring$2(component, sectionStart, index); 10485 t3 = t1.substring$2(component, sectionStart, index);
10168 buffer._contents = buffer._contents + t3; 10486 buffer._contents = buffer._contents + t3;
10169 buffer._contents += H.S(replacement); 10487 buffer._contents += H.S(replacement);
10170 index = t2.$add(index, sourceLength); 10488 index = t2.$add(index, sourceLength);
10171 sectionStart = index; 10489 sectionStart = index;
10172 } 10490 }
10173 } 10491 }
10174 if (buffer == null) 10492 if (buffer == null)
10175 return t1.substring$2(component, start, end); 10493 return t1.substring$2(component, start, end);
10176 if (J.$lt$n(sectionStart, end)) 10494 if (J.$lt$n(sectionStart, end))
10177 buffer._contents += t1.substring$2(component, sectionStart, end); 10495 buffer._contents += t1.substring$2(component, sectionStart, end);
10178 t1 = buffer._contents; 10496 t1 = buffer._contents;
10179 return t1.charCodeAt(0) == 0 ? t1 : t1; 10497 return t1.charCodeAt(0) == 0 ? t1 : t1;
10180 }, Uri_decodeComponent: [function(encodedComponent) { 10498 }, Uri_decodeComponent: [function(encodedComponent) {
10181 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); 10499 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false);
10182 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71], Uri_splitQueryStrin g: function(query, encoding) { 10500 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71, 36], Uri_splitQueryS tring: function(query, encoding) {
10183 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); 10501 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding));
10184 }, Uri_parseIPv4Address: function(host) { 10502 }, Uri_parseIPv4Address: function(host) {
10185 var t1, bytes; 10503 var t1, bytes;
10186 t1 = new P.Uri_parseIPv4Address_error(); 10504 t1 = new P.Uri_parseIPv4Address_error();
10187 bytes = host.split("."); 10505 bytes = host.split(".");
10188 if (bytes.length !== 4) 10506 if (bytes.length !== 4)
10189 t1.call$1("IPv4 address should contain exactly 4 parts"); 10507 t1.call$1("IPv4 address should contain exactly 4 parts");
10190 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa rseIPv4Address_closure(t1)), [null, null]).toList$0(0); 10508 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa rseIPv4Address_closure(t1)), [null, null]).toList$0(0);
10191 }, Uri_parseIPv6Address: function(host, start, end) { 10509 }, Uri_parseIPv6Address: function(host, start, end) {
10192 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd, isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; 10510 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd, isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j;
10193 if (end == null) 10511 if (end == null)
10194 end = J.get$length$asx(host); 10512 end = J.get$length$asx(host);
10195 error = new P.Uri_parseIPv6Address_error(host); 10513 error = new P.Uri_parseIPv6Address_error(host);
10196 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); 10514 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error);
10197 if (J.get$length$asx(host) < 2) 10515 if (J.$lt$n(J.get$length$asx(host), 2))
10198 error.call$1("address is too short"); 10516 error.call$1("address is too short");
10199 parts = []; 10517 parts = [];
10200 partStart = start; 10518 partStart = start;
10201 for (i = start, wildcardSeen = false; t1 = J.getInterceptor$n(i), t1.$lt (i, end); i = J.$add$ns(i, 1)) 10519 for (i = start, wildcardSeen = false; t1 = J.getInterceptor$n(i), t1.$lt (i, end); i = J.$add$ns(i, 1))
10202 if (J.codeUnitAt$1$s(host, i) === 58) { 10520 if (J.codeUnitAt$1$s(host, i) === 58) {
10203 if (t1.$eq(i, start)) { 10521 if (t1.$eq(i, start)) {
10204 i = t1.$add(i, 1); 10522 i = t1.$add(i, 1);
10205 if (J.codeUnitAt$1$s(host, i) !== 58) 10523 if (J.codeUnitAt$1$s(host, i) !== 58)
10206 error.call$2("invalid start colon.", i); 10524 error.call$2("invalid start colon.", i);
10207 partStart = i; 10525 partStart = i;
(...skipping 14 matching lines...) Expand all
10222 isLastWildcard = J.$eq(J.get$last$ax(parts), -1); 10540 isLastWildcard = J.$eq(J.get$last$ax(parts), -1);
10223 if (atEnd && !isLastWildcard) 10541 if (atEnd && !isLastWildcard)
10224 error.call$2("expected a part after last `:`", end); 10542 error.call$2("expected a part after last `:`", end);
10225 if (!atEnd) 10543 if (!atEnd)
10226 try { 10544 try {
10227 J.add$1$ax(parts, parseHex.call$2(partStart, end)); 10545 J.add$1$ax(parts, parseHex.call$2(partStart, end));
10228 } catch (exception) { 10546 } catch (exception) {
10229 H.unwrapException(exception); 10547 H.unwrapException(exception);
10230 try { 10548 try {
10231 last = P.Uri_parseIPv4Address(J.substring$2$s(host, partStart, end )); 10549 last = P.Uri_parseIPv4Address(J.substring$2$s(host, partStart, end ));
10232 t1 = J.$index$asx(last, 0); 10550 t1 = J.$shl$n(J.$index$asx(last, 0), 8);
10233 if (typeof t1 !== "number")
10234 return t1.$shl();
10235 t2 = J.$index$asx(last, 1); 10551 t2 = J.$index$asx(last, 1);
10236 if (typeof t2 !== "number") 10552 if (typeof t2 !== "number")
10237 return H.iae(t2); 10553 return H.iae(t2);
10238 J.add$1$ax(parts, (t1 << 8 | t2) >>> 0); 10554 J.add$1$ax(parts, (t1 | t2) >>> 0);
10239 t2 = J.$index$asx(last, 2); 10555 t2 = J.$shl$n(J.$index$asx(last, 2), 8);
10240 if (typeof t2 !== "number")
10241 return t2.$shl();
10242 t1 = J.$index$asx(last, 3); 10556 t1 = J.$index$asx(last, 3);
10243 if (typeof t1 !== "number") 10557 if (typeof t1 !== "number")
10244 return H.iae(t1); 10558 return H.iae(t1);
10245 J.add$1$ax(parts, (t2 << 8 | t1) >>> 0); 10559 J.add$1$ax(parts, (t2 | t1) >>> 0);
10246 } catch (exception) { 10560 } catch (exception) {
10247 H.unwrapException(exception); 10561 H.unwrapException(exception);
10248 error.call$2("invalid end of IPv6 address.", partStart); 10562 error.call$2("invalid end of IPv6 address.", partStart);
10249 } 10563 }
10250 } 10564 }
10251 if (wildcardSeen) { 10565 if (wildcardSeen) {
10252 if (J.get$length$asx(parts) > 7) 10566 if (J.get$length$asx(parts) > 7)
10253 error.call$1("an address with a wildcard must have less than 7 parts "); 10567 error.call$1("an address with a wildcard must have less than 7 parts ");
10254 } else if (J.get$length$asx(parts) !== 8) 10568 } else if (J.get$length$asx(parts) !== 8)
10255 error.call$1("an address without a wildcard must contain exactly 8 par ts"); 10569 error.call$1("an address without a wildcard must contain exactly 8 par ts");
10256 bytes = Array(16); 10570 bytes = Array(16);
10257 bytes.$builtinTypeInfo = [P.$int]; 10571 bytes.$builtinTypeInfo = [P.$int];
10258 i = 0; 10572 i = 0;
10259 index = 0; 10573 index = 0;
10260 while (true) { 10574 while (true) {
10261 t1 = J.get$length$asx(parts); 10575 t1 = J.get$length$asx(parts);
10262 if (typeof t1 !== "number") 10576 if (typeof t1 !== "number")
10263 return H.iae(t1); 10577 return H.iae(t1);
10264 if (!(i < t1)) 10578 if (!(i < t1))
10265 break; 10579 break;
10266 value = J.$index$asx(parts, i); 10580 value = J.$index$asx(parts, i);
10267 if (J.getInterceptor(value).$eq(value, -1)) { 10581 t1 = J.getInterceptor(value);
10582 if (t1.$eq(value, -1)) {
10268 wildCardLength = 9 - J.get$length$asx(parts); 10583 wildCardLength = 9 - J.get$length$asx(parts);
10269 for (j = 0; j < wildCardLength; ++j) { 10584 for (j = 0; j < wildCardLength; ++j) {
10270 if (index < 0 || index >= 16) 10585 if (index < 0 || index >= 16)
10271 return H.ioore(bytes, index); 10586 return H.ioore(bytes, index);
10272 bytes[index] = 0; 10587 bytes[index] = 0;
10273 t1 = index + 1; 10588 t1 = index + 1;
10274 if (t1 >= 16) 10589 if (t1 >= 16)
10275 return H.ioore(bytes, t1); 10590 return H.ioore(bytes, t1);
10276 bytes[t1] = 0; 10591 bytes[t1] = 0;
10277 index += 2; 10592 index += 2;
10278 } 10593 }
10279 } else { 10594 } else {
10280 if (typeof value !== "number") 10595 t2 = t1.$shr(value, 8);
10281 return value.$shr();
10282 t1 = C.JSNumber_methods._shrOtherPositive$1(value, 8);
10283 if (index < 0 || index >= 16) 10596 if (index < 0 || index >= 16)
10284 return H.ioore(bytes, index); 10597 return H.ioore(bytes, index);
10285 bytes[index] = t1; 10598 bytes[index] = t2;
10286 t1 = index + 1; 10599 t2 = index + 1;
10287 if (t1 >= 16) 10600 t1 = t1.$and(value, 255);
10288 return H.ioore(bytes, t1); 10601 if (t2 >= 16)
10289 bytes[t1] = value & 255; 10602 return H.ioore(bytes, t2);
10603 bytes[t2] = t1;
10290 index += 2; 10604 index += 2;
10291 } 10605 }
10292 ++i; 10606 ++i;
10293 } 10607 }
10294 return bytes; 10608 return bytes;
10295 }, Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus) { 10609 }, Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus) {
10296 var t1, result, bytes, t2, i, $byte, t3; 10610 var t1, result, bytes, t2, i, $byte, t3;
10297 t1 = new P.Uri__uriEncode_byteToHex(); 10611 t1 = new P.Uri__uriEncode_byteToHex();
10298 result = new P.StringBuffer(""); 10612 result = new P.StringBuffer("");
10299 bytes = encoding.get$encoder().convert$1(text); 10613 bytes = encoding.get$encoder().convert$1(text);
(...skipping 11 matching lines...) Expand all
10311 else if (spaceToPlus && $byte === 32) 10625 else if (spaceToPlus && $byte === 32)
10312 result._contents += H.Primitives_stringFromCharCode(43); 10626 result._contents += H.Primitives_stringFromCharCode(43);
10313 else { 10627 else {
10314 result._contents += H.Primitives_stringFromCharCode(37); 10628 result._contents += H.Primitives_stringFromCharCode(37);
10315 t1.call$2($byte, result); 10629 t1.call$2($byte, result);
10316 } 10630 }
10317 } 10631 }
10318 t1 = result._contents; 10632 t1 = result._contents;
10319 return t1.charCodeAt(0) == 0 ? t1 : t1; 10633 return t1.charCodeAt(0) == 0 ? t1 : t1;
10320 }, Uri__hexCharPairToByte: function(s, pos) { 10634 }, Uri__hexCharPairToByte: function(s, pos) {
10321 var $byte, i, charCode; 10635 var t1, $byte, i, charCode;
10322 for ($byte = 0, i = 0; i < 2; ++i) { 10636 for (t1 = J.getInterceptor$s(s), $byte = 0, i = 0; i < 2; ++i) {
10323 charCode = C.JSString_methods.codeUnitAt$1(s, pos + i); 10637 charCode = t1.codeUnitAt$1(s, pos + i);
10324 if (48 <= charCode && charCode <= 57) 10638 if (48 <= charCode && charCode <= 57)
10325 $byte = $byte * 16 + charCode - 48; 10639 $byte = $byte * 16 + charCode - 48;
10326 else { 10640 else {
10327 charCode |= 32; 10641 charCode |= 32;
10328 if (97 <= charCode && charCode <= 102) 10642 if (97 <= charCode && charCode <= 102)
10329 $byte = $byte * 16 + charCode - 87; 10643 $byte = $byte * 16 + charCode - 87;
10330 else 10644 else
10331 throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); 10645 throw H.wrapException(P.ArgumentError$("Invalid URL encoding"));
10332 } 10646 }
10333 } 10647 }
(...skipping 24 matching lines...) Expand all
10358 while (true) { 10672 while (true) {
10359 t2 = t1.get$length(text); 10673 t2 = t1.get$length(text);
10360 if (typeof t2 !== "number") 10674 if (typeof t2 !== "number")
10361 return H.iae(t2); 10675 return H.iae(t2);
10362 if (!(i < t2)) 10676 if (!(i < t2))
10363 break; 10677 break;
10364 codeUnit = t1.codeUnitAt$1(text, i); 10678 codeUnit = t1.codeUnitAt$1(text, i);
10365 if (codeUnit > 127) 10679 if (codeUnit > 127)
10366 throw H.wrapException(P.ArgumentError$("Illegal percent encoding i n URI")); 10680 throw H.wrapException(P.ArgumentError$("Illegal percent encoding i n URI"));
10367 if (codeUnit === 37) { 10681 if (codeUnit === 37) {
10368 if (i + 3 > text.length) 10682 t2 = t1.get$length(text);
10683 if (typeof t2 !== "number")
10684 return H.iae(t2);
10685 if (i + 3 > t2)
10369 throw H.wrapException(P.ArgumentError$("Truncated URI")); 10686 throw H.wrapException(P.ArgumentError$("Truncated URI"));
10370 bytes.push(P.Uri__hexCharPairToByte(text, i + 1)); 10687 bytes.push(P.Uri__hexCharPairToByte(text, i + 1));
10371 i += 2; 10688 i += 2;
10372 } else if (plusToSpace && codeUnit === 43) 10689 } else if (plusToSpace && codeUnit === 43)
10373 bytes.push(32); 10690 bytes.push(32);
10374 else 10691 else
10375 bytes.push(codeUnit); 10692 bytes.push(codeUnit);
10376 ++i; 10693 ++i;
10377 } 10694 }
10378 } 10695 }
10379 return new P.Utf8Decoder(encoding._allowMalformed).convert$1(bytes); 10696 return new P.Utf8Decoder(encoding._allowMalformed).convert$1(bytes);
10380 }} 10697 }}
10381 }, 10698 },
10382 Uri_parse_isRegName: { 10699 Uri_parse_isRegName: {
10383 "^": "Closure:46;", 10700 "^": "Closure:46;",
10384 call$1: function(ch) { 10701 call$1: function(ch) {
10385 ch.$lt(0, 128); 10702 ch.$lt(0, 128);
10386 return false; 10703 return false;
10387 } 10704 }
10388 }, 10705 },
10389 Uri_parse_parseAuth: { 10706 Uri_parse_parseAuth: {
10390 "^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2", 10707 "^": "Closure:2;_box_0,_captured_uri_1,_captured_EOI_2",
10391 call$0: function() { 10708 call$0: function() {
10392 var t1, authStart, t2, $char, lastColon, lastAt, char0, endBracket, hostEn d, t3, hostStart, i, portNumber, digit; 10709 var t1, authStart, t2, t3, $char, lastColon, lastAt, char0, endBracket, ho stEnd, t4, hostStart, i, portNumber, digit;
10393 t1 = this._box_0; 10710 t1 = this._box_0;
10394 if (J.$eq(t1._captured_index_5, t1._captured_end_0)) { 10711 if (J.$eq(t1._captured_index_5, t1._captured_end_0)) {
10395 t1._captured_char_6 = this._captured_EOI_2; 10712 t1._captured_char_6 = this._captured_EOI_2;
10396 return; 10713 return;
10397 } 10714 }
10398 authStart = t1._captured_index_5; 10715 authStart = t1._captured_index_5;
10399 t2 = this._captured_uri_1; 10716 t2 = this._captured_uri_1;
10400 t1._captured_char_6 = J.getInterceptor$s(t2).codeUnitAt$1(t2, authStart); 10717 t3 = J.getInterceptor$s(t2);
10718 t1._captured_char_6 = t3.codeUnitAt$1(t2, authStart);
10401 for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; J.$lt$n(t1 ._captured_index_5, t1._captured_end_0);) { 10719 for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; J.$lt$n(t1 ._captured_index_5, t1._captured_end_0);) {
10402 char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5); 10720 char0 = t3.codeUnitAt$1(t2, t1._captured_index_5);
10403 t1._captured_char_6 = char0; 10721 t1._captured_char_6 = char0;
10404 if (char0 === 47 || char0 === 63 || char0 === 35) 10722 if (char0 === 47 || char0 === 63 || char0 === 35)
10405 break; 10723 break;
10406 if (char0 === 64) { 10724 if (char0 === 64) {
10407 lastAt = t1._captured_index_5; 10725 lastAt = t1._captured_index_5;
10408 lastColon = -1; 10726 lastColon = -1;
10409 } else if (char0 === 58) 10727 } else if (char0 === 58)
10410 lastColon = t1._captured_index_5; 10728 lastColon = t1._captured_index_5;
10411 else if (char0 === 91) { 10729 else if (char0 === 91) {
10412 endBracket = C.JSString_methods.indexOf$2(t2, "]", J.$add$ns(t1._captu red_index_5, 1)); 10730 endBracket = t3.indexOf$2(t2, "]", J.$add$ns(t1._captured_index_5, 1)) ;
10413 if (endBracket === -1) { 10731 if (J.$eq(endBracket, -1)) {
10414 t1._captured_index_5 = t1._captured_end_0; 10732 t1._captured_index_5 = t1._captured_end_0;
10415 t1._captured_char_6 = $char; 10733 t1._captured_char_6 = $char;
10416 lastColon = -1; 10734 lastColon = -1;
10417 break; 10735 break;
10418 } else 10736 } else
10419 t1._captured_index_5 = endBracket; 10737 t1._captured_index_5 = endBracket;
10420 lastColon = -1; 10738 lastColon = -1;
10421 } 10739 }
10422 t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1); 10740 t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1);
10423 t1._captured_char_6 = $char; 10741 t1._captured_char_6 = $char;
10424 } 10742 }
10425 hostEnd = t1._captured_index_5; 10743 hostEnd = t1._captured_index_5;
10426 t3 = J.getInterceptor$n(lastAt); 10744 t4 = J.getInterceptor$n(lastAt);
10427 if (t3.$ge(lastAt, 0)) { 10745 if (t4.$ge(lastAt, 0)) {
10428 t1._captured_userinfo_2 = P.Uri__makeUserInfo(t2, authStart, lastAt); 10746 t1._captured_userinfo_2 = P.Uri__makeUserInfo(t2, authStart, lastAt);
10429 hostStart = t3.$add(lastAt, 1); 10747 hostStart = t4.$add(lastAt, 1);
10430 } else 10748 } else
10431 hostStart = authStart; 10749 hostStart = authStart;
10432 t3 = J.getInterceptor$n(lastColon); 10750 t4 = J.getInterceptor$n(lastColon);
10433 if (t3.$ge(lastColon, 0)) { 10751 if (t4.$ge(lastColon, 0)) {
10434 if (J.$lt$n(t3.$add(lastColon, 1), t1._captured_index_5)) 10752 if (J.$lt$n(t4.$add(lastColon, 1), t1._captured_index_5))
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)) { 10753 for (i = t4.$add(lastColon, 1), portNumber = 0; t4 = J.getInterceptor$ n(i), t4.$lt(i, t1._captured_index_5); i = t4.$add(i, 1)) {
10436 digit = C.JSString_methods.codeUnitAt$1(t2, i); 10754 digit = t3.codeUnitAt$1(t2, i);
10437 if (48 > digit || 57 < digit) 10755 if (48 > digit || 57 < digit)
10438 P.Uri__fail(t2, i, "Invalid port number"); 10756 P.Uri__fail(t2, i, "Invalid port number");
10439 portNumber = portNumber * 10 + (digit - 48); 10757 portNumber = portNumber * 10 + (digit - 48);
10440 } 10758 }
10441 else 10759 else
10442 portNumber = null; 10760 portNumber = null;
10443 t1._captured_port_4 = P.Uri__makePort(portNumber, t1._captured_scheme_1) ; 10761 t1._captured_port_4 = P.Uri__makePort(portNumber, t1._captured_scheme_1) ;
10444 hostEnd = lastColon; 10762 hostEnd = lastColon;
10445 } 10763 }
10446 t1._captured_host_3 = P.Uri__makeHost(t2, hostStart, hostEnd, true); 10764 t1._captured_host_3 = P.Uri__makeHost(t2, hostStart, hostEnd, true);
10447 if (J.$lt$n(t1._captured_index_5, t1._captured_end_0)) 10765 if (J.$lt$n(t1._captured_index_5, t1._captured_end_0))
10448 t1._captured_char_6 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_i ndex_5); 10766 t1._captured_char_6 = t3.codeUnitAt$1(t2, t1._captured_index_5);
10449 } 10767 }
10450 }, 10768 },
10451 Uri__checkNonWindowsPathReservedCharacters_closure: { 10769 Uri__checkNonWindowsPathReservedCharacters_closure: {
10452 "^": "Closure:2;_captured_argumentError_0", 10770 "^": "Closure:3;_captured_argumentError_0",
10453 call$1: function(segment) { 10771 call$1: function(segment) {
10454 if (J.contains$1$asx(segment, "/") === true) 10772 if (J.contains$1$asx(segment, "/") === true)
10455 if (this._captured_argumentError_0) 10773 if (this._captured_argumentError_0)
10456 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S (segment))); 10774 throw H.wrapException(P.ArgumentError$("Illegal path character " + H.S (segment)));
10457 else 10775 else
10458 throw H.wrapException(P.UnsupportedError$("Illegal path character " + H.S(segment))); 10776 throw H.wrapException(P.UnsupportedError$("Illegal path character " + H.S(segment)));
10459 } 10777 }
10460 }, 10778 },
10461 Uri__checkWindowsPathReservedCharacters_closure: { 10779 Uri__checkWindowsPathReservedCharacters_closure: {
10462 "^": "Closure:2;_captured_argumentError_0", 10780 "^": "Closure:3;_captured_argumentError_0",
10463 call$1: function(segment) { 10781 call$1: function(segment) {
10464 if (J.contains$1$asx(segment, new H.JSSyntaxRegExp("[\"*/:<>?\\\\|]", H.JS SyntaxRegExp_makeNative("[\"*/:<>?\\\\|]", false, true, false), null, null)) === true) 10782 if (J.contains$1$asx(segment, new H.JSSyntaxRegExp("[\"*/:<>?\\\\|]", H.JS SyntaxRegExp_makeNative("[\"*/:<>?\\\\|]", false, true, false), null, null)) === true)
10465 if (this._captured_argumentError_0) 10783 if (this._captured_argumentError_0)
10466 throw H.wrapException(P.ArgumentError$("Illegal character in path")); 10784 throw H.wrapException(P.ArgumentError$("Illegal character in path"));
10467 else 10785 else
10468 throw H.wrapException(P.UnsupportedError$("Illegal character in path") ); 10786 throw H.wrapException(P.UnsupportedError$("Illegal character in path") );
10469 } 10787 }
10470 }, 10788 },
10471 Uri__makePath_closure: { 10789 Uri__makePath_closure: {
10472 "^": "Closure:2;", 10790 "^": "Closure:3;",
10473 call$1: function(s) { 10791 call$1: [function(s) {
10474 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); 10792 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false);
10475 } 10793 }, null, null, 2, 0, null, 30, "call"]
10476 }, 10794 },
10477 Uri__makeQuery_closure: { 10795 Uri__makeQuery_closure: {
10478 "^": "Closure:40;_box_0,_captured_result_1", 10796 "^": "Closure:41;_box_0,_core$_captured_result_1",
10479 call$2: function(key, value) { 10797 call$2: function(key, value) {
10480 var t1 = this._box_0; 10798 var t1 = this._box_0;
10481 if (!t1._captured_first_0) 10799 if (!t1._captured_first_0)
10482 this._captured_result_1._contents += "&"; 10800 this._core$_captured_result_1._contents += "&";
10483 t1._captured_first_0 = false; 10801 t1._captured_first_0 = false;
10484 t1 = this._captured_result_1; 10802 t1 = this._core$_captured_result_1;
10485 t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true) ; 10803 t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true) ;
10486 value.get$isEmpty(value); 10804 value.get$isEmpty(value);
10487 t1._contents += "="; 10805 t1._contents += "=";
10488 t1._contents += P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_false, tru e); 10806 t1._contents += P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_false, tru e);
10489 } 10807 }
10490 }, 10808 },
10491 Uri_hashCode_combine: { 10809 Uri_hashCode_combine: {
10492 "^": "Closure:47;", 10810 "^": "Closure:47;",
10493 call$2: function(part, current) { 10811 call$2: function(part, current) {
10494 return current * 31 + J.get$hashCode$(part) & 1073741823; 10812 return current * 31 + J.get$hashCode$(part) & 1073741823;
10495 } 10813 }
10496 }, 10814 },
10497 Uri_splitQueryString_closure: { 10815 Uri_splitQueryString_closure: {
10498 "^": "Closure:40;_captured_encoding_0", 10816 "^": "Closure:41;_captured_encoding_0",
10499 call$2: function(map, element) { 10817 call$2: function(map, element) {
10500 var t1, index, key, value; 10818 var t1, index, t2, key, value;
10501 t1 = J.getInterceptor$asx(element); 10819 t1 = J.getInterceptor$asx(element);
10502 index = t1.indexOf$1(element, "="); 10820 index = t1.indexOf$1(element, "=");
10503 if (index === -1) { 10821 t2 = J.getInterceptor(index);
10504 if (element !== "") 10822 if (t2.$eq(index, -1)) {
10823 if (!t1.$eq(element, ""))
10505 J.$indexSet$ax(map, P.Uri__uriDecode(element, this._captured_encoding_ 0, true), ""); 10824 J.$indexSet$ax(map, P.Uri__uriDecode(element, this._captured_encoding_ 0, true), "");
10506 } else if (index !== 0) { 10825 } else if (!t2.$eq(index, 0)) {
10507 key = t1.substring$2(element, 0, index); 10826 key = t1.substring$2(element, 0, index);
10508 value = C.JSString_methods.substring$1(element, index + 1); 10827 value = t1.substring$1(element, t2.$add(index, 1));
10509 t1 = this._captured_encoding_0; 10828 t1 = this._captured_encoding_0;
10510 J.$indexSet$ax(map, P.Uri__uriDecode(key, t1, true), P.Uri__uriDecode(va lue, t1, true)); 10829 J.$indexSet$ax(map, P.Uri__uriDecode(key, t1, true), P.Uri__uriDecode(va lue, t1, true));
10511 } 10830 }
10512 return map; 10831 return map;
10513 } 10832 }
10514 }, 10833 },
10515 Uri_parseIPv4Address_error: { 10834 Uri_parseIPv4Address_error: {
10516 "^": "Closure:38;", 10835 "^": "Closure:39;",
10517 call$1: function(msg) { 10836 call$1: function(msg) {
10518 throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, n ull, null)); 10837 throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg, n ull, null));
10519 } 10838 }
10520 }, 10839 },
10521 Uri_parseIPv4Address_closure: { 10840 Uri_parseIPv4Address_closure: {
10522 "^": "Closure:2;_captured_error_0", 10841 "^": "Closure:3;_core$_captured_error_0",
10523 call$1: function(byteString) { 10842 call$1: [function(byteString) {
10524 var $byte, t1; 10843 var $byte, t1;
10525 $byte = H.Primitives_parseInt(byteString, null, null); 10844 $byte = H.Primitives_parseInt(byteString, null, null);
10526 t1 = J.getInterceptor$n($byte); 10845 t1 = J.getInterceptor$n($byte);
10527 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) 10846 if (t1.$lt($byte, 0) || t1.$gt($byte, 255))
10528 this._captured_error_0.call$1("each part must be in the range of `0..255 `"); 10847 this._core$_captured_error_0.call$1("each part must be in the range of ` 0..255`");
10529 return $byte; 10848 return $byte;
10530 } 10849 }, null, null, 2, 0, null, 37, "call"]
10531 }, 10850 },
10532 Uri_parseIPv6Address_error: { 10851 Uri_parseIPv6Address_error: {
10533 "^": "Closure:48;_captured_host_0", 10852 "^": "Closure:48;_captured_host_0",
10534 call$2: function(msg, position) { 10853 call$2: function(msg, position) {
10535 throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, t his._captured_host_0, position)); 10854 throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, t his._captured_host_0, position));
10536 }, 10855 },
10537 call$1: function(msg) { 10856 call$1: function(msg) {
10538 return this.call$2(msg, null); 10857 return this.call$2(msg, null);
10539 } 10858 }
10540 }, 10859 },
10541 Uri_parseIPv6Address_parseHex: { 10860 Uri_parseIPv6Address_parseHex: {
10542 "^": "Closure:49;_captured_host_1,_captured_error_2", 10861 "^": "Closure:49;_captured_host_1,_captured_error_2",
10543 call$2: function(start, end) { 10862 call$2: function(start, end) {
10544 var value, t1; 10863 var value, t1;
10545 if (J.$gt$n(J.$sub$n(end, start), 4)) 10864 if (J.$gt$n(J.$sub$n(end, start), 4))
10546 this._captured_error_2.call$2("an IPv6 part can only contain a maximum o f 4 hex digits", start); 10865 this._captured_error_2.call$2("an IPv6 part can only contain a maximum o f 4 hex digits", start);
10547 value = H.Primitives_parseInt(C.JSString_methods.substring$2(this._capture d_host_1, start, end), 16, null); 10866 value = H.Primitives_parseInt(J.substring$2$s(this._captured_host_1, start , end), 16, null);
10548 t1 = J.getInterceptor$n(value); 10867 t1 = J.getInterceptor$n(value);
10549 if (t1.$lt(value, 0) || t1.$gt(value, 65535)) 10868 if (t1.$lt(value, 0) || t1.$gt(value, 65535))
10550 this._captured_error_2.call$2("each part must be in the range of `0x0..0 xFFFF`", start); 10869 this._captured_error_2.call$2("each part must be in the range of `0x0..0 xFFFF`", start);
10551 return value; 10870 return value;
10552 } 10871 }
10553 }, 10872 },
10554 Uri__uriEncode_byteToHex: { 10873 Uri__uriEncode_byteToHex: {
10555 "^": "Closure:40;", 10874 "^": "Closure:41;",
10556 call$2: function($byte, buffer) { 10875 call$2: function($byte, buffer) {
10557 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod eUnitAt$1("0123456789ABCDEF", $byte >>> 4)); 10876 var t1 = J.getInterceptor$n($byte);
10558 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod eUnitAt$1("0123456789ABCDEF", $byte & 15)); 10877 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod eUnitAt$1("0123456789ABCDEF", t1.$shr($byte, 4)));
10878 buffer._contents += H.Primitives_stringFromCharCode(C.JSString_methods.cod eUnitAt$1("0123456789ABCDEF", t1.$and($byte, 15)));
10559 } 10879 }
10560 } 10880 }
10561 }], 10881 }],
10562 ["dart.dom.html", "dart:html", , W, { 10882 ["dart.dom.html", "dart:html", , W, {
10563 "^": "", 10883 "^": "",
10564 WebSocket_WebSocket: function(url, protocol_OR_protocols) { 10884 WebSocket_WebSocket: function(url, protocol_OR_protocols) {
10565 var t1, t2; 10885 var t1, t2;
10566 t1 = typeof url !== "string"; 10886 t1 = typeof url !== "string";
10567 if ((!t1 || url == null) && true) 10887 if ((!t1 || url == null) && true)
10568 return new WebSocket(url); 10888 return new WebSocket(url);
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
10735 EmbedElement: { 11055 EmbedElement: {
10736 "^": "HtmlElement;src%", 11056 "^": "HtmlElement;src%",
10737 "%": "HTMLEmbedElement" 11057 "%": "HTMLEmbedElement"
10738 }, 11058 },
10739 ErrorEvent: { 11059 ErrorEvent: {
10740 "^": "Event;error=,message=", 11060 "^": "Event;error=,message=",
10741 "%": "ErrorEvent" 11061 "%": "ErrorEvent"
10742 }, 11062 },
10743 Event: { 11063 Event: {
10744 "^": "Interceptor;", 11064 "^": "Interceptor;",
11065 stopPropagation$0: function(receiver) {
11066 return receiver.stopPropagation();
11067 },
11068 $isEvent: 1,
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" 11069 "%": "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"
10746 }, 11070 },
10747 EventTarget: { 11071 EventTarget: {
10748 "^": "Interceptor;", 11072 "^": "Interceptor;",
10749 _addEventListener$3: function(receiver, type, listener, useCapture) { 11073 _addEventListener$3: function(receiver, type, listener, useCapture) {
10750 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture); 11074 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture);
10751 }, 11075 },
10752 _removeEventListener$3: function(receiver, type, listener, useCapture) { 11076 _removeEventListener$3: function(receiver, type, listener, useCapture) {
10753 return receiver.removeEventListener(type, H.convertDartClosureToJS(listene r, 1), useCapture); 11077 return receiver.removeEventListener(type, H.convertDartClosureToJS(listene r, 1), useCapture);
10754 }, 11078 },
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
10815 }, 11139 },
10816 $isEfficientLength: 1 11140 $isEfficientLength: 1
10817 }, 11141 },
10818 IFrameElement: { 11142 IFrameElement: {
10819 "^": "HtmlElement;src%", 11143 "^": "HtmlElement;src%",
10820 get$contentWindow: function(receiver) { 11144 get$contentWindow: function(receiver) {
10821 return W._convertNativeToDart_Window(receiver.contentWindow); 11145 return W._convertNativeToDart_Window(receiver.contentWindow);
10822 }, 11146 },
10823 "%": "HTMLIFrameElement" 11147 "%": "HTMLIFrameElement"
10824 }, 11148 },
11149 ImageData: {
11150 "^": "Interceptor;data=",
11151 $isImageData: 1,
11152 "%": "ImageData"
11153 },
10825 ImageElement: { 11154 ImageElement: {
10826 "^": "HtmlElement;src%", 11155 "^": "HtmlElement;src%",
10827 "%": "HTMLImageElement" 11156 "%": "HTMLImageElement"
10828 }, 11157 },
10829 InputElement: { 11158 InputElement: {
10830 "^": "HtmlElement;src%", 11159 "^": "HtmlElement;src%",
10831 $isInterceptor: 1, 11160 $isInterceptor: 1,
11161 $isNode: 1,
10832 "%": "HTMLInputElement" 11162 "%": "HTMLInputElement"
10833 }, 11163 },
10834 KeyboardEvent: { 11164 KeyboardEvent: {
10835 "^": "UIEvent;location=", 11165 "^": "UIEvent;location=",
10836 "%": "KeyboardEvent" 11166 "%": "KeyboardEvent"
10837 }, 11167 },
10838 Location: { 11168 Location: {
10839 "^": "Interceptor;", 11169 "^": "Interceptor;",
10840 get$origin: function(receiver) { 11170 get$origin: function(receiver) {
10841 if ("origin" in receiver) 11171 if ("origin" in receiver)
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
11030 close$0: function(receiver) { 11360 close$0: function(receiver) {
11031 return receiver.close(); 11361 return receiver.close();
11032 }, 11362 },
11033 postMessage$3: function(receiver, message, targetOrigin, transfer) { 11363 postMessage$3: function(receiver, message, targetOrigin, transfer) {
11034 receiver.postMessage(P._convertDartToNative_PrepareForStructuredClone(mess age), targetOrigin); 11364 receiver.postMessage(P._convertDartToNative_PrepareForStructuredClone(mess age), targetOrigin);
11035 return; 11365 return;
11036 }, 11366 },
11037 postMessage$2: function($receiver, message, targetOrigin) { 11367 postMessage$2: function($receiver, message, targetOrigin) {
11038 return this.postMessage$3($receiver, message, targetOrigin, null); 11368 return this.postMessage$3($receiver, message, targetOrigin, null);
11039 }, 11369 },
11370 print$0: [function(receiver) {
11371 return receiver.print();
11372 }, "call$0", "get$print", 0, 0, 2],
11373 $isWindow: 1,
11040 $isInterceptor: 1, 11374 $isInterceptor: 1,
11041 "%": "DOMWindow|Window" 11375 "%": "DOMWindow|Window"
11042 }, 11376 },
11043 _ClientRect: { 11377 _ClientRect: {
11044 "^": "Interceptor;bottom=,height=,left=,right=,top=,width=", 11378 "^": "Interceptor;bottom=,height=,left=,right=,top=,width=",
11045 toString$0: function(receiver) { 11379 toString$0: function(receiver) {
11046 return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + ") " + H.S(receiver.width) + " x " + H.S(receiver.height); 11380 return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + ") " + H.S(receiver.width) + " x " + H.S(receiver.height);
11047 }, 11381 },
11048 $eq: function(receiver, other) { 11382 $eq: function(receiver, other) {
11049 var t1, t2, t3; 11383 var t1, t2, t3;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
11098 return receiver.width; 11432 return receiver.width;
11099 }, 11433 },
11100 "%": "DOMRect" 11434 "%": "DOMRect"
11101 }, 11435 },
11102 _HTMLFrameSetElement: { 11436 _HTMLFrameSetElement: {
11103 "^": "HtmlElement;", 11437 "^": "HtmlElement;",
11104 $isInterceptor: 1, 11438 $isInterceptor: 1,
11105 "%": "HTMLFrameSetElement" 11439 "%": "HTMLFrameSetElement"
11106 }, 11440 },
11107 _EventStream: { 11441 _EventStream: {
11108 "^": "Stream;_html$_target,_eventType,_useCapture", 11442 "^": "Stream;_target,_eventType,_useCapture",
11109 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) { 11443 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDon e, onError) {
11110 var t1 = new W._EventStreamSubscription(0, this._html$_target, this._event Type, W._wrapZone(onData), this._useCapture); 11444 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W._wrapZone(onData), this._useCapture);
11111 t1.$builtinTypeInfo = this.$builtinTypeInfo; 11445 t1.$builtinTypeInfo = this.$builtinTypeInfo;
11112 t1._tryResume$0(); 11446 t1._tryResume$0();
11113 return t1; 11447 return t1;
11114 }, 11448 },
11115 listen$3$onDone$onError: function(onData, onDone, onError) { 11449 listen$3$onDone$onError: function(onData, onDone, onError) {
11116 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on Error); 11450 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, on Error);
11117 } 11451 }
11118 }, 11452 },
11119 _EventStreamSubscription: { 11453 _EventStreamSubscription: {
11120 "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData, _useCapture", 11454 "^": "StreamSubscription;_pauseCount,_target,_eventType,_html$_onData,_useCa pture",
11121 cancel$0: function() { 11455 cancel$0: function() {
11122 if (this._html$_target == null) 11456 if (this._target == null)
11123 return; 11457 return;
11124 this._unlisten$0(); 11458 this._unlisten$0();
11125 this._html$_target = null; 11459 this._target = null;
11126 this._html$_onData = null; 11460 this._html$_onData = null;
11127 return; 11461 return;
11128 }, 11462 },
11129 pause$1: function(_, resumeSignal) { 11463 pause$1: function(_, resumeSignal) {
11130 if (this._html$_target == null) 11464 if (this._target == null)
11131 return; 11465 return;
11132 ++this._pauseCount; 11466 ++this._pauseCount;
11133 this._unlisten$0(); 11467 this._unlisten$0();
11134 }, 11468 },
11135 pause$0: function($receiver) { 11469 pause$0: function($receiver) {
11136 return this.pause$1($receiver, null); 11470 return this.pause$1($receiver, null);
11137 }, 11471 },
11472 get$isPaused: function() {
11473 return this._pauseCount > 0;
11474 },
11138 resume$0: function() { 11475 resume$0: function() {
11139 if (this._html$_target == null || this._pauseCount <= 0) 11476 if (this._target == null || this._pauseCount <= 0)
11140 return; 11477 return;
11141 --this._pauseCount; 11478 --this._pauseCount;
11142 this._tryResume$0(); 11479 this._tryResume$0();
11143 }, 11480 },
11144 _tryResume$0: function() { 11481 _tryResume$0: function() {
11145 var t1, t2, t3; 11482 var t1, t2, t3;
11146 t1 = this._html$_onData; 11483 t1 = this._html$_onData;
11147 t2 = t1 != null; 11484 t2 = t1 != null;
11148 if (t2 && this._pauseCount <= 0) { 11485 if (t2 && this._pauseCount <= 0) {
11149 t3 = this._html$_target; 11486 t3 = this._target;
11150 t3.toString; 11487 t3.toString;
11151 if (t2) 11488 if (t2)
11152 J._addEventListener$3$x(t3, this._eventType, t1, this._useCapture); 11489 J._addEventListener$3$x(t3, this._eventType, t1, this._useCapture);
11153 } 11490 }
11154 }, 11491 },
11155 _unlisten$0: function() { 11492 _unlisten$0: function() {
11156 var t1, t2, t3; 11493 var t1, t2, t3;
11157 t1 = this._html$_onData; 11494 t1 = this._html$_onData;
11158 t2 = t1 != null; 11495 t2 = t1 != null;
11159 if (t2) { 11496 if (t2) {
11160 t3 = this._html$_target; 11497 t3 = this._target;
11161 t3.toString; 11498 t3.toString;
11162 if (t2) 11499 if (t2)
11163 J._removeEventListener$3$x(t3, this._eventType, t1, this._useCapture); 11500 J._removeEventListener$3$x(t3, this._eventType, t1, this._useCapture);
11164 } 11501 }
11165 } 11502 }
11166 }, 11503 },
11167 ImmutableListMixin: { 11504 ImmutableListMixin: {
11168 "^": "Object;", 11505 "^": "Object;",
11169 get$iterator: function(receiver) { 11506 get$iterator: function(receiver) {
11170 return new W.FixedSizeListIterator(receiver, this.get$length(receiver), -1 , null); 11507 return new W.FixedSizeListIterator(receiver, this.get$length(receiver), -1 , null);
11171 }, 11508 },
11172 add$1: function(receiver, value) { 11509 add$1: function(receiver, value) {
11173 throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.") ); 11510 throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.") );
11174 }, 11511 },
11512 setRange$4: function(receiver, start, end, iterable, skipCount) {
11513 throw H.wrapException(P.UnsupportedError$("Cannot setRange on immutable Li st."));
11514 },
11515 setRange$3: function($receiver, start, end, iterable) {
11516 return this.setRange$4($receiver, start, end, iterable, 0);
11517 },
11518 replaceRange$3: function(receiver, start, end, iterable) {
11519 throw H.wrapException(P.UnsupportedError$("Cannot modify an immutable List ."));
11520 },
11175 $isList: 1, 11521 $isList: 1,
11176 $asList: null, 11522 $asList: null,
11177 $isEfficientLength: 1 11523 $isEfficientLength: 1
11178 }, 11524 },
11179 FixedSizeListIterator: { 11525 FixedSizeListIterator: {
11180 "^": "Object;_array,_length,_position,_html$_current", 11526 "^": "Object;_array,_length,_position,_current",
11181 moveNext$0: function() { 11527 moveNext$0: function() {
11182 var nextPosition, t1; 11528 var nextPosition, t1;
11183 nextPosition = this._position + 1; 11529 nextPosition = this._position + 1;
11184 t1 = this._length; 11530 t1 = this._length;
11185 if (nextPosition < t1) { 11531 if (nextPosition < t1) {
11186 this._html$_current = J.$index$asx(this._array, nextPosition); 11532 this._current = J.$index$asx(this._array, nextPosition);
11187 this._position = nextPosition; 11533 this._position = nextPosition;
11188 return true; 11534 return true;
11189 } 11535 }
11190 this._html$_current = null; 11536 this._current = null;
11191 this._position = t1; 11537 this._position = t1;
11192 return false; 11538 return false;
11193 }, 11539 },
11194 get$current: function() { 11540 get$current: function() {
11195 return this._html$_current; 11541 return this._current;
11196 } 11542 }
11197 }, 11543 },
11198 _DOMWindowCrossFrame: { 11544 _DOMWindowCrossFrame: {
11199 "^": "Object;_window", 11545 "^": "Object;_window",
11200 get$location: function(_) { 11546 get$location: function(_) {
11201 return W._LocationCrossFrame__createSafe(this._window.location); 11547 return W._LocationCrossFrame__createSafe(this._window.location);
11202 }, 11548 },
11203 get$parent: function(_) { 11549 get$parent: function(_) {
11204 return W._DOMWindowCrossFrame__createSafe(this._window.parent); 11550 return W._DOMWindowCrossFrame__createSafe(this._window.parent);
11205 }, 11551 },
(...skipping 18 matching lines...) Expand all
11224 "^": "Object;_location", 11570 "^": "Object;_location",
11225 static: {_LocationCrossFrame__createSafe: function($location) { 11571 static: {_LocationCrossFrame__createSafe: function($location) {
11226 if ($location === window.location) 11572 if ($location === window.location)
11227 return $location; 11573 return $location;
11228 else 11574 else
11229 return new W._LocationCrossFrame($location); 11575 return new W._LocationCrossFrame($location);
11230 }} 11576 }}
11231 } 11577 }
11232 }], 11578 }],
11233 ["dart.dom.indexed_db", "dart:indexed_db", , P, { 11579 ["dart.dom.indexed_db", "dart:indexed_db", , P, {
11234 "^": "" 11580 "^": "",
11581 KeyRange: {
11582 "^": "Interceptor;",
11583 $isKeyRange: 1,
11584 "%": "IDBKeyRange"
11585 }
11235 }], 11586 }],
11236 ["dart.dom.svg", "dart:svg", , P, { 11587 ["dart.dom.svg", "dart:svg", , P, {
11237 "^": "", 11588 "^": "",
11238 AElement: { 11589 AElement: {
11239 "^": "GraphicsElement;", 11590 "^": "GraphicsElement;",
11240 $isInterceptor: 1, 11591 $isInterceptor: 1,
11241 "%": "SVGAElement" 11592 "%": "SVGAElement"
11242 }, 11593 },
11243 AltGlyphElement: { 11594 AltGlyphElement: {
11244 "^": "TextPositioningElement;", 11595 "^": "TextPositioningElement;",
11245 $isInterceptor: 1, 11596 $isInterceptor: 1,
11246 "%": "SVGAltGlyphElement" 11597 "%": "SVGAltGlyphElement"
11247 }, 11598 },
11248 AnimationElement: { 11599 AnimationElement: {
11249 "^": "SvgElement;", 11600 "^": "SvgElement;",
11250 $isInterceptor: 1, 11601 $isInterceptor: 1,
11251 "%": "SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|S VGAnimationElement|SVGSetElement" 11602 "%": "SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|S VGAnimationElement|SVGSetElement"
11252 }, 11603 },
11253 FEBlendElement: { 11604 FEBlendElement: {
11254 "^": "SvgElement;", 11605 "^": "SvgElement;result=",
11255 $isInterceptor: 1, 11606 $isInterceptor: 1,
11256 "%": "SVGFEBlendElement" 11607 "%": "SVGFEBlendElement"
11257 }, 11608 },
11258 FEColorMatrixElement: { 11609 FEColorMatrixElement: {
11259 "^": "SvgElement;", 11610 "^": "SvgElement;result=",
11260 $isInterceptor: 1, 11611 $isInterceptor: 1,
11261 "%": "SVGFEColorMatrixElement" 11612 "%": "SVGFEColorMatrixElement"
11262 }, 11613 },
11263 FEComponentTransferElement: { 11614 FEComponentTransferElement: {
11264 "^": "SvgElement;", 11615 "^": "SvgElement;result=",
11265 $isInterceptor: 1, 11616 $isInterceptor: 1,
11266 "%": "SVGFEComponentTransferElement" 11617 "%": "SVGFEComponentTransferElement"
11267 }, 11618 },
11268 FECompositeElement: { 11619 FECompositeElement: {
11269 "^": "SvgElement;", 11620 "^": "SvgElement;result=",
11270 $isInterceptor: 1, 11621 $isInterceptor: 1,
11271 "%": "SVGFECompositeElement" 11622 "%": "SVGFECompositeElement"
11272 }, 11623 },
11273 FEConvolveMatrixElement: { 11624 FEConvolveMatrixElement: {
11274 "^": "SvgElement;", 11625 "^": "SvgElement;result=",
11275 $isInterceptor: 1, 11626 $isInterceptor: 1,
11276 "%": "SVGFEConvolveMatrixElement" 11627 "%": "SVGFEConvolveMatrixElement"
11277 }, 11628 },
11278 FEDiffuseLightingElement: { 11629 FEDiffuseLightingElement: {
11279 "^": "SvgElement;", 11630 "^": "SvgElement;result=",
11280 $isInterceptor: 1, 11631 $isInterceptor: 1,
11281 "%": "SVGFEDiffuseLightingElement" 11632 "%": "SVGFEDiffuseLightingElement"
11282 }, 11633 },
11283 FEDisplacementMapElement: { 11634 FEDisplacementMapElement: {
11284 "^": "SvgElement;", 11635 "^": "SvgElement;result=",
11285 $isInterceptor: 1, 11636 $isInterceptor: 1,
11286 "%": "SVGFEDisplacementMapElement" 11637 "%": "SVGFEDisplacementMapElement"
11287 }, 11638 },
11288 FEFloodElement: { 11639 FEFloodElement: {
11289 "^": "SvgElement;", 11640 "^": "SvgElement;result=",
11290 $isInterceptor: 1, 11641 $isInterceptor: 1,
11291 "%": "SVGFEFloodElement" 11642 "%": "SVGFEFloodElement"
11292 }, 11643 },
11293 FEGaussianBlurElement: { 11644 FEGaussianBlurElement: {
11294 "^": "SvgElement;", 11645 "^": "SvgElement;result=",
11295 $isInterceptor: 1, 11646 $isInterceptor: 1,
11296 "%": "SVGFEGaussianBlurElement" 11647 "%": "SVGFEGaussianBlurElement"
11297 }, 11648 },
11298 FEImageElement: { 11649 FEImageElement: {
11299 "^": "SvgElement;", 11650 "^": "SvgElement;result=",
11300 $isInterceptor: 1, 11651 $isInterceptor: 1,
11301 "%": "SVGFEImageElement" 11652 "%": "SVGFEImageElement"
11302 }, 11653 },
11303 FEMergeElement: { 11654 FEMergeElement: {
11304 "^": "SvgElement;", 11655 "^": "SvgElement;result=",
11305 $isInterceptor: 1, 11656 $isInterceptor: 1,
11306 "%": "SVGFEMergeElement" 11657 "%": "SVGFEMergeElement"
11307 }, 11658 },
11308 FEMorphologyElement: { 11659 FEMorphologyElement: {
11309 "^": "SvgElement;", 11660 "^": "SvgElement;result=",
11310 $isInterceptor: 1, 11661 $isInterceptor: 1,
11311 "%": "SVGFEMorphologyElement" 11662 "%": "SVGFEMorphologyElement"
11312 }, 11663 },
11313 FEOffsetElement: { 11664 FEOffsetElement: {
11314 "^": "SvgElement;", 11665 "^": "SvgElement;result=",
11315 $isInterceptor: 1, 11666 $isInterceptor: 1,
11316 "%": "SVGFEOffsetElement" 11667 "%": "SVGFEOffsetElement"
11317 }, 11668 },
11318 FESpecularLightingElement: { 11669 FESpecularLightingElement: {
11319 "^": "SvgElement;", 11670 "^": "SvgElement;result=",
11320 $isInterceptor: 1, 11671 $isInterceptor: 1,
11321 "%": "SVGFESpecularLightingElement" 11672 "%": "SVGFESpecularLightingElement"
11322 }, 11673 },
11323 FETileElement: { 11674 FETileElement: {
11324 "^": "SvgElement;", 11675 "^": "SvgElement;result=",
11325 $isInterceptor: 1, 11676 $isInterceptor: 1,
11326 "%": "SVGFETileElement" 11677 "%": "SVGFETileElement"
11327 }, 11678 },
11328 FETurbulenceElement: { 11679 FETurbulenceElement: {
11329 "^": "SvgElement;", 11680 "^": "SvgElement;result=",
11330 $isInterceptor: 1, 11681 $isInterceptor: 1,
11331 "%": "SVGFETurbulenceElement" 11682 "%": "SVGFETurbulenceElement"
11332 }, 11683 },
11333 FilterElement: { 11684 FilterElement: {
11334 "^": "SvgElement;", 11685 "^": "SvgElement;",
11335 $isInterceptor: 1, 11686 $isInterceptor: 1,
11336 "%": "SVGFilterElement" 11687 "%": "SVGFilterElement"
11337 }, 11688 },
11338 GraphicsElement: { 11689 GraphicsElement: {
11339 "^": "SvgElement;", 11690 "^": "SvgElement;",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
11441 "^": "Interceptor;message=", 11792 "^": "Interceptor;message=",
11442 "%": "SQLError" 11793 "%": "SQLError"
11443 } 11794 }
11444 }], 11795 }],
11445 ["dart.isolate", "dart:isolate", , P, { 11796 ["dart.isolate", "dart:isolate", , P, {
11446 "^": "", 11797 "^": "",
11447 Capability: { 11798 Capability: {
11448 "^": "Object;" 11799 "^": "Object;"
11449 } 11800 }
11450 }], 11801 }],
11802 ["dart.js", "dart:js", , P, {
11803 "^": "",
11804 _callDartFunction: [function(callback, captureThis, $self, $arguments) {
11805 var arguments0, dartArgs;
11806 if (captureThis === true) {
11807 arguments0 = [$self];
11808 C.JSArray_methods.addAll$1(arguments0, $arguments);
11809 $arguments = arguments0;
11810 }
11811 dartArgs = P.List_List$from(J.map$1$ax($arguments, P._convertToDart$closure( )), true, null);
11812 return P._convertToJS(H.Primitives_applyFunctionWithPositionalArguments(call back, dartArgs));
11813 }, null, null, 8, 0, null, 22, 38, 16, 39],
11814 _defineProperty: function(o, $name, value) {
11815 var exception;
11816 if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name ))
11817 try {
11818 Object.defineProperty(o, $name, {value: value});
11819 return true;
11820 } catch (exception) {
11821 H.unwrapException(exception);
11822 }
11823 return false;
11824 },
11825 _getOwnProperty: function(o, $name) {
11826 if (Object.prototype.hasOwnProperty.call(o, $name))
11827 return o[$name];
11828 return;
11829 },
11830 _convertToJS: [function(o) {
11831 var t1;
11832 if (o == null || typeof o === "string" || typeof o === "number" || typeof o === "boolean")
11833 return o;
11834 else {
11835 t1 = J.getInterceptor(o);
11836 if (!!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow)
11837 return o;
11838 else if (!!t1.$isDateTime)
11839 return H.Primitives_lazyAsJsDate(o);
11840 else if (!!t1.$isJsObject)
11841 return o._jsObject;
11842 else if (!!t1.$isFunction)
11843 return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure() );
11844 else
11845 return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($ .get$_dartProxyCtor()));
11846 }
11847 }, "call$1", "_convertToJS$closure", 2, 0, 3, 40],
11848 _getJsProxy: function(o, propertyName, createProxy) {
11849 var jsProxy = P._getOwnProperty(o, propertyName);
11850 if (jsProxy == null) {
11851 jsProxy = createProxy.call$1(o);
11852 P._defineProperty(o, propertyName, jsProxy);
11853 }
11854 return jsProxy;
11855 },
11856 _convertToDart: [function(o) {
11857 var t1;
11858 if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean")
11859 return o;
11860 else {
11861 if (o instanceof Object) {
11862 t1 = J.getInterceptor(o);
11863 t1 = !!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageD ata || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow;
11864 } else
11865 t1 = false;
11866 if (t1)
11867 return o;
11868 else if (o instanceof Date)
11869 return P.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false);
11870 else if (o.constructor === $.get$_dartProxyCtor())
11871 return o.o;
11872 else
11873 return P._wrapToDart(o);
11874 }
11875 }, "call$1", "_convertToDart$closure", 2, 0, 68, 40],
11876 _wrapToDart: function(o) {
11877 if (typeof o == "function")
11878 return P._getDartProxy(o, $.get$_DART_CLOSURE_PROPERTY_NAME(), new P._wrap ToDart_closure());
11879 else if (o instanceof Array)
11880 return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapT oDart_closure0());
11881 else
11882 return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapT oDart_closure1());
11883 },
11884 _getDartProxy: function(o, propertyName, createProxy) {
11885 var dartProxy = P._getOwnProperty(o, propertyName);
11886 if (dartProxy == null || !(o instanceof Object)) {
11887 dartProxy = createProxy.call$1(o);
11888 P._defineProperty(o, propertyName, dartProxy);
11889 }
11890 return dartProxy;
11891 },
11892 JsObject: {
11893 "^": "Object;_jsObject",
11894 $index: ["super$JsObject$$index", function(_, property) {
11895 if (typeof property !== "string" && typeof property !== "number")
11896 throw H.wrapException(P.ArgumentError$("property is not a String or num" ));
11897 return P._convertToDart(this._jsObject[property]);
11898 }],
11899 $indexSet: ["super$JsObject$$indexSet", function(_, property, value) {
11900 if (typeof property !== "string" && typeof property !== "number")
11901 throw H.wrapException(P.ArgumentError$("property is not a String or num" ));
11902 this._jsObject[property] = P._convertToJS(value);
11903 }],
11904 get$hashCode: function(_) {
11905 return 0;
11906 },
11907 $eq: function(_, other) {
11908 if (other == null)
11909 return false;
11910 return other instanceof P.JsObject && this._jsObject === other._jsObject;
11911 },
11912 toString$0: function(_) {
11913 var t1, exception;
11914 try {
11915 t1 = String(this._jsObject);
11916 return t1;
11917 } catch (exception) {
11918 H.unwrapException(exception);
11919 return this.super$Object$toString$0(this);
11920 }
11921 },
11922 callMethod$2: function(method, args) {
11923 var t1, t2;
11924 t1 = this._jsObject;
11925 t2 = args == null ? null : P.List_List$from(H.setRuntimeTypeInfo(new H.Map pedListIterable(args, P._convertToJS$closure()), [null, null]), true, null);
11926 return P._convertToDart(t1[method].apply(t1, t2));
11927 }
11928 },
11929 JsFunction: {
11930 "^": "JsObject;_jsObject"
11931 },
11932 JsArray: {
11933 "^": "JsObject_ListMixin;_jsObject",
11934 $index: function(_, index) {
11935 var t1;
11936 if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(inde x)) {
11937 if (typeof index === "number" && Math.floor(index) === index)
11938 t1 = index < 0 || index >= this.get$length(this);
11939 else
11940 t1 = false;
11941 if (t1)
11942 H.throwExpression(P.RangeError$range(index, 0, this.get$length(this), null, null));
11943 }
11944 return this.super$JsObject$$index(this, index);
11945 },
11946 $indexSet: function(_, index, value) {
11947 var t1;
11948 if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(inde x)) {
11949 if (typeof index === "number" && Math.floor(index) === index)
11950 t1 = index < 0 || index >= this.get$length(this);
11951 else
11952 t1 = false;
11953 if (t1)
11954 H.throwExpression(P.RangeError$range(index, 0, this.get$length(this), null, null));
11955 }
11956 this.super$JsObject$$indexSet(this, index, value);
11957 },
11958 get$length: function(_) {
11959 var len = this._jsObject.length;
11960 if (typeof len === "number" && len >>> 0 === len)
11961 return len;
11962 throw H.wrapException(P.StateError$("Bad JsArray length"));
11963 },
11964 set$length: function(_, $length) {
11965 this.super$JsObject$$indexSet(this, "length", $length);
11966 },
11967 add$1: function(_, value) {
11968 this.callMethod$2("push", [value]);
11969 },
11970 setRange$4: function(_, start, end, iterable, skipCount) {
11971 var $length, args, t1;
11972 P.JsArray__checkRange(start, end, this.get$length(this));
11973 $length = end - start;
11974 if ($length === 0)
11975 return;
11976 args = [start, $length];
11977 t1 = new H.SubListIterable(iterable, skipCount, null);
11978 t1.$builtinTypeInfo = [H.getRuntimeTypeArgument(iterable, "ListMixin", 0)] ;
11979 C.JSArray_methods.addAll$1(args, t1.take$1(0, $length));
11980 this.callMethod$2("splice", args);
11981 },
11982 setRange$3: function($receiver, start, end, iterable) {
11983 return this.setRange$4($receiver, start, end, iterable, 0);
11984 },
11985 static: {JsArray__checkRange: function(start, end, $length) {
11986 if (start > $length)
11987 throw H.wrapException(P.RangeError$range(start, 0, $length, null, null ));
11988 if (end < start || end > $length)
11989 throw H.wrapException(P.RangeError$range(end, start, $length, null, nu ll));
11990 }}
11991 },
11992 JsObject_ListMixin: {
11993 "^": "JsObject+ListMixin;",
11994 $isList: 1,
11995 $asList: null,
11996 $isEfficientLength: 1
11997 },
11998 _convertToJS_closure: {
11999 "^": "Closure:3;",
12000 call$1: function(o) {
12001 var jsFunction = function(_call, f, captureThis) {
12002 return function() {
12003 return _call(f, captureThis, this, Array.prototype.slice.apply(argumen ts));
12004 };
12005 }(P._callDartFunction, o, false);
12006 P._defineProperty(jsFunction, $.get$_DART_CLOSURE_PROPERTY_NAME(), o);
12007 return jsFunction;
12008 }
12009 },
12010 _convertToJS_closure0: {
12011 "^": "Closure:3;_captured_ctor_0",
12012 call$1: function(o) {
12013 return new this._captured_ctor_0(o);
12014 }
12015 },
12016 _wrapToDart_closure: {
12017 "^": "Closure:3;",
12018 call$1: function(o) {
12019 return new P.JsFunction(o);
12020 }
12021 },
12022 _wrapToDart_closure0: {
12023 "^": "Closure:3;",
12024 call$1: function(o) {
12025 return H.setRuntimeTypeInfo(new P.JsArray(o), [null]);
12026 }
12027 },
12028 _wrapToDart_closure1: {
12029 "^": "Closure:3;",
12030 call$1: function(o) {
12031 return new P.JsObject(o);
12032 }
12033 }
12034 }],
11451 ["dart.math", "dart:math", , P, { 12035 ["dart.math", "dart:math", , P, {
11452 "^": "", 12036 "^": "",
11453 _JenkinsSmiHash_combine0: function(hash, value) { 12037 _JenkinsSmiHash_combine0: function(hash, value) {
11454 hash = 536870911 & hash + value; 12038 hash = 536870911 & hash + value;
11455 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); 12039 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0);
11456 return hash ^ hash >>> 6; 12040 return hash ^ hash >>> 6;
11457 }, 12041 },
11458 _JenkinsSmiHash_finish0: function(hash) { 12042 _JenkinsSmiHash_finish0: function(hash) {
11459 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); 12043 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0);
11460 hash ^= hash >>> 11; 12044 hash ^= hash >>> 11;
11461 return 536870911 & hash + ((16383 & hash) << 15 >>> 0); 12045 return 536870911 & hash + ((16383 & hash) << 15 >>> 0);
11462 }, 12046 },
11463 max: [function(a, b) { 12047 max: [function(a, b) {
11464 var t1;
11465 if (typeof a !== "number") 12048 if (typeof a !== "number")
11466 throw H.wrapException(P.ArgumentError$(a)); 12049 throw H.wrapException(P.ArgumentError$(a));
11467 if (typeof b !== "number") 12050 if (typeof b !== "number")
11468 throw H.wrapException(P.ArgumentError$(b)); 12051 throw H.wrapException(P.ArgumentError$(b));
11469 if (a > b) 12052 if (a > b)
11470 return a; 12053 return a;
11471 if (a < b) 12054 if (a < b)
11472 return b; 12055 return b;
11473 if (typeof b === "number") { 12056 if (typeof b === "number") {
11474 if (typeof a === "number") 12057 if (typeof a === "number")
11475 if (a === 0) 12058 if (a === 0)
11476 return a + b; 12059 return a + b;
11477 if (C.JSDouble_methods.get$isNaN(b)) 12060 if (C.JSDouble_methods.get$isNaN(b))
11478 return b; 12061 return b;
11479 return a; 12062 return a;
11480 } 12063 }
11481 if (b === 0) 12064 if (b === 0 && C.JSNumber_methods.get$isNegative(a))
11482 t1 = a === 0 ? 1 / a < 0 : a < 0;
11483 else
11484 t1 = false;
11485 if (t1)
11486 return b; 12065 return b;
11487 return a; 12066 return a;
11488 }, "call$2", "max$closure", 4, 0, 72] 12067 }, "call$2", "max$closure", 4, 0, 72]
11489 }], 12068 }],
11490 ["dart.typed_data.implementation", "dart:_native_typed_data", , H, { 12069 ["dart.typed_data.implementation", "dart:_native_typed_data", , H, {
11491 "^": "", 12070 "^": "",
11492 NativeByteBuffer: { 12071 NativeByteBuffer: {
11493 "^": "Interceptor;", 12072 "^": "Interceptor;",
11494 $isNativeByteBuffer: 1, 12073 $isNativeByteBuffer: 1,
11495 "%": "ArrayBuffer" 12074 "%": "ArrayBuffer"
(...skipping 16 matching lines...) Expand all
11512 }, 12091 },
11513 _checkSublistArguments$3: function(receiver, start, end, $length) { 12092 _checkSublistArguments$3: function(receiver, start, end, $length) {
11514 var t1 = $length + 1; 12093 var t1 = $length + 1;
11515 this._checkIndex$2(receiver, start, t1); 12094 this._checkIndex$2(receiver, start, t1);
11516 this._checkIndex$2(receiver, end, t1); 12095 this._checkIndex$2(receiver, end, t1);
11517 if (start > end) 12096 if (start > end)
11518 throw H.wrapException(P.RangeError$range(start, 0, end, null, null)); 12097 throw H.wrapException(P.RangeError$range(start, 0, end, null, null));
11519 return end; 12098 return end;
11520 }, 12099 },
11521 $isNativeTypedData: 1, 12100 $isNativeTypedData: 1,
11522 "%": "DataView;ArrayBufferView;NativeTypedArray|NativeTypedArray_ListMixin|N ativeTypedArray_ListMixin_FixedLengthListMixin|NativeTypedArrayOfDouble|NativeTy pedArray_ListMixin0|NativeTypedArray_ListMixin_FixedLengthListMixin0|NativeTyped ArrayOfInt" 12101 $isTypedData: 1,
12102 "%": ";ArrayBufferView;NativeTypedArray|NativeTypedArray_ListMixin|NativeTyp edArray_ListMixin_FixedLengthListMixin|NativeTypedArrayOfDouble|NativeTypedArray _ListMixin0|NativeTypedArray_ListMixin_FixedLengthListMixin0|NativeTypedArrayOfI nt"
12103 },
12104 NativeByteData: {
12105 "^": "NativeTypedData;",
12106 $isTypedData: 1,
12107 "%": "DataView"
11523 }, 12108 },
11524 NativeTypedArray: { 12109 NativeTypedArray: {
11525 "^": "NativeTypedData;", 12110 "^": "NativeTypedData;",
11526 get$length: function(receiver) { 12111 get$length: function(receiver) {
11527 return receiver.length; 12112 return receiver.length;
11528 }, 12113 },
12114 _setRangeFast$4: function(receiver, start, end, source, skipCount) {
12115 var t1, count, sourceLength;
12116 t1 = receiver.length + 1;
12117 this._checkIndex$2(receiver, start, t1);
12118 this._checkIndex$2(receiver, end, t1);
12119 if (start > end)
12120 throw H.wrapException(P.RangeError$range(start, 0, end, null, null));
12121 count = end - start;
12122 sourceLength = source.length;
12123 if (sourceLength - skipCount < count)
12124 throw H.wrapException(P.StateError$("Not enough elements"));
12125 if (skipCount !== 0 || sourceLength !== count)
12126 source = source.subarray(skipCount, skipCount + count);
12127 receiver.set(source, start);
12128 },
11529 $isJavaScriptIndexingBehavior: 1, 12129 $isJavaScriptIndexingBehavior: 1,
11530 $isJSIndexable: 1 12130 $isJSIndexable: 1
11531 }, 12131 },
11532 NativeTypedArrayOfDouble: { 12132 NativeTypedArrayOfDouble: {
11533 "^": "NativeTypedArray_ListMixin_FixedLengthListMixin;", 12133 "^": "NativeTypedArray_ListMixin_FixedLengthListMixin;",
11534 $index: function(receiver, index) { 12134 $index: function(receiver, index) {
11535 var t1 = receiver.length; 12135 var t1 = receiver.length;
11536 if (index >>> 0 !== index || index >= t1) 12136 if (index >>> 0 !== index || index >= t1)
11537 this._invalidIndex$2(receiver, index, t1); 12137 this._invalidIndex$2(receiver, index, t1);
11538 return receiver[index]; 12138 return receiver[index];
11539 }, 12139 },
11540 $indexSet: function(receiver, index, value) { 12140 $indexSet: function(receiver, index, value) {
11541 var t1 = receiver.length; 12141 var t1 = receiver.length;
11542 if (index >>> 0 !== index || index >= t1) 12142 if (index >>> 0 !== index || index >= t1)
11543 this._invalidIndex$2(receiver, index, t1); 12143 this._invalidIndex$2(receiver, index, t1);
11544 receiver[index] = value; 12144 receiver[index] = value;
12145 },
12146 setRange$4: function(receiver, start, end, iterable, skipCount) {
12147 if (!!J.getInterceptor(iterable).$isNativeTypedArrayOfDouble) {
12148 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
12149 return;
12150 }
12151 this.super$ListMixin$setRange$4(receiver, start, end, iterable, skipCount) ;
12152 },
12153 setRange$3: function($receiver, start, end, iterable) {
12154 return this.setRange$4($receiver, start, end, iterable, 0);
11545 } 12155 }
11546 }, 12156 },
11547 NativeTypedArray_ListMixin: { 12157 NativeTypedArray_ListMixin: {
11548 "^": "NativeTypedArray+ListMixin;", 12158 "^": "NativeTypedArray+ListMixin;",
11549 $isList: 1, 12159 $isList: 1,
11550 $asList: function() { 12160 $asList: function() {
11551 return [P.$double]; 12161 return [P.$double];
11552 }, 12162 },
11553 $isEfficientLength: 1 12163 $isEfficientLength: 1
11554 }, 12164 },
11555 NativeTypedArray_ListMixin_FixedLengthListMixin: { 12165 NativeTypedArray_ListMixin_FixedLengthListMixin: {
11556 "^": "NativeTypedArray_ListMixin+FixedLengthListMixin;" 12166 "^": "NativeTypedArray_ListMixin+FixedLengthListMixin;"
11557 }, 12167 },
11558 NativeTypedArrayOfInt: { 12168 NativeTypedArrayOfInt: {
11559 "^": "NativeTypedArray_ListMixin_FixedLengthListMixin0;", 12169 "^": "NativeTypedArray_ListMixin_FixedLengthListMixin0;",
11560 $indexSet: function(receiver, index, value) { 12170 $indexSet: function(receiver, index, value) {
11561 var t1 = receiver.length; 12171 var t1 = receiver.length;
11562 if (index >>> 0 !== index || index >= t1) 12172 if (index >>> 0 !== index || index >= t1)
11563 this._invalidIndex$2(receiver, index, t1); 12173 this._invalidIndex$2(receiver, index, t1);
11564 receiver[index] = value; 12174 receiver[index] = value;
11565 }, 12175 },
12176 setRange$4: function(receiver, start, end, iterable, skipCount) {
12177 if (!!J.getInterceptor(iterable).$isNativeTypedArrayOfInt) {
12178 this._setRangeFast$4(receiver, start, end, iterable, skipCount);
12179 return;
12180 }
12181 this.super$ListMixin$setRange$4(receiver, start, end, iterable, skipCount) ;
12182 },
12183 setRange$3: function($receiver, start, end, iterable) {
12184 return this.setRange$4($receiver, start, end, iterable, 0);
12185 },
11566 $isList: 1, 12186 $isList: 1,
11567 $asList: function() { 12187 $asList: function() {
11568 return [P.$int]; 12188 return [P.$int];
11569 }, 12189 },
11570 $isEfficientLength: 1 12190 $isEfficientLength: 1
11571 }, 12191 },
11572 NativeTypedArray_ListMixin0: { 12192 NativeTypedArray_ListMixin0: {
11573 "^": "NativeTypedArray+ListMixin;", 12193 "^": "NativeTypedArray+ListMixin;",
11574 $isList: 1, 12194 $isList: 1,
11575 $asList: function() { 12195 $asList: function() {
11576 return [P.$int]; 12196 return [P.$int];
11577 }, 12197 },
11578 $isEfficientLength: 1 12198 $isEfficientLength: 1
11579 }, 12199 },
11580 NativeTypedArray_ListMixin_FixedLengthListMixin0: { 12200 NativeTypedArray_ListMixin_FixedLengthListMixin0: {
11581 "^": "NativeTypedArray_ListMixin0+FixedLengthListMixin;" 12201 "^": "NativeTypedArray_ListMixin0+FixedLengthListMixin;"
11582 }, 12202 },
11583 NativeFloat32List: { 12203 NativeFloat32List: {
11584 "^": "NativeTypedArrayOfDouble;", 12204 "^": "NativeTypedArrayOfDouble;",
12205 $isTypedData: 1,
11585 $isList: 1, 12206 $isList: 1,
11586 $asList: function() { 12207 $asList: function() {
11587 return [P.$double]; 12208 return [P.$double];
11588 }, 12209 },
11589 $isEfficientLength: 1, 12210 $isEfficientLength: 1,
11590 "%": "Float32Array" 12211 "%": "Float32Array"
11591 }, 12212 },
11592 NativeFloat64List: { 12213 NativeFloat64List: {
11593 "^": "NativeTypedArrayOfDouble;", 12214 "^": "NativeTypedArrayOfDouble;",
12215 $isTypedData: 1,
11594 $isList: 1, 12216 $isList: 1,
11595 $asList: function() { 12217 $asList: function() {
11596 return [P.$double]; 12218 return [P.$double];
11597 }, 12219 },
11598 $isEfficientLength: 1, 12220 $isEfficientLength: 1,
11599 "%": "Float64Array" 12221 "%": "Float64Array"
11600 }, 12222 },
11601 NativeInt16List: { 12223 NativeInt16List: {
11602 "^": "NativeTypedArrayOfInt;", 12224 "^": "NativeTypedArrayOfInt;",
11603 $index: function(receiver, index) { 12225 $index: function(receiver, index) {
11604 var t1 = receiver.length; 12226 var t1 = receiver.length;
11605 if (index >>> 0 !== index || index >= t1) 12227 if (index >>> 0 !== index || index >= t1)
11606 this._invalidIndex$2(receiver, index, t1); 12228 this._invalidIndex$2(receiver, index, t1);
11607 return receiver[index]; 12229 return receiver[index];
11608 }, 12230 },
12231 $isTypedData: 1,
11609 $isList: 1, 12232 $isList: 1,
11610 $asList: function() { 12233 $asList: function() {
11611 return [P.$int]; 12234 return [P.$int];
11612 }, 12235 },
11613 $isEfficientLength: 1, 12236 $isEfficientLength: 1,
11614 "%": "Int16Array" 12237 "%": "Int16Array"
11615 }, 12238 },
11616 NativeInt32List: { 12239 NativeInt32List: {
11617 "^": "NativeTypedArrayOfInt;", 12240 "^": "NativeTypedArrayOfInt;",
11618 $index: function(receiver, index) { 12241 $index: function(receiver, index) {
11619 var t1 = receiver.length; 12242 var t1 = receiver.length;
11620 if (index >>> 0 !== index || index >= t1) 12243 if (index >>> 0 !== index || index >= t1)
11621 this._invalidIndex$2(receiver, index, t1); 12244 this._invalidIndex$2(receiver, index, t1);
11622 return receiver[index]; 12245 return receiver[index];
11623 }, 12246 },
12247 $isTypedData: 1,
11624 $isList: 1, 12248 $isList: 1,
11625 $asList: function() { 12249 $asList: function() {
11626 return [P.$int]; 12250 return [P.$int];
11627 }, 12251 },
11628 $isEfficientLength: 1, 12252 $isEfficientLength: 1,
11629 "%": "Int32Array" 12253 "%": "Int32Array"
11630 }, 12254 },
11631 NativeInt8List: { 12255 NativeInt8List: {
11632 "^": "NativeTypedArrayOfInt;", 12256 "^": "NativeTypedArrayOfInt;",
11633 $index: function(receiver, index) { 12257 $index: function(receiver, index) {
11634 var t1 = receiver.length; 12258 var t1 = receiver.length;
11635 if (index >>> 0 !== index || index >= t1) 12259 if (index >>> 0 !== index || index >= t1)
11636 this._invalidIndex$2(receiver, index, t1); 12260 this._invalidIndex$2(receiver, index, t1);
11637 return receiver[index]; 12261 return receiver[index];
11638 }, 12262 },
12263 $isTypedData: 1,
11639 $isList: 1, 12264 $isList: 1,
11640 $asList: function() { 12265 $asList: function() {
11641 return [P.$int]; 12266 return [P.$int];
11642 }, 12267 },
11643 $isEfficientLength: 1, 12268 $isEfficientLength: 1,
11644 "%": "Int8Array" 12269 "%": "Int8Array"
11645 }, 12270 },
11646 NativeUint16List: { 12271 NativeUint16List: {
11647 "^": "NativeTypedArrayOfInt;", 12272 "^": "NativeTypedArrayOfInt;",
11648 $index: function(receiver, index) { 12273 $index: function(receiver, index) {
11649 var t1 = receiver.length; 12274 var t1 = receiver.length;
11650 if (index >>> 0 !== index || index >= t1) 12275 if (index >>> 0 !== index || index >= t1)
11651 this._invalidIndex$2(receiver, index, t1); 12276 this._invalidIndex$2(receiver, index, t1);
11652 return receiver[index]; 12277 return receiver[index];
11653 }, 12278 },
12279 $isTypedData: 1,
11654 $isList: 1, 12280 $isList: 1,
11655 $asList: function() { 12281 $asList: function() {
11656 return [P.$int]; 12282 return [P.$int];
11657 }, 12283 },
11658 $isEfficientLength: 1, 12284 $isEfficientLength: 1,
11659 "%": "Uint16Array" 12285 "%": "Uint16Array"
11660 }, 12286 },
11661 NativeUint32List: { 12287 NativeUint32List: {
11662 "^": "NativeTypedArrayOfInt;", 12288 "^": "NativeTypedArrayOfInt;",
11663 $index: function(receiver, index) { 12289 $index: function(receiver, index) {
11664 var t1 = receiver.length; 12290 var t1 = receiver.length;
11665 if (index >>> 0 !== index || index >= t1) 12291 if (index >>> 0 !== index || index >= t1)
11666 this._invalidIndex$2(receiver, index, t1); 12292 this._invalidIndex$2(receiver, index, t1);
11667 return receiver[index]; 12293 return receiver[index];
11668 }, 12294 },
12295 $isTypedData: 1,
11669 $isList: 1, 12296 $isList: 1,
11670 $asList: function() { 12297 $asList: function() {
11671 return [P.$int]; 12298 return [P.$int];
11672 }, 12299 },
11673 $isEfficientLength: 1, 12300 $isEfficientLength: 1,
11674 "%": "Uint32Array" 12301 "%": "Uint32Array"
11675 }, 12302 },
11676 NativeUint8ClampedList: { 12303 NativeUint8ClampedList: {
11677 "^": "NativeTypedArrayOfInt;", 12304 "^": "NativeTypedArrayOfInt;",
11678 get$length: function(receiver) { 12305 get$length: function(receiver) {
11679 return receiver.length; 12306 return receiver.length;
11680 }, 12307 },
11681 $index: function(receiver, index) { 12308 $index: function(receiver, index) {
11682 var t1 = receiver.length; 12309 var t1 = receiver.length;
11683 if (index >>> 0 !== index || index >= t1) 12310 if (index >>> 0 !== index || index >= t1)
11684 this._invalidIndex$2(receiver, index, t1); 12311 this._invalidIndex$2(receiver, index, t1);
11685 return receiver[index]; 12312 return receiver[index];
11686 }, 12313 },
12314 $isTypedData: 1,
11687 $isList: 1, 12315 $isList: 1,
11688 $asList: function() { 12316 $asList: function() {
11689 return [P.$int]; 12317 return [P.$int];
11690 }, 12318 },
11691 $isEfficientLength: 1, 12319 $isEfficientLength: 1,
11692 "%": "CanvasPixelArray|Uint8ClampedArray" 12320 "%": "CanvasPixelArray|Uint8ClampedArray"
11693 }, 12321 },
11694 NativeUint8List: { 12322 NativeUint8List: {
11695 "^": "NativeTypedArrayOfInt;", 12323 "^": "NativeTypedArrayOfInt;",
11696 get$length: function(receiver) { 12324 get$length: function(receiver) {
11697 return receiver.length; 12325 return receiver.length;
11698 }, 12326 },
11699 $index: function(receiver, index) { 12327 $index: function(receiver, index) {
11700 var t1 = receiver.length; 12328 var t1 = receiver.length;
11701 if (index >>> 0 !== index || index >= t1) 12329 if (index >>> 0 !== index || index >= t1)
11702 this._invalidIndex$2(receiver, index, t1); 12330 this._invalidIndex$2(receiver, index, t1);
11703 return receiver[index]; 12331 return receiver[index];
11704 }, 12332 },
12333 $isTypedData: 1,
11705 $isList: 1, 12334 $isList: 1,
11706 $asList: function() { 12335 $asList: function() {
11707 return [P.$int]; 12336 return [P.$int];
11708 }, 12337 },
11709 $isEfficientLength: 1, 12338 $isEfficientLength: 1,
11710 "%": ";Uint8Array" 12339 "%": ";Uint8Array"
11711 } 12340 }
11712 }], 12341 }],
11713 ["dart2js._js_primitives", "dart:_js_primitives", , H, { 12342 ["dart2js._js_primitives", "dart:_js_primitives", , H, {
11714 "^": "", 12343 "^": "",
(...skipping 11 matching lines...) Expand all
11726 if (typeof print == "function") { 12355 if (typeof print == "function") {
11727 print(string); 12356 print(string);
11728 return; 12357 return;
11729 } 12358 }
11730 throw "Unable to print message: " + String(string); 12359 throw "Unable to print message: " + String(string);
11731 } 12360 }
11732 }], 12361 }],
11733 ["frame", "package:stack_trace/src/frame.dart", , S, { 12362 ["frame", "package:stack_trace/src/frame.dart", , S, {
11734 "^": "", 12363 "^": "",
11735 Frame: { 12364 Frame: {
11736 "^": "Object;uri<,line,column,member<", 12365 "^": "Object;uri<,line<,column<,member<",
11737 get$isCore: function() { 12366 get$isCore: function() {
11738 return this.uri.scheme === "dart"; 12367 return this.uri.scheme === "dart";
11739 }, 12368 },
11740 get$library: function() { 12369 get$library: function() {
11741 return $.get$context().prettyUri$1(this.uri); 12370 return $.get$context0().prettyUri$1(this.uri);
11742 }, 12371 },
11743 get$$package: function() { 12372 get$$package: function() {
11744 var t1 = this.uri; 12373 var t1 = this.uri;
11745 if (t1.scheme !== "package") 12374 if (t1.scheme !== "package")
11746 return; 12375 return;
11747 return C.JSArray_methods.get$first(t1._path.split("/")); 12376 return C.JSArray_methods.get$first(t1._path.split("/"));
11748 }, 12377 },
11749 get$location: function(_) { 12378 get$location: function(_) {
11750 var t1, t2; 12379 var t1, t2;
11751 t1 = this.line; 12380 t1 = this.line;
11752 if (t1 == null) 12381 if (t1 == null)
11753 return $.get$context().prettyUri$1(this.uri); 12382 return $.get$context0().prettyUri$1(this.uri);
11754 t2 = this.column; 12383 t2 = this.column;
11755 if (t2 == null) 12384 if (t2 == null)
11756 return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1); 12385 return $.get$context0().prettyUri$1(this.uri) + " " + H.S(t1);
11757 return $.get$context().prettyUri$1(this.uri) + " " + H.S(t1) + ":" + H.S(t 2); 12386 return $.get$context0().prettyUri$1(this.uri) + " " + H.S(t1) + ":" + H.S( t2);
11758 }, 12387 },
11759 toString$0: function(_) { 12388 toString$0: function(_) {
11760 return this.get$location(this) + " in " + H.S(this.member); 12389 return this.get$location(this) + " in " + H.S(this.member);
11761 }, 12390 },
11762 static: {Frame_Frame$parseVM: function(frame) { 12391 static: {Frame_Frame$parseVM: function(frame) {
11763 var match, t1, t2, member, uri, lineAndColumn, line; 12392 var match, t1, t2, member, uri, lineAndColumn, line;
11764 if (J.$eq(frame, "...")) 12393 if (J.$eq(frame, "..."))
11765 return new S.Frame(P.Uri_Uri(null, null, null, null, null, null, null, "", ""), null, null, "..."); 12394 return new S.Frame(P.Uri_Uri(null, null, null, null, null, null, null, "", ""), null, null, "...");
11766 match = $.get$_vmFrame().firstMatch$1(frame); 12395 match = $.get$_vmFrame().firstMatch$1(frame);
11767 if (match == null) 12396 if (match == null)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
11801 return t1.call$2(t2[3], "<fn>"); 12430 return t1.call$2(t2[3], "<fn>");
11802 } 12431 }
11803 }, Frame__uriOrPathToUri: function(uriOrPath) { 12432 }, Frame__uriOrPathToUri: function(uriOrPath) {
11804 var t1 = J.getInterceptor$asx(uriOrPath); 12433 var t1 = J.getInterceptor$asx(uriOrPath);
11805 if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true) 12434 if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true)
11806 return P.Uri_parse(uriOrPath, 0, null); 12435 return P.Uri_parse(uriOrPath, 0, null);
11807 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true ) 12436 else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true )
11808 return P.Uri_Uri$file(uriOrPath, true); 12437 return P.Uri_Uri$file(uriOrPath, true);
11809 else if (t1.startsWith$1(uriOrPath, "/")) 12438 else if (t1.startsWith$1(uriOrPath, "/"))
11810 return P.Uri_Uri$file(uriOrPath, false); 12439 return P.Uri_Uri$file(uriOrPath, false);
11811 if (C.JSString_methods.contains$1(uriOrPath, "\\")) 12440 if (t1.contains$1(uriOrPath, "\\") === true)
11812 return $.get$windows().toUri$1(uriOrPath); 12441 return $.get$windows().toUri$1(uriOrPath);
11813 return P.Uri_parse(uriOrPath, 0, null); 12442 return P.Uri_parse(uriOrPath, 0, null);
11814 }} 12443 }}
11815 }, 12444 },
11816 Frame_Frame$parseV8_parseLocation: { 12445 Frame_Frame$parseV8_parseLocation: {
11817 "^": "Closure:40;_captured_frame_0", 12446 "^": "Closure:41;_captured_frame_0",
11818 call$2: function($location, member) { 12447 call$2: function($location, member) {
11819 var t1, evalMatch, t2, urlMatch, t3; 12448 var t1, evalMatch, t2, urlMatch, t3;
11820 t1 = $.get$_v8EvalLocation(); 12449 t1 = $.get$_v8EvalLocation();
11821 evalMatch = t1.firstMatch$1($location); 12450 evalMatch = t1.firstMatch$1($location);
11822 for (; evalMatch != null;) { 12451 for (; evalMatch != null;) {
11823 t2 = evalMatch._match; 12452 t2 = evalMatch._match;
11824 if (1 >= t2.length) 12453 if (1 >= t2.length)
11825 return H.ioore(t2, 1); 12454 return H.ioore(t2, 1);
11826 $location = t2[1]; 12455 $location = t2[1];
11827 evalMatch = t1.firstMatch$1($location); 12456 evalMatch = t1.firstMatch$1($location);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
11886 return H.ioore(t1, i); 12515 return H.ioore(t1, i);
11887 t1[i] = x; 12516 t1[i] = x;
11888 } 12517 }
11889 }, 12518 },
11890 _convertDartToNative_PrepareForStructuredClone_cleanupSlots: { 12519 _convertDartToNative_PrepareForStructuredClone_cleanupSlots: {
11891 "^": "Closure:0;", 12520 "^": "Closure:0;",
11892 call$0: function() { 12521 call$0: function() {
11893 } 12522 }
11894 }, 12523 },
11895 _convertDartToNative_PrepareForStructuredClone_walk: { 12524 _convertDartToNative_PrepareForStructuredClone_walk: {
11896 "^": "Closure:2;_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlo t_7", 12525 "^": "Closure:3;_captured_findSlot_5,_captured_readSlot_6,_captured_writeSlo t_7",
11897 call$1: function(e) { 12526 call$1: function(e) {
11898 var t1, t2, slot, copy, $length, i; 12527 var t1, t2, slot, copy, $length, i;
11899 t1 = {}; 12528 t1 = {};
11900 if (e == null) 12529 if (e == null)
11901 return e; 12530 return e;
11902 if (typeof e === "boolean") 12531 if (typeof e === "boolean")
11903 return e; 12532 return e;
11904 if (typeof e === "number") 12533 if (typeof e === "number")
11905 return e; 12534 return e;
11906 if (typeof e === "string") 12535 if (typeof e === "string")
11907 return e; 12536 return e;
11908 t2 = J.getInterceptor(e); 12537 t2 = J.getInterceptor(e);
11909 if (!!t2.$isDateTime) 12538 if (!!t2.$isDateTime)
11910 return new Date(e.millisecondsSinceEpoch); 12539 return new Date(e.millisecondsSinceEpoch);
11911 if (!!t2.$isRegExp) 12540 if (!!t2.$isRegExp)
11912 throw H.wrapException(P.UnimplementedError$("structured clone of RegExp" )); 12541 throw H.wrapException(P.UnimplementedError$("structured clone of RegExp" ));
11913 if (!!t2.$isFile) 12542 if (!!t2.$isFile)
11914 return e; 12543 return e;
11915 if (!!t2.$isBlob) 12544 if (!!t2.$isBlob)
11916 return e; 12545 return e;
12546 if (!!t2.$isImageData)
12547 return e;
11917 if (!!t2.$isNativeByteBuffer) 12548 if (!!t2.$isNativeByteBuffer)
11918 return e; 12549 return e;
11919 if (!!t2.$isNativeTypedData) 12550 if (!!t2.$isNativeTypedData)
11920 return e; 12551 return e;
11921 if (!!t2.$isMap) { 12552 if (!!t2.$isMap) {
11922 slot = this._captured_findSlot_5.call$1(e); 12553 slot = this._captured_findSlot_5.call$1(e);
11923 copy = this._captured_readSlot_6.call$1(slot); 12554 copy = this._captured_readSlot_6.call$1(slot);
11924 t1._captured_copy_0 = copy; 12555 t1._captured_copy_0 = copy;
11925 if (copy != null) 12556 if (copy != null)
11926 return copy; 12557 return copy;
(...skipping 21 matching lines...) Expand all
11948 if (i >= copy.length) 12579 if (i >= copy.length)
11949 return H.ioore(copy, i); 12580 return H.ioore(copy, i);
11950 copy[i] = t1; 12581 copy[i] = t1;
11951 } 12582 }
11952 return copy; 12583 return copy;
11953 } 12584 }
11954 throw H.wrapException(P.UnimplementedError$("structured clone of other typ e")); 12585 throw H.wrapException(P.UnimplementedError$("structured clone of other typ e"));
11955 } 12586 }
11956 }, 12587 },
11957 _convertDartToNative_PrepareForStructuredClone_walk_closure: { 12588 _convertDartToNative_PrepareForStructuredClone_walk_closure: {
11958 "^": "Closure:40;_html_common$_box_0,_captured_walk_8", 12589 "^": "Closure:41;_html_common$_box_0,_captured_walk_8",
11959 call$2: function(key, value) { 12590 call$2: [function(key, value) {
11960 this._html_common$_box_0._captured_copy_0[key] = this._captured_walk_8.cal l$1(value); 12591 this._html_common$_box_0._captured_copy_0[key] = this._captured_walk_8.cal l$1(value);
11961 } 12592 }, null, null, 4, 0, null, 35, 12, "call"]
11962 }, 12593 },
11963 convertNativeToDart_AcceptStructuredClone_findSlot: { 12594 convertNativeToDart_AcceptStructuredClone_findSlot: {
11964 "^": "Closure:50;_captured_values_0,_captured_copies_1", 12595 "^": "Closure:50;_captured_values_0,_captured_copies_1",
11965 call$1: function(value) { 12596 call$1: function(value) {
11966 var t1, $length, i, t2; 12597 var t1, $length, i, t2;
11967 t1 = this._captured_values_0; 12598 t1 = this._captured_values_0;
11968 $length = t1.length; 12599 $length = t1.length;
11969 for (i = 0; i < $length; ++i) { 12600 for (i = 0; i < $length; ++i) {
11970 t2 = t1[i]; 12601 t2 = t1[i];
11971 if (t2 == null ? value == null : t2 === value) 12602 if (t2 == null ? value == null : t2 === value)
(...skipping 16 matching lines...) Expand all
11988 convertNativeToDart_AcceptStructuredClone_writeSlot: { 12619 convertNativeToDart_AcceptStructuredClone_writeSlot: {
11989 "^": "Closure:52;_captured_copies_3", 12620 "^": "Closure:52;_captured_copies_3",
11990 call$2: function(i, x) { 12621 call$2: function(i, x) {
11991 var t1 = this._captured_copies_3; 12622 var t1 = this._captured_copies_3;
11992 if (i >= t1.length) 12623 if (i >= t1.length)
11993 return H.ioore(t1, i); 12624 return H.ioore(t1, i);
11994 t1[i] = x; 12625 t1[i] = x;
11995 } 12626 }
11996 }, 12627 },
11997 convertNativeToDart_AcceptStructuredClone_walk: { 12628 convertNativeToDart_AcceptStructuredClone_walk: {
11998 "^": "Closure:2;_captured_mustCopy_4,_captured_findSlot_5,_captured_readSlot _6,_captured_writeSlot_7", 12629 "^": "Closure:3;_captured_mustCopy_4,_captured_findSlot_5,_captured_readSlot _6,_captured_writeSlot_7",
11999 call$1: function(e) { 12630 call$1: function(e) {
12000 var proto, slot, copy, t1, key, $length, t2, i; 12631 var proto, slot, copy, t1, key, $length, t2, i;
12001 if (e == null) 12632 if (e == null)
12002 return e; 12633 return e;
12003 if (typeof e === "boolean") 12634 if (typeof e === "boolean")
12004 return e; 12635 return e;
12005 if (typeof e === "number") 12636 if (typeof e === "number")
12006 return e; 12637 return e;
12007 if (typeof e === "string") 12638 if (typeof e === "string")
12008 return e; 12639 return e;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
12042 return copy; 12673 return copy;
12043 } 12674 }
12044 return e; 12675 return e;
12045 } 12676 }
12046 } 12677 }
12047 }], 12678 }],
12048 ["lazy_trace", "package:stack_trace/src/lazy_trace.dart", , S, { 12679 ["lazy_trace", "package:stack_trace/src/lazy_trace.dart", , S, {
12049 "^": "", 12680 "^": "",
12050 LazyTrace: { 12681 LazyTrace: {
12051 "^": "Object;_thunk,_inner", 12682 "^": "Object;_thunk,_inner",
12052 get$_trace: function() { 12683 get$_lazy_trace$_trace: function() {
12053 var t1 = this._inner; 12684 var t1 = this._inner;
12054 if (t1 == null) { 12685 if (t1 == null) {
12055 t1 = this._thunk$0(); 12686 t1 = this._thunk$0();
12056 this._inner = t1; 12687 this._inner = t1;
12057 } 12688 }
12058 return t1; 12689 return t1;
12059 }, 12690 },
12060 get$terse: function() { 12691 get$terse: function() {
12061 return new S.LazyTrace(new S.LazyTrace_terse_closure(this), null); 12692 return new S.LazyTrace(new S.LazyTrace_terse_closure(this), null);
12062 }, 12693 },
12063 toString$0: function(_) { 12694 toString$0: function(_) {
12064 return J.toString$0(this.get$_trace()); 12695 return J.toString$0(this.get$_lazy_trace$_trace());
12065 }, 12696 },
12066 _thunk$0: function() { 12697 _thunk$0: function() {
12067 return this._thunk.call$0(); 12698 return this._thunk.call$0();
12068 }, 12699 },
12069 $isTrace: 1 12700 $isTrace: 1
12070 }, 12701 },
12071 LazyTrace_terse_closure: { 12702 LazyTrace_terse_closure: {
12072 "^": "Closure:0;_lazy_trace$_captured_this_0", 12703 "^": "Closure:0;_lazy_trace$_captured_this_0",
12073 call$0: function() { 12704 call$0: function() {
12074 return this._lazy_trace$_captured_this_0.get$_trace().get$terse(); 12705 return this._lazy_trace$_captured_this_0.get$_lazy_trace$_trace().get$ters e();
12075 } 12706 }
12076 } 12707 }
12077 }], 12708 }],
12078 ["path", "package:path/path.dart", , B, { 12709 ["path", "package:path/path.dart", , B, {
12079 "^": "", 12710 "^": "",
12080 current: function() { 12711 current: function() {
12081 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe tPath, targetQuery, fragment, path; 12712 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, targe tPath, targetQuery, fragment, path;
12082 uri = P.Uri_base(); 12713 uri = P.Uri_base();
12083 t1 = $.get$Style_platform(); 12714 t1 = $.get$Style_platform();
12084 t2 = $.get$Style_url(); 12715 t2 = $.get$Style_url();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
12170 H.throwExpression(P.RangeError$range(0, 0, numArgs, "start", null)); 12801 H.throwExpression(P.RangeError$range(0, 0, numArgs, "start", null));
12171 t2 = new H.MappedListIterable(t2, new F._validateArgList_closure()); 12802 t2 = new H.MappedListIterable(t2, new F._validateArgList_closure());
12172 t2.$builtinTypeInfo = [null, null]; 12803 t2.$builtinTypeInfo = [null, null];
12173 t1 += t2.join$1(0, ", "); 12804 t1 += t2.join$1(0, ", ");
12174 message._contents = t1; 12805 message._contents = t1;
12175 message._contents = t1 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); 12806 message._contents = t1 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
12176 throw H.wrapException(P.ArgumentError$(message.toString$0(0))); 12807 throw H.wrapException(P.ArgumentError$(message.toString$0(0)));
12177 } 12808 }
12178 }, 12809 },
12179 Context: { 12810 Context: {
12180 "^": "Object;style,_context0$_current", 12811 "^": "Object;style,_context1$_current",
12181 join$8: function(_, part1, part2, part3, part4, part5, part6, part7, part8) { 12812 join$8: function(_, part1, part2, part3, part4, part5, part6, part7, part8) {
12182 var parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, part6 , part7, part8], [P.String]); 12813 var parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, part6 , part7, part8], [P.String]);
12183 F._validateArgList("join", parts); 12814 F._validateArgList("join", parts);
12184 return this.joinAll$1(H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_join_closure()), [H.getTypeArgumentByIndex(parts, 0)])); 12815 return this.joinAll$1(H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_join_closure()), [H.getTypeArgumentByIndex(parts, 0)]));
12185 }, 12816 },
12186 join$2: function($receiver, part1, part2) { 12817 join$2: function($receiver, part1, part2) {
12187 return this.join$8($receiver, part1, part2, null, null, null, null, null, null); 12818 return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
12188 }, 12819 },
12189 joinAll$1: function(parts) { 12820 joinAll$1: function(parts) {
12190 var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, part , parsed, t4, t5; 12821 var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, part , parsed, t4, t5;
12191 buffer = new P.StringBuffer(""); 12822 buffer = new P.StringBuffer("");
12192 for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_jo inAll_closure()), [H.getRuntimeTypeArgument(parts, "IterableBase", 0)]), t1 = H. setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1.__internal$_iterable ), t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterato r, needsSeparator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0() ;) { 12823 for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_jo inAll_closure()), [H.getRuntimeTypeArgument(parts, "IterableBase", 0)]), t1 = H. setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1._iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterator, needsSep arator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0();) {
12193 part = t3.get$current(); 12824 part = t3.get$current();
12194 if (t2.isRootRelative$1(part) && isAbsoluteAndNotRootRelative) { 12825 if (t2.isRootRelative$1(part) && isAbsoluteAndNotRootRelative) {
12195 parsed = Q.ParsedPath_ParsedPath$parse(part, t2); 12826 parsed = Q.ParsedPath_ParsedPath$parse(part, t2);
12196 t4 = buffer._contents; 12827 t4 = buffer._contents;
12197 t4 = t4.charCodeAt(0) == 0 ? t4 : t4; 12828 t4 = t4.charCodeAt(0) == 0 ? t4 : t4;
12198 t4 = C.JSString_methods.substring$2(t4, 0, t2.rootLength$1(t4)); 12829 t4 = C.JSString_methods.substring$2(t4, 0, t2.rootLength$1(t4));
12199 parsed.root = t4; 12830 parsed.root = t4;
12200 if (t2.needsSeparator$1(t4)) { 12831 if (t2.needsSeparator$1(t4)) {
12201 t4 = parsed.separators; 12832 t4 = parsed.separators;
12202 t5 = t2.get$separator(); 12833 t5 = t2.get$separator();
12203 if (0 >= t4.length) 12834 if (0 >= t4.length)
12204 return H.ioore(t4, 0); 12835 return H.ioore(t4, 0);
12205 t4[0] = t5; 12836 t4[0] = t5;
12206 } 12837 }
12207 buffer._contents = ""; 12838 buffer._contents = "";
12208 buffer._contents += parsed.toString$0(0); 12839 buffer._contents += parsed.toString$0(0);
12209 } else if (t2.rootLength$1(part) > 0) { 12840 } else if (J.$gt$n(t2.rootLength$1(part), 0)) {
12210 isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(part); 12841 isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(part);
12211 buffer._contents = ""; 12842 buffer._contents = "";
12212 buffer._contents += H.S(part); 12843 buffer._contents += H.S(part);
12213 } else { 12844 } else {
12214 t4 = J.getInterceptor$asx(part); 12845 t4 = J.getInterceptor$asx(part);
12215 if (J.$gt$n(t4.get$length(part), 0) && t2.containsSeparator$1(t4.$inde x(part, 0)) === true) 12846 if (J.$gt$n(t4.get$length(part), 0) && t2.containsSeparator$1(t4.$inde x(part, 0)) === true)
12216 ; 12847 ;
12217 else if (needsSeparator) 12848 else if (needsSeparator)
12218 buffer._contents += t2.get$separator(); 12849 buffer._contents += t2.get$separator();
12219 buffer._contents += H.S(part); 12850 buffer._contents += H.S(part);
(...skipping 15 matching lines...) Expand all
12235 C.JSArray_methods.insert$2(t1, 0, t2); 12866 C.JSArray_methods.insert$2(t1, 0, t2);
12236 return parsed.parts; 12867 return parsed.parts;
12237 }, 12868 },
12238 normalize$1: function(path) { 12869 normalize$1: function(path) {
12239 var parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); 12870 var parsed = Q.ParsedPath_ParsedPath$parse(path, this.style);
12240 parsed.normalize$0(); 12871 parsed.normalize$0();
12241 return parsed.toString$0(0); 12872 return parsed.toString$0(0);
12242 }, 12873 },
12243 relative$2$from: function(path, from) { 12874 relative$2$from: function(path, from) {
12244 var t1, t2, fromParsed, pathParsed, t3; 12875 var t1, t2, fromParsed, pathParsed, t3;
12245 from = this._context0$_current; 12876 from = this._context1$_current;
12246 from = from != null ? from : B.current(); 12877 from = from != null ? from : B.current();
12247 t1 = this.style; 12878 t1 = this.style;
12248 if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) 12879 if (!J.$gt$n(t1.rootLength$1(from), 0) && J.$gt$n(t1.rootLength$1(path), 0 ))
12249 return this.normalize$1(path); 12880 return this.normalize$1(path);
12250 if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) { 12881 if (!J.$gt$n(t1.rootLength$1(path), 0) || t1.isRootRelative$1(path)) {
12251 t2 = this._context0$_current; 12882 t2 = this._context1$_current;
12252 path = this.join$8(0, t2 != null ? t2 : B.current(), path, null, null, n ull, null, null, null); 12883 path = this.join$8(0, t2 != null ? t2 : B.current(), path, null, null, n ull, null, null, null);
12253 } 12884 }
12254 if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) 12885 if (!J.$gt$n(t1.rootLength$1(path), 0) && J.$gt$n(t1.rootLength$1(from), 0 ))
12255 throw H.wrapException(E.PathException$("Unable to find a path to \"" + p ath + "\" from \"" + H.S(from) + "\".")); 12886 throw H.wrapException(E.PathException$("Unable to find a path to \"" + p ath + "\" from \"" + H.S(from) + "\"."));
12256 fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1); 12887 fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1);
12257 fromParsed.normalize$0(); 12888 fromParsed.normalize$0();
12258 pathParsed = Q.ParsedPath_ParsedPath$parse(path, t1); 12889 pathParsed = Q.ParsedPath_ParsedPath$parse(path, t1);
12259 pathParsed.normalize$0(); 12890 pathParsed.normalize$0();
12260 t2 = fromParsed.parts; 12891 t2 = fromParsed.parts;
12261 if (t2.length > 0 && J.$eq(t2[0], ".")) 12892 if (t2.length > 0 && J.$eq(t2[0], "."))
12262 return pathParsed.toString$0(0); 12893 return pathParsed.toString$0(0);
12263 if (!J.$eq(fromParsed.root, pathParsed.root)) { 12894 if (!J.$eq(fromParsed.root, pathParsed.root)) {
12264 t2 = fromParsed.root; 12895 t2 = fromParsed.root;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
12319 }, 12950 },
12320 relative$1: function(path) { 12951 relative$1: function(path) {
12321 return this.relative$2$from(path, null); 12952 return this.relative$2$from(path, null);
12322 }, 12953 },
12323 fromUri$1: function(uri) { 12954 fromUri$1: function(uri) {
12324 return this.style.pathFromUri$1(uri); 12955 return this.style.pathFromUri$1(uri);
12325 }, 12956 },
12326 toUri$1: function(path) { 12957 toUri$1: function(path) {
12327 var t1, t2; 12958 var t1, t2;
12328 t1 = this.style; 12959 t1 = this.style;
12329 if (t1.rootLength$1(path) <= 0) 12960 if (!J.$gt$n(t1.rootLength$1(path), 0))
12330 return t1.relativePathToUri$1(path); 12961 return t1.relativePathToUri$1(path);
12331 else { 12962 else {
12332 t2 = this._context0$_current; 12963 t2 = this._context1$_current;
12333 return t1.absolutePathToUri$1(this.join$2(0, t2 != null ? t2 : B.current (), path)); 12964 return t1.absolutePathToUri$1(this.join$2(0, t2 != null ? t2 : B.current (), path));
12334 } 12965 }
12335 }, 12966 },
12336 prettyUri$1: function(uri) { 12967 prettyUri$1: function(uri) {
12337 var t1, t2, t3, t4, path, rel; 12968 var t1, t2, t3, t4, path, rel;
12338 t1 = uri.scheme; 12969 t1 = uri.scheme;
12339 t2 = t1 === "file"; 12970 t2 = t1 === "file";
12340 if (t2) { 12971 if (t2) {
12341 t3 = this.style; 12972 t3 = this.style;
12342 t4 = $.get$Style_url(); 12973 t4 = $.get$Style_url();
(...skipping 22 matching lines...) Expand all
12365 static: {Context_Context: function(current, style) { 12996 static: {Context_Context: function(current, style) {
12366 current = style == null ? B.current() : "."; 12997 current = style == null ? B.current() : ".";
12367 if (style == null) 12998 if (style == null)
12368 style = $.get$Style_platform(); 12999 style = $.get$Style_platform();
12369 else if (!style.$isInternalStyle) 13000 else if (!style.$isInternalStyle)
12370 throw H.wrapException(P.ArgumentError$("Only styles defined by the pat h package are allowed.")); 13001 throw H.wrapException(P.ArgumentError$("Only styles defined by the pat h package are allowed."));
12371 return new F.Context(H.interceptedTypeCast(style, "$isInternalStyle"), c urrent); 13002 return new F.Context(H.interceptedTypeCast(style, "$isInternalStyle"), c urrent);
12372 }} 13003 }}
12373 }, 13004 },
12374 Context_join_closure: { 13005 Context_join_closure: {
12375 "^": "Closure:2;", 13006 "^": "Closure:3;",
12376 call$1: function(part) { 13007 call$1: function(part) {
12377 return part != null; 13008 return part != null;
12378 } 13009 }
12379 }, 13010 },
12380 Context_joinAll_closure: { 13011 Context_joinAll_closure: {
12381 "^": "Closure:2;", 13012 "^": "Closure:3;",
12382 call$1: function(part) { 13013 call$1: function(part) {
12383 return !J.$eq(part, ""); 13014 return !J.$eq(part, "");
12384 } 13015 }
12385 }, 13016 },
12386 Context_split_closure: { 13017 Context_split_closure: {
12387 "^": "Closure:2;", 13018 "^": "Closure:3;",
12388 call$1: function(part) { 13019 call$1: function(part) {
12389 return J.get$isEmpty$asx(part) !== true; 13020 return J.get$isEmpty$asx(part) !== true;
12390 } 13021 }
12391 }, 13022 },
12392 _validateArgList_closure: { 13023 _validateArgList_closure: {
12393 "^": "Closure:2;", 13024 "^": "Closure:3;",
12394 call$1: function(arg) { 13025 call$1: [function(arg) {
12395 return arg == null ? "null" : "\"" + H.S(arg) + "\""; 13026 return arg == null ? "null" : "\"" + H.S(arg) + "\"";
12396 } 13027 }, null, null, 2, 0, null, 20, "call"]
12397 } 13028 }
12398 }], 13029 }],
12399 ["path.internal_style", "package:path/src/internal_style.dart", , E, { 13030 ["path.internal_style", "package:path/src/internal_style.dart", , E, {
12400 "^": "", 13031 "^": "",
12401 InternalStyle: { 13032 InternalStyle: {
12402 "^": "Style;", 13033 "^": "Style;",
12403 getRoot$1: function(path) { 13034 getRoot$1: function(path) {
12404 var $length = this.rootLength$1(path); 13035 var $length = this.rootLength$1(path);
12405 if ($length > 0) 13036 if (J.$gt$n($length, 0))
12406 return J.substring$2$s(path, 0, $length); 13037 return J.substring$2$s(path, 0, $length);
12407 return this.isRootRelative$1(path) ? J.$index$asx(path, 0) : null; 13038 return this.isRootRelative$1(path) ? J.$index$asx(path, 0) : null;
12408 }, 13039 },
12409 relativePathToUri$1: function(path) { 13040 relativePathToUri$1: function(path) {
12410 return P.Uri_Uri(null, null, null, F.Context_Context(null, this).split$1(0 , path), null, null, null, "", ""); 13041 return P.Uri_Uri(null, null, null, F.Context_Context(null, this).split$1(0 , path), null, null, null, "", "");
12411 } 13042 }
12412 } 13043 }
12413 }], 13044 }],
12414 ["path.parsed_path", "package:path/src/parsed_path.dart", , Q, { 13045 ["path.parsed_path", "package:path/src/parsed_path.dart", , Q, {
12415 "^": "", 13046 "^": "",
(...skipping 18 matching lines...) Expand all
12434 return H.ioore(t1, 0); 13065 return H.ioore(t1, 0);
12435 t1.pop(); 13066 t1.pop();
12436 C.JSArray_methods.removeLast$0(this.separators); 13067 C.JSArray_methods.removeLast$0(this.separators);
12437 } 13068 }
12438 t1 = this.separators; 13069 t1 = this.separators;
12439 t2 = t1.length; 13070 t2 = t1.length;
12440 if (t2 > 0) 13071 if (t2 > 0)
12441 t1[t2 - 1] = ""; 13072 t1[t2 - 1] = "";
12442 }, 13073 },
12443 normalize$0: function() { 13074 normalize$0: function() {
12444 var newParts, t1, leadingDoubles, part, t2, newSeparators; 13075 var newParts, t1, leadingDoubles, part, t2, newSeparators, t3;
12445 newParts = H.setRuntimeTypeInfo([], [P.String]); 13076 newParts = H.setRuntimeTypeInfo([], [P.String]);
12446 for (t1 = this.parts, t1 = new J.ArrayIterator(t1, t1.length, 0, null), le adingDoubles = 0; t1.moveNext$0();) { 13077 for (t1 = this.parts, t1 = new J.ArrayIterator(t1, t1.length, 0, null), le adingDoubles = 0; t1.moveNext$0();) {
12447 part = t1.__interceptors$_current; 13078 part = t1.__interceptors$_current;
12448 t2 = J.getInterceptor(part); 13079 t2 = J.getInterceptor(part);
12449 if (t2.$eq(part, ".") || t2.$eq(part, "")) 13080 if (t2.$eq(part, ".") || t2.$eq(part, ""))
12450 ; 13081 ;
12451 else if (t2.$eq(part, "..")) 13082 else if (t2.$eq(part, ".."))
12452 if (newParts.length > 0) 13083 if (newParts.length > 0)
12453 newParts.pop(); 13084 newParts.pop();
12454 else 13085 else
12455 ++leadingDoubles; 13086 ++leadingDoubles;
12456 else 13087 else
12457 newParts.push(part); 13088 newParts.push(part);
12458 } 13089 }
12459 if (this.root == null) 13090 if (this.root == null)
12460 C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDou bles, "..", null)); 13091 C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingDou bles, "..", null));
12461 if (newParts.length === 0 && this.root == null) 13092 if (newParts.length === 0 && this.root == null)
12462 newParts.push("."); 13093 newParts.push(".");
12463 newSeparators = P.List_List$generate(newParts.length, new Q.ParsedPath_nor malize_closure(this), true, P.String); 13094 newSeparators = P.List_List$generate(newParts.length, new Q.ParsedPath_nor malize_closure(this), true, P.String);
12464 t1 = this.root; 13095 t1 = this.root;
12465 C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.length > 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : ""); 13096 C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.length > 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : "");
12466 this.parts = newParts; 13097 this.parts = newParts;
12467 this.separators = newSeparators; 13098 this.separators = newSeparators;
12468 t1 = this.root; 13099 t1 = this.root;
12469 if (t1 != null && this.style === $.get$Style_windows()) 13100 if (t1 != null) {
13101 t2 = this.style;
13102 t3 = $.get$Style_windows();
13103 t3 = t2 == null ? t3 == null : t2 === t3;
13104 t2 = t3;
13105 } else
13106 t2 = false;
13107 if (t2)
12470 this.root = J.replaceAll$2$s(t1, "/", "\\"); 13108 this.root = J.replaceAll$2$s(t1, "/", "\\");
12471 this.removeTrailingSeparators$0(); 13109 this.removeTrailingSeparators$0();
12472 }, 13110 },
12473 toString$0: function(_) { 13111 toString$0: function(_) {
12474 var builder, t1, i; 13112 var builder, t1, i;
12475 builder = new P.StringBuffer(""); 13113 builder = new P.StringBuffer("");
12476 t1 = this.root; 13114 t1 = this.root;
12477 if (t1 != null) 13115 if (t1 != null)
12478 builder._contents = H.S(t1); 13116 builder._contents = H.S(t1);
12479 for (i = 0; i < this.parts.length; ++i) { 13117 for (i = 0; i < this.parts.length; ++i) {
(...skipping 26 matching lines...) Expand all
12506 start = 0; 13144 start = 0;
12507 } 13145 }
12508 i = start; 13146 i = start;
12509 while (true) { 13147 while (true) {
12510 t2 = t1.get$length(path); 13148 t2 = t1.get$length(path);
12511 if (typeof t2 !== "number") 13149 if (typeof t2 !== "number")
12512 return H.iae(t2); 13150 return H.iae(t2);
12513 if (!(i < t2)) 13151 if (!(i < t2))
12514 break; 13152 break;
12515 if (style.isSeparator$1(t1.codeUnitAt$1(path, i))) { 13153 if (style.isSeparator$1(t1.codeUnitAt$1(path, i))) {
12516 parts.push(C.JSString_methods.substring$2(path, start, i)); 13154 parts.push(t1.substring$2(path, start, i));
12517 if (i >= path.length) 13155 separators.push(t1.$index(path, i));
12518 return H.ioore(path, i);
12519 separators.push(path[i]);
12520 start = i + 1; 13156 start = i + 1;
12521 } 13157 }
12522 ++i; 13158 ++i;
12523 } 13159 }
12524 t2 = t1.get$length(path); 13160 t2 = t1.get$length(path);
12525 if (typeof t2 !== "number") 13161 if (typeof t2 !== "number")
12526 return H.iae(t2); 13162 return H.iae(t2);
12527 if (start < t2) { 13163 if (start < t2) {
12528 parts.push(t1.substring$1(path, start)); 13164 parts.push(t1.substring$1(path, start));
12529 separators.push(""); 13165 separators.push("");
12530 } 13166 }
12531 return new Q.ParsedPath(style, root, isRootRelative, parts, separators); 13167 return new Q.ParsedPath(style, root, isRootRelative, parts, separators);
12532 }} 13168 }}
12533 }, 13169 },
12534 ParsedPath_normalize_closure: { 13170 ParsedPath_normalize_closure: {
12535 "^": "Closure:2;_captured_this_0", 13171 "^": "Closure:3;_parsed_path$_captured_this_0",
12536 call$1: function(_) { 13172 call$1: function(_) {
12537 return this._captured_this_0.style.get$separator(); 13173 return this._parsed_path$_captured_this_0.style.get$separator();
12538 } 13174 }
12539 } 13175 }
12540 }], 13176 }],
12541 ["path.path_exception", "package:path/src/path_exception.dart", , E, { 13177 ["path.path_exception", "package:path/src/path_exception.dart", , E, {
12542 "^": "", 13178 "^": "",
12543 PathException: { 13179 PathException: {
12544 "^": "Object;message>", 13180 "^": "Object;message>",
12545 toString$0: function(_) { 13181 toString$0: function(_) {
12546 return "PathException: " + this.message; 13182 return "PathException: " + this.message;
12547 }, 13183 },
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
12618 }, 13254 },
12619 isSeparator$1: function(codeUnit) { 13255 isSeparator$1: function(codeUnit) {
12620 return codeUnit === 47; 13256 return codeUnit === 47;
12621 }, 13257 },
12622 needsSeparator$1: function(path) { 13258 needsSeparator$1: function(path) {
12623 var t1 = J.getInterceptor$asx(path); 13259 var t1 = J.getInterceptor$asx(path);
12624 if (t1.get$isEmpty(path) === true) 13260 if (t1.get$isEmpty(path) === true)
12625 return false; 13261 return false;
12626 if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47) 13262 if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47)
12627 return true; 13263 return true;
12628 return C.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(pat h) === path.length; 13264 return t1.endsWith$1(path, "://") && J.$eq(this.rootLength$1(path), t1.get $length(path));
12629 }, 13265 },
12630 rootLength$1: function(path) { 13266 rootLength$1: function(path) {
12631 var t1, index; 13267 var t1, index, t2;
12632 t1 = J.getInterceptor$asx(path); 13268 t1 = J.getInterceptor$asx(path);
12633 if (t1.get$isEmpty(path) === true) 13269 if (t1.get$isEmpty(path) === true)
12634 return 0; 13270 return 0;
12635 if (t1.codeUnitAt$1(path, 0) === 47) 13271 if (t1.codeUnitAt$1(path, 0) === 47)
12636 return 1; 13272 return 1;
12637 index = C.JSString_methods.indexOf$1(path, "/"); 13273 index = t1.indexOf$1(path, "/");
12638 if (index > 0 && C.JSString_methods.startsWith$2(path, "://", index - 1)) { 13274 t2 = J.getInterceptor$n(index);
12639 index = C.JSString_methods.indexOf$2(path, "/", index + 2); 13275 if (t2.$gt(index, 0) && t1.startsWith$2(path, "://", t2.$sub(index, 1))) {
12640 if (index > 0) 13276 index = t1.indexOf$2(path, "/", t2.$add(index, 2));
13277 if (J.$gt$n(index, 0))
12641 return index; 13278 return index;
12642 return path.length; 13279 return t1.get$length(path);
12643 } 13280 }
12644 return 0; 13281 return 0;
12645 }, 13282 },
12646 isRootRelative$1: function(path) { 13283 isRootRelative$1: function(path) {
12647 var t1 = J.getInterceptor$asx(path); 13284 var t1 = J.getInterceptor$asx(path);
12648 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; 13285 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47;
12649 }, 13286 },
12650 pathFromUri$1: function(uri) { 13287 pathFromUri$1: function(uri) {
12651 return uri.toString$0(0); 13288 return uri.toString$0(0);
12652 }, 13289 },
(...skipping 16 matching lines...) Expand all
12669 return codeUnit === 47 || codeUnit === 92; 13306 return codeUnit === 47 || codeUnit === 92;
12670 }, 13307 },
12671 needsSeparator$1: function(path) { 13308 needsSeparator$1: function(path) {
12672 var t1 = J.getInterceptor$asx(path); 13309 var t1 = J.getInterceptor$asx(path);
12673 if (t1.get$isEmpty(path) === true) 13310 if (t1.get$isEmpty(path) === true)
12674 return false; 13311 return false;
12675 t1 = t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)); 13312 t1 = t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1));
12676 return !(t1 === 47 || t1 === 92); 13313 return !(t1 === 47 || t1 === 92);
12677 }, 13314 },
12678 rootLength$1: function(path) { 13315 rootLength$1: function(path) {
12679 var t1, index; 13316 var t1, index, t2;
12680 t1 = J.getInterceptor$asx(path); 13317 t1 = J.getInterceptor$asx(path);
12681 if (t1.get$isEmpty(path) === true) 13318 if (t1.get$isEmpty(path) === true)
12682 return 0; 13319 return 0;
12683 if (t1.codeUnitAt$1(path, 0) === 47) 13320 if (t1.codeUnitAt$1(path, 0) === 47)
12684 return 1; 13321 return 1;
12685 if (C.JSString_methods.codeUnitAt$1(path, 0) === 92) { 13322 if (t1.codeUnitAt$1(path, 0) === 92) {
12686 t1 = path.length; 13323 if (J.$lt$n(t1.get$length(path), 2) || t1.codeUnitAt$1(path, 1) !== 92)
12687 if (t1 < 2 || C.JSString_methods.codeUnitAt$1(path, 1) !== 92)
12688 return 1; 13324 return 1;
12689 index = C.JSString_methods.indexOf$2(path, "\\", 2); 13325 index = t1.indexOf$2(path, "\\", 2);
12690 if (index > 0) { 13326 t2 = J.getInterceptor$n(index);
12691 index = C.JSString_methods.indexOf$2(path, "\\", index + 1); 13327 if (t2.$gt(index, 0)) {
12692 if (index > 0) 13328 index = t1.indexOf$2(path, "\\", t2.$add(index, 1));
13329 if (J.$gt$n(index, 0))
12693 return index; 13330 return index;
12694 } 13331 }
12695 return t1; 13332 return t1.get$length(path);
12696 } 13333 }
12697 if (path.length < 3) 13334 if (J.$lt$n(t1.get$length(path), 3))
12698 return 0; 13335 return 0;
12699 t1 = C.JSString_methods.codeUnitAt$1(path, 0); 13336 t2 = t1.codeUnitAt$1(path, 0);
12700 if (!(t1 >= 65 && t1 <= 90)) 13337 if (!(t2 >= 65 && t2 <= 90))
12701 t1 = t1 >= 97 && t1 <= 122; 13338 t2 = t2 >= 97 && t2 <= 122;
12702 else 13339 else
12703 t1 = true; 13340 t2 = true;
12704 if (!t1) 13341 if (!t2)
12705 return 0; 13342 return 0;
12706 if (C.JSString_methods.codeUnitAt$1(path, 1) !== 58) 13343 if (t1.codeUnitAt$1(path, 1) !== 58)
12707 return 0; 13344 return 0;
12708 t1 = C.JSString_methods.codeUnitAt$1(path, 2); 13345 t1 = t1.codeUnitAt$1(path, 2);
12709 if (!(t1 === 47 || t1 === 92)) 13346 if (!(t1 === 47 || t1 === 92))
12710 return 0; 13347 return 0;
12711 return 3; 13348 return 3;
12712 }, 13349 },
12713 isRootRelative$1: function(path) { 13350 isRootRelative$1: function(path) {
12714 return this.rootLength$1(path) === 1; 13351 return J.$eq(this.rootLength$1(path), 1);
12715 }, 13352 },
12716 pathFromUri$1: function(uri) { 13353 pathFromUri$1: function(uri) {
12717 var t1, path; 13354 var t1, path;
12718 t1 = uri.scheme; 13355 t1 = uri.scheme;
12719 if (t1 !== "" && t1 !== "file") 13356 if (t1 !== "" && t1 !== "file")
12720 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " mu st have scheme 'file:'.")); 13357 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " mu st have scheme 'file:'."));
12721 path = uri._path; 13358 path = uri._path;
12722 if (uri.get$host(uri) === "") { 13359 if (uri.get$host(uri) === "") {
12723 if (C.JSString_methods.startsWith$1(path, "/")) 13360 if (C.JSString_methods.startsWith$1(path, "/"))
12724 path = C.JSString_methods.replaceFirst$2(path, "/", ""); 13361 path = C.JSString_methods.replaceFirst$2(path, "/", "");
(...skipping 17 matching lines...) Expand all
12742 parsed.parts.push(""); 13379 parsed.parts.push("");
12743 t1 = parsed.parts; 13380 t1 = parsed.parts;
12744 t2 = J.replaceAll$2$s(parsed.root, "/", ""); 13381 t2 = J.replaceAll$2$s(parsed.root, "/", "");
12745 H.checkString(""); 13382 H.checkString("");
12746 C.JSArray_methods.insert$2(t1, 0, H.stringReplaceAllUnchecked(t2, "\\", "")); 13383 C.JSArray_methods.insert$2(t1, 0, H.stringReplaceAllUnchecked(t2, "\\", ""));
12747 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "file ", ""); 13384 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "file ", "");
12748 } 13385 }
12749 } 13386 }
12750 }, 13387 },
12751 WindowsStyle_absolutePathToUri_closure: { 13388 WindowsStyle_absolutePathToUri_closure: {
12752 "^": "Closure:2;", 13389 "^": "Closure:3;",
12753 call$1: function(part) { 13390 call$1: function(part) {
12754 return !J.$eq(part, ""); 13391 return !J.$eq(part, "");
12755 } 13392 }
12756 } 13393 }
12757 }], 13394 }],
12758 ["stack_trace.src.utils", "package:stack_trace/src/utils.dart", , N, { 13395 ["stack_trace.src.utils", "package:stack_trace/src/utils.dart", , N, {
12759 "^": "", 13396 "^": "",
12760 padRight: function(string, $length) { 13397 padRight: function(string, $length) {
12761 var t1, t2, i; 13398 var t1, t2, result, i;
12762 t1 = J.get$length$asx(string); 13399 t1 = J.getInterceptor$asx(string);
13400 t2 = t1.get$length(string);
12763 if (typeof $length !== "number") 13401 if (typeof $length !== "number")
12764 return H.iae($length); 13402 return H.iae($length);
12765 if (t1 >= $length) 13403 if (t2 >= $length)
12766 return string; 13404 return string;
12767 for (t1 = $length - string.length, t2 = string, i = 0; i < t1; ++i) 13405 result = new P.StringBuffer("");
12768 t2 += " "; 13406 result._contents = H.S(string);
12769 return t2.charCodeAt(0) == 0 ? t2 : t2; 13407 for (i = 0; i < $length - t1.get$length(string); ++i)
13408 result._contents += " ";
13409 t1 = result._contents;
13410 return t1.charCodeAt(0) == 0 ? t1 : t1;
12770 } 13411 }
12771 }], 13412 }],
12772 ["test.multi_channel", "package:test/src/util/multi_channel.dart", , V, { 13413 ["test.multi_channel", "package:test/src/util/multi_channel.dart", , V, {
12773 "^": "", 13414 "^": "",
12774 _MultiChannel: { 13415 _MultiChannel: {
12775 "^": "StreamChannelMixin;_innerStream,_innerSink,_innerStreamSubscription,_s treamController,_sinkController,_streamControllers,_sinkControllers,_nextId", 13416 "^": "StreamChannelMixin;_innerStream,_innerSink,_innerStreamSubscription,_s treamController,_sinkController,_streamControllers,_sinkControllers,_nextId",
12776 virtualChannel$1: function(id) { 13417 virtualChannel$1: function(id) {
12777 var t1, t2, inputId, t3, streamController, sinkController; 13418 var t1, t2, inputId, t3, streamController, sinkController;
12778 t1 = {}; 13419 t1 = {};
12779 if (this._innerStream == null) 13420 if (this._innerStream == null)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
12817 if (t1.__js_helper$_length === 0) 13458 if (t1.__js_helper$_length === 0)
12818 this._closeInnerChannel$0(); 13459 this._closeInnerChannel$0();
12819 }, 13460 },
12820 _closeInnerChannel$0: [function() { 13461 _closeInnerChannel$0: [function() {
12821 this._innerSink._async$_target.close$0(0); 13462 this._innerSink._async$_target.close$0(0);
12822 this._innerStreamSubscription.cancel$0(); 13463 this._innerStreamSubscription.cancel$0();
12823 this._innerStream = null; 13464 this._innerStream = null;
12824 this._innerSink = null; 13465 this._innerSink = null;
12825 for (var t1 = this._sinkControllers, t1 = t1.get$values(t1), t1 = P.List_L ist$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)), t1 = new J. ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();) 13466 for (var t1 = this._sinkControllers, t1 = t1.get$values(t1), t1 = P.List_L ist$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)), t1 = new J. ArrayIterator(t1, t1.length, 0, null); t1.moveNext$0();)
12826 J.close$0$x(t1.__interceptors$_current); 13467 J.close$0$x(t1.__interceptors$_current);
12827 }, "call$0", "get$_closeInnerChannel", 0, 0, 1], 13468 }, "call$0", "get$_closeInnerChannel", 0, 0, 2],
12828 _MultiChannel$2: function(_innerStream, _innerSink) { 13469 _MultiChannel$2: function(_innerStream, _innerSink) {
12829 var t1, t2; 13470 var t1, t2;
12830 t1 = this._streamController; 13471 t1 = this._streamController;
12831 this._streamControllers.$indexSet(0, 0, t1); 13472 this._streamControllers.$indexSet(0, 0, t1);
12832 t2 = this._sinkController; 13473 t2 = this._sinkController;
12833 this._sinkControllers.$indexSet(0, 0, t2); 13474 this._sinkControllers.$indexSet(0, 0, t2);
12834 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [null]).listen$2$onDone( new V._MultiChannel_closure(this), new V._MultiChannel_closure0(this)); 13475 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [null]).listen$2$onDone( new V._MultiChannel_closure(this), new V._MultiChannel_closure0(this));
12835 this._innerStreamSubscription = this._innerStream.listen$3$onDone$onError( new V._MultiChannel_closure1(this), this.get$_closeInnerChannel(), t1.get$addErr or()); 13476 this._innerStreamSubscription = this._innerStream.listen$3$onDone$onError( new V._MultiChannel_closure1(this), this.get$_closeInnerChannel(), t1.get$addErr or());
12836 }, 13477 },
12837 static: {_MultiChannel$: function(_innerStream, _innerSink) { 13478 static: {_MultiChannel$: function(_innerStream, _innerSink) {
12838 var t1 = new V._MultiChannel(_innerStream, _innerSink, null, P.StreamCon troller_StreamController(null, null, null, null, true, null), P.StreamController _StreamController(null, null, null, null, true, null), P.LinkedHashMap_LinkedHas hMap(null, null, null, P.$int, P.StreamController), P.LinkedHashMap_LinkedHashMa p(null, null, null, P.$int, P.StreamController), 1); 13479 var t1 = new V._MultiChannel(_innerStream, _innerSink, null, P.StreamCon troller_StreamController(null, null, null, null, true, null), P.StreamController _StreamController(null, null, null, null, true, null), P.LinkedHashMap_LinkedHas hMap(null, null, null, P.$int, P.StreamController), P.LinkedHashMap_LinkedHashMa p(null, null, null, P.$int, P.StreamController), 1);
12839 t1._MultiChannel$2(_innerStream, _innerSink); 13480 t1._MultiChannel$2(_innerStream, _innerSink);
12840 return t1; 13481 return t1;
12841 }} 13482 }}
12842 }, 13483 },
12843 _MultiChannel_closure: { 13484 _MultiChannel_closure: {
12844 "^": "Closure:2;_multi_channel$_captured_this_0", 13485 "^": "Closure:3;_multi_channel$_captured_this_0",
12845 call$1: function(message) { 13486 call$1: [function(message) {
12846 var t1 = this._multi_channel$_captured_this_0._innerSink._async$_target; 13487 var t1 = this._multi_channel$_captured_this_0._innerSink._async$_target;
12847 if (t1._state >= 4) 13488 if (t1._state >= 4)
12848 H.throwExpression(t1._badEventState$0()); 13489 H.throwExpression(t1._badEventState$0());
12849 t1._async$_add$1([0, message]); 13490 t1._async$_add$1([0, message]);
12850 return; 13491 return;
12851 } 13492 }, null, null, 2, 0, null, 41, "call"]
12852 }, 13493 },
12853 _MultiChannel_closure0: { 13494 _MultiChannel_closure0: {
12854 "^": "Closure:0;_multi_channel$_captured_this_1", 13495 "^": "Closure:0;_captured_this_1",
12855 call$0: function() { 13496 call$0: [function() {
12856 return this._multi_channel$_captured_this_1._closeChannel$2(0, 0); 13497 return this._captured_this_1._closeChannel$2(0, 0);
12857 } 13498 }, null, null, 0, 0, null, "call"]
12858 }, 13499 },
12859 _MultiChannel_closure1: { 13500 _MultiChannel_closure1: {
12860 "^": "Closure:2;_multi_channel$_captured_this_2", 13501 "^": "Closure:3;_multi_channel$_captured_this_2",
12861 call$1: function(message) { 13502 call$1: [function(message) {
12862 var t1, id, t2, sink; 13503 var t1, id, t2, sink;
12863 t1 = J.getInterceptor$asx(message); 13504 t1 = J.getInterceptor$asx(message);
12864 id = t1.$index(message, 0); 13505 id = t1.$index(message, 0);
12865 t2 = this._multi_channel$_captured_this_2; 13506 t2 = this._multi_channel$_captured_this_2;
12866 sink = t2._streamControllers.$index(0, id); 13507 sink = t2._streamControllers.$index(0, id);
12867 if (sink == null) 13508 if (sink == null)
12868 return; 13509 return;
12869 if (J.$gt$n(t1.get$length(message), 1)) { 13510 if (J.$gt$n(t1.get$length(message), 1)) {
12870 J.add$1$ax(sink, t1.$index(message, 1)); 13511 J.add$1$ax(sink, t1.$index(message, 1));
12871 return; 13512 return;
12872 } 13513 }
12873 J.close$0$x(t2._sinkControllers.$index(0, id)); 13514 J.close$0$x(t2._sinkControllers.$index(0, id));
12874 } 13515 }, null, null, 2, 0, null, 41, "call"]
12875 }, 13516 },
12876 _MultiChannel_virtualChannel_closure: { 13517 _MultiChannel_virtualChannel_closure: {
12877 "^": "Closure:2;_multi_channel$_box_0,_multi_channel$_captured_this_1", 13518 "^": "Closure:3;_multi_channel$_box_0,_captured_this_1",
12878 call$1: function(message) { 13519 call$1: [function(message) {
12879 var t1, t2; 13520 var t1, t2;
12880 t1 = this._multi_channel$_captured_this_1._innerSink; 13521 t1 = this._captured_this_1._innerSink;
12881 t2 = this._multi_channel$_box_0._captured_outputId_1; 13522 t2 = this._multi_channel$_box_0._captured_outputId_1;
12882 t1 = t1._async$_target; 13523 t1 = t1._async$_target;
12883 if (t1._state >= 4) 13524 if (t1._state >= 4)
12884 H.throwExpression(t1._badEventState$0()); 13525 H.throwExpression(t1._badEventState$0());
12885 t1._async$_add$1([t2, message]); 13526 t1._async$_add$1([t2, message]);
12886 return; 13527 return;
12887 } 13528 }, null, null, 2, 0, null, 41, "call"]
12888 }, 13529 },
12889 _MultiChannel_virtualChannel_closure0: { 13530 _MultiChannel_virtualChannel_closure0: {
12890 "^": "Closure:0;_multi_channel$_box_0,_multi_channel$_captured_this_2", 13531 "^": "Closure:0;_multi_channel$_box_0,_multi_channel$_captured_this_2",
12891 call$0: function() { 13532 call$0: [function() {
12892 var t1 = this._multi_channel$_box_0; 13533 var t1 = this._multi_channel$_box_0;
12893 return this._multi_channel$_captured_this_2._closeChannel$2(t1._captured_i nputId_0, t1._captured_outputId_1); 13534 return this._multi_channel$_captured_this_2._closeChannel$2(t1._captured_i nputId_0, t1._captured_outputId_1);
12894 } 13535 }, null, null, 0, 0, null, "call"]
12895 }, 13536 },
12896 VirtualChannel: { 13537 VirtualChannel: {
12897 "^": "StreamChannelMixin;_parent,id,stream,sink" 13538 "^": "StreamChannelMixin;_parent,id,stream,sink"
12898 } 13539 }
12899 }], 13540 }],
12900 ["test.runner.browser.host", "host.dart", , R, { 13541 ["test.runner.browser.host", "host.dart", , R, {
12901 "^": "", 13542 "^": "",
12902 main: [function() { 13543 main: [function() {
13544 var testRunner = J.$index$asx($.get$context(), "testRunner");
13545 if (testRunner != null)
13546 testRunner.callMethod$2("waitUntilDone", []);
12903 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null); 13547 P.runZoned(new R.main_closure(), new R.main_closure0(), null, null);
12904 }, "call$0", "main$closure", 0, 0, 1], 13548 }, "call$0", "main$closure", 0, 0, 2],
12905 _connectToServer: function() { 13549 _connectToServer: function() {
12906 var currentUrl, t1, webSocket, inputController, outputController; 13550 var currentUrl, t1, webSocket, inputController, outputController;
12907 currentUrl = P.Uri_parse(window.location.href, 0, null); 13551 currentUrl = P.Uri_parse(window.location.href, 0, null);
12908 t1 = currentUrl._queryParameters; 13552 t1 = currentUrl._queryParameters;
12909 if (t1 == null) { 13553 if (t1 == null) {
12910 t1 = currentUrl._query; 13554 t1 = currentUrl._query;
12911 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString (t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); 13555 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryString (t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]);
12912 currentUrl._queryParameters = t1; 13556 currentUrl._queryParameters = t1;
12913 } 13557 }
12914 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager Url"), null); 13558 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager Url"), null);
12915 inputController = P.StreamController_StreamController(null, null, null, null , true, null); 13559 inputController = P.StreamController_StreamController(null, null, null, null , true, null);
12916 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [ null]); 13560 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [ null]);
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(); 13561 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._event Type, W._wrapZone(new R._connectToServer_closure(inputController)), t1._useCaptu re), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0();
12918 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null); 13562 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null);
12919 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list en$1(new R._connectToServer_closure0(webSocket)); 13563 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list en$1(new R._connectToServer_closure0(webSocket));
12920 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); 13564 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)]));
12921 }, 13565 },
12922 _connectToIframe: function(url) { 13566 _connectToIframe: function(url) {
12923 var iframe, inputController, outputController, readyCompleter, t1; 13567 var iframe, inputController, outputController, readyCompleter, t1;
12924 iframe = document.createElement("iframe", null); 13568 iframe = document.createElement("iframe", null);
12925 J.set$src$x(iframe, url); 13569 J.set$src$x(iframe, url);
12926 document.body.appendChild(iframe); 13570 document.body.appendChild(iframe);
12927 inputController = P.StreamController_StreamController(null, null, null, null , true, null); 13571 inputController = P.StreamController_StreamController(null, null, null, null , true, null);
12928 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null); 13572 outputController = P.StreamController_StreamController(null, null, null, nul l, true, null);
12929 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeType Info(new P._Future(0, $.Zone__current, null), [null])), [null]); 13573 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeType Info(new P._Future(0, $.Zone__current, null), [null])), [null]);
12930 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [nul l]); 13574 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(); 13575 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._event Type, W._wrapZone(new R._connectToIframe_closure(iframe, inputController, readyC ompleter)), 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)); 13576 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list en$1(new R._connectToIframe_closure0(iframe, readyCompleter));
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]); 13577 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]);
12934 }, 13578 },
12935 main_closure: { 13579 main_closure: {
12936 "^": "Closure:0;", 13580 "^": "Closure:0;",
12937 call$0: function() { 13581 call$0: [function() {
12938 var serverChannel = R._connectToServer(); 13582 var serverChannel = R._connectToServer();
12939 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll er), [null]).listen$1(new R.main__closure(serverChannel)); 13583 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll er), [null]).listen$1(new R.main__closure(serverChannel));
12940 } 13584 }, null, null, 0, 0, null, "call"]
12941 }, 13585 },
12942 main__closure: { 13586 main__closure: {
12943 "^": "Closure:2;_captured_serverChannel_0", 13587 "^": "Closure:3;_captured_serverChannel_0",
12944 call$1: function(message) { 13588 call$1: [function(message) {
12945 var t1, suiteChannel, iframeChannel; 13589 var t1, suiteChannel, iframeChannel;
12946 t1 = J.getInterceptor$asx(message); 13590 t1 = J.getInterceptor$asx(message);
12947 suiteChannel = this._captured_serverChannel_0.virtualChannel$1(t1.$index(m essage, "channel")); 13591 suiteChannel = this._captured_serverChannel_0.virtualChannel$1(t1.$index(m essage, "channel"));
12948 iframeChannel = R._connectToIframe(t1.$index(message, "url")); 13592 iframeChannel = R._connectToIframe(t1.$index(message, "url"));
12949 suiteChannel.stream.pipe$1(iframeChannel.sink); 13593 suiteChannel.stream.pipe$1(iframeChannel.sink);
12950 iframeChannel.stream.pipe$1(suiteChannel.sink); 13594 iframeChannel.stream.pipe$1(suiteChannel.sink);
12951 } 13595 }, null, null, 2, 0, null, 41, "call"]
12952 }, 13596 },
12953 main_closure0: { 13597 main_closure0: {
12954 "^": "Closure:40;", 13598 "^": "Closure:41;",
12955 call$2: function(error, stackTrace) { 13599 call$2: [function(error, stackTrace) {
12956 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse() )); 13600 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse() ));
12957 } 13601 }, null, null, 4, 0, null, 14, 15, "call"]
12958 }, 13602 },
12959 _connectToServer_closure: { 13603 _connectToServer_closure: {
12960 "^": "Closure:2;_captured_inputController_0", 13604 "^": "Closure:3;_captured_inputController_0",
12961 call$1: function(message) { 13605 call$1: [function(message) {
12962 var t1, t2; 13606 var t1, t2;
12963 t1 = this._captured_inputController_0; 13607 t1 = this._captured_inputController_0;
12964 t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message)); 13608 t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message));
12965 if (t1._state >= 4) 13609 if (t1._state >= 4)
12966 H.throwExpression(t1._badEventState$0()); 13610 H.throwExpression(t1._badEventState$0());
12967 t1._async$_add$1(t2); 13611 t1._async$_add$1(t2);
12968 return; 13612 return;
12969 } 13613 }, null, null, 2, 0, null, 41, "call"]
12970 }, 13614 },
12971 _connectToServer_closure0: { 13615 _connectToServer_closure0: {
12972 "^": "Closure:2;_captured_webSocket_1", 13616 "^": "Closure:3;_captured_webSocket_1",
12973 call$1: function(message) { 13617 call$1: [function(message) {
12974 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess age)); 13618 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess age));
12975 } 13619 }, null, null, 2, 0, null, 41, "call"]
12976 }, 13620 },
12977 _connectToIframe_closure: { 13621 _connectToIframe_closure: {
12978 "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_rea dyCompleter_2", 13622 "^": "Closure:3;_captured_iframe_0,_captured_inputController_1,_captured_rea dyCompleter_2",
12979 call$1: function(message) { 13623 call$1: [function(message) {
12980 var t1, t2, t3; 13624 var t1, t2, t3;
12981 t1 = J.getInterceptor$x(message); 13625 t1 = J.getInterceptor$x(message);
12982 t2 = t1.get$origin(message); 13626 t2 = t1.get$origin(message);
12983 t3 = window.location; 13627 t3 = window.location;
12984 if (t2 !== (t3 && C.Location_methods).get$origin(t3)) 13628 if (t2 !== (t3 && C.Location_methods).get$origin(t3))
12985 return; 13629 return;
12986 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._c aptured_iframe_0))) 13630 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._c aptured_iframe_0)))
12987 return; 13631 return;
12988 message.stopPropagation(); 13632 t1.stopPropagation$0(message);
12989 t1 = this._captured_inputController_1; 13633 t2 = this._captured_inputController_1;
12990 t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data , true), "data"); 13634 t1 = J.$index$asx(t1.get$data(message), "data");
12991 if (t1._state >= 4) 13635 if (t2._state >= 4)
12992 H.throwExpression(t1._badEventState$0()); 13636 H.throwExpression(t2._badEventState$0());
12993 t1._async$_add$1(t2); 13637 t2._async$_add$1(t1);
12994 this._captured_readyCompleter_2.complete$0(0); 13638 this._captured_readyCompleter_2.complete$0(0);
12995 } 13639 }, null, null, 2, 0, null, 41, "call"]
12996 }, 13640 },
12997 _connectToIframe_closure0: { 13641 _connectToIframe_closure0: {
12998 "^": "Closure:2;_captured_iframe_3,_captured_readyCompleter_4", 13642 "^": "Closure:3;_captured_iframe_3,_captured_readyCompleter_4",
12999 call$1: function(message) { 13643 call$1: [function(message) {
13000 this._captured_readyCompleter_4.future.then$1(new R._connectToIframe__clos ure(this._captured_iframe_3, message)); 13644 this._captured_readyCompleter_4.future.then$1(new R._connectToIframe__clos ure(this._captured_iframe_3, message));
13001 } 13645 }, null, null, 2, 0, null, 41, "call"]
13002 }, 13646 },
13003 _connectToIframe__closure: { 13647 _connectToIframe__closure: {
13004 "^": "Closure:2;_captured_iframe_5,_captured_message_6", 13648 "^": "Closure:3;_captured_iframe_5,_captured_message_6",
13005 call$1: function(_) { 13649 call$1: [function(_) {
13006 var t1, t2; 13650 var t1, t2;
13007 t1 = J.get$contentWindow$x(this._captured_iframe_5); 13651 t1 = J.get$contentWindow$x(this._captured_iframe_5);
13008 t2 = window.location; 13652 t2 = window.location;
13009 return J.postMessage$2$x(t1, this._captured_message_6, (t2 && C.Location_m ethods).get$origin(t2)); 13653 return J.postMessage$2$x(t1, this._captured_message_6, (t2 && C.Location_m ethods).get$origin(t2));
13010 } 13654 }, null, null, 2, 0, null, 26, "call"]
13011 } 13655 }
13012 }, 13656 },
13013 1], 13657 1],
13014 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { 13658 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, {
13015 "^": "", 13659 "^": "",
13016 _StreamChannel: { 13660 _StreamChannel: {
13017 "^": "StreamChannelMixin;stream,sink" 13661 "^": "StreamChannelMixin;stream,sink"
13018 }, 13662 },
13019 StreamChannelMixin: { 13663 StreamChannelMixin: {
13020 "^": "Object;" 13664 "^": "Object;"
13021 } 13665 }
13022 }], 13666 }],
13023 ["trace", "package:stack_trace/src/trace.dart", , R, { 13667 ["trace", "package:stack_trace/src/trace.dart", , R, {
13024 "^": "", 13668 "^": "",
13025 Trace: { 13669 Trace: {
13026 "^": "Object;frames", 13670 "^": "Object;frames",
13027 get$terse: function() { 13671 get$terse: function() {
13028 return this.foldFrames$2$terse(new R.Trace_terse_closure(), true); 13672 return this.foldFrames$2$terse(new R.Trace_terse_closure(), true);
13029 }, 13673 },
13030 foldFrames$2$terse: function(predicate, terse) { 13674 foldFrames$2$terse: function(predicate, terse) {
13031 var t1, newFrames, t2, frame; 13675 var t1, newFrames, t2, frame;
13032 t1 = {}; 13676 t1 = {};
13033 t1._captured_predicate_0 = predicate; 13677 t1._captured_predicate_0 = predicate;
13034 if (terse) 13678 if (terse)
13035 t1._captured_predicate_0 = new R.Trace_foldFrames_closure(predicate); 13679 t1._captured_predicate_0 = new R.Trace_foldFrames_closure(predicate);
13036 newFrames = []; 13680 newFrames = [];
13037 for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator(t 2, t2.get$length(t2), 0, null); t2.moveNext$0();) { 13681 for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator(t 2, t2.get$length(t2), 0, null); t2.moveNext$0();) {
13038 frame = t2._current; 13682 frame = t2.__internal$_current;
13039 if (t1._captured_predicate_0.call$1(frame) !== true) 13683 if (t1._captured_predicate_0.call$1(frame) !== true)
13040 newFrames.push(frame); 13684 newFrames.push(frame);
13041 else if (newFrames.length === 0 || t1._captured_predicate_0.call$1(C.JSA rray_methods.get$last(newFrames)) !== true) 13685 else if (newFrames.length === 0 || t1._captured_predicate_0.call$1(C.JSA rray_methods.get$last(newFrames)) !== true)
13042 newFrames.push(new S.Frame(frame.get$uri(), frame.line, frame.column, frame.member)); 13686 newFrames.push(new S.Frame(frame.get$uri(), frame.get$line(), frame.ge t$column(), frame.get$member()));
13043 } 13687 }
13044 if (terse) { 13688 if (terse) {
13045 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); 13689 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0);
13046 if (C.JSArray_methods.get$first(newFrames).get$isCore() && newFrames.len gth > 1) 13690 if (C.JSArray_methods.get$first(newFrames).get$isCore() && newFrames.len gth > 1)
13047 C.JSArray_methods.removeAt$1(newFrames, 0); 13691 C.JSArray_methods.removeAt$1(newFrames, 0);
13048 } 13692 }
13049 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.setRu ntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex(n ewFrames, 0)]).toList$0(0)), [S.Frame])); 13693 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.setRu ntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex(n ewFrames, 0)]).toList$0(0)), [S.Frame]));
13050 }, 13694 },
13051 toString$0: function(_) { 13695 toString$0: function(_) {
13052 var t1 = this.frames; 13696 var t1 = this.frames;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
13106 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map pedIterable_MappedIterable(t1, new R.Trace$parseFriendly_closure0(), H.getRuntim eTypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); 13750 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map pedIterable_MappedIterable(t1, new R.Trace$parseFriendly_closure0(), H.getRuntim eTypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame]));
13107 }} 13751 }}
13108 }, 13752 },
13109 Trace_Trace$from_closure: { 13753 Trace_Trace$from_closure: {
13110 "^": "Closure:0;_captured_trace_0", 13754 "^": "Closure:0;_captured_trace_0",
13111 call$0: function() { 13755 call$0: function() {
13112 return R.Trace_Trace$parse(J.toString$0(this._captured_trace_0)); 13756 return R.Trace_Trace$parse(J.toString$0(this._captured_trace_0));
13113 } 13757 }
13114 }, 13758 },
13115 Trace$parseVM_closure: { 13759 Trace$parseVM_closure: {
13116 "^": "Closure:2;", 13760 "^": "Closure:3;",
13117 call$1: function(line) { 13761 call$1: function(line) {
13118 return J.get$isNotEmpty$asx(line); 13762 return J.get$isNotEmpty$asx(line);
13119 } 13763 }
13120 }, 13764 },
13121 Trace$parseVM_closure0: { 13765 Trace$parseVM_closure0: {
13122 "^": "Closure:2;", 13766 "^": "Closure:3;",
13123 call$1: function(line) { 13767 call$1: [function(line) {
13124 return S.Frame_Frame$parseVM(line); 13768 return S.Frame_Frame$parseVM(line);
13125 } 13769 }, null, null, 2, 0, null, 23, "call"]
13126 }, 13770 },
13127 Trace$parseV8_closure: { 13771 Trace$parseV8_closure: {
13128 "^": "Closure:2;", 13772 "^": "Closure:3;",
13129 call$1: function(line) { 13773 call$1: function(line) {
13130 return !J.startsWith$1$s(line, $.get$_v8TraceLine()); 13774 return !J.startsWith$1$s(line, $.get$_v8TraceLine());
13131 } 13775 }
13132 }, 13776 },
13133 Trace$parseV8_closure0: { 13777 Trace$parseV8_closure0: {
13134 "^": "Closure:2;", 13778 "^": "Closure:3;",
13135 call$1: function(line) { 13779 call$1: [function(line) {
13136 return S.Frame_Frame$parseV8(line); 13780 return S.Frame_Frame$parseV8(line);
13137 } 13781 }, null, null, 2, 0, null, 23, "call"]
13138 }, 13782 },
13139 Trace$parseFirefox_closure: { 13783 Trace$parseFirefox_closure: {
13140 "^": "Closure:2;", 13784 "^": "Closure:3;",
13141 call$1: function(line) { 13785 call$1: function(line) {
13142 var t1 = J.getInterceptor$asx(line); 13786 var t1 = J.getInterceptor$asx(line);
13143 return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]"); 13787 return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]");
13144 } 13788 }
13145 }, 13789 },
13146 Trace$parseFirefox_closure0: { 13790 Trace$parseFirefox_closure0: {
13147 "^": "Closure:2;", 13791 "^": "Closure:3;",
13148 call$1: function(line) { 13792 call$1: [function(line) {
13149 var match, t1, uri, t2, t3, member, column; 13793 var match, t1, uri, t2, t3, member, column;
13150 match = $.get$_firefoxSafariFrame().firstMatch$1(line); 13794 match = $.get$_firefoxSafariFrame().firstMatch$1(line);
13151 if (match == null) 13795 if (match == null)
13152 H.throwExpression(P.FormatException$("Couldn't parse Firefox/Safari stac k trace line '" + H.S(line) + "'.", null, null)); 13796 H.throwExpression(P.FormatException$("Couldn't parse Firefox/Safari stac k trace line '" + H.S(line) + "'.", null, null));
13153 t1 = match._match; 13797 t1 = match._match;
13154 if (3 >= t1.length) 13798 if (3 >= t1.length)
13155 return H.ioore(t1, 3); 13799 return H.ioore(t1, 3);
13156 uri = S.Frame__uriOrPathToUri(t1[3]); 13800 uri = S.Frame__uriOrPathToUri(t1[3]);
13157 t2 = t1.length; 13801 t2 = t1.length;
13158 if (1 >= t2) 13802 if (1 >= t2)
(...skipping 21 matching lines...) Expand all
13180 return H.ioore(t1, 5); 13824 return H.ioore(t1, 5);
13181 t2 = t1[5]; 13825 t2 = t1[5];
13182 if (t2 == null || J.$eq(t2, "")) 13826 if (t2 == null || J.$eq(t2, ""))
13183 column = null; 13827 column = null;
13184 else { 13828 else {
13185 if (5 >= t1.length) 13829 if (5 >= t1.length)
13186 return H.ioore(t1, 5); 13830 return H.ioore(t1, 5);
13187 column = H.Primitives_parseInt(t1[5], null, null); 13831 column = H.Primitives_parseInt(t1[5], null, null);
13188 } 13832 }
13189 return new S.Frame(uri, line, column, member); 13833 return new S.Frame(uri, line, column, member);
13190 } 13834 }, null, null, 2, 0, null, 23, "call"]
13191 }, 13835 },
13192 Trace$parseFriendly_closure: { 13836 Trace$parseFriendly_closure: {
13193 "^": "Closure:2;", 13837 "^": "Closure:3;",
13194 call$1: function(line) { 13838 call$1: function(line) {
13195 return !J.startsWith$1$s(line, "====="); 13839 return !J.startsWith$1$s(line, "=====");
13196 } 13840 }
13197 }, 13841 },
13198 Trace$parseFriendly_closure0: { 13842 Trace$parseFriendly_closure0: {
13199 "^": "Closure:2;", 13843 "^": "Closure:3;",
13200 call$1: function(line) { 13844 call$1: [function(line) {
13201 var match, t1, uri, t2, t3, t4, column; 13845 var match, t1, uri, t2, t3, t4, column;
13202 match = $.get$_friendlyFrame().firstMatch$1(line); 13846 match = $.get$_friendlyFrame().firstMatch$1(line);
13203 if (match == null) 13847 if (match == null)
13204 H.throwExpression(P.FormatException$("Couldn't parse package:stack_trace stack trace line '" + H.S(line) + "'.", null, null)); 13848 H.throwExpression(P.FormatException$("Couldn't parse package:stack_trace stack trace line '" + H.S(line) + "'.", null, null));
13205 t1 = match._match; 13849 t1 = match._match;
13206 if (1 >= t1.length) 13850 if (1 >= t1.length)
13207 return H.ioore(t1, 1); 13851 return H.ioore(t1, 1);
13208 uri = P.Uri_parse(t1[1], 0, null); 13852 uri = P.Uri_parse(t1[1], 0, null);
13209 if (uri.scheme === "") { 13853 if (uri.scheme === "") {
13210 t2 = $.get$context(); 13854 t2 = $.get$context0();
13211 t3 = t2.fromUri$1(uri); 13855 t3 = t2.fromUri$1(uri);
13212 t4 = t2._context0$_current; 13856 t4 = t2._context1$_current;
13213 uri = t2.toUri$1(t2.join$8(0, t4 != null ? t4 : B.current(), t3, null, n ull, null, null, null, null)); 13857 uri = t2.toUri$1(t2.join$8(0, t4 != null ? t4 : B.current(), t3, null, n ull, null, null, null, null));
13214 } 13858 }
13215 if (2 >= t1.length) 13859 if (2 >= t1.length)
13216 return H.ioore(t1, 2); 13860 return H.ioore(t1, 2);
13217 t2 = t1[2]; 13861 t2 = t1[2];
13218 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); 13862 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null);
13219 if (3 >= t1.length) 13863 if (3 >= t1.length)
13220 return H.ioore(t1, 3); 13864 return H.ioore(t1, 3);
13221 t2 = t1[3]; 13865 t2 = t1[3];
13222 column = t2 == null ? null : H.Primitives_parseInt(t2, null, null); 13866 column = t2 == null ? null : H.Primitives_parseInt(t2, null, null);
13223 if (4 >= t1.length) 13867 if (4 >= t1.length)
13224 return H.ioore(t1, 4); 13868 return H.ioore(t1, 4);
13225 return new S.Frame(uri, line, column, t1[4]); 13869 return new S.Frame(uri, line, column, t1[4]);
13226 } 13870 }, null, null, 2, 0, null, 23, "call"]
13227 }, 13871 },
13228 Trace_terse_closure: { 13872 Trace_terse_closure: {
13229 "^": "Closure:2;", 13873 "^": "Closure:3;",
13230 call$1: function(_) { 13874 call$1: function(_) {
13231 return false; 13875 return false;
13232 } 13876 }
13233 }, 13877 },
13234 Trace_foldFrames_closure: { 13878 Trace_foldFrames_closure: {
13235 "^": "Closure:2;_captured_oldPredicate_1", 13879 "^": "Closure:3;_captured_oldPredicate_1",
13236 call$1: function(frame) { 13880 call$1: function(frame) {
13237 if (this._captured_oldPredicate_1.call$1(frame) === true) 13881 if (this._captured_oldPredicate_1.call$1(frame) === true)
13238 return true; 13882 return true;
13239 if (frame.get$isCore()) 13883 if (frame.get$isCore())
13240 return true; 13884 return true;
13241 if (J.$eq(frame.get$$package(), "stack_trace")) 13885 if (J.$eq(frame.get$$package(), "stack_trace"))
13242 return true; 13886 return true;
13243 if (J.contains$1$asx(frame.member, "<async>") !== true) 13887 if (J.contains$1$asx(frame.get$member(), "<async>") !== true)
13244 return false; 13888 return false;
13245 return frame.line == null; 13889 return frame.get$line() == null;
13246 } 13890 }
13247 }, 13891 },
13248 Trace_foldFrames_closure0: { 13892 Trace_foldFrames_closure0: {
13249 "^": "Closure:2;_trace$_box_0", 13893 "^": "Closure:3;_trace$_box_0",
13250 call$1: function(frame) { 13894 call$1: [function(frame) {
13251 var t1, t2; 13895 var t1, t2;
13252 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) 13896 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true)
13253 return frame; 13897 return frame;
13254 t1 = frame.get$library(); 13898 t1 = frame.get$library();
13255 t2 = $.get$_terseRegExp(); 13899 t2 = $.get$_terseRegExp();
13256 H.checkString(""); 13900 H.checkString("");
13257 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0, null), null, null, frame.member); 13901 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0, null), null, null, frame.get$member());
13258 } 13902 }, null, null, 2, 0, null, 42, "call"]
13259 }, 13903 },
13260 Trace_toString_closure0: { 13904 Trace_toString_closure0: {
13261 "^": "Closure:2;", 13905 "^": "Closure:3;",
13262 call$1: function(frame) { 13906 call$1: [function(frame) {
13263 return J.get$length$asx(J.get$location$x(frame)); 13907 return J.get$length$asx(J.get$location$x(frame));
13264 } 13908 }, null, null, 2, 0, null, 42, "call"]
13265 }, 13909 },
13266 Trace_toString_closure: { 13910 Trace_toString_closure: {
13267 "^": "Closure:2;_captured_longest_0", 13911 "^": "Closure:3;_captured_longest_0",
13268 call$1: function(frame) { 13912 call$1: [function(frame) {
13269 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0)) + " " + H.S(frame.get$member()) + "\n"; 13913 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0)) + " " + H.S(frame.get$member()) + "\n";
13270 } 13914 }, null, null, 2, 0, null, 42, "call"]
13271 } 13915 }
13272 }], 13916 }],
13273 ]; 13917 ];
13274 setupProgram(dart, 0); 13918 setupProgram(dart, 0);
13275 // getInterceptor methods 13919 // getInterceptor methods
13276 J.getInterceptor = function(receiver) { 13920 J.getInterceptor = function(receiver) {
13277 if (typeof receiver == "number") { 13921 if (typeof receiver == "number") {
13278 if (Math.floor(receiver) == receiver) 13922 if (Math.floor(receiver) == receiver)
13279 return J.JSInt.prototype; 13923 return J.JSInt.prototype;
13280 return J.JSDouble.prototype; 13924 return J.JSDouble.prototype;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
13353 return receiver; 13997 return receiver;
13354 if (receiver instanceof P.Object) 13998 if (receiver instanceof P.Object)
13355 return receiver; 13999 return receiver;
13356 return J.getNativeInterceptor(receiver); 14000 return J.getNativeInterceptor(receiver);
13357 }; 14001 };
13358 J.$add$ns = function(receiver, a0) { 14002 J.$add$ns = function(receiver, a0) {
13359 if (typeof receiver == "number" && typeof a0 == "number") 14003 if (typeof receiver == "number" && typeof a0 == "number")
13360 return receiver + a0; 14004 return receiver + a0;
13361 return J.getInterceptor$ns(receiver).$add(receiver, a0); 14005 return J.getInterceptor$ns(receiver).$add(receiver, a0);
13362 }; 14006 };
14007 J.$and$n = function(receiver, a0) {
14008 if (typeof receiver == "number" && typeof a0 == "number")
14009 return (receiver & a0) >>> 0;
14010 return J.getInterceptor$n(receiver).$and(receiver, a0);
14011 };
13363 J.$eq = function(receiver, a0) { 14012 J.$eq = function(receiver, a0) {
13364 if (receiver == null) 14013 if (receiver == null)
13365 return a0 == null; 14014 return a0 == null;
13366 if (typeof receiver != "object") 14015 if (typeof receiver != "object")
13367 return a0 != null && receiver === a0; 14016 return a0 != null && receiver === a0;
13368 return J.getInterceptor(receiver).$eq(receiver, a0); 14017 return J.getInterceptor(receiver).$eq(receiver, a0);
13369 }; 14018 };
13370 J.$ge$n = function(receiver, a0) { 14019 J.$ge$n = function(receiver, a0) {
13371 if (typeof receiver == "number" && typeof a0 == "number") 14020 if (typeof receiver == "number" && typeof a0 == "number")
13372 return receiver >= a0; 14021 return receiver >= a0;
(...skipping 13 matching lines...) Expand all
13386 J.$indexSet$ax = function(receiver, a0, a1) { 14035 J.$indexSet$ax = function(receiver, a0, a1) {
13387 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init. dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r eceiver.length) 14036 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init. dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r eceiver.length)
13388 return receiver[a0] = a1; 14037 return receiver[a0] = a1;
13389 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); 14038 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
13390 }; 14039 };
13391 J.$lt$n = function(receiver, a0) { 14040 J.$lt$n = function(receiver, a0) {
13392 if (typeof receiver == "number" && typeof a0 == "number") 14041 if (typeof receiver == "number" && typeof a0 == "number")
13393 return receiver < a0; 14042 return receiver < a0;
13394 return J.getInterceptor$n(receiver).$lt(receiver, a0); 14043 return J.getInterceptor$n(receiver).$lt(receiver, a0);
13395 }; 14044 };
14045 J.$shl$n = function(receiver, a0) {
14046 return J.getInterceptor$n(receiver).$shl(receiver, a0);
14047 };
13396 J.$sub$n = function(receiver, a0) { 14048 J.$sub$n = function(receiver, a0) {
13397 if (typeof receiver == "number" && typeof a0 == "number") 14049 if (typeof receiver == "number" && typeof a0 == "number")
13398 return receiver - a0; 14050 return receiver - a0;
13399 return J.getInterceptor$n(receiver).$sub(receiver, a0); 14051 return J.getInterceptor$n(receiver).$sub(receiver, a0);
13400 }; 14052 };
13401 J._addEventListener$3$x = function(receiver, a0, a1, a2) { 14053 J._addEventListener$3$x = function(receiver, a0, a1, a2) {
13402 return J.getInterceptor$x(receiver)._addEventListener$3(receiver, a0, a1, a2); 14054 return J.getInterceptor$x(receiver)._addEventListener$3(receiver, a0, a1, a2);
13403 }; 14055 };
13404 J._removeEventListener$3$x = function(receiver, a0, a1, a2) { 14056 J._removeEventListener$3$x = function(receiver, a0, a1, a2) {
13405 return J.getInterceptor$x(receiver)._removeEventListener$3(receiver, a0, a1, a 2); 14057 return J.getInterceptor$x(receiver)._removeEventListener$3(receiver, a0, a1, a 2);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
13451 }; 14103 };
13452 J.get$location$x = function(receiver) { 14104 J.get$location$x = function(receiver) {
13453 return J.getInterceptor$x(receiver).get$location(receiver); 14105 return J.getInterceptor$x(receiver).get$location(receiver);
13454 }; 14106 };
13455 J.get$message$x = function(receiver) { 14107 J.get$message$x = function(receiver) {
13456 return J.getInterceptor$x(receiver).get$message(receiver); 14108 return J.getInterceptor$x(receiver).get$message(receiver);
13457 }; 14109 };
13458 J.get$parent$x = function(receiver) { 14110 J.get$parent$x = function(receiver) {
13459 return J.getInterceptor$x(receiver).get$parent(receiver); 14111 return J.getInterceptor$x(receiver).get$parent(receiver);
13460 }; 14112 };
14113 J.get$print$x = function(receiver) {
14114 return J.getInterceptor$x(receiver).get$print(receiver);
14115 };
14116 J.get$result$x = function(receiver) {
14117 return J.getInterceptor$x(receiver).get$result(receiver);
14118 };
13461 J.get$src$x = function(receiver) { 14119 J.get$src$x = function(receiver) {
13462 return J.getInterceptor$x(receiver).get$src(receiver); 14120 return J.getInterceptor$x(receiver).get$src(receiver);
13463 }; 14121 };
13464 J.get$start$x = function(receiver) { 14122 J.get$start$x = function(receiver) {
13465 return J.getInterceptor$x(receiver).get$start(receiver); 14123 return J.getInterceptor$x(receiver).get$start(receiver);
13466 }; 14124 };
13467 J.map$1$ax = function(receiver, a0) { 14125 J.map$1$ax = function(receiver, a0) {
13468 return J.getInterceptor$ax(receiver).map$1(receiver, a0); 14126 return J.getInterceptor$ax(receiver).map$1(receiver, a0);
13469 }; 14127 };
13470 J.matchAsPrefix$2$s = function(receiver, a0, a1) { 14128 J.matchAsPrefix$2$s = function(receiver, a0, a1) {
13471 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); 14129 return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
13472 }; 14130 };
14131 J.noSuchMethod$1 = function(receiver, a0) {
14132 return J.getInterceptor(receiver).noSuchMethod$1(receiver, a0);
14133 };
13473 J.postMessage$2$x = function(receiver, a0, a1) { 14134 J.postMessage$2$x = function(receiver, a0, a1) {
13474 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); 14135 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1);
13475 }; 14136 };
13476 J.print$1$x = function(receiver, a0) { 14137 J.print$1$x = function(receiver, a0) {
13477 return J.getInterceptor$x(receiver).print$1(receiver, a0); 14138 return J.getInterceptor$x(receiver).print$1(receiver, a0);
13478 }; 14139 };
13479 J.replaceAll$2$s = function(receiver, a0, a1) { 14140 J.replaceAll$2$s = function(receiver, a0, a1) {
13480 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); 14141 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1);
13481 }; 14142 };
13482 J.replaceFirst$2$s = function(receiver, a0, a1) { 14143 J.replaceFirst$2$s = function(receiver, a0, a1) {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
13673 C.JsonCodec_null_null = new P.JsonCodec(null, null); 14334 C.JsonCodec_null_null = new P.JsonCodec(null, null);
13674 C.JsonDecoder_null = new P.JsonDecoder(null); 14335 C.JsonDecoder_null = new P.JsonDecoder(null);
13675 C.JsonEncoder_null_null = new P.JsonEncoder(null, null); 14336 C.JsonEncoder_null_null = new P.JsonEncoder(null, null);
13676 C.List_127_2047_65535_1114111 = H.setRuntimeTypeInfo(Isolate.makeConstantList([1 27, 2047, 65535, 1114111]), [P.$int]); 14337 C.List_127_2047_65535_1114111 = H.setRuntimeTypeInfo(Isolate.makeConstantList([1 27, 2047, 65535, 1114111]), [P.$int]);
13677 C.List_2Vk = Isolate.makeConstantList([0, 0, 32776, 33792, 1, 10240, 0, 0]); 14338 C.List_2Vk = Isolate.makeConstantList([0, 0, 32776, 33792, 1, 10240, 0, 0]);
13678 C.List_CVk = Isolate.makeConstantList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]); 14339 C.List_CVk = Isolate.makeConstantList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]);
13679 C.List_JYB = Isolate.makeConstantList([0, 0, 26624, 1023, 65534, 2047, 65534, 20 47]); 14340 C.List_JYB = Isolate.makeConstantList([0, 0, 26624, 1023, 65534, 2047, 65534, 20 47]);
13680 C.List_WnV = Isolate.makeConstantList(["/", "\\"]); 14341 C.List_WnV = Isolate.makeConstantList(["/", "\\"]);
13681 C.List_cSk = Isolate.makeConstantList(["/"]); 14342 C.List_cSk = Isolate.makeConstantList(["/"]);
13682 C.List_empty = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.String]); 14343 C.List_empty = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.String]);
14344 C.List_empty0 = Isolate.makeConstantList([]);
13683 C.List_gRj = Isolate.makeConstantList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]); 14345 C.List_gRj = Isolate.makeConstantList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]);
13684 C.List_nxB = Isolate.makeConstantList([0, 0, 24576, 1023, 65534, 34815, 65534, 1 8431]); 14346 C.List_nxB = Isolate.makeConstantList([0, 0, 24576, 1023, 65534, 34815, 65534, 1 8431]);
13685 C.List_qNA = Isolate.makeConstantList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]); 14347 C.List_qNA = Isolate.makeConstantList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]);
13686 C.List_qg4 = Isolate.makeConstantList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]); 14348 C.List_qg4 = Isolate.makeConstantList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]);
13687 C.List_qg40 = Isolate.makeConstantList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]); 14349 C.List_qg40 = Isolate.makeConstantList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]);
14350 C.Symbol_call = new H.Symbol0("call");
13688 C.Utf8Codec_false = new P.Utf8Codec(false); 14351 C.Utf8Codec_false = new P.Utf8Codec(false);
13689 C._ZoneFunction_3bB = new P._ZoneFunction(C.C__RootZone, P._rootCreatePeriodicTi mer$closure()); 14352 C._ZoneFunction_3bB = new P._ZoneFunction(C.C__RootZone, P._rootCreatePeriodicTi mer$closure());
13690 C._ZoneFunction_7G2 = new P._ZoneFunction(C.C__RootZone, P._rootRegisterBinaryCa llback$closure()); 14353 C._ZoneFunction_7G2 = new P._ZoneFunction(C.C__RootZone, P._rootRegisterBinaryCa llback$closure());
13691 C._ZoneFunction_Eeh = new P._ZoneFunction(C.C__RootZone, P._rootRegisterUnaryCal lback$closure()); 14354 C._ZoneFunction_Eeh = new P._ZoneFunction(C.C__RootZone, P._rootRegisterUnaryCal lback$closure());
13692 C._ZoneFunction_NMc = new P._ZoneFunction(C.C__RootZone, P._rootHandleUncaughtEr ror$closure()); 14355 C._ZoneFunction_NMc = new P._ZoneFunction(C.C__RootZone, P._rootHandleUncaughtEr ror$closure());
13693 C._ZoneFunction__RootZone__rootCreateTimer = new P._ZoneFunction(C.C__RootZone, P._rootCreateTimer$closure()); 14356 C._ZoneFunction__RootZone__rootCreateTimer = new P._ZoneFunction(C.C__RootZone, P._rootCreateTimer$closure());
13694 C._ZoneFunction__RootZone__rootErrorCallback = new P._ZoneFunction(C.C__RootZone , P._rootErrorCallback$closure()); 14357 C._ZoneFunction__RootZone__rootErrorCallback = new P._ZoneFunction(C.C__RootZone , P._rootErrorCallback$closure());
13695 C._ZoneFunction__RootZone__rootFork = new P._ZoneFunction(C.C__RootZone, P._root Fork$closure()); 14358 C._ZoneFunction__RootZone__rootFork = new P._ZoneFunction(C.C__RootZone, P._root Fork$closure());
13696 C._ZoneFunction__RootZone__rootPrint = new P._ZoneFunction(C.C__RootZone, P._roo tPrint$closure()); 14359 C._ZoneFunction__RootZone__rootPrint = new P._ZoneFunction(C.C__RootZone, P._roo tPrint$closure());
13697 C._ZoneFunction__RootZone__rootRegisterCallback = new P._ZoneFunction(C.C__RootZ one, P._rootRegisterCallback$closure()); 14360 C._ZoneFunction__RootZone__rootRegisterCallback = new P._ZoneFunction(C.C__RootZ one, P._rootRegisterCallback$closure());
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
13806 } 14469 }
13807 }()); 14470 }());
13808 }, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get $_AsyncRun_scheduleImmediateClosure", function() { 14471 }, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get $_AsyncRun_scheduleImmediateClosure", function() {
13809 return P._AsyncRun__initializeScheduleImmediate(); 14472 return P._AsyncRun__initializeScheduleImmediate();
13810 }, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", f unction() { 14473 }, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", f unction() {
13811 return P._Future$immediate(null, null); 14474 return P._Future$immediate(null, null);
13812 }, "_nullFuture", "_RootZone__rootMap", "get$_RootZone__rootMap", function() { 14475 }, "_nullFuture", "_RootZone__rootMap", "get$_RootZone__rootMap", function() {
13813 return P.HashMap_HashMap(null, null, null, null, null); 14476 return P.HashMap_HashMap(null, null, null, null, null);
13814 }, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisi ting", function() { 14477 }, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisi ting", function() {
13815 return []; 14478 return [];
13816 }, "_toStringVisiting", "_vmFrame", "get$_vmFrame", function() { 14479 }, "_toStringVisiting", "context", "get$context", function() {
14480 return P._wrapToDart(self);
14481 }, "context", "_DART_OBJECT_PROPERTY_NAME", "get$_DART_OBJECT_PROPERTY_NAME", fu nction() {
14482 return H.getIsolateAffinityTag("_$dart_dartObject");
14483 }, "_DART_OBJECT_PROPERTY_NAME", "_DART_CLOSURE_PROPERTY_NAME", "get$_DART_CLOSU RE_PROPERTY_NAME", function() {
14484 return H.getIsolateAffinityTag("_$dart_dartClosure");
14485 }, "_DART_CLOSURE_PROPERTY_NAME", "_dartProxyCtor", "get$_dartProxyCtor", functi on() {
14486 return function DartObject(o) {
14487 this.o = o;
14488 };
14489 }, "_dartProxyCtor", "_vmFrame", "get$_vmFrame", function() {
13817 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true, false); 14490 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true, false);
13818 }, "_vmFrame", "_v8Frame", "get$_v8Frame", function() { 14491 }, "_vmFrame", "_v8Frame", "get$_v8Frame", function() {
13819 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|( .*))$", true, false); 14492 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|( .*))$", true, false);
13820 }, "_v8Frame", "_v8UrlLocation", "get$_v8UrlLocation", function() { 14493 }, "_v8Frame", "_v8UrlLocation", "get$_v8UrlLocation", function() {
13821 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false); 14494 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false);
13822 }, "_v8UrlLocation", "_v8EvalLocation", "get$_v8EvalLocation", function() { 14495 }, "_v8UrlLocation", "_v8EvalLocation", "get$_v8EvalLocation", function() {
13823 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", true, false); 14496 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", true, false);
13824 }, "_v8EvalLocation", "_firefoxSafariFrame", "get$_firefoxSafariFrame", function () { 14497 }, "_v8EvalLocation", "_firefoxSafariFrame", "get$_firefoxSafariFrame", function () {
13825 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@) ?(.*?):(\\d*)(?::(\\d*))?$", true, false); 14498 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@) ?(.*?):(\\d*)(?::(\\d*))?$", true, false);
13826 }, "_firefoxSafariFrame", "_friendlyFrame", "get$_friendlyFrame", function() { 14499 }, "_firefoxSafariFrame", "_friendlyFrame", "get$_friendlyFrame", function() {
13827 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru e, false); 14500 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", tru e, false);
13828 }, "_friendlyFrame", "_asyncBody", "get$_asyncBody", function() { 14501 }, "_friendlyFrame", "_asyncBody", "get$_asyncBody", function() {
13829 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false ); 14502 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false );
13830 }, "_asyncBody", "_initialDot", "get$_initialDot", function() { 14503 }, "_asyncBody", "_initialDot", "get$_initialDot", function() {
13831 return P.RegExp_RegExp("^\\.", true, false); 14504 return P.RegExp_RegExp("^\\.", true, false);
13832 }, "_initialDot", "Frame__uriRegExp", "get$Frame__uriRegExp", function() { 14505 }, "_initialDot", "Frame__uriRegExp", "get$Frame__uriRegExp", function() {
13833 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); 14506 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false);
13834 }, "_uriRegExp", "Frame__windowsRegExp", "get$Frame__windowsRegExp", function() { 14507 }, "_uriRegExp", "Frame__windowsRegExp", "get$Frame__windowsRegExp", function() {
13835 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); 14508 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false);
13836 }, "_windowsRegExp", "windows", "get$windows", function() { 14509 }, "_windowsRegExp", "windows", "get$windows", function() {
13837 return F.Context_Context(null, $.get$Style_windows()); 14510 return F.Context_Context(null, $.get$Style_windows());
13838 }, "windows", "context", "get$context", function() { 14511 }, "windows", "context0", "get$context0", function() {
13839 return new F.Context($.get$Style_platform(), null); 14512 return new F.Context($.get$Style_platform(), null);
13840 }, "context", "Style_posix", "get$Style_posix", function() { 14513 }, "context", "Style_posix", "get$Style_posix", function() {
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); 14514 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);
13842 }, "posix", "Style_windows", "get$Style_windows", function() { 14515 }, "posix", "Style_windows", "get$Style_windows", function() {
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)); 14516 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));
13844 }, "windows", "Style_url", "get$Style_url", function() { 14517 }, "windows", "Style_url", "get$Style_url", function() {
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)); 14518 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));
13846 }, "url", "Style_platform", "get$Style_platform", function() { 14519 }, "url", "Style_platform", "get$Style_platform", function() {
13847 return S.Style__getPlatformStyle(); 14520 return S.Style__getPlatformStyle();
13848 }, "platform", "_terseRegExp", "get$_terseRegExp", function() { 14521 }, "platform", "_terseRegExp", "get$_terseRegExp", function() {
13849 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); 14522 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false);
13850 }, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() { 14523 }, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() {
13851 return P.RegExp_RegExp("\\n ?at ", true, false); 14524 return P.RegExp_RegExp("\\n ?at ", true, false);
13852 }, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() { 14525 }, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() {
13853 return P.RegExp_RegExp(" ?at ", true, false); 14526 return P.RegExp_RegExp(" ?at ", true, false);
13854 }, "_v8TraceLine", "_firefoxSafariTrace", "get$_firefoxSafariTrace", function() { 14527 }, "_v8TraceLine", "_firefoxSafariTrace", "get$_firefoxSafariTrace", function() {
13855 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true, true); 14528 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true, true);
13856 }, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() { 14529 }, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() {
13857 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); 14530 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true);
13858 }, "_friendlyTrace"]); 14531 }, "_friendlyTrace"]);
13859 ; 14532 ;
13860 14533
13861 { 14534 {
13862 init.metadata = [null]; 14535 init.metadata = ["object", "sender", "e", "x", "closure", "isolate", "numberOf Arguments", "arg1", "arg2", "arg3", "arg4", "each", "value", null, "error", "sta ckTrace", "self", "parent", "zone", "f", "arg", "duration", "callback", "line", "specification", "zoneValues", "_", "ignored", "element", "data", "s", "a", "k", "v", 0, "key", "encodedComponent", "byteString", "captureThis", "arguments", "o ", "message", "frame"];
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]}]; 14536 init.types = [{func: 1}, {func: 1, void: true, args: [, P.StackTrace]}, {func: 1, void: true}, {func: 1, args: [,]}, {func: 1, args: [P.String,,]}, {func: 1, args: [, P.String]}, {func: 1, args: [P.String]}, {func: 1, args: [{func: 1, voi d: true}]}, {func: 1, void: true, args: [,], opt: [P.StackTrace]}, {func: 1, arg s: [,], opt: [,]}, {func: 1, ret: P.bool}, {func: 1, args: [P.bool]}, {func: 1, void: true, args: [P.Object], opt: [P.StackTrace]}, {func: 1, void: true, args: [P.Object, P.StackTrace]}, {func: 1, args: [, P.StackTrace]}, {func: 1, args: [P .Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, {func: 1}]}, {func: 1, args: [P .Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, {func: 1, args: [,,]}, ,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, {func: 1}]}, {func: 1, ret: {func : 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncErro r, args: [P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: tru e, 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.Zon e, named: {specification: P.ZoneSpecification, zoneValues: P.Map}}, {func: 1, ar gs: [{func: 1}]}, {func: 1, args: [{func: 1, args: [,]},,]}, {func: 1, args: [{f unc: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1 , ret: {func: 1, args: [,]}, args: [{func: 1, args: [,]}]}, {func: 1, ret: {func : 1, args: [,,]}, args: [{func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, a rgs: [P.Object, P.StackTrace]}, {func: 1, void: true, args: [{func: 1, void: tru e}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true, args: [P.Timer]}]}, { func: 1, void: true, args: [P.String]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [,,]}, {func: 1, ret: P.$int, args: [, P.$int]}, {func: 1, void: true, args: [P.$int, P.$int]}, {func: 1, args: [P.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]}];
13864 } 14537 }
13865 14538
13866 $ = null; 14539 $ = null;
13867 Isolate = Isolate.$finishIsolateConstructor(Isolate); 14540 Isolate = Isolate.$finishIsolateConstructor(Isolate);
13868 $ = new Isolate(); 14541 $ = new Isolate();
13869 function convertToFastObject(properties) { 14542 function convertToFastObject(properties) {
13870 function MyClass() { 14543 function MyClass() {
13871 } 14544 }
13872 MyClass.prototype = properties; 14545 MyClass.prototype = properties;
13873 new MyClass(); 14546 new MyClass();
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
14021 else 14694 else
14022 (function(a) { 14695 (function(a) {
14023 H.startRootIsolate(R.main$closure(), a); 14696 H.startRootIsolate(R.main$closure(), a);
14024 })([]); 14697 })([]);
14025 }); 14698 });
14026 ; 14699 ;
14027 // END invoke [main]. 14700 // END invoke [main].
14028 })() 14701 })()
14029 14702
14030 //# sourceMappingURL=host.dart.js.map 14703 //# sourceMappingURL=host.dart.js.map
OLDNEW
« no previous file with comments | « lib/src/runner/browser/static/host.dart ('k') | lib/src/runner/browser/static/host.dart.js.map » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698