OLD | NEW |
1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.14.0-edge.f8
87b03b5b21735a292ef599d132568b661ce29b. | 1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.18.1. |
2 // The code supports the following hooks: | 2 // The code supports the following hooks: |
3 // dartPrint(message): | 3 // dartPrint(message): |
4 // if this function is defined it is called instead of the Dart [print] | 4 // if this function is defined it is called instead of the Dart [print] |
5 // method. | 5 // method. |
6 // | 6 // |
7 // dartMainRunner(main, args): | 7 // dartMainRunner(main, args): |
8 // if this function is defined, the Dart [main] method will not be invoked | 8 // if this function is defined, the Dart [main] method will not be invoked |
9 // directly. Instead, a closure that will invoke [main], and its arguments | 9 // directly. Instead, a closure that will invoke [main], and its arguments |
10 // [args] is passed to [dartMainRunner]. | 10 // [args] is passed to [dartMainRunner]. |
11 // | 11 // |
12 // dartDeferredLibraryLoader(uri, successCallback, errorCallback): | 12 // dartDeferredLibraryLoader(uri, successCallback, errorCallback): |
13 // if this function is defined, it will be called when a deferered library | 13 // if this function is defined, it will be called when a deferered library |
14 // is loaded. It should load and eval the javascript of `uri`, and call | 14 // is loaded. It should load and eval the javascript of `uri`, and call |
15 // successCallback. If it fails to do so, it should call errorCallback with | 15 // successCallback. If it fails to do so, it should call errorCallback with |
16 // an error. | 16 // an error. |
17 (function() { | 17 (function() { |
18 // /* ::norenaming:: */ | 18 // /* ::norenaming:: */ |
19 var supportsDirectProtoAccess = function() { | 19 var supportsDirectProtoAccess = function() { |
20 var cls = function() { | 20 var cls = function() { |
21 }; | 21 }; |
22 cls.prototype = {p: {}}; | 22 cls.prototype = {p: {}}; |
23 var object = new cls(); | 23 var object = new cls(); |
24 return object.__proto__ && object.__proto__.p === cls.prototype.p; | 24 if (!(object.__proto__ && object.__proto__.p === cls.prototype.p)) |
| 25 return false; |
| 26 try { |
| 27 if (typeof navigator != "undefined" && typeof navigator.userAgent == "stri
ng" && navigator.userAgent.indexOf("Chrome/") >= 0) |
| 28 return true; |
| 29 if (typeof version == "function" && version.length == 0) { |
| 30 var v = version(); |
| 31 if (/^\d+\.\d+\.\d+\.\d+$/.test(v)) |
| 32 return true; |
| 33 } |
| 34 } catch (_) { |
| 35 } |
| 36 return false; |
25 }(); | 37 }(); |
26 function map(x) { | 38 function map(x) { |
27 x = Object.create(null); | 39 x = Object.create(null); |
28 x.x = 0; | 40 x.x = 0; |
29 delete x.x; | 41 delete x.x; |
30 return x; | 42 return x; |
31 } | 43 } |
32 // The global objects start as so-called "slow objects". For V8, this | 44 // The global objects start as so-called "slow objects". For V8, this |
33 // means that it won't try to make map transitions as we add properties | 45 // means that it won't try to make map transitions as we add properties |
34 // to these objects. Later on, we attempt to turn these objects into | 46 // to these objects. Later on, we attempt to turn these objects into |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 return receiver === other; | 590 return receiver === other; |
579 }, | 591 }, |
580 get$hashCode: function(receiver) { | 592 get$hashCode: function(receiver) { |
581 return H.Primitives_objectHashCode(receiver); | 593 return H.Primitives_objectHashCode(receiver); |
582 }, | 594 }, |
583 toString$0: ["super$Interceptor$toString", function(receiver) { | 595 toString$0: ["super$Interceptor$toString", function(receiver) { |
584 return H.Primitives_objectToHumanReadableString(receiver); | 596 return H.Primitives_objectToHumanReadableString(receiver); |
585 }], | 597 }], |
586 noSuchMethod$1: ["super$Interceptor$noSuchMethod", function(receiver, invo
cation) { | 598 noSuchMethod$1: ["super$Interceptor$noSuchMethod", function(receiver, invo
cation) { |
587 throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memb
erName(), invocation.get$positionalArguments(), invocation.get$namedArguments(),
null)); | 599 throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memb
erName(), invocation.get$positionalArguments(), invocation.get$namedArguments(),
null)); |
588 }, null, "get$noSuchMethod", 2, 0, null, 24], | 600 }], |
589 "%": "MediaError|MediaKeyError|SVGAnimatedLength|SVGAnimatedLengthList|SVG
AnimatedNumber|SVGAnimatedNumberList|SVGAnimatedString|SVGAnimatedTransformList" | 601 "%": "MediaError|MediaKeyError|PushMessageData|SVGAnimatedLength|SVGAnimat
edLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedString|SVGAnimat
edTransformList" |
590 }, | 602 }, |
591 JSBool: { | 603 JSBool: { |
592 "^": "Interceptor;", | 604 "^": "Interceptor;", |
593 toString$0: function(receiver) { | 605 toString$0: function(receiver) { |
594 return String(receiver); | 606 return String(receiver); |
595 }, | 607 }, |
596 get$hashCode: function(receiver) { | 608 get$hashCode: function(receiver) { |
597 return receiver ? 519018 : 218159; | 609 return receiver ? 519018 : 218159; |
598 }, | 610 }, |
599 $isbool: 1 | 611 $isbool: 1 |
600 }, | 612 }, |
601 JSNull: { | 613 JSNull: { |
602 "^": "Interceptor;", | 614 "^": "Interceptor;", |
603 $eq: function(receiver, other) { | 615 $eq: function(receiver, other) { |
604 return null == other; | 616 return null == other; |
605 }, | 617 }, |
606 toString$0: function(receiver) { | 618 toString$0: function(receiver) { |
607 return "null"; | 619 return "null"; |
608 }, | 620 }, |
609 get$hashCode: function(receiver) { | 621 get$hashCode: function(receiver) { |
610 return 0; | 622 return 0; |
611 }, | 623 }, |
612 noSuchMethod$1: [function(receiver, invocation) { | 624 noSuchMethod$1: function(receiver, invocation) { |
613 return this.super$Interceptor$noSuchMethod(receiver, invocation); | 625 return this.super$Interceptor$noSuchMethod(receiver, invocation); |
614 }, null, "get$noSuchMethod", 2, 0, null, 24] | 626 } |
615 }, | 627 }, |
616 JavaScriptObject: { | 628 JavaScriptObject: { |
617 "^": "Interceptor;", | 629 "^": "Interceptor;", |
618 get$hashCode: function(receiver) { | 630 get$hashCode: function(receiver) { |
619 return 0; | 631 return 0; |
620 }, | 632 }, |
621 toString$0: ["super$JavaScriptObject$toString", function(receiver) { | 633 toString$0: ["super$JavaScriptObject$toString", function(receiver) { |
622 return String(receiver); | 634 return String(receiver); |
623 }], | 635 }], |
624 $isJSObject: 1 | 636 $isJSObject: 1 |
625 }, | 637 }, |
626 PlainJavaScriptObject: { | 638 PlainJavaScriptObject: { |
627 "^": "JavaScriptObject;" | 639 "^": "JavaScriptObject;" |
628 }, | 640 }, |
629 UnknownJavaScriptObject: { | 641 UnknownJavaScriptObject: { |
630 "^": "JavaScriptObject;" | 642 "^": "JavaScriptObject;" |
631 }, | 643 }, |
632 JavaScriptFunction: { | 644 JavaScriptFunction: { |
633 "^": "JavaScriptObject;", | 645 "^": "JavaScriptObject;", |
634 toString$0: function(receiver) { | 646 toString$0: function(receiver) { |
635 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; | 647 var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; |
636 return dartClosure == null ? this.super$JavaScriptObject$toString(receiv
er) : J.toString$0$(dartClosure); | 648 return dartClosure == null ? this.super$JavaScriptObject$toString(receiv
er) : J.toString$0$(dartClosure); |
637 }, | 649 }, |
638 $isFunction: 1 | 650 $isFunction: 1, |
| 651 $signature: function() { |
| 652 return {func: 1, opt: [,,,,,,,,,,,,,,,,]}; |
| 653 } |
639 }, | 654 }, |
640 JSArray: { | 655 JSArray: { |
641 "^": "Interceptor;", | 656 "^": "Interceptor;", |
642 checkMutable$1: function(receiver, reason) { | 657 checkMutable$1: function(receiver, reason) { |
643 if (!!receiver.immutable$list) | 658 if (!!receiver.immutable$list) |
644 throw H.wrapException(new P.UnsupportedError(reason)); | 659 throw H.wrapException(new P.UnsupportedError(reason)); |
645 }, | 660 }, |
646 checkGrowable$1: function(receiver, reason) { | 661 checkGrowable$1: function(receiver, reason) { |
647 if (!!receiver.fixed$length) | 662 if (!!receiver.fixed$length) |
648 throw H.wrapException(new P.UnsupportedError(reason)); | 663 throw H.wrapException(new P.UnsupportedError(reason)); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 if (receiver.length > 0) | 765 if (receiver.length > 0) |
751 return receiver[0]; | 766 return receiver[0]; |
752 throw H.wrapException(H.IterableElementError_noElement()); | 767 throw H.wrapException(H.IterableElementError_noElement()); |
753 }, | 768 }, |
754 get$last: function(receiver) { | 769 get$last: function(receiver) { |
755 var t1 = receiver.length; | 770 var t1 = receiver.length; |
756 if (t1 > 0) | 771 if (t1 > 0) |
757 return receiver[t1 - 1]; | 772 return receiver[t1 - 1]; |
758 throw H.wrapException(H.IterableElementError_noElement()); | 773 throw H.wrapException(H.IterableElementError_noElement()); |
759 }, | 774 }, |
| 775 get$single: function(receiver) { |
| 776 var t1 = receiver.length; |
| 777 if (t1 === 1) { |
| 778 if (0 >= t1) |
| 779 return H.ioore(receiver, 0); |
| 780 return receiver[0]; |
| 781 } |
| 782 if (t1 === 0) |
| 783 throw H.wrapException(H.IterableElementError_noElement()); |
| 784 throw H.wrapException(H.IterableElementError_tooMany()); |
| 785 }, |
760 setRange$4: function(receiver, start, end, iterable, skipCount) { | 786 setRange$4: function(receiver, start, end, iterable, skipCount) { |
761 var $length, i, t1; | 787 var $length, i, t1; |
762 this.checkMutable$1(receiver, "set range"); | 788 this.checkMutable$1(receiver, "set range"); |
763 P.RangeError_checkValidRange(start, end, receiver.length, null, null, nu
ll); | 789 P.RangeError_checkValidRange(start, end, receiver.length, null, null, nu
ll); |
764 $length = end - start; | 790 $length = end - start; |
765 if ($length === 0) | 791 if ($length === 0) |
766 return; | 792 return; |
767 if (skipCount < 0) | 793 if (skipCount < 0) |
768 H.throwExpression(P.RangeError$range(skipCount, 0, null, "skipCount",
null)); | 794 H.throwExpression(P.RangeError$range(skipCount, 0, null, "skipCount",
null)); |
769 if (skipCount + $length > iterable.length) | 795 if (skipCount + $length > iterable.length) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 this.set$length(receiver, newLength); | 830 this.set$length(receiver, newLength); |
805 } | 831 } |
806 } else { | 832 } else { |
807 newLength = t1 + (insertLength - removeLength); | 833 newLength = t1 + (insertLength - removeLength); |
808 this.set$length(receiver, newLength); | 834 this.set$length(receiver, newLength); |
809 this.setRange$4(receiver, insertEnd, newLength, receiver, end); | 835 this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
810 this.setRange$3(receiver, start, insertEnd, replacement); | 836 this.setRange$3(receiver, start, insertEnd, replacement); |
811 } | 837 } |
812 }, | 838 }, |
813 indexOf$2: function(receiver, element, start) { | 839 indexOf$2: function(receiver, element, start) { |
814 var t1, i; | 840 var i, t1; |
815 t1 = J.getInterceptor$n(start); | 841 if (start >= receiver.length) |
816 if (t1.$ge(start, receiver.length)) | |
817 return -1; | 842 return -1; |
818 if (t1.$lt(start, 0)) | 843 if (start < 0) |
819 start = 0; | 844 start = 0; |
820 for (i = start; J.$lt$n(i, receiver.length); ++i) { | 845 for (i = start; t1 = receiver.length, i < t1; ++i) { |
821 if (i >>> 0 !== i || i >= receiver.length) | 846 if (i >>> 0 !== i || i >= t1) |
822 return H.ioore(receiver, i); | 847 return H.ioore(receiver, i); |
823 if (J.$eq$(receiver[i], element)) | 848 if (J.$eq$(receiver[i], element)) |
824 return i; | 849 return i; |
825 } | 850 } |
826 return -1; | 851 return -1; |
827 }, | 852 }, |
828 indexOf$1: function($receiver, element) { | 853 indexOf$1: function($receiver, element) { |
829 return this.indexOf$2($receiver, element, 0); | 854 return this.indexOf$2($receiver, element, 0); |
830 }, | 855 }, |
831 contains$1: function(receiver, other) { | 856 contains$1: function(receiver, other) { |
832 var i; | 857 var i; |
833 for (i = 0; i < receiver.length; ++i) | 858 for (i = 0; i < receiver.length; ++i) |
834 if (J.$eq$(receiver[i], other)) | 859 if (J.$eq$(receiver[i], other)) |
835 return true; | 860 return true; |
836 return false; | 861 return false; |
837 }, | 862 }, |
838 get$isEmpty: function(receiver) { | 863 get$isEmpty: function(receiver) { |
839 return receiver.length === 0; | 864 return receiver.length === 0; |
840 }, | 865 }, |
841 get$isNotEmpty: function(receiver) { | 866 get$isNotEmpty: function(receiver) { |
842 return receiver.length !== 0; | 867 return receiver.length !== 0; |
843 }, | 868 }, |
844 toString$0: function(receiver) { | 869 toString$0: function(receiver) { |
845 return P.IterableBase_iterableToFullString(receiver, "[", "]"); | 870 return P.IterableBase_iterableToFullString(receiver, "[", "]"); |
846 }, | 871 }, |
847 toList$1$growable: function(receiver, growable) { | |
848 return H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(
receiver, 0)]); | |
849 }, | |
850 toList$0: function($receiver) { | |
851 return this.toList$1$growable($receiver, true); | |
852 }, | |
853 get$iterator: function(receiver) { | 872 get$iterator: function(receiver) { |
854 return new J.ArrayIterator(receiver, receiver.length, 0, null); | 873 return new J.ArrayIterator(receiver, receiver.length, 0, null); |
855 }, | 874 }, |
856 get$hashCode: function(receiver) { | 875 get$hashCode: function(receiver) { |
857 return H.Primitives_objectHashCode(receiver); | 876 return H.Primitives_objectHashCode(receiver); |
858 }, | 877 }, |
859 get$length: function(receiver) { | 878 get$length: function(receiver) { |
860 return receiver.length; | 879 return receiver.length; |
861 }, | 880 }, |
862 set$length: function(receiver, newLength) { | 881 set$length: function(receiver, newLength) { |
(...skipping 14 matching lines...) Expand all Loading... |
877 $indexSet: function(receiver, index, value) { | 896 $indexSet: function(receiver, index, value) { |
878 if (!!receiver.immutable$list) | 897 if (!!receiver.immutable$list) |
879 H.throwExpression(new P.UnsupportedError("indexed set")); | 898 H.throwExpression(new P.UnsupportedError("indexed set")); |
880 if (typeof index !== "number" || Math.floor(index) !== index) | 899 if (typeof index !== "number" || Math.floor(index) !== index) |
881 throw H.wrapException(H.diagnoseIndexError(receiver, index)); | 900 throw H.wrapException(H.diagnoseIndexError(receiver, index)); |
882 if (index >= receiver.length || index < 0) | 901 if (index >= receiver.length || index < 0) |
883 throw H.wrapException(H.diagnoseIndexError(receiver, index)); | 902 throw H.wrapException(H.diagnoseIndexError(receiver, index)); |
884 receiver[index] = value; | 903 receiver[index] = value; |
885 }, | 904 }, |
886 $isJSIndexable: 1, | 905 $isJSIndexable: 1, |
| 906 $asJSIndexable: Isolate.functionThatReturnsNull, |
887 $isList: 1, | 907 $isList: 1, |
888 $asList: null, | 908 $asList: null, |
889 $isEfficientLength: 1, | 909 $isEfficientLength: 1, |
890 static: {JSArray_JSArray$fixed: function($length, $E) { | 910 static: { |
| 911 JSArray_JSArray$fixed: function($length, $E) { |
891 var t1; | 912 var t1; |
892 if (typeof $length !== "number" || Math.floor($length) !== $length) | 913 if (typeof $length !== "number" || Math.floor($length) !== $length) |
893 throw H.wrapException(P.ArgumentError$value($length, "length", "is n
ot an integer")); | 914 throw H.wrapException(P.ArgumentError$value($length, "length", "is n
ot an integer")); |
894 if ($length < 0 || $length > 4294967295) | 915 if ($length < 0 || $length > 4294967295) |
895 throw H.wrapException(P.RangeError$range($length, 0, 4294967295, "le
ngth", null)); | 916 throw H.wrapException(P.RangeError$range($length, 0, 4294967295, "le
ngth", null)); |
896 t1 = H.setRuntimeTypeInfo(new Array($length), [$E]); | 917 t1 = H.setRuntimeTypeInfo(new Array($length), [$E]); |
897 t1.fixed$length = Array; | 918 t1.fixed$length = Array; |
898 return t1; | 919 return t1; |
899 }, JSArray_markUnmodifiableList: function(list) { | 920 }, |
| 921 JSArray_markUnmodifiableList: function(list) { |
900 list.fixed$length = Array; | 922 list.fixed$length = Array; |
901 list.immutable$list = Array; | 923 list.immutable$list = Array; |
902 return list; | 924 return list; |
903 }} | 925 } |
| 926 } |
904 }, | 927 }, |
905 JSUnmodifiableArray: { | 928 JSUnmodifiableArray: { |
906 "^": "JSArray;" | 929 "^": "JSArray;" |
907 }, | 930 }, |
908 ArrayIterator: { | 931 ArrayIterator: { |
909 "^": "Object;_iterable,__interceptors$_length,_index,__interceptors$_curre
nt", | 932 "^": "Object;__interceptors$_iterable,__interceptors$_length,_index,__inte
rceptors$_current", |
910 get$current: function() { | 933 get$current: function() { |
911 return this.__interceptors$_current; | 934 return this.__interceptors$_current; |
912 }, | 935 }, |
913 moveNext$0: function() { | 936 moveNext$0: function() { |
914 var t1, $length, t2; | 937 var t1, $length, t2; |
915 t1 = this._iterable; | 938 t1 = this.__interceptors$_iterable; |
916 $length = t1.length; | 939 $length = t1.length; |
917 if (this.__interceptors$_length !== $length) | 940 if (this.__interceptors$_length !== $length) |
918 throw H.wrapException(H.throwConcurrentModificationError(t1)); | 941 throw H.wrapException(H.throwConcurrentModificationError(t1)); |
919 t2 = this._index; | 942 t2 = this._index; |
920 if (t2 >= $length) { | 943 if (t2 >= $length) { |
921 this.__interceptors$_current = null; | 944 this.__interceptors$_current = null; |
922 return false; | 945 return false; |
923 } | 946 } |
924 this.__interceptors$_current = t1[t2]; | 947 this.__interceptors$_current = t1[t2]; |
925 this._index = t2 + 1; | 948 this._index = t2 + 1; |
(...skipping 11 matching lines...) Expand all Loading... |
937 toInt$0: function(receiver) { | 960 toInt$0: function(receiver) { |
938 var t1; | 961 var t1; |
939 if (receiver >= -2147483648 && receiver <= 2147483647) | 962 if (receiver >= -2147483648 && receiver <= 2147483647) |
940 return receiver | 0; | 963 return receiver | 0; |
941 if (isFinite(receiver)) { | 964 if (isFinite(receiver)) { |
942 t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); | 965 t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); |
943 return t1 + 0; | 966 return t1 + 0; |
944 } | 967 } |
945 throw H.wrapException(new P.UnsupportedError("" + receiver)); | 968 throw H.wrapException(new P.UnsupportedError("" + receiver)); |
946 }, | 969 }, |
947 round$0: function(receiver) { | |
948 if (receiver > 0) { | |
949 if (receiver !== 1 / 0) | |
950 return Math.round(receiver); | |
951 } else if (receiver > -1 / 0) | |
952 return 0 - Math.round(0 - receiver); | |
953 throw H.wrapException(new P.UnsupportedError("" + receiver)); | |
954 }, | |
955 toRadixString$1: function(receiver, radix) { | 970 toRadixString$1: function(receiver, radix) { |
956 var result, match, t1, exponent; | 971 var result, match, t1, exponent; |
957 H.checkInt(radix); | 972 H.checkInt(radix); |
958 if (radix < 2 || radix > 36) | 973 if (radix < 2 || radix > 36) |
959 throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null))
; | 974 throw H.wrapException(P.RangeError$range(radix, 2, 36, "radix", null))
; |
960 result = receiver.toString(radix); | 975 result = receiver.toString(radix); |
961 if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) | 976 if (C.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41) |
962 return result; | 977 return result; |
963 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); | 978 match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); |
964 if (match == null) | 979 if (match == null) |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 return H.iae(t1); | 1119 return H.iae(t1); |
1105 t1 = start > t1; | 1120 t1 = start > t1; |
1106 if (t1) | 1121 if (t1) |
1107 throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(st
ring), null, null)); | 1122 throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(st
ring), null, null)); |
1108 return new H._StringAllMatchesIterable(string, receiver, start); | 1123 return new H._StringAllMatchesIterable(string, receiver, start); |
1109 }, | 1124 }, |
1110 allMatches$1: function($receiver, string) { | 1125 allMatches$1: function($receiver, string) { |
1111 return this.allMatches$2($receiver, string, 0); | 1126 return this.allMatches$2($receiver, string, 0); |
1112 }, | 1127 }, |
1113 matchAsPrefix$2: function(receiver, string, start) { | 1128 matchAsPrefix$2: function(receiver, string, start) { |
1114 var t1, t2, i; | 1129 var t1, i; |
1115 t1 = J.getInterceptor$n(start); | 1130 if (start < 0 || start > string.length) |
1116 if (t1.$lt(start, 0) || t1.$gt(start, string.length)) | |
1117 throw H.wrapException(P.RangeError$range(start, 0, string.length, null
, null)); | 1131 throw H.wrapException(P.RangeError$range(start, 0, string.length, null
, null)); |
1118 t2 = receiver.length; | 1132 t1 = receiver.length; |
1119 if (J.$gt$n(t1.$add(start, t2), string.length)) | 1133 if (start + t1 > string.length) |
1120 return; | 1134 return; |
1121 for (i = 0; i < t2; ++i) | 1135 for (i = 0; i < t1; ++i) |
1122 if (this.codeUnitAt$1(string, t1.$add(start, i)) !== this.codeUnitAt$1
(receiver, i)) | 1136 if (this.codeUnitAt$1(string, start + i) !== this.codeUnitAt$1(receive
r, i)) |
1123 return; | 1137 return; |
1124 return new H.StringMatch(start, string, receiver); | 1138 return new H.StringMatch(start, string, receiver); |
1125 }, | 1139 }, |
1126 $add: function(receiver, other) { | 1140 $add: function(receiver, other) { |
1127 if (typeof other !== "string") | 1141 if (typeof other !== "string") |
1128 throw H.wrapException(P.ArgumentError$value(other, null, null)); | 1142 throw H.wrapException(P.ArgumentError$value(other, null, null)); |
1129 return receiver + other; | 1143 return receiver + other; |
1130 }, | 1144 }, |
1131 endsWith$1: function(receiver, other) { | 1145 endsWith$1: function(receiver, other) { |
1132 var otherLength, t1; | 1146 var otherLength, t1; |
(...skipping 21 matching lines...) Expand all Loading... |
1154 return receiver.split(pattern); | 1168 return receiver.split(pattern); |
1155 }, | 1169 }, |
1156 replaceRange$3: function(receiver, start, end, replacement) { | 1170 replaceRange$3: function(receiver, start, end, replacement) { |
1157 H.checkString(replacement); | 1171 H.checkString(replacement); |
1158 H.checkInt(start); | 1172 H.checkInt(start); |
1159 end = P.RangeError_checkValidRange(start, end, receiver.length, null, nu
ll, null); | 1173 end = P.RangeError_checkValidRange(start, end, receiver.length, null, nu
ll, null); |
1160 H.checkInt(end); | 1174 H.checkInt(end); |
1161 return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); | 1175 return H.stringReplaceRangeUnchecked(receiver, start, end, replacement); |
1162 }, | 1176 }, |
1163 startsWith$2: function(receiver, pattern, index) { | 1177 startsWith$2: function(receiver, pattern, index) { |
1164 var t1, endIndex; | 1178 var endIndex; |
1165 H.checkInt(index); | 1179 H.checkInt(index); |
1166 t1 = J.getInterceptor$n(index); | 1180 if (index < 0 || index > receiver.length) |
1167 if (t1.$lt(index, 0) || t1.$gt(index, receiver.length)) | |
1168 throw H.wrapException(P.RangeError$range(index, 0, receiver.length, nu
ll, null)); | 1181 throw H.wrapException(P.RangeError$range(index, 0, receiver.length, nu
ll, null)); |
1169 if (typeof pattern === "string") { | 1182 if (typeof pattern === "string") { |
1170 endIndex = t1.$add(index, pattern.length); | 1183 endIndex = index + pattern.length; |
1171 if (J.$gt$n(endIndex, receiver.length)) | 1184 if (endIndex > receiver.length) |
1172 return false; | 1185 return false; |
1173 return pattern === receiver.substring(index, endIndex); | 1186 return pattern === receiver.substring(index, endIndex); |
1174 } | 1187 } |
1175 return J.matchAsPrefix$2$s(pattern, receiver, index) != null; | 1188 return J.matchAsPrefix$2$s(pattern, receiver, index) != null; |
1176 }, | 1189 }, |
1177 startsWith$1: function($receiver, pattern) { | 1190 startsWith$1: function($receiver, pattern) { |
1178 return this.startsWith$2($receiver, pattern, 0); | 1191 return this.startsWith$2($receiver, pattern, 0); |
1179 }, | 1192 }, |
1180 substring$2: function(receiver, startIndex, endIndex) { | 1193 substring$2: function(receiver, startIndex, endIndex) { |
1181 var t1; | 1194 var t1; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 return receiver.length; | 1312 return receiver.length; |
1300 }, | 1313 }, |
1301 $index: function(receiver, index) { | 1314 $index: function(receiver, index) { |
1302 if (typeof index !== "number" || Math.floor(index) !== index) | 1315 if (typeof index !== "number" || Math.floor(index) !== index) |
1303 throw H.wrapException(H.diagnoseIndexError(receiver, index)); | 1316 throw H.wrapException(H.diagnoseIndexError(receiver, index)); |
1304 if (index >= receiver.length || index < 0) | 1317 if (index >= receiver.length || index < 0) |
1305 throw H.wrapException(H.diagnoseIndexError(receiver, index)); | 1318 throw H.wrapException(H.diagnoseIndexError(receiver, index)); |
1306 return receiver[index]; | 1319 return receiver[index]; |
1307 }, | 1320 }, |
1308 $isJSIndexable: 1, | 1321 $isJSIndexable: 1, |
| 1322 $asJSIndexable: Isolate.functionThatReturnsNull, |
1309 $isString: 1, | 1323 $isString: 1, |
1310 static: {JSString__isWhitespace: function(codeUnit) { | 1324 static: { |
| 1325 JSString__isWhitespace: function(codeUnit) { |
1311 if (codeUnit < 256) | 1326 if (codeUnit < 256) |
1312 switch (codeUnit) { | 1327 switch (codeUnit) { |
1313 case 9: | 1328 case 9: |
1314 case 10: | 1329 case 10: |
1315 case 11: | 1330 case 11: |
1316 case 12: | 1331 case 12: |
1317 case 13: | 1332 case 13: |
1318 case 32: | 1333 case 32: |
1319 case 133: | 1334 case 133: |
1320 case 160: | 1335 case 160: |
(...skipping 18 matching lines...) Expand all Loading... |
1339 case 8232: | 1354 case 8232: |
1340 case 8233: | 1355 case 8233: |
1341 case 8239: | 1356 case 8239: |
1342 case 8287: | 1357 case 8287: |
1343 case 12288: | 1358 case 12288: |
1344 case 65279: | 1359 case 65279: |
1345 return true; | 1360 return true; |
1346 default: | 1361 default: |
1347 return false; | 1362 return false; |
1348 } | 1363 } |
1349 }, JSString__skipLeadingWhitespace: function(string, index) { | 1364 }, |
| 1365 JSString__skipLeadingWhitespace: function(string, index) { |
1350 var t1, codeUnit; | 1366 var t1, codeUnit; |
1351 for (t1 = string.length; index < t1;) { | 1367 for (t1 = string.length; index < t1;) { |
1352 codeUnit = C.JSString_methods.codeUnitAt$1(string, index); | 1368 codeUnit = C.JSString_methods.codeUnitAt$1(string, index); |
1353 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(
codeUnit)) | 1369 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(
codeUnit)) |
1354 break; | 1370 break; |
1355 ++index; | 1371 ++index; |
1356 } | 1372 } |
1357 return index; | 1373 return index; |
1358 }, JSString__skipTrailingWhitespace: function(string, index) { | 1374 }, |
| 1375 JSString__skipTrailingWhitespace: function(string, index) { |
1359 var index0, codeUnit; | 1376 var index0, codeUnit; |
1360 for (; index > 0; index = index0) { | 1377 for (; index > 0; index = index0) { |
1361 index0 = index - 1; | 1378 index0 = index - 1; |
1362 codeUnit = C.JSString_methods.codeUnitAt$1(string, index0); | 1379 codeUnit = C.JSString_methods.codeUnitAt$1(string, index0); |
1363 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(
codeUnit)) | 1380 if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(
codeUnit)) |
1364 break; | 1381 break; |
1365 } | 1382 } |
1366 return index; | 1383 return index; |
1367 }} | 1384 } |
| 1385 } |
1368 } | 1386 } |
1369 }], ["_isolate_helper", "dart:_isolate_helper",, H, { | 1387 }], ["_isolate_helper", "dart:_isolate_helper",, H, { |
1370 "^": "", | 1388 "^": "", |
1371 _callInIsolate: function(isolate, $function) { | 1389 _callInIsolate: function(isolate, $function) { |
1372 var result = isolate.eval$1($function); | 1390 var result = isolate.eval$1($function); |
1373 if (!init.globalState.currentContext._isExecutingEvent) | 1391 if (!init.globalState.currentContext._isExecutingEvent) |
1374 init.globalState.topEventLoop.run$0(); | 1392 init.globalState.topEventLoop.run$0(); |
1375 return result; | 1393 return result; |
1376 }, | 1394 }, |
1377 startRootIsolate: function(entry, args) { | 1395 startRootIsolate: function(entry, args) { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 }(); | 1482 }(); |
1465 if (stack == null) | 1483 if (stack == null) |
1466 throw H.wrapException(new P.UnsupportedError("No stack trace")); | 1484 throw H.wrapException(new P.UnsupportedError("No stack trace")); |
1467 } | 1485 } |
1468 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "
m")); | 1486 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "
m")); |
1469 if (matches != null) | 1487 if (matches != null) |
1470 return matches[1]; | 1488 return matches[1]; |
1471 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m")); | 1489 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m")); |
1472 if (matches != null) | 1490 if (matches != null) |
1473 return matches[1]; | 1491 return matches[1]; |
1474 throw H.wrapException(new P.UnsupportedError("Cannot extract URI from \""
+ H.S(stack) + "\"")); | 1492 throw H.wrapException(new P.UnsupportedError('Cannot extract URI from "' +
H.S(stack) + '"')); |
1475 }, | 1493 }, |
1476 IsolateNatives__processWorkerMessage: [function(sender, e) { | 1494 IsolateNatives__processWorkerMessage: [function(sender, e) { |
1477 var msg, t1, functionName, entryPoint, args, message, isSpawnUri, startPau
sed, replyTo, t2, t3, t4, context; | 1495 var msg, t1, functionName, entryPoint, args, message, isSpawnUri, startPau
sed, replyTo, t2, t3, t4, context; |
1478 msg = new H._Deserializer(true, []).deserialize$1(e.data); | 1496 msg = new H._Deserializer(true, []).deserialize$1(e.data); |
1479 t1 = J.getInterceptor$asx(msg); | 1497 t1 = J.getInterceptor$asx(msg); |
1480 switch (t1.$index(msg, "command")) { | 1498 switch (t1.$index(msg, "command")) { |
1481 case "start": | 1499 case "start": |
1482 init.globalState.currentManagerId = t1.$index(msg, "id"); | 1500 init.globalState.currentManagerId = t1.$index(msg, "id"); |
1483 functionName = t1.$index(msg, "functionName"); | 1501 functionName = t1.$index(msg, "functionName"); |
1484 entryPoint = functionName == null ? init.globalState.entry : init.glob
alFunctions[functionName](); | 1502 entryPoint = functionName == null ? init.globalState.entry : init.glob
alFunctions[functionName](); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1519 t2 = P.LinkedHashMap__makeLiteral(["command", "print", "msg", msg]); | 1537 t2 = P.LinkedHashMap__makeLiteral(["command", "print", "msg", msg]); |
1520 t2 = new H._Serializer(true, P._LinkedIdentityHashMap__LinkedIdentit
yHashMap$es6(null, P.$int)).serialize$1(t2); | 1538 t2 = new H._Serializer(true, P._LinkedIdentityHashMap__LinkedIdentit
yHashMap$es6(null, P.$int)).serialize$1(t2); |
1521 t1.toString; | 1539 t1.toString; |
1522 self.postMessage(t2); | 1540 self.postMessage(t2); |
1523 } else | 1541 } else |
1524 P.print(t1.$index(msg, "msg")); | 1542 P.print(t1.$index(msg, "msg")); |
1525 break; | 1543 break; |
1526 case "error": | 1544 case "error": |
1527 throw H.wrapException(t1.$index(msg, "msg")); | 1545 throw H.wrapException(t1.$index(msg, "msg")); |
1528 } | 1546 } |
1529 }, null, null, 4, 0, null, 32, 33], | 1547 }, null, null, 4, 0, null, 35, 33], |
1530 IsolateNatives__log: function(msg) { | 1548 IsolateNatives__log: function(msg) { |
1531 var trace, t1, t2, exception; | 1549 var trace, t1, t2, exception; |
1532 if (init.globalState.isWorker === true) { | 1550 if (init.globalState.isWorker === true) { |
1533 t1 = init.globalState.mainManager; | 1551 t1 = init.globalState.mainManager; |
1534 t2 = P.LinkedHashMap__makeLiteral(["command", "log", "msg", msg]); | 1552 t2 = P.LinkedHashMap__makeLiteral(["command", "log", "msg", msg]); |
1535 t2 = new H._Serializer(true, P._LinkedIdentityHashMap__LinkedIdentityHas
hMap$es6(null, P.$int)).serialize$1(t2); | 1553 t2 = new H._Serializer(true, P._LinkedIdentityHashMap__LinkedIdentityHas
hMap$es6(null, P.$int)).serialize$1(t2); |
1536 t1.toString; | 1554 t1.toString; |
1537 self.postMessage(t2); | 1555 self.postMessage(t2); |
1538 } else | 1556 } else |
1539 try { | 1557 try { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 } | 1589 } |
1572 }, | 1590 }, |
1573 startRootIsolate_closure0: { | 1591 startRootIsolate_closure0: { |
1574 "^": "Closure:1;_box_0,entry", | 1592 "^": "Closure:1;_box_0,entry", |
1575 call$0: function() { | 1593 call$0: function() { |
1576 this.entry.call$2(this._box_0.args, null); | 1594 this.entry.call$2(this._box_0.args, null); |
1577 } | 1595 } |
1578 }, | 1596 }, |
1579 _Manager: { | 1597 _Manager: { |
1580 "^": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,r
ootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,mainMa
nager,managers,entry", | 1598 "^": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,r
ootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,mainMa
nager,managers,entry", |
1581 static: {_Manager__serializePrintMessage: [function(object) { | 1599 static: { |
| 1600 _Manager__serializePrintMessage: [function(object) { |
1582 var t1 = P.LinkedHashMap__makeLiteral(["command", "print", "msg", obje
ct]); | 1601 var t1 = P.LinkedHashMap__makeLiteral(["command", "print", "msg", obje
ct]); |
1583 return new H._Serializer(true, P._LinkedIdentityHashMap__LinkedIdentit
yHashMap$es6(null, P.$int)).serialize$1(t1); | 1602 return new H._Serializer(true, P._LinkedIdentityHashMap__LinkedIdentit
yHashMap$es6(null, P.$int)).serialize$1(t1); |
1584 }, null, null, 2, 0, null, 19]} | 1603 }, null, null, 2, 0, null, 25] |
| 1604 } |
1585 }, | 1605 }, |
1586 _IsolateContext: { | 1606 _IsolateContext: { |
1587 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapabili
ty,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHan
dlers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", | 1607 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapabili
ty,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHan
dlers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", |
1588 addPause$2: function(authentification, resume) { | 1608 addPause$2: function(authentification, resume) { |
1589 if (!this.pauseCapability.$eq(0, authentification)) | 1609 if (!this.pauseCapability.$eq(0, authentification)) |
1590 return; | 1610 return; |
1591 if (this.pauseTokens.add$1(0, resume) && !this.isPaused) | 1611 if (this.pauseTokens.add$1(0, resume) && !this.isPaused) |
1592 this.isPaused = true; | 1612 this.isPaused = true; |
1593 this._updateGlobalState$0(); | 1613 this._updateGlobalState$0(); |
1594 }, | 1614 }, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1708 P.print(stackTrace); | 1728 P.print(stackTrace); |
1709 } | 1729 } |
1710 return; | 1730 return; |
1711 } | 1731 } |
1712 message = new Array(2); | 1732 message = new Array(2); |
1713 message.fixed$length = Array; | 1733 message.fixed$length = Array; |
1714 message[0] = J.toString$0$(error); | 1734 message[0] = J.toString$0$(error); |
1715 message[1] = stackTrace == null ? null : J.toString$0$(stackTrace); | 1735 message[1] = stackTrace == null ? null : J.toString$0$(stackTrace); |
1716 for (t2 = new P._LinkedHashSetIterator(t1, t1._collection$_modifications
, null, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();) | 1736 for (t2 = new P._LinkedHashSetIterator(t1, t1._collection$_modifications
, null, null), t2._collection$_cell = t1._collection$_first; t2.moveNext$0();) |
1717 J.send$1$x(t2._collection$_current, message); | 1737 J.send$1$x(t2._collection$_current, message); |
1718 }, "call$2", "get$handleUncaughtError", 4, 0, 11], | 1738 }, "call$2", "get$handleUncaughtError", 4, 0, 10], |
1719 eval$1: function(code) { | 1739 eval$1: function(code) { |
1720 var old, result, oldIsExecutingEvent, e, s, exception, t1; | 1740 var old, result, oldIsExecutingEvent, e, s, exception, t1; |
1721 old = init.globalState.currentContext; | 1741 old = init.globalState.currentContext; |
1722 init.globalState.currentContext = this; | 1742 init.globalState.currentContext = this; |
1723 $ = this.isolateStatics; | 1743 $ = this.isolateStatics; |
1724 result = null; | 1744 result = null; |
1725 oldIsExecutingEvent = this._isExecutingEvent; | 1745 oldIsExecutingEvent = this._isExecutingEvent; |
1726 this._isExecutingEvent = true; | 1746 this._isExecutingEvent = true; |
1727 try { | 1747 try { |
1728 result = code.call$0(); | 1748 result = code.call$0(); |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1945 } | 1965 } |
1946 t1._updateGlobalState$0(); | 1966 t1._updateGlobalState$0(); |
1947 } | 1967 } |
1948 }, | 1968 }, |
1949 _BaseSendPort: { | 1969 _BaseSendPort: { |
1950 "^": "Object;" | 1970 "^": "Object;" |
1951 }, | 1971 }, |
1952 _NativeJsSendPort: { | 1972 _NativeJsSendPort: { |
1953 "^": "_BaseSendPort;_receivePort,_isolateId", | 1973 "^": "_BaseSendPort;_receivePort,_isolateId", |
1954 send$1: function(_, message) { | 1974 send$1: function(_, message) { |
1955 var isolate, t1, msg, t2; | 1975 var isolate, t1, msg; |
1956 isolate = init.globalState.isolates.$index(0, this._isolateId); | 1976 isolate = init.globalState.isolates.$index(0, this._isolateId); |
1957 if (isolate == null) | 1977 if (isolate == null) |
1958 return; | 1978 return; |
1959 t1 = this._receivePort; | 1979 t1 = this._receivePort; |
1960 if (t1.get$_isClosed()) | 1980 if (t1.get$_isClosed()) |
1961 return; | 1981 return; |
1962 msg = H._clone(message); | 1982 msg = H._clone(message); |
1963 if (isolate.get$controlPort() === t1) { | 1983 if (isolate.get$controlPort() === t1) { |
1964 isolate.handleControlMessage$1(msg); | 1984 isolate.handleControlMessage$1(msg); |
1965 return; | 1985 return; |
1966 } | 1986 } |
1967 t1 = init.globalState.topEventLoop; | 1987 init.globalState.topEventLoop.events._add$1(new H._IsolateEvent(isolate,
new H._NativeJsSendPort_send_closure(this, msg), "receive")); |
1968 t2 = "receive " + H.S(message); | |
1969 t1.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_se
nd_closure(this, msg), t2)); | |
1970 }, | 1988 }, |
1971 $eq: function(_, other) { | 1989 $eq: function(_, other) { |
1972 if (other == null) | 1990 if (other == null) |
1973 return false; | 1991 return false; |
1974 return other instanceof H._NativeJsSendPort && J.$eq$(this._receivePort,
other._receivePort); | 1992 return other instanceof H._NativeJsSendPort && J.$eq$(this._receivePort,
other._receivePort); |
1975 }, | 1993 }, |
1976 get$hashCode: function(_) { | 1994 get$hashCode: function(_) { |
1977 return this._receivePort.get$_id(); | 1995 return this._receivePort.get$_id(); |
1978 } | 1996 } |
1979 }, | 1997 }, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2051 t1 = init.globalState.topEventLoop; | 2069 t1 = init.globalState.topEventLoop; |
2052 t2 = init.globalState.currentContext; | 2070 t2 = init.globalState.currentContext; |
2053 t1.events._add$1(new H._IsolateEvent(t2, new H.TimerImpl_internalCallb
ack(this, callback), "timer")); | 2071 t1.events._add$1(new H._IsolateEvent(t2, new H.TimerImpl_internalCallb
ack(this, callback), "timer")); |
2054 this._inEventLoop = true; | 2072 this._inEventLoop = true; |
2055 } else if (self.setTimeout != null) { | 2073 } else if (self.setTimeout != null) { |
2056 ++init.globalState.topEventLoop._activeJsAsyncCount; | 2074 ++init.globalState.topEventLoop._activeJsAsyncCount; |
2057 this._handle = self.setTimeout(H.convertDartClosureToJS(new H.TimerImp
l_internalCallback0(this, callback), 0), milliseconds); | 2075 this._handle = self.setTimeout(H.convertDartClosureToJS(new H.TimerImp
l_internalCallback0(this, callback), 0), milliseconds); |
2058 } else | 2076 } else |
2059 throw H.wrapException(new P.UnsupportedError("Timer greater than 0."))
; | 2077 throw H.wrapException(new P.UnsupportedError("Timer greater than 0."))
; |
2060 }, | 2078 }, |
2061 static: {TimerImpl$: function(milliseconds, callback) { | 2079 static: { |
| 2080 TimerImpl$: function(milliseconds, callback) { |
2062 var t1 = new H.TimerImpl(true, false, null); | 2081 var t1 = new H.TimerImpl(true, false, null); |
2063 t1.TimerImpl$2(milliseconds, callback); | 2082 t1.TimerImpl$2(milliseconds, callback); |
2064 return t1; | 2083 return t1; |
2065 }, TimerImpl$periodic: function(milliseconds, callback) { | 2084 }, |
| 2085 TimerImpl$periodic: function(milliseconds, callback) { |
2066 var t1 = new H.TimerImpl(false, false, null); | 2086 var t1 = new H.TimerImpl(false, false, null); |
2067 t1.TimerImpl$periodic$2(milliseconds, callback); | 2087 t1.TimerImpl$periodic$2(milliseconds, callback); |
2068 return t1; | 2088 return t1; |
2069 }} | 2089 } |
| 2090 } |
2070 }, | 2091 }, |
2071 TimerImpl_internalCallback: { | 2092 TimerImpl_internalCallback: { |
2072 "^": "Closure:2;$this,callback", | 2093 "^": "Closure:2;$this,callback", |
2073 call$0: function() { | 2094 call$0: function() { |
2074 this.$this._handle = null; | 2095 this.$this._handle = null; |
2075 this.callback.call$0(); | 2096 this.callback.call$0(); |
2076 } | 2097 } |
2077 }, | 2098 }, |
2078 TimerImpl_internalCallback0: { | 2099 TimerImpl_internalCallback0: { |
2079 "^": "Closure:2;$this,callback", | 2100 "^": "Closure:2;$this,callback", |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2160 $name = x.$static_name; | 2181 $name = x.$static_name; |
2161 if ($name == null) | 2182 if ($name == null) |
2162 this.unsupported$2(x, "Closures can't be transmitted:"); | 2183 this.unsupported$2(x, "Closures can't be transmitted:"); |
2163 return ["function", $name]; | 2184 return ["function", $name]; |
2164 } | 2185 } |
2165 if (!!t1.$isCapabilityImpl) | 2186 if (!!t1.$isCapabilityImpl) |
2166 return ["capability", x._id]; | 2187 return ["capability", x._id]; |
2167 if (!(x instanceof P.Object)) | 2188 if (!(x instanceof P.Object)) |
2168 this.unsupported$1(x); | 2189 this.unsupported$1(x); |
2169 return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(i
nit.classFieldsExtractor(x))]; | 2190 return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(i
nit.classFieldsExtractor(x))]; |
2170 }, "call$1", "get$serialize", 2, 0, 0, 25], | 2191 }, "call$1", "get$serialize", 2, 0, 0, 21], |
2171 unsupported$2: function(x, message) { | 2192 unsupported$2: function(x, message) { |
2172 throw H.wrapException(new P.UnsupportedError(H.S(message == null ? "Can'
t transmit:" : message) + " " + H.S(x))); | 2193 throw H.wrapException(new P.UnsupportedError(H.S(message == null ? "Can'
t transmit:" : message) + " " + H.S(x))); |
2173 }, | 2194 }, |
2174 unsupported$1: function(x) { | 2195 unsupported$1: function(x) { |
2175 return this.unsupported$2(x, null); | 2196 return this.unsupported$2(x, null); |
2176 }, | 2197 }, |
2177 serializeJSIndexable$1: function(indexable) { | 2198 serializeJSIndexable$1: function(indexable) { |
2178 var serialized = this.serializeArray$1(indexable); | 2199 var serialized = this.serializeArray$1(indexable); |
2179 if (!!indexable.fixed$length) | 2200 if (!!indexable.fixed$length) |
2180 return ["fixed", serialized]; | 2201 return ["fixed", serialized]; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2317 if (2 >= t1) | 2338 if (2 >= t1) |
2318 return H.ioore(x, 2); | 2339 return H.ioore(x, 2); |
2319 fields = x[2]; | 2340 fields = x[2]; |
2320 emptyInstance = init.instanceFromClassId(classId); | 2341 emptyInstance = init.instanceFromClassId(classId); |
2321 this.deserializedObjects.push(emptyInstance); | 2342 this.deserializedObjects.push(emptyInstance); |
2322 this.deserializeArrayInPlace$1(fields); | 2343 this.deserializeArrayInPlace$1(fields); |
2323 return init.initializeEmptyInstance(classId, emptyInstance, fields); | 2344 return init.initializeEmptyInstance(classId, emptyInstance, fields); |
2324 default: | 2345 default: |
2325 throw H.wrapException("couldn't deserialize: " + H.S(x)); | 2346 throw H.wrapException("couldn't deserialize: " + H.S(x)); |
2326 } | 2347 } |
2327 }, "call$1", "get$deserialize", 2, 0, 0, 25], | 2348 }, "call$1", "get$deserialize", 2, 0, 0, 21], |
2328 deserializeArrayInPlace$1: function(x) { | 2349 deserializeArrayInPlace$1: function(x) { |
2329 var t1, i, t2; | 2350 var t1, i, t2; |
2330 t1 = J.getInterceptor$asx(x); | 2351 t1 = J.getInterceptor$asx(x); |
2331 i = 0; | 2352 i = 0; |
2332 while (true) { | 2353 while (true) { |
2333 t2 = t1.get$length(x); | 2354 t2 = t1.get$length(x); |
2334 if (typeof t2 !== "number") | 2355 if (typeof t2 !== "number") |
2335 return H.iae(t2); | 2356 return H.iae(t2); |
2336 if (!(i < t2)) | 2357 if (!(i < t2)) |
2337 break; | 2358 break; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2405 ++i; | 2426 ++i; |
2406 } | 2427 } |
2407 return o; | 2428 return o; |
2408 } | 2429 } |
2409 } | 2430 } |
2410 }], ["_js_helper", "dart:_js_helper",, H, { | 2431 }], ["_js_helper", "dart:_js_helper",, H, { |
2411 "^": "", | 2432 "^": "", |
2412 ConstantMap__throwUnmodifiable: function() { | 2433 ConstantMap__throwUnmodifiable: function() { |
2413 throw H.wrapException(new P.UnsupportedError("Cannot modify unmodifiable M
ap")); | 2434 throw H.wrapException(new P.UnsupportedError("Cannot modify unmodifiable M
ap")); |
2414 }, | 2435 }, |
| 2436 jsConstructorNameToRti: function(constructorName) { |
| 2437 return init.getTypeFromName(constructorName); |
| 2438 }, |
2415 getType: function(index) { | 2439 getType: function(index) { |
2416 return init.types[index]; | 2440 return init.types[index]; |
2417 }, | 2441 }, |
2418 isJsIndexable: function(object, record) { | 2442 isJsIndexable: function(object, record) { |
2419 var result; | 2443 var result; |
2420 if (record != null) { | 2444 if (record != null) { |
2421 result = record.x; | 2445 result = record.x; |
2422 if (result != null) | 2446 if (result != null) |
2423 return result; | 2447 return result; |
2424 } | 2448 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 if (radix < 10 || decimalMatch == null) { | 2500 if (radix < 10 || decimalMatch == null) { |
2477 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; | 2501 maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; |
2478 digitsPart = match[1]; | 2502 digitsPart = match[1]; |
2479 for (t1 = digitsPart.length, i = 0; i < t1; ++i) | 2503 for (t1 = digitsPart.length, i = 0; i < t1; ++i) |
2480 if ((C.JSString_methods.codeUnitAt$1(digitsPart, i) | 32) > maxCharCod
e) | 2504 if ((C.JSString_methods.codeUnitAt$1(digitsPart, i) | 32) > maxCharCod
e) |
2481 return H.Primitives__parseIntError(source, handleError); | 2505 return H.Primitives__parseIntError(source, handleError); |
2482 } | 2506 } |
2483 return parseInt(source, radix); | 2507 return parseInt(source, radix); |
2484 }, | 2508 }, |
2485 Primitives_objectTypeName: function(object) { | 2509 Primitives_objectTypeName: function(object) { |
2486 var interceptor, interceptorConstructor, interceptorConstructorName, $name
, dispatchName, objectConstructor, decompiledName; | 2510 var interceptor, interceptorConstructor, interceptorConstructorName, $name
, dispatchName, objectConstructor, match, decompiledName; |
2487 interceptor = J.getInterceptor(object); | 2511 interceptor = J.getInterceptor(object); |
2488 interceptorConstructor = interceptor.constructor; | 2512 interceptorConstructor = interceptor.constructor; |
2489 if (typeof interceptorConstructor == "function") { | 2513 if (typeof interceptorConstructor == "function") { |
2490 interceptorConstructorName = interceptorConstructor.name; | 2514 interceptorConstructorName = interceptorConstructor.name; |
2491 $name = typeof interceptorConstructorName === "string" ? interceptorCons
tructorName : null; | 2515 $name = typeof interceptorConstructorName === "string" ? interceptorCons
tructorName : null; |
2492 } else | 2516 } else |
2493 $name = null; | 2517 $name = null; |
2494 if ($name == null || interceptor === C.Interceptor_methods || !!J.getInter
ceptor(object).$isUnknownJavaScriptObject) { | 2518 if ($name == null || interceptor === C.Interceptor_methods || !!J.getInter
ceptor(object).$isUnknownJavaScriptObject) { |
2495 dispatchName = C.JS_CONST_8ZY(object); | 2519 dispatchName = C.JS_CONST_8ZY(object); |
2496 if (dispatchName === "Object") { | 2520 if (dispatchName === "Object") { |
2497 objectConstructor = object.constructor; | 2521 objectConstructor = object.constructor; |
2498 if (typeof objectConstructor == "function") { | 2522 if (typeof objectConstructor == "function") { |
2499 decompiledName = String(objectConstructor).match(/^\s*function\s*([\
w$]*)\s*\(/)[1]; | 2523 match = String(objectConstructor).match(/^\s*function\s*([\w$]*)\s*\
(/); |
| 2524 decompiledName = match == null ? null : match[1]; |
2500 if (typeof decompiledName === "string" && /^\w+$/.test(decompiledNam
e)) | 2525 if (typeof decompiledName === "string" && /^\w+$/.test(decompiledNam
e)) |
2501 $name = decompiledName; | 2526 $name = decompiledName; |
2502 } | 2527 } |
2503 if ($name == null) | 2528 if ($name == null) |
2504 $name = dispatchName; | 2529 $name = dispatchName; |
2505 } else | 2530 } else |
2506 $name = dispatchName; | 2531 $name = dispatchName; |
2507 } | 2532 } |
2508 $name = $name; | 2533 $name = $name; |
2509 if ($name.length > 1 && C.JSString_methods.codeUnitAt$1($name, 0) === 36) | 2534 if ($name.length > 1 && C.JSString_methods.codeUnitAt$1($name, 0) === 36) |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2558 if (typeof i !== "number" || Math.floor(i) !== i) | 2583 if (typeof i !== "number" || Math.floor(i) !== i) |
2559 throw H.wrapException(H.argumentErrorValue(i)); | 2584 throw H.wrapException(H.argumentErrorValue(i)); |
2560 if (i < 0) | 2585 if (i < 0) |
2561 throw H.wrapException(H.argumentErrorValue(i)); | 2586 throw H.wrapException(H.argumentErrorValue(i)); |
2562 if (i > 65535) | 2587 if (i > 65535) |
2563 return H.Primitives_stringFromCodePoints(charCodes); | 2588 return H.Primitives_stringFromCodePoints(charCodes); |
2564 } | 2589 } |
2565 return H.Primitives__fromCharCodeApply(charCodes); | 2590 return H.Primitives__fromCharCodeApply(charCodes); |
2566 }, | 2591 }, |
2567 Primitives_stringFromNativeUint8List: function(charCodes, start, end) { | 2592 Primitives_stringFromNativeUint8List: function(charCodes, start, end) { |
2568 var t1, i, result, i0, chunkEnd; | 2593 var i, result, i0, chunkEnd; |
2569 t1 = J.getInterceptor$n(end); | 2594 if (J.$le$n(end, 500) && start === 0 && end === charCodes.length) |
2570 if (t1.$le(end, 500) && start === 0 && t1.$eq(end, charCodes.length)) | |
2571 return String.fromCharCode.apply(null, charCodes); | 2595 return String.fromCharCode.apply(null, charCodes); |
2572 if (typeof end !== "number") | 2596 if (typeof end !== "number") |
2573 return H.iae(end); | 2597 return H.iae(end); |
2574 i = start; | 2598 i = start; |
2575 result = ""; | 2599 result = ""; |
2576 for (; i < end; i = i0) { | 2600 for (; i < end; i = i0) { |
2577 i0 = i + 500; | 2601 i0 = i + 500; |
2578 if (i0 < end) | 2602 if (i0 < end) |
2579 chunkEnd = i0; | 2603 chunkEnd = i0; |
2580 else | 2604 else |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2631 t1 = $arguments.length; | 2655 t1 = $arguments.length; |
2632 if (t1 === 0) { | 2656 if (t1 === 0) { |
2633 if (!!$function.call$0) | 2657 if (!!$function.call$0) |
2634 return $function.call$0(); | 2658 return $function.call$0(); |
2635 } else if (t1 === 1) { | 2659 } else if (t1 === 1) { |
2636 if (!!$function.call$1) | 2660 if (!!$function.call$1) |
2637 return $function.call$1($arguments[0]); | 2661 return $function.call$1($arguments[0]); |
2638 } else if (t1 === 2) { | 2662 } else if (t1 === 2) { |
2639 if (!!$function.call$2) | 2663 if (!!$function.call$2) |
2640 return $function.call$2($arguments[0], $arguments[1]); | 2664 return $function.call$2($arguments[0], $arguments[1]); |
2641 } else if (t1 === 3) | 2665 } else if (t1 === 3) { |
2642 if (!!$function.call$3) | 2666 if (!!$function.call$3) |
2643 return $function.call$3($arguments[0], $arguments[1], $arguments[2]); | 2667 return $function.call$3($arguments[0], $arguments[1], $arguments[2]); |
| 2668 } else if (t1 === 4) { |
| 2669 if (!!$function.call$4) |
| 2670 return $function.call$4($arguments[0], $arguments[1], $arguments[2], $
arguments[3]); |
| 2671 } else if (t1 === 5) |
| 2672 if (!!$function.call$5) |
| 2673 return $function.call$5($arguments[0], $arguments[1], $arguments[2], $
arguments[3], $arguments[4]); |
2644 return H.Primitives__genericApplyFunctionWithPositionalArguments($function
, $arguments); | 2674 return H.Primitives__genericApplyFunctionWithPositionalArguments($function
, $arguments); |
2645 }, | 2675 }, |
2646 Primitives__genericApplyFunctionWithPositionalArguments: function($function,
$arguments) { | 2676 Primitives__genericApplyFunctionWithPositionalArguments: function($function,
$arguments) { |
2647 var argumentCount, jsFunction, info, requiredArgumentCount, maxArgumentCou
nt, pos; | 2677 var argumentCount, jsFunction, info, requiredArgumentCount, maxArgumentCou
nt, pos; |
2648 argumentCount = $arguments.length; | 2678 argumentCount = $arguments.length; |
2649 jsFunction = $function["call" + "$" + argumentCount]; | 2679 jsFunction = $function["call" + "$" + argumentCount]; |
2650 if (jsFunction == null) { | 2680 if (jsFunction == null) { |
2651 jsFunction = J.getInterceptor($function)["call*"]; | 2681 jsFunction = J.getInterceptor($function)["call*"]; |
2652 if (jsFunction == null) | 2682 if (jsFunction == null) |
2653 return H.Primitives_functionNoSuchMethod($function, $arguments, null); | 2683 return H.Primitives_functionNoSuchMethod($function, $arguments, null); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2849 var $length, index, index0, index1; | 2879 var $length, index, index0, index1; |
2850 $length = keyValuePairs.length; | 2880 $length = keyValuePairs.length; |
2851 for (index = 0; index < $length; index = index1) { | 2881 for (index = 0; index < $length; index = index1) { |
2852 index0 = index + 1; | 2882 index0 = index + 1; |
2853 index1 = index0 + 1; | 2883 index1 = index0 + 1; |
2854 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]); | 2884 result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]); |
2855 } | 2885 } |
2856 return result; | 2886 return result; |
2857 }, | 2887 }, |
2858 invokeClosure: [function(closure, isolate, numberOfArguments, arg1, arg2, ar
g3, arg4) { | 2888 invokeClosure: [function(closure, isolate, numberOfArguments, arg1, arg2, ar
g3, arg4) { |
2859 var t1 = J.getInterceptor(numberOfArguments); | 2889 switch (numberOfArguments) { |
2860 if (t1.$eq(numberOfArguments, 0)) | 2890 case 0: |
2861 return H._callInIsolate(isolate, new H.invokeClosure_closure(closure)); | 2891 return H._callInIsolate(isolate, new H.invokeClosure_closure(closure))
; |
2862 else if (t1.$eq(numberOfArguments, 1)) | 2892 case 1: |
2863 return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, a
rg1)); | 2893 return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure,
arg1)); |
2864 else if (t1.$eq(numberOfArguments, 2)) | 2894 case 2: |
2865 return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, a
rg1, arg2)); | 2895 return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure,
arg1, arg2)); |
2866 else if (t1.$eq(numberOfArguments, 3)) | 2896 case 3: |
2867 return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, a
rg1, arg2, arg3)); | 2897 return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure,
arg1, arg2, arg3)); |
2868 else if (t1.$eq(numberOfArguments, 4)) | 2898 case 4: |
2869 return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, a
rg1, arg2, arg3, arg4)); | 2899 return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure,
arg1, arg2, arg3, arg4)); |
2870 else | 2900 } |
2871 throw H.wrapException(P.Exception_Exception("Unsupported number of argum
ents for wrapped closure")); | 2901 throw H.wrapException(P.Exception_Exception("Unsupported number of argumen
ts for wrapped closure")); |
2872 }, null, null, 14, 0, null, 43, 44, 27, 20, 21, 28, 29], | 2902 }, null, null, 14, 0, null, 30, 29, 28, 23, 19, 27, 26], |
2873 convertDartClosureToJS: function(closure, arity) { | 2903 convertDartClosureToJS: function(closure, arity) { |
2874 var $function; | 2904 var $function; |
2875 if (closure == null) | 2905 if (closure == null) |
2876 return; | 2906 return; |
2877 $function = closure.$identity; | 2907 $function = closure.$identity; |
2878 if (!!$function) | 2908 if (!!$function) |
2879 return $function; | 2909 return $function; |
2880 $function = function(closure, arity, context, invoke) { | 2910 $function = function(closure, arity, context, invoke) { |
2881 return function(a1, a2, a3, a4) { | 2911 return function(a1, a2, a3, a4) { |
2882 return invoke(closure, context, arity, a1, a2, a3, a4); | 2912 return invoke(closure, context, arity, a1, a2, a3, a4); |
(...skipping 13 matching lines...) Expand all Loading... |
2896 functionType = reflectionInfo; | 2926 functionType = reflectionInfo; |
2897 $prototype = isStatic ? Object.create(new H.StaticClosure().constructor.pr
ototype) : Object.create(new H.BoundClosure(null, null, null, null).constructor.
prototype); | 2927 $prototype = isStatic ? Object.create(new H.StaticClosure().constructor.pr
ototype) : Object.create(new H.BoundClosure(null, null, null, null).constructor.
prototype); |
2898 $prototype.$initialize = $prototype.constructor; | 2928 $prototype.$initialize = $prototype.constructor; |
2899 if (isStatic) | 2929 if (isStatic) |
2900 $constructor = function() { | 2930 $constructor = function() { |
2901 this.$initialize(); | 2931 this.$initialize(); |
2902 }; | 2932 }; |
2903 else { | 2933 else { |
2904 t1 = $.Closure_functionCounter; | 2934 t1 = $.Closure_functionCounter; |
2905 $.Closure_functionCounter = J.$add$ns(t1, 1); | 2935 $.Closure_functionCounter = J.$add$ns(t1, 1); |
2906 t1 = new Function("a,b,c,d", "this.$initialize(a,b,c,d);" + t1); | 2936 t1 = new Function("a,b,c,d" + t1, "this.$initialize(a,b,c,d" + t1 + ")")
; |
2907 $constructor = t1; | 2937 $constructor = t1; |
2908 } | 2938 } |
2909 $prototype.constructor = $constructor; | 2939 $prototype.constructor = $constructor; |
2910 $constructor.prototype = $prototype; | 2940 $constructor.prototype = $prototype; |
2911 t1 = !isStatic; | 2941 t1 = !isStatic; |
2912 if (t1) { | 2942 if (t1) { |
2913 isIntercepted = jsArguments.length == 1 && true; | 2943 isIntercepted = jsArguments.length == 1 && true; |
2914 trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted)
; | 2944 trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted)
; |
2915 trampoline.$reflectionInfo = reflectionInfo; | 2945 trampoline.$reflectionInfo = reflectionInfo; |
2916 } else { | 2946 } else { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2989 }(stubName, getSelf); | 3019 }(stubName, getSelf); |
2990 default: | 3020 default: |
2991 return function(f, s) { | 3021 return function(f, s) { |
2992 return function() { | 3022 return function() { |
2993 return f.apply(s(this), arguments); | 3023 return f.apply(s(this), arguments); |
2994 }; | 3024 }; |
2995 }($function, getSelf); | 3025 }($function, getSelf); |
2996 } | 3026 } |
2997 }, | 3027 }, |
2998 Closure_forwardCallTo: function(receiver, $function, isIntercepted) { | 3028 Closure_forwardCallTo: function(receiver, $function, isIntercepted) { |
2999 var stubName, arity, lookedUpFunction, t1, t2, $arguments; | 3029 var stubName, arity, lookedUpFunction, t1, t2, selfName, $arguments; |
3000 if (isIntercepted) | 3030 if (isIntercepted) |
3001 return H.Closure_forwardInterceptedCallTo(receiver, $function); | 3031 return H.Closure_forwardInterceptedCallTo(receiver, $function); |
3002 stubName = $function.$stubName; | 3032 stubName = $function.$stubName; |
3003 arity = $function.length; | 3033 arity = $function.length; |
3004 lookedUpFunction = receiver[stubName]; | 3034 lookedUpFunction = receiver[stubName]; |
3005 t1 = $function == null ? lookedUpFunction == null : $function === lookedUp
Function; | 3035 t1 = $function == null ? lookedUpFunction == null : $function === lookedUp
Function; |
3006 t2 = !t1 || arity >= 27; | 3036 t2 = !t1 || arity >= 27; |
3007 if (t2) | 3037 if (t2) |
3008 return H.Closure_cspForwardCall(arity, !t1, stubName, $function); | 3038 return H.Closure_cspForwardCall(arity, !t1, stubName, $function); |
3009 if (arity === 0) { | 3039 if (arity === 0) { |
3010 t1 = $.BoundClosure_selfFieldNameCache; | 3040 t1 = $.Closure_functionCounter; |
3011 if (t1 == null) { | 3041 $.Closure_functionCounter = J.$add$ns(t1, 1); |
3012 t1 = H.BoundClosure_computeFieldNamed("self"); | 3042 selfName = "self" + H.S(t1); |
3013 $.BoundClosure_selfFieldNameCache = t1; | 3043 t1 = "return function(){var " + selfName + " = this."; |
| 3044 t2 = $.BoundClosure_selfFieldNameCache; |
| 3045 if (t2 == null) { |
| 3046 t2 = H.BoundClosure_computeFieldNamed("self"); |
| 3047 $.BoundClosure_selfFieldNameCache = t2; |
3014 } | 3048 } |
3015 t1 = "return function(){return this." + H.S(t1) + "." + H.S(stubName) +
"();"; | 3049 return new Function(t1 + H.S(t2) + ";return " + selfName + "." + H.S(stu
bName) + "();}")(); |
3016 t2 = $.Closure_functionCounter; | |
3017 $.Closure_functionCounter = J.$add$ns(t2, 1); | |
3018 return new Function(t1 + H.S(t2) + "}")(); | |
3019 } | 3050 } |
3020 $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(
","); | 3051 $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(
","); |
| 3052 t1 = $.Closure_functionCounter; |
| 3053 $.Closure_functionCounter = J.$add$ns(t1, 1); |
| 3054 $arguments += H.S(t1); |
3021 t1 = "return function(" + $arguments + "){return this."; | 3055 t1 = "return function(" + $arguments + "){return this."; |
3022 t2 = $.BoundClosure_selfFieldNameCache; | 3056 t2 = $.BoundClosure_selfFieldNameCache; |
3023 if (t2 == null) { | 3057 if (t2 == null) { |
3024 t2 = H.BoundClosure_computeFieldNamed("self"); | 3058 t2 = H.BoundClosure_computeFieldNamed("self"); |
3025 $.BoundClosure_selfFieldNameCache = t2; | 3059 $.BoundClosure_selfFieldNameCache = t2; |
3026 } | 3060 } |
3027 t2 = t1 + H.S(t2) + "." + H.S(stubName) + "(" + $arguments + ");"; | 3061 return new Function(t1 + H.S(t2) + "." + H.S(stubName) + "(" + $arguments
+ ");}")(); |
3028 t1 = $.Closure_functionCounter; | |
3029 $.Closure_functionCounter = J.$add$ns(t1, 1); | |
3030 return new Function(t2 + H.S(t1) + "}")(); | |
3031 }, | 3062 }, |
3032 Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $func
tion) { | 3063 Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $func
tion) { |
3033 var getSelf, getReceiver; | 3064 var getSelf, getReceiver; |
3034 getSelf = H.BoundClosure_selfOf; | 3065 getSelf = H.BoundClosure_selfOf; |
3035 getReceiver = H.BoundClosure_receiverOf; | 3066 getReceiver = H.BoundClosure_receiverOf; |
3036 switch (isSuperCall ? -1 : arity) { | 3067 switch (isSuperCall ? -1 : arity) { |
3037 case 0: | 3068 case 0: |
3038 throw H.wrapException(new H.RuntimeError("Intercepted function with no
arguments.")); | 3069 throw H.wrapException(new H.RuntimeError("Intercepted function with no
arguments.")); |
3039 case 1: | 3070 case 1: |
3040 return function(n, s, r) { | 3071 return function(n, s, r) { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3123 if (typeof value === "number" && Math.floor(value) === value || value == n
ull) | 3154 if (typeof value === "number" && Math.floor(value) === value || value == n
ull) |
3124 return value; | 3155 return value; |
3125 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeNa
me(value), "int")); | 3156 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeNa
me(value), "int")); |
3126 }, | 3157 }, |
3127 throwCyclicInit: function(staticName) { | 3158 throwCyclicInit: function(staticName) { |
3128 throw H.wrapException(new P.CyclicInitializationError("Cyclic initializati
on for static " + H.S(staticName))); | 3159 throw H.wrapException(new P.CyclicInitializationError("Cyclic initializati
on for static " + H.S(staticName))); |
3129 }, | 3160 }, |
3130 buildFunctionType: function(returnType, parameterTypes, optionalParameterTyp
es) { | 3161 buildFunctionType: function(returnType, parameterTypes, optionalParameterTyp
es) { |
3131 return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParam
eterTypes, null); | 3162 return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParam
eterTypes, null); |
3132 }, | 3163 }, |
| 3164 buildInterfaceType: function(rti, typeArguments) { |
| 3165 var jsConstructorName = rti.builtin$cls; |
| 3166 if (typeArguments == null || typeArguments.length === 0) |
| 3167 return new H.RuntimeTypePlain(jsConstructorName); |
| 3168 return new H.RuntimeTypeGeneric(jsConstructorName, typeArguments, null); |
| 3169 }, |
3133 getDynamicRuntimeType: function() { | 3170 getDynamicRuntimeType: function() { |
3134 return C.C_DynamicRuntimeType; | 3171 return C.C_DynamicRuntimeType; |
3135 }, | 3172 }, |
3136 random64: function() { | 3173 random64: function() { |
3137 return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000
>>> 0) * 4294967296; | 3174 return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000
>>> 0) * 4294967296; |
3138 }, | 3175 }, |
3139 getIsolateAffinityTag: function($name) { | 3176 getIsolateAffinityTag: function($name) { |
3140 return init.getIsolateTag($name); | 3177 return init.getIsolateTag($name); |
3141 }, | 3178 }, |
3142 setRuntimeTypeInfo: function(target, rti) { | 3179 setRuntimeTypeInfo: function(target, rti) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3193 substitution = substitution.apply(null, $arguments); | 3230 substitution = substitution.apply(null, $arguments); |
3194 if (substitution == null) | 3231 if (substitution == null) |
3195 return substitution; | 3232 return substitution; |
3196 if (typeof substitution === "object" && substitution !== null && substit
ution.constructor === Array) | 3233 if (typeof substitution === "object" && substitution !== null && substit
ution.constructor === Array) |
3197 return substitution; | 3234 return substitution; |
3198 if (typeof substitution == "function") | 3235 if (typeof substitution == "function") |
3199 return substitution.apply(null, $arguments); | 3236 return substitution.apply(null, $arguments); |
3200 } | 3237 } |
3201 return $arguments; | 3238 return $arguments; |
3202 }, | 3239 }, |
3203 checkSubtype: function(object, isField, checks, asField) { | |
3204 var $arguments, interceptor; | |
3205 if (object == null) | |
3206 return false; | |
3207 $arguments = H.getRuntimeTypeInfo(object); | |
3208 interceptor = J.getInterceptor(object); | |
3209 if (interceptor[isField] == null) | |
3210 return false; | |
3211 return H.areSubtypes(H.substitute(interceptor[asField], $arguments), check
s); | |
3212 }, | |
3213 areSubtypes: function(s, t) { | 3240 areSubtypes: function(s, t) { |
3214 var len, i; | 3241 var len, i; |
3215 if (s == null || t == null) | 3242 if (s == null || t == null) |
3216 return true; | 3243 return true; |
3217 len = s.length; | 3244 len = s.length; |
3218 for (i = 0; i < len; ++i) | 3245 for (i = 0; i < len; ++i) |
3219 if (!H.isSubtype(s[i], t[i])) | 3246 if (!H.isSubtype(s[i], t[i])) |
3220 return false; | 3247 return false; |
3221 return true; | 3248 return true; |
3222 }, | 3249 }, |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3529 if (pattern === "") | 3556 if (pattern === "") |
3530 if (receiver === "") | 3557 if (receiver === "") |
3531 return replacement; | 3558 return replacement; |
3532 else { | 3559 else { |
3533 $length = receiver.length; | 3560 $length = receiver.length; |
3534 for (t1 = replacement, i = 0; i < $length; ++i) | 3561 for (t1 = replacement, i = 0; i < $length; ++i) |
3535 t1 = t1 + receiver[i] + replacement; | 3562 t1 = t1 + receiver[i] + replacement; |
3536 return t1.charCodeAt(0) == 0 ? t1 : t1; | 3563 return t1.charCodeAt(0) == 0 ? t1 : t1; |
3537 } | 3564 } |
3538 else | 3565 else |
3539 return receiver.replace(new RegExp(pattern.replace(new RegExp("[[\\]{}
()*+?.\\\\^$|]", 'g'), "\\$&"), 'g'), replacement.replace(/\$/g, "$$$$")); | 3566 return receiver.replace(new RegExp(pattern.replace(/[[\]{}()*+?.\\^$|]
/g, "\\$&"), 'g'), replacement.replace(/\$/g, "$$$$")); |
3540 else if (pattern instanceof H.JSSyntaxRegExp) { | 3567 else if (pattern instanceof H.JSSyntaxRegExp) { |
3541 nativeRegexp = pattern.get$_nativeGlobalVersion(); | 3568 nativeRegexp = pattern.get$_nativeGlobalVersion(); |
3542 nativeRegexp.lastIndex = 0; | 3569 nativeRegexp.lastIndex = 0; |
3543 return receiver.replace(nativeRegexp, replacement.replace(/\$/g, "$$$$")
); | 3570 return receiver.replace(nativeRegexp, replacement.replace(/\$/g, "$$$$")
); |
3544 } else { | 3571 } else { |
3545 if (pattern == null) | 3572 if (pattern == null) |
3546 H.throwExpression(H.argumentErrorValue(pattern)); | 3573 H.throwExpression(H.argumentErrorValue(pattern)); |
3547 throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); | 3574 throw H.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); |
3548 } | 3575 } |
3549 }, | 3576 }, |
(...skipping 25 matching lines...) Expand all Loading... |
3575 }, | 3602 }, |
3576 ConstantMapView: { | 3603 ConstantMapView: { |
3577 "^": "UnmodifiableMapView;_map", | 3604 "^": "UnmodifiableMapView;_map", |
3578 $asUnmodifiableMapView: Isolate.functionThatReturnsNull, | 3605 $asUnmodifiableMapView: Isolate.functionThatReturnsNull, |
3579 $asMap: Isolate.functionThatReturnsNull, | 3606 $asMap: Isolate.functionThatReturnsNull, |
3580 $isMap: 1 | 3607 $isMap: 1 |
3581 }, | 3608 }, |
3582 ConstantMap: { | 3609 ConstantMap: { |
3583 "^": "Object;", | 3610 "^": "Object;", |
3584 get$isEmpty: function(_) { | 3611 get$isEmpty: function(_) { |
3585 return J.$eq$(this.get$length(this), 0); | 3612 return this.get$length(this) === 0; |
3586 }, | 3613 }, |
3587 get$isNotEmpty: function(_) { | 3614 get$isNotEmpty: function(_) { |
3588 return !J.$eq$(this.get$length(this), 0); | 3615 return this.get$length(this) !== 0; |
3589 }, | 3616 }, |
3590 toString$0: function(_) { | 3617 toString$0: function(_) { |
3591 return P.Maps_mapToString(this); | 3618 return P.Maps_mapToString(this); |
3592 }, | 3619 }, |
3593 $indexSet: function(_, key, val) { | 3620 $indexSet: function(_, key, val) { |
3594 return H.ConstantMap__throwUnmodifiable(); | 3621 return H.ConstantMap__throwUnmodifiable(); |
3595 }, | 3622 }, |
3596 $isMap: 1 | 3623 $isMap: 1 |
3597 }, | 3624 }, |
3598 ConstantStringMap: { | 3625 ConstantStringMap: { |
3599 "^": "ConstantMap;length>,__js_helper$_jsObject,__js_helper$_keys", | 3626 "^": "ConstantMap;__js_helper$_length,__js_helper$_jsObject,__js_helper$_k
eys", |
| 3627 get$length: function(_) { |
| 3628 return this.__js_helper$_length; |
| 3629 }, |
3600 containsKey$1: function(key) { | 3630 containsKey$1: function(key) { |
3601 if (typeof key !== "string") | 3631 if (typeof key !== "string") |
3602 return false; | 3632 return false; |
3603 if ("__proto__" === key) | 3633 if ("__proto__" === key) |
3604 return false; | 3634 return false; |
3605 return this.__js_helper$_jsObject.hasOwnProperty(key); | 3635 return this.__js_helper$_jsObject.hasOwnProperty(key); |
3606 }, | 3636 }, |
3607 $index: function(_, key) { | 3637 $index: function(_, key) { |
3608 if (!this.containsKey$1(key)) | 3638 if (!this.containsKey$1(key)) |
3609 return; | 3639 return; |
3610 return this._fetch$1(key); | 3640 return this._fetch$1(key); |
3611 }, | 3641 }, |
3612 _fetch$1: function(key) { | 3642 _fetch$1: function(key) { |
3613 return this.__js_helper$_jsObject[key]; | 3643 return this.__js_helper$_jsObject[key]; |
3614 }, | 3644 }, |
3615 forEach$1: function(_, f) { | 3645 forEach$1: function(_, f) { |
3616 var keys, i, key; | 3646 var keys, t1, i, key; |
3617 keys = this.__js_helper$_keys; | 3647 keys = this.__js_helper$_keys; |
3618 for (i = 0; i < keys.length; ++i) { | 3648 for (t1 = keys.length, i = 0; i < t1; ++i) { |
3619 key = keys[i]; | 3649 key = keys[i]; |
3620 f.call$2(key, this._fetch$1(key)); | 3650 f.call$2(key, this._fetch$1(key)); |
3621 } | 3651 } |
3622 } | 3652 } |
3623 }, | 3653 }, |
3624 JSInvocationMirror: { | 3654 JSInvocationMirror: { |
3625 "^": "Object;__js_helper$_memberName,_internalName,_kind,_arguments,_named
ArgumentNames,_namedIndices", | 3655 "^": "Object;__js_helper$_memberName,_internalName,_kind,_arguments,_named
ArgumentNames,_namedIndices", |
3626 get$memberName: function() { | 3656 get$memberName: function() { |
3627 return this.__js_helper$_memberName; | 3657 return this.__js_helper$_memberName; |
3628 }, | 3658 }, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3668 ReflectionInfo: { | 3698 ReflectionInfo: { |
3669 "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalPa
rameterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", | 3699 "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalPa
rameterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", |
3670 defaultValue$1: function(_, parameter) { | 3700 defaultValue$1: function(_, parameter) { |
3671 var t1 = this.requiredParameterCount; | 3701 var t1 = this.requiredParameterCount; |
3672 if (typeof parameter !== "number") | 3702 if (typeof parameter !== "number") |
3673 return parameter.$lt(); | 3703 return parameter.$lt(); |
3674 if (parameter < t1) | 3704 if (parameter < t1) |
3675 return; | 3705 return; |
3676 return this.data[3 + parameter - t1]; | 3706 return this.data[3 + parameter - t1]; |
3677 }, | 3707 }, |
3678 static: {ReflectionInfo_ReflectionInfo: function(jsFunction) { | 3708 static: { |
| 3709 ReflectionInfo_ReflectionInfo: function(jsFunction) { |
3679 var data, requiredParametersInfo, optionalParametersInfo; | 3710 var data, requiredParametersInfo, optionalParametersInfo; |
3680 data = jsFunction.$reflectionInfo; | 3711 data = jsFunction.$reflectionInfo; |
3681 if (data == null) | 3712 if (data == null) |
3682 return; | 3713 return; |
3683 data.fixed$length = Array; | 3714 data.fixed$length = Array; |
3684 data = data; | 3715 data = data; |
3685 requiredParametersInfo = data[0]; | 3716 requiredParametersInfo = data[0]; |
3686 optionalParametersInfo = data[1]; | 3717 optionalParametersInfo = data[1]; |
3687 return new H.ReflectionInfo(jsFunction, data, (requiredParametersInfo
& 1) === 1, requiredParametersInfo >> 1, optionalParametersInfo >> 1, (optionalP
arametersInfo & 1) === 1, data[2], null); | 3718 return new H.ReflectionInfo(jsFunction, data, (requiredParametersInfo
& 1) === 1, requiredParametersInfo >> 1, optionalParametersInfo >> 1, (optionalP
arametersInfo & 1) === 1, data[2], null); |
3688 }} | 3719 } |
| 3720 } |
3689 }, | 3721 }, |
3690 Primitives_functionNoSuchMethod_closure: { | 3722 Primitives_functionNoSuchMethod_closure: { |
3691 "^": "Closure:42;_box_0,$arguments,namedArgumentList", | 3723 "^": "Closure:40;_box_0,$arguments,namedArgumentList", |
3692 call$2: function($name, argument) { | 3724 call$2: function($name, argument) { |
3693 var t1 = this._box_0; | 3725 var t1 = this._box_0; |
3694 t1.names = t1.names + "$" + H.S($name); | 3726 t1.names = t1.names + "$" + H.S($name); |
3695 this.namedArgumentList.push($name); | 3727 this.namedArgumentList.push($name); |
3696 this.$arguments.push(argument); | 3728 this.$arguments.push(argument); |
3697 ++t1.argumentCount; | 3729 ++t1.argumentCount; |
3698 } | 3730 } |
3699 }, | 3731 }, |
3700 TypeErrorDecoder: { | 3732 TypeErrorDecoder: { |
3701 "^": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver", | 3733 "^": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver", |
(...skipping 13 matching lines...) Expand all Loading... |
3715 if (t1 !== -1) | 3747 if (t1 !== -1) |
3716 result.expr = match[t1 + 1]; | 3748 result.expr = match[t1 + 1]; |
3717 t1 = this._method; | 3749 t1 = this._method; |
3718 if (t1 !== -1) | 3750 if (t1 !== -1) |
3719 result.method = match[t1 + 1]; | 3751 result.method = match[t1 + 1]; |
3720 t1 = this._receiver; | 3752 t1 = this._receiver; |
3721 if (t1 !== -1) | 3753 if (t1 !== -1) |
3722 result.receiver = match[t1 + 1]; | 3754 result.receiver = match[t1 + 1]; |
3723 return result; | 3755 return result; |
3724 }, | 3756 }, |
3725 static: {TypeErrorDecoder_extractPattern: function(message) { | 3757 static: { |
| 3758 TypeErrorDecoder_extractPattern: function(message) { |
3726 var match, $arguments, argumentsExpr, expr, method, receiver; | 3759 var match, $arguments, argumentsExpr, expr, method, receiver; |
3727 message = message.replace(String({}), '$receiver$').replace(new RegExp
("[[\\]{}()*+?.\\\\^$|]", 'g'), '\\$&'); | 3760 message = message.replace(String({}), '$receiver$').replace(/[[\]{}()*
+?.\\^$|]/g, "\\$&"); |
3728 match = message.match(/\\\$[a-zA-Z]+\\\$/g); | 3761 match = message.match(/\\\$[a-zA-Z]+\\\$/g); |
3729 if (match == null) | 3762 if (match == null) |
3730 match = []; | 3763 match = []; |
3731 $arguments = match.indexOf("\\$arguments\\$"); | 3764 $arguments = match.indexOf("\\$arguments\\$"); |
3732 argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); | 3765 argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); |
3733 expr = match.indexOf("\\$expr\\$"); | 3766 expr = match.indexOf("\\$expr\\$"); |
3734 method = match.indexOf("\\$method\\$"); | 3767 method = match.indexOf("\\$method\\$"); |
3735 receiver = match.indexOf("\\$receiver\\$"); | 3768 receiver = match.indexOf("\\$receiver\\$"); |
3736 return new H.TypeErrorDecoder(message.replace('\\$arguments\\$', '((?:
x|[^x])*)').replace('\\$argumentsExpr\\$', '((?:x|[^x])*)').replace('\\$expr\\$'
, '((?:x|[^x])*)').replace('\\$method\\$', '((?:x|[^x])*)').replace('\\$receiver
\\$', '((?:x|[^x])*)'), $arguments, argumentsExpr, expr, method, receiver); | 3769 return new H.TypeErrorDecoder(message.replace(new RegExp('\\\\\\$argum
ents\\\\\\$', 'g'), '((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\
\\\$', 'g'), '((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$', 'g'), '((
?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$', 'g'), '((?:x|[^x])*)').
replace(new RegExp('\\\\\\$receiver\\\\\\$', 'g'), '((?:x|[^x])*)'), $arguments,
argumentsExpr, expr, method, receiver); |
3737 }, TypeErrorDecoder_provokeCallErrorOn: function(expression) { | 3770 }, |
| 3771 TypeErrorDecoder_provokeCallErrorOn: function(expression) { |
3738 return function($expr$) { | 3772 return function($expr$) { |
3739 var $argumentsExpr$ = '$arguments$'; | 3773 var $argumentsExpr$ = '$arguments$'; |
3740 try { | 3774 try { |
3741 $expr$.$method$($argumentsExpr$); | 3775 $expr$.$method$($argumentsExpr$); |
3742 } catch (e) { | 3776 } catch (e) { |
3743 return e.message; | 3777 return e.message; |
3744 } | 3778 } |
3745 }(expression); | 3779 }(expression); |
3746 }, TypeErrorDecoder_provokePropertyErrorOn: function(expression) { | 3780 }, |
| 3781 TypeErrorDecoder_provokePropertyErrorOn: function(expression) { |
3747 return function($expr$) { | 3782 return function($expr$) { |
3748 try { | 3783 try { |
3749 $expr$.$method$; | 3784 $expr$.$method$; |
3750 } catch (e) { | 3785 } catch (e) { |
3751 return e.message; | 3786 return e.message; |
3752 } | 3787 } |
3753 }(expression); | 3788 }(expression); |
3754 }} | 3789 } |
| 3790 } |
3755 }, | 3791 }, |
3756 NullError: { | 3792 NullError: { |
3757 "^": "Error;_message,_method", | 3793 "^": "Error;_message,_method", |
3758 toString$0: function(_) { | 3794 toString$0: function(_) { |
3759 var t1 = this._method; | 3795 var t1 = this._method; |
3760 if (t1 == null) | 3796 if (t1 == null) |
3761 return "NullError: " + H.S(this._message); | 3797 return "NullError: " + H.S(this._message); |
3762 return "NullError: method not found: '" + H.S(t1) + "' on null"; | 3798 return "NullError: method not found: '" + H.S(t1) + "' on null"; |
3763 } | 3799 } |
3764 }, | 3800 }, |
3765 JsNoSuchMethodError: { | 3801 JsNoSuchMethodError: { |
3766 "^": "Error;_message,_method,_receiver", | 3802 "^": "Error;_message,_method,_receiver", |
3767 toString$0: function(_) { | 3803 toString$0: function(_) { |
3768 var t1, t2; | 3804 var t1, t2; |
3769 t1 = this._method; | 3805 t1 = this._method; |
3770 if (t1 == null) | 3806 if (t1 == null) |
3771 return "NoSuchMethodError: " + H.S(this._message); | 3807 return "NoSuchMethodError: " + H.S(this._message); |
3772 t2 = this._receiver; | 3808 t2 = this._receiver; |
3773 if (t2 == null) | 3809 if (t2 == null) |
3774 return "NoSuchMethodError: method not found: '" + H.S(t1) + "' (" + H.
S(this._message) + ")"; | 3810 return "NoSuchMethodError: method not found: '" + H.S(t1) + "' (" + H.
S(this._message) + ")"; |
3775 return "NoSuchMethodError: method not found: '" + H.S(t1) + "' on '" + H
.S(t2) + "' (" + H.S(this._message) + ")"; | 3811 return "NoSuchMethodError: method not found: '" + H.S(t1) + "' on '" + H
.S(t2) + "' (" + H.S(this._message) + ")"; |
3776 }, | 3812 }, |
3777 static: {JsNoSuchMethodError$: function(_message, match) { | 3813 static: { |
| 3814 JsNoSuchMethodError$: function(_message, match) { |
3778 var t1, t2; | 3815 var t1, t2; |
3779 t1 = match == null; | 3816 t1 = match == null; |
3780 t2 = t1 ? null : match.method; | 3817 t2 = t1 ? null : match.method; |
3781 return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.recei
ver); | 3818 return new H.JsNoSuchMethodError(_message, t2, t1 ? null : match.recei
ver); |
3782 }} | 3819 } |
| 3820 } |
3783 }, | 3821 }, |
3784 UnknownJsTypeError: { | 3822 UnknownJsTypeError: { |
3785 "^": "Error;_message", | 3823 "^": "Error;_message", |
3786 toString$0: function(_) { | 3824 toString$0: function(_) { |
3787 var t1 = this._message; | 3825 var t1 = this._message; |
3788 return t1.length === 0 ? "Error" : "Error: " + t1; | 3826 return t1.length === 0 ? "Error" : "Error: " + t1; |
3789 } | 3827 } |
3790 }, | 3828 }, |
3791 ExceptionAndStackTrace: { | 3829 ExceptionAndStackTrace: { |
3792 "^": "Object;dartException,stackTrace<" | 3830 "^": "Object;dartException,stackTrace<" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3888 else | 3926 else |
3889 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Pr
imitives_objectHashCode(t1); | 3927 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Pr
imitives_objectHashCode(t1); |
3890 return J.$xor$n(receiverHashCode, H.Primitives_objectHashCode(this.__js_
helper$_target)); | 3928 return J.$xor$n(receiverHashCode, H.Primitives_objectHashCode(this.__js_
helper$_target)); |
3891 }, | 3929 }, |
3892 toString$0: function(_) { | 3930 toString$0: function(_) { |
3893 var receiver = this._receiver; | 3931 var receiver = this._receiver; |
3894 if (receiver == null) | 3932 if (receiver == null) |
3895 receiver = this._self; | 3933 receiver = this._self; |
3896 return "Closure '" + H.S(this._name) + "' of " + H.Primitives_objectToHu
manReadableString(receiver); | 3934 return "Closure '" + H.S(this._name) + "' of " + H.Primitives_objectToHu
manReadableString(receiver); |
3897 }, | 3935 }, |
3898 static: {BoundClosure_selfOf: function(closure) { | 3936 static: { |
| 3937 BoundClosure_selfOf: function(closure) { |
3899 return closure._self; | 3938 return closure._self; |
3900 }, BoundClosure_receiverOf: function(closure) { | 3939 }, |
| 3940 BoundClosure_receiverOf: function(closure) { |
3901 return closure._receiver; | 3941 return closure._receiver; |
3902 }, BoundClosure_selfFieldName: function() { | 3942 }, |
| 3943 BoundClosure_selfFieldName: function() { |
3903 var t1 = $.BoundClosure_selfFieldNameCache; | 3944 var t1 = $.BoundClosure_selfFieldNameCache; |
3904 if (t1 == null) { | 3945 if (t1 == null) { |
3905 t1 = H.BoundClosure_computeFieldNamed("self"); | 3946 t1 = H.BoundClosure_computeFieldNamed("self"); |
3906 $.BoundClosure_selfFieldNameCache = t1; | 3947 $.BoundClosure_selfFieldNameCache = t1; |
3907 } | 3948 } |
3908 return t1; | 3949 return t1; |
3909 }, BoundClosure_computeFieldNamed: function(fieldName) { | 3950 }, |
| 3951 BoundClosure_computeFieldNamed: function(fieldName) { |
3910 var template, t1, names, i, $name; | 3952 var template, t1, names, i, $name; |
3911 template = new H.BoundClosure("self", "target", "receiver", "name"); | 3953 template = new H.BoundClosure("self", "target", "receiver", "name"); |
3912 t1 = Object.getOwnPropertyNames(template); | 3954 t1 = Object.getOwnPropertyNames(template); |
3913 t1.fixed$length = Array; | 3955 t1.fixed$length = Array; |
3914 names = t1; | 3956 names = t1; |
3915 for (t1 = names.length, i = 0; i < t1; ++i) { | 3957 for (t1 = names.length, i = 0; i < t1; ++i) { |
3916 $name = names[i]; | 3958 $name = names[i]; |
3917 if (template[$name] === fieldName) | 3959 if (template[$name] === fieldName) |
3918 return $name; | 3960 return $name; |
3919 } | 3961 } |
3920 }} | 3962 } |
| 3963 } |
3921 }, | 3964 }, |
3922 CastErrorImplementation: { | 3965 CastErrorImplementation: { |
3923 "^": "Error;message>", | 3966 "^": "Error;message>", |
3924 toString$0: function(_) { | 3967 toString$0: function(_) { |
3925 return this.message; | 3968 return this.message; |
3926 }, | 3969 }, |
3927 static: {CastErrorImplementation$: function(actualType, expectedType) { | 3970 static: { |
| 3971 CastErrorImplementation$: function(actualType, expectedType) { |
3928 return new H.CastErrorImplementation("CastError: Casting value of type
" + H.S(actualType) + " to incompatible type " + H.S(expectedType)); | 3972 return new H.CastErrorImplementation("CastError: Casting value of type
" + H.S(actualType) + " to incompatible type " + H.S(expectedType)); |
3929 }} | 3973 } |
| 3974 } |
3930 }, | 3975 }, |
3931 RuntimeError: { | 3976 RuntimeError: { |
3932 "^": "Error;message>", | 3977 "^": "Error;message>", |
3933 toString$0: function(_) { | 3978 toString$0: function(_) { |
3934 return "RuntimeError: " + H.S(this.message); | 3979 return "RuntimeError: " + H.S(this.message); |
3935 } | 3980 } |
3936 }, | 3981 }, |
3937 RuntimeType: { | 3982 RuntimeType: { |
3938 "^": "Object;" | 3983 "^": "Object;" |
3939 }, | 3984 }, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4007 $name = keys[i]; | 4052 $name = keys[i]; |
4008 if (needsComma) | 4053 if (needsComma) |
4009 result += ", "; | 4054 result += ", "; |
4010 result += H.S(t1[$name].toRti$0()) + " " + $name; | 4055 result += H.S(t1[$name].toRti$0()) + " " + $name; |
4011 } | 4056 } |
4012 result += "}"; | 4057 result += "}"; |
4013 } | 4058 } |
4014 } | 4059 } |
4015 return result + (") -> " + H.S(this.returnType)); | 4060 return result + (") -> " + H.S(this.returnType)); |
4016 }, | 4061 }, |
4017 static: {RuntimeFunctionType_listToRti: function(list) { | 4062 static: { |
| 4063 RuntimeFunctionType_listToRti: function(list) { |
4018 var result, t1, i; | 4064 var result, t1, i; |
4019 list = list; | 4065 list = list; |
4020 result = []; | 4066 result = []; |
4021 for (t1 = list.length, i = 0; i < t1; ++i) | 4067 for (t1 = list.length, i = 0; i < t1; ++i) |
4022 result.push(list[i].toRti$0()); | 4068 result.push(list[i].toRti$0()); |
4023 return result; | 4069 return result; |
4024 }} | 4070 } |
| 4071 } |
4025 }, | 4072 }, |
4026 DynamicRuntimeType: { | 4073 DynamicRuntimeType: { |
4027 "^": "RuntimeType;", | 4074 "^": "RuntimeType;", |
4028 toString$0: function(_) { | 4075 toString$0: function(_) { |
4029 return "dynamic"; | 4076 return "dynamic"; |
4030 }, | 4077 }, |
4031 toRti$0: function() { | 4078 toRti$0: function() { |
4032 return; | 4079 return; |
4033 } | 4080 } |
4034 }, | 4081 }, |
| 4082 RuntimeTypePlain: { |
| 4083 "^": "RuntimeType;_jsConstructorName", |
| 4084 toRti$0: function() { |
| 4085 var t1, rti; |
| 4086 t1 = this._jsConstructorName; |
| 4087 rti = H.jsConstructorNameToRti(t1); |
| 4088 if (rti == null) |
| 4089 throw H.wrapException("no type for '" + t1 + "'"); |
| 4090 return rti; |
| 4091 }, |
| 4092 toString$0: function(_) { |
| 4093 return this._jsConstructorName; |
| 4094 } |
| 4095 }, |
| 4096 RuntimeTypeGeneric: { |
| 4097 "^": "RuntimeType;_jsConstructorName,$arguments,rti", |
| 4098 toRti$0: function() { |
| 4099 var t1, result, t2, _i; |
| 4100 t1 = this.rti; |
| 4101 if (t1 != null) |
| 4102 return t1; |
| 4103 t1 = this._jsConstructorName; |
| 4104 result = [H.jsConstructorNameToRti(t1)]; |
| 4105 if (0 >= result.length) |
| 4106 return H.ioore(result, 0); |
| 4107 if (result[0] == null) |
| 4108 throw H.wrapException("no type for '" + t1 + "<...>'"); |
| 4109 for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t1.length; t1.le
ngth === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) |
| 4110 result.push(t1[_i].toRti$0()); |
| 4111 this.rti = result; |
| 4112 return result; |
| 4113 }, |
| 4114 toString$0: function(_) { |
| 4115 var t1 = this.$arguments; |
| 4116 return this._jsConstructorName + "<" + (t1 && C.JSArray_methods).join$1(
t1, ", ") + ">"; |
| 4117 } |
| 4118 }, |
4035 JsLinkedHashMap: { | 4119 JsLinkedHashMap: { |
4036 "^": "Object;__js_helper$_length,_strings,_nums,_rest,_first,_last,_modifi
cations", | 4120 "^": "Object;__js_helper$_length,_strings,_nums,_rest,_first,_last,_modifi
cations", |
4037 get$length: function(_) { | 4121 get$length: function(_) { |
4038 return this.__js_helper$_length; | 4122 return this.__js_helper$_length; |
4039 }, | 4123 }, |
4040 get$isEmpty: function(_) { | 4124 get$isEmpty: function(_) { |
4041 return this.__js_helper$_length === 0; | 4125 return this.__js_helper$_length === 0; |
4042 }, | 4126 }, |
4043 get$isNotEmpty: function(_) { | 4127 get$isNotEmpty: function(_) { |
4044 return !this.get$isEmpty(this); | 4128 return !this.get$isEmpty(this); |
(...skipping 16 matching lines...) Expand all Loading... |
4061 if (nums == null) | 4145 if (nums == null) |
4062 return false; | 4146 return false; |
4063 return this._containsTableEntry$2(nums, key); | 4147 return this._containsTableEntry$2(nums, key); |
4064 } else | 4148 } else |
4065 return this.internalContainsKey$1(key); | 4149 return this.internalContainsKey$1(key); |
4066 }, | 4150 }, |
4067 internalContainsKey$1: function(key) { | 4151 internalContainsKey$1: function(key) { |
4068 var rest = this._rest; | 4152 var rest = this._rest; |
4069 if (rest == null) | 4153 if (rest == null) |
4070 return false; | 4154 return false; |
4071 return this.internalFindBucketIndex$2(this._getTableEntry$2(rest, this.i
nternalComputeHashCode$1(key)), key) >= 0; | 4155 return this.internalFindBucketIndex$2(this._getTableBucket$2(rest, this.
internalComputeHashCode$1(key)), key) >= 0; |
4072 }, | 4156 }, |
4073 $index: function(_, key) { | 4157 $index: function(_, key) { |
4074 var strings, cell, nums; | 4158 var strings, cell, nums; |
4075 if (typeof key === "string") { | 4159 if (typeof key === "string") { |
4076 strings = this._strings; | 4160 strings = this._strings; |
4077 if (strings == null) | 4161 if (strings == null) |
4078 return; | 4162 return; |
4079 cell = this._getTableEntry$2(strings, key); | 4163 cell = this._getTableCell$2(strings, key); |
4080 return cell == null ? null : cell.get$hashMapCellValue(); | 4164 return cell == null ? null : cell.get$hashMapCellValue(); |
4081 } else if (typeof key === "number" && (key & 0x3ffffff) === key) { | 4165 } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
4082 nums = this._nums; | 4166 nums = this._nums; |
4083 if (nums == null) | 4167 if (nums == null) |
4084 return; | 4168 return; |
4085 cell = this._getTableEntry$2(nums, key); | 4169 cell = this._getTableCell$2(nums, key); |
4086 return cell == null ? null : cell.get$hashMapCellValue(); | 4170 return cell == null ? null : cell.get$hashMapCellValue(); |
4087 } else | 4171 } else |
4088 return this.internalGet$1(key); | 4172 return this.internalGet$1(key); |
4089 }, | 4173 }, |
4090 internalGet$1: function(key) { | 4174 internalGet$1: function(key) { |
4091 var rest, bucket, index; | 4175 var rest, bucket, index; |
4092 rest = this._rest; | 4176 rest = this._rest; |
4093 if (rest == null) | 4177 if (rest == null) |
4094 return; | 4178 return; |
4095 bucket = this._getTableEntry$2(rest, this.internalComputeHashCode$1(key)
); | 4179 bucket = this._getTableBucket$2(rest, this.internalComputeHashCode$1(key
)); |
4096 index = this.internalFindBucketIndex$2(bucket, key); | 4180 index = this.internalFindBucketIndex$2(bucket, key); |
4097 if (index < 0) | 4181 if (index < 0) |
4098 return; | 4182 return; |
4099 return bucket[index].get$hashMapCellValue(); | 4183 return bucket[index].get$hashMapCellValue(); |
4100 }, | 4184 }, |
4101 $indexSet: function(_, key, value) { | 4185 $indexSet: function(_, key, value) { |
4102 var strings, nums, rest, hash, bucket, index; | 4186 var strings, nums, rest, hash, bucket, index; |
4103 if (typeof key === "string") { | 4187 if (typeof key === "string") { |
4104 strings = this._strings; | 4188 strings = this._strings; |
4105 if (strings == null) { | 4189 if (strings == null) { |
4106 strings = this._newHashTable$0(); | 4190 strings = this._newHashTable$0(); |
4107 this._strings = strings; | 4191 this._strings = strings; |
4108 } | 4192 } |
4109 this._addHashTableEntry$3(strings, key, value); | 4193 this._addHashTableEntry$3(strings, key, value); |
4110 } else if (typeof key === "number" && (key & 0x3ffffff) === key) { | 4194 } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
4111 nums = this._nums; | 4195 nums = this._nums; |
4112 if (nums == null) { | 4196 if (nums == null) { |
4113 nums = this._newHashTable$0(); | 4197 nums = this._newHashTable$0(); |
4114 this._nums = nums; | 4198 this._nums = nums; |
4115 } | 4199 } |
4116 this._addHashTableEntry$3(nums, key, value); | 4200 this._addHashTableEntry$3(nums, key, value); |
4117 } else { | 4201 } else { |
4118 rest = this._rest; | 4202 rest = this._rest; |
4119 if (rest == null) { | 4203 if (rest == null) { |
4120 rest = this._newHashTable$0(); | 4204 rest = this._newHashTable$0(); |
4121 this._rest = rest; | 4205 this._rest = rest; |
4122 } | 4206 } |
4123 hash = this.internalComputeHashCode$1(key); | 4207 hash = this.internalComputeHashCode$1(key); |
4124 bucket = this._getTableEntry$2(rest, hash); | 4208 bucket = this._getTableBucket$2(rest, hash); |
4125 if (bucket == null) | 4209 if (bucket == null) |
4126 this._setTableEntry$3(rest, hash, [this._newLinkedCell$2(key, value)
]); | 4210 this._setTableEntry$3(rest, hash, [this._newLinkedCell$2(key, value)
]); |
4127 else { | 4211 else { |
4128 index = this.internalFindBucketIndex$2(bucket, key); | 4212 index = this.internalFindBucketIndex$2(bucket, key); |
4129 if (index >= 0) | 4213 if (index >= 0) |
4130 bucket[index].set$hashMapCellValue(value); | 4214 bucket[index].set$hashMapCellValue(value); |
4131 else | 4215 else |
4132 bucket.push(this._newLinkedCell$2(key, value)); | 4216 bucket.push(this._newLinkedCell$2(key, value)); |
4133 } | 4217 } |
4134 } | 4218 } |
4135 }, | 4219 }, |
4136 remove$1: function(_, key) { | 4220 remove$1: function(_, key) { |
4137 if (typeof key === "string") | 4221 if (typeof key === "string") |
4138 return this._removeHashTableEntry$2(this._strings, key); | 4222 return this._removeHashTableEntry$2(this._strings, key); |
4139 else if (typeof key === "number" && (key & 0x3ffffff) === key) | 4223 else if (typeof key === "number" && (key & 0x3ffffff) === key) |
4140 return this._removeHashTableEntry$2(this._nums, key); | 4224 return this._removeHashTableEntry$2(this._nums, key); |
4141 else | 4225 else |
4142 return this.internalRemove$1(key); | 4226 return this.internalRemove$1(key); |
4143 }, | 4227 }, |
4144 internalRemove$1: function(key) { | 4228 internalRemove$1: function(key) { |
4145 var rest, bucket, index, cell; | 4229 var rest, bucket, index, cell; |
4146 rest = this._rest; | 4230 rest = this._rest; |
4147 if (rest == null) | 4231 if (rest == null) |
4148 return; | 4232 return; |
4149 bucket = this._getTableEntry$2(rest, this.internalComputeHashCode$1(key)
); | 4233 bucket = this._getTableBucket$2(rest, this.internalComputeHashCode$1(key
)); |
4150 index = this.internalFindBucketIndex$2(bucket, key); | 4234 index = this.internalFindBucketIndex$2(bucket, key); |
4151 if (index < 0) | 4235 if (index < 0) |
4152 return; | 4236 return; |
4153 cell = bucket.splice(index, 1)[0]; | 4237 cell = bucket.splice(index, 1)[0]; |
4154 this._unlinkCell$1(cell); | 4238 this._unlinkCell$1(cell); |
4155 return cell.get$hashMapCellValue(); | 4239 return cell.get$hashMapCellValue(); |
4156 }, | 4240 }, |
4157 clear$0: function(_) { | 4241 clear$0: function(_) { |
4158 if (this.__js_helper$_length > 0) { | 4242 if (this.__js_helper$_length > 0) { |
4159 this._last = null; | 4243 this._last = null; |
(...skipping 10 matching lines...) Expand all Loading... |
4170 cell = this._first; | 4254 cell = this._first; |
4171 modifications = this._modifications; | 4255 modifications = this._modifications; |
4172 for (; cell != null;) { | 4256 for (; cell != null;) { |
4173 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); | 4257 action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); |
4174 if (modifications !== this._modifications) | 4258 if (modifications !== this._modifications) |
4175 throw H.wrapException(new P.ConcurrentModificationError(this)); | 4259 throw H.wrapException(new P.ConcurrentModificationError(this)); |
4176 cell = cell._next; | 4260 cell = cell._next; |
4177 } | 4261 } |
4178 }, | 4262 }, |
4179 _addHashTableEntry$3: function(table, key, value) { | 4263 _addHashTableEntry$3: function(table, key, value) { |
4180 var cell = this._getTableEntry$2(table, key); | 4264 var cell = this._getTableCell$2(table, key); |
4181 if (cell == null) | 4265 if (cell == null) |
4182 this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value)); | 4266 this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value)); |
4183 else | 4267 else |
4184 cell.set$hashMapCellValue(value); | 4268 cell.set$hashMapCellValue(value); |
4185 }, | 4269 }, |
4186 _removeHashTableEntry$2: function(table, key) { | 4270 _removeHashTableEntry$2: function(table, key) { |
4187 var cell; | 4271 var cell; |
4188 if (table == null) | 4272 if (table == null) |
4189 return; | 4273 return; |
4190 cell = this._getTableEntry$2(table, key); | 4274 cell = this._getTableCell$2(table, key); |
4191 if (cell == null) | 4275 if (cell == null) |
4192 return; | 4276 return; |
4193 this._unlinkCell$1(cell); | 4277 this._unlinkCell$1(cell); |
4194 this._deleteTableEntry$2(table, key); | 4278 this._deleteTableEntry$2(table, key); |
4195 return cell.get$hashMapCellValue(); | 4279 return cell.get$hashMapCellValue(); |
4196 }, | 4280 }, |
4197 _newLinkedCell$2: function(key, value) { | 4281 _newLinkedCell$2: function(key, value) { |
4198 var cell, last; | 4282 var cell, last; |
4199 cell = new H.LinkedHashMapCell(key, value, null, null); | 4283 cell = new H.LinkedHashMapCell(key, value, null, null); |
4200 if (this._first == null) { | 4284 if (this._first == null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4234 return -1; | 4318 return -1; |
4235 $length = bucket.length; | 4319 $length = bucket.length; |
4236 for (i = 0; i < $length; ++i) | 4320 for (i = 0; i < $length; ++i) |
4237 if (J.$eq$(bucket[i].get$hashMapCellKey(), key)) | 4321 if (J.$eq$(bucket[i].get$hashMapCellKey(), key)) |
4238 return i; | 4322 return i; |
4239 return -1; | 4323 return -1; |
4240 }, | 4324 }, |
4241 toString$0: function(_) { | 4325 toString$0: function(_) { |
4242 return P.Maps_mapToString(this); | 4326 return P.Maps_mapToString(this); |
4243 }, | 4327 }, |
4244 _getTableEntry$2: function(table, key) { | 4328 _getTableCell$2: function(table, key) { |
| 4329 return table[key]; |
| 4330 }, |
| 4331 _getTableBucket$2: function(table, key) { |
4245 return table[key]; | 4332 return table[key]; |
4246 }, | 4333 }, |
4247 _setTableEntry$3: function(table, key, value) { | 4334 _setTableEntry$3: function(table, key, value) { |
4248 table[key] = value; | 4335 table[key] = value; |
4249 }, | 4336 }, |
4250 _deleteTableEntry$2: function(table, key) { | 4337 _deleteTableEntry$2: function(table, key) { |
4251 delete table[key]; | 4338 delete table[key]; |
4252 }, | 4339 }, |
4253 _containsTableEntry$2: function(table, key) { | 4340 _containsTableEntry$2: function(table, key) { |
4254 return this._getTableEntry$2(table, key) != null; | 4341 return this._getTableCell$2(table, key) != null; |
4255 }, | 4342 }, |
4256 _newHashTable$0: function() { | 4343 _newHashTable$0: function() { |
4257 var table = Object.create(null); | 4344 var table = Object.create(null); |
4258 this._setTableEntry$3(table, "<non-identifier-key>", table); | 4345 this._setTableEntry$3(table, "<non-identifier-key>", table); |
4259 this._deleteTableEntry$2(table, "<non-identifier-key>"); | 4346 this._deleteTableEntry$2(table, "<non-identifier-key>"); |
4260 return table; | 4347 return table; |
4261 }, | 4348 }, |
4262 $isInternalMap: 1, | 4349 $isInternalMap: 1, |
4263 $isMap: 1, | 4350 $isMap: 1, |
4264 static: {JsLinkedHashMap_JsLinkedHashMap$es6: function($K, $V) { | 4351 static: { |
| 4352 JsLinkedHashMap_JsLinkedHashMap$es6: function($K, $V) { |
4265 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null,
null, null, 0), [$K, $V]); | 4353 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null,
null, null, 0), [$K, $V]); |
4266 }} | 4354 } |
| 4355 } |
4267 }, | 4356 }, |
4268 JsLinkedHashMap_values_closure: { | 4357 JsLinkedHashMap_values_closure: { |
4269 "^": "Closure:0;$this", | 4358 "^": "Closure:0;$this", |
4270 call$1: [function(each) { | 4359 call$1: [function(each) { |
4271 return this.$this.$index(0, each); | 4360 return this.$this.$index(0, each); |
4272 }, null, null, 2, 0, null, 22, "call"] | 4361 }, null, null, 2, 0, null, 18, "call"] |
4273 }, | 4362 }, |
4274 LinkedHashMapCell: { | 4363 LinkedHashMapCell: { |
4275 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next<,_previous<" | 4364 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next<,_previous<" |
4276 }, | 4365 }, |
4277 LinkedHashMapKeyIterable: { | 4366 LinkedHashMapKeyIterable: { |
4278 "^": "Iterable;__js_helper$_map", | 4367 "^": "Iterable;__js_helper$_map", |
4279 get$length: function(_) { | 4368 get$length: function(_) { |
4280 return this.__js_helper$_map.__js_helper$_length; | 4369 return this.__js_helper$_map.__js_helper$_length; |
4281 }, | 4370 }, |
4282 get$isEmpty: function(_) { | 4371 get$isEmpty: function(_) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4328 } | 4417 } |
4329 } | 4418 } |
4330 }, | 4419 }, |
4331 initHooks_closure: { | 4420 initHooks_closure: { |
4332 "^": "Closure:0;getTag", | 4421 "^": "Closure:0;getTag", |
4333 call$1: function(o) { | 4422 call$1: function(o) { |
4334 return this.getTag(o); | 4423 return this.getTag(o); |
4335 } | 4424 } |
4336 }, | 4425 }, |
4337 initHooks_closure0: { | 4426 initHooks_closure0: { |
4338 "^": "Closure:29;getUnknownTag", | 4427 "^": "Closure:22;getUnknownTag", |
4339 call$2: function(o, tag) { | 4428 call$2: function(o, tag) { |
4340 return this.getUnknownTag(o, tag); | 4429 return this.getUnknownTag(o, tag); |
4341 } | 4430 } |
4342 }, | 4431 }, |
4343 initHooks_closure1: { | 4432 initHooks_closure1: { |
4344 "^": "Closure:37;prototypeForTag", | 4433 "^": "Closure:36;prototypeForTag", |
4345 call$1: function(tag) { | 4434 call$1: function(tag) { |
4346 return this.prototypeForTag(tag); | 4435 return this.prototypeForTag(tag); |
4347 } | 4436 } |
4348 }, | 4437 }, |
4349 JSSyntaxRegExp: { | 4438 JSSyntaxRegExp: { |
4350 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegE
xp", | 4439 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegE
xp", |
4351 toString$0: function(_) { | 4440 toString$0: function(_) { |
4352 return "RegExp/" + this.pattern + "/"; | 4441 return "RegExp/" + this.pattern + "/"; |
4353 }, | 4442 }, |
4354 get$_nativeGlobalVersion: function() { | 4443 get$_nativeGlobalVersion: function() { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4404 t1 = match.length; | 4493 t1 = match.length; |
4405 t2 = t1 - 1; | 4494 t2 = t1 - 1; |
4406 if (t2 < 0) | 4495 if (t2 < 0) |
4407 return H.ioore(match, t2); | 4496 return H.ioore(match, t2); |
4408 if (match[t2] != null) | 4497 if (match[t2] != null) |
4409 return; | 4498 return; |
4410 C.JSArray_methods.set$length(match, t2); | 4499 C.JSArray_methods.set$length(match, t2); |
4411 return new H._MatchImplementation(this, match); | 4500 return new H._MatchImplementation(this, match); |
4412 }, | 4501 }, |
4413 matchAsPrefix$2: function(_, string, start) { | 4502 matchAsPrefix$2: function(_, string, start) { |
4414 var t1 = J.getInterceptor$n(start); | 4503 if (start < 0 || start > string.length) |
4415 if (t1.$lt(start, 0) || t1.$gt(start, string.length)) | |
4416 throw H.wrapException(P.RangeError$range(start, 0, string.length, null
, null)); | 4504 throw H.wrapException(P.RangeError$range(start, 0, string.length, null
, null)); |
4417 return this._execAnchored$2(string, start); | 4505 return this._execAnchored$2(string, start); |
4418 }, | 4506 }, |
4419 $isRegExp: 1, | 4507 $isRegExp: 1, |
4420 static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensit
ive, global) { | 4508 static: { |
| 4509 JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, gl
obal) { |
4421 var m, i, g, regexp; | 4510 var m, i, g, regexp; |
4422 H.checkString(source); | 4511 H.checkString(source); |
4423 m = multiLine ? "m" : ""; | 4512 m = multiLine ? "m" : ""; |
4424 i = caseSensitive ? "" : "i"; | 4513 i = caseSensitive ? "" : "i"; |
4425 g = global ? "g" : ""; | 4514 g = global ? "g" : ""; |
4426 regexp = function(source, modifiers) { | 4515 regexp = function(source, modifiers) { |
4427 try { | 4516 try { |
4428 return new RegExp(source, modifiers); | 4517 return new RegExp(source, modifiers); |
4429 } catch (e) { | 4518 } catch (e) { |
4430 return e; | 4519 return e; |
4431 } | 4520 } |
4432 }(source, m + i + g); | 4521 }(source, m + i + g); |
4433 if (regexp instanceof RegExp) | 4522 if (regexp instanceof RegExp) |
4434 return regexp; | 4523 return regexp; |
4435 throw H.wrapException(new P.FormatException("Illegal RegExp pattern ("
+ String(regexp) + ")", source, null)); | 4524 throw H.wrapException(new P.FormatException("Illegal RegExp pattern ("
+ String(regexp) + ")", source, null)); |
4436 }} | 4525 } |
| 4526 } |
4437 }, | 4527 }, |
4438 _MatchImplementation: { | 4528 _MatchImplementation: { |
4439 "^": "Object;pattern,_match", | 4529 "^": "Object;pattern,_match", |
4440 get$start: function(_) { | 4530 get$start: function(_) { |
4441 return this._match.index; | 4531 return this._match.index; |
4442 }, | 4532 }, |
4443 get$end: function() { | 4533 get$end: function() { |
4444 var t1, t2; | 4534 var t1, t2; |
4445 t1 = this._match; | 4535 t1 = this._match; |
4446 t2 = t1.index; | 4536 t2 = t1.index; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4498 } | 4588 } |
4499 } | 4589 } |
4500 this.__js_helper$_current = null; | 4590 this.__js_helper$_current = null; |
4501 this._string = null; | 4591 this._string = null; |
4502 return false; | 4592 return false; |
4503 } | 4593 } |
4504 }, | 4594 }, |
4505 StringMatch: { | 4595 StringMatch: { |
4506 "^": "Object;start>,input,pattern", | 4596 "^": "Object;start>,input,pattern", |
4507 get$end: function() { | 4597 get$end: function() { |
4508 return J.$add$ns(this.start, this.pattern.length); | 4598 return this.start + this.pattern.length; |
4509 }, | 4599 }, |
4510 $index: function(_, g) { | 4600 $index: function(_, g) { |
4511 if (g !== 0) | 4601 if (g !== 0) |
4512 H.throwExpression(P.RangeError$value(g, null, null)); | 4602 H.throwExpression(P.RangeError$value(g, null, null)); |
4513 return this.pattern; | 4603 return this.pattern; |
4514 } | 4604 } |
4515 }, | 4605 }, |
4516 _StringAllMatchesIterable: { | 4606 _StringAllMatchesIterable: { |
4517 "^": "Iterable;_input,_pattern,__js_helper$_index", | 4607 "^": "Iterable;_input,_pattern,__js_helper$_index", |
4518 get$iterator: function(_) { | 4608 get$iterator: function(_) { |
4519 return new H._StringAllMatchesIterator(this._input, this._pattern, this.
__js_helper$_index, null); | 4609 return new H._StringAllMatchesIterator(this._input, this._pattern, this.
__js_helper$_index, null); |
4520 }, | 4610 }, |
4521 $asIterable: function() { | 4611 $asIterable: function() { |
4522 return [P.Match]; | 4612 return [P.Match]; |
4523 } | 4613 } |
4524 }, | 4614 }, |
4525 _StringAllMatchesIterator: { | 4615 _StringAllMatchesIterator: { |
4526 "^": "Object;_input,_pattern,__js_helper$_index,__js_helper$_current", | 4616 "^": "Object;_input,_pattern,__js_helper$_index,__js_helper$_current", |
4527 moveNext$0: function() { | 4617 moveNext$0: function() { |
4528 var t1, t2, t3, t4, index, end; | 4618 var t1, t2, t3, t4, t5, t6, index, end; |
4529 t1 = this._pattern; | 4619 t1 = this.__js_helper$_index; |
4530 t2 = t1.length; | 4620 t2 = this._pattern; |
4531 t3 = this._input; | 4621 t3 = t2.length; |
4532 t4 = J.getInterceptor$asx(t3); | 4622 t4 = this._input; |
4533 if (J.$gt$n(J.$add$ns(this.__js_helper$_index, t2), t4.get$length(t3)))
{ | 4623 t5 = J.getInterceptor$asx(t4); |
| 4624 t6 = t5.get$length(t4); |
| 4625 if (typeof t6 !== "number") |
| 4626 return H.iae(t6); |
| 4627 if (t1 + t3 > t6) { |
4534 this.__js_helper$_current = null; | 4628 this.__js_helper$_current = null; |
4535 return false; | 4629 return false; |
4536 } | 4630 } |
4537 index = t3.indexOf(t1, this.__js_helper$_index); | 4631 index = t4.indexOf(t2, this.__js_helper$_index); |
4538 if (index < 0) { | 4632 if (index < 0) { |
4539 this.__js_helper$_index = J.$add$ns(t4.get$length(t3), 1); | 4633 this.__js_helper$_index = J.$add$ns(t5.get$length(t4), 1); |
4540 this.__js_helper$_current = null; | 4634 this.__js_helper$_current = null; |
4541 return false; | 4635 return false; |
4542 } | 4636 } |
4543 end = index + t2; | 4637 end = index + t3; |
4544 this.__js_helper$_current = new H.StringMatch(index, t3, t1); | 4638 this.__js_helper$_current = new H.StringMatch(index, t4, t2); |
4545 this.__js_helper$_index = end === this.__js_helper$_index ? end + 1 : en
d; | 4639 this.__js_helper$_index = end === this.__js_helper$_index ? end + 1 : en
d; |
4546 return true; | 4640 return true; |
4547 }, | 4641 }, |
4548 get$current: function() { | 4642 get$current: function() { |
4549 return this.__js_helper$_current; | 4643 return this.__js_helper$_current; |
4550 } | 4644 } |
4551 } | 4645 } |
4552 }], ["async.null_stream_sink", "package:async/src/null_stream_sink.dart",, N,
{ | 4646 }], ["", "package:stack_trace/src/chain.dart",, U, { |
4553 "^": "", | 4647 "^": "", |
4554 NullStreamSink: { | 4648 Chain: { |
4555 "^": "Object;done,_null_stream_sink$_closed,_addingStream", | 4649 "^": "Object;traces", |
4556 add$1: function(_, data) { | 4650 get$terse: function() { |
4557 this._checkEventAllowed$0(); | 4651 return this.foldFrames$2$terse(new U.Chain_terse_closure(), true); |
4558 }, | 4652 }, |
4559 addStream$1: function(stream) { | 4653 foldFrames$2$terse: function(predicate, terse) { |
4560 var future; | 4654 var foldedTraces, nonEmptyTraces; |
4561 this._checkEventAllowed$0(); | 4655 foldedTraces = H.setRuntimeTypeInfo(new H.MappedListIterable(this.traces
, new U.Chain_foldFrames_closure(predicate, true)), [null, null]); |
4562 this._addingStream = true; | 4656 nonEmptyTraces = foldedTraces.super$Iterable$where(foldedTraces, new U.C
hain_foldFrames_closure0(true)); |
4563 future = stream.listen$1(null).cancel$0(); | 4657 if (!nonEmptyTraces.get$iterator(nonEmptyTraces).moveNext$0() && !folded
Traces.get$isEmpty(foldedTraces)) |
4564 if (future == null) { | 4658 return new U.Chain(P.List_List$unmodifiable([foldedTraces.get$last(fol
dedTraces)], Y.Trace)); |
4565 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null),
[null]); | 4659 return new U.Chain(P.List_List$unmodifiable(nonEmptyTraces, Y.Trace)); |
4566 future._asyncComplete$1(null); | 4660 }, |
| 4661 toTrace$0: function() { |
| 4662 var t1 = this.traces; |
| 4663 return new Y.Trace(P.List_List$unmodifiable(H.setRuntimeTypeInfo(new H.E
xpandIterable(t1, new U.Chain_toTrace_closure()), [H.getTypeArgumentByIndex(t1,
0), null]), A.Frame)); |
| 4664 }, |
| 4665 toString$0: function(_) { |
| 4666 var t1 = this.traces; |
| 4667 return H.setRuntimeTypeInfo(new H.MappedListIterable(t1, new U.Chain_toS
tring_closure(H.setRuntimeTypeInfo(new H.MappedListIterable(t1, new U.Chain_toSt
ring_closure0()), [null, null]).fold$2(0, 0, P.math__max$closure()))), [null, nu
ll]).join$1(0, "===== asynchronous gap ===========================\n"); |
| 4668 }, |
| 4669 static: { |
| 4670 Chain_Chain$parse: function(chain) { |
| 4671 var t1 = J.getInterceptor$asx(chain); |
| 4672 if (t1.get$isEmpty(chain) === true) |
| 4673 return new U.Chain(P.List_List$unmodifiable([], Y.Trace)); |
| 4674 if (t1.contains$1(chain, "===== asynchronous gap =====================
======\n") !== true) |
| 4675 return new U.Chain(P.List_List$unmodifiable([Y.Trace_Trace$parse(cha
in)], Y.Trace)); |
| 4676 return new U.Chain(P.List_List$unmodifiable(H.setRuntimeTypeInfo(new H
.MappedListIterable(t1.split$1(chain, "===== asynchronous gap ==================
=========\n"), new U.closure2()), [null, null]), Y.Trace)); |
4567 } | 4677 } |
4568 return future.whenComplete$1(new N.NullStreamSink_addStream_closure(this
)); | |
4569 }, | |
4570 _checkEventAllowed$0: function() { | |
4571 if (this._null_stream_sink$_closed) | |
4572 throw H.wrapException(new P.StateError("Cannot add to a closed sink.")
); | |
4573 if (this._addingStream) | |
4574 throw H.wrapException(new P.StateError("Cannot add to a sink while add
ing a stream.")); | |
4575 }, | |
4576 close$0: function(_) { | |
4577 this._null_stream_sink$_closed = true; | |
4578 return this.done; | |
4579 } | 4678 } |
4580 }, | 4679 }, |
4581 NullStreamSink_addStream_closure: { | 4680 closure2: { |
4582 "^": "Closure:1;$this", | 4681 "^": "Closure:0;", |
4583 call$0: [function() { | 4682 call$1: [function(trace) { |
4584 this.$this._addingStream = false; | 4683 return Y.Trace$parseFriendly(trace); |
4585 }, null, null, 0, 0, null, "call"] | 4684 }, null, null, 2, 0, null, 14, "call"] |
| 4685 }, |
| 4686 Chain_terse_closure: { |
| 4687 "^": "Closure:0;", |
| 4688 call$1: function(_) { |
| 4689 return false; |
| 4690 } |
| 4691 }, |
| 4692 Chain_foldFrames_closure: { |
| 4693 "^": "Closure:0;predicate,terse", |
| 4694 call$1: [function(trace) { |
| 4695 return trace.foldFrames$2$terse(this.predicate, this.terse); |
| 4696 }, null, null, 2, 0, null, 14, "call"] |
| 4697 }, |
| 4698 Chain_foldFrames_closure0: { |
| 4699 "^": "Closure:0;terse", |
| 4700 call$1: function(trace) { |
| 4701 if (trace.get$frames().length > 1) |
| 4702 return true; |
| 4703 if (trace.get$frames().length === 0) |
| 4704 return false; |
| 4705 if (!this.terse) |
| 4706 return false; |
| 4707 return C.JSArray_methods.get$single(trace.get$frames()).get$line() != nu
ll; |
| 4708 } |
| 4709 }, |
| 4710 Chain_toTrace_closure: { |
| 4711 "^": "Closure:0;", |
| 4712 call$1: function(trace) { |
| 4713 return trace.get$frames(); |
| 4714 } |
| 4715 }, |
| 4716 Chain_toString_closure0: { |
| 4717 "^": "Closure:0;", |
| 4718 call$1: [function(trace) { |
| 4719 return H.setRuntimeTypeInfo(new H.MappedListIterable(trace.get$frames(),
new U.Chain_toString__closure0()), [null, null]).fold$2(0, 0, P.math__max$closu
re()); |
| 4720 }, null, null, 2, 0, null, 14, "call"] |
| 4721 }, |
| 4722 Chain_toString__closure0: { |
| 4723 "^": "Closure:0;", |
| 4724 call$1: [function(frame) { |
| 4725 return J.get$length$asx(J.get$location$x(frame)); |
| 4726 }, null, null, 2, 0, null, 11, "call"] |
| 4727 }, |
| 4728 Chain_toString_closure: { |
| 4729 "^": "Closure:0;longest", |
| 4730 call$1: [function(trace) { |
| 4731 return H.setRuntimeTypeInfo(new H.MappedListIterable(trace.get$frames(),
new U.Chain_toString__closure(this.longest)), [null, null]).join$0(0); |
| 4732 }, null, null, 2, 0, null, 14, "call"] |
| 4733 }, |
| 4734 Chain_toString__closure: { |
| 4735 "^": "Closure:0;longest", |
| 4736 call$1: [function(frame) { |
| 4737 return H.S(B.padRight(J.get$location$x(frame), this.longest)) + " " + H
.S(frame.get$member()) + "\n"; |
| 4738 }, null, null, 2, 0, null, 11, "call"] |
4586 } | 4739 } |
4587 }], ["dart._internal", "dart:_internal",, H, { | 4740 }], ["dart._internal", "dart:_internal",, H, { |
4588 "^": "", | 4741 "^": "", |
4589 IterableElementError_noElement: function() { | 4742 IterableElementError_noElement: function() { |
4590 return new P.StateError("No element"); | 4743 return new P.StateError("No element"); |
4591 }, | 4744 }, |
4592 IterableElementError_tooMany: function() { | 4745 IterableElementError_tooMany: function() { |
4593 return new P.StateError("Too many elements"); | 4746 return new P.StateError("Too many elements"); |
4594 }, | 4747 }, |
4595 IterableElementError_tooFew: function() { | 4748 IterableElementError_tooFew: function() { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4672 throw H.wrapException(new P.ConcurrentModificationError(this)); | 4825 throw H.wrapException(new P.ConcurrentModificationError(this)); |
4673 } | 4826 } |
4674 t1 = buffer._contents; | 4827 t1 = buffer._contents; |
4675 return t1.charCodeAt(0) == 0 ? t1 : t1; | 4828 return t1.charCodeAt(0) == 0 ? t1 : t1; |
4676 } | 4829 } |
4677 }, | 4830 }, |
4678 join$0: function($receiver) { | 4831 join$0: function($receiver) { |
4679 return this.join$1($receiver, ""); | 4832 return this.join$1($receiver, ""); |
4680 }, | 4833 }, |
4681 map$1: function(_, f) { | 4834 map$1: function(_, f) { |
4682 return H.setRuntimeTypeInfo(new H.MappedListIterable(this, f), [null, nu
ll]); | 4835 return H.setRuntimeTypeInfo(new H.MappedListIterable(this, f), [H.getRun
timeTypeArgument(this, "ListIterable", 0), null]); |
4683 }, | 4836 }, |
4684 fold$2: function(_, initialValue, combine) { | 4837 fold$2: function(_, initialValue, combine) { |
4685 var $length, value, i; | 4838 var $length, value, i; |
4686 $length = this.get$length(this); | 4839 $length = this.get$length(this); |
4687 for (value = initialValue, i = 0; i < $length; ++i) { | 4840 for (value = initialValue, i = 0; i < $length; ++i) { |
4688 value = combine.call$2(value, this.elementAt$1(0, i)); | 4841 value = combine.call$2(value, this.elementAt$1(0, i)); |
4689 if ($length !== this.get$length(this)) | 4842 if ($length !== this.get$length(this)) |
4690 throw H.wrapException(new P.ConcurrentModificationError(this)); | 4843 throw H.wrapException(new P.ConcurrentModificationError(this)); |
4691 } | 4844 } |
4692 return value; | 4845 return value; |
4693 }, | 4846 }, |
4694 toList$1$growable: function(_, growable) { | 4847 toList$1$growable: function(_, growable) { |
4695 var result, i, t1; | 4848 var result, i, t1; |
4696 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "ListI
terable", 0)]); | 4849 result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "ListI
terable", 0)]); |
4697 C.JSArray_methods.set$length(result, this.get$length(this)); | 4850 C.JSArray_methods.set$length(result, this.get$length(this)); |
4698 for (i = 0; i < this.get$length(this); ++i) { | 4851 for (i = 0; i < this.get$length(this); ++i) { |
4699 t1 = this.elementAt$1(0, i); | 4852 t1 = this.elementAt$1(0, i); |
4700 if (i >= result.length) | 4853 if (i >= result.length) |
4701 return H.ioore(result, i); | 4854 return H.ioore(result, i); |
4702 result[i] = t1; | 4855 result[i] = t1; |
4703 } | 4856 } |
4704 return result; | 4857 return result; |
4705 }, | 4858 }, |
4706 toList$0: function($receiver) { | 4859 toList$0: function($receiver) { |
4707 return this.toList$1$growable($receiver, true); | 4860 return this.toList$1$growable($receiver, true); |
4708 }, | 4861 }, |
4709 $isEfficientLength: 1 | 4862 $isEfficientLength: 1 |
4710 }, | 4863 }, |
4711 SubListIterable: { | 4864 SubListIterable: { |
4712 "^": "ListIterable;__internal$_iterable,__internal$_start,_endOrLength", | 4865 "^": "ListIterable;_iterable,__internal$_start,_endOrLength", |
4713 get$_endIndex: function() { | 4866 get$_endIndex: function() { |
4714 var $length, t1, t2; | 4867 var $length, t1, t2; |
4715 $length = J.get$length$asx(this.__internal$_iterable); | 4868 $length = J.get$length$asx(this._iterable); |
4716 t1 = this._endOrLength; | 4869 t1 = this._endOrLength; |
4717 if (t1 != null) { | 4870 if (t1 != null) { |
4718 if (typeof t1 !== "number") | 4871 if (typeof t1 !== "number") |
4719 return t1.$gt(); | 4872 return t1.$gt(); |
4720 t2 = t1 > $length; | 4873 t2 = t1 > $length; |
4721 } else | 4874 } else |
4722 t2 = true; | 4875 t2 = true; |
4723 if (t2) | 4876 if (t2) |
4724 return $length; | 4877 return $length; |
4725 return t1; | 4878 return t1; |
4726 }, | 4879 }, |
4727 get$_startIndex: function() { | 4880 get$_startIndex: function() { |
4728 var $length, t1; | 4881 var $length, t1; |
4729 $length = J.get$length$asx(this.__internal$_iterable); | 4882 $length = J.get$length$asx(this._iterable); |
4730 t1 = this.__internal$_start; | 4883 t1 = this.__internal$_start; |
4731 if (t1 > $length) | 4884 if (t1 > $length) |
4732 return $length; | 4885 return $length; |
4733 return t1; | 4886 return t1; |
4734 }, | 4887 }, |
4735 get$length: function(_) { | 4888 get$length: function(_) { |
4736 var $length, t1, t2, t3; | 4889 var $length, t1, t2, t3; |
4737 $length = J.get$length$asx(this.__internal$_iterable); | 4890 $length = J.get$length$asx(this._iterable); |
4738 t1 = this.__internal$_start; | 4891 t1 = this.__internal$_start; |
4739 if (t1 >= $length) | 4892 if (t1 >= $length) |
4740 return 0; | 4893 return 0; |
4741 t2 = this._endOrLength; | 4894 t2 = this._endOrLength; |
4742 if (t2 != null) { | 4895 if (t2 != null) { |
4743 if (typeof t2 !== "number") | 4896 if (typeof t2 !== "number") |
4744 return t2.$ge(); | 4897 return t2.$ge(); |
4745 t3 = t2 >= $length; | 4898 t3 = t2 >= $length; |
4746 } else | 4899 } else |
4747 t3 = true; | 4900 t3 = true; |
4748 if (t3) | 4901 if (t3) |
4749 return $length - t1; | 4902 return $length - t1; |
4750 if (typeof t2 !== "number") | 4903 if (typeof t2 !== "number") |
4751 return t2.$sub(); | 4904 return t2.$sub(); |
4752 return t2 - t1; | 4905 return t2 - t1; |
4753 }, | 4906 }, |
4754 elementAt$1: function(_, index) { | 4907 elementAt$1: function(_, index) { |
4755 var realIndex, t1; | 4908 var t1, realIndex; |
4756 realIndex = this.get$_startIndex() + index; | 4909 t1 = this.get$_startIndex(); |
4757 if (index >= 0) { | 4910 if (typeof index !== "number") |
| 4911 return H.iae(index); |
| 4912 realIndex = t1 + index; |
| 4913 if (!(index < 0)) { |
4758 t1 = this.get$_endIndex(); | 4914 t1 = this.get$_endIndex(); |
4759 if (typeof t1 !== "number") | 4915 if (typeof t1 !== "number") |
4760 return H.iae(t1); | 4916 return H.iae(t1); |
4761 t1 = realIndex >= t1; | 4917 t1 = realIndex >= t1; |
4762 } else | 4918 } else |
4763 t1 = true; | 4919 t1 = true; |
4764 if (t1) | 4920 if (t1) |
4765 throw H.wrapException(P.IndexError$(index, this, "index", null, null))
; | 4921 throw H.wrapException(P.IndexError$(index, this, "index", null, null))
; |
4766 return J.elementAt$1$ax(this.__internal$_iterable, realIndex); | 4922 return J.elementAt$1$ax(this._iterable, realIndex); |
4767 }, | 4923 }, |
4768 take$1: function(_, count) { | 4924 take$1: function(_, count) { |
4769 var t1, t2, newEnd; | 4925 var t1, t2, newEnd; |
4770 if (count < 0) | 4926 if (count < 0) |
4771 H.throwExpression(P.RangeError$range(count, 0, null, "count", null)); | 4927 H.throwExpression(P.RangeError$range(count, 0, null, "count", null)); |
4772 t1 = this._endOrLength; | 4928 t1 = this._endOrLength; |
4773 t2 = this.__internal$_start; | 4929 t2 = this.__internal$_start; |
4774 if (t1 == null) | 4930 if (t1 == null) |
4775 return H.SubListIterable$(this.__internal$_iterable, t2, t2 + count, H
.getTypeArgumentByIndex(this, 0)); | 4931 return H.SubListIterable$(this._iterable, t2, t2 + count, H.getTypeArg
umentByIndex(this, 0)); |
4776 else { | 4932 else { |
4777 newEnd = t2 + count; | 4933 newEnd = t2 + count; |
4778 if (typeof t1 !== "number") | 4934 if (typeof t1 !== "number") |
4779 return t1.$lt(); | 4935 return t1.$lt(); |
4780 if (t1 < newEnd) | 4936 if (t1 < newEnd) |
4781 return this; | 4937 return this; |
4782 return H.SubListIterable$(this.__internal$_iterable, t2, newEnd, H.get
TypeArgumentByIndex(this, 0)); | 4938 return H.SubListIterable$(this._iterable, t2, newEnd, H.getTypeArgumen
tByIndex(this, 0)); |
4783 } | 4939 } |
4784 }, | 4940 }, |
4785 toList$1$growable: function(_, growable) { | 4941 toList$1$growable: function(_, growable) { |
4786 var start, t1, t2, end, end0, t3, $length, result, i; | 4942 var start, t1, t2, end, end0, t3, $length, result, i; |
4787 start = this.__internal$_start; | 4943 start = this.__internal$_start; |
4788 t1 = this.__internal$_iterable; | 4944 t1 = this._iterable; |
4789 t2 = J.getInterceptor$asx(t1); | 4945 t2 = J.getInterceptor$asx(t1); |
4790 end = t2.get$length(t1); | 4946 end = t2.get$length(t1); |
4791 end0 = this._endOrLength; | 4947 end0 = this._endOrLength; |
4792 if (end0 != null) { | 4948 if (end0 != null) { |
4793 if (typeof end0 !== "number") | 4949 if (typeof end0 !== "number") |
4794 return end0.$lt(); | 4950 return end0.$lt(); |
4795 t3 = end0 < end; | 4951 t3 = end0 < end; |
4796 } else | 4952 } else |
4797 t3 = false; | 4953 t3 = false; |
4798 if (t3) | 4954 if (t3) |
(...skipping 22 matching lines...) Expand all Loading... |
4821 t2 = this._endOrLength; | 4977 t2 = this._endOrLength; |
4822 if (t2 != null) { | 4978 if (t2 != null) { |
4823 if (typeof t2 !== "number") | 4979 if (typeof t2 !== "number") |
4824 return t2.$lt(); | 4980 return t2.$lt(); |
4825 if (t2 < 0) | 4981 if (t2 < 0) |
4826 H.throwExpression(P.RangeError$range(t2, 0, null, "end", null)); | 4982 H.throwExpression(P.RangeError$range(t2, 0, null, "end", null)); |
4827 if (t1 > t2) | 4983 if (t1 > t2) |
4828 throw H.wrapException(P.RangeError$range(t1, 0, t2, "start", null)); | 4984 throw H.wrapException(P.RangeError$range(t1, 0, t2, "start", null)); |
4829 } | 4985 } |
4830 }, | 4986 }, |
4831 static: {SubListIterable$: function(_iterable, _start, _endOrLength, $E) { | 4987 static: { |
| 4988 SubListIterable$: function(_iterable, _start, _endOrLength, $E) { |
4832 var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start,
_endOrLength), [$E]); | 4989 var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start,
_endOrLength), [$E]); |
4833 t1.SubListIterable$3(_iterable, _start, _endOrLength, $E); | 4990 t1.SubListIterable$3(_iterable, _start, _endOrLength, $E); |
4834 return t1; | 4991 return t1; |
4835 }} | 4992 } |
| 4993 } |
4836 }, | 4994 }, |
4837 ListIterator: { | 4995 ListIterator: { |
4838 "^": "Object;__internal$_iterable,__internal$_length,__internal$_index,_cu
rrent", | 4996 "^": "Object;_iterable,__internal$_length,__internal$_index,_current", |
4839 get$current: function() { | 4997 get$current: function() { |
4840 return this._current; | 4998 return this._current; |
4841 }, | 4999 }, |
4842 moveNext$0: function() { | 5000 moveNext$0: function() { |
4843 var t1, t2, $length, t3; | 5001 var t1, t2, $length, t3; |
4844 t1 = this.__internal$_iterable; | 5002 t1 = this._iterable; |
4845 t2 = J.getInterceptor$asx(t1); | 5003 t2 = J.getInterceptor$asx(t1); |
4846 $length = t2.get$length(t1); | 5004 $length = t2.get$length(t1); |
4847 if (this.__internal$_length !== $length) | 5005 if (this.__internal$_length !== $length) |
4848 throw H.wrapException(new P.ConcurrentModificationError(t1)); | 5006 throw H.wrapException(new P.ConcurrentModificationError(t1)); |
4849 t3 = this.__internal$_index; | 5007 t3 = this.__internal$_index; |
4850 if (t3 >= $length) { | 5008 if (t3 >= $length) { |
4851 this._current = null; | 5009 this._current = null; |
4852 return false; | 5010 return false; |
4853 } | 5011 } |
4854 this._current = t2.elementAt$1(t1, t3); | 5012 this._current = t2.elementAt$1(t1, t3); |
4855 ++this.__internal$_index; | 5013 ++this.__internal$_index; |
4856 return true; | 5014 return true; |
4857 } | 5015 } |
4858 }, | 5016 }, |
4859 MappedIterable: { | 5017 MappedIterable: { |
4860 "^": "Iterable;__internal$_iterable,_f", | 5018 "^": "Iterable;_iterable,_f", |
4861 get$iterator: function(_) { | 5019 get$iterator: function(_) { |
4862 var t1 = new H.MappedIterator(null, J.get$iterator$ax(this.__internal$_i
terable), this._f); | 5020 var t1 = new H.MappedIterator(null, J.get$iterator$ax(this._iterable), t
his._f); |
4863 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 5021 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
4864 return t1; | 5022 return t1; |
4865 }, | 5023 }, |
4866 get$length: function(_) { | 5024 get$length: function(_) { |
4867 return J.get$length$asx(this.__internal$_iterable); | 5025 return J.get$length$asx(this._iterable); |
4868 }, | 5026 }, |
4869 get$isEmpty: function(_) { | 5027 get$isEmpty: function(_) { |
4870 return J.get$isEmpty$asx(this.__internal$_iterable); | 5028 return J.get$isEmpty$asx(this._iterable); |
4871 }, | 5029 }, |
4872 get$last: function(_) { | 5030 get$last: function(_) { |
4873 return this._f$1(J.get$last$ax(this.__internal$_iterable)); | 5031 return this._f$1(J.get$last$ax(this._iterable)); |
4874 }, | 5032 }, |
4875 _f$1: function(arg0) { | 5033 _f$1: function(arg0) { |
4876 return this._f.call$1(arg0); | 5034 return this._f.call$1(arg0); |
4877 }, | 5035 }, |
4878 $asIterable: function($S, $T) { | 5036 $asIterable: function($S, $T) { |
4879 return [$T]; | 5037 return [$T]; |
4880 }, | 5038 }, |
4881 static: {MappedIterable_MappedIterable: function(iterable, $function, $S,
$T) { | 5039 static: { |
| 5040 MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { |
4882 if (!!J.getInterceptor(iterable).$isEfficientLength) | 5041 if (!!J.getInterceptor(iterable).$isEfficientLength) |
4883 return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iter
able, $function), [$S, $T]); | 5042 return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iter
able, $function), [$S, $T]); |
4884 return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function),
[$S, $T]); | 5043 return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function),
[$S, $T]); |
4885 }} | 5044 } |
| 5045 } |
4886 }, | 5046 }, |
4887 EfficientLengthMappedIterable: { | 5047 EfficientLengthMappedIterable: { |
4888 "^": "MappedIterable;__internal$_iterable,_f", | 5048 "^": "MappedIterable;_iterable,_f", |
4889 $isEfficientLength: 1 | 5049 $isEfficientLength: 1 |
4890 }, | 5050 }, |
4891 MappedIterator: { | 5051 MappedIterator: { |
4892 "^": "Iterator;_current,_iterator,_f", | 5052 "^": "Iterator;_current,_iterator,_f", |
4893 moveNext$0: function() { | 5053 moveNext$0: function() { |
4894 var t1 = this._iterator; | 5054 var t1 = this._iterator; |
4895 if (t1.moveNext$0()) { | 5055 if (t1.moveNext$0()) { |
4896 this._current = this._f$1(t1.get$current()); | 5056 this._current = this._f$1(t1.get$current()); |
4897 return true; | 5057 return true; |
4898 } | 5058 } |
(...skipping 20 matching lines...) Expand all Loading... |
4919 }, | 5079 }, |
4920 $asListIterable: function($S, $T) { | 5080 $asListIterable: function($S, $T) { |
4921 return [$T]; | 5081 return [$T]; |
4922 }, | 5082 }, |
4923 $asIterable: function($S, $T) { | 5083 $asIterable: function($S, $T) { |
4924 return [$T]; | 5084 return [$T]; |
4925 }, | 5085 }, |
4926 $isEfficientLength: 1 | 5086 $isEfficientLength: 1 |
4927 }, | 5087 }, |
4928 WhereIterable: { | 5088 WhereIterable: { |
4929 "^": "Iterable;__internal$_iterable,_f", | 5089 "^": "Iterable;_iterable,_f", |
4930 get$iterator: function(_) { | 5090 get$iterator: function(_) { |
4931 var t1 = new H.WhereIterator(J.get$iterator$ax(this.__internal$_iterable
), this._f); | 5091 var t1 = new H.WhereIterator(J.get$iterator$ax(this._iterable), this._f)
; |
4932 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 5092 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
4933 return t1; | 5093 return t1; |
4934 } | 5094 } |
4935 }, | 5095 }, |
4936 WhereIterator: { | 5096 WhereIterator: { |
4937 "^": "Iterator;_iterator,_f", | 5097 "^": "Iterator;_iterator,_f", |
4938 moveNext$0: function() { | 5098 moveNext$0: function() { |
4939 for (var t1 = this._iterator; t1.moveNext$0();) | 5099 for (var t1 = this._iterator; t1.moveNext$0();) |
4940 if (this._f$1(t1.get$current()) === true) | 5100 if (this._f$1(t1.get$current()) === true) |
4941 return true; | 5101 return true; |
4942 return false; | 5102 return false; |
4943 }, | 5103 }, |
4944 get$current: function() { | 5104 get$current: function() { |
4945 return this._iterator.get$current(); | 5105 return this._iterator.get$current(); |
4946 }, | 5106 }, |
4947 _f$1: function(arg0) { | 5107 _f$1: function(arg0) { |
4948 return this._f.call$1(arg0); | 5108 return this._f.call$1(arg0); |
4949 } | 5109 } |
4950 }, | 5110 }, |
| 5111 ExpandIterable: { |
| 5112 "^": "Iterable;_iterable,_f", |
| 5113 get$iterator: function(_) { |
| 5114 return new H.ExpandIterator(J.get$iterator$ax(this._iterable), this._f,
C.C_EmptyIterator, null); |
| 5115 }, |
| 5116 $asIterable: function($S, $T) { |
| 5117 return [$T]; |
| 5118 } |
| 5119 }, |
| 5120 ExpandIterator: { |
| 5121 "^": "Object;_iterator,_f,_currentExpansion,_current", |
| 5122 get$current: function() { |
| 5123 return this._current; |
| 5124 }, |
| 5125 moveNext$0: function() { |
| 5126 var t1, t2; |
| 5127 t1 = this._currentExpansion; |
| 5128 if (t1 == null) |
| 5129 return false; |
| 5130 for (t2 = this._iterator; !t1.moveNext$0();) { |
| 5131 this._current = null; |
| 5132 if (t2.moveNext$0()) { |
| 5133 this._currentExpansion = null; |
| 5134 t1 = J.get$iterator$ax(this._f$1(t2.get$current())); |
| 5135 this._currentExpansion = t1; |
| 5136 } else |
| 5137 return false; |
| 5138 } |
| 5139 this._current = this._currentExpansion.get$current(); |
| 5140 return true; |
| 5141 }, |
| 5142 _f$1: function(arg0) { |
| 5143 return this._f.call$1(arg0); |
| 5144 } |
| 5145 }, |
4951 SkipWhileIterable: { | 5146 SkipWhileIterable: { |
4952 "^": "Iterable;__internal$_iterable,_f", | 5147 "^": "Iterable;_iterable,_f", |
4953 get$iterator: function(_) { | 5148 get$iterator: function(_) { |
4954 var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iter
able), this._f, false); | 5149 var t1 = new H.SkipWhileIterator(J.get$iterator$ax(this._iterable), this
._f, false); |
4955 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 5150 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
4956 return t1; | 5151 return t1; |
4957 } | 5152 } |
4958 }, | 5153 }, |
4959 SkipWhileIterator: { | 5154 SkipWhileIterator: { |
4960 "^": "Iterator;_iterator,_f,_hasSkipped", | 5155 "^": "Iterator;_iterator,_f,_hasSkipped", |
4961 moveNext$0: function() { | 5156 moveNext$0: function() { |
4962 if (!this._hasSkipped) { | 5157 if (!this._hasSkipped) { |
4963 this._hasSkipped = true; | 5158 this._hasSkipped = true; |
4964 for (var t1 = this._iterator; t1.moveNext$0();) | 5159 for (var t1 = this._iterator; t1.moveNext$0();) |
4965 if (this._f$1(t1.get$current()) !== true) | 5160 if (this._f$1(t1.get$current()) !== true) |
4966 return true; | 5161 return true; |
4967 } | 5162 } |
4968 return this._iterator.moveNext$0(); | 5163 return this._iterator.moveNext$0(); |
4969 }, | 5164 }, |
4970 get$current: function() { | 5165 get$current: function() { |
4971 return this._iterator.get$current(); | 5166 return this._iterator.get$current(); |
4972 }, | 5167 }, |
4973 _f$1: function(arg0) { | 5168 _f$1: function(arg0) { |
4974 return this._f.call$1(arg0); | 5169 return this._f.call$1(arg0); |
4975 } | 5170 } |
4976 }, | 5171 }, |
| 5172 EmptyIterator: { |
| 5173 "^": "Object;", |
| 5174 moveNext$0: function() { |
| 5175 return false; |
| 5176 }, |
| 5177 get$current: function() { |
| 5178 return; |
| 5179 } |
| 5180 }, |
4977 FixedLengthListMixin: { | 5181 FixedLengthListMixin: { |
4978 "^": "Object;", | 5182 "^": "Object;", |
4979 set$length: function(receiver, newLength) { | 5183 set$length: function(receiver, newLength) { |
4980 throw H.wrapException(new P.UnsupportedError("Cannot change the length o
f a fixed-length list")); | 5184 throw H.wrapException(new P.UnsupportedError("Cannot change the length o
f a fixed-length list")); |
4981 }, | 5185 }, |
4982 add$1: function(receiver, value) { | 5186 add$1: function(receiver, value) { |
4983 throw H.wrapException(new P.UnsupportedError("Cannot add to a fixed-leng
th list")); | 5187 throw H.wrapException(new P.UnsupportedError("Cannot add to a fixed-leng
th list")); |
4984 }, | 5188 }, |
4985 replaceRange$3: function(receiver, start, end, iterable) { | 5189 replaceRange$3: function(receiver, start, end, iterable) { |
4986 throw H.wrapException(new P.UnsupportedError("Cannot remove from a fixed
-length list")); | 5190 throw H.wrapException(new P.UnsupportedError("Cannot remove from a fixed
-length list")); |
(...skipping 28 matching lines...) Expand all Loading... |
5015 $isList: 1, | 5219 $isList: 1, |
5016 $asList: null, | 5220 $asList: null, |
5017 $isEfficientLength: 1 | 5221 $isEfficientLength: 1 |
5018 }, | 5222 }, |
5019 ReversedListIterable: { | 5223 ReversedListIterable: { |
5020 "^": "ListIterable;_source", | 5224 "^": "ListIterable;_source", |
5021 get$length: function(_) { | 5225 get$length: function(_) { |
5022 return J.get$length$asx(this._source); | 5226 return J.get$length$asx(this._source); |
5023 }, | 5227 }, |
5024 elementAt$1: function(_, index) { | 5228 elementAt$1: function(_, index) { |
5025 var t1, t2; | 5229 var t1, t2, t3; |
5026 t1 = this._source; | 5230 t1 = this._source; |
5027 t2 = J.getInterceptor$asx(t1); | 5231 t2 = J.getInterceptor$asx(t1); |
5028 return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); | 5232 t3 = t2.get$length(t1); |
| 5233 if (typeof index !== "number") |
| 5234 return H.iae(index); |
| 5235 return t2.elementAt$1(t1, t3 - 1 - index); |
5029 } | 5236 } |
5030 }, | 5237 }, |
5031 Symbol0: { | 5238 Symbol0: { |
5032 "^": "Object;__internal$_name<", | 5239 "^": "Object;__internal$_name<", |
5033 $eq: function(_, other) { | 5240 $eq: function(_, other) { |
5034 if (other == null) | 5241 if (other == null) |
5035 return false; | 5242 return false; |
5036 return other instanceof H.Symbol0 && J.$eq$(this.__internal$_name, other
.__internal$_name); | 5243 return other instanceof H.Symbol0 && J.$eq$(this.__internal$_name, other
.__internal$_name); |
5037 }, | 5244 }, |
5038 get$hashCode: function(_) { | 5245 get$hashCode: function(_) { |
5039 var t1 = J.get$hashCode$(this.__internal$_name); | 5246 var hash, t1; |
| 5247 hash = this._hashCode; |
| 5248 if (hash != null) |
| 5249 return hash; |
| 5250 t1 = J.get$hashCode$(this.__internal$_name); |
5040 if (typeof t1 !== "number") | 5251 if (typeof t1 !== "number") |
5041 return H.iae(t1); | 5252 return H.iae(t1); |
5042 return 536870911 & 664597 * t1; | 5253 hash = 536870911 & 664597 * t1; |
| 5254 this._hashCode = hash; |
| 5255 return hash; |
5043 }, | 5256 }, |
5044 toString$0: function(_) { | 5257 toString$0: function(_) { |
5045 return "Symbol(\"" + H.S(this.__internal$_name) + "\")"; | 5258 return 'Symbol("' + H.S(this.__internal$_name) + '")'; |
5046 } | 5259 } |
5047 } | 5260 } |
5048 }], ["dart._js_names", "dart:_js_names",, H, { | 5261 }], ["dart._js_names", "dart:_js_names",, H, { |
5049 "^": "", | 5262 "^": "", |
5050 extractKeys: function(victim) { | 5263 extractKeys: function(victim) { |
5051 var t1 = H.setRuntimeTypeInfo(victim ? Object.keys(victim) : [], [null]); | 5264 var t1 = H.setRuntimeTypeInfo(victim ? Object.keys(victim) : [], [null]); |
5052 t1.fixed$length = Array; | 5265 t1.fixed$length = Array; |
5053 return t1; | 5266 return t1; |
5054 } | 5267 } |
5055 }], ["dart.async", "dart:async",, P, { | 5268 }], ["dart.async", "dart:async",, P, { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5115 fn(errorCode, result); | 5328 fn(errorCode, result); |
5116 break; | 5329 break; |
5117 } catch (error) { | 5330 } catch (error) { |
5118 result = error; | 5331 result = error; |
5119 errorCode = ERROR; | 5332 errorCode = ERROR; |
5120 } | 5333 } |
5121 }; | 5334 }; |
5122 }($function, 1); | 5335 }($function, 1); |
5123 return $.Zone__current.registerBinaryCallback$1(new P._wrapJsFunctionForAs
ync_closure($protected)); | 5336 return $.Zone__current.registerBinaryCallback$1(new P._wrapJsFunctionForAs
ync_closure($protected)); |
5124 }, | 5337 }, |
| 5338 _invokeErrorHandler: function(errorHandler, error, stackTrace) { |
| 5339 var t1 = H.getDynamicRuntimeType(); |
| 5340 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); |
| 5341 if (t1) |
| 5342 return errorHandler.call$2(error, stackTrace); |
| 5343 else |
| 5344 return errorHandler.call$1(error); |
| 5345 }, |
5125 _registerErrorHandler: function(errorHandler, zone) { | 5346 _registerErrorHandler: function(errorHandler, zone) { |
5126 var t1 = H.getDynamicRuntimeType(); | 5347 var t1 = H.getDynamicRuntimeType(); |
5127 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); | 5348 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); |
5128 if (t1) | 5349 if (t1) |
5129 return zone.registerBinaryCallback$1(errorHandler); | 5350 return zone.registerBinaryCallback$1(errorHandler); |
5130 else | 5351 else |
5131 return zone.registerUnaryCallback$1(errorHandler); | 5352 return zone.registerUnaryCallback$1(errorHandler); |
5132 }, | 5353 }, |
5133 Future_Future$value: function(value, $T) { | 5354 Future_Future$value: function(value, $T) { |
5134 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [$T
]); | 5355 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [$T
]); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5242 return result; | 5463 return result; |
5243 return; | 5464 return; |
5244 } catch (exception) { | 5465 } catch (exception) { |
5245 t1 = H.unwrapException(exception); | 5466 t1 = H.unwrapException(exception); |
5246 e = t1; | 5467 e = t1; |
5247 s = H.getTraceFromException(exception); | 5468 s = H.getTraceFromException(exception); |
5248 $.Zone__current.handleUncaughtError$2(e, s); | 5469 $.Zone__current.handleUncaughtError$2(e, s); |
5249 } | 5470 } |
5250 }, | 5471 }, |
5251 _nullDataHandler: [function(value) { | 5472 _nullDataHandler: [function(value) { |
5252 }, "call$1", "async___nullDataHandler$closure", 2, 0, 51, 6], | 5473 }, "call$1", "async___nullDataHandler$closure", 2, 0, 51, 7], |
5253 _nullErrorHandler: [function(error, stackTrace) { | 5474 _nullErrorHandler: [function(error, stackTrace) { |
5254 $.Zone__current.handleUncaughtError$2(error, stackTrace); | 5475 $.Zone__current.handleUncaughtError$2(error, stackTrace); |
5255 }, function(error) { | 5476 }, function(error) { |
5256 return P._nullErrorHandler(error, null); | 5477 return P._nullErrorHandler(error, null); |
5257 }, "call$2", "call$1", "async___nullErrorHandler$closure", 2, 2, 6, 5, 1, 2]
, | 5478 }, "call$2", "call$1", "async___nullErrorHandler$closure", 2, 2, 6, 5, 3, 4]
, |
5258 _nullDoneHandler: [function() { | 5479 _nullDoneHandler: [function() { |
5259 }, "call$0", "async___nullDoneHandler$closure", 0, 0, 2], | 5480 }, "call$0", "async___nullDoneHandler$closure", 0, 0, 2], |
5260 _runUserCode: function(userCode, onSuccess, onError) { | 5481 _runUserCode: function(userCode, onSuccess, onError) { |
5261 var e, s, replacement, error, stackTrace, exception, t1, error0; | 5482 var e, s, replacement, error, stackTrace, exception, t1, error0; |
5262 try { | 5483 try { |
5263 onSuccess.call$1(userCode.call$0()); | 5484 onSuccess.call$1(userCode.call$0()); |
5264 } catch (exception) { | 5485 } catch (exception) { |
5265 t1 = H.unwrapException(exception); | 5486 t1 = H.unwrapException(exception); |
5266 e = t1; | 5487 e = t1; |
5267 s = H.getTraceFromException(exception); | 5488 s = H.getTraceFromException(exception); |
(...skipping 25 matching lines...) Expand all Loading... |
5293 else | 5514 else |
5294 future._complete$1(value); | 5515 future._complete$1(value); |
5295 }, | 5516 }, |
5296 _addErrorWithReplacement: function(sink, error, stackTrace) { | 5517 _addErrorWithReplacement: function(sink, error, stackTrace) { |
5297 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); | 5518 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
5298 if (replacement != null) { | 5519 if (replacement != null) { |
5299 error = J.get$error$x(replacement); | 5520 error = J.get$error$x(replacement); |
5300 error = error != null ? error : new P.NullThrownError(); | 5521 error = error != null ? error : new P.NullThrownError(); |
5301 stackTrace = replacement.get$stackTrace(); | 5522 stackTrace = replacement.get$stackTrace(); |
5302 } | 5523 } |
5303 sink._async$_addError$2(error, stackTrace); | 5524 sink._addError$2(error, stackTrace); |
5304 }, | 5525 }, |
5305 Timer_Timer: function(duration, callback) { | 5526 Timer_Timer: function(duration, callback) { |
5306 var t1; | 5527 var t1; |
5307 if (J.$eq$($.Zone__current, C.C__RootZone)) | 5528 if (J.$eq$($.Zone__current, C.C__RootZone)) |
5308 return $.Zone__current.createTimer$2(duration, callback); | 5529 return $.Zone__current.createTimer$2(duration, callback); |
5309 t1 = $.Zone__current; | 5530 t1 = $.Zone__current; |
5310 return t1.createTimer$2(duration, t1.bindCallback$2$runGuarded(callback, t
rue)); | 5531 return t1.createTimer$2(duration, t1.bindCallback$2$runGuarded(callback, t
rue)); |
5311 }, | 5532 }, |
5312 Timer_Timer$periodic: function(duration, callback) { | 5533 Timer_Timer$periodic: function(duration, callback) { |
5313 var t1; | 5534 var boundCallback; |
5314 if (J.$eq$($.Zone__current, C.C__RootZone)) | 5535 if (J.$eq$($.Zone__current, C.C__RootZone)) |
5315 return $.Zone__current.createPeriodicTimer$2(duration, callback); | 5536 return $.Zone__current.createPeriodicTimer$2(duration, callback); |
5316 t1 = $.Zone__current; | 5537 boundCallback = $.Zone__current.bindUnaryCallback$2$runGuarded(callback, t
rue); |
5317 return t1.createPeriodicTimer$2(duration, t1.bindUnaryCallback$2$runGuarde
d(callback, true)); | 5538 return $.Zone__current.createPeriodicTimer$2(duration, boundCallback); |
5318 }, | 5539 }, |
5319 Timer__createTimer: function(duration, callback) { | 5540 Timer__createTimer: function(duration, callback) { |
5320 var milliseconds = duration.get$inMilliseconds(); | 5541 var milliseconds = duration.get$inMilliseconds(); |
5321 return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); | 5542 return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); |
5322 }, | 5543 }, |
5323 Timer__createPeriodicTimer: function(duration, callback) { | 5544 Timer__createPeriodicTimer: function(duration, callback) { |
5324 var milliseconds = duration.get$inMilliseconds(); | 5545 var milliseconds = duration.get$inMilliseconds(); |
5325 return H.TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback)
; | 5546 return H.TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback)
; |
5326 }, | 5547 }, |
5327 _parentDelegate: function(zone) { | 5548 _parentDelegate: function(zone) { |
5328 if (zone.get$parent(zone) == null) | 5549 if (zone.get$parent(zone) == null) |
5329 return; | 5550 return; |
5330 return zone.get$parent(zone).get$_delegate(); | 5551 return zone.get$parent(zone).get$_delegate(); |
5331 }, | 5552 }, |
5332 _rootHandleUncaughtError: [function($self, $parent, zone, error, stackTrace)
{ | 5553 _rootHandleUncaughtError: [function($self, $parent, zone, error, stackTrace)
{ |
5333 var t1 = {}; | 5554 var t1 = {}; |
5334 t1.error = error; | 5555 t1.error = error; |
5335 P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(t1
, stackTrace)); | 5556 P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(t1
, stackTrace)); |
5336 }, "call$5", "async___rootHandleUncaughtError$closure", 10, 0, 52, 0, 3, 4,
1, 2], | 5557 }, "call$5", "async___rootHandleUncaughtError$closure", 10, 0, 11, 0, 2, 1,
3, 4], |
5337 _rootRun: [function($self, $parent, zone, f) { | 5558 _rootRun: [function($self, $parent, zone, f) { |
5338 var old, previous, t1; | 5559 var old, previous, t1; |
5339 if (J.$eq$($.Zone__current, zone)) | 5560 if (J.$eq$($.Zone__current, zone)) |
5340 return f.call$0(); | 5561 return f.call$0(); |
5341 previous = $.Zone__current; | 5562 previous = $.Zone__current; |
5342 $.Zone__current = zone; | 5563 $.Zone__current = zone; |
5343 old = previous; | 5564 old = previous; |
5344 try { | 5565 try { |
5345 t1 = f.call$0(); | 5566 t1 = f.call$0(); |
5346 return t1; | 5567 return t1; |
5347 } finally { | 5568 } finally { |
5348 $.Zone__current = old; | 5569 $.Zone__current = old; |
5349 } | 5570 } |
5350 }, "call$4", "async___rootRun$closure", 8, 0, 53, 0, 3, 4, 8], | 5571 }, "call$4", "async___rootRun$closure", 8, 0, 52, 0, 2, 1, 9], |
5351 _rootRunUnary: [function($self, $parent, zone, f, arg) { | 5572 _rootRunUnary: [function($self, $parent, zone, f, arg) { |
5352 var old, previous, t1; | 5573 var old, previous, t1; |
5353 if (J.$eq$($.Zone__current, zone)) | 5574 if (J.$eq$($.Zone__current, zone)) |
5354 return f.call$1(arg); | 5575 return f.call$1(arg); |
5355 previous = $.Zone__current; | 5576 previous = $.Zone__current; |
5356 $.Zone__current = zone; | 5577 $.Zone__current = zone; |
5357 old = previous; | 5578 old = previous; |
5358 try { | 5579 try { |
5359 t1 = f.call$1(arg); | 5580 t1 = f.call$1(arg); |
5360 return t1; | 5581 return t1; |
5361 } finally { | 5582 } finally { |
5362 $.Zone__current = old; | 5583 $.Zone__current = old; |
5363 } | 5584 } |
5364 }, "call$5", "async___rootRunUnary$closure", 10, 0, 54, 0, 3, 4, 8, 13], | 5585 }, "call$5", "async___rootRunUnary$closure", 10, 0, 53, 0, 2, 1, 9, 15], |
5365 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { | 5586 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { |
5366 var old, previous, t1; | 5587 var old, previous, t1; |
5367 if (J.$eq$($.Zone__current, zone)) | 5588 if (J.$eq$($.Zone__current, zone)) |
5368 return f.call$2(arg1, arg2); | 5589 return f.call$2(arg1, arg2); |
5369 previous = $.Zone__current; | 5590 previous = $.Zone__current; |
5370 $.Zone__current = zone; | 5591 $.Zone__current = zone; |
5371 old = previous; | 5592 old = previous; |
5372 try { | 5593 try { |
5373 t1 = f.call$2(arg1, arg2); | 5594 t1 = f.call$2(arg1, arg2); |
5374 return t1; | 5595 return t1; |
5375 } finally { | 5596 } finally { |
5376 $.Zone__current = old; | 5597 $.Zone__current = old; |
5377 } | 5598 } |
5378 }, "call$6", "async___rootRunBinary$closure", 12, 0, 55, 0, 3, 4, 8, 20, 21]
, | 5599 }, "call$6", "async___rootRunBinary$closure", 12, 0, 54, 0, 2, 1, 9, 23, 19]
, |
5379 _rootRegisterCallback: [function($self, $parent, zone, f) { | 5600 _rootRegisterCallback: [function($self, $parent, zone, f) { |
5380 return f; | 5601 return f; |
5381 }, "call$4", "async___rootRegisterCallback$closure", 8, 0, 56, 0, 3, 4, 8], | 5602 }, "call$4", "async___rootRegisterCallback$closure", 8, 0, 55, 0, 2, 1, 9], |
5382 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { | 5603 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { |
5383 return f; | 5604 return f; |
5384 }, "call$4", "async___rootRegisterUnaryCallback$closure", 8, 0, 57, 0, 3, 4,
8], | 5605 }, "call$4", "async___rootRegisterUnaryCallback$closure", 8, 0, 56, 0, 2, 1,
9], |
5385 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { | 5606 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { |
5386 return f; | 5607 return f; |
5387 }, "call$4", "async___rootRegisterBinaryCallback$closure", 8, 0, 58, 0, 3, 4
, 8], | 5608 }, "call$4", "async___rootRegisterBinaryCallback$closure", 8, 0, 57, 0, 2, 1
, 9], |
5388 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { | 5609 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { |
5389 return; | 5610 return; |
5390 }, "call$5", "async___rootErrorCallback$closure", 10, 0, 59, 0, 3, 4, 1, 2], | 5611 }, "call$5", "async___rootErrorCallback$closure", 10, 0, 58, 0, 2, 1, 3, 4], |
5391 _rootScheduleMicrotask: [function($self, $parent, zone, f) { | 5612 _rootScheduleMicrotask: [function($self, $parent, zone, f) { |
5392 var t1 = C.C__RootZone !== zone; | 5613 var t1 = C.C__RootZone !== zone; |
5393 if (t1) | 5614 if (t1) |
5394 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZo
ne() === zone.get$errorZone())); | 5615 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZo
ne() === zone.get$errorZone())); |
5395 P._scheduleAsyncCallback(f); | 5616 P._scheduleAsyncCallback(f); |
5396 }, "call$4", "async___rootScheduleMicrotask$closure", 8, 0, 60, 0, 3, 4, 8], | 5617 }, "call$4", "async___rootScheduleMicrotask$closure", 8, 0, 59, 0, 2, 1, 9], |
5397 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { | 5618 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { |
5398 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCa
llback$1(callback) : callback); | 5619 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCa
llback$1(callback) : callback); |
5399 }, "call$5", "async___rootCreateTimer$closure", 10, 0, 61, 0, 3, 4, 18, 16], | 5620 }, "call$5", "async___rootCreateTimer$closure", 10, 0, 60, 0, 2, 1, 20, 16], |
5400 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback
) { | 5621 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback
) { |
5401 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zon
e.bindUnaryCallback$1(callback) : callback); | 5622 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zon
e.bindUnaryCallback$1(callback) : callback); |
5402 }, "call$5", "async___rootCreatePeriodicTimer$closure", 10, 0, 62, 0, 3, 4,
18, 16], | 5623 }, "call$5", "async___rootCreatePeriodicTimer$closure", 10, 0, 61, 0, 2, 1,
20, 16], |
5403 _rootPrint: [function($self, $parent, zone, line) { | 5624 _rootPrint: [function($self, $parent, zone, line) { |
5404 H.printString(H.S(line)); | 5625 H.printString(H.S(line)); |
5405 }, "call$4", "async___rootPrint$closure", 8, 0, 63, 0, 3, 4, 10], | 5626 }, "call$4", "async___rootPrint$closure", 8, 0, 62, 0, 2, 1, 10], |
5406 _printToZone: [function(line) { | 5627 _printToZone: [function(line) { |
5407 J.print$1$x($.Zone__current, line); | 5628 J.print$1$x($.Zone__current, line); |
5408 }, "call$1", "async___printToZone$closure", 2, 0, 7], | 5629 }, "call$1", "async___printToZone$closure", 2, 0, 7], |
5409 _rootFork: [function($self, $parent, zone, specification, zoneValues) { | 5630 _rootFork: [function($self, $parent, zone, specification, zoneValues) { |
5410 var valueMap, t1; | 5631 var valueMap, t1; |
5411 $.printToZone = P.async___printToZone$closure(); | 5632 $.printToZone = P.async___printToZone$closure(); |
5412 if (specification == null) | 5633 if (specification == null) |
5413 specification = C._ZoneSpecification_ALf; | 5634 specification = C._ZoneSpecification_ALf; |
5414 else if (!(specification instanceof P._ZoneSpecification)) | 5635 else if (!(specification instanceof P._ZoneSpecification)) |
5415 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be insta
ntiated with the provided constructor.")); | 5636 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be insta
ntiated with the provided constructor.")); |
(...skipping 21 matching lines...) Expand all Loading... |
5437 specification.get$createTimer(); | 5658 specification.get$createTimer(); |
5438 t1._createTimer = zone.get$_createTimer(); | 5659 t1._createTimer = zone.get$_createTimer(); |
5439 specification.get$createPeriodicTimer(); | 5660 specification.get$createPeriodicTimer(); |
5440 t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); | 5661 t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); |
5441 J.get$print$x(specification); | 5662 J.get$print$x(specification); |
5442 t1._print = zone.get$_print(); | 5663 t1._print = zone.get$_print(); |
5443 specification.get$fork(); | 5664 specification.get$fork(); |
5444 t1._fork = zone.get$_fork(); | 5665 t1._fork = zone.get$_fork(); |
5445 t1._handleUncaughtError = specification.get$handleUncaughtError() != null
? new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_h
andleUncaughtError(); | 5666 t1._handleUncaughtError = specification.get$handleUncaughtError() != null
? new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_h
andleUncaughtError(); |
5446 return t1; | 5667 return t1; |
5447 }, "call$5", "async___rootFork$closure", 10, 0, 64, 0, 3, 4, 30, 31], | 5668 }, "call$5", "async___rootFork$closure", 10, 0, 63, 0, 2, 1, 31, 32], |
5448 runZoned: function(body, onError, zoneSpecification, zoneValues) { | 5669 runZoned: function(body, onError, zoneSpecification, zoneValues) { |
5449 var errorHandler, zone; | 5670 var errorHandler, zone; |
5450 errorHandler = new P.runZoned_closure(onError); | 5671 errorHandler = new P.runZoned_closure(onError); |
5451 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, nul
l, null, null, null, null, null, null, null, null, null); | 5672 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, nul
l, null, null, null, null, null, null, null, null, null); |
5452 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification,
zoneValues); | 5673 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification,
zoneValues); |
5453 return zone.runGuarded$1(body); | 5674 return zone.runGuarded$1(body); |
5454 }, | 5675 }, |
5455 _AsyncRun__initializeScheduleImmediate_internalCallback: { | 5676 _AsyncRun__initializeScheduleImmediate_internalCallback: { |
5456 "^": "Closure:0;_box_0", | 5677 "^": "Closure:0;_box_0", |
5457 call$1: [function(_) { | 5678 call$1: [function(_) { |
5458 var t1, f; | 5679 var t1, f; |
5459 --init.globalState.topEventLoop._activeJsAsyncCount; | 5680 --init.globalState.topEventLoop._activeJsAsyncCount; |
5460 t1 = this._box_0; | 5681 t1 = this._box_0; |
5461 f = t1.storedCallback; | 5682 f = t1.storedCallback; |
5462 t1.storedCallback = null; | 5683 t1.storedCallback = null; |
5463 f.call$0(); | 5684 f.call$0(); |
5464 }, null, null, 2, 0, null, 9, "call"] | 5685 }, null, null, 2, 0, null, 6, "call"] |
5465 }, | 5686 }, |
5466 _AsyncRun__initializeScheduleImmediate_closure: { | 5687 _AsyncRun__initializeScheduleImmediate_closure: { |
5467 "^": "Closure:40;_box_0,div,span", | 5688 "^": "Closure:39;_box_0,div,span", |
5468 call$1: function(callback) { | 5689 call$1: function(callback) { |
5469 var t1, t2; | 5690 var t1, t2; |
5470 ++init.globalState.topEventLoop._activeJsAsyncCount; | 5691 ++init.globalState.topEventLoop._activeJsAsyncCount; |
5471 this._box_0.storedCallback = callback; | 5692 this._box_0.storedCallback = callback; |
5472 t1 = this.div; | 5693 t1 = this.div; |
5473 t2 = this.span; | 5694 t2 = this.span; |
5474 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); | 5695 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); |
5475 } | 5696 } |
5476 }, | 5697 }, |
5477 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { | 5698 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { |
5478 "^": "Closure:1;callback", | 5699 "^": "Closure:1;callback", |
5479 call$0: [function() { | 5700 call$0: [function() { |
5480 --init.globalState.topEventLoop._activeJsAsyncCount; | 5701 --init.globalState.topEventLoop._activeJsAsyncCount; |
5481 this.callback.call$0(); | 5702 this.callback.call$0(); |
5482 }, null, null, 0, 0, null, "call"] | 5703 }, null, null, 0, 0, null, "call"] |
5483 }, | 5704 }, |
5484 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: { | 5705 _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: { |
5485 "^": "Closure:1;callback", | 5706 "^": "Closure:1;callback", |
5486 call$0: [function() { | 5707 call$0: [function() { |
5487 --init.globalState.topEventLoop._activeJsAsyncCount; | 5708 --init.globalState.topEventLoop._activeJsAsyncCount; |
5488 this.callback.call$0(); | 5709 this.callback.call$0(); |
5489 }, null, null, 0, 0, null, "call"] | 5710 }, null, null, 0, 0, null, "call"] |
5490 }, | 5711 }, |
5491 _awaitOnObject_closure: { | 5712 _awaitOnObject_closure: { |
5492 "^": "Closure:0;bodyFunction", | 5713 "^": "Closure:0;bodyFunction", |
5493 call$1: [function(result) { | 5714 call$1: [function(result) { |
5494 return this.bodyFunction.call$2(0, result); | 5715 return this.bodyFunction.call$2(0, result); |
5495 }, null, null, 2, 0, null, 14, "call"] | 5716 }, null, null, 2, 0, null, 13, "call"] |
5496 }, | 5717 }, |
5497 _awaitOnObject_closure0: { | 5718 _awaitOnObject_closure0: { |
5498 "^": "Closure:5;bodyFunction", | 5719 "^": "Closure:5;bodyFunction", |
5499 call$2: [function(error, stackTrace) { | 5720 call$2: [function(error, stackTrace) { |
5500 this.bodyFunction.call$2(1, new H.ExceptionAndStackTrace(error, stackTra
ce)); | 5721 this.bodyFunction.call$2(1, new H.ExceptionAndStackTrace(error, stackTra
ce)); |
5501 }, null, null, 4, 0, null, 1, 2, "call"] | 5722 }, null, null, 4, 0, null, 3, 4, "call"] |
5502 }, | 5723 }, |
5503 _wrapJsFunctionForAsync_closure: { | 5724 _wrapJsFunctionForAsync_closure: { |
5504 "^": "Closure:65;$protected", | 5725 "^": "Closure:45;$protected", |
5505 call$2: [function(errorCode, result) { | 5726 call$2: [function(errorCode, result) { |
5506 this.$protected(errorCode, result); | 5727 this.$protected(errorCode, result); |
5507 }, null, null, 4, 0, null, 45, 14, "call"] | 5728 }, null, null, 4, 0, null, 34, 13, "call"] |
5508 }, | 5729 }, |
5509 Future: { | 5730 Future: { |
5510 "^": "Object;" | 5731 "^": "Object;" |
5511 }, | 5732 }, |
5512 _Completer: { | 5733 _Completer: { |
5513 "^": "Object;future<", | 5734 "^": "Object;future<", |
5514 completeError$2: function(error, stackTrace) { | 5735 completeError$2: function(error, stackTrace) { |
5515 var replacement; | 5736 var replacement; |
5516 error = error != null ? error : new P.NullThrownError(); | 5737 error = error != null ? error : new P.NullThrownError(); |
5517 if (this.future._state !== 0) | 5738 if (this.future._state !== 0) |
(...skipping 27 matching lines...) Expand all Loading... |
5545 }, | 5766 }, |
5546 _SyncCompleter: { | 5767 _SyncCompleter: { |
5547 "^": "_Completer;future", | 5768 "^": "_Completer;future", |
5548 complete$1: [function(_, value) { | 5769 complete$1: [function(_, value) { |
5549 var t1 = this.future; | 5770 var t1 = this.future; |
5550 if (t1._state !== 0) | 5771 if (t1._state !== 0) |
5551 throw H.wrapException(new P.StateError("Future already completed")); | 5772 throw H.wrapException(new P.StateError("Future already completed")); |
5552 t1._complete$1(value); | 5773 t1._complete$1(value); |
5553 }, function($receiver) { | 5774 }, function($receiver) { |
5554 return this.complete$1($receiver, null); | 5775 return this.complete$1($receiver, null); |
5555 }, "complete$0", "call$1", "call$0", "get$complete", 0, 2, 46, 5, 6], | 5776 }, "complete$0", "call$1", "call$0", "get$complete", 0, 2, 41, 5, 7], |
5556 _completeError$2: function(error, stackTrace) { | 5777 _completeError$2: function(error, stackTrace) { |
5557 this.future._completeError$2(error, stackTrace); | 5778 this.future._completeError$2(error, stackTrace); |
5558 } | 5779 } |
5559 }, | 5780 }, |
5560 _FutureListener: { | 5781 _FutureListener: { |
5561 "^": "Object;_nextListener@,result>,state,callback,errorCallback<", | 5782 "^": "Object;_nextListener@,result>,state,callback,errorCallback<", |
5562 get$_zone: function() { | 5783 get$_zone: function() { |
5563 return this.result.get$_zone(); | 5784 return this.result._zone; |
5564 }, | 5785 }, |
5565 get$handlesValue: function() { | 5786 get$handlesValue: function() { |
5566 return (this.state & 1) !== 0; | 5787 return (this.state & 1) !== 0; |
5567 }, | 5788 }, |
5568 get$hasErrorTest: function() { | 5789 get$handlesError: function() { |
5569 return this.state === 6; | 5790 return (this.state & 2) !== 0; |
5570 }, | 5791 }, |
5571 get$handlesComplete: function() { | 5792 get$handlesComplete: function() { |
5572 return this.state === 8; | 5793 return this.state === 8; |
5573 }, | 5794 }, |
5574 get$_onValue: function() { | 5795 get$hasErrorCallback: function() { |
5575 return this.callback; | 5796 return this.errorCallback != null; |
5576 }, | 5797 }, |
5577 get$_onError: function() { | 5798 handleValue$1: function(sourceResult) { |
5578 return this.errorCallback; | 5799 return this.result._zone.runUnary$2(this.callback, sourceResult); |
5579 }, | 5800 }, |
5580 get$_errorTest: function() { | 5801 matchesErrorTest$1: function(asyncError) { |
5581 return this.callback; | 5802 if (this.state !== 6) |
| 5803 return true; |
| 5804 return this.result._zone.runUnary$2(this.callback, J.get$error$x(asyncEr
ror)); |
5582 }, | 5805 }, |
5583 get$_whenCompleteAction: function() { | 5806 handleError$1: function(asyncError) { |
5584 return this.callback; | 5807 var t1, t2, t3, t4; |
| 5808 t1 = this.errorCallback; |
| 5809 t2 = H.getDynamicRuntimeType(); |
| 5810 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
| 5811 t3 = J.getInterceptor$x(asyncError); |
| 5812 t4 = this.result; |
| 5813 if (t2) |
| 5814 return t4._zone.runBinary$3(t1, t3.get$error(asyncError), asyncError.g
et$stackTrace()); |
| 5815 else |
| 5816 return t4._zone.runUnary$2(t1, t3.get$error(asyncError)); |
| 5817 }, |
| 5818 handleWhenComplete$0: function() { |
| 5819 return this.result._zone.run$1(this.callback); |
5585 }, | 5820 }, |
5586 errorCallback$2: function(arg0, arg1) { | 5821 errorCallback$2: function(arg0, arg1) { |
5587 return this.errorCallback.call$2(arg0, arg1); | 5822 return this.errorCallback.call$2(arg0, arg1); |
5588 } | 5823 } |
5589 }, | 5824 }, |
5590 _Future: { | 5825 _Future: { |
5591 "^": "Object;_state,_zone<,_resultOrListeners", | 5826 "^": "Object;_state<,_zone<,_resultOrListeners<", |
| 5827 get$_isChained: function() { |
| 5828 return this._state === 2; |
| 5829 }, |
| 5830 get$_isComplete: function() { |
| 5831 return this._state >= 4; |
| 5832 }, |
5592 get$_hasError: function() { | 5833 get$_hasError: function() { |
5593 return this._state === 8; | 5834 return this._state === 8; |
5594 }, | 5835 }, |
5595 set$_isChained: function(value) { | 5836 _setChained$1: function(source) { |
5596 this._state = 2; | 5837 this._state = 2; |
| 5838 this._resultOrListeners = source; |
5597 }, | 5839 }, |
5598 then$2$onError: function(f, onError) { | 5840 then$2$onError: function(f, onError) { |
5599 var currentZone = $.Zone__current; | 5841 var currentZone = $.Zone__current; |
5600 if (currentZone !== C.C__RootZone) { | 5842 if (currentZone !== C.C__RootZone) { |
5601 f = currentZone.registerUnaryCallback$1(f); | 5843 f = currentZone.registerUnaryCallback$1(f); |
5602 if (onError != null) | 5844 if (onError != null) |
5603 onError = P._registerErrorHandler(onError, currentZone); | 5845 onError = P._registerErrorHandler(onError, currentZone); |
5604 } | 5846 } |
5605 return this._thenNoZoneRegistration$2(f, onError); | 5847 return this._thenNoZoneRegistration$2(f, onError); |
5606 }, | 5848 }, |
5607 then$1: function(f) { | 5849 then$1: function(f) { |
5608 return this.then$2$onError(f, null); | 5850 return this.then$2$onError(f, null); |
5609 }, | 5851 }, |
5610 _thenNoZoneRegistration$2: function(f, onError) { | 5852 _thenNoZoneRegistration$2: function(f, onError) { |
5611 var result = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null
), [null]); | 5853 var result = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null
), [null]); |
5612 this._addListener$1(new P._FutureListener(null, result, onError == null
? 1 : 3, f, onError)); | 5854 this._addListener$1(new P._FutureListener(null, result, onError == null
? 1 : 3, f, onError)); |
5613 return result; | 5855 return result; |
5614 }, | 5856 }, |
5615 whenComplete$1: function(action) { | 5857 whenComplete$1: function(action) { |
5616 var t1, result; | 5858 var t1, result; |
5617 t1 = $.Zone__current; | 5859 t1 = $.Zone__current; |
5618 result = new P._Future(0, t1, null); | 5860 result = new P._Future(0, t1, null); |
5619 result.$builtinTypeInfo = this.$builtinTypeInfo; | 5861 result.$builtinTypeInfo = this.$builtinTypeInfo; |
5620 this._addListener$1(new P._FutureListener(null, result, 8, t1 !== C.C__R
ootZone ? t1.registerCallback$1(action) : action, null)); | 5862 this._addListener$1(new P._FutureListener(null, result, 8, t1 !== C.C__R
ootZone ? t1.registerCallback$1(action) : action, null)); |
5621 return result; | 5863 return result; |
5622 }, | 5864 }, |
5623 _markPendingCompletion$0: function() { | 5865 _setPendingComplete$0: function() { |
5624 if (this._state !== 0) | |
5625 throw H.wrapException(new P.StateError("Future already completed")); | |
5626 this._state = 1; | 5866 this._state = 1; |
5627 }, | 5867 }, |
5628 get$_async$_value: function() { | 5868 _clearPendingComplete$0: function() { |
| 5869 this._state = 0; |
| 5870 }, |
| 5871 get$_error: function() { |
5629 return this._resultOrListeners; | 5872 return this._resultOrListeners; |
5630 }, | 5873 }, |
5631 get$_error: function() { | 5874 get$_chainSource: function() { |
5632 return this._resultOrListeners; | 5875 return this._resultOrListeners; |
5633 }, | 5876 }, |
5634 _setValue$1: function(value) { | 5877 _setValue$1: function(value) { |
5635 this._state = 4; | 5878 this._state = 4; |
5636 this._resultOrListeners = value; | 5879 this._resultOrListeners = value; |
5637 }, | 5880 }, |
5638 _setErrorObject$1: function(error) { | 5881 _setErrorObject$1: function(error) { |
5639 this._state = 8; | 5882 this._state = 8; |
5640 this._resultOrListeners = error; | 5883 this._resultOrListeners = error; |
5641 }, | 5884 }, |
5642 _setError$2: function(error, stackTrace) { | 5885 _cloneResult$1: function(source) { |
5643 this._state = 8; | 5886 this._state = source.get$_state(); |
5644 this._resultOrListeners = new P.AsyncError(error, stackTrace); | 5887 this._resultOrListeners = source.get$_resultOrListeners(); |
5645 }, | 5888 }, |
5646 _addListener$1: function(listener) { | 5889 _addListener$1: function(listener) { |
5647 if (this._state >= 4) | 5890 var t1, source; |
5648 this._zone.scheduleMicrotask$1(new P._Future__addListener_closure(this
, listener)); | 5891 t1 = this._state; |
5649 else { | 5892 if (t1 <= 1) { |
5650 listener._nextListener = this._resultOrListeners; | 5893 listener._nextListener = this._resultOrListeners; |
5651 this._resultOrListeners = listener; | 5894 this._resultOrListeners = listener; |
| 5895 } else { |
| 5896 if (t1 === 2) { |
| 5897 source = this._resultOrListeners; |
| 5898 if (!source.get$_isComplete()) { |
| 5899 source._addListener$1(listener); |
| 5900 return; |
| 5901 } |
| 5902 this._state = source.get$_state(); |
| 5903 this._resultOrListeners = source.get$_resultOrListeners(); |
| 5904 } |
| 5905 this._zone.scheduleMicrotask$1(new P._Future__addListener_closure(this
, listener)); |
| 5906 } |
| 5907 }, |
| 5908 _prependListeners$1: function(listeners) { |
| 5909 var t1, t2, existingListeners, cursor, source; |
| 5910 t1 = {}; |
| 5911 t1.listeners = listeners; |
| 5912 if (listeners == null) |
| 5913 return; |
| 5914 t2 = this._state; |
| 5915 if (t2 <= 1) { |
| 5916 existingListeners = this._resultOrListeners; |
| 5917 this._resultOrListeners = listeners; |
| 5918 if (existingListeners != null) { |
| 5919 for (cursor = listeners; cursor.get$_nextListener() != null;) |
| 5920 cursor = cursor.get$_nextListener(); |
| 5921 cursor.set$_nextListener(existingListeners); |
| 5922 } |
| 5923 } else { |
| 5924 if (t2 === 2) { |
| 5925 source = this._resultOrListeners; |
| 5926 if (!source.get$_isComplete()) { |
| 5927 source._prependListeners$1(listeners); |
| 5928 return; |
| 5929 } |
| 5930 this._state = source.get$_state(); |
| 5931 this._resultOrListeners = source.get$_resultOrListeners(); |
| 5932 } |
| 5933 t1.listeners = this._reverseListeners$1(listeners); |
| 5934 this._zone.scheduleMicrotask$1(new P._Future__prependListeners_closure
(t1, this)); |
5652 } | 5935 } |
5653 }, | 5936 }, |
5654 _removeListeners$0: function() { | 5937 _removeListeners$0: function() { |
| 5938 var current = this._resultOrListeners; |
| 5939 this._resultOrListeners = null; |
| 5940 return this._reverseListeners$1(current); |
| 5941 }, |
| 5942 _reverseListeners$1: function(listeners) { |
5655 var current, prev, next; | 5943 var current, prev, next; |
5656 current = this._resultOrListeners; | 5944 for (current = listeners, prev = null; current != null; prev = current,
current = next) { |
5657 this._resultOrListeners = null; | |
5658 for (prev = null; current != null; prev = current, current = next) { | |
5659 next = current.get$_nextListener(); | 5945 next = current.get$_nextListener(); |
5660 current.set$_nextListener(prev); | 5946 current.set$_nextListener(prev); |
5661 } | 5947 } |
5662 return prev; | 5948 return prev; |
5663 }, | 5949 }, |
5664 _complete$1: function(value) { | 5950 _complete$1: function(value) { |
5665 var listeners; | 5951 var listeners; |
5666 if (!!J.getInterceptor(value).$isFuture) | 5952 if (!!J.getInterceptor(value).$isFuture) |
5667 P._Future__chainCoreFuture(value, this); | 5953 P._Future__chainCoreFuture(value, this); |
5668 else { | 5954 else { |
5669 listeners = this._removeListeners$0(); | 5955 listeners = this._removeListeners$0(); |
5670 this._state = 4; | 5956 this._state = 4; |
5671 this._resultOrListeners = value; | 5957 this._resultOrListeners = value; |
5672 P._Future__propagateToListeners(this, listeners); | 5958 P._Future__propagateToListeners(this, listeners); |
5673 } | 5959 } |
5674 }, | 5960 }, |
5675 _completeWithValue$1: function(value) { | |
5676 var listeners = this._removeListeners$0(); | |
5677 this._state = 4; | |
5678 this._resultOrListeners = value; | |
5679 P._Future__propagateToListeners(this, listeners); | |
5680 }, | |
5681 _completeError$2: [function(error, stackTrace) { | 5961 _completeError$2: [function(error, stackTrace) { |
5682 var listeners = this._removeListeners$0(); | 5962 var listeners = this._removeListeners$0(); |
5683 this._state = 8; | 5963 this._state = 8; |
5684 this._resultOrListeners = new P.AsyncError(error, stackTrace); | 5964 this._resultOrListeners = new P.AsyncError(error, stackTrace); |
5685 P._Future__propagateToListeners(this, listeners); | 5965 P._Future__propagateToListeners(this, listeners); |
5686 }, function(error) { | 5966 }, function(error) { |
5687 return this._completeError$2(error, null); | 5967 return this._completeError$2(error, null); |
5688 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 6,
5, 1, 2], | 5968 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 6,
5, 3, 4], |
5689 _asyncComplete$1: function(value) { | 5969 _asyncComplete$1: function(value) { |
5690 var t1; | 5970 if (!!J.getInterceptor(value).$isFuture) { |
5691 if (value == null) | 5971 if (value._state === 8) { |
5692 ; | 5972 this._state = 1; |
5693 else if (!!J.getInterceptor(value).$isFuture) { | |
5694 t1 = value._state; | |
5695 if (t1 >= 4 && t1 === 8) { | |
5696 this._markPendingCompletion$0(); | |
5697 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure(
this, value)); | 5973 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure(
this, value)); |
5698 } else | 5974 } else |
5699 P._Future__chainCoreFuture(value, this); | 5975 P._Future__chainCoreFuture(value, this); |
5700 return; | 5976 return; |
5701 } | 5977 } |
5702 this._markPendingCompletion$0(); | 5978 this._state = 1; |
5703 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure0(thi
s, value)); | 5979 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure0(thi
s, value)); |
5704 }, | 5980 }, |
5705 _asyncCompleteError$2: function(error, stackTrace) { | 5981 _asyncCompleteError$2: function(error, stackTrace) { |
5706 this._markPendingCompletion$0(); | 5982 this._state = 1; |
5707 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure
(this, error, stackTrace)); | 5983 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure
(this, error, stackTrace)); |
5708 }, | 5984 }, |
5709 $isFuture: 1, | 5985 $isFuture: 1, |
5710 static: {_Future__chainForeignFuture: function(source, target) { | 5986 static: { |
| 5987 _Future__chainForeignFuture: function(source, target) { |
5711 var e, s, exception, t1; | 5988 var e, s, exception, t1; |
5712 target.set$_isChained(true); | 5989 target._setPendingComplete$0(); |
5713 try { | 5990 try { |
5714 source.then$2$onError(new P._Future__chainForeignFuture_closure(targ
et), new P._Future__chainForeignFuture_closure0(target)); | 5991 source.then$2$onError(new P._Future__chainForeignFuture_closure(targ
et), new P._Future__chainForeignFuture_closure0(target)); |
5715 } catch (exception) { | 5992 } catch (exception) { |
5716 t1 = H.unwrapException(exception); | 5993 t1 = H.unwrapException(exception); |
5717 e = t1; | 5994 e = t1; |
5718 s = H.getTraceFromException(exception); | 5995 s = H.getTraceFromException(exception); |
5719 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(targe
t, e, s)); | 5996 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(targe
t, e, s)); |
5720 } | 5997 } |
5721 }, _Future__chainCoreFuture: function(source, target) { | 5998 }, |
5722 var listener; | 5999 _Future__chainCoreFuture: function(source, target) { |
5723 target.set$_isChained(true); | 6000 var listeners; |
5724 listener = new P._FutureListener(null, target, 0, null, null); | 6001 for (; source.get$_isChained();) |
5725 if (source._state >= 4) | 6002 source = source.get$_chainSource(); |
5726 P._Future__propagateToListeners(source, listener); | 6003 if (source.get$_isComplete()) { |
5727 else | 6004 listeners = target._removeListeners$0(); |
5728 source._addListener$1(listener); | 6005 target._cloneResult$1(source); |
5729 }, _Future__propagateToListeners: function(source, listeners) { | 6006 P._Future__propagateToListeners(target, listeners); |
5730 var t1, t2, t3, hasError, asyncError, listeners0, sourceValue, zone, o
ldZone, chainSource, result; | 6007 } else { |
| 6008 listeners = target.get$_resultOrListeners(); |
| 6009 target._setChained$1(source); |
| 6010 source._prependListeners$1(listeners); |
| 6011 } |
| 6012 }, |
| 6013 _Future__propagateToListeners: function(source, listeners) { |
| 6014 var t1, t2, t3, hasError, asyncError, listeners0, sourceResult, zone,
oldZone, t4, result; |
5731 t1 = {}; | 6015 t1 = {}; |
5732 t1.source = source; | 6016 t1.source = source; |
5733 for (t2 = source; true;) { | 6017 for (t2 = source; true;) { |
5734 t3 = {}; | 6018 t3 = {}; |
5735 hasError = t2.get$_hasError(); | 6019 hasError = t2.get$_hasError(); |
5736 if (listeners == null) { | 6020 if (listeners == null) { |
5737 if (hasError) { | 6021 if (hasError) { |
5738 asyncError = t1.source.get$_error(); | 6022 asyncError = t1.source.get$_error(); |
5739 t1.source.get$_zone().handleUncaughtError$2(J.get$error$x(asyncE
rror), asyncError.get$stackTrace()); | 6023 t1.source.get$_zone().handleUncaughtError$2(J.get$error$x(asyncE
rror), asyncError.get$stackTrace()); |
5740 } | 6024 } |
5741 return; | 6025 return; |
5742 } | 6026 } |
5743 for (; listeners.get$_nextListener() != null; listeners = listeners0
) { | 6027 for (; listeners.get$_nextListener() != null; listeners = listeners0
) { |
5744 listeners0 = listeners.get$_nextListener(); | 6028 listeners0 = listeners.get$_nextListener(); |
5745 listeners.set$_nextListener(null); | 6029 listeners.set$_nextListener(null); |
5746 P._Future__propagateToListeners(t1.source, listeners); | 6030 P._Future__propagateToListeners(t1.source, listeners); |
5747 } | 6031 } |
5748 t3.listenerHasValue = true; | 6032 sourceResult = t1.source.get$_resultOrListeners(); |
5749 sourceValue = hasError ? null : t1.source.get$_async$_value(); | 6033 t3.listenerHasError = hasError; |
5750 t3.listenerValueOrError = sourceValue; | 6034 t3.listenerValueOrError = sourceResult; |
5751 t3.isPropagationAborted = false; | |
5752 t2 = !hasError; | 6035 t2 = !hasError; |
5753 if (!t2 || listeners.get$handlesValue() || listeners.get$handlesComp
lete()) { | 6036 if (!t2 || listeners.get$handlesValue() || listeners.get$handlesComp
lete()) { |
5754 zone = listeners.get$_zone(); | 6037 zone = listeners.get$_zone(); |
5755 if (hasError && !t1.source.get$_zone().inSameErrorZone$1(zone)) { | 6038 if (hasError && !t1.source.get$_zone().inSameErrorZone$1(zone)) { |
5756 asyncError = t1.source.get$_error(); | 6039 asyncError = t1.source.get$_error(); |
5757 t1.source.get$_zone().handleUncaughtError$2(J.get$error$x(asyncE
rror), asyncError.get$stackTrace()); | 6040 t1.source.get$_zone().handleUncaughtError$2(J.get$error$x(asyncE
rror), asyncError.get$stackTrace()); |
5758 return; | 6041 return; |
5759 } | 6042 } |
5760 oldZone = $.Zone__current; | 6043 oldZone = $.Zone__current; |
5761 if (oldZone == null ? zone != null : oldZone !== zone) | 6044 if (oldZone == null ? zone != null : oldZone !== zone) |
5762 $.Zone__current = zone; | 6045 $.Zone__current = zone; |
5763 else | 6046 else |
5764 oldZone = null; | 6047 oldZone = null; |
5765 if (t2) { | 6048 if (listeners.get$handlesComplete()) |
| 6049 new P._Future__propagateToListeners_handleWhenCompleteCallback(t
1, t3, hasError, listeners).call$0(); |
| 6050 else if (t2) { |
5766 if (listeners.get$handlesValue()) | 6051 if (listeners.get$handlesValue()) |
5767 t3.listenerHasValue = new P._Future__propagateToListeners_hand
leValueCallback(t3, listeners, sourceValue, zone).call$0(); | 6052 new P._Future__propagateToListeners_handleValueCallback(t3, li
steners, sourceResult).call$0(); |
5768 } else | 6053 } else if (listeners.get$handlesError()) |
5769 new P._Future__propagateToListeners_handleError(t1, t3, listener
s, zone).call$0(); | 6054 new P._Future__propagateToListeners_handleError(t1, t3, listener
s).call$0(); |
5770 if (listeners.get$handlesComplete()) | |
5771 new P._Future__propagateToListeners_handleWhenCompleteCallback(t
1, t3, hasError, listeners, zone).call$0(); | |
5772 if (oldZone != null) | 6055 if (oldZone != null) |
5773 $.Zone__current = oldZone; | 6056 $.Zone__current = oldZone; |
5774 if (t3.isPropagationAborted) | 6057 t2 = t3.listenerValueOrError; |
5775 return; | 6058 t4 = J.getInterceptor(t2); |
5776 if (t3.listenerHasValue === true) { | 6059 if (!!t4.$isFuture) { |
5777 t2 = t3.listenerValueOrError; | |
5778 t2 = (sourceValue == null ? t2 != null : sourceValue !== t2) &&
!!J.getInterceptor(t2).$isFuture; | |
5779 } else | |
5780 t2 = false; | |
5781 if (t2) { | |
5782 chainSource = t3.listenerValueOrError; | |
5783 result = J.get$result$x(listeners); | 6060 result = J.get$result$x(listeners); |
5784 if (chainSource instanceof P._Future) | 6061 if (!!t4.$is_Future) |
5785 if (chainSource._state >= 4) { | 6062 if (t2._state >= 4) { |
5786 result.set$_isChained(true); | 6063 listeners = result._removeListeners$0(); |
5787 t1.source = chainSource; | 6064 result._cloneResult$1(t2); |
5788 listeners = new P._FutureListener(null, result, 0, null, nul
l); | 6065 t1.source = t2; |
5789 t2 = chainSource; | |
5790 continue; | 6066 continue; |
5791 } else | 6067 } else |
5792 P._Future__chainCoreFuture(chainSource, result); | 6068 P._Future__chainCoreFuture(t2, result); |
5793 else | 6069 else |
5794 P._Future__chainForeignFuture(chainSource, result); | 6070 P._Future__chainForeignFuture(t2, result); |
5795 return; | 6071 return; |
5796 } | 6072 } |
5797 } | 6073 } |
5798 result = J.get$result$x(listeners); | 6074 result = J.get$result$x(listeners); |
5799 listeners = result._removeListeners$0(); | 6075 listeners = result._removeListeners$0(); |
5800 t2 = t3.listenerHasValue; | 6076 t2 = t3.listenerHasError; |
5801 t3 = t3.listenerValueOrError; | 6077 t3 = t3.listenerValueOrError; |
5802 if (t2 === true) | 6078 if (!t2) |
5803 result._setValue$1(t3); | 6079 result._setValue$1(t3); |
5804 else | 6080 else |
5805 result._setErrorObject$1(t3); | 6081 result._setErrorObject$1(t3); |
5806 t1.source = result; | 6082 t1.source = result; |
5807 t2 = result; | 6083 t2 = result; |
5808 } | 6084 } |
5809 }} | 6085 } |
| 6086 } |
5810 }, | 6087 }, |
5811 _Future__addListener_closure: { | 6088 _Future__addListener_closure: { |
5812 "^": "Closure:1;$this,listener", | 6089 "^": "Closure:1;$this,listener", |
5813 call$0: [function() { | 6090 call$0: [function() { |
5814 P._Future__propagateToListeners(this.$this, this.listener); | 6091 P._Future__propagateToListeners(this.$this, this.listener); |
5815 }, null, null, 0, 0, null, "call"] | 6092 }, null, null, 0, 0, null, "call"] |
5816 }, | 6093 }, |
| 6094 _Future__prependListeners_closure: { |
| 6095 "^": "Closure:1;_box_0,$this", |
| 6096 call$0: [function() { |
| 6097 P._Future__propagateToListeners(this.$this, this._box_0.listeners); |
| 6098 }, null, null, 0, 0, null, "call"] |
| 6099 }, |
5817 _Future__chainForeignFuture_closure: { | 6100 _Future__chainForeignFuture_closure: { |
5818 "^": "Closure:0;target", | 6101 "^": "Closure:0;target", |
5819 call$1: [function(value) { | 6102 call$1: [function(value) { |
5820 this.target._completeWithValue$1(value); | 6103 var t1 = this.target; |
5821 }, null, null, 2, 0, null, 6, "call"] | 6104 t1._clearPendingComplete$0(); |
| 6105 t1._complete$1(value); |
| 6106 }, null, null, 2, 0, null, 7, "call"] |
5822 }, | 6107 }, |
5823 _Future__chainForeignFuture_closure0: { | 6108 _Future__chainForeignFuture_closure0: { |
5824 "^": "Closure:9;target", | 6109 "^": "Closure:38;target", |
5825 call$2: [function(error, stackTrace) { | 6110 call$2: [function(error, stackTrace) { |
5826 this.target._completeError$2(error, stackTrace); | 6111 this.target._completeError$2(error, stackTrace); |
5827 }, function(error) { | 6112 }, function(error) { |
5828 return this.call$2(error, null); | 6113 return this.call$2(error, null); |
5829 }, "call$1", null, null, null, 2, 2, null, 5, 1, 2, "call"] | 6114 }, "call$1", null, null, null, 2, 2, null, 5, 3, 4, "call"] |
5830 }, | 6115 }, |
5831 _Future__chainForeignFuture_closure1: { | 6116 _Future__chainForeignFuture_closure1: { |
5832 "^": "Closure:1;target,e,s", | 6117 "^": "Closure:1;target,e,s", |
5833 call$0: [function() { | 6118 call$0: [function() { |
5834 this.target._completeError$2(this.e, this.s); | 6119 this.target._completeError$2(this.e, this.s); |
5835 }, null, null, 0, 0, null, "call"] | 6120 }, null, null, 0, 0, null, "call"] |
5836 }, | 6121 }, |
5837 _Future__asyncComplete_closure: { | 6122 _Future__asyncComplete_closure: { |
5838 "^": "Closure:1;$this,coreFuture", | 6123 "^": "Closure:1;$this,coreFuture", |
5839 call$0: [function() { | 6124 call$0: [function() { |
5840 P._Future__chainCoreFuture(this.coreFuture, this.$this); | 6125 P._Future__chainCoreFuture(this.coreFuture, this.$this); |
5841 }, null, null, 0, 0, null, "call"] | 6126 }, null, null, 0, 0, null, "call"] |
5842 }, | 6127 }, |
5843 _Future__asyncComplete_closure0: { | 6128 _Future__asyncComplete_closure0: { |
5844 "^": "Closure:1;$this,value", | 6129 "^": "Closure:1;$this,typedValue", |
5845 call$0: [function() { | 6130 call$0: [function() { |
5846 this.$this._completeWithValue$1(this.value); | 6131 var t1, listeners; |
| 6132 t1 = this.$this; |
| 6133 listeners = t1._removeListeners$0(); |
| 6134 t1._state = 4; |
| 6135 t1._resultOrListeners = this.typedValue; |
| 6136 P._Future__propagateToListeners(t1, listeners); |
5847 }, null, null, 0, 0, null, "call"] | 6137 }, null, null, 0, 0, null, "call"] |
5848 }, | 6138 }, |
5849 _Future__asyncCompleteError_closure: { | 6139 _Future__asyncCompleteError_closure: { |
5850 "^": "Closure:1;$this,error,stackTrace", | 6140 "^": "Closure:1;$this,error,stackTrace", |
5851 call$0: [function() { | 6141 call$0: [function() { |
5852 this.$this._completeError$2(this.error, this.stackTrace); | 6142 this.$this._completeError$2(this.error, this.stackTrace); |
5853 }, null, null, 0, 0, null, "call"] | 6143 }, null, null, 0, 0, null, "call"] |
5854 }, | 6144 }, |
5855 _Future__propagateToListeners_handleValueCallback: { | 6145 _Future__propagateToListeners_handleWhenCompleteCallback: { |
5856 "^": "Closure:39;_box_1,listener,sourceValue,zone", | 6146 "^": "Closure:2;_box_1,_box_0,hasError,listener", |
5857 call$0: function() { | 6147 call$0: function() { |
5858 var e, s, exception, t1; | 6148 var completeResult, e, s, exception, t1, t2, originalSource; |
| 6149 completeResult = null; |
5859 try { | 6150 try { |
5860 this._box_1.listenerValueOrError = this.zone.runUnary$2(this.listener.
get$_onValue(), this.sourceValue); | 6151 completeResult = this.listener.handleWhenComplete$0(); |
5861 return true; | |
5862 } catch (exception) { | |
5863 t1 = H.unwrapException(exception); | |
5864 e = t1; | |
5865 s = H.getTraceFromException(exception); | |
5866 this._box_1.listenerValueOrError = new P.AsyncError(e, s); | |
5867 return false; | |
5868 } | |
5869 } | |
5870 }, | |
5871 _Future__propagateToListeners_handleError: { | |
5872 "^": "Closure:2;_box_2,_box_1,listener,zone", | |
5873 call$0: function() { | |
5874 var asyncError, matchesTest, test, e, s, errorCallback, e0, s0, t1, exce
ption, t2, listenerValueOrError, t3, t4; | |
5875 asyncError = this._box_2.source.get$_error(); | |
5876 matchesTest = true; | |
5877 t1 = this.listener; | |
5878 if (t1.get$hasErrorTest()) { | |
5879 test = t1.get$_errorTest(); | |
5880 try { | |
5881 matchesTest = this.zone.runUnary$2(test, J.get$error$x(asyncError)); | |
5882 } catch (exception) { | |
5883 t1 = H.unwrapException(exception); | |
5884 e = t1; | |
5885 s = H.getTraceFromException(exception); | |
5886 t1 = J.get$error$x(asyncError); | |
5887 t2 = e; | |
5888 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? async
Error : new P.AsyncError(e, s); | |
5889 t1 = this._box_1; | |
5890 t1.listenerValueOrError = listenerValueOrError; | |
5891 t1.listenerHasValue = false; | |
5892 return; | |
5893 } | |
5894 } | |
5895 errorCallback = t1.get$_onError(); | |
5896 if (matchesTest === true && errorCallback != null) { | |
5897 try { | |
5898 t1 = errorCallback; | |
5899 t2 = H.getDynamicRuntimeType(); | |
5900 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); | |
5901 t3 = this.zone; | |
5902 t4 = this._box_1; | |
5903 if (t2) | |
5904 t4.listenerValueOrError = t3.runBinary$3(errorCallback, J.get$erro
r$x(asyncError), asyncError.get$stackTrace()); | |
5905 else | |
5906 t4.listenerValueOrError = t3.runUnary$2(errorCallback, J.get$error
$x(asyncError)); | |
5907 } catch (exception) { | |
5908 t1 = H.unwrapException(exception); | |
5909 e0 = t1; | |
5910 s0 = H.getTraceFromException(exception); | |
5911 t1 = J.get$error$x(asyncError); | |
5912 t2 = e0; | |
5913 listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? async
Error : new P.AsyncError(e0, s0); | |
5914 t1 = this._box_1; | |
5915 t1.listenerValueOrError = listenerValueOrError; | |
5916 t1.listenerHasValue = false; | |
5917 return; | |
5918 } | |
5919 this._box_1.listenerHasValue = true; | |
5920 } else { | |
5921 t1 = this._box_1; | |
5922 t1.listenerValueOrError = asyncError; | |
5923 t1.listenerHasValue = false; | |
5924 } | |
5925 } | |
5926 }, | |
5927 _Future__propagateToListeners_handleWhenCompleteCallback: { | |
5928 "^": "Closure:2;_box_2,_box_1,hasError,listener,zone", | |
5929 call$0: function() { | |
5930 var t1, e, s, completeResult, t2, exception, result; | |
5931 t1 = {}; | |
5932 t1.completeResult = null; | |
5933 try { | |
5934 completeResult = this.zone.run$1(this.listener.get$_whenCompleteAction
()); | |
5935 t1.completeResult = completeResult; | |
5936 t2 = completeResult; | |
5937 } catch (exception) { | 6152 } catch (exception) { |
5938 t1 = H.unwrapException(exception); | 6153 t1 = H.unwrapException(exception); |
5939 e = t1; | 6154 e = t1; |
5940 s = H.getTraceFromException(exception); | 6155 s = H.getTraceFromException(exception); |
5941 if (this.hasError) { | 6156 if (this.hasError) { |
5942 t1 = J.get$error$x(this._box_2.source.get$_error()); | 6157 t1 = J.get$error$x(this._box_1.source.get$_error()); |
5943 t2 = e; | 6158 t2 = e; |
5944 t2 = t1 == null ? t2 == null : t1 === t2; | 6159 t2 = t1 == null ? t2 == null : t1 === t2; |
5945 t1 = t2; | 6160 t1 = t2; |
5946 } else | 6161 } else |
5947 t1 = false; | 6162 t1 = false; |
5948 t2 = this._box_1; | 6163 t2 = this._box_0; |
5949 if (t1) | 6164 if (t1) |
5950 t2.listenerValueOrError = this._box_2.source.get$_error(); | 6165 t2.listenerValueOrError = this._box_1.source.get$_error(); |
5951 else | 6166 else |
5952 t2.listenerValueOrError = new P.AsyncError(e, s); | 6167 t2.listenerValueOrError = new P.AsyncError(e, s); |
5953 t2.listenerHasValue = false; | 6168 t2.listenerHasError = true; |
5954 return; | 6169 return; |
5955 } | 6170 } |
5956 if (!!J.getInterceptor(t2).$isFuture) { | 6171 if (!!J.getInterceptor(completeResult).$isFuture) { |
5957 result = J.get$result$x(this.listener); | 6172 if (completeResult instanceof P._Future && completeResult.get$_state()
>= 4) { |
5958 result.set$_isChained(true); | 6173 if (completeResult.get$_state() === 8) { |
5959 this._box_1.isPropagationAborted = true; | 6174 t1 = this._box_0; |
5960 t2.then$2$onError(new P._Future__propagateToListeners_handleWhenComple
teCallback_closure(this._box_2, result), new P._Future__propagateToListeners_han
dleWhenCompleteCallback_closure0(t1, result)); | 6175 t1.listenerValueOrError = completeResult.get$_resultOrListeners(); |
| 6176 t1.listenerHasError = true; |
| 6177 } |
| 6178 return; |
| 6179 } |
| 6180 originalSource = this._box_1.source; |
| 6181 t1 = this._box_0; |
| 6182 t1.listenerValueOrError = completeResult.then$1(new P._Future__propaga
teToListeners_handleWhenCompleteCallback_closure(originalSource)); |
| 6183 t1.listenerHasError = false; |
5961 } | 6184 } |
5962 } | 6185 } |
5963 }, | 6186 }, |
5964 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { | 6187 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { |
5965 "^": "Closure:0;_box_2,result", | 6188 "^": "Closure:0;originalSource", |
5966 call$1: [function(ignored) { | 6189 call$1: [function(_) { |
5967 P._Future__propagateToListeners(this._box_2.source, new P._FutureListene
r(null, this.result, 0, null, null)); | 6190 return this.originalSource; |
5968 }, null, null, 2, 0, null, 34, "call"] | 6191 }, null, null, 2, 0, null, 6, "call"] |
5969 }, | 6192 }, |
5970 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { | 6193 _Future__propagateToListeners_handleValueCallback: { |
5971 "^": "Closure:9;_box_0,result", | 6194 "^": "Closure:2;_box_0,listener,sourceResult", |
5972 call$2: [function(error, stackTrace) { | 6195 call$0: function() { |
5973 var t1, completeResult; | 6196 var e, s, exception, t1; |
5974 t1 = this._box_0; | 6197 try { |
5975 if (!(t1.completeResult instanceof P._Future)) { | 6198 this._box_0.listenerValueOrError = this.listener.handleValue$1(this.so
urceResult); |
5976 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current
, null), [null]); | 6199 } catch (exception) { |
5977 t1.completeResult = completeResult; | 6200 t1 = H.unwrapException(exception); |
5978 completeResult._setError$2(error, stackTrace); | 6201 e = t1; |
| 6202 s = H.getTraceFromException(exception); |
| 6203 t1 = this._box_0; |
| 6204 t1.listenerValueOrError = new P.AsyncError(e, s); |
| 6205 t1.listenerHasError = true; |
5979 } | 6206 } |
5980 P._Future__propagateToListeners(t1.completeResult, new P._FutureListener
(null, this.result, 0, null, null)); | 6207 } |
5981 }, function(error) { | 6208 }, |
5982 return this.call$2(error, null); | 6209 _Future__propagateToListeners_handleError: { |
5983 }, "call$1", null, null, null, 2, 2, null, 5, 1, 2, "call"] | 6210 "^": "Closure:2;_box_1,_box_0,listener", |
| 6211 call$0: function() { |
| 6212 var asyncError, e, s, t1, t2, exception, t3, t4; |
| 6213 try { |
| 6214 asyncError = this._box_1.source.get$_error(); |
| 6215 t1 = this.listener; |
| 6216 if (t1.matchesErrorTest$1(asyncError) === true && t1.get$hasErrorCallb
ack()) { |
| 6217 t2 = this._box_0; |
| 6218 t2.listenerValueOrError = t1.handleError$1(asyncError); |
| 6219 t2.listenerHasError = false; |
| 6220 } |
| 6221 } catch (exception) { |
| 6222 t1 = H.unwrapException(exception); |
| 6223 e = t1; |
| 6224 s = H.getTraceFromException(exception); |
| 6225 t1 = this._box_1; |
| 6226 t2 = J.get$error$x(t1.source.get$_error()); |
| 6227 t3 = e; |
| 6228 t4 = this._box_0; |
| 6229 if (t2 == null ? t3 == null : t2 === t3) |
| 6230 t4.listenerValueOrError = t1.source.get$_error(); |
| 6231 else |
| 6232 t4.listenerValueOrError = new P.AsyncError(e, s); |
| 6233 t4.listenerHasError = true; |
| 6234 } |
| 6235 } |
5984 }, | 6236 }, |
5985 _AsyncCallbackEntry: { | 6237 _AsyncCallbackEntry: { |
5986 "^": "Object;callback,next" | 6238 "^": "Object;callback,next" |
5987 }, | 6239 }, |
5988 Stream: { | 6240 Stream: { |
5989 "^": "Object;", | 6241 "^": "Object;", |
5990 map$1: function(_, convert) { | 6242 map$1: function(_, convert) { |
5991 return H.setRuntimeTypeInfo(new P._MapStream(convert, this), [H.getRunti
meTypeArgument(this, "Stream", 0), null]); | 6243 return H.setRuntimeTypeInfo(new P._MapStream(convert, this), [H.getRunti
meTypeArgument(this, "Stream", 0), null]); |
5992 }, | 6244 }, |
| 6245 handleError$2$test: function(onError, test) { |
| 6246 return H.setRuntimeTypeInfo(new P._HandleErrorStream(onError, test, this
), [H.getRuntimeTypeArgument(this, "Stream", 0)]); |
| 6247 }, |
| 6248 handleError$1: function(onError) { |
| 6249 return this.handleError$2$test(onError, null); |
| 6250 }, |
5993 pipe$1: function(streamConsumer) { | 6251 pipe$1: function(streamConsumer) { |
5994 return streamConsumer.addStream$1(this).then$1(new P.Stream_pipe_closure
(streamConsumer)); | 6252 return streamConsumer.addStream$1(this).then$1(new P.Stream_pipe_closure
(streamConsumer)); |
5995 }, | 6253 }, |
5996 contains$1: function(_, needle) { | 6254 contains$1: function(_, needle) { |
5997 var t1, future; | 6255 var t1, future; |
5998 t1 = {}; | 6256 t1 = {}; |
5999 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [
P.bool]); | 6257 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [
P.bool]); |
6000 t1.subscription = null; | 6258 t1.subscription = null; |
6001 t1.subscription = this.listen$4$cancelOnError$onDone$onError(new P.Strea
m_contains_closure(t1, this, needle, future), true, new P.Stream_contains_closur
e0(future), future.get$_completeError()); | 6259 t1.subscription = this.listen$4$cancelOnError$onDone$onError(new P.Strea
m_contains_closure(t1, this, needle, future), true, new P.Stream_contains_closur
e0(future), future.get$_completeError()); |
6002 return future; | 6260 return future; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6039 t1.result = null; | 6297 t1.result = null; |
6040 t1.foundResult = false; | 6298 t1.foundResult = false; |
6041 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1,
this), true, new P.Stream_last_closure0(t1, future), future.get$_completeError(
)); | 6299 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1,
this), true, new P.Stream_last_closure0(t1, future), future.get$_completeError(
)); |
6042 return future; | 6300 return future; |
6043 } | 6301 } |
6044 }, | 6302 }, |
6045 Stream_pipe_closure: { | 6303 Stream_pipe_closure: { |
6046 "^": "Closure:0;streamConsumer", | 6304 "^": "Closure:0;streamConsumer", |
6047 call$1: [function(_) { | 6305 call$1: [function(_) { |
6048 return this.streamConsumer.close$0(0); | 6306 return this.streamConsumer.close$0(0); |
6049 }, null, null, 2, 0, null, 9, "call"] | 6307 }, null, null, 2, 0, null, 6, "call"] |
6050 }, | 6308 }, |
6051 Stream_contains_closure: { | 6309 Stream_contains_closure: { |
6052 "^": "Closure;_box_0,$this,needle,future", | 6310 "^": "Closure;_box_0,$this,needle,future", |
6053 call$1: [function(element) { | 6311 call$1: [function(element) { |
6054 var t1, t2; | 6312 var t1, t2; |
6055 t1 = this._box_0; | 6313 t1 = this._box_0; |
6056 t2 = this.future; | 6314 t2 = this.future; |
6057 P._runUserCode(new P.Stream_contains__closure(this.needle, element), new
P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1.subscription,
t2)); | 6315 P._runUserCode(new P.Stream_contains__closure(this.needle, element), new
P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1.subscription,
t2)); |
6058 }, null, null, 2, 0, null, 23, "call"], | 6316 }, null, null, 2, 0, null, 22, "call"], |
6059 $signature: function() { | 6317 $signature: function() { |
6060 return H.computeSignature(function(T) { | 6318 return H.computeSignature(function(T) { |
6061 return {func: 1, args: [T]}; | 6319 return {func: 1, args: [T]}; |
6062 }, this.$this, "Stream"); | 6320 }, this.$this, "Stream"); |
6063 } | 6321 } |
6064 }, | 6322 }, |
6065 Stream_contains__closure: { | 6323 Stream_contains__closure: { |
6066 "^": "Closure:1;needle,element", | 6324 "^": "Closure:1;needle,element", |
6067 call$0: function() { | 6325 call$0: function() { |
6068 return J.$eq$(this.element, this.needle); | 6326 return J.$eq$(this.element, this.needle); |
6069 } | 6327 } |
6070 }, | 6328 }, |
6071 Stream_contains__closure0: { | 6329 Stream_contains__closure0: { |
6072 "^": "Closure:38;_box_0,future", | 6330 "^": "Closure:37;_box_0,future", |
6073 call$1: function(isMatch) { | 6331 call$1: function(isMatch) { |
6074 if (isMatch === true) | 6332 if (isMatch === true) |
6075 P._cancelAndValue(this._box_0.subscription, this.future, true); | 6333 P._cancelAndValue(this._box_0.subscription, this.future, true); |
6076 } | 6334 } |
6077 }, | 6335 }, |
6078 Stream_contains_closure0: { | 6336 Stream_contains_closure0: { |
6079 "^": "Closure:1;future", | 6337 "^": "Closure:1;future", |
6080 call$0: [function() { | 6338 call$0: [function() { |
6081 this.future._complete$1(false); | 6339 this.future._complete$1(false); |
6082 }, null, null, 0, 0, null, "call"] | 6340 }, null, null, 0, 0, null, "call"] |
6083 }, | 6341 }, |
6084 Stream_forEach_closure: { | 6342 Stream_forEach_closure: { |
6085 "^": "Closure;_box_0,$this,action,future", | 6343 "^": "Closure;_box_0,$this,action,future", |
6086 call$1: [function(element) { | 6344 call$1: [function(element) { |
6087 P._runUserCode(new P.Stream_forEach__closure(this.action, element), new
P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._box_0.subscription,
this.future)); | 6345 P._runUserCode(new P.Stream_forEach__closure(this.action, element), new
P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._box_0.subscription,
this.future)); |
6088 }, null, null, 2, 0, null, 23, "call"], | 6346 }, null, null, 2, 0, null, 22, "call"], |
6089 $signature: function() { | 6347 $signature: function() { |
6090 return H.computeSignature(function(T) { | 6348 return H.computeSignature(function(T) { |
6091 return {func: 1, args: [T]}; | 6349 return {func: 1, args: [T]}; |
6092 }, this.$this, "Stream"); | 6350 }, this.$this, "Stream"); |
6093 } | 6351 } |
6094 }, | 6352 }, |
6095 Stream_forEach__closure: { | 6353 Stream_forEach__closure: { |
6096 "^": "Closure:1;action,element", | 6354 "^": "Closure:1;action,element", |
6097 call$0: function() { | 6355 call$0: function() { |
6098 return this.action.call$1(this.element); | 6356 return this.action.call$1(this.element); |
6099 } | 6357 } |
6100 }, | 6358 }, |
6101 Stream_forEach__closure0: { | 6359 Stream_forEach__closure0: { |
6102 "^": "Closure:0;", | 6360 "^": "Closure:0;", |
6103 call$1: function(_) { | 6361 call$1: function(_) { |
6104 } | 6362 } |
6105 }, | 6363 }, |
6106 Stream_forEach_closure0: { | 6364 Stream_forEach_closure0: { |
6107 "^": "Closure:1;future", | 6365 "^": "Closure:1;future", |
6108 call$0: [function() { | 6366 call$0: [function() { |
6109 this.future._complete$1(null); | 6367 this.future._complete$1(null); |
6110 }, null, null, 0, 0, null, "call"] | 6368 }, null, null, 0, 0, null, "call"] |
6111 }, | 6369 }, |
6112 Stream_length_closure: { | 6370 Stream_length_closure: { |
6113 "^": "Closure:0;_box_0", | 6371 "^": "Closure:0;_box_0", |
6114 call$1: [function(_) { | 6372 call$1: [function(_) { |
6115 ++this._box_0.count; | 6373 ++this._box_0.count; |
6116 }, null, null, 2, 0, null, 9, "call"] | 6374 }, null, null, 2, 0, null, 6, "call"] |
6117 }, | 6375 }, |
6118 Stream_length_closure0: { | 6376 Stream_length_closure0: { |
6119 "^": "Closure:1;_box_0,future", | 6377 "^": "Closure:1;_box_0,future", |
6120 call$0: [function() { | 6378 call$0: [function() { |
6121 this.future._complete$1(this._box_0.count); | 6379 this.future._complete$1(this._box_0.count); |
6122 }, null, null, 0, 0, null, "call"] | 6380 }, null, null, 0, 0, null, "call"] |
6123 }, | 6381 }, |
6124 Stream_isEmpty_closure: { | 6382 Stream_isEmpty_closure: { |
6125 "^": "Closure:0;_box_0,future", | 6383 "^": "Closure:0;_box_0,future", |
6126 call$1: [function(_) { | 6384 call$1: [function(_) { |
6127 P._cancelAndValue(this._box_0.subscription, this.future, false); | 6385 P._cancelAndValue(this._box_0.subscription, this.future, false); |
6128 }, null, null, 2, 0, null, 9, "call"] | 6386 }, null, null, 2, 0, null, 6, "call"] |
6129 }, | 6387 }, |
6130 Stream_isEmpty_closure0: { | 6388 Stream_isEmpty_closure0: { |
6131 "^": "Closure:1;future", | 6389 "^": "Closure:1;future", |
6132 call$0: [function() { | 6390 call$0: [function() { |
6133 this.future._complete$1(true); | 6391 this.future._complete$1(true); |
6134 }, null, null, 0, 0, null, "call"] | 6392 }, null, null, 0, 0, null, "call"] |
6135 }, | 6393 }, |
6136 Stream_toList_closure: { | 6394 Stream_toList_closure: { |
6137 "^": "Closure;$this,result", | 6395 "^": "Closure;$this,result", |
6138 call$1: [function(data) { | 6396 call$1: [function(data) { |
6139 this.result.push(data); | 6397 this.result.push(data); |
6140 }, null, null, 2, 0, null, 15, "call"], | 6398 }, null, null, 2, 0, null, 12, "call"], |
6141 $signature: function() { | 6399 $signature: function() { |
6142 return H.computeSignature(function(T) { | 6400 return H.computeSignature(function(T) { |
6143 return {func: 1, args: [T]}; | 6401 return {func: 1, args: [T]}; |
6144 }, this.$this, "Stream"); | 6402 }, this.$this, "Stream"); |
6145 } | 6403 } |
6146 }, | 6404 }, |
6147 Stream_toList_closure0: { | 6405 Stream_toList_closure0: { |
6148 "^": "Closure:1;result,future", | 6406 "^": "Closure:1;result,future", |
6149 call$0: [function() { | 6407 call$0: [function() { |
6150 this.future._complete$1(this.result); | 6408 this.future._complete$1(this.result); |
6151 }, null, null, 0, 0, null, "call"] | 6409 }, null, null, 0, 0, null, "call"] |
6152 }, | 6410 }, |
6153 Stream_last_closure: { | 6411 Stream_last_closure: { |
6154 "^": "Closure;_box_0,$this", | 6412 "^": "Closure;_box_0,$this", |
6155 call$1: [function(value) { | 6413 call$1: [function(value) { |
6156 var t1 = this._box_0; | 6414 var t1 = this._box_0; |
6157 t1.foundResult = true; | 6415 t1.foundResult = true; |
6158 t1.result = value; | 6416 t1.result = value; |
6159 }, null, null, 2, 0, null, 6, "call"], | 6417 }, null, null, 2, 0, null, 7, "call"], |
6160 $signature: function() { | 6418 $signature: function() { |
6161 return H.computeSignature(function(T) { | 6419 return H.computeSignature(function(T) { |
6162 return {func: 1, args: [T]}; | 6420 return {func: 1, args: [T]}; |
6163 }, this.$this, "Stream"); | 6421 }, this.$this, "Stream"); |
6164 } | 6422 } |
6165 }, | 6423 }, |
6166 Stream_last_closure0: { | 6424 Stream_last_closure0: { |
6167 "^": "Closure:1;_box_0,future", | 6425 "^": "Closure:1;_box_0,future", |
6168 call$0: [function() { | 6426 call$0: [function() { |
6169 var e, s, t1, exception; | 6427 var e, s, t1, exception; |
(...skipping 10 matching lines...) Expand all Loading... |
6180 e = t1; | 6438 e = t1; |
6181 s = H.getTraceFromException(exception); | 6439 s = H.getTraceFromException(exception); |
6182 P._completeWithErrorCallback(this.future, e, s); | 6440 P._completeWithErrorCallback(this.future, e, s); |
6183 } | 6441 } |
6184 }, null, null, 0, 0, null, "call"] | 6442 }, null, null, 0, 0, null, "call"] |
6185 }, | 6443 }, |
6186 StreamSubscription: { | 6444 StreamSubscription: { |
6187 "^": "Object;" | 6445 "^": "Object;" |
6188 }, | 6446 }, |
6189 _StreamController: { | 6447 _StreamController: { |
6190 "^": "Object;", | 6448 "^": "Object;_state<", |
6191 get$isPaused: function() { | 6449 get$isPaused: function() { |
6192 var t1 = this._state; | 6450 var t1 = this._state; |
6193 return (t1 & 1) !== 0 ? this.get$_subscription().get$_isInputPaused() :
(t1 & 2) === 0; | 6451 return (t1 & 1) !== 0 ? this.get$_subscription().get$_isInputPaused() :
(t1 & 2) === 0; |
6194 }, | 6452 }, |
6195 get$_pendingEvents: function() { | 6453 get$_pendingEvents: function() { |
6196 if ((this._state & 8) === 0) | 6454 if ((this._state & 8) === 0) |
6197 return this._varData; | 6455 return this._varData; |
6198 return this._varData.get$varData(); | 6456 return this._varData.get$varData(); |
6199 }, | 6457 }, |
6200 _ensurePendingEvents$0: function() { | 6458 _ensurePendingEvents$0: function() { |
6201 var t1, state; | 6459 var t1, state; |
6202 if ((this._state & 8) === 0) { | 6460 if ((this._state & 8) === 0) { |
6203 t1 = this._varData; | 6461 t1 = this._varData; |
6204 if (t1 == null) { | 6462 if (t1 == null) { |
6205 t1 = new P._StreamImplEvents(null, null, 0); | 6463 t1 = new P._StreamImplEvents(null, null, 0); |
| 6464 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
6206 this._varData = t1; | 6465 this._varData = t1; |
6207 } | 6466 } |
6208 return t1; | 6467 return t1; |
6209 } | 6468 } |
6210 state = this._varData; | 6469 state = this._varData; |
6211 if (state.get$varData() == null) | 6470 if (state.get$varData() == null) { |
6212 state.set$varData(new P._StreamImplEvents(null, null, 0)); | 6471 t1 = new P._StreamImplEvents(null, null, 0); |
| 6472 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| 6473 state.set$varData(t1); |
| 6474 } |
6213 return state.get$varData(); | 6475 return state.get$varData(); |
6214 }, | 6476 }, |
6215 get$_subscription: function() { | 6477 get$_subscription: function() { |
6216 if ((this._state & 8) !== 0) | 6478 if ((this._state & 8) !== 0) |
6217 return this._varData.get$varData(); | 6479 return this._varData.get$varData(); |
6218 return this._varData; | 6480 return this._varData; |
6219 }, | 6481 }, |
6220 _badEventState$0: function() { | 6482 _badEventState$0: function() { |
6221 if ((this._state & 4) !== 0) | 6483 if ((this._state & 4) !== 0) |
6222 return new P.StateError("Cannot add event after closing"); | 6484 return new P.StateError("Cannot add event after closing"); |
6223 return new P.StateError("Cannot add event while adding a stream"); | 6485 return new P.StateError("Cannot add event while adding a stream"); |
6224 }, | 6486 }, |
6225 _ensureDoneFuture$0: function() { | 6487 _ensureDoneFuture$0: function() { |
6226 var t1 = this._doneFuture; | 6488 var t1 = this._doneFuture; |
6227 if (t1 == null) { | 6489 if (t1 == null) { |
6228 t1 = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : H.setRunt
imeTypeInfo(new P._Future(0, $.Zone__current, null), [null]); | 6490 t1 = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : H.setRunt
imeTypeInfo(new P._Future(0, $.Zone__current, null), [null]); |
6229 this._doneFuture = t1; | 6491 this._doneFuture = t1; |
6230 } | 6492 } |
6231 return t1; | 6493 return t1; |
6232 }, | 6494 }, |
6233 add$1: [function(_, value) { | 6495 add$1: [function(_, value) { |
6234 if (this._state >= 4) | 6496 if (this._state >= 4) |
6235 throw H.wrapException(this._badEventState$0()); | 6497 throw H.wrapException(this._badEventState$0()); |
6236 this._async$_add$1(value); | 6498 this._async$_add$1(value); |
6237 }, "call$1", "get$add", 2, 0, function() { | 6499 }, "call$1", "get$add", 2, 0, function() { |
6238 return H.computeSignature(function(T) { | 6500 return H.computeSignature(function(T) { |
6239 return {func: 1, v: true, args: [T]}; | 6501 return {func: 1, v: true, args: [T]}; |
6240 }, this.$receiver, "_StreamController"); | 6502 }, this.$receiver, "_StreamController"); |
6241 }, 6], | 6503 }, 7], |
6242 addError$2: [function(error, stackTrace) { | 6504 addError$2: [function(error, stackTrace) { |
6243 var replacement; | 6505 var replacement; |
6244 if (this._state >= 4) | 6506 if (this._state >= 4) |
6245 throw H.wrapException(this._badEventState$0()); | 6507 throw H.wrapException(this._badEventState$0()); |
6246 error = error != null ? error : new P.NullThrownError(); | 6508 error = error != null ? error : new P.NullThrownError(); |
6247 replacement = $.Zone__current.errorCallback$2(error, stackTrace); | 6509 replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
6248 if (replacement != null) { | 6510 if (replacement != null) { |
6249 error = J.get$error$x(replacement); | 6511 error = J.get$error$x(replacement); |
6250 error = error != null ? error : new P.NullThrownError(); | 6512 error = error != null ? error : new P.NullThrownError(); |
6251 stackTrace = replacement.get$stackTrace(); | 6513 stackTrace = replacement.get$stackTrace(); |
6252 } | 6514 } |
6253 this._async$_addError$2(error, stackTrace); | 6515 this._addError$2(error, stackTrace); |
6254 }, function(error) { | 6516 }, function(error) { |
6255 return this.addError$2(error, null); | 6517 return this.addError$2(error, null); |
6256 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 10, 5, 1, 2], | 6518 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 9, 5, 3, 4], |
6257 close$0: [function(_) { | 6519 close$0: [function(_) { |
6258 var t1 = this._state; | 6520 var t1 = this._state; |
6259 if ((t1 & 4) !== 0) | 6521 if ((t1 & 4) !== 0) |
6260 return this._ensureDoneFuture$0(); | 6522 return this._ensureDoneFuture$0(); |
6261 if (t1 >= 4) | 6523 if (t1 >= 4) |
6262 throw H.wrapException(this._badEventState$0()); | 6524 throw H.wrapException(this._badEventState$0()); |
6263 t1 |= 4; | 6525 t1 |= 4; |
6264 this._state = t1; | 6526 this._state = t1; |
6265 if ((t1 & 1) !== 0) | 6527 if ((t1 & 1) !== 0) |
6266 this._sendDone$0(); | 6528 this._sendDone$0(); |
6267 else if ((t1 & 3) === 0) | 6529 else if ((t1 & 3) === 0) |
6268 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); | 6530 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); |
6269 return this._ensureDoneFuture$0(); | 6531 return this._ensureDoneFuture$0(); |
6270 }, null, "get$close", 0, 0, null], | 6532 }, null, "get$close", 0, 0, null], |
6271 _async$_add$1: function(value) { | 6533 _async$_add$1: function(value) { |
6272 var t1 = this._state; | 6534 var t1, t2; |
| 6535 t1 = this._state; |
6273 if ((t1 & 1) !== 0) | 6536 if ((t1 & 1) !== 0) |
6274 this._sendData$1(value); | 6537 this._sendData$1(value); |
6275 else if ((t1 & 3) === 0) | 6538 else if ((t1 & 3) === 0) { |
6276 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)
); | 6539 t1 = this._ensurePendingEvents$0(); |
| 6540 t2 = new P._DelayedData(value, null); |
| 6541 t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| 6542 t1.add$1(0, t2); |
| 6543 } |
6277 }, | 6544 }, |
6278 _async$_addError$2: function(error, stackTrace) { | 6545 _addError$2: function(error, stackTrace) { |
6279 var t1 = this._state; | 6546 var t1 = this._state; |
6280 if ((t1 & 1) !== 0) | 6547 if ((t1 & 1) !== 0) |
6281 this._sendError$2(error, stackTrace); | 6548 this._sendError$2(error, stackTrace); |
6282 else if ((t1 & 3) === 0) | 6549 else if ((t1 & 3) === 0) |
6283 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stac
kTrace, null)); | 6550 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stac
kTrace, null)); |
6284 }, | 6551 }, |
6285 _subscribe$4: function(onData, onError, onDone, cancelOnError) { | 6552 _subscribe$4: function(onData, onError, onDone, cancelOnError) { |
6286 var t1, subscription, pendingEvents, addState; | 6553 var t1, subscription, pendingEvents, addState; |
6287 if ((this._state & 3) !== 0) | 6554 if ((this._state & 3) !== 0) |
6288 throw H.wrapException(new P.StateError("Stream has already been listen
ed to.")); | 6555 throw H.wrapException(new P.StateError("Stream has already been listen
ed to.")); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6348 if (t1 != null && t1._state === 0) | 6615 if (t1 != null && t1._state === 0) |
6349 t1._asyncComplete$1(null); | 6616 t1._asyncComplete$1(null); |
6350 }, null, null, 0, 0, null, "call"] | 6617 }, null, null, 0, 0, null, "call"] |
6351 }, | 6618 }, |
6352 _SyncStreamControllerDispatch: { | 6619 _SyncStreamControllerDispatch: { |
6353 "^": "Object;", | 6620 "^": "Object;", |
6354 _sendData$1: function(data) { | 6621 _sendData$1: function(data) { |
6355 this.get$_subscription()._async$_add$1(data); | 6622 this.get$_subscription()._async$_add$1(data); |
6356 }, | 6623 }, |
6357 _sendError$2: function(error, stackTrace) { | 6624 _sendError$2: function(error, stackTrace) { |
6358 this.get$_subscription()._async$_addError$2(error, stackTrace); | 6625 this.get$_subscription()._addError$2(error, stackTrace); |
6359 }, | 6626 }, |
6360 _sendDone$0: function() { | 6627 _sendDone$0: function() { |
6361 this.get$_subscription()._close$0(); | 6628 this.get$_subscription()._close$0(); |
6362 } | 6629 } |
6363 }, | 6630 }, |
6364 _SyncStreamController: { | 6631 _SyncStreamController: { |
6365 "^": "_StreamController+_SyncStreamControllerDispatch;_varData,_state,_don
eFuture,onListen,onPause,onResume,onCancel" | 6632 "^": "_StreamController+_SyncStreamControllerDispatch;_varData,_state,_don
eFuture,onListen,onPause,onResume,onCancel" |
6366 }, | 6633 }, |
6367 _ControllerStream: { | 6634 _ControllerStream: { |
6368 "^": "_StreamImpl;_controller", | 6635 "^": "_StreamImpl;_controller", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6401 "^": "Object;_async$_target", | 6668 "^": "Object;_async$_target", |
6402 add$1: [function(_, data) { | 6669 add$1: [function(_, data) { |
6403 var t1 = this._async$_target; | 6670 var t1 = this._async$_target; |
6404 if (t1._state >= 4) | 6671 if (t1._state >= 4) |
6405 H.throwExpression(t1._badEventState$0()); | 6672 H.throwExpression(t1._badEventState$0()); |
6406 t1._async$_add$1(data); | 6673 t1._async$_add$1(data); |
6407 }, "call$1", "get$add", 2, 0, function() { | 6674 }, "call$1", "get$add", 2, 0, function() { |
6408 return H.computeSignature(function(T) { | 6675 return H.computeSignature(function(T) { |
6409 return {func: 1, v: true, args: [T]}; | 6676 return {func: 1, v: true, args: [T]}; |
6410 }, this.$receiver, "_StreamSinkWrapper"); | 6677 }, this.$receiver, "_StreamSinkWrapper"); |
6411 }, 15] | 6678 }, 12] |
6412 }, | 6679 }, |
6413 _EventSink: { | 6680 _EventSink: { |
6414 "^": "Object;" | 6681 "^": "Object;" |
6415 }, | 6682 }, |
6416 _BufferingStreamSubscription: { | 6683 _BufferingStreamSubscription: { |
6417 "^": "Object;_onError<,_zone<", | 6684 "^": "Object;_zone<,_state<", |
6418 _setPendingEvents$1: function(pendingEvents) { | 6685 _setPendingEvents$1: function(pendingEvents) { |
6419 if (pendingEvents == null) | 6686 if (pendingEvents == null) |
6420 return; | 6687 return; |
6421 this._pending = pendingEvents; | 6688 this._pending = pendingEvents; |
6422 if (!pendingEvents.get$isEmpty(pendingEvents)) { | 6689 if (!pendingEvents.get$isEmpty(pendingEvents)) { |
6423 this._state = (this._state | 64) >>> 0; | 6690 this._state = (this._state | 64) >>> 0; |
6424 this._pending.schedule$1(this); | 6691 this._pending.schedule$1(this); |
6425 } | 6692 } |
6426 }, | 6693 }, |
6427 pause$1: function(_, resumeSignal) { | 6694 pause$1: function(_, resumeSignal) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6484 this._pending = null; | 6751 this._pending = null; |
6485 this._cancelFuture = this._onCancel$0(); | 6752 this._cancelFuture = this._onCancel$0(); |
6486 }, | 6753 }, |
6487 _async$_add$1: ["super$_BufferingStreamSubscription$_add", function(data)
{ | 6754 _async$_add$1: ["super$_BufferingStreamSubscription$_add", function(data)
{ |
6488 var t1 = this._state; | 6755 var t1 = this._state; |
6489 if ((t1 & 8) !== 0) | 6756 if ((t1 & 8) !== 0) |
6490 return; | 6757 return; |
6491 if (t1 < 32) | 6758 if (t1 < 32) |
6492 this._sendData$1(data); | 6759 this._sendData$1(data); |
6493 else | 6760 else |
6494 this._addPending$1(new P._DelayedData(data, null)); | 6761 this._addPending$1(H.setRuntimeTypeInfo(new P._DelayedData(data, null)
, [null])); |
6495 }], | 6762 }], |
6496 _async$_addError$2: ["super$_BufferingStreamSubscription$_addError", funct
ion(error, stackTrace) { | 6763 _addError$2: ["super$_BufferingStreamSubscription$_addError", function(err
or, stackTrace) { |
6497 var t1 = this._state; | 6764 var t1 = this._state; |
6498 if ((t1 & 8) !== 0) | 6765 if ((t1 & 8) !== 0) |
6499 return; | 6766 return; |
6500 if (t1 < 32) | 6767 if (t1 < 32) |
6501 this._sendError$2(error, stackTrace); | 6768 this._sendError$2(error, stackTrace); |
6502 else | 6769 else |
6503 this._addPending$1(new P._DelayedError(error, stackTrace, null)); | 6770 this._addPending$1(new P._DelayedError(error, stackTrace, null)); |
6504 }], | 6771 }], |
6505 _close$0: function() { | 6772 _close$0: function() { |
6506 var t1 = this._state; | 6773 var t1 = this._state; |
(...skipping 10 matching lines...) Expand all Loading... |
6517 }, "call$0", "get$_onPause", 0, 0, 2], | 6784 }, "call$0", "get$_onPause", 0, 0, 2], |
6518 _onResume$0: [function() { | 6785 _onResume$0: [function() { |
6519 }, "call$0", "get$_onResume", 0, 0, 2], | 6786 }, "call$0", "get$_onResume", 0, 0, 2], |
6520 _onCancel$0: function() { | 6787 _onCancel$0: function() { |
6521 return; | 6788 return; |
6522 }, | 6789 }, |
6523 _addPending$1: function($event) { | 6790 _addPending$1: function($event) { |
6524 var pending, t1; | 6791 var pending, t1; |
6525 pending = this._pending; | 6792 pending = this._pending; |
6526 if (pending == null) { | 6793 if (pending == null) { |
6527 pending = new P._StreamImplEvents(null, null, 0); | 6794 pending = H.setRuntimeTypeInfo(new P._StreamImplEvents(null, null, 0),
[null]); |
6528 this._pending = pending; | 6795 this._pending = pending; |
6529 } | 6796 } |
6530 pending.add$1(0, $event); | 6797 pending.add$1(0, $event); |
6531 t1 = this._state; | 6798 t1 = this._state; |
6532 if ((t1 & 64) === 0) { | 6799 if ((t1 & 64) === 0) { |
6533 t1 = (t1 | 64) >>> 0; | 6800 t1 = (t1 | 64) >>> 0; |
6534 this._state = t1; | 6801 this._state = t1; |
6535 if (t1 < 128) | 6802 if (t1 < 128) |
6536 this._pending.schedule$1(this); | 6803 this._pending.schedule$1(this); |
6537 } | 6804 } |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6631 _BufferingStreamSubscription__sendError_sendError: { | 6898 _BufferingStreamSubscription__sendError_sendError: { |
6632 "^": "Closure:2;$this,error,stackTrace", | 6899 "^": "Closure:2;$this,error,stackTrace", |
6633 call$0: [function() { | 6900 call$0: [function() { |
6634 var t1, t2, t3, t4, t5, t6; | 6901 var t1, t2, t3, t4, t5, t6; |
6635 t1 = this.$this; | 6902 t1 = this.$this; |
6636 t2 = t1._state; | 6903 t2 = t1._state; |
6637 if ((t2 & 8) !== 0 && (t2 & 16) === 0) | 6904 if ((t2 & 8) !== 0 && (t2 & 16) === 0) |
6638 return; | 6905 return; |
6639 t1._state = (t2 | 32) >>> 0; | 6906 t1._state = (t2 | 32) >>> 0; |
6640 t2 = t1._onError; | 6907 t2 = t1._onError; |
6641 t3 = H.getDynamicRuntimeType(); | 6908 t3 = H.buildFunctionType(H.getDynamicRuntimeType(), [H.buildInterfaceTyp
e(P.Object), H.buildInterfaceType(P.StackTrace)])._isTest$1(t2); |
6642 t3 = H.buildFunctionType(t3, [t3, t3])._isTest$1(t2); | |
6643 t4 = t1._zone; | 6909 t4 = t1._zone; |
6644 t5 = this.error; | 6910 t5 = this.error; |
6645 t6 = t1._onError; | 6911 t6 = t1._onError; |
6646 if (t3) | 6912 if (t3) |
6647 t4.runBinaryGuarded$3(t6, t5, this.stackTrace); | 6913 t4.runBinaryGuarded$3(t6, t5, this.stackTrace); |
6648 else | 6914 else |
6649 t4.runUnaryGuarded$2(t6, t5); | 6915 t4.runUnaryGuarded$2(t6, t5); |
6650 t1._state = (t1._state & 4294967263) >>> 0; | 6916 t1._state = (t1._state & 4294967263) >>> 0; |
6651 }, null, null, 0, 0, null, "call"] | 6917 }, null, null, 0, 0, null, "call"] |
6652 }, | 6918 }, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6702 dispatch._sendDone$0(); | 6968 dispatch._sendDone$0(); |
6703 }, | 6969 }, |
6704 get$next: function() { | 6970 get$next: function() { |
6705 return; | 6971 return; |
6706 }, | 6972 }, |
6707 set$next: function(_) { | 6973 set$next: function(_) { |
6708 throw H.wrapException(new P.StateError("No events after a done.")); | 6974 throw H.wrapException(new P.StateError("No events after a done.")); |
6709 } | 6975 } |
6710 }, | 6976 }, |
6711 _PendingEvents: { | 6977 _PendingEvents: { |
6712 "^": "Object;", | 6978 "^": "Object;_state<", |
6713 schedule$1: function(dispatch) { | 6979 schedule$1: function(dispatch) { |
6714 var t1 = this._state; | 6980 var t1 = this._state; |
6715 if (t1 === 1) | 6981 if (t1 === 1) |
6716 return; | 6982 return; |
6717 if (t1 >= 1) { | 6983 if (t1 >= 1) { |
6718 this._state = 1; | 6984 this._state = 1; |
6719 return; | 6985 return; |
6720 } | 6986 } |
6721 P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch
)); | 6987 P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch
)); |
6722 this._state = 1; | 6988 this._state = 1; |
(...skipping 30 matching lines...) Expand all Loading... |
6753 if (t1 == null) { | 7019 if (t1 == null) { |
6754 this.lastPendingEvent = $event; | 7020 this.lastPendingEvent = $event; |
6755 this.firstPendingEvent = $event; | 7021 this.firstPendingEvent = $event; |
6756 } else { | 7022 } else { |
6757 t1.set$next($event); | 7023 t1.set$next($event); |
6758 this.lastPendingEvent = $event; | 7024 this.lastPendingEvent = $event; |
6759 } | 7025 } |
6760 } | 7026 } |
6761 }, | 7027 }, |
6762 _DoneStreamSubscription: { | 7028 _DoneStreamSubscription: { |
6763 "^": "Object;_zone<,_state,_onDone", | 7029 "^": "Object;_zone<,_state<,_onDone", |
6764 get$isPaused: function() { | 7030 get$isPaused: function() { |
6765 return this._state >= 4; | 7031 return this._state >= 4; |
6766 }, | 7032 }, |
6767 _schedule$0: function() { | 7033 _schedule$0: function() { |
6768 if ((this._state & 2) !== 0) | 7034 if ((this._state & 2) !== 0) |
6769 return; | 7035 return; |
6770 this._zone.scheduleMicrotask$1(this.get$_sendDone()); | 7036 this._zone.scheduleMicrotask$1(this.get$_sendDone()); |
6771 this._state = (this._state | 2) >>> 0; | 7037 this._state = (this._state | 2) >>> 0; |
6772 }, | 7038 }, |
6773 pause$1: function(_, resumeSignal) { | 7039 pause$1: function(_, resumeSignal) { |
(...skipping 19 matching lines...) Expand all Loading... |
6793 this._state = t1; | 7059 this._state = t1; |
6794 if (t1 >= 4) | 7060 if (t1 >= 4) |
6795 return; | 7061 return; |
6796 this._state = (t1 | 1) >>> 0; | 7062 this._state = (t1 | 1) >>> 0; |
6797 t1 = this._onDone; | 7063 t1 = this._onDone; |
6798 if (t1 != null) | 7064 if (t1 != null) |
6799 this._zone.runGuarded$1(t1); | 7065 this._zone.runGuarded$1(t1); |
6800 }, "call$0", "get$_sendDone", 0, 0, 2] | 7066 }, "call$0", "get$_sendDone", 0, 0, 2] |
6801 }, | 7067 }, |
6802 _StreamIteratorImpl: { | 7068 _StreamIteratorImpl: { |
6803 "^": "Object;_subscription,_async$_current,_futureOrPrefetch,_state", | 7069 "^": "Object;_subscription,_async$_current,_futureOrPrefetch,_state<", |
6804 _clear$0: function(_) { | 7070 _clear$0: function(_) { |
6805 this._subscription = null; | 7071 this._subscription = null; |
6806 this._futureOrPrefetch = null; | 7072 this._futureOrPrefetch = null; |
6807 this._async$_current = null; | 7073 this._async$_current = null; |
6808 this._state = 1; | 7074 this._state = 1; |
6809 }, | 7075 }, |
6810 _async$_onData$1: [function(data) { | 7076 _async$_onData$1: [function(data) { |
6811 var hasNext; | 7077 var hasNext; |
6812 if (this._state === 2) { | 7078 if (this._state === 2) { |
6813 this._async$_current = data; | 7079 this._async$_current = data; |
6814 hasNext = this._futureOrPrefetch; | 7080 hasNext = this._futureOrPrefetch; |
6815 this._futureOrPrefetch = null; | 7081 this._futureOrPrefetch = null; |
6816 this._state = 0; | 7082 this._state = 0; |
6817 hasNext._complete$1(true); | 7083 hasNext._complete$1(true); |
6818 return; | 7084 return; |
6819 } | 7085 } |
6820 this._subscription.pause$0(0); | 7086 this._subscription.pause$0(0); |
6821 this._futureOrPrefetch = data; | 7087 this._futureOrPrefetch = data; |
6822 this._state = 3; | 7088 this._state = 3; |
6823 }, "call$1", "get$_async$_onData", 2, 0, function() { | 7089 }, "call$1", "get$_async$_onData", 2, 0, function() { |
6824 return H.computeSignature(function(T) { | 7090 return H.computeSignature(function(T) { |
6825 return {func: 1, v: true, args: [T]}; | 7091 return {func: 1, v: true, args: [T]}; |
6826 }, this.$receiver, "_StreamIteratorImpl"); | 7092 }, this.$receiver, "_StreamIteratorImpl"); |
6827 }, 15], | 7093 }, 12], |
6828 _onError$2: [function(error, stackTrace) { | 7094 _onError$2: [function(error, stackTrace) { |
6829 var hasNext; | 7095 var hasNext; |
6830 if (this._state === 2) { | 7096 if (this._state === 2) { |
6831 hasNext = this._futureOrPrefetch; | 7097 hasNext = this._futureOrPrefetch; |
6832 this._clear$0(0); | 7098 this._clear$0(0); |
6833 hasNext._completeError$2(error, stackTrace); | 7099 hasNext._completeError$2(error, stackTrace); |
6834 return; | 7100 return; |
6835 } | 7101 } |
6836 this._subscription.pause$0(0); | 7102 this._subscription.pause$0(0); |
6837 this._futureOrPrefetch = new P.AsyncError(error, stackTrace); | 7103 this._futureOrPrefetch = new P.AsyncError(error, stackTrace); |
6838 this._state = 4; | 7104 this._state = 4; |
6839 }, function(error) { | 7105 }, function(error) { |
6840 return this._onError$2(error, null); | 7106 return this._onError$2(error, null); |
6841 }, "_onError$1", "call$2", "call$1", "get$_onError", 2, 2, 10, 5, 1, 2], | 7107 }, "_onError$1", "call$2", "call$1", "get$_onError", 2, 2, 9, 5, 3, 4], |
6842 _onDone$0: [function() { | 7108 _onDone$0: [function() { |
6843 if (this._state === 2) { | 7109 if (this._state === 2) { |
6844 var hasNext = this._futureOrPrefetch; | 7110 var hasNext = this._futureOrPrefetch; |
6845 this._clear$0(0); | 7111 this._clear$0(0); |
6846 hasNext._complete$1(false); | 7112 hasNext._complete$1(false); |
6847 return; | 7113 return; |
6848 } | 7114 } |
6849 this._subscription.pause$0(0); | 7115 this._subscription.pause$0(0); |
6850 this._futureOrPrefetch = null; | 7116 this._futureOrPrefetch = null; |
6851 this._state = 5; | 7117 this._state = 5; |
(...skipping 15 matching lines...) Expand all Loading... |
6867 }, | 7133 }, |
6868 _cancelAndError_closure: { | 7134 _cancelAndError_closure: { |
6869 "^": "Closure:1;future,error,stackTrace", | 7135 "^": "Closure:1;future,error,stackTrace", |
6870 call$0: [function() { | 7136 call$0: [function() { |
6871 return this.future._completeError$2(this.error, this.stackTrace); | 7137 return this.future._completeError$2(this.error, this.stackTrace); |
6872 }, null, null, 0, 0, null, "call"] | 7138 }, null, null, 0, 0, null, "call"] |
6873 }, | 7139 }, |
6874 _cancelAndErrorClosure_closure: { | 7140 _cancelAndErrorClosure_closure: { |
6875 "^": "Closure:5;subscription,future", | 7141 "^": "Closure:5;subscription,future", |
6876 call$2: function(error, stackTrace) { | 7142 call$2: function(error, stackTrace) { |
6877 return P._cancelAndError(this.subscription, this.future, error, stackTra
ce); | 7143 P._cancelAndError(this.subscription, this.future, error, stackTrace); |
6878 } | 7144 } |
6879 }, | 7145 }, |
6880 _cancelAndValue_closure: { | 7146 _cancelAndValue_closure: { |
6881 "^": "Closure:1;future,value", | 7147 "^": "Closure:1;future,value", |
6882 call$0: [function() { | 7148 call$0: [function() { |
6883 return this.future._complete$1(this.value); | 7149 return this.future._complete$1(this.value); |
6884 }, null, null, 0, 0, null, "call"] | 7150 }, null, null, 0, 0, null, "call"] |
6885 }, | 7151 }, |
6886 _ForwardingStream: { | 7152 _ForwardingStream: { |
6887 "^": "Stream;", | 7153 "^": "Stream;", |
6888 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onD
one, onError) { | 7154 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onD
one, onError) { |
6889 return this._createSubscription$4(onData, onError, onDone, true === canc
elOnError); | 7155 return this._createSubscription$4(onData, onError, onDone, true === canc
elOnError); |
6890 }, | 7156 }, |
6891 listen$1: function(onData) { | 7157 listen$1: function(onData) { |
6892 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, nu
ll); | 7158 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, nu
ll); |
6893 }, | 7159 }, |
6894 listen$3$onDone$onError: function(onData, onDone, onError) { | 7160 listen$3$onDone$onError: function(onData, onDone, onError) { |
6895 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone,
onError); | 7161 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone,
onError); |
6896 }, | 7162 }, |
6897 _createSubscription$4: function(onData, onError, onDone, cancelOnError) { | 7163 _createSubscription$4: function(onData, onError, onDone, cancelOnError) { |
6898 return P._ForwardingStreamSubscription$(this, onData, onError, onDone, c
ancelOnError, H.getRuntimeTypeArgument(this, "_ForwardingStream", 0), H.getRunti
meTypeArgument(this, "_ForwardingStream", 1)); | 7164 return P._ForwardingStreamSubscription$(this, onData, onError, onDone, c
ancelOnError, H.getRuntimeTypeArgument(this, "_ForwardingStream", 0), H.getRunti
meTypeArgument(this, "_ForwardingStream", 1)); |
6899 }, | 7165 }, |
6900 _handleData$2: function(data, sink) { | 7166 _handleData$2: function(data, sink) { |
6901 sink._async$_add$1(data); | 7167 sink._async$_add$1(data); |
6902 }, | 7168 }, |
| 7169 _handleError$3: function(error, stackTrace, sink) { |
| 7170 sink._addError$2(error, stackTrace); |
| 7171 }, |
6903 $asStream: function($S, $T) { | 7172 $asStream: function($S, $T) { |
6904 return [$T]; | 7173 return [$T]; |
6905 } | 7174 } |
6906 }, | 7175 }, |
6907 _ForwardingStreamSubscription: { | 7176 _ForwardingStreamSubscription: { |
6908 "^": "_BufferingStreamSubscription;_stream,_subscription,_async$_onData,_o
nError,_onDone,_zone,_state,_cancelFuture,_pending", | 7177 "^": "_BufferingStreamSubscription;_stream,_subscription,_async$_onData,_o
nError,_onDone,_zone,_state,_cancelFuture,_pending", |
6909 _async$_add$1: function(data) { | 7178 _async$_add$1: function(data) { |
6910 if ((this._state & 2) !== 0) | 7179 if ((this._state & 2) !== 0) |
6911 return; | 7180 return; |
6912 this.super$_BufferingStreamSubscription$_add(data); | 7181 this.super$_BufferingStreamSubscription$_add(data); |
6913 }, | 7182 }, |
6914 _async$_addError$2: function(error, stackTrace) { | 7183 _addError$2: function(error, stackTrace) { |
6915 if ((this._state & 2) !== 0) | 7184 if ((this._state & 2) !== 0) |
6916 return; | 7185 return; |
6917 this.super$_BufferingStreamSubscription$_addError(error, stackTrace); | 7186 this.super$_BufferingStreamSubscription$_addError(error, stackTrace); |
6918 }, | 7187 }, |
6919 _onPause$0: [function() { | 7188 _onPause$0: [function() { |
6920 var t1 = this._subscription; | 7189 var t1 = this._subscription; |
6921 if (t1 == null) | 7190 if (t1 == null) |
6922 return; | 7191 return; |
6923 t1.pause$0(0); | 7192 t1.pause$0(0); |
6924 }, "call$0", "get$_onPause", 0, 0, 2], | 7193 }, "call$0", "get$_onPause", 0, 0, 2], |
(...skipping 10 matching lines...) Expand all Loading... |
6935 return t1.cancel$0(); | 7204 return t1.cancel$0(); |
6936 } | 7205 } |
6937 return; | 7206 return; |
6938 }, | 7207 }, |
6939 _handleData$1: [function(data) { | 7208 _handleData$1: [function(data) { |
6940 this._stream._handleData$2(data, this); | 7209 this._stream._handleData$2(data, this); |
6941 }, "call$1", "get$_handleData", 2, 0, function() { | 7210 }, "call$1", "get$_handleData", 2, 0, function() { |
6942 return H.computeSignature(function(S, T) { | 7211 return H.computeSignature(function(S, T) { |
6943 return {func: 1, v: true, args: [S]}; | 7212 return {func: 1, v: true, args: [S]}; |
6944 }, this.$receiver, "_ForwardingStreamSubscription"); | 7213 }, this.$receiver, "_ForwardingStreamSubscription"); |
6945 }, 15], | 7214 }, 12], |
6946 _handleError$2: [function(error, stackTrace) { | 7215 _handleError$2: [function(error, stackTrace) { |
6947 this._async$_addError$2(error, stackTrace); | 7216 this._stream._handleError$3(error, stackTrace, this); |
6948 }, "call$2", "get$_handleError", 4, 0, 11, 1, 2], | 7217 }, "call$2", "get$_handleError", 4, 0, 10, 3, 4], |
6949 _handleDone$0: [function() { | 7218 _handleDone$0: [function() { |
6950 this._close$0(); | 7219 this._close$0(); |
6951 }, "call$0", "get$_handleDone", 0, 0, 2], | 7220 }, "call$0", "get$_handleDone", 0, 0, 2], |
6952 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone
, cancelOnError, $S, $T) { | 7221 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone
, cancelOnError, $S, $T) { |
6953 var t1, t2; | 7222 var t1, t2; |
6954 t1 = this.get$_handleData(); | 7223 t1 = this.get$_handleData(); |
6955 t2 = this.get$_handleError(); | 7224 t2 = this.get$_handleError(); |
6956 this._subscription = this._stream._async$_source.listen$3$onDone$onError
(t1, this.get$_handleDone(), t2); | 7225 this._subscription = this._stream._async$_source.listen$3$onDone$onError
(t1, this.get$_handleDone(), t2); |
6957 }, | 7226 }, |
6958 $as_BufferingStreamSubscription: function($S, $T) { | 7227 $as_BufferingStreamSubscription: function($S, $T) { |
6959 return [$T]; | 7228 return [$T]; |
6960 }, | 7229 }, |
6961 static: {_ForwardingStreamSubscription$: function(_stream, onData, onError
, onDone, cancelOnError, $S, $T) { | 7230 static: { |
| 7231 _ForwardingStreamSubscription$: function(_stream, onData, onError, onDon
e, cancelOnError, $S, $T) { |
6962 var t1 = $.Zone__current; | 7232 var t1 = $.Zone__current; |
6963 t1 = H.setRuntimeTypeInfo(new P._ForwardingStreamSubscription(_stream,
null, null, null, null, t1, cancelOnError ? 1 : 0, null, null), [$S, $T]); | 7233 t1 = H.setRuntimeTypeInfo(new P._ForwardingStreamSubscription(_stream,
null, null, null, null, t1, cancelOnError ? 1 : 0, null, null), [$S, $T]); |
6964 t1._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnErr
or, $T); | 7234 t1._BufferingStreamSubscription$4(onData, onError, onDone, cancelOnErr
or, $T); |
6965 t1._ForwardingStreamSubscription$5(_stream, onData, onError, onDone, c
ancelOnError, $S, $T); | 7235 t1._ForwardingStreamSubscription$5(_stream, onData, onError, onDone, c
ancelOnError, $S, $T); |
6966 return t1; | 7236 return t1; |
6967 }} | 7237 } |
| 7238 } |
6968 }, | 7239 }, |
6969 _MapStream: { | 7240 _MapStream: { |
6970 "^": "_ForwardingStream;_transform,_async$_source", | 7241 "^": "_ForwardingStream;_transform,_async$_source", |
6971 _handleData$2: function(inputEvent, sink) { | 7242 _handleData$2: function(inputEvent, sink) { |
6972 var outputEvent, e, s, exception, t1; | 7243 var outputEvent, e, s, exception, t1; |
6973 outputEvent = null; | 7244 outputEvent = null; |
6974 try { | 7245 try { |
6975 outputEvent = this._transform$1(inputEvent); | 7246 outputEvent = this._transform$1(inputEvent); |
6976 } catch (exception) { | 7247 } catch (exception) { |
6977 t1 = H.unwrapException(exception); | 7248 t1 = H.unwrapException(exception); |
6978 e = t1; | 7249 e = t1; |
6979 s = H.getTraceFromException(exception); | 7250 s = H.getTraceFromException(exception); |
6980 P._addErrorWithReplacement(sink, e, s); | 7251 P._addErrorWithReplacement(sink, e, s); |
6981 return; | 7252 return; |
6982 } | 7253 } |
6983 sink._async$_add$1(outputEvent); | 7254 sink._async$_add$1(outputEvent); |
6984 }, | 7255 }, |
6985 _transform$1: function(arg0) { | 7256 _transform$1: function(arg0) { |
6986 return this._transform.call$1(arg0); | 7257 return this._transform.call$1(arg0); |
6987 } | 7258 } |
6988 }, | 7259 }, |
| 7260 _HandleErrorStream: { |
| 7261 "^": "_ForwardingStream;_transform,_test,_async$_source", |
| 7262 _handleError$3: function(error, stackTrace, sink) { |
| 7263 var matches, e, s, exception, t1, t2; |
| 7264 matches = true; |
| 7265 if (matches === true) |
| 7266 try { |
| 7267 P._invokeErrorHandler(this._transform, error, stackTrace); |
| 7268 } catch (exception) { |
| 7269 t1 = H.unwrapException(exception); |
| 7270 e = t1; |
| 7271 s = H.getTraceFromException(exception); |
| 7272 t1 = e; |
| 7273 t2 = error; |
| 7274 if (t1 == null ? t2 == null : t1 === t2) |
| 7275 sink._addError$2(error, stackTrace); |
| 7276 else |
| 7277 P._addErrorWithReplacement(sink, e, s); |
| 7278 return; |
| 7279 } |
| 7280 else |
| 7281 sink._addError$2(error, stackTrace); |
| 7282 }, |
| 7283 $as_ForwardingStream: function($T) { |
| 7284 return [$T, $T]; |
| 7285 }, |
| 7286 $asStream: null |
| 7287 }, |
6989 Timer: { | 7288 Timer: { |
6990 "^": "Object;" | 7289 "^": "Object;" |
6991 }, | 7290 }, |
6992 AsyncError: { | 7291 AsyncError: { |
6993 "^": "Object;error>,stackTrace<", | 7292 "^": "Object;error>,stackTrace<", |
6994 toString$0: function(_) { | 7293 toString$0: function(_) { |
6995 return H.S(this.error); | 7294 return H.S(this.error); |
6996 }, | 7295 }, |
6997 $isError: 1 | 7296 $isError: 1 |
6998 }, | 7297 }, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7053 Zone: { | 7352 Zone: { |
7054 "^": "Object;" | 7353 "^": "Object;" |
7055 }, | 7354 }, |
7056 _ZoneDelegate: { | 7355 _ZoneDelegate: { |
7057 "^": "Object;_delegationTarget", | 7356 "^": "Object;_delegationTarget", |
7058 handleUncaughtError$3: [function(zone, error, stackTrace) { | 7357 handleUncaughtError$3: [function(zone, error, stackTrace) { |
7059 var implementation, implZone; | 7358 var implementation, implZone; |
7060 implementation = this._delegationTarget.get$_handleUncaughtError(); | 7359 implementation = this._delegationTarget.get$_handleUncaughtError(); |
7061 implZone = implementation.zone; | 7360 implZone = implementation.zone; |
7062 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, error, stackTrace); | 7361 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, error, stackTrace); |
7063 }, "call$3", "get$handleUncaughtError", 6, 0, 36], | 7362 }, "call$3", "get$handleUncaughtError", 6, 0, 35], |
7064 run$2: [function(zone, f) { | 7363 run$2: [function(zone, f) { |
7065 var implementation, implZone; | 7364 var implementation, implZone; |
7066 implementation = this._delegationTarget.get$_run(); | 7365 implementation = this._delegationTarget.get$_run(); |
7067 implZone = implementation.zone; | 7366 implZone = implementation.zone; |
7068 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); | 7367 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); |
7069 }, "call$2", "get$run", 4, 0, 35], | 7368 }, "call$2", "get$run", 4, 0, 34], |
7070 runUnary$3: [function(zone, f, arg) { | 7369 runUnary$3: [function(zone, f, arg) { |
7071 var implementation, implZone; | 7370 var implementation, implZone; |
7072 implementation = this._delegationTarget.get$_runUnary(); | 7371 implementation = this._delegationTarget.get$_runUnary(); |
7073 implZone = implementation.zone; | 7372 implZone = implementation.zone; |
7074 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, f, arg); | 7373 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, f, arg); |
7075 }, "call$3", "get$runUnary", 6, 0, 34], | 7374 }, "call$3", "get$runUnary", 6, 0, 32], |
7076 runBinary$4: [function(zone, f, arg1, arg2) { | 7375 runBinary$4: [function(zone, f, arg1, arg2) { |
7077 var implementation, implZone; | 7376 var implementation, implZone; |
7078 implementation = this._delegationTarget.get$_runBinary(); | 7377 implementation = this._delegationTarget.get$_runBinary(); |
7079 implZone = implementation.zone; | 7378 implZone = implementation.zone; |
7080 return implementation.$function.call$6(implZone, P._parentDelegate(implZ
one), zone, f, arg1, arg2); | 7379 return implementation.$function.call$6(implZone, P._parentDelegate(implZ
one), zone, f, arg1, arg2); |
7081 }, "call$4", "get$runBinary", 8, 0, 32], | 7380 }, "call$4", "get$runBinary", 8, 0, 31], |
7082 registerCallback$2: [function(zone, f) { | 7381 registerCallback$2: [function(zone, f) { |
7083 var implementation, implZone; | 7382 var implementation, implZone; |
7084 implementation = this._delegationTarget.get$_registerCallback(); | 7383 implementation = this._delegationTarget.get$_registerCallback(); |
7085 implZone = implementation.zone; | 7384 implZone = implementation.zone; |
7086 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); | 7385 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); |
7087 }, "call$2", "get$registerCallback", 4, 0, 31], | 7386 }, "call$2", "get$registerCallback", 4, 0, 30], |
7088 registerUnaryCallback$2: [function(zone, f) { | 7387 registerUnaryCallback$2: [function(zone, f) { |
7089 var implementation, implZone; | 7388 var implementation, implZone; |
7090 implementation = this._delegationTarget.get$_registerUnaryCallback(); | 7389 implementation = this._delegationTarget.get$_registerUnaryCallback(); |
7091 implZone = implementation.zone; | 7390 implZone = implementation.zone; |
7092 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); | 7391 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); |
7093 }, "call$2", "get$registerUnaryCallback", 4, 0, 30], | 7392 }, "call$2", "get$registerUnaryCallback", 4, 0, 29], |
7094 registerBinaryCallback$2: [function(zone, f) { | 7393 registerBinaryCallback$2: [function(zone, f) { |
7095 var implementation, implZone; | 7394 var implementation, implZone; |
7096 implementation = this._delegationTarget.get$_registerBinaryCallback(); | 7395 implementation = this._delegationTarget.get$_registerBinaryCallback(); |
7097 implZone = implementation.zone; | 7396 implZone = implementation.zone; |
7098 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); | 7397 return implementation.$function.call$4(implZone, P._parentDelegate(implZ
one), zone, f); |
7099 }, "call$2", "get$registerBinaryCallback", 4, 0, 33], | 7398 }, "call$2", "get$registerBinaryCallback", 4, 0, 28], |
7100 errorCallback$3: [function(zone, error, stackTrace) { | 7399 errorCallback$3: [function(zone, error, stackTrace) { |
7101 var implementation, implZone; | 7400 var implementation, implZone; |
7102 implementation = this._delegationTarget.get$_errorCallback(); | 7401 implementation = this._delegationTarget.get$_errorCallback(); |
7103 implZone = implementation.zone; | 7402 implZone = implementation.zone; |
7104 if (implZone === C.C__RootZone) | 7403 if (implZone === C.C__RootZone) |
7105 return; | 7404 return; |
7106 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, error, stackTrace); | 7405 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, error, stackTrace); |
7107 }, "call$3", "get$errorCallback", 6, 0, 23], | 7406 }, "call$3", "get$errorCallback", 6, 0, 33], |
7108 scheduleMicrotask$2: [function(zone, f) { | 7407 scheduleMicrotask$2: [function(zone, f) { |
7109 var implementation, implZone; | 7408 var implementation, implZone; |
7110 implementation = this._delegationTarget.get$_scheduleMicrotask(); | 7409 implementation = this._delegationTarget.get$_scheduleMicrotask(); |
7111 implZone = implementation.zone; | 7410 implZone = implementation.zone; |
7112 implementation.$function.call$4(implZone, P._parentDelegate(implZone), z
one, f); | 7411 implementation.$function.call$4(implZone, P._parentDelegate(implZone), z
one, f); |
7113 }, "call$2", "get$scheduleMicrotask", 4, 0, 24], | 7412 }, "call$2", "get$scheduleMicrotask", 4, 0, 23], |
7114 createTimer$3: [function(zone, duration, f) { | 7413 createTimer$3: [function(zone, duration, f) { |
7115 var implementation, implZone; | 7414 var implementation, implZone; |
7116 implementation = this._delegationTarget.get$_createTimer(); | 7415 implementation = this._delegationTarget.get$_createTimer(); |
7117 implZone = implementation.zone; | 7416 implZone = implementation.zone; |
7118 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, duration, f); | 7417 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, duration, f); |
7119 }, "call$3", "get$createTimer", 6, 0, 25], | 7418 }, "call$3", "get$createTimer", 6, 0, 24], |
7120 createPeriodicTimer$3: [function(zone, period, f) { | 7419 createPeriodicTimer$3: [function(zone, period, f) { |
7121 var implementation, implZone; | 7420 var implementation, implZone; |
7122 implementation = this._delegationTarget.get$_createPeriodicTimer(); | 7421 implementation = this._delegationTarget.get$_createPeriodicTimer(); |
7123 implZone = implementation.zone; | 7422 implZone = implementation.zone; |
7124 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, period, f); | 7423 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, period, f); |
7125 }, "call$3", "get$createPeriodicTimer", 6, 0, 26], | 7424 }, "call$3", "get$createPeriodicTimer", 6, 0, 25], |
7126 print$2: [function(_, zone, line) { | 7425 print$2: [function(_, zone, line) { |
7127 var implementation, implZone; | 7426 var implementation, implZone; |
7128 implementation = this._delegationTarget.get$_print(); | 7427 implementation = this._delegationTarget.get$_print(); |
7129 implZone = implementation.zone; | 7428 implZone = implementation.zone; |
7130 implementation.$function.call$4(implZone, P._parentDelegate(implZone), z
one, line); | 7429 implementation.$function.call$4(implZone, P._parentDelegate(implZone), z
one, line); |
7131 }, "call$2", "get$print", 4, 0, 27], | 7430 }, "call$2", "get$print", 4, 0, 26], |
7132 fork$3: [function(zone, specification, zoneValues) { | 7431 fork$3: [function(zone, specification, zoneValues) { |
7133 var implementation, implZone; | 7432 var implementation, implZone; |
7134 implementation = this._delegationTarget.get$_fork(); | 7433 implementation = this._delegationTarget.get$_fork(); |
7135 implZone = implementation.zone; | 7434 implZone = implementation.zone; |
7136 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, specification, zoneValues); | 7435 return implementation.$function.call$5(implZone, P._parentDelegate(implZ
one), zone, specification, zoneValues); |
7137 }, "call$3", "get$fork", 6, 0, 28] | 7436 }, "call$3", "get$fork", 6, 0, 27] |
7138 }, | 7437 }, |
7139 _Zone: { | 7438 _Zone: { |
7140 "^": "Object;", | 7439 "^": "Object;", |
7141 inSameErrorZone$1: function(otherZone) { | 7440 inSameErrorZone$1: function(otherZone) { |
7142 return this === otherZone || this.get$errorZone() === otherZone.get$erro
rZone(); | 7441 return this === otherZone || this.get$errorZone() === otherZone.get$erro
rZone(); |
7143 } | 7442 } |
7144 }, | 7443 }, |
7145 _CustomZone: { | 7444 _CustomZone: { |
7146 "^": "_Zone;_runUnary<,_run<,_runBinary<,_registerCallback<,_registerUnary
Callback<,_registerBinaryCallback<,_errorCallback<,_scheduleMicrotask<,_createTi
mer<,_createPeriodicTimer<,_print<,_fork<,_handleUncaughtError<,_delegateCache,p
arent>,_async$_map<", | 7445 "^": "_Zone;_run<,_runUnary<,_runBinary<,_registerCallback<,_registerUnary
Callback<,_registerBinaryCallback<,_errorCallback<,_scheduleMicrotask<,_createTi
mer<,_createPeriodicTimer<,_print<,_fork<,_handleUncaughtError<,_delegateCache,p
arent>,_async$_map<", |
7147 get$_delegate: function() { | 7446 get$_delegate: function() { |
7148 var t1 = this._delegateCache; | 7447 var t1 = this._delegateCache; |
7149 if (t1 != null) | 7448 if (t1 != null) |
7150 return t1; | 7449 return t1; |
7151 t1 = new P._ZoneDelegate(this); | 7450 t1 = new P._ZoneDelegate(this); |
7152 this._delegateCache = t1; | 7451 this._delegateCache = t1; |
7153 return t1; | 7452 return t1; |
7154 }, | 7453 }, |
7155 get$errorZone: function() { | 7454 get$errorZone: function() { |
7156 return this._handleUncaughtError.zone; | 7455 return this._handleUncaughtError.zone; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7231 return implementation.$function.call$5(t1, parentDelegate, this, error,
stackTrace); | 7530 return implementation.$function.call$5(t1, parentDelegate, this, error,
stackTrace); |
7232 }, "call$2", "get$handleUncaughtError", 4, 0, 5], | 7531 }, "call$2", "get$handleUncaughtError", 4, 0, 5], |
7233 fork$2$specification$zoneValues: [function(specification, zoneValues) { | 7532 fork$2$specification$zoneValues: [function(specification, zoneValues) { |
7234 var implementation, t1, parentDelegate; | 7533 var implementation, t1, parentDelegate; |
7235 implementation = this._fork; | 7534 implementation = this._fork; |
7236 t1 = implementation.zone; | 7535 t1 = implementation.zone; |
7237 parentDelegate = P._parentDelegate(t1); | 7536 parentDelegate = P._parentDelegate(t1); |
7238 return implementation.$function.call$5(t1, parentDelegate, this, specifi
cation, zoneValues); | 7537 return implementation.$function.call$5(t1, parentDelegate, this, specifi
cation, zoneValues); |
7239 }, function() { | 7538 }, function() { |
7240 return this.fork$2$specification$zoneValues(null, null); | 7539 return this.fork$2$specification$zoneValues(null, null); |
7241 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5
, 22, 5, 5], | 7540 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5
, 21, 5, 5], |
7242 run$1: [function(f) { | 7541 run$1: [function(f) { |
7243 var implementation, t1, parentDelegate; | 7542 var implementation, t1, parentDelegate; |
7244 implementation = this._run; | 7543 implementation = this._run; |
7245 t1 = implementation.zone; | 7544 t1 = implementation.zone; |
7246 parentDelegate = P._parentDelegate(t1); | 7545 parentDelegate = P._parentDelegate(t1); |
7247 return implementation.$function.call$4(t1, parentDelegate, this, f); | 7546 return implementation.$function.call$4(t1, parentDelegate, this, f); |
7248 }, "call$1", "get$run", 2, 0, 21], | 7547 }, "call$1", "get$run", 2, 0, 20], |
7249 runUnary$2: [function(f, arg) { | 7548 runUnary$2: [function(f, arg) { |
7250 var implementation, t1, parentDelegate; | 7549 var implementation, t1, parentDelegate; |
7251 implementation = this._runUnary; | 7550 implementation = this._runUnary; |
7252 t1 = implementation.zone; | 7551 t1 = implementation.zone; |
7253 parentDelegate = P._parentDelegate(t1); | 7552 parentDelegate = P._parentDelegate(t1); |
7254 return implementation.$function.call$5(t1, parentDelegate, this, f, arg)
; | 7553 return implementation.$function.call$5(t1, parentDelegate, this, f, arg)
; |
7255 }, "call$2", "get$runUnary", 4, 0, 20], | 7554 }, "call$2", "get$runUnary", 4, 0, 19], |
7256 runBinary$3: [function(f, arg1, arg2) { | 7555 runBinary$3: [function(f, arg1, arg2) { |
7257 var implementation, t1, parentDelegate; | 7556 var implementation, t1, parentDelegate; |
7258 implementation = this._runBinary; | 7557 implementation = this._runBinary; |
7259 t1 = implementation.zone; | 7558 t1 = implementation.zone; |
7260 parentDelegate = P._parentDelegate(t1); | 7559 parentDelegate = P._parentDelegate(t1); |
7261 return implementation.$function.call$6(t1, parentDelegate, this, f, arg1
, arg2); | 7560 return implementation.$function.call$6(t1, parentDelegate, this, f, arg1
, arg2); |
7262 }, "call$3", "get$runBinary", 6, 0, 19], | 7561 }, "call$3", "get$runBinary", 6, 0, 18], |
7263 registerCallback$1: [function(f) { | 7562 registerCallback$1: [function(callback) { |
7264 var implementation, t1, parentDelegate; | 7563 var implementation, t1, parentDelegate; |
7265 implementation = this._registerCallback; | 7564 implementation = this._registerCallback; |
7266 t1 = implementation.zone; | 7565 t1 = implementation.zone; |
7267 parentDelegate = P._parentDelegate(t1); | 7566 parentDelegate = P._parentDelegate(t1); |
7268 return implementation.$function.call$4(t1, parentDelegate, this, f); | 7567 return implementation.$function.call$4(t1, parentDelegate, this, callbac
k); |
7269 }, "call$1", "get$registerCallback", 2, 0, 8], | 7568 }, "call$1", "get$registerCallback", 2, 0, 17], |
7270 registerUnaryCallback$1: [function(f) { | 7569 registerUnaryCallback$1: [function(callback) { |
7271 var implementation, t1, parentDelegate; | 7570 var implementation, t1, parentDelegate; |
7272 implementation = this._registerUnaryCallback; | 7571 implementation = this._registerUnaryCallback; |
7273 t1 = implementation.zone; | 7572 t1 = implementation.zone; |
7274 parentDelegate = P._parentDelegate(t1); | 7573 parentDelegate = P._parentDelegate(t1); |
7275 return implementation.$function.call$4(t1, parentDelegate, this, f); | 7574 return implementation.$function.call$4(t1, parentDelegate, this, callbac
k); |
7276 }, "call$1", "get$registerUnaryCallback", 2, 0, 18], | 7575 }, "call$1", "get$registerUnaryCallback", 2, 0, 8], |
7277 registerBinaryCallback$1: [function(f) { | 7576 registerBinaryCallback$1: [function(callback) { |
7278 var implementation, t1, parentDelegate; | 7577 var implementation, t1, parentDelegate; |
7279 implementation = this._registerBinaryCallback; | 7578 implementation = this._registerBinaryCallback; |
7280 t1 = implementation.zone; | 7579 t1 = implementation.zone; |
7281 parentDelegate = P._parentDelegate(t1); | 7580 parentDelegate = P._parentDelegate(t1); |
7282 return implementation.$function.call$4(t1, parentDelegate, this, f); | 7581 return implementation.$function.call$4(t1, parentDelegate, this, callbac
k); |
7283 }, "call$1", "get$registerBinaryCallback", 2, 0, 17], | 7582 }, "call$1", "get$registerBinaryCallback", 2, 0, 16], |
7284 errorCallback$2: [function(error, stackTrace) { | 7583 errorCallback$2: [function(error, stackTrace) { |
7285 var implementation, implementationZone, parentDelegate; | 7584 var implementation, implementationZone, parentDelegate; |
7286 implementation = this._errorCallback; | 7585 implementation = this._errorCallback; |
7287 implementationZone = implementation.zone; | 7586 implementationZone = implementation.zone; |
7288 if (implementationZone === C.C__RootZone) | 7587 if (implementationZone === C.C__RootZone) |
7289 return; | 7588 return; |
7290 parentDelegate = P._parentDelegate(implementationZone); | 7589 parentDelegate = P._parentDelegate(implementationZone); |
7291 return implementation.$function.call$5(implementationZone, parentDelegat
e, this, error, stackTrace); | 7590 return implementation.$function.call$5(implementationZone, parentDelegat
e, this, error, stackTrace); |
7292 }, "call$2", "get$errorCallback", 4, 0, 16], | 7591 }, "call$2", "get$errorCallback", 4, 0, 15], |
7293 scheduleMicrotask$1: [function(f) { | 7592 scheduleMicrotask$1: [function(f) { |
7294 var implementation, t1, parentDelegate; | 7593 var implementation, t1, parentDelegate; |
7295 implementation = this._scheduleMicrotask; | 7594 implementation = this._scheduleMicrotask; |
7296 t1 = implementation.zone; | 7595 t1 = implementation.zone; |
7297 parentDelegate = P._parentDelegate(t1); | 7596 parentDelegate = P._parentDelegate(t1); |
7298 return implementation.$function.call$4(t1, parentDelegate, this, f); | 7597 return implementation.$function.call$4(t1, parentDelegate, this, f); |
7299 }, "call$1", "get$scheduleMicrotask", 2, 0, 4], | 7598 }, "call$1", "get$scheduleMicrotask", 2, 0, 4], |
7300 createTimer$2: [function(duration, f) { | 7599 createTimer$2: [function(duration, f) { |
7301 var implementation, t1, parentDelegate; | 7600 var implementation, t1, parentDelegate; |
7302 implementation = this._createTimer; | 7601 implementation = this._createTimer; |
7303 t1 = implementation.zone; | 7602 t1 = implementation.zone; |
7304 parentDelegate = P._parentDelegate(t1); | 7603 parentDelegate = P._parentDelegate(t1); |
7305 return implementation.$function.call$5(t1, parentDelegate, this, duratio
n, f); | 7604 return implementation.$function.call$5(t1, parentDelegate, this, duratio
n, f); |
7306 }, "call$2", "get$createTimer", 4, 0, 14], | 7605 }, "call$2", "get$createTimer", 4, 0, 13], |
7307 createPeriodicTimer$2: [function(duration, f) { | 7606 createPeriodicTimer$2: [function(duration, f) { |
7308 var implementation, t1, parentDelegate; | 7607 var implementation, t1, parentDelegate; |
7309 implementation = this._createPeriodicTimer; | 7608 implementation = this._createPeriodicTimer; |
7310 t1 = implementation.zone; | 7609 t1 = implementation.zone; |
7311 parentDelegate = P._parentDelegate(t1); | 7610 parentDelegate = P._parentDelegate(t1); |
7312 return implementation.$function.call$5(t1, parentDelegate, this, duratio
n, f); | 7611 return implementation.$function.call$5(t1, parentDelegate, this, duratio
n, f); |
7313 }, "call$2", "get$createPeriodicTimer", 4, 0, 13], | 7612 }, "call$2", "get$createPeriodicTimer", 4, 0, 12], |
7314 print$1: [function(_, line) { | 7613 print$1: [function(_, line) { |
7315 var implementation, t1, parentDelegate; | 7614 var implementation, t1, parentDelegate; |
7316 implementation = this._print; | 7615 implementation = this._print; |
7317 t1 = implementation.zone; | 7616 t1 = implementation.zone; |
7318 parentDelegate = P._parentDelegate(t1); | 7617 parentDelegate = P._parentDelegate(t1); |
7319 return implementation.$function.call$4(t1, parentDelegate, this, line); | 7618 return implementation.$function.call$4(t1, parentDelegate, this, line); |
7320 }, "call$1", "get$print", 2, 0, 7] | 7619 }, "call$1", "get$print", 2, 0, 7] |
7321 }, | 7620 }, |
7322 _CustomZone_bindCallback_closure: { | 7621 _CustomZone_bindCallback_closure: { |
7323 "^": "Closure:1;$this,registered", | 7622 "^": "Closure:1;$this,registered", |
7324 call$0: [function() { | 7623 call$0: [function() { |
7325 return this.$this.runGuarded$1(this.registered); | 7624 return this.$this.runGuarded$1(this.registered); |
7326 }, null, null, 0, 0, null, "call"] | 7625 }, null, null, 0, 0, null, "call"] |
7327 }, | 7626 }, |
7328 _CustomZone_bindCallback_closure0: { | 7627 _CustomZone_bindCallback_closure0: { |
7329 "^": "Closure:1;$this,registered", | 7628 "^": "Closure:1;$this,registered", |
7330 call$0: [function() { | 7629 call$0: [function() { |
7331 return this.$this.run$1(this.registered); | 7630 return this.$this.run$1(this.registered); |
7332 }, null, null, 0, 0, null, "call"] | 7631 }, null, null, 0, 0, null, "call"] |
7333 }, | 7632 }, |
7334 _CustomZone_bindUnaryCallback_closure: { | 7633 _CustomZone_bindUnaryCallback_closure: { |
7335 "^": "Closure:0;$this,registered", | 7634 "^": "Closure:0;$this,registered", |
7336 call$1: [function(arg) { | 7635 call$1: [function(arg) { |
7337 return this.$this.runUnaryGuarded$2(this.registered, arg); | 7636 return this.$this.runUnaryGuarded$2(this.registered, arg); |
7338 }, null, null, 2, 0, null, 13, "call"] | 7637 }, null, null, 2, 0, null, 15, "call"] |
7339 }, | 7638 }, |
7340 _rootHandleUncaughtError_closure: { | 7639 _rootHandleUncaughtError_closure: { |
7341 "^": "Closure:1;_box_0,stackTrace", | 7640 "^": "Closure:1;_box_0,stackTrace", |
7342 call$0: function() { | 7641 call$0: function() { |
7343 var t1, t2, error; | 7642 var t1, t2, error; |
7344 t1 = this._box_0; | 7643 t1 = this._box_0; |
7345 t2 = t1.error; | 7644 t2 = t1.error; |
7346 if (t2 == null) { | 7645 if (t2 == null) { |
7347 error = new P.NullThrownError(); | 7646 error = new P.NullThrownError(); |
7348 t1.error = error; | 7647 t1.error = error; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7481 $index: function(_, key) { | 7780 $index: function(_, key) { |
7482 return; | 7781 return; |
7483 }, | 7782 }, |
7484 handleUncaughtError$2: [function(error, stackTrace) { | 7783 handleUncaughtError$2: [function(error, stackTrace) { |
7485 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); | 7784 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); |
7486 }, "call$2", "get$handleUncaughtError", 4, 0, 5], | 7785 }, "call$2", "get$handleUncaughtError", 4, 0, 5], |
7487 fork$2$specification$zoneValues: [function(specification, zoneValues) { | 7786 fork$2$specification$zoneValues: [function(specification, zoneValues) { |
7488 return P._rootFork(null, null, this, specification, zoneValues); | 7787 return P._rootFork(null, null, this, specification, zoneValues); |
7489 }, function() { | 7788 }, function() { |
7490 return this.fork$2$specification$zoneValues(null, null); | 7789 return this.fork$2$specification$zoneValues(null, null); |
7491 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5
, 22, 5, 5], | 7790 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5
, 21, 5, 5], |
7492 run$1: [function(f) { | 7791 run$1: [function(f) { |
7493 if ($.Zone__current === C.C__RootZone) | 7792 if ($.Zone__current === C.C__RootZone) |
7494 return f.call$0(); | 7793 return f.call$0(); |
7495 return P._rootRun(null, null, this, f); | 7794 return P._rootRun(null, null, this, f); |
7496 }, "call$1", "get$run", 2, 0, 21], | 7795 }, "call$1", "get$run", 2, 0, 20], |
7497 runUnary$2: [function(f, arg) { | 7796 runUnary$2: [function(f, arg) { |
7498 if ($.Zone__current === C.C__RootZone) | 7797 if ($.Zone__current === C.C__RootZone) |
7499 return f.call$1(arg); | 7798 return f.call$1(arg); |
7500 return P._rootRunUnary(null, null, this, f, arg); | 7799 return P._rootRunUnary(null, null, this, f, arg); |
7501 }, "call$2", "get$runUnary", 4, 0, 20], | 7800 }, "call$2", "get$runUnary", 4, 0, 19], |
7502 runBinary$3: [function(f, arg1, arg2) { | 7801 runBinary$3: [function(f, arg1, arg2) { |
7503 if ($.Zone__current === C.C__RootZone) | 7802 if ($.Zone__current === C.C__RootZone) |
7504 return f.call$2(arg1, arg2); | 7803 return f.call$2(arg1, arg2); |
7505 return P._rootRunBinary(null, null, this, f, arg1, arg2); | 7804 return P._rootRunBinary(null, null, this, f, arg1, arg2); |
7506 }, "call$3", "get$runBinary", 6, 0, 19], | 7805 }, "call$3", "get$runBinary", 6, 0, 18], |
7507 registerCallback$1: [function(f) { | 7806 registerCallback$1: [function(f) { |
7508 return f; | 7807 return f; |
7509 }, "call$1", "get$registerCallback", 2, 0, 8], | 7808 }, "call$1", "get$registerCallback", 2, 0, 17], |
7510 registerUnaryCallback$1: [function(f) { | 7809 registerUnaryCallback$1: [function(f) { |
7511 return f; | 7810 return f; |
7512 }, "call$1", "get$registerUnaryCallback", 2, 0, 18], | 7811 }, "call$1", "get$registerUnaryCallback", 2, 0, 8], |
7513 registerBinaryCallback$1: [function(f) { | 7812 registerBinaryCallback$1: [function(f) { |
7514 return f; | 7813 return f; |
7515 }, "call$1", "get$registerBinaryCallback", 2, 0, 17], | 7814 }, "call$1", "get$registerBinaryCallback", 2, 0, 16], |
7516 errorCallback$2: [function(error, stackTrace) { | 7815 errorCallback$2: [function(error, stackTrace) { |
7517 return; | 7816 return; |
7518 }, "call$2", "get$errorCallback", 4, 0, 16], | 7817 }, "call$2", "get$errorCallback", 4, 0, 15], |
7519 scheduleMicrotask$1: [function(f) { | 7818 scheduleMicrotask$1: [function(f) { |
7520 P._rootScheduleMicrotask(null, null, this, f); | 7819 P._rootScheduleMicrotask(null, null, this, f); |
7521 }, "call$1", "get$scheduleMicrotask", 2, 0, 4], | 7820 }, "call$1", "get$scheduleMicrotask", 2, 0, 4], |
7522 createTimer$2: [function(duration, f) { | 7821 createTimer$2: [function(duration, f) { |
7523 return P.Timer__createTimer(duration, f); | 7822 return P.Timer__createTimer(duration, f); |
7524 }, "call$2", "get$createTimer", 4, 0, 14], | 7823 }, "call$2", "get$createTimer", 4, 0, 13], |
7525 createPeriodicTimer$2: [function(duration, f) { | 7824 createPeriodicTimer$2: [function(duration, f) { |
7526 return P.Timer__createPeriodicTimer(duration, f); | 7825 return P.Timer__createPeriodicTimer(duration, f); |
7527 }, "call$2", "get$createPeriodicTimer", 4, 0, 13], | 7826 }, "call$2", "get$createPeriodicTimer", 4, 0, 12], |
7528 print$1: [function(_, line) { | 7827 print$1: [function(_, line) { |
7529 H.printString(line); | 7828 H.printString(line); |
7530 }, "call$1", "get$print", 2, 0, 7] | 7829 }, "call$1", "get$print", 2, 0, 7] |
7531 }, | 7830 }, |
7532 _RootZone_bindCallback_closure: { | 7831 _RootZone_bindCallback_closure: { |
7533 "^": "Closure:1;$this,f", | 7832 "^": "Closure:1;$this,f", |
7534 call$0: [function() { | 7833 call$0: [function() { |
7535 return this.$this.runGuarded$1(this.f); | 7834 return this.$this.runGuarded$1(this.f); |
7536 }, null, null, 0, 0, null, "call"] | 7835 }, null, null, 0, 0, null, "call"] |
7537 }, | 7836 }, |
7538 _RootZone_bindCallback_closure0: { | 7837 _RootZone_bindCallback_closure0: { |
7539 "^": "Closure:1;$this,f", | 7838 "^": "Closure:1;$this,f", |
7540 call$0: [function() { | 7839 call$0: [function() { |
7541 return this.$this.run$1(this.f); | 7840 return this.$this.run$1(this.f); |
7542 }, null, null, 0, 0, null, "call"] | 7841 }, null, null, 0, 0, null, "call"] |
7543 }, | 7842 }, |
7544 _RootZone_bindUnaryCallback_closure: { | 7843 _RootZone_bindUnaryCallback_closure: { |
7545 "^": "Closure:0;$this,f", | 7844 "^": "Closure:0;$this,f", |
7546 call$1: [function(arg) { | 7845 call$1: [function(arg) { |
7547 return this.$this.runUnaryGuarded$2(this.f, arg); | 7846 return this.$this.runUnaryGuarded$2(this.f, arg); |
7548 }, null, null, 2, 0, null, 13, "call"] | 7847 }, null, null, 2, 0, null, 15, "call"] |
7549 }, | 7848 }, |
7550 runZoned_closure: { | 7849 runZoned_closure: { |
7551 "^": "Closure:41;onError", | 7850 "^": "Closure:11;onError", |
7552 call$5: [function($self, $parent, zone, error, stackTrace) { | 7851 call$5: [function($self, $parent, zone, error, stackTrace) { |
7553 var e, s, t1, t2, exception; | 7852 var e, s, t1, t2, exception; |
7554 try { | 7853 try { |
7555 t1 = this.onError; | 7854 t1 = this.onError; |
7556 t2 = H.getDynamicRuntimeType(); | 7855 t2 = H.getDynamicRuntimeType(); |
7557 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); | 7856 t2 = H.buildFunctionType(t2, [t2, H.buildInterfaceType(P.StackTrace)])
._isTest$1(t1); |
7558 if (t2) { | 7857 if (t2) { |
7559 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); | 7858 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); |
7560 return t1; | 7859 return t1; |
7561 } | 7860 } |
7562 t1 = J.get$parent$x($self).runUnary$2(t1, error); | 7861 t1 = J.get$parent$x($self).runUnary$2(t1, error); |
7563 return t1; | 7862 return t1; |
7564 } catch (exception) { | 7863 } catch (exception) { |
7565 t1 = H.unwrapException(exception); | 7864 t1 = H.unwrapException(exception); |
7566 e = t1; | 7865 e = t1; |
7567 s = H.getTraceFromException(exception); | 7866 s = H.getTraceFromException(exception); |
7568 t1 = e; | 7867 t1 = e; |
7569 t2 = error; | 7868 t2 = error; |
7570 if (t1 == null ? t2 == null : t1 === t2) | 7869 if (t1 == null ? t2 == null : t1 === t2) |
7571 return $parent.handleUncaughtError$3(zone, error, stackTrace); | 7870 return $parent.handleUncaughtError$3(zone, error, stackTrace); |
7572 else | 7871 else |
7573 return $parent.handleUncaughtError$3(zone, e, s); | 7872 return $parent.handleUncaughtError$3(zone, e, s); |
7574 } | 7873 } |
7575 }, null, null, 10, 0, null, 0, 3, 4, 1, 2, "call"] | 7874 }, null, null, 10, 0, null, 0, 2, 1, 3, 4, "call"] |
7576 } | 7875 } |
7577 }], ["dart.collection", "dart:collection",, P, { | 7876 }], ["dart.collection", "dart:collection",, P, { |
7578 "^": "", | 7877 "^": "", |
7579 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { | 7878 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { |
7580 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, nul
l, null, 0), [$K, $V]); | 7879 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, nul
l, null, 0), [$K, $V]); |
7581 }, | 7880 }, |
7582 LinkedHashMap__makeEmpty: function() { | 7881 LinkedHashMap__makeEmpty: function() { |
7583 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, nul
l, null, 0), [null, null]); | 7882 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, nul
l, null, 0), [null, null]); |
7584 }, | 7883 }, |
7585 LinkedHashMap__makeLiteral: function(keyValuePairs) { | 7884 LinkedHashMap__makeLiteral: function(keyValuePairs) { |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7919 var $length, i; | 8218 var $length, i; |
7920 if (bucket == null) | 8219 if (bucket == null) |
7921 return -1; | 8220 return -1; |
7922 $length = bucket.length; | 8221 $length = bucket.length; |
7923 for (i = 0; i < $length; i += 2) | 8222 for (i = 0; i < $length; i += 2) |
7924 if (J.$eq$(bucket[i], key)) | 8223 if (J.$eq$(bucket[i], key)) |
7925 return i; | 8224 return i; |
7926 return -1; | 8225 return -1; |
7927 }, | 8226 }, |
7928 $isMap: 1, | 8227 $isMap: 1, |
7929 static: {_HashMap__setTableEntry: function(table, key, value) { | 8228 static: { |
| 8229 _HashMap__setTableEntry: function(table, key, value) { |
7930 if (value == null) | 8230 if (value == null) |
7931 table[key] = table; | 8231 table[key] = table; |
7932 else | 8232 else |
7933 table[key] = value; | 8233 table[key] = value; |
7934 }, _HashMap__newHashTable: function() { | 8234 }, |
| 8235 _HashMap__newHashTable: function() { |
7935 var table = Object.create(null); | 8236 var table = Object.create(null); |
7936 P._HashMap__setTableEntry(table, "<non-identifier-key>", table); | 8237 P._HashMap__setTableEntry(table, "<non-identifier-key>", table); |
7937 delete table["<non-identifier-key>"]; | 8238 delete table["<non-identifier-key>"]; |
7938 return table; | 8239 return table; |
7939 }} | 8240 } |
| 8241 } |
7940 }, | 8242 }, |
7941 _LinkedIdentityHashMap: { | 8243 _LinkedIdentityHashMap: { |
7942 "^": "JsLinkedHashMap;__js_helper$_length,_strings,_nums,_rest,_first,_las
t,_modifications", | 8244 "^": "JsLinkedHashMap;__js_helper$_length,_strings,_nums,_rest,_first,_las
t,_modifications", |
7943 internalComputeHashCode$1: function(key) { | 8245 internalComputeHashCode$1: function(key) { |
7944 return H.objectHashCode(key) & 0x3ffffff; | 8246 return H.objectHashCode(key) & 0x3ffffff; |
7945 }, | 8247 }, |
7946 internalFindBucketIndex$2: function(bucket, key) { | 8248 internalFindBucketIndex$2: function(bucket, key) { |
7947 var $length, i, t1; | 8249 var $length, i, t1; |
7948 if (bucket == null) | 8250 if (bucket == null) |
7949 return -1; | 8251 return -1; |
7950 $length = bucket.length; | 8252 $length = bucket.length; |
7951 for (i = 0; i < $length; ++i) { | 8253 for (i = 0; i < $length; ++i) { |
7952 t1 = bucket[i].get$hashMapCellKey(); | 8254 t1 = bucket[i].get$hashMapCellKey(); |
7953 if (t1 == null ? key == null : t1 === key) | 8255 if (t1 == null ? key == null : t1 === key) |
7954 return i; | 8256 return i; |
7955 } | 8257 } |
7956 return -1; | 8258 return -1; |
7957 }, | 8259 }, |
7958 static: {_LinkedIdentityHashMap__LinkedIdentityHashMap$es6: function($K, $
V) { | 8260 static: { |
| 8261 _LinkedIdentityHashMap__LinkedIdentityHashMap$es6: function($K, $V) { |
7959 return H.setRuntimeTypeInfo(new P._LinkedIdentityHashMap(0, null, null
, null, null, null, 0), [$K, $V]); | 8262 return H.setRuntimeTypeInfo(new P._LinkedIdentityHashMap(0, null, null
, null, null, null, 0), [$K, $V]); |
7960 }} | 8263 } |
| 8264 } |
7961 }, | 8265 }, |
7962 _LinkedHashSet: { | 8266 _LinkedHashSet: { |
7963 "^": "_HashSetBase;_collection$_length,_collection$_strings,_collection$_n
ums,_collection$_rest,_collection$_first,_collection$_last,_collection$_modifica
tions", | 8267 "^": "_HashSetBase;_collection$_length,_collection$_strings,_collection$_n
ums,_collection$_rest,_collection$_first,_collection$_last,_collection$_modifica
tions", |
7964 get$iterator: function(_) { | 8268 get$iterator: function(_) { |
7965 var t1 = new P._LinkedHashSetIterator(this, this._collection$_modificati
ons, null, null); | 8269 var t1 = new P._LinkedHashSetIterator(this, this._collection$_modificati
ons, null, null); |
7966 t1._collection$_cell = this._collection$_first; | 8270 t1._collection$_cell = this._collection$_first; |
7967 return t1; | 8271 return t1; |
7968 }, | 8272 }, |
7969 get$length: function(_) { | 8273 get$length: function(_) { |
7970 return this._collection$_length; | 8274 return this._collection$_length; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8164 var $length, i; | 8468 var $length, i; |
8165 if (bucket == null) | 8469 if (bucket == null) |
8166 return -1; | 8470 return -1; |
8167 $length = bucket.length; | 8471 $length = bucket.length; |
8168 for (i = 0; i < $length; ++i) | 8472 for (i = 0; i < $length; ++i) |
8169 if (J.$eq$(bucket[i].get$_element(), element)) | 8473 if (J.$eq$(bucket[i].get$_element(), element)) |
8170 return i; | 8474 return i; |
8171 return -1; | 8475 return -1; |
8172 }, | 8476 }, |
8173 $isEfficientLength: 1, | 8477 $isEfficientLength: 1, |
8174 static: {_LinkedHashSet__newHashTable: function() { | 8478 static: { |
| 8479 _LinkedHashSet__newHashTable: function() { |
8175 var table = Object.create(null); | 8480 var table = Object.create(null); |
8176 table["<non-identifier-key>"] = table; | 8481 table["<non-identifier-key>"] = table; |
8177 delete table["<non-identifier-key>"]; | 8482 delete table["<non-identifier-key>"]; |
8178 return table; | 8483 return table; |
8179 }} | 8484 } |
| 8485 } |
8180 }, | 8486 }, |
8181 _LinkedHashSetCell: { | 8487 _LinkedHashSetCell: { |
8182 "^": "Object;_element<,_collection$_next<,_collection$_previous@" | 8488 "^": "Object;_element<,_collection$_next<,_collection$_previous@" |
8183 }, | 8489 }, |
8184 _LinkedHashSetIterator: { | 8490 _LinkedHashSetIterator: { |
8185 "^": "Object;_set,_collection$_modifications,_collection$_cell,_collection
$_current", | 8491 "^": "Object;_set,_collection$_modifications,_collection$_cell,_collection
$_current", |
8186 get$current: function() { | 8492 get$current: function() { |
8187 return this._collection$_current; | 8493 return this._collection$_current; |
8188 }, | 8494 }, |
8189 moveNext$0: function() { | 8495 moveNext$0: function() { |
8190 var t1 = this._set; | 8496 var t1 = this._set; |
8191 if (this._collection$_modifications !== t1._collection$_modifications) | 8497 if (this._collection$_modifications !== t1._collection$_modifications) |
8192 throw H.wrapException(new P.ConcurrentModificationError(t1)); | 8498 throw H.wrapException(new P.ConcurrentModificationError(t1)); |
8193 else { | 8499 else { |
8194 t1 = this._collection$_cell; | 8500 t1 = this._collection$_cell; |
8195 if (t1 == null) { | 8501 if (t1 == null) { |
8196 this._collection$_current = null; | 8502 this._collection$_current = null; |
8197 return false; | 8503 return false; |
8198 } else { | 8504 } else { |
8199 this._collection$_current = t1.get$_element(); | 8505 this._collection$_current = t1.get$_element(); |
8200 this._collection$_cell = this._collection$_cell.get$_collection$_nex
t(); | 8506 this._collection$_cell = this._collection$_cell.get$_collection$_nex
t(); |
8201 return true; | 8507 return true; |
8202 } | 8508 } |
8203 } | 8509 } |
8204 } | 8510 } |
8205 }, | 8511 }, |
8206 UnmodifiableListView: { | |
8207 "^": "UnmodifiableListBase;_collection$_source", | |
8208 get$length: function(_) { | |
8209 return this._collection$_source.length; | |
8210 }, | |
8211 $index: function(_, index) { | |
8212 var t1 = this._collection$_source; | |
8213 if (index >>> 0 !== index || index >= t1.length) | |
8214 return H.ioore(t1, index); | |
8215 return t1[index]; | |
8216 } | |
8217 }, | |
8218 closure5: { | 8512 closure5: { |
8219 "^": "Closure:3;result", | 8513 "^": "Closure:3;result", |
8220 call$2: [function(k, v) { | 8514 call$2: [function(k, v) { |
8221 this.result.$indexSet(0, k, v); | 8515 this.result.$indexSet(0, k, v); |
8222 }, null, null, 4, 0, null, 35, 36, "call"] | 8516 }, null, null, 4, 0, null, 36, 37, "call"] |
8223 }, | 8517 }, |
8224 _HashSetBase: { | 8518 _HashSetBase: { |
8225 "^": "SetBase;" | 8519 "^": "SetBase;" |
8226 }, | 8520 }, |
8227 IterableBase: { | 8521 IterableBase: { |
8228 "^": "Iterable;" | 8522 "^": "Iterable;" |
8229 }, | 8523 }, |
8230 ListBase: { | 8524 ListBase: { |
8231 "^": "Object_ListMixin;" | 8525 "^": "Object_ListMixin;" |
8232 }, | 8526 }, |
(...skipping 24 matching lines...) Expand all Loading... |
8257 return this.get$length(receiver) === 0; | 8551 return this.get$length(receiver) === 0; |
8258 }, | 8552 }, |
8259 get$isNotEmpty: function(receiver) { | 8553 get$isNotEmpty: function(receiver) { |
8260 return !this.get$isEmpty(receiver); | 8554 return !this.get$isEmpty(receiver); |
8261 }, | 8555 }, |
8262 get$last: function(receiver) { | 8556 get$last: function(receiver) { |
8263 if (this.get$length(receiver) === 0) | 8557 if (this.get$length(receiver) === 0) |
8264 throw H.wrapException(H.IterableElementError_noElement()); | 8558 throw H.wrapException(H.IterableElementError_noElement()); |
8265 return this.$index(receiver, this.get$length(receiver) - 1); | 8559 return this.$index(receiver, this.get$length(receiver) - 1); |
8266 }, | 8560 }, |
8267 get$single: function(receiver) { | |
8268 if (this.get$length(receiver) === 0) | |
8269 throw H.wrapException(H.IterableElementError_noElement()); | |
8270 if (this.get$length(receiver) > 1) | |
8271 throw H.wrapException(H.IterableElementError_tooMany()); | |
8272 return this.$index(receiver, 0); | |
8273 }, | |
8274 contains$1: function(receiver, element) { | 8561 contains$1: function(receiver, element) { |
8275 var $length, i; | 8562 var $length, i; |
8276 $length = this.get$length(receiver); | 8563 $length = this.get$length(receiver); |
8277 for (i = 0; i < this.get$length(receiver); ++i) { | 8564 for (i = 0; i < this.get$length(receiver); ++i) { |
8278 if (J.$eq$(this.$index(receiver, i), element)) | 8565 if (J.$eq$(this.$index(receiver, i), element)) |
8279 return true; | 8566 return true; |
8280 if ($length !== this.get$length(receiver)) | 8567 if ($length !== this.get$length(receiver)) |
8281 throw H.wrapException(new P.ConcurrentModificationError(receiver)); | 8568 throw H.wrapException(new P.ConcurrentModificationError(receiver)); |
8282 } | 8569 } |
8283 return false; | 8570 return false; |
(...skipping 27 matching lines...) Expand all Loading... |
8311 if (otherStart + $length > t1.get$length(otherList)) | 8598 if (otherStart + $length > t1.get$length(otherList)) |
8312 throw H.wrapException(H.IterableElementError_tooFew()); | 8599 throw H.wrapException(H.IterableElementError_tooFew()); |
8313 if (otherStart < start) | 8600 if (otherStart < start) |
8314 for (i = $length - 1; i >= 0; --i) | 8601 for (i = $length - 1; i >= 0; --i) |
8315 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart
+ i)); | 8602 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart
+ i)); |
8316 else | 8603 else |
8317 for (i = 0; i < $length; ++i) | 8604 for (i = 0; i < $length; ++i) |
8318 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart
+ i)); | 8605 this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart
+ i)); |
8319 }, function($receiver, start, end, iterable) { | 8606 }, function($receiver, start, end, iterable) { |
8320 return this.setRange$4($receiver, start, end, iterable, 0); | 8607 return this.setRange$4($receiver, start, end, iterable, 0); |
8321 }, "setRange$3", null, null, "get$setRange", 6, 2, null, 37], | 8608 }, "setRange$3", null, null, "get$setRange", 6, 2, null, 38], |
8322 replaceRange$3: function(receiver, start, end, newContents) { | 8609 replaceRange$3: function(receiver, start, end, newContents) { |
8323 var removeLength, insertLength, insertEnd, delta, newLength; | 8610 var removeLength, insertLength, insertEnd, delta, newLength; |
8324 P.RangeError_checkValidRange(start, end, this.get$length(receiver), null
, null, null); | 8611 P.RangeError_checkValidRange(start, end, this.get$length(receiver), null
, null, null); |
8325 newContents = C.JSString_methods.toList$0(newContents); | 8612 newContents = C.JSString_methods.toList$0(newContents); |
8326 removeLength = end - start; | 8613 removeLength = end - start; |
8327 insertLength = newContents.length; | 8614 insertLength = newContents.length; |
8328 insertEnd = start + insertLength; | 8615 insertEnd = start + insertLength; |
8329 if (removeLength >= insertLength) { | 8616 if (removeLength >= insertLength) { |
8330 delta = removeLength - insertLength; | 8617 delta = removeLength - insertLength; |
8331 newLength = this.get$length(receiver) - delta; | 8618 newLength = this.get$length(receiver) - delta; |
8332 this.setRange$3(receiver, start, insertEnd, newContents); | 8619 this.setRange$3(receiver, start, insertEnd, newContents); |
8333 if (delta !== 0) { | 8620 if (delta !== 0) { |
8334 this.setRange$4(receiver, insertEnd, newLength, receiver, end); | 8621 this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
8335 this.set$length(receiver, newLength); | 8622 this.set$length(receiver, newLength); |
8336 } | 8623 } |
8337 } else { | 8624 } else { |
8338 newLength = this.get$length(receiver) + (insertLength - removeLength); | 8625 newLength = this.get$length(receiver) + (insertLength - removeLength); |
8339 this.set$length(receiver, newLength); | 8626 this.set$length(receiver, newLength); |
8340 this.setRange$4(receiver, insertEnd, newLength, receiver, end); | 8627 this.setRange$4(receiver, insertEnd, newLength, receiver, end); |
8341 this.setRange$3(receiver, start, insertEnd, newContents); | 8628 this.setRange$3(receiver, start, insertEnd, newContents); |
8342 } | 8629 } |
8343 }, | 8630 }, |
8344 indexOf$2: function(receiver, element, startIndex) { | 8631 indexOf$2: function(receiver, element, startIndex) { |
8345 var t1, i; | 8632 var i; |
8346 t1 = J.getInterceptor$n(startIndex); | 8633 if (startIndex >= this.get$length(receiver)) |
8347 if (t1.$ge(startIndex, this.get$length(receiver))) | |
8348 return -1; | 8634 return -1; |
8349 if (t1.$lt(startIndex, 0)) | 8635 if (startIndex < 0) |
8350 startIndex = 0; | 8636 startIndex = 0; |
8351 for (i = startIndex; t1 = J.getInterceptor$n(i), t1.$lt(i, this.get$leng
th(receiver)); i = t1.$add(i, 1)) | 8637 for (i = startIndex; i < this.get$length(receiver); ++i) |
8352 if (J.$eq$(this.$index(receiver, i), element)) | 8638 if (J.$eq$(this.$index(receiver, i), element)) |
8353 return i; | 8639 return i; |
8354 return -1; | 8640 return -1; |
8355 }, | 8641 }, |
8356 indexOf$1: function($receiver, element) { | 8642 indexOf$1: function($receiver, element) { |
8357 return this.indexOf$2($receiver, element, 0); | 8643 return this.indexOf$2($receiver, element, 0); |
8358 }, | 8644 }, |
8359 get$reversed: function(receiver) { | |
8360 return H.setRuntimeTypeInfo(new H.ReversedListIterable(receiver), [H.get
RuntimeTypeArgument(receiver, "ListMixin", 0)]); | |
8361 }, | |
8362 toString$0: function(receiver) { | 8645 toString$0: function(receiver) { |
8363 return P.IterableBase_iterableToFullString(receiver, "[", "]"); | 8646 return P.IterableBase_iterableToFullString(receiver, "[", "]"); |
8364 }, | 8647 }, |
8365 $isList: 1, | 8648 $isList: 1, |
8366 $asList: null, | 8649 $asList: null, |
8367 $isEfficientLength: 1 | 8650 $isEfficientLength: 1 |
8368 }, | 8651 }, |
8369 _UnmodifiableMapMixin: { | 8652 _UnmodifiableMapMixin: { |
8370 "^": "Object;", | 8653 "^": "Object;", |
8371 $indexSet: function(_, key, value) { | 8654 $indexSet: function(_, key, value) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8410 if (!t1.first) | 8693 if (!t1.first) |
8411 this.result._contents += ", "; | 8694 this.result._contents += ", "; |
8412 t1.first = false; | 8695 t1.first = false; |
8413 t1 = this.result; | 8696 t1 = this.result; |
8414 t2 = t1._contents += H.S(k); | 8697 t2 = t1._contents += H.S(k); |
8415 t1._contents = t2 + ": "; | 8698 t1._contents = t2 + ": "; |
8416 t1._contents += H.S(v); | 8699 t1._contents += H.S(v); |
8417 } | 8700 } |
8418 }, | 8701 }, |
8419 ListQueue: { | 8702 ListQueue: { |
8420 "^": "Iterable;_table,_head,_tail,_modificationCount", | 8703 "^": "ListIterable;_table,_head,_tail,_modificationCount", |
8421 get$iterator: function(_) { | 8704 get$iterator: function(_) { |
8422 return new P._ListQueueIterator(this, this._tail, this._modificationCoun
t, this._head, null); | 8705 return new P._ListQueueIterator(this, this._tail, this._modificationCoun
t, this._head, null); |
8423 }, | 8706 }, |
8424 forEach$1: function(_, action) { | 8707 forEach$1: function(_, action) { |
8425 var modificationCount, i, t1; | 8708 var modificationCount, i, t1; |
8426 modificationCount = this._modificationCount; | 8709 modificationCount = this._modificationCount; |
8427 for (i = this._head; i !== this._tail; i = (i + 1 & this._table.length -
1) >>> 0) { | 8710 for (i = this._head; i !== this._tail; i = (i + 1 & this._table.length -
1) >>> 0) { |
8428 t1 = this._table; | 8711 t1 = this._table; |
8429 if (i < 0 || i >= t1.length) | 8712 if (i < 0 || i >= t1.length) |
8430 return H.ioore(t1, i); | 8713 return H.ioore(t1, i); |
(...skipping 14 matching lines...) Expand all Loading... |
8445 t2 = this._tail; | 8728 t2 = this._tail; |
8446 if (t1 === t2) | 8729 if (t1 === t2) |
8447 throw H.wrapException(H.IterableElementError_noElement()); | 8730 throw H.wrapException(H.IterableElementError_noElement()); |
8448 t1 = this._table; | 8731 t1 = this._table; |
8449 t3 = t1.length; | 8732 t3 = t1.length; |
8450 t2 = (t2 - 1 & t3 - 1) >>> 0; | 8733 t2 = (t2 - 1 & t3 - 1) >>> 0; |
8451 if (t2 < 0 || t2 >= t3) | 8734 if (t2 < 0 || t2 >= t3) |
8452 return H.ioore(t1, t2); | 8735 return H.ioore(t1, t2); |
8453 return t1[t2]; | 8736 return t1[t2]; |
8454 }, | 8737 }, |
| 8738 elementAt$1: function(_, index) { |
| 8739 var $length, t1, t2, t3; |
| 8740 $length = (this._tail - this._head & this._table.length - 1) >>> 0; |
| 8741 if (typeof index !== "number") |
| 8742 return H.iae(index); |
| 8743 if (0 > index || index >= $length) |
| 8744 H.throwExpression(P.IndexError$(index, this, "index", null, $length)); |
| 8745 t1 = this._table; |
| 8746 t2 = t1.length; |
| 8747 t3 = (this._head + index & t2 - 1) >>> 0; |
| 8748 if (t3 < 0 || t3 >= t2) |
| 8749 return H.ioore(t1, t3); |
| 8750 return t1[t3]; |
| 8751 }, |
8455 add$1: function(_, value) { | 8752 add$1: function(_, value) { |
8456 this._add$1(value); | 8753 this._add$1(value); |
8457 }, | 8754 }, |
8458 clear$0: function(_) { | 8755 clear$0: function(_) { |
8459 var i, t1, t2, t3, t4; | 8756 var i, t1, t2, t3, t4; |
8460 i = this._head; | 8757 i = this._head; |
8461 t1 = this._tail; | 8758 t1 = this._tail; |
8462 if (i !== t1) { | 8759 if (i !== t1) { |
8463 for (t2 = this._table, t3 = t2.length, t4 = t3 - 1; i !== t1; i = (i +
1 & t4) >>> 0) { | 8760 for (t2 = this._table, t3 = t2.length, t4 = t3 - 1; i !== t1; i = (i +
1 & t4) >>> 0) { |
8464 if (i < 0 || i >= t3) | 8761 if (i < 0 || i >= t3) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8515 this._head = 0; | 8812 this._head = 0; |
8516 this._tail = this._table.length; | 8813 this._tail = this._table.length; |
8517 this._table = newTable; | 8814 this._table = newTable; |
8518 }, | 8815 }, |
8519 ListQueue$1: function(initialCapacity, $E) { | 8816 ListQueue$1: function(initialCapacity, $E) { |
8520 var t1 = new Array(8); | 8817 var t1 = new Array(8); |
8521 t1.fixed$length = Array; | 8818 t1.fixed$length = Array; |
8522 this._table = H.setRuntimeTypeInfo(t1, [$E]); | 8819 this._table = H.setRuntimeTypeInfo(t1, [$E]); |
8523 }, | 8820 }, |
8524 $isEfficientLength: 1, | 8821 $isEfficientLength: 1, |
8525 static: {ListQueue$: function(initialCapacity, $E) { | 8822 static: { |
| 8823 ListQueue$: function(initialCapacity, $E) { |
8526 var t1 = H.setRuntimeTypeInfo(new P.ListQueue(null, 0, 0, 0), [$E]); | 8824 var t1 = H.setRuntimeTypeInfo(new P.ListQueue(null, 0, 0, 0), [$E]); |
8527 t1.ListQueue$1(initialCapacity, $E); | 8825 t1.ListQueue$1(initialCapacity, $E); |
8528 return t1; | 8826 return t1; |
8529 }} | 8827 } |
| 8828 } |
8530 }, | 8829 }, |
8531 _ListQueueIterator: { | 8830 _ListQueueIterator: { |
8532 "^": "Object;_queue,_end,_modificationCount,_collection$_position,_collect
ion$_current", | 8831 "^": "Object;_queue,_end,_modificationCount,_collection$_position,_collect
ion$_current", |
8533 get$current: function() { | 8832 get$current: function() { |
8534 return this._collection$_current; | 8833 return this._collection$_current; |
8535 }, | 8834 }, |
8536 moveNext$0: function() { | 8835 moveNext$0: function() { |
8537 var t1, t2, t3; | 8836 var t1, t2, t3; |
8538 t1 = this._queue; | 8837 t1 = this._queue; |
8539 if (this._modificationCount !== t1._modificationCount) | 8838 if (this._modificationCount !== t1._modificationCount) |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8611 parsed = JSON.parse(source); | 8910 parsed = JSON.parse(source); |
8612 } catch (exception) { | 8911 } catch (exception) { |
8613 t1 = H.unwrapException(exception); | 8912 t1 = H.unwrapException(exception); |
8614 e = t1; | 8913 e = t1; |
8615 throw H.wrapException(new P.FormatException(String(e), null, null)); | 8914 throw H.wrapException(new P.FormatException(String(e), null, null)); |
8616 } | 8915 } |
8617 return P._convertJsonToDartLazy(parsed); | 8916 return P._convertJsonToDartLazy(parsed); |
8618 }, | 8917 }, |
8619 _defaultToEncodable: [function(object) { | 8918 _defaultToEncodable: [function(object) { |
8620 return object.toJson$0(); | 8919 return object.toJson$0(); |
8621 }, "call$1", "convert___defaultToEncodable$closure", 2, 0, 12, 19], | 8920 }, "call$1", "convert___defaultToEncodable$closure", 2, 0, 0, 25], |
8622 _JsonMap: { | 8921 _JsonMap: { |
8623 "^": "Object;_original,_processed,_data", | 8922 "^": "Object;_original,_processed,_data", |
8624 $index: function(_, key) { | 8923 $index: function(_, key) { |
8625 var t1, result; | 8924 var t1, result; |
8626 t1 = this._processed; | 8925 t1 = this._processed; |
8627 if (t1 == null) | 8926 if (t1 == null) |
8628 return this._data.$index(0, key); | 8927 return this._data.$index(0, key); |
8629 else if (typeof key !== "string") | 8928 else if (typeof key !== "string") |
8630 return; | 8929 return; |
8631 else { | 8930 else { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8760 result = P._convertJsonToDartLazy(this._original[key]); | 9059 result = P._convertJsonToDartLazy(this._original[key]); |
8761 return this._processed[key] = result; | 9060 return this._processed[key] = result; |
8762 }, | 9061 }, |
8763 $isMap: 1, | 9062 $isMap: 1, |
8764 $asMap: Isolate.functionThatReturnsNull | 9063 $asMap: Isolate.functionThatReturnsNull |
8765 }, | 9064 }, |
8766 _JsonMap_values_closure: { | 9065 _JsonMap_values_closure: { |
8767 "^": "Closure:0;$this", | 9066 "^": "Closure:0;$this", |
8768 call$1: [function(each) { | 9067 call$1: [function(each) { |
8769 return this.$this.$index(0, each); | 9068 return this.$this.$index(0, each); |
8770 }, null, null, 2, 0, null, 22, "call"] | 9069 }, null, null, 2, 0, null, 18, "call"] |
8771 }, | 9070 }, |
8772 Codec: { | 9071 Codec: { |
8773 "^": "Object;" | 9072 "^": "Object;" |
8774 }, | 9073 }, |
8775 Converter: { | 9074 Converter: { |
8776 "^": "Object;" | 9075 "^": "Object;" |
8777 }, | 9076 }, |
8778 Encoding: { | 9077 Encoding: { |
8779 "^": "Codec;" | 9078 "^": "Codec;" |
8780 }, | 9079 }, |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8917 } else if (object === true) { | 9216 } else if (object === true) { |
8918 this.writeString$1("true"); | 9217 this.writeString$1("true"); |
8919 return true; | 9218 return true; |
8920 } else if (object === false) { | 9219 } else if (object === false) { |
8921 this.writeString$1("false"); | 9220 this.writeString$1("false"); |
8922 return true; | 9221 return true; |
8923 } else if (object == null) { | 9222 } else if (object == null) { |
8924 this.writeString$1("null"); | 9223 this.writeString$1("null"); |
8925 return true; | 9224 return true; |
8926 } else if (typeof object === "string") { | 9225 } else if (typeof object === "string") { |
8927 this.writeString$1("\""); | 9226 this.writeString$1('"'); |
8928 this.writeStringContent$1(object); | 9227 this.writeStringContent$1(object); |
8929 this.writeString$1("\""); | 9228 this.writeString$1('"'); |
8930 return true; | 9229 return true; |
8931 } else { | 9230 } else { |
8932 t1 = J.getInterceptor(object); | 9231 t1 = J.getInterceptor(object); |
8933 if (!!t1.$isList) { | 9232 if (!!t1.$isList) { |
8934 this._checkCycle$1(object); | 9233 this._checkCycle$1(object); |
8935 this.writeList$1(object); | 9234 this.writeList$1(object); |
8936 t1 = this._seen; | 9235 t1 = this._seen; |
8937 if (0 >= t1.length) | 9236 if (0 >= t1.length) |
8938 return H.ioore(t1, -1); | 9237 return H.ioore(t1, -1); |
8939 t1.pop(); | 9238 t1.pop(); |
(...skipping 17 matching lines...) Expand all Loading... |
8957 if (t1.get$length(list) > 0) { | 9256 if (t1.get$length(list) > 0) { |
8958 this.writeObject$1(t1.$index(list, 0)); | 9257 this.writeObject$1(t1.$index(list, 0)); |
8959 for (i = 1; i < t1.get$length(list); ++i) { | 9258 for (i = 1; i < t1.get$length(list); ++i) { |
8960 this.writeString$1(","); | 9259 this.writeString$1(","); |
8961 this.writeObject$1(t1.$index(list, i)); | 9260 this.writeObject$1(t1.$index(list, i)); |
8962 } | 9261 } |
8963 } | 9262 } |
8964 this.writeString$1("]"); | 9263 this.writeString$1("]"); |
8965 }, | 9264 }, |
8966 writeMap$1: function(map) { | 9265 writeMap$1: function(map) { |
8967 var t1, t2, keyValueList, separator, i; | 9266 var t1, keyValueList, separator, i, t2; |
8968 t1 = {}; | 9267 t1 = {}; |
8969 if (map.get$isEmpty(map) === true) { | 9268 if (map.get$isEmpty(map) === true) { |
8970 this.writeString$1("{}"); | 9269 this.writeString$1("{}"); |
8971 return true; | 9270 return true; |
8972 } | 9271 } |
8973 t2 = J.$mul$ns(map.get$length(map), 2); | 9272 keyValueList = new Array(J.$mul$ns(map.get$length(map), 2)); |
8974 if (typeof t2 !== "number") | |
8975 return H.iae(t2); | |
8976 keyValueList = new Array(t2); | |
8977 t1.i = 0; | 9273 t1.i = 0; |
8978 t1.allStringKeys = true; | 9274 t1.allStringKeys = true; |
8979 map.forEach$1(0, new P._JsonStringifier_writeMap_closure(t1, keyValueLis
t)); | 9275 map.forEach$1(0, new P._JsonStringifier_writeMap_closure(t1, keyValueLis
t)); |
8980 if (!t1.allStringKeys) | 9276 if (!t1.allStringKeys) |
8981 return false; | 9277 return false; |
8982 this.writeString$1("{"); | 9278 this.writeString$1("{"); |
8983 for (t1 = keyValueList.length, separator = "\"", i = 0; i < t1; i += 2,
separator = ",\"") { | 9279 for (t1 = keyValueList.length, separator = '"', i = 0; i < t1; i += 2, s
eparator = ',"') { |
8984 this.writeString$1(separator); | 9280 this.writeString$1(separator); |
8985 this.writeStringContent$1(keyValueList[i]); | 9281 this.writeStringContent$1(keyValueList[i]); |
8986 this.writeString$1("\":"); | 9282 this.writeString$1('":'); |
8987 t2 = i + 1; | 9283 t2 = i + 1; |
8988 if (t2 >= t1) | 9284 if (t2 >= t1) |
8989 return H.ioore(keyValueList, t2); | 9285 return H.ioore(keyValueList, t2); |
8990 this.writeObject$1(keyValueList[t2]); | 9286 this.writeObject$1(keyValueList[t2]); |
8991 } | 9287 } |
8992 this.writeString$1("}"); | 9288 this.writeString$1("}"); |
8993 return true; | 9289 return true; |
8994 }, | 9290 }, |
8995 _toEncodable$1: function(arg0) { | 9291 _toEncodable$1: function(arg0) { |
8996 return this._toEncodable.call$1(arg0); | 9292 return this._toEncodable.call$1(arg0); |
(...skipping 11 matching lines...) Expand all Loading... |
9008 i = t3 + 1; | 9304 i = t3 + 1; |
9009 t2.i = i; | 9305 t2.i = i; |
9010 t4 = t1.length; | 9306 t4 = t1.length; |
9011 if (t3 >= t4) | 9307 if (t3 >= t4) |
9012 return H.ioore(t1, t3); | 9308 return H.ioore(t1, t3); |
9013 t1[t3] = key; | 9309 t1[t3] = key; |
9014 t2.i = i + 1; | 9310 t2.i = i + 1; |
9015 if (i >= t4) | 9311 if (i >= t4) |
9016 return H.ioore(t1, i); | 9312 return H.ioore(t1, i); |
9017 t1[i] = value; | 9313 t1[i] = value; |
9018 }, null, null, 4, 0, null, 17, 6, "call"] | 9314 }, null, null, 4, 0, null, 17, 7, "call"] |
9019 }, | 9315 }, |
9020 _JsonStringStringifier: { | 9316 _JsonStringStringifier: { |
9021 "^": "_JsonStringifier;_convert$_sink,_seen,_toEncodable", | 9317 "^": "_JsonStringifier;_convert$_sink,_seen,_toEncodable", |
9022 writeNumber$1: function(number) { | 9318 writeNumber$1: function(number) { |
9023 this._convert$_sink.write$1(C.JSNumber_methods.toString$0(number)); | 9319 this._convert$_sink.write$1(C.JSNumber_methods.toString$0(number)); |
9024 }, | 9320 }, |
9025 writeString$1: function(string) { | 9321 writeString$1: function(string) { |
9026 this._convert$_sink.write$1(string); | 9322 this._convert$_sink.write$1(string); |
9027 }, | 9323 }, |
9028 writeStringSlice$3: function(string, start, end) { | 9324 writeStringSlice$3: function(string, start, end) { |
9029 this._convert$_sink.write$1(J.substring$2$s(string, start, end)); | 9325 this._convert$_sink.write$1(J.substring$2$s(string, start, end)); |
9030 }, | 9326 }, |
9031 writeCharCode$1: function(charCode) { | 9327 writeCharCode$1: function(charCode) { |
9032 this._convert$_sink.writeCharCode$1(charCode); | 9328 this._convert$_sink.writeCharCode$1(charCode); |
9033 }, | 9329 }, |
9034 static: {_JsonStringStringifier_stringify: function(object, toEncodable, i
ndent) { | 9330 static: { |
| 9331 _JsonStringStringifier_stringify: function(object, toEncodable, indent)
{ |
9035 var output, t1; | 9332 var output, t1; |
9036 output = new P.StringBuffer(""); | 9333 output = new P.StringBuffer(""); |
9037 P._JsonStringStringifier_printOn(object, output, toEncodable, indent); | 9334 P._JsonStringStringifier_printOn(object, output, toEncodable, indent); |
9038 t1 = output._contents; | 9335 t1 = output._contents; |
9039 return t1.charCodeAt(0) == 0 ? t1 : t1; | 9336 return t1.charCodeAt(0) == 0 ? t1 : t1; |
9040 }, _JsonStringStringifier_printOn: function(object, output, toEncodable,
indent) { | 9337 }, |
| 9338 _JsonStringStringifier_printOn: function(object, output, toEncodable, in
dent) { |
9041 var t1, stringifier; | 9339 var t1, stringifier; |
9042 t1 = P.convert___defaultToEncodable$closure(); | 9340 t1 = P.convert___defaultToEncodable$closure(); |
9043 stringifier = new P._JsonStringStringifier(output, [], t1); | 9341 stringifier = new P._JsonStringStringifier(output, [], t1); |
9044 stringifier.writeObject$1(object); | 9342 stringifier.writeObject$1(object); |
9045 }} | 9343 } |
| 9344 } |
9046 }, | 9345 }, |
9047 Utf8Codec: { | 9346 Utf8Codec: { |
9048 "^": "Encoding;_allowMalformed", | 9347 "^": "Encoding;_allowMalformed", |
9049 get$encoder: function() { | 9348 get$encoder: function() { |
9050 return C.C_Utf8Encoder; | 9349 return C.C_Utf8Encoder; |
9051 } | 9350 } |
9052 }, | 9351 }, |
9053 Utf8Encoder: { | 9352 Utf8Encoder: { |
9054 "^": "Converter;", | 9353 "^": "Converter;", |
9055 convert$3: function(string, start, end) { | 9354 convert$3: function(string, start, end) { |
9056 var t1, stringLength, t2, $length, t3, encoder; | 9355 var t1, stringLength, t2, $length, t3, encoder; |
9057 t1 = J.getInterceptor$asx(string); | 9356 t1 = J.getInterceptor$asx(string); |
9058 stringLength = t1.get$length(string); | 9357 stringLength = t1.get$length(string); |
9059 P.RangeError_checkValidRange(start, end, stringLength, null, null, null)
; | 9358 P.RangeError_checkValidRange(start, end, stringLength, null, null, null)
; |
9060 t2 = J.getInterceptor$n(stringLength); | 9359 t2 = J.getInterceptor$n(stringLength); |
9061 $length = t2.$sub(stringLength, start); | 9360 $length = t2.$sub(stringLength, start); |
9062 t3 = J.getInterceptor($length); | 9361 if ($length === 0) |
9063 if (t3.$eq($length, 0)) | 9362 return new Uint8Array(H._checkLength(0)); |
9064 return new Uint8Array(0); | 9363 t3 = new Uint8Array(H._checkLength($length * 3)); |
9065 t3 = t3.$mul($length, 3); | |
9066 if (typeof t3 !== "number" || Math.floor(t3) !== t3) | |
9067 H.throwExpression(P.ArgumentError$("Invalid length " + H.S(t3))); | |
9068 t3 = new Uint8Array(t3); | |
9069 encoder = new P._Utf8Encoder(0, 0, t3); | 9364 encoder = new P._Utf8Encoder(0, 0, t3); |
9070 if (encoder._fillBuffer$3(string, start, stringLength) !== stringLength) | 9365 if (encoder._fillBuffer$3(string, start, stringLength) !== stringLength) |
9071 encoder._writeSurrogate$2(t1.codeUnitAt$1(string, t2.$sub(stringLength
, 1)), 0); | 9366 encoder._writeSurrogate$2(t1.codeUnitAt$1(string, t2.$sub(stringLength
, 1)), 0); |
9072 return C.NativeUint8List_methods.sublist$2(t3, 0, encoder._bufferIndex); | 9367 return C.NativeUint8List_methods.sublist$2(t3, 0, encoder._bufferIndex); |
9073 }, | 9368 }, |
9074 convert$1: function(string) { | 9369 convert$1: function(string) { |
9075 return this.convert$3(string, 0, null); | 9370 return this.convert$3(string, 0, null); |
9076 } | 9371 } |
9077 }, | 9372 }, |
9078 _Utf8Encoder: { | 9373 _Utf8Encoder: { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9284 break $loop$0; | 9579 break $loop$0; |
9285 } | 9580 } |
9286 if (expectedUnits > 0) { | 9581 if (expectedUnits > 0) { |
9287 this._value = value; | 9582 this._value = value; |
9288 this._expectedUnits = expectedUnits; | 9583 this._expectedUnits = expectedUnits; |
9289 this._extraUnits = extraUnits; | 9584 this._extraUnits = extraUnits; |
9290 } | 9585 } |
9291 } | 9586 } |
9292 }, | 9587 }, |
9293 _Utf8Decoder_convert_scanOneByteCharacters: { | 9588 _Utf8Decoder_convert_scanOneByteCharacters: { |
9294 "^": "Closure:43;endIndex", | 9589 "^": "Closure:42;endIndex", |
9295 call$2: function(units, from) { | 9590 call$2: function(units, from) { |
9296 var to, t1, i, unit; | 9591 var to, t1, i, unit; |
9297 to = this.endIndex; | 9592 to = this.endIndex; |
9298 for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) { | 9593 for (t1 = J.getInterceptor$asx(units), i = from; i < to; ++i) { |
9299 unit = t1.$index(units, i); | 9594 unit = t1.$index(units, i); |
9300 if (J.$and$n(unit, 127) !== unit) | 9595 if (J.$and$n(unit, 127) !== unit) |
9301 return i - from; | 9596 return i - from; |
9302 } | 9597 } |
9303 return to - from; | 9598 return to - from; |
9304 } | 9599 } |
9305 }, | 9600 }, |
9306 _Utf8Decoder_convert_addSingleBytes: { | 9601 _Utf8Decoder_convert_addSingleBytes: { |
9307 "^": "Closure:67;$this,codeUnits,startIndex,endIndex", | 9602 "^": "Closure:43;$this,codeUnits,startIndex,endIndex", |
9308 call$2: function(from, to) { | 9603 call$2: function(from, to) { |
9309 this.$this._stringSink._contents += P.String_String$fromCharCodes(this.c
odeUnits, from, to); | 9604 this.$this._stringSink._contents += P.String_String$fromCharCodes(this.c
odeUnits, from, to); |
9310 } | 9605 } |
9311 } | 9606 } |
9312 }], ["dart.core", "dart:core",, P, { | 9607 }], ["dart.core", "dart:core",, P, { |
9313 "^": "", | 9608 "^": "", |
9314 String__stringFromIterable: function(charCodes, start, end) { | 9609 String__stringFromIterable: function(charCodes, start, end) { |
9315 var t1, it, i, list; | 9610 var t1, it, i, list; |
9316 if (start < 0) | 9611 if (start < 0) |
9317 throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(char
Codes), null, null)); | 9612 throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(char
Codes), null, null)); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9377 result = H.setRuntimeTypeInfo([], [$E]); | 9672 result = H.setRuntimeTypeInfo([], [$E]); |
9378 C.JSArray_methods.set$length(result, $length); | 9673 C.JSArray_methods.set$length(result, $length); |
9379 for (i = 0; i < $length; ++i) { | 9674 for (i = 0; i < $length; ++i) { |
9380 t1 = generator.call$1(i); | 9675 t1 = generator.call$1(i); |
9381 if (i >= result.length) | 9676 if (i >= result.length) |
9382 return H.ioore(result, i); | 9677 return H.ioore(result, i); |
9383 result[i] = t1; | 9678 result[i] = t1; |
9384 } | 9679 } |
9385 return result; | 9680 return result; |
9386 }, | 9681 }, |
| 9682 List_List$unmodifiable: function(elements, $E) { |
| 9683 return J.JSArray_markUnmodifiableList(P.List_List$from(elements, false, $E
)); |
| 9684 }, |
9387 print: function(object) { | 9685 print: function(object) { |
9388 var line, t1; | 9686 var line, t1; |
9389 line = H.S(object); | 9687 line = H.S(object); |
9390 t1 = $.printToZone; | 9688 t1 = $.printToZone; |
9391 if (t1 == null) | 9689 if (t1 == null) |
9392 H.printString(line); | 9690 H.printString(line); |
9393 else | 9691 else |
9394 t1.call$1(line); | 9692 t1.call$1(line); |
9395 }, | 9693 }, |
9396 RegExp_RegExp: function(source, caseSensitive, multiLine) { | 9694 RegExp_RegExp: function(source, caseSensitive, multiLine) { |
9397 return new H.JSSyntaxRegExp(source, H.JSSyntaxRegExp_makeNative(source, mu
ltiLine, true, false), null, null); | 9695 return new H.JSSyntaxRegExp(source, H.JSSyntaxRegExp_makeNative(source, mu
ltiLine, true, false), null, null); |
9398 }, | 9696 }, |
9399 String_String$fromCharCodes: function(charCodes, start, end) { | 9697 String_String$fromCharCodes: function(charCodes, start, end) { |
9400 var len; | 9698 var len; |
9401 if (charCodes.constructor === Array) { | 9699 if (charCodes.constructor === Array) { |
9402 len = charCodes.length; | 9700 len = charCodes.length; |
9403 end = P.RangeError_checkValidRange(start, end, len, null, null, null); | 9701 end = P.RangeError_checkValidRange(start, end, len, null, null, null); |
9404 return H.Primitives_stringFromCharCodes(start > 0 || J.$lt$n(end, len) ?
C.JSArray_methods.sublist$2(charCodes, start, end) : charCodes); | 9702 return H.Primitives_stringFromCharCodes(start > 0 || J.$lt$n(end, len) ?
C.JSArray_methods.sublist$2(charCodes, start, end) : charCodes); |
9405 } | 9703 } |
9406 if (!!J.getInterceptor(charCodes).$isNativeUint8List) | 9704 if (!!J.getInterceptor(charCodes).$isNativeUint8List) |
9407 return H.Primitives_stringFromNativeUint8List(charCodes, start, P.RangeE
rror_checkValidRange(start, end, charCodes.length, null, null, null)); | 9705 return H.Primitives_stringFromNativeUint8List(charCodes, start, P.RangeE
rror_checkValidRange(start, end, charCodes.length, null, null, null)); |
9408 return P.String__stringFromIterable(charCodes, start, end); | 9706 return P.String__stringFromIterable(charCodes, start, end); |
9409 }, | 9707 }, |
9410 String_String$fromCharCode: function(charCode) { | 9708 String_String$fromCharCode: function(charCode) { |
9411 return H.Primitives_stringFromCharCode(charCode); | 9709 return H.Primitives_stringFromCharCode(charCode); |
9412 }, | 9710 }, |
9413 NoSuchMethodError_toString_closure: { | 9711 NoSuchMethodError_toString_closure: { |
9414 "^": "Closure:45;_box_0,sb", | 9712 "^": "Closure:66;_box_0,sb", |
9415 call$2: [function(key, value) { | 9713 call$2: [function(key, value) { |
9416 var t1, t2, t3; | 9714 var t1, t2, t3; |
9417 t1 = this.sb; | 9715 t1 = this.sb; |
9418 t2 = this._box_0; | 9716 t2 = this._box_0; |
9419 t1._contents += t2.comma; | 9717 t1._contents += t2.comma; |
9420 t3 = t1._contents += H.S(key.get$__internal$_name()); | 9718 t3 = t1._contents += H.S(key.get$__internal$_name()); |
9421 t1._contents = t3 + ": "; | 9719 t1._contents = t3 + ": "; |
9422 t1._contents += H.S(P.Error_safeToString(value)); | 9720 t1._contents += H.S(P.Error_safeToString(value)); |
9423 t2.comma = ", "; | 9721 t2.comma = ", "; |
9424 }, null, null, 4, 0, null, 17, 6, "call"] | 9722 }, null, null, 4, 0, null, 17, 7, "call"] |
9425 }, | 9723 }, |
9426 bool: { | 9724 bool: { |
9427 "^": "Object;" | 9725 "^": "Object;" |
9428 }, | 9726 }, |
9429 "+bool": 0, | 9727 "+bool": 0, |
9430 DateTime: { | 9728 DateTime: { |
9431 "^": "Object;_core$_value,isUtc", | 9729 "^": "Object;_core$_value,isUtc", |
9432 $eq: function(_, other) { | 9730 $eq: function(_, other) { |
9433 if (other == null) | 9731 if (other == null) |
9434 return false; | 9732 return false; |
(...skipping 22 matching lines...) Expand all Loading... |
9457 }, | 9755 }, |
9458 add$1: function(_, duration) { | 9756 add$1: function(_, duration) { |
9459 return P.DateTime$_withValue(C.JSNumber_methods.$add(this._core$_value,
duration.get$inMilliseconds()), this.isUtc); | 9757 return P.DateTime$_withValue(C.JSNumber_methods.$add(this._core$_value,
duration.get$inMilliseconds()), this.isUtc); |
9460 }, | 9758 }, |
9461 get$millisecondsSinceEpoch: function() { | 9759 get$millisecondsSinceEpoch: function() { |
9462 return this._core$_value; | 9760 return this._core$_value; |
9463 }, | 9761 }, |
9464 DateTime$_withValue$2$isUtc: function(_value, isUtc) { | 9762 DateTime$_withValue$2$isUtc: function(_value, isUtc) { |
9465 var t1 = this._core$_value; | 9763 var t1 = this._core$_value; |
9466 if (!(Math.abs(t1) > 864e13)) { | 9764 if (!(Math.abs(t1) > 864e13)) { |
9467 if (Math.abs(t1) === 864e13) | 9765 Math.abs(t1) === 864e13; |
9468 ; | |
9469 t1 = false; | 9766 t1 = false; |
9470 } else | 9767 } else |
9471 t1 = true; | 9768 t1 = true; |
9472 if (t1) | 9769 if (t1) |
9473 throw H.wrapException(P.ArgumentError$(this.get$millisecondsSinceEpoch
())); | 9770 throw H.wrapException(P.ArgumentError$(this.get$millisecondsSinceEpoch
())); |
9474 }, | 9771 }, |
9475 static: {DateTime$_withValue: function(_value, isUtc) { | 9772 static: { |
| 9773 DateTime$_withValue: function(_value, isUtc) { |
9476 var t1 = new P.DateTime(_value, isUtc); | 9774 var t1 = new P.DateTime(_value, isUtc); |
9477 t1.DateTime$_withValue$2$isUtc(_value, isUtc); | 9775 t1.DateTime$_withValue$2$isUtc(_value, isUtc); |
9478 return t1; | 9776 return t1; |
9479 }, DateTime__fourDigits: function(n) { | 9777 }, |
| 9778 DateTime__fourDigits: function(n) { |
9480 var absN, sign; | 9779 var absN, sign; |
9481 absN = Math.abs(n); | 9780 absN = Math.abs(n); |
9482 sign = n < 0 ? "-" : ""; | 9781 sign = n < 0 ? "-" : ""; |
9483 if (absN >= 1000) | 9782 if (absN >= 1000) |
9484 return "" + n; | 9783 return "" + n; |
9485 if (absN >= 100) | 9784 if (absN >= 100) |
9486 return sign + "0" + H.S(absN); | 9785 return sign + "0" + H.S(absN); |
9487 if (absN >= 10) | 9786 if (absN >= 10) |
9488 return sign + "00" + H.S(absN); | 9787 return sign + "00" + H.S(absN); |
9489 return sign + "000" + H.S(absN); | 9788 return sign + "000" + H.S(absN); |
9490 }, DateTime__threeDigits: function(n) { | 9789 }, |
| 9790 DateTime__threeDigits: function(n) { |
9491 if (n >= 100) | 9791 if (n >= 100) |
9492 return "" + n; | 9792 return "" + n; |
9493 if (n >= 10) | 9793 if (n >= 10) |
9494 return "0" + n; | 9794 return "0" + n; |
9495 return "00" + n; | 9795 return "00" + n; |
9496 }, DateTime__twoDigits: function(n) { | 9796 }, |
| 9797 DateTime__twoDigits: function(n) { |
9497 if (n >= 10) | 9798 if (n >= 10) |
9498 return "" + n; | 9799 return "" + n; |
9499 return "0" + n; | 9800 return "0" + n; |
9500 }} | 9801 } |
| 9802 } |
9501 }, | 9803 }, |
9502 $double: { | 9804 $double: { |
9503 "^": "num;" | 9805 "^": "num;" |
9504 }, | 9806 }, |
9505 "+double": 0, | 9807 "+double": 0, |
9506 Duration: { | 9808 Duration: { |
9507 "^": "Object;_duration<", | 9809 "^": "Object;_duration<", |
9508 $add: function(_, other) { | 9810 $add: function(_, other) { |
9509 return new P.Duration(C.JSInt_methods.$add(this._duration, other.get$_du
ration())); | 9811 return new P.Duration(C.JSInt_methods.$add(this._duration, other.get$_du
ration())); |
9510 }, | 9812 }, |
9511 $sub: function(_, other) { | 9813 $sub: function(_, other) { |
9512 return new P.Duration(this._duration - other.get$_duration()); | 9814 return new P.Duration(this._duration - other.get$_duration()); |
9513 }, | 9815 }, |
9514 $mul: function(_, factor) { | |
9515 return new P.Duration(C.JSInt_methods.round$0(this._duration * factor)); | |
9516 }, | |
9517 $tdiv: function(_, quotient) { | 9816 $tdiv: function(_, quotient) { |
9518 if (quotient === 0) | 9817 if (quotient === 0) |
9519 throw H.wrapException(new P.IntegerDivisionByZeroException()); | 9818 throw H.wrapException(new P.IntegerDivisionByZeroException()); |
9520 return new P.Duration(C.JSInt_methods.$tdiv(this._duration, quotient)); | 9819 return new P.Duration(C.JSInt_methods.$tdiv(this._duration, quotient)); |
9521 }, | 9820 }, |
9522 $lt: function(_, other) { | 9821 $lt: function(_, other) { |
9523 return this._duration < other.get$_duration(); | 9822 return this._duration < other.get$_duration(); |
9524 }, | 9823 }, |
9525 $gt: function(_, other) { | 9824 $gt: function(_, other) { |
9526 return this._duration > other.get$_duration(); | 9825 return this._duration > other.get$_duration(); |
9527 }, | 9826 }, |
9528 $le: function(_, other) { | |
9529 return C.JSInt_methods.$le(this._duration, other.get$_duration()); | |
9530 }, | |
9531 $ge: function(_, other) { | 9827 $ge: function(_, other) { |
9532 return this._duration >= other.get$_duration(); | 9828 return C.JSInt_methods.$ge(this._duration, other.get$_duration()); |
9533 }, | 9829 }, |
9534 get$inMilliseconds: function() { | 9830 get$inMilliseconds: function() { |
9535 return C.JSInt_methods._tdivFast$1(this._duration, 1000); | 9831 return C.JSInt_methods._tdivFast$1(this._duration, 1000); |
9536 }, | 9832 }, |
9537 $eq: function(_, other) { | 9833 $eq: function(_, other) { |
9538 if (other == null) | 9834 if (other == null) |
9539 return false; | 9835 return false; |
9540 if (!(other instanceof P.Duration)) | 9836 if (!(other instanceof P.Duration)) |
9541 return false; | 9837 return false; |
9542 return this._duration === other._duration; | 9838 return this._duration === other._duration; |
9543 }, | 9839 }, |
9544 get$hashCode: function(_) { | 9840 get$hashCode: function(_) { |
9545 return this._duration & 0x1FFFFFFF; | 9841 return this._duration & 0x1FFFFFFF; |
9546 }, | 9842 }, |
9547 toString$0: function(_) { | 9843 toString$0: function(_) { |
9548 var t1, t2, twoDigitMinutes, twoDigitSeconds, sixDigitUs; | 9844 var t1, t2, twoDigitMinutes, twoDigitSeconds, sixDigitUs; |
9549 t1 = new P.Duration_toString_twoDigits(); | 9845 t1 = new P.Duration_toString_twoDigits(); |
9550 t2 = this._duration; | 9846 t2 = this._duration; |
9551 if (t2 < 0) | 9847 if (t2 < 0) |
9552 return "-" + new P.Duration(-t2).toString$0(0); | 9848 return "-" + new P.Duration(-t2).toString$0(0); |
9553 twoDigitMinutes = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods.
_tdivFast$1(t2, 60000000), 60)); | 9849 twoDigitMinutes = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods.
_tdivFast$1(t2, 60000000), 60)); |
9554 twoDigitSeconds = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods.
_tdivFast$1(t2, 1000000), 60)); | 9850 twoDigitSeconds = t1.call$1(C.JSInt_methods.remainder$1(C.JSInt_methods.
_tdivFast$1(t2, 1000000), 60)); |
9555 sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSInt_methods.
remainder$1(t2, 1000000)); | 9851 sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSInt_methods.
remainder$1(t2, 1000000)); |
9556 return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoD
igitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); | 9852 return "" + C.JSInt_methods._tdivFast$1(t2, 3600000000) + ":" + H.S(twoD
igitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs); |
9557 }, | 9853 }, |
9558 $negate: function(_) { | 9854 $negate: function(_) { |
9559 return new P.Duration(-this._duration); | 9855 return new P.Duration(-this._duration); |
9560 }, | 9856 }, |
9561 static: {Duration$: function(days, hours, microseconds, milliseconds, minu
tes, seconds) { | 9857 static: { |
| 9858 Duration$: function(days, hours, microseconds, milliseconds, minutes, se
conds) { |
9562 return new P.Duration(864e8 * days + 3600000000 * hours + 60000000 * m
inutes + 1000000 * seconds + 1000 * milliseconds + microseconds); | 9859 return new P.Duration(864e8 * days + 3600000000 * hours + 60000000 * m
inutes + 1000000 * seconds + 1000 * milliseconds + microseconds); |
9563 }} | 9860 } |
| 9861 } |
9564 }, | 9862 }, |
9565 Duration_toString_sixDigits: { | 9863 Duration_toString_sixDigits: { |
9566 "^": "Closure:15;", | 9864 "^": "Closure:14;", |
9567 call$1: function(n) { | 9865 call$1: function(n) { |
9568 if (n >= 100000) | 9866 if (n >= 100000) |
9569 return "" + n; | 9867 return "" + n; |
9570 if (n >= 10000) | 9868 if (n >= 10000) |
9571 return "0" + n; | 9869 return "0" + n; |
9572 if (n >= 1000) | 9870 if (n >= 1000) |
9573 return "00" + n; | 9871 return "00" + n; |
9574 if (n >= 100) | 9872 if (n >= 100) |
9575 return "000" + n; | 9873 return "000" + n; |
9576 if (n >= 10) | 9874 if (n >= 10) |
9577 return "0000" + n; | 9875 return "0000" + n; |
9578 return "00000" + n; | 9876 return "00000" + n; |
9579 } | 9877 } |
9580 }, | 9878 }, |
9581 Duration_toString_twoDigits: { | 9879 Duration_toString_twoDigits: { |
9582 "^": "Closure:15;", | 9880 "^": "Closure:14;", |
9583 call$1: function(n) { | 9881 call$1: function(n) { |
9584 if (n >= 10) | 9882 if (n >= 10) |
9585 return "" + n; | 9883 return "" + n; |
9586 return "0" + n; | 9884 return "0" + n; |
9587 } | 9885 } |
9588 }, | 9886 }, |
9589 Error: { | 9887 Error: { |
9590 "^": "Object;", | 9888 "^": "Object;", |
9591 get$stackTrace: function() { | 9889 get$stackTrace: function() { |
9592 return H.getTraceFromException(this.$thrownJsError); | 9890 return H.getTraceFromException(this.$thrownJsError); |
(...skipping 19 matching lines...) Expand all Loading... |
9612 nameString = t1 != null ? " (" + H.S(t1) + ")" : ""; | 9910 nameString = t1 != null ? " (" + H.S(t1) + ")" : ""; |
9613 t1 = this.message; | 9911 t1 = this.message; |
9614 message = t1 == null ? "" : ": " + H.S(t1); | 9912 message = t1 == null ? "" : ": " + H.S(t1); |
9615 prefix = this.get$_errorName() + nameString + message; | 9913 prefix = this.get$_errorName() + nameString + message; |
9616 if (!this._hasValue) | 9914 if (!this._hasValue) |
9617 return prefix; | 9915 return prefix; |
9618 explanation = this.get$_errorExplanation(); | 9916 explanation = this.get$_errorExplanation(); |
9619 errorValue = P.Error_safeToString(this.invalidValue); | 9917 errorValue = P.Error_safeToString(this.invalidValue); |
9620 return prefix + explanation + ": " + H.S(errorValue); | 9918 return prefix + explanation + ": " + H.S(errorValue); |
9621 }, | 9919 }, |
9622 static: {ArgumentError$: function(message) { | 9920 static: { |
| 9921 ArgumentError$: function(message) { |
9623 return new P.ArgumentError(false, null, null, message); | 9922 return new P.ArgumentError(false, null, null, message); |
9624 }, ArgumentError$value: function(value, $name, message) { | 9923 }, |
| 9924 ArgumentError$value: function(value, $name, message) { |
9625 return new P.ArgumentError(true, value, $name, message); | 9925 return new P.ArgumentError(true, value, $name, message); |
9626 }, ArgumentError$notNull: function($name) { | 9926 }, |
| 9927 ArgumentError$notNull: function($name) { |
9627 return new P.ArgumentError(false, null, $name, "Must not be null"); | 9928 return new P.ArgumentError(false, null, $name, "Must not be null"); |
9628 }} | 9929 } |
| 9930 } |
9629 }, | 9931 }, |
9630 RangeError: { | 9932 RangeError: { |
9631 "^": "ArgumentError;start,end,_hasValue,invalidValue,name,message", | 9933 "^": "ArgumentError;start,end,_hasValue,invalidValue,name,message", |
9632 get$_errorName: function() { | 9934 get$_errorName: function() { |
9633 return "RangeError"; | 9935 return "RangeError"; |
9634 }, | 9936 }, |
9635 get$_errorExplanation: function() { | 9937 get$_errorExplanation: function() { |
9636 var t1, explanation, t2, t3; | 9938 var t1, explanation, t2, t3; |
9637 t1 = this.start; | 9939 t1 = this.start; |
9638 if (t1 == null) { | 9940 if (t1 == null) { |
9639 t1 = this.end; | 9941 t1 = this.end; |
9640 explanation = t1 != null ? ": Not less than or equal to " + H.S(t1) :
""; | 9942 explanation = t1 != null ? ": Not less than or equal to " + H.S(t1) :
""; |
9641 } else { | 9943 } else { |
9642 t2 = this.end; | 9944 t2 = this.end; |
9643 if (t2 == null) | 9945 if (t2 == null) |
9644 explanation = ": Not greater than or equal to " + H.S(t1); | 9946 explanation = ": Not greater than or equal to " + H.S(t1); |
9645 else { | 9947 else { |
9646 t3 = J.getInterceptor$n(t2); | 9948 t3 = J.getInterceptor$n(t2); |
9647 if (t3.$gt(t2, t1)) | 9949 if (t3.$gt(t2, t1)) |
9648 explanation = ": Not in range " + H.S(t1) + ".." + H.S(t2) + ", in
clusive"; | 9950 explanation = ": Not in range " + H.S(t1) + ".." + H.S(t2) + ", in
clusive"; |
9649 else | 9951 else |
9650 explanation = t3.$lt(t2, t1) ? ": Valid value range is empty" : ":
Only valid value is " + H.S(t1); | 9952 explanation = t3.$lt(t2, t1) ? ": Valid value range is empty" : ":
Only valid value is " + H.S(t1); |
9651 } | 9953 } |
9652 } | 9954 } |
9653 return explanation; | 9955 return explanation; |
9654 }, | 9956 }, |
9655 static: {RangeError$value: function(value, $name, message) { | 9957 static: { |
| 9958 RangeError$value: function(value, $name, message) { |
9656 return new P.RangeError(null, null, true, value, $name, "Value not in
range"); | 9959 return new P.RangeError(null, null, true, value, $name, "Value not in
range"); |
9657 }, RangeError$range: function(invalidValue, minValue, maxValue, $name, m
essage) { | 9960 }, |
| 9961 RangeError$range: function(invalidValue, minValue, maxValue, $name, mess
age) { |
9658 return new P.RangeError(minValue, maxValue, true, invalidValue, $name,
"Invalid value"); | 9962 return new P.RangeError(minValue, maxValue, true, invalidValue, $name,
"Invalid value"); |
9659 }, RangeError_checkValueInInterval: function(value, minValue, maxValue,
$name, message) { | 9963 }, |
| 9964 RangeError_checkValueInInterval: function(value, minValue, maxValue, $na
me, message) { |
9660 if (value < minValue || value > maxValue) | 9965 if (value < minValue || value > maxValue) |
9661 throw H.wrapException(P.RangeError$range(value, minValue, maxValue,
$name, message)); | 9966 throw H.wrapException(P.RangeError$range(value, minValue, maxValue,
$name, message)); |
9662 }, RangeError_checkValidRange: function(start, end, $length, startName,
endName, message) { | 9967 }, |
| 9968 RangeError_checkValidRange: function(start, end, $length, startName, end
Name, message) { |
9663 var t1; | 9969 var t1; |
9664 if (typeof start !== "number") | |
9665 return H.iae(start); | |
9666 if (!(0 > start)) { | 9970 if (!(0 > start)) { |
9667 if (typeof $length !== "number") | 9971 if (typeof $length !== "number") |
9668 return H.iae($length); | 9972 return H.iae($length); |
9669 t1 = start > $length; | 9973 t1 = start > $length; |
9670 } else | 9974 } else |
9671 t1 = true; | 9975 t1 = true; |
9672 if (t1) | 9976 if (t1) |
9673 throw H.wrapException(P.RangeError$range(start, 0, $length, "start",
message)); | 9977 throw H.wrapException(P.RangeError$range(start, 0, $length, "start",
message)); |
9674 if (end != null) { | 9978 if (end != null) { |
9675 if (typeof end !== "number") | 9979 if (typeof end !== "number") |
9676 return H.iae(end); | 9980 return H.iae(end); |
9677 if (!(start > end)) { | 9981 if (!(start > end)) { |
9678 if (typeof $length !== "number") | 9982 if (typeof $length !== "number") |
9679 return H.iae($length); | 9983 return H.iae($length); |
9680 t1 = end > $length; | 9984 t1 = end > $length; |
9681 } else | 9985 } else |
9682 t1 = true; | 9986 t1 = true; |
9683 if (t1) | 9987 if (t1) |
9684 throw H.wrapException(P.RangeError$range(end, start, $length, "end
", message)); | 9988 throw H.wrapException(P.RangeError$range(end, start, $length, "end
", message)); |
9685 return end; | 9989 return end; |
9686 } | 9990 } |
9687 return $length; | 9991 return $length; |
9688 }} | 9992 } |
| 9993 } |
9689 }, | 9994 }, |
9690 IndexError: { | 9995 IndexError: { |
9691 "^": "ArgumentError;indexable,length>,_hasValue,invalidValue,name,message"
, | 9996 "^": "ArgumentError;indexable,length>,_hasValue,invalidValue,name,message"
, |
9692 get$_errorName: function() { | 9997 get$_errorName: function() { |
9693 return "RangeError"; | 9998 return "RangeError"; |
9694 }, | 9999 }, |
9695 get$_errorExplanation: function() { | 10000 get$_errorExplanation: function() { |
9696 if (J.$lt$n(this.invalidValue, 0)) | 10001 if (J.$lt$n(this.invalidValue, 0)) |
9697 return ": index must not be negative"; | 10002 return ": index must not be negative"; |
9698 var t1 = this.length; | 10003 var t1 = this.length; |
9699 if (J.$eq$(t1, 0)) | 10004 if (t1 === 0) |
9700 return ": no indices are valid"; | 10005 return ": no indices are valid"; |
9701 return ": index should be less than " + H.S(t1); | 10006 return ": index should be less than " + H.S(t1); |
9702 }, | 10007 }, |
9703 static: {IndexError$: function(invalidValue, indexable, $name, message, $l
ength) { | 10008 static: { |
| 10009 IndexError$: function(invalidValue, indexable, $name, message, $length)
{ |
9704 var t1 = $length != null ? $length : J.get$length$asx(indexable); | 10010 var t1 = $length != null ? $length : J.get$length$asx(indexable); |
9705 return new P.IndexError(indexable, t1, true, invalidValue, $name, "Ind
ex out of range"); | 10011 return new P.IndexError(indexable, t1, true, invalidValue, $name, "Ind
ex out of range"); |
9706 }} | 10012 } |
| 10013 } |
9707 }, | 10014 }, |
9708 NoSuchMethodError: { | 10015 NoSuchMethodError: { |
9709 "^": "Error;_core$_receiver,_memberName,_core$_arguments,_namedArguments,_
existingArgumentNames", | 10016 "^": "Error;_core$_receiver,_memberName,_core$_arguments,_namedArguments,_
existingArgumentNames", |
9710 toString$0: function(_) { | 10017 toString$0: function(_) { |
9711 var t1, sb, t2, t3, _i, argument, receiverText, actualParameters; | 10018 var t1, sb, t2, t3, _i, argument, receiverText, actualParameters; |
9712 t1 = {}; | 10019 t1 = {}; |
9713 sb = new P.StringBuffer(""); | 10020 sb = new P.StringBuffer(""); |
9714 t1.comma = ""; | 10021 t1.comma = ""; |
9715 for (t2 = this._core$_arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
{ | 10022 for (t2 = this._core$_arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
{ |
9716 argument = t2[_i]; | 10023 argument = t2[_i]; |
9717 sb._contents += t1.comma; | 10024 sb._contents += t1.comma; |
9718 sb._contents += H.S(P.Error_safeToString(argument)); | 10025 sb._contents += H.S(P.Error_safeToString(argument)); |
9719 t1.comma = ", "; | 10026 t1.comma = ", "; |
9720 } | 10027 } |
9721 this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closu
re(t1, sb)); | 10028 this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closu
re(t1, sb)); |
9722 receiverText = P.Error_safeToString(this._core$_receiver); | 10029 receiverText = P.Error_safeToString(this._core$_receiver); |
9723 actualParameters = H.S(sb); | 10030 actualParameters = H.S(sb); |
9724 return "NoSuchMethodError: method not found: '" + H.S(this._memberName._
_internal$_name) + "'\nReceiver: " + H.S(receiverText) + "\nArguments: [" + actu
alParameters + "]"; | 10031 return "NoSuchMethodError: method not found: '" + H.S(this._memberName._
_internal$_name) + "'\nReceiver: " + H.S(receiverText) + "\nArguments: [" + actu
alParameters + "]"; |
9725 }, | 10032 }, |
9726 static: {NoSuchMethodError$: function(receiver, memberName, positionalArgu
ments, namedArguments, existingArgumentNames) { | 10033 static: { |
| 10034 NoSuchMethodError$: function(receiver, memberName, positionalArguments,
namedArguments, existingArgumentNames) { |
9727 return new P.NoSuchMethodError(receiver, memberName, positionalArgumen
ts, namedArguments, existingArgumentNames); | 10035 return new P.NoSuchMethodError(receiver, memberName, positionalArgumen
ts, namedArguments, existingArgumentNames); |
9728 }} | 10036 } |
| 10037 } |
9729 }, | 10038 }, |
9730 UnsupportedError: { | 10039 UnsupportedError: { |
9731 "^": "Error;message>", | 10040 "^": "Error;message>", |
9732 toString$0: function(_) { | 10041 toString$0: function(_) { |
9733 return "Unsupported operation: " + this.message; | 10042 return "Unsupported operation: " + this.message; |
9734 } | 10043 } |
9735 }, | 10044 }, |
9736 UnimplementedError: { | 10045 UnimplementedError: { |
9737 "^": "Error;message>", | 10046 "^": "Error;message>", |
9738 toString$0: function(_) { | 10047 toString$0: function(_) { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9843 if (!(i < t2)) | 10152 if (!(i < t2)) |
9844 break; | 10153 break; |
9845 $char = t1.codeUnitAt$1(source, i); | 10154 $char = t1.codeUnitAt$1(source, i); |
9846 if ($char === 10 || $char === 13) { | 10155 if ($char === 10 || $char === 13) { |
9847 lineEnd = i; | 10156 lineEnd = i; |
9848 break; | 10157 break; |
9849 } | 10158 } |
9850 ++i; | 10159 ++i; |
9851 } | 10160 } |
9852 t2 = J.getInterceptor$n(lineEnd); | 10161 t2 = J.getInterceptor$n(lineEnd); |
9853 if (J.$gt$n(t2.$sub(lineEnd, lineStart), 78)) | 10162 if (t2.$sub(lineEnd, lineStart) > 78) |
9854 if (offset - lineStart < 75) { | 10163 if (offset - lineStart < 75) { |
9855 end = lineStart + 75; | 10164 end = lineStart + 75; |
9856 start = lineStart; | 10165 start = lineStart; |
9857 prefix = ""; | 10166 prefix = ""; |
9858 postfix = "..."; | 10167 postfix = "..."; |
9859 } else { | 10168 } else { |
9860 if (J.$lt$n(t2.$sub(lineEnd, offset), 75)) { | 10169 if (t2.$sub(lineEnd, offset) < 75) { |
9861 start = t2.$sub(lineEnd, 75); | 10170 start = t2.$sub(lineEnd, 75); |
9862 end = lineEnd; | 10171 end = lineEnd; |
9863 postfix = ""; | 10172 postfix = ""; |
9864 } else { | 10173 } else { |
9865 start = offset - 36; | 10174 start = offset - 36; |
9866 end = offset + 36; | 10175 end = offset + 36; |
9867 postfix = "..."; | 10176 postfix = "..."; |
9868 } | 10177 } |
9869 prefix = "..."; | 10178 prefix = "..."; |
9870 } | 10179 } |
9871 else { | 10180 else { |
9872 end = lineEnd; | 10181 end = lineEnd; |
9873 start = lineStart; | 10182 start = lineStart; |
9874 prefix = ""; | 10183 prefix = ""; |
9875 postfix = ""; | 10184 postfix = ""; |
9876 } | 10185 } |
9877 slice = t1.substring$2(source, start, end); | 10186 slice = t1.substring$2(source, start, end); |
9878 if (typeof start !== "number") | |
9879 return H.iae(start); | |
9880 return report + prefix + slice + postfix + "\n" + C.JSString_methods.$mu
l(" ", offset - start + prefix.length) + "^\n"; | 10187 return report + prefix + slice + postfix + "\n" + C.JSString_methods.$mu
l(" ", offset - start + prefix.length) + "^\n"; |
9881 } | 10188 } |
9882 }, | 10189 }, |
9883 IntegerDivisionByZeroException: { | 10190 IntegerDivisionByZeroException: { |
9884 "^": "Object;", | 10191 "^": "Object;", |
9885 toString$0: function(_) { | 10192 toString$0: function(_) { |
9886 return "IntegerDivisionByZeroException"; | 10193 return "IntegerDivisionByZeroException"; |
9887 } | 10194 } |
9888 }, | 10195 }, |
9889 Expando: { | 10196 Expando: { |
9890 "^": "Object;name", | 10197 "^": "Object;name,_jsWeakMapOrKey", |
9891 toString$0: function(_) { | 10198 toString$0: function(_) { |
9892 return "Expando:" + H.S(this.name); | 10199 return "Expando:" + H.S(this.name); |
9893 }, | 10200 }, |
9894 $index: function(_, object) { | 10201 $index: function(_, object) { |
9895 var values = H.Primitives_getProperty(object, "expando$values"); | 10202 var t1, values; |
9896 return values == null ? null : H.Primitives_getProperty(values, this._ge
tKey$0()); | 10203 t1 = this._jsWeakMapOrKey; |
| 10204 if (typeof t1 !== "string") { |
| 10205 if (object == null || typeof object === "boolean" || typeof object ===
"number" || typeof object === "string") |
| 10206 H.throwExpression(P.ArgumentError$value(object, "Expandos are not al
lowed on strings, numbers, booleans or null", null)); |
| 10207 return t1.get(object); |
| 10208 } |
| 10209 values = H.Primitives_getProperty(object, "expando$values"); |
| 10210 return values == null ? null : H.Primitives_getProperty(values, t1); |
9897 }, | 10211 }, |
9898 $indexSet: function(_, object, value) { | 10212 $indexSet: function(_, object, value) { |
9899 var values = H.Primitives_getProperty(object, "expando$values"); | 10213 var t1, values; |
9900 if (values == null) { | 10214 t1 = this._jsWeakMapOrKey; |
9901 values = new P.Object(); | 10215 if (typeof t1 !== "string") |
9902 H.Primitives_setProperty(object, "expando$values", values); | 10216 t1.set(object, value); |
| 10217 else { |
| 10218 values = H.Primitives_getProperty(object, "expando$values"); |
| 10219 if (values == null) { |
| 10220 values = new P.Object(); |
| 10221 H.Primitives_setProperty(object, "expando$values", values); |
| 10222 } |
| 10223 H.Primitives_setProperty(values, t1, value); |
9903 } | 10224 } |
9904 H.Primitives_setProperty(values, this._getKey$0(), value); | |
9905 }, | |
9906 _getKey$0: function() { | |
9907 var key, t1; | |
9908 key = H.Primitives_getProperty(this, "expando$key"); | |
9909 if (key == null) { | |
9910 t1 = $.Expando__keyCount; | |
9911 $.Expando__keyCount = t1 + 1; | |
9912 key = "expando$key$" + t1; | |
9913 H.Primitives_setProperty(this, "expando$key", key); | |
9914 } | |
9915 return key; | |
9916 } | 10225 } |
9917 }, | 10226 }, |
9918 $int: { | 10227 $int: { |
9919 "^": "num;" | 10228 "^": "num;" |
9920 }, | 10229 }, |
9921 "+int": 0, | 10230 "+int": 0, |
9922 Iterable: { | 10231 Iterable: { |
9923 "^": "Object;", | 10232 "^": "Object;", |
9924 map$1: function(_, f) { | 10233 map$1: function(_, f) { |
9925 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument
(this, "Iterable", 0), null); | 10234 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument
(this, "Iterable", 0), null); |
9926 }, | 10235 }, |
9927 where$1: ["super$Iterable$where", function(_, f) { | 10236 where$1: ["super$Iterable$where", function(_, test) { |
9928 return H.setRuntimeTypeInfo(new H.WhereIterable(this, f), [H.getRuntimeT
ypeArgument(this, "Iterable", 0)]); | 10237 return H.setRuntimeTypeInfo(new H.WhereIterable(this, test), [H.getRunti
meTypeArgument(this, "Iterable", 0)]); |
9929 }], | 10238 }], |
9930 contains$1: function(_, element) { | 10239 contains$1: function(_, element) { |
9931 var t1; | 10240 var t1; |
9932 for (t1 = this.get$iterator(this); t1.moveNext$0();) | 10241 for (t1 = this.get$iterator(this); t1.moveNext$0();) |
9933 if (J.$eq$(t1.get$current(), element)) | 10242 if (J.$eq$(t1.get$current(), element)) |
9934 return true; | 10243 return true; |
9935 return false; | 10244 return false; |
9936 }, | 10245 }, |
9937 forEach$1: function(_, f) { | 10246 forEach$1: function(_, f) { |
9938 var t1; | 10247 var t1; |
(...skipping 10 matching lines...) Expand all Loading... |
9949 var it, count; | 10258 var it, count; |
9950 it = this.get$iterator(this); | 10259 it = this.get$iterator(this); |
9951 for (count = 0; it.moveNext$0();) | 10260 for (count = 0; it.moveNext$0();) |
9952 ++count; | 10261 ++count; |
9953 return count; | 10262 return count; |
9954 }, | 10263 }, |
9955 get$isEmpty: function(_) { | 10264 get$isEmpty: function(_) { |
9956 return !this.get$iterator(this).moveNext$0(); | 10265 return !this.get$iterator(this).moveNext$0(); |
9957 }, | 10266 }, |
9958 get$isNotEmpty: function(_) { | 10267 get$isNotEmpty: function(_) { |
9959 return this.get$isEmpty(this) !== true; | 10268 return !this.get$isEmpty(this); |
9960 }, | 10269 }, |
9961 skipWhile$1: ["super$Iterable$skipWhile", function(_, test) { | 10270 skipWhile$1: ["super$Iterable$skipWhile", function(_, test) { |
9962 return H.setRuntimeTypeInfo(new H.SkipWhileIterable(this, test), [H.getR
untimeTypeArgument(this, "Iterable", 0)]); | 10271 return H.setRuntimeTypeInfo(new H.SkipWhileIterable(this, test), [H.getR
untimeTypeArgument(this, "Iterable", 0)]); |
9963 }], | 10272 }], |
9964 get$first: function(_) { | 10273 get$first: function(_) { |
9965 var it = this.get$iterator(this); | 10274 var it = this.get$iterator(this); |
9966 if (!it.moveNext$0()) | 10275 if (!it.moveNext$0()) |
9967 throw H.wrapException(H.IterableElementError_noElement()); | 10276 throw H.wrapException(H.IterableElementError_noElement()); |
9968 return it.get$current(); | 10277 return it.get$current(); |
9969 }, | 10278 }, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10060 write$1: function(obj) { | 10369 write$1: function(obj) { |
10061 this._contents += H.S(obj); | 10370 this._contents += H.S(obj); |
10062 }, | 10371 }, |
10063 writeCharCode$1: function(charCode) { | 10372 writeCharCode$1: function(charCode) { |
10064 this._contents += H.Primitives_stringFromCharCode(charCode); | 10373 this._contents += H.Primitives_stringFromCharCode(charCode); |
10065 }, | 10374 }, |
10066 toString$0: function(_) { | 10375 toString$0: function(_) { |
10067 var t1 = this._contents; | 10376 var t1 = this._contents; |
10068 return t1.charCodeAt(0) == 0 ? t1 : t1; | 10377 return t1.charCodeAt(0) == 0 ? t1 : t1; |
10069 }, | 10378 }, |
10070 static: {StringBuffer__writeAll: function(string, objects, separator) { | 10379 static: { |
| 10380 StringBuffer__writeAll: function(string, objects, separator) { |
10071 var iterator = J.get$iterator$ax(objects); | 10381 var iterator = J.get$iterator$ax(objects); |
10072 if (!iterator.moveNext$0()) | 10382 if (!iterator.moveNext$0()) |
10073 return string; | 10383 return string; |
10074 if (separator.length === 0) { | 10384 if (separator.length === 0) { |
10075 do | 10385 do |
10076 string += H.S(iterator.get$current()); | 10386 string += H.S(iterator.get$current()); |
10077 while (iterator.moveNext$0()); | 10387 while (iterator.moveNext$0()); |
10078 } else { | 10388 } else { |
10079 string += H.S(iterator.get$current()); | 10389 string += H.S(iterator.get$current()); |
10080 for (; iterator.moveNext$0();) | 10390 for (; iterator.moveNext$0();) |
10081 string = string + separator + H.S(iterator.get$current()); | 10391 string = string + separator + H.S(iterator.get$current()); |
10082 } | 10392 } |
10083 return string; | 10393 return string; |
10084 }} | 10394 } |
| 10395 } |
10085 }, | 10396 }, |
10086 Symbol: { | 10397 Symbol: { |
10087 "^": "Object;" | 10398 "^": "Object;" |
10088 }, | 10399 }, |
10089 Uri: { | 10400 Uri: { |
10090 "^": "Object;scheme,_userInfo,_host,_port,_path,_query,_fragment,_pathSegm
ents,_queryParameters", | 10401 "^": "Object;scheme,_userInfo,_host,_port,_path,_query,_fragment,_pathSegm
ents,_queryParameters,_queryParameterLists", |
10091 get$host: function(_) { | 10402 get$host: function(_) { |
10092 var t1 = this._host; | 10403 var t1 = this._host; |
10093 if (t1 == null) | 10404 if (t1 == null) |
10094 return ""; | 10405 return ""; |
10095 if (J.getInterceptor$s(t1).startsWith$1(t1, "[")) | 10406 if (J.getInterceptor$s(t1).startsWith$1(t1, "[")) |
10096 return C.JSString_methods.substring$2(t1, 1, t1.length - 1); | 10407 return C.JSString_methods.substring$2(t1, 1, t1.length - 1); |
10097 return t1; | 10408 return t1; |
10098 }, | 10409 }, |
10099 get$port: function(_) { | 10410 get$port: function(_) { |
10100 var t1 = this._port; | 10411 var t1 = this._port; |
10101 if (t1 == null) | 10412 if (t1 == null) |
10102 return P.Uri__defaultPort(this.scheme); | 10413 return P.Uri__defaultPort(this.scheme); |
10103 return t1; | 10414 return t1; |
10104 }, | 10415 }, |
10105 get$pathSegments: function() { | 10416 get$pathSegments: function() { |
10106 var result, pathToSplit; | 10417 var result, pathToSplit; |
10107 result = this._pathSegments; | 10418 result = this._pathSegments; |
10108 if (result != null) | 10419 if (result != null) |
10109 return result; | 10420 return result; |
10110 pathToSplit = this._path; | 10421 pathToSplit = this._path; |
10111 if (pathToSplit.length !== 0 && C.JSString_methods.codeUnitAt$1(pathToSp
lit, 0) === 47) | 10422 if (pathToSplit.length !== 0 && C.JSString_methods.codeUnitAt$1(pathToSp
lit, 0) === 47) |
10112 pathToSplit = C.JSString_methods.substring$1(pathToSplit, 1); | 10423 pathToSplit = C.JSString_methods.substring$1(pathToSplit, 1); |
10113 result = pathToSplit === "" ? C.List_empty : J.JSArray_markUnmodifiableL
ist(P.List_List$from(H.setRuntimeTypeInfo(new H.MappedListIterable(pathToSplit.s
plit("/"), P.core_Uri_decodeComponent$closure()), [null, null]), false, P.String
)); | 10424 result = pathToSplit === "" ? C.List_empty : P.List_List$unmodifiable(H.
setRuntimeTypeInfo(new H.MappedListIterable(pathToSplit.split("/"), P.core_Uri_d
ecodeComponent$closure()), [null, null]), P.String); |
10114 this._pathSegments = result; | 10425 this._pathSegments = result; |
10115 return result; | 10426 return result; |
10116 }, | 10427 }, |
10117 _mergePaths$2: function(base, reference) { | 10428 _mergePaths$2: function(base, reference) { |
10118 var backCount, refStart, baseEnd, newEnd, delta, t1; | 10429 var backCount, refStart, baseEnd, newEnd, delta, t1; |
10119 for (backCount = 0, refStart = 0; C.JSString_methods.startsWith$2(refere
nce, "../", refStart);) { | 10430 for (backCount = 0, refStart = 0; C.JSString_methods.startsWith$2(refere
nce, "../", refStart);) { |
10120 refStart += 3; | 10431 refStart += 3; |
10121 ++backCount; | 10432 ++backCount; |
10122 } | 10433 } |
10123 baseEnd = C.JSString_methods.lastIndexOf$1(base, "/"); | 10434 baseEnd = C.JSString_methods.lastIndexOf$1(base, "/"); |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10273 var t1, t2, t3, t4, t5; | 10584 var t1, t2, t3, t4, t5; |
10274 t1 = new P.Uri_hashCode_combine(); | 10585 t1 = new P.Uri_hashCode_combine(); |
10275 t2 = this.get$host(this); | 10586 t2 = this.get$host(this); |
10276 t3 = this.get$port(this); | 10587 t3 = this.get$port(this); |
10277 t4 = this._query; | 10588 t4 = this._query; |
10278 if (t4 == null) | 10589 if (t4 == null) |
10279 t4 = ""; | 10590 t4 = ""; |
10280 t5 = this._fragment; | 10591 t5 = this._fragment; |
10281 return t1.call$2(this.scheme, t1.call$2(this._userInfo, t1.call$2(t2, t1
.call$2(t3, t1.call$2(this._path, t1.call$2(t4, t1.call$2(t5 == null ? "" : t5,
1))))))); | 10592 return t1.call$2(this.scheme, t1.call$2(this._userInfo, t1.call$2(t2, t1
.call$2(t3, t1.call$2(this._path, t1.call$2(t4, t1.call$2(t5 == null ? "" : t5,
1))))))); |
10282 }, | 10593 }, |
10283 static: {Uri_Uri: function(fragment, host, path, pathSegments, port, query
, queryParameters, scheme, userInfo) { | 10594 static: { |
| 10595 Uri_Uri: function(fragment, host, path, pathSegments, port, query, query
Parameters, scheme, userInfo) { |
10284 var isFile, t1, t2; | 10596 var isFile, t1, t2; |
10285 scheme = P.Uri__makeScheme(scheme, 0, scheme.length); | 10597 scheme = P.Uri__makeScheme(scheme, 0, scheme.length); |
10286 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); | 10598 userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length); |
10287 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(ho
st), false); | 10599 host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(ho
st), false); |
10288 query = P.Uri__makeQuery(query, 0, 0, queryParameters); | 10600 query = P.Uri__makeQuery(query, 0, 0, queryParameters); |
10289 fragment = P.Uri__makeFragment(fragment, 0, 0); | 10601 fragment = P.Uri__makeFragment(fragment, 0, 0); |
10290 port = P.Uri__makePort(port, scheme); | 10602 port = P.Uri__makePort(port, scheme); |
10291 isFile = scheme === "file"; | 10603 isFile = scheme === "file"; |
10292 if (host == null) | 10604 if (host == null) |
10293 t1 = userInfo.length !== 0 || port != null || isFile; | 10605 t1 = userInfo.length !== 0 || port != null || isFile; |
10294 else | 10606 else |
10295 t1 = false; | 10607 t1 = false; |
10296 if (t1) | 10608 if (t1) |
10297 host = ""; | 10609 host = ""; |
10298 t1 = host == null; | 10610 t1 = host == null; |
10299 t2 = path == null ? 0 : path.length; | 10611 t2 = path == null ? 0 : path.length; |
10300 path = P.Uri__makePath(path, 0, t2, pathSegments, scheme, !t1); | 10612 path = P.Uri__makePath(path, 0, t2, pathSegments, scheme, !t1); |
10301 return new P.Uri(scheme, userInfo, host, port, scheme.length === 0 &&
t1 && !C.JSString_methods.startsWith$1(path, "/") ? P.Uri__normalizeRelativePath
(path) : P.Uri__removeDotSegments(path), query, fragment, null, null); | 10613 return new P.Uri(scheme, userInfo, host, port, scheme.length === 0 &&
t1 && !C.JSString_methods.startsWith$1(path, "/") ? P.Uri__normalizeRelativePath
(path) : P.Uri__removeDotSegments(path), query, fragment, null, null, null); |
10302 }, Uri__defaultPort: function(scheme) { | 10614 }, |
| 10615 Uri__defaultPort: function(scheme) { |
10303 if (scheme === "http") | 10616 if (scheme === "http") |
10304 return 80; | 10617 return 80; |
10305 if (scheme === "https") | 10618 if (scheme === "https") |
10306 return 443; | 10619 return 443; |
10307 return 0; | 10620 return 0; |
10308 }, Uri_parse: function(uri, start, end) { | 10621 }, |
10309 var t1, pathStart, state, t2, i, t3, $char, index, path, numberSignInd
ex, t4, query, fragment; | 10622 Uri_parse: function(uri, start, end) { |
| 10623 var t1, pathStart, state, t2, i, t3, $char, index, path, numberSignInd
ex, query, fragment; |
10310 t1 = {}; | 10624 t1 = {}; |
10311 t1.end = end; | 10625 t1.end = end; |
10312 t1.scheme = ""; | 10626 t1.scheme = ""; |
10313 t1.userinfo = ""; | 10627 t1.userinfo = ""; |
10314 t1.host = null; | 10628 t1.host = null; |
10315 t1.port = null; | 10629 t1.port = null; |
10316 t1.end = J.get$length$asx(uri); | 10630 t1.end = J.get$length$asx(uri); |
10317 t1.index = start; | 10631 t1.index = start; |
10318 t1.$char = -1; | 10632 t1.$char = -1; |
10319 t2 = J.getInterceptor$s(uri); | 10633 t2 = J.getInterceptor$s(uri); |
(...skipping 17 matching lines...) Expand all Loading... |
10337 if ($char === 47) { | 10651 if ($char === 47) { |
10338 state = i === start ? 2 : 1; | 10652 state = i === start ? 2 : 1; |
10339 pathStart = start; | 10653 pathStart = start; |
10340 break; | 10654 break; |
10341 } | 10655 } |
10342 if ($char === 58) { | 10656 if ($char === 58) { |
10343 if (i === start) | 10657 if (i === start) |
10344 P.Uri__fail(uri, start, "Invalid empty scheme"); | 10658 P.Uri__fail(uri, start, "Invalid empty scheme"); |
10345 t1.scheme = P.Uri__makeScheme(uri, start, i); | 10659 t1.scheme = P.Uri__makeScheme(uri, start, i); |
10346 ++i; | 10660 ++i; |
| 10661 if (t1.scheme === "data") |
| 10662 return P.UriData__parse(uri, i, null).get$uri(); |
10347 if (i === t1.end) { | 10663 if (i === t1.end) { |
10348 t1.$char = -1; | 10664 t1.$char = -1; |
10349 state = 0; | 10665 state = 0; |
10350 } else { | 10666 } else { |
10351 $char = t2.codeUnitAt$1(uri, i); | 10667 $char = t2.codeUnitAt$1(uri, i); |
10352 t1.$char = $char; | 10668 t1.$char = $char; |
10353 if ($char === 63 || $char === 35) | 10669 if ($char === 63 || $char === 35) |
10354 state = 0; | 10670 state = 0; |
10355 else | 10671 else |
10356 state = $char === 47 ? 2 : 1; | 10672 state = $char === 47 ? 2 : 1; |
10357 } | 10673 } |
10358 pathStart = i; | 10674 pathStart = i; |
10359 break; | 10675 break; |
10360 } | 10676 } |
10361 ++i; | 10677 ++i; |
10362 t1.$char = -1; | 10678 t1.$char = -1; |
10363 } | 10679 } |
10364 t1.index = i; | 10680 t1.index = i; |
10365 if (state === 2) { | 10681 if (state === 2) { |
10366 index = i + 1; | 10682 index = i + 1; |
10367 t1.index = index; | 10683 t1.index = index; |
10368 if (index === t1.end) { | 10684 if (index === t1.end) { |
10369 t1.$char = -1; | 10685 t1.$char = -1; |
10370 state = 0; | 10686 state = 0; |
10371 } else { | 10687 } else { |
10372 $char = t2.codeUnitAt$1(uri, t1.index); | 10688 $char = t2.codeUnitAt$1(uri, index); |
10373 t1.$char = $char; | 10689 t1.$char = $char; |
10374 if ($char === 47) { | 10690 if ($char === 47) { |
10375 t1.index = J.$add$ns(t1.index, 1); | 10691 t1.index = J.$add$ns(t1.index, 1); |
10376 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); | 10692 new P.Uri_parse_parseAuth(t1, uri, -1).call$0(); |
10377 pathStart = t1.index; | 10693 pathStart = t1.index; |
10378 } | 10694 } |
10379 t3 = t1.$char; | 10695 t3 = t1.$char; |
10380 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; | 10696 state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1; |
10381 } | 10697 } |
10382 } | 10698 } |
10383 if (state === 1) | 10699 if (state === 1) |
10384 for (; index = J.$add$ns(t1.index, 1), t1.index = index, J.$lt$n(ind
ex, t1.end);) { | 10700 while (true) { |
10385 $char = t2.codeUnitAt$1(uri, t1.index); | 10701 index = J.$add$ns(t1.index, 1); |
| 10702 t1.index = index; |
| 10703 t3 = t1.end; |
| 10704 if (typeof t3 !== "number") |
| 10705 return H.iae(t3); |
| 10706 if (!(index < t3)) |
| 10707 break; |
| 10708 $char = t2.codeUnitAt$1(uri, index); |
10386 t1.$char = $char; | 10709 t1.$char = $char; |
10387 if ($char === 63 || $char === 35) | 10710 if ($char === 63 || $char === 35) |
10388 break; | 10711 break; |
10389 t1.$char = -1; | 10712 t1.$char = -1; |
10390 } | 10713 } |
10391 t3 = t1.host; | 10714 t3 = t1.host; |
10392 path = P.Uri__makePath(uri, pathStart, t1.index, null, t1.scheme, t3 !
= null); | 10715 path = P.Uri__makePath(uri, pathStart, t1.index, null, t1.scheme, t3 !
= null); |
10393 t3 = t1.$char; | 10716 t3 = t1.$char; |
10394 if (t3 === 63) { | 10717 if (t3 === 63) { |
10395 i = J.$add$ns(t1.index, 1); | 10718 i = J.$add$ns(t1.index, 1); |
10396 while (true) { | 10719 while (true) { |
10397 t3 = J.getInterceptor$n(i); | 10720 t3 = t1.end; |
10398 if (!t3.$lt(i, t1.end)) { | 10721 if (typeof t3 !== "number") |
| 10722 return H.iae(t3); |
| 10723 if (!(i < t3)) { |
10399 numberSignIndex = -1; | 10724 numberSignIndex = -1; |
10400 break; | 10725 break; |
10401 } | 10726 } |
10402 if (t2.codeUnitAt$1(uri, i) === 35) { | 10727 if (t2.codeUnitAt$1(uri, i) === 35) { |
10403 numberSignIndex = i; | 10728 numberSignIndex = i; |
10404 break; | 10729 break; |
10405 } | 10730 } |
10406 i = t3.$add(i, 1); | 10731 ++i; |
10407 } | 10732 } |
10408 t2 = J.getInterceptor$n(numberSignIndex); | 10733 t2 = t1.index; |
10409 t3 = t2.$lt(numberSignIndex, 0); | 10734 if (numberSignIndex < 0) { |
10410 t4 = t1.index; | 10735 query = P.Uri__makeQuery(uri, J.$add$ns(t2, 1), t1.end, null); |
10411 if (t3) { | |
10412 query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), t1.end, null); | |
10413 fragment = null; | 10736 fragment = null; |
10414 } else { | 10737 } else { |
10415 query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), numberSignIndex, n
ull); | 10738 query = P.Uri__makeQuery(uri, J.$add$ns(t2, 1), numberSignIndex, n
ull); |
10416 fragment = P.Uri__makeFragment(uri, t2.$add(numberSignIndex, 1), t
1.end); | 10739 fragment = P.Uri__makeFragment(uri, numberSignIndex + 1, t1.end); |
10417 } | 10740 } |
10418 } else { | 10741 } else { |
10419 fragment = t3 === 35 ? P.Uri__makeFragment(uri, J.$add$ns(t1.index,
1), t1.end) : null; | 10742 fragment = t3 === 35 ? P.Uri__makeFragment(uri, J.$add$ns(t1.index,
1), t1.end) : null; |
10420 query = null; | 10743 query = null; |
10421 } | 10744 } |
10422 return new P.Uri(t1.scheme, t1.userinfo, t1.host, t1.port, path, query
, fragment, null, null); | 10745 return new P.Uri(t1.scheme, t1.userinfo, t1.host, t1.port, path, query
, fragment, null, null, null); |
10423 }, Uri__fail: function(uri, index, message) { | 10746 }, |
| 10747 Uri__fail: function(uri, index, message) { |
10424 throw H.wrapException(new P.FormatException(message, uri, index)); | 10748 throw H.wrapException(new P.FormatException(message, uri, index)); |
10425 }, Uri_Uri$file: function(path, windows) { | 10749 }, |
| 10750 Uri_Uri$file: function(path, windows) { |
10426 return windows ? P.Uri__makeWindowsFileUrl(path, false) : P.Uri__makeF
ileUri(path, false); | 10751 return windows ? P.Uri__makeWindowsFileUrl(path, false) : P.Uri__makeF
ileUri(path, false); |
10427 }, Uri_base: function() { | 10752 }, |
| 10753 Uri_base: function() { |
10428 var uri = H.Primitives_currentUri(); | 10754 var uri = H.Primitives_currentUri(); |
10429 if (uri != null) | 10755 if (uri != null) |
10430 return P.Uri_parse(uri, 0, null); | 10756 return P.Uri_parse(uri, 0, null); |
10431 throw H.wrapException(new P.UnsupportedError("'Uri.base' is not suppor
ted")); | 10757 throw H.wrapException(new P.UnsupportedError("'Uri.base' is not suppor
ted")); |
10432 }, Uri__checkNonWindowsPathReservedCharacters: function(segments, argume
ntError) { | 10758 }, |
| 10759 Uri__checkNonWindowsPathReservedCharacters: function(segments, argumentE
rror) { |
10433 C.JSArray_methods.forEach$1(segments, new P.Uri__checkNonWindowsPathRe
servedCharacters_closure(false)); | 10760 C.JSArray_methods.forEach$1(segments, new P.Uri__checkNonWindowsPathRe
servedCharacters_closure(false)); |
10434 }, Uri__checkWindowsPathReservedCharacters: function(segments, argumentE
rror, firstSegment) { | 10761 }, |
| 10762 Uri__checkWindowsPathReservedCharacters: function(segments, argumentErro
r, firstSegment) { |
10435 var t1; | 10763 var t1; |
10436 for (t1 = H.SubListIterable$(segments, firstSegment, null, H.getTypeAr
gumentByIndex(segments, 0)), t1 = new H.ListIterator(t1, t1.get$length(t1), 0, n
ull); t1.moveNext$0();) | 10764 for (t1 = H.SubListIterable$(segments, firstSegment, null, H.getTypeAr
gumentByIndex(segments, 0)), t1 = new H.ListIterator(t1, t1.get$length(t1), 0, n
ull); t1.moveNext$0();) |
10437 if (J.contains$1$asx(t1._current, new H.JSSyntaxRegExp("[\"*/:<>?\\\
\|]", H.JSSyntaxRegExp_makeNative("[\"*/:<>?\\\\|]", false, true, false), null,
null)) === true) | 10765 if (J.contains$1$asx(t1._current, new H.JSSyntaxRegExp('["*/:<>?\\\\
|]', H.JSSyntaxRegExp_makeNative('["*/:<>?\\\\|]', false, true, false), null, nu
ll)) === true) |
10438 if (argumentError) | 10766 if (argumentError) |
10439 throw H.wrapException(P.ArgumentError$("Illegal character in pat
h")); | 10767 throw H.wrapException(P.ArgumentError$("Illegal character in pat
h")); |
10440 else | 10768 else |
10441 throw H.wrapException(new P.UnsupportedError("Illegal character
in path")); | 10769 throw H.wrapException(new P.UnsupportedError("Illegal character
in path")); |
10442 }, Uri__checkWindowsDriveLetter: function(charCode, argumentError) { | 10770 }, |
| 10771 Uri__checkWindowsDriveLetter: function(charCode, argumentError) { |
10443 var t1; | 10772 var t1; |
10444 if (!(65 <= charCode && charCode <= 90)) | 10773 if (!(65 <= charCode && charCode <= 90)) |
10445 t1 = 97 <= charCode && charCode <= 122; | 10774 t1 = 97 <= charCode && charCode <= 122; |
10446 else | 10775 else |
10447 t1 = true; | 10776 t1 = true; |
10448 if (t1) | 10777 if (t1) |
10449 return; | 10778 return; |
10450 if (argumentError) | 10779 if (argumentError) |
10451 throw H.wrapException(P.ArgumentError$("Illegal drive letter " + P.S
tring_String$fromCharCode(charCode))); | 10780 throw H.wrapException(P.ArgumentError$("Illegal drive letter " + P.S
tring_String$fromCharCode(charCode))); |
10452 else | 10781 else |
10453 throw H.wrapException(new P.UnsupportedError("Illegal drive letter "
+ P.String_String$fromCharCode(charCode))); | 10782 throw H.wrapException(new P.UnsupportedError("Illegal drive letter "
+ P.String_String$fromCharCode(charCode))); |
10454 }, Uri__makeFileUri: function(path, slashTerminated) { | 10783 }, |
| 10784 Uri__makeFileUri: function(path, slashTerminated) { |
10455 var t1, segments; | 10785 var t1, segments; |
10456 t1 = J.getInterceptor$s(path); | 10786 t1 = J.getInterceptor$s(path); |
10457 segments = t1.split$1(path, "/"); | 10787 segments = t1.split$1(path, "/"); |
10458 if (t1.startsWith$1(path, "/")) | 10788 if (t1.startsWith$1(path, "/")) |
10459 return P.Uri_Uri(null, null, null, segments, null, null, null, "file
", ""); | 10789 return P.Uri_Uri(null, null, null, segments, null, null, null, "file
", ""); |
10460 else | 10790 else |
10461 return P.Uri_Uri(null, null, null, segments, null, null, null, "", "
"); | 10791 return P.Uri_Uri(null, null, null, segments, null, null, null, "", "
"); |
10462 }, Uri__makeWindowsFileUrl: function(path, slashTerminated) { | 10792 }, |
| 10793 Uri__makeWindowsFileUrl: function(path, slashTerminated) { |
10463 var t1, pathSegments, pathStart, hostPart; | 10794 var t1, pathSegments, pathStart, hostPart; |
10464 t1 = J.getInterceptor$s(path); | 10795 t1 = J.getInterceptor$s(path); |
10465 if (t1.startsWith$1(path, "\\\\?\\")) | 10796 if (t1.startsWith$1(path, "\\\\?\\")) |
10466 if (t1.startsWith$2(path, "UNC\\", 4)) | 10797 if (t1.startsWith$2(path, "UNC\\", 4)) |
10467 path = t1.replaceRange$3(path, 0, 7, "\\"); | 10798 path = t1.replaceRange$3(path, 0, 7, "\\"); |
10468 else { | 10799 else { |
10469 path = t1.substring$1(path, 4); | 10800 path = t1.substring$1(path, 4); |
10470 if (path.length < 3 || C.JSString_methods.codeUnitAt$1(path, 1) !=
= 58 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92) | 10801 if (path.length < 3 || C.JSString_methods.codeUnitAt$1(path, 1) !=
= 58 || C.JSString_methods.codeUnitAt$1(path, 2) !== 92) |
10471 throw H.wrapException(P.ArgumentError$("Windows paths with \\\\?
\\ prefix must be absolute")); | 10802 throw H.wrapException(P.ArgumentError$("Windows paths with \\\\?
\\ prefix must be absolute")); |
10472 } | 10803 } |
(...skipping 19 matching lines...) Expand all Loading... |
10492 } else { | 10823 } else { |
10493 pathSegments = path.split("\\"); | 10824 pathSegments = path.split("\\"); |
10494 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); | 10825 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); |
10495 return P.Uri_Uri(null, null, null, pathSegments, null, null, null,
"file", ""); | 10826 return P.Uri_Uri(null, null, null, pathSegments, null, null, null,
"file", ""); |
10496 } | 10827 } |
10497 else { | 10828 else { |
10498 pathSegments = path.split("\\"); | 10829 pathSegments = path.split("\\"); |
10499 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); | 10830 P.Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); |
10500 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "
", ""); | 10831 return P.Uri_Uri(null, null, null, pathSegments, null, null, null, "
", ""); |
10501 } | 10832 } |
10502 }, Uri__makePort: function(port, scheme) { | 10833 }, |
| 10834 Uri__makePort: function(port, scheme) { |
10503 if (port != null && port === P.Uri__defaultPort(scheme)) | 10835 if (port != null && port === P.Uri__defaultPort(scheme)) |
10504 return; | 10836 return; |
10505 return port; | 10837 return port; |
10506 }, Uri__makeHost: function(host, start, end, strictIPv6) { | 10838 }, |
| 10839 Uri__makeHost: function(host, start, end, strictIPv6) { |
10507 var t1, t2, t3, i; | 10840 var t1, t2, t3, i; |
10508 if (host == null) | 10841 if (host == null) |
10509 return; | 10842 return; |
10510 t1 = J.getInterceptor(start); | 10843 t1 = J.getInterceptor(start); |
10511 if (t1.$eq(start, end)) | 10844 if (t1.$eq(start, end)) |
10512 return ""; | 10845 return ""; |
10513 t2 = J.getInterceptor$s(host); | 10846 t2 = J.getInterceptor$s(host); |
10514 if (t2.codeUnitAt$1(host, start) === 91) { | 10847 if (t2.codeUnitAt$1(host, start) === 91) { |
10515 t3 = J.getInterceptor$n(end); | 10848 t3 = J.getInterceptor$n(end); |
10516 if (t2.codeUnitAt$1(host, t3.$sub(end, 1)) !== 93) | 10849 if (t2.codeUnitAt$1(host, t3.$sub(end, 1)) !== 93) |
10517 P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); | 10850 P.Uri__fail(host, start, "Missing end `]` to match `[` in host"); |
10518 P.Uri_parseIPv6Address(host, t1.$add(start, 1), t3.$sub(end, 1)); | 10851 P.Uri_parseIPv6Address(host, t1.$add(start, 1), t3.$sub(end, 1)); |
10519 return t2.substring$2(host, start, end).toLowerCase(); | 10852 return t2.substring$2(host, start, end).toLowerCase(); |
10520 } | 10853 } |
10521 if (!strictIPv6) | 10854 if (!strictIPv6) |
10522 for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$
add(i, 1)) | 10855 for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$
add(i, 1)) |
10523 if (t2.codeUnitAt$1(host, i) === 58) { | 10856 if (t2.codeUnitAt$1(host, i) === 58) { |
10524 P.Uri_parseIPv6Address(host, start, end); | 10857 P.Uri_parseIPv6Address(host, start, end); |
10525 return "[" + H.S(host) + "]"; | 10858 return "[" + H.S(host) + "]"; |
10526 } | 10859 } |
10527 return P.Uri__normalizeRegName(host, start, end); | 10860 return P.Uri__normalizeRegName(host, start, end); |
10528 }, Uri__normalizeRegName: function(host, start, end) { | 10861 }, |
| 10862 Uri__normalizeRegName: function(host, start, end) { |
10529 var t1, index, sectionStart, buffer, isNormalized, t2, $char, replacem
ent, t3, slice, sourceLength, tail; | 10863 var t1, index, sectionStart, buffer, isNormalized, t2, $char, replacem
ent, t3, slice, sourceLength, tail; |
10530 for (t1 = J.getInterceptor$s(host), index = start, sectionStart = inde
x, buffer = null, isNormalized = true; t2 = J.getInterceptor$n(index), t2.$lt(in
dex, end);) { | 10864 for (t1 = J.getInterceptor$s(host), index = start, sectionStart = inde
x, buffer = null, isNormalized = true; t2 = J.getInterceptor$n(index), t2.$lt(in
dex, end);) { |
10531 $char = t1.codeUnitAt$1(host, index); | 10865 $char = t1.codeUnitAt$1(host, index); |
10532 if ($char === 37) { | 10866 if ($char === 37) { |
10533 replacement = P.Uri__normalizeEscape(host, index, true); | 10867 replacement = P.Uri__normalizeEscape(host, index, true); |
10534 t3 = replacement == null; | 10868 t3 = replacement == null; |
10535 if (t3 && isNormalized) { | 10869 if (t3 && isNormalized) { |
10536 index = t2.$add(index, 3); | 10870 index = t2.$add(index, 3); |
10537 continue; | 10871 continue; |
10538 } | 10872 } |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10608 } | 10942 } |
10609 } | 10943 } |
10610 if (buffer == null) | 10944 if (buffer == null) |
10611 return t1.substring$2(host, start, end); | 10945 return t1.substring$2(host, start, end); |
10612 if (J.$lt$n(sectionStart, end)) { | 10946 if (J.$lt$n(sectionStart, end)) { |
10613 slice = t1.substring$2(host, sectionStart, end); | 10947 slice = t1.substring$2(host, sectionStart, end); |
10614 buffer._contents += !isNormalized ? slice.toLowerCase() : slice; | 10948 buffer._contents += !isNormalized ? slice.toLowerCase() : slice; |
10615 } | 10949 } |
10616 t1 = buffer._contents; | 10950 t1 = buffer._contents; |
10617 return t1.charCodeAt(0) == 0 ? t1 : t1; | 10951 return t1.charCodeAt(0) == 0 ? t1 : t1; |
10618 }, Uri__makeScheme: function(scheme, start, end) { | 10952 }, |
| 10953 Uri__makeScheme: function(scheme, start, end) { |
10619 var t1, lowerCase, i, containsUpperCase, codeUnit, t2; | 10954 var t1, lowerCase, i, containsUpperCase, codeUnit, t2; |
10620 if (start === end) | 10955 if (start === end) |
10621 return ""; | 10956 return ""; |
10622 t1 = J.getInterceptor$s(scheme); | 10957 t1 = J.getInterceptor$s(scheme); |
10623 lowerCase = t1.codeUnitAt$1(scheme, start) | 32; | 10958 lowerCase = t1.codeUnitAt$1(scheme, start) | 32; |
10624 if (!(97 <= lowerCase && lowerCase <= 122)) | 10959 if (!(97 <= lowerCase && lowerCase <= 122)) |
10625 P.Uri__fail(scheme, start, "Scheme not starting with alphabetic char
acter"); | 10960 P.Uri__fail(scheme, start, "Scheme not starting with alphabetic char
acter"); |
10626 if (typeof end !== "number") | 10961 if (typeof end !== "number") |
10627 return H.iae(end); | 10962 return H.iae(end); |
10628 i = start; | 10963 i = start; |
10629 containsUpperCase = false; | 10964 containsUpperCase = false; |
10630 for (; i < end; ++i) { | 10965 for (; i < end; ++i) { |
10631 codeUnit = t1.codeUnitAt$1(scheme, i); | 10966 codeUnit = t1.codeUnitAt$1(scheme, i); |
10632 if (codeUnit < 128) { | 10967 if (codeUnit < 128) { |
10633 t2 = codeUnit >>> 4; | 10968 t2 = codeUnit >>> 4; |
10634 if (t2 >= 8) | 10969 if (t2 >= 8) |
10635 return H.ioore(C.List_JYB, t2); | 10970 return H.ioore(C.List_JYB, t2); |
10636 t2 = (C.List_JYB[t2] & C.JSInt_methods._shlPositive$1(1, codeUnit
& 15)) !== 0; | 10971 t2 = (C.List_JYB[t2] & C.JSInt_methods._shlPositive$1(1, codeUnit
& 15)) !== 0; |
10637 } else | 10972 } else |
10638 t2 = false; | 10973 t2 = false; |
10639 if (!t2) | 10974 if (!t2) |
10640 P.Uri__fail(scheme, i, "Illegal scheme character"); | 10975 P.Uri__fail(scheme, i, "Illegal scheme character"); |
10641 if (65 <= codeUnit && codeUnit <= 90) | 10976 if (65 <= codeUnit && codeUnit <= 90) |
10642 containsUpperCase = true; | 10977 containsUpperCase = true; |
10643 } | 10978 } |
10644 scheme = t1.substring$2(scheme, start, end); | 10979 scheme = t1.substring$2(scheme, start, end); |
10645 return containsUpperCase ? scheme.toLowerCase() : scheme; | 10980 return containsUpperCase ? scheme.toLowerCase() : scheme; |
10646 }, Uri__makeUserInfo: function(userInfo, start, end) { | 10981 }, |
| 10982 Uri__makeUserInfo: function(userInfo, start, end) { |
10647 if (userInfo == null) | 10983 if (userInfo == null) |
10648 return ""; | 10984 return ""; |
10649 return P.Uri__normalize(userInfo, start, end, C.List_gRj); | 10985 return P.Uri__normalize(userInfo, start, end, C.List_gRj); |
10650 }, Uri__makePath: function(path, start, end, pathSegments, scheme, hasAu
thority) { | 10986 }, |
| 10987 Uri__makePath: function(path, start, end, pathSegments, scheme, hasAutho
rity) { |
10651 var isFile, ensureLeadingSlash, t1, result; | 10988 var isFile, ensureLeadingSlash, t1, result; |
10652 isFile = scheme === "file"; | 10989 isFile = scheme === "file"; |
10653 ensureLeadingSlash = isFile || hasAuthority; | 10990 ensureLeadingSlash = isFile || hasAuthority; |
10654 t1 = path == null; | 10991 t1 = path == null; |
10655 if (t1 && pathSegments == null) | 10992 if (t1 && pathSegments == null) |
10656 return isFile ? "/" : ""; | 10993 return isFile ? "/" : ""; |
10657 t1 = !t1; | 10994 t1 = !t1; |
10658 if (t1 && pathSegments != null) | 10995 if (t1 && pathSegments != null) |
10659 throw H.wrapException(P.ArgumentError$("Both path and pathSegments s
pecified")); | 10996 throw H.wrapException(P.ArgumentError$("Both path and pathSegments s
pecified")); |
10660 if (t1) | 10997 if (t1) |
10661 result = P.Uri__normalize(path, start, end, C.List_qg4); | 10998 result = P.Uri__normalize(path, start, end, C.List_qg4); |
10662 else { | 10999 else { |
10663 pathSegments.toString; | 11000 pathSegments.toString; |
10664 result = H.setRuntimeTypeInfo(new H.MappedListIterable(pathSegments,
new P.Uri__makePath_closure()), [null, null]).join$1(0, "/"); | 11001 result = H.setRuntimeTypeInfo(new H.MappedListIterable(pathSegments,
new P.Uri__makePath_closure()), [null, null]).join$1(0, "/"); |
10665 } | 11002 } |
10666 if (result.length === 0) { | 11003 if (result.length === 0) { |
10667 if (isFile) | 11004 if (isFile) |
10668 return "/"; | 11005 return "/"; |
10669 } else if (ensureLeadingSlash && !C.JSString_methods.startsWith$1(resu
lt, "/")) | 11006 } else if (ensureLeadingSlash && !C.JSString_methods.startsWith$1(resu
lt, "/")) |
10670 result = "/" + result; | 11007 result = "/" + result; |
10671 return P.Uri__normalizePath(result, scheme, hasAuthority); | 11008 return P.Uri__normalizePath(result, scheme, hasAuthority); |
10672 }, Uri__normalizePath: function(path, scheme, hasAuthority) { | 11009 }, |
| 11010 Uri__normalizePath: function(path, scheme, hasAuthority) { |
10673 if (scheme.length === 0 && !hasAuthority && !C.JSString_methods.starts
With$1(path, "/")) | 11011 if (scheme.length === 0 && !hasAuthority && !C.JSString_methods.starts
With$1(path, "/")) |
10674 return P.Uri__normalizeRelativePath(path); | 11012 return P.Uri__normalizeRelativePath(path); |
10675 return P.Uri__removeDotSegments(path); | 11013 return P.Uri__removeDotSegments(path); |
10676 }, Uri__makeQuery: function(query, start, end, queryParameters) { | 11014 }, |
| 11015 Uri__makeQuery: function(query, start, end, queryParameters) { |
10677 var t1, t2, result; | 11016 var t1, t2, result; |
10678 t1 = {}; | 11017 t1 = {}; |
10679 t2 = query == null; | 11018 t2 = query == null; |
10680 if (t2 && true) | 11019 if (t2 && true) |
10681 return; | 11020 return; |
10682 t2 = !t2; | 11021 t2 = !t2; |
10683 if (t2) | 11022 t2; |
10684 ; | |
10685 if (t2) | 11023 if (t2) |
10686 return P.Uri__normalize(query, start, end, C.List_CVk); | 11024 return P.Uri__normalize(query, start, end, C.List_CVk); |
10687 result = new P.StringBuffer(""); | 11025 result = new P.StringBuffer(""); |
10688 t1.first = true; | 11026 t1.separator = ""; |
10689 C.JSNull_methods.forEach$1(queryParameters, new P.Uri__makeQuery_closu
re(t1, result)); | 11027 C.JSNull_methods.forEach$1(queryParameters, new P.Uri__makeQuery_closu
re(new P.Uri__makeQuery_writeParameter(t1, result))); |
10690 t1 = result._contents; | 11028 t1 = result._contents; |
10691 return t1.charCodeAt(0) == 0 ? t1 : t1; | 11029 return t1.charCodeAt(0) == 0 ? t1 : t1; |
10692 }, Uri__makeFragment: function(fragment, start, end) { | 11030 }, |
| 11031 Uri__makeFragment: function(fragment, start, end) { |
10693 if (fragment == null) | 11032 if (fragment == null) |
10694 return; | 11033 return; |
10695 return P.Uri__normalize(fragment, start, end, C.List_CVk); | 11034 return P.Uri__normalize(fragment, start, end, C.List_CVk); |
10696 }, Uri__normalizeEscape: function(source, index, lowerCase) { | 11035 }, |
| 11036 Uri__normalizeEscape: function(source, index, lowerCase) { |
10697 var t1, t2, firstDigit, secondDigit, firstDigitValue, secondDigitValue
, value, t3; | 11037 var t1, t2, firstDigit, secondDigit, firstDigitValue, secondDigitValue
, value, t3; |
10698 t1 = J.getInterceptor$ns(index); | 11038 t1 = J.getInterceptor$ns(index); |
10699 t2 = J.getInterceptor$asx(source); | 11039 t2 = J.getInterceptor$asx(source); |
10700 if (J.$ge$n(t1.$add(index, 2), t2.get$length(source))) | 11040 if (J.$ge$n(t1.$add(index, 2), t2.get$length(source))) |
10701 return "%"; | 11041 return "%"; |
10702 firstDigit = t2.codeUnitAt$1(source, t1.$add(index, 1)); | 11042 firstDigit = t2.codeUnitAt$1(source, t1.$add(index, 1)); |
10703 secondDigit = t2.codeUnitAt$1(source, t1.$add(index, 2)); | 11043 secondDigit = t2.codeUnitAt$1(source, t1.$add(index, 2)); |
10704 firstDigitValue = P.Uri__parseHexDigit(firstDigit); | 11044 firstDigitValue = P.Uri__parseHexDigit(firstDigit); |
10705 secondDigitValue = P.Uri__parseHexDigit(secondDigit); | 11045 secondDigitValue = P.Uri__parseHexDigit(secondDigit); |
10706 if (firstDigitValue < 0 || secondDigitValue < 0) | 11046 if (firstDigitValue < 0 || secondDigitValue < 0) |
10707 return "%"; | 11047 return "%"; |
10708 value = firstDigitValue * 16 + secondDigitValue; | 11048 value = firstDigitValue * 16 + secondDigitValue; |
10709 if (value < 127) { | 11049 if (value < 127) { |
10710 t3 = C.JSInt_methods._shrOtherPositive$1(value, 4); | 11050 t3 = C.JSInt_methods._shrOtherPositive$1(value, 4); |
10711 if (t3 >= 8) | 11051 if (t3 >= 8) |
10712 return H.ioore(C.List_nxB, t3); | 11052 return H.ioore(C.List_nxB, t3); |
10713 t3 = (C.List_nxB[t3] & C.JSInt_methods._shlPositive$1(1, value & 15)
) !== 0; | 11053 t3 = (C.List_nxB[t3] & C.JSInt_methods._shlPositive$1(1, value & 15)
) !== 0; |
10714 } else | 11054 } else |
10715 t3 = false; | 11055 t3 = false; |
10716 if (t3) | 11056 if (t3) |
10717 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 9
0 >= value ? (value | 32) >>> 0 : value); | 11057 return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 9
0 >= value ? (value | 32) >>> 0 : value); |
10718 if (firstDigit >= 97 || secondDigit >= 97) | 11058 if (firstDigit >= 97 || secondDigit >= 97) |
10719 return t2.substring$2(source, index, t1.$add(index, 3)).toUpperCase(
); | 11059 return t2.substring$2(source, index, t1.$add(index, 3)).toUpperCase(
); |
10720 return; | 11060 return; |
10721 }, Uri__parseHexDigit: function($char) { | 11061 }, |
| 11062 Uri__parseHexDigit: function($char) { |
10722 var digit, lowerCase; | 11063 var digit, lowerCase; |
10723 digit = $char ^ 48; | 11064 digit = $char ^ 48; |
10724 if (digit <= 9) | 11065 if (digit <= 9) |
10725 return digit; | 11066 return digit; |
10726 lowerCase = $char | 32; | 11067 lowerCase = $char | 32; |
10727 if (97 <= lowerCase && lowerCase <= 102) | 11068 if (97 <= lowerCase && lowerCase <= 102) |
10728 return lowerCase - 87; | 11069 return lowerCase - 87; |
10729 return -1; | 11070 return -1; |
10730 }, Uri__escapeChar: function($char) { | 11071 }, |
| 11072 Uri__escapeChar: function($char) { |
10731 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; | 11073 var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3; |
10732 if ($char < 128) { | 11074 if ($char < 128) { |
10733 codeUnits = new Array(3); | 11075 codeUnits = new Array(3); |
10734 codeUnits.fixed$length = Array; | 11076 codeUnits.fixed$length = Array; |
10735 codeUnits[0] = 37; | 11077 codeUnits[0] = 37; |
10736 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $
char >>> 4); | 11078 codeUnits[1] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $
char >>> 4); |
10737 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $
char & 15); | 11079 codeUnits[2] = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $
char & 15); |
10738 } else { | 11080 } else { |
10739 if ($char > 2047) | 11081 if ($char > 2047) |
10740 if ($char > 65535) { | 11082 if ($char > 65535) { |
(...skipping 22 matching lines...) Expand all Loading... |
10763 codeUnits[t2] = t3; | 11105 codeUnits[t2] = t3; |
10764 t3 = index + 2; | 11106 t3 = index + 2; |
10765 t2 = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 1
5); | 11107 t2 = C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", $byte & 1
5); |
10766 if (t3 >= t1) | 11108 if (t3 >= t1) |
10767 return H.ioore(codeUnits, t3); | 11109 return H.ioore(codeUnits, t3); |
10768 codeUnits[t3] = t2; | 11110 codeUnits[t3] = t2; |
10769 index += 3; | 11111 index += 3; |
10770 } | 11112 } |
10771 } | 11113 } |
10772 return P.String_String$fromCharCodes(codeUnits, 0, null); | 11114 return P.String_String$fromCharCodes(codeUnits, 0, null); |
10773 }, Uri__normalize: function(component, start, end, charTable) { | 11115 }, |
| 11116 Uri__normalize: function(component, start, end, charTable) { |
10774 var t1, index, sectionStart, buffer, t2, $char, t3, replacement, sourc
eLength, tail; | 11117 var t1, index, sectionStart, buffer, t2, $char, t3, replacement, sourc
eLength, tail; |
10775 for (t1 = J.getInterceptor$s(component), index = start, sectionStart =
index, buffer = null; t2 = J.getInterceptor$n(index), t2.$lt(index, end);) { | 11118 for (t1 = J.getInterceptor$s(component), index = start, sectionStart =
index, buffer = null; t2 = J.getInterceptor$n(index), t2.$lt(index, end);) { |
10776 $char = t1.codeUnitAt$1(component, index); | 11119 $char = t1.codeUnitAt$1(component, index); |
10777 if ($char < 127) { | 11120 if ($char < 127) { |
10778 t3 = $char >>> 4; | 11121 t3 = $char >>> 4; |
10779 if (t3 >= 8) | 11122 if (t3 >= 8) |
10780 return H.ioore(charTable, t3); | 11123 return H.ioore(charTable, t3); |
10781 t3 = (charTable[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15
)) !== 0; | 11124 t3 = (charTable[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15
)) !== 0; |
10782 } else | 11125 } else |
10783 t3 = false; | 11126 t3 = false; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10831 index = t2.$add(index, sourceLength); | 11174 index = t2.$add(index, sourceLength); |
10832 sectionStart = index; | 11175 sectionStart = index; |
10833 } | 11176 } |
10834 } | 11177 } |
10835 if (buffer == null) | 11178 if (buffer == null) |
10836 return t1.substring$2(component, start, end); | 11179 return t1.substring$2(component, start, end); |
10837 if (J.$lt$n(sectionStart, end)) | 11180 if (J.$lt$n(sectionStart, end)) |
10838 buffer._contents += t1.substring$2(component, sectionStart, end); | 11181 buffer._contents += t1.substring$2(component, sectionStart, end); |
10839 t1 = buffer._contents; | 11182 t1 = buffer._contents; |
10840 return t1.charCodeAt(0) == 0 ? t1 : t1; | 11183 return t1.charCodeAt(0) == 0 ? t1 : t1; |
10841 }, Uri__mayContainDotSegments: function(path) { | 11184 }, |
| 11185 Uri__mayContainDotSegments: function(path) { |
10842 if (C.JSString_methods.startsWith$1(path, ".")) | 11186 if (C.JSString_methods.startsWith$1(path, ".")) |
10843 return true; | 11187 return true; |
10844 return C.JSString_methods.indexOf$1(path, "/.") !== -1; | 11188 return C.JSString_methods.indexOf$1(path, "/.") !== -1; |
10845 }, Uri__removeDotSegments: function(path) { | 11189 }, |
| 11190 Uri__removeDotSegments: function(path) { |
10846 var output, t1, t2, appendSlash, _i, segment, t3; | 11191 var output, t1, t2, appendSlash, _i, segment, t3; |
10847 if (!P.Uri__mayContainDotSegments(path)) | 11192 if (!P.Uri__mayContainDotSegments(path)) |
10848 return path; | 11193 return path; |
10849 output = []; | 11194 output = []; |
10850 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0
; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1
), ++_i) { | 11195 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0
; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1
), ++_i) { |
10851 segment = t1[_i]; | 11196 segment = t1[_i]; |
10852 if (J.$eq$(segment, "..")) { | 11197 if (J.$eq$(segment, "..")) { |
10853 t3 = output.length; | 11198 t3 = output.length; |
10854 if (t3 !== 0) { | 11199 if (t3 !== 0) { |
10855 if (0 >= t3) | 11200 if (0 >= t3) |
10856 return H.ioore(output, -1); | 11201 return H.ioore(output, -1); |
10857 output.pop(); | 11202 output.pop(); |
10858 if (output.length === 0) | 11203 if (output.length === 0) |
10859 output.push(""); | 11204 output.push(""); |
10860 } | 11205 } |
10861 appendSlash = true; | 11206 appendSlash = true; |
10862 } else if ("." === segment) | 11207 } else if ("." === segment) |
10863 appendSlash = true; | 11208 appendSlash = true; |
10864 else { | 11209 else { |
10865 output.push(segment); | 11210 output.push(segment); |
10866 appendSlash = false; | 11211 appendSlash = false; |
10867 } | 11212 } |
10868 } | 11213 } |
10869 if (appendSlash) | 11214 if (appendSlash) |
10870 output.push(""); | 11215 output.push(""); |
10871 return C.JSArray_methods.join$1(output, "/"); | 11216 return C.JSArray_methods.join$1(output, "/"); |
10872 }, Uri__normalizeRelativePath: function(path) { | 11217 }, |
| 11218 Uri__normalizeRelativePath: function(path) { |
10873 var output, t1, t2, appendSlash, _i, segment; | 11219 var output, t1, t2, appendSlash, _i, segment; |
10874 if (!P.Uri__mayContainDotSegments(path)) | 11220 if (!P.Uri__mayContainDotSegments(path)) |
10875 return path; | 11221 return path; |
10876 output = []; | 11222 output = []; |
10877 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0
; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1
), ++_i) { | 11223 for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0
; _i < t1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1
), ++_i) { |
10878 segment = t1[_i]; | 11224 segment = t1[_i]; |
10879 if (".." === segment) | 11225 if (".." === segment) |
10880 if (output.length !== 0 && !J.$eq$(C.JSArray_methods.get$last(outp
ut), "..")) { | 11226 if (output.length !== 0 && !J.$eq$(C.JSArray_methods.get$last(outp
ut), "..")) { |
10881 if (0 >= output.length) | 11227 if (0 >= output.length) |
10882 return H.ioore(output, -1); | 11228 return H.ioore(output, -1); |
(...skipping 18 matching lines...) Expand all Loading... |
10901 t1 = J.get$isEmpty$asx(output[0]) === true; | 11247 t1 = J.get$isEmpty$asx(output[0]) === true; |
10902 } else | 11248 } else |
10903 t1 = false; | 11249 t1 = false; |
10904 else | 11250 else |
10905 t1 = true; | 11251 t1 = true; |
10906 if (t1) | 11252 if (t1) |
10907 return "./"; | 11253 return "./"; |
10908 if (appendSlash || J.$eq$(C.JSArray_methods.get$last(output), "..")) | 11254 if (appendSlash || J.$eq$(C.JSArray_methods.get$last(output), "..")) |
10909 output.push(""); | 11255 output.push(""); |
10910 return C.JSArray_methods.join$1(output, "/"); | 11256 return C.JSArray_methods.join$1(output, "/"); |
10911 }, Uri_decodeComponent: [function(encodedComponent) { | 11257 }, |
| 11258 Uri_decodeComponent: [function(encodedComponent) { |
10912 return P.Uri__uriDecode(encodedComponent, 0, J.get$length$asx(encodedC
omponent), C.Utf8Codec_false, false); | 11259 return P.Uri__uriDecode(encodedComponent, 0, J.get$length$asx(encodedC
omponent), C.Utf8Codec_false, false); |
10913 }, "call$1", "core_Uri_decodeComponent$closure", 2, 0, 66, 38], Uri_spli
tQueryString: function(query, encoding) { | 11260 }, "call$1", "core_Uri_decodeComponent$closure", 2, 0, 64, 39], |
| 11261 Uri_splitQueryString: function(query, encoding) { |
10914 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap__mak
eEmpty(), new P.Uri_splitQueryString_closure(encoding)); | 11262 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap__mak
eEmpty(), new P.Uri_splitQueryString_closure(encoding)); |
10915 }, Uri_parseIPv4Address: function(host) { | 11263 }, |
| 11264 Uri_parseIPv4Address: function(host) { |
10916 var t1, bytes; | 11265 var t1, bytes; |
10917 t1 = new P.Uri_parseIPv4Address_error(); | 11266 t1 = new P.Uri_parseIPv4Address_error(); |
10918 bytes = host.split("."); | 11267 bytes = host.split("."); |
10919 if (bytes.length !== 4) | 11268 if (bytes.length !== 4) |
10920 t1.call$1("IPv4 address should contain exactly 4 parts"); | 11269 t1.call$1("IPv4 address should contain exactly 4 parts"); |
10921 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_
parseIPv4Address_closure(t1)), [null, null]).toList$0(0); | 11270 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_
parseIPv4Address_closure(t1)), [null, null]).toList$0(0); |
10922 }, Uri_parseIPv6Address: function(host, start, end) { | 11271 }, |
| 11272 Uri_parseIPv6Address: function(host, start, end) { |
10923 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEn
d, isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; | 11273 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEn
d, isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; |
10924 if (end == null) | 11274 if (end == null) |
10925 end = J.get$length$asx(host); | 11275 end = J.get$length$asx(host); |
10926 error = new P.Uri_parseIPv6Address_error(host); | 11276 error = new P.Uri_parseIPv6Address_error(host); |
10927 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); | 11277 parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); |
10928 if (J.$lt$n(J.get$length$asx(host), 2)) | 11278 if (J.$lt$n(J.get$length$asx(host), 2)) |
10929 error.call$1("address is too short"); | 11279 error.call$1("address is too short"); |
10930 parts = []; | 11280 parts = []; |
10931 partStart = start; | 11281 partStart = start; |
10932 for (i = start, wildcardSeen = false; t1 = J.getInterceptor$n(i), t1.$
lt(i, end); i = J.$add$ns(i, 1)) | 11282 for (i = start, wildcardSeen = false; t1 = J.getInterceptor$n(i), t1.$
lt(i, end); i = J.$add$ns(i, 1)) |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10973 } catch (exception) { | 11323 } catch (exception) { |
10974 H.unwrapException(exception); | 11324 H.unwrapException(exception); |
10975 error.call$2("invalid end of IPv6 address.", partStart); | 11325 error.call$2("invalid end of IPv6 address.", partStart); |
10976 } | 11326 } |
10977 } | 11327 } |
10978 if (wildcardSeen) { | 11328 if (wildcardSeen) { |
10979 if (J.get$length$asx(parts) > 7) | 11329 if (J.get$length$asx(parts) > 7) |
10980 error.call$1("an address with a wildcard must have less than 7 par
ts"); | 11330 error.call$1("an address with a wildcard must have less than 7 par
ts"); |
10981 } else if (J.get$length$asx(parts) !== 8) | 11331 } else if (J.get$length$asx(parts) !== 8) |
10982 error.call$1("an address without a wildcard must contain exactly 8 p
arts"); | 11332 error.call$1("an address without a wildcard must contain exactly 8 p
arts"); |
10983 bytes = H.setRuntimeTypeInfo(new Array(16), [P.$int]); | 11333 bytes = new Uint8Array(16); |
10984 i = 0; | 11334 i = 0; |
10985 index = 0; | 11335 index = 0; |
10986 while (true) { | 11336 while (true) { |
10987 t1 = J.get$length$asx(parts); | 11337 t1 = J.get$length$asx(parts); |
10988 if (typeof t1 !== "number") | 11338 if (typeof t1 !== "number") |
10989 return H.iae(t1); | 11339 return H.iae(t1); |
10990 if (!(i < t1)) | 11340 if (!(i < t1)) |
10991 break; | 11341 break; |
10992 value = J.$index$asx(parts, i); | 11342 value = J.$index$asx(parts, i); |
10993 t1 = J.getInterceptor(value); | 11343 t1 = J.getInterceptor(value); |
(...skipping 17 matching lines...) Expand all Loading... |
11011 t2 = index + 1; | 11361 t2 = index + 1; |
11012 t1 = t1.$and(value, 255); | 11362 t1 = t1.$and(value, 255); |
11013 if (t2 >= 16) | 11363 if (t2 >= 16) |
11014 return H.ioore(bytes, t2); | 11364 return H.ioore(bytes, t2); |
11015 bytes[t2] = t1; | 11365 bytes[t2] = t1; |
11016 index += 2; | 11366 index += 2; |
11017 } | 11367 } |
11018 ++i; | 11368 ++i; |
11019 } | 11369 } |
11020 return bytes; | 11370 return bytes; |
11021 }, Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus)
{ | 11371 }, |
| 11372 Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus) { |
11022 var result, bytes, t1, i, t2, $byte, t3; | 11373 var result, bytes, t1, i, t2, $byte, t3; |
11023 if (encoding === C.Utf8Codec_false && $.$get$Uri__needsNoEncoding()._n
ativeRegExp.test(H.checkString(text))) | 11374 if (encoding === C.Utf8Codec_false && $.$get$Uri__needsNoEncoding()._n
ativeRegExp.test(H.checkString(text))) |
11024 return text; | 11375 return text; |
11025 result = new P.StringBuffer(""); | 11376 result = new P.StringBuffer(""); |
11026 bytes = encoding.get$encoder().convert$1(text); | 11377 bytes = encoding.get$encoder().convert$1(text); |
11027 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) { | 11378 for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) { |
11028 $byte = bytes[i]; | 11379 $byte = bytes[i]; |
11029 if ($byte < 128) { | 11380 if ($byte < 128) { |
11030 t3 = $byte >>> 4; | 11381 t3 = $byte >>> 4; |
11031 if (t3 >= 8) | 11382 if (t3 >= 8) |
11032 return H.ioore(canonicalTable, t3); | 11383 return H.ioore(canonicalTable, t3); |
11033 t3 = (canonicalTable[t3] & C.JSInt_methods._shlPositive$1(1, $byte
& 15)) !== 0; | 11384 t3 = (canonicalTable[t3] & C.JSInt_methods._shlPositive$1(1, $byte
& 15)) !== 0; |
11034 } else | 11385 } else |
11035 t3 = false; | 11386 t3 = false; |
11036 if (t3) | 11387 if (t3) |
11037 t2 = result._contents += H.Primitives_stringFromCharCode($byte); | 11388 t2 = result._contents += H.Primitives_stringFromCharCode($byte); |
11038 else if (spaceToPlus && $byte === 32) { | 11389 else if (spaceToPlus && $byte === 32) { |
11039 t2 += "+"; | 11390 t2 += "+"; |
11040 result._contents = t2; | 11391 result._contents = t2; |
11041 } else { | 11392 } else { |
11042 t2 += "%"; | 11393 t2 += "%"; |
11043 result._contents = t2; | 11394 result._contents = t2; |
11044 t2 += "0123456789ABCDEF"[$byte >>> 4 & 15]; | 11395 t2 += "0123456789ABCDEF"[$byte >>> 4 & 15]; |
11045 result._contents = t2; | 11396 result._contents = t2; |
11046 t2 += "0123456789ABCDEF"[$byte & 15]; | 11397 t2 += "0123456789ABCDEF"[$byte & 15]; |
11047 result._contents = t2; | 11398 result._contents = t2; |
11048 } | 11399 } |
11049 } | 11400 } |
11050 return t2.charCodeAt(0) == 0 ? t2 : t2; | 11401 return t2.charCodeAt(0) == 0 ? t2 : t2; |
11051 }, Uri__hexCharPairToByte: function(s, pos) { | 11402 }, |
| 11403 Uri__hexCharPairToByte: function(s, pos) { |
11052 var t1, $byte, i, charCode; | 11404 var t1, $byte, i, charCode; |
11053 for (t1 = J.getInterceptor$s(s), $byte = 0, i = 0; i < 2; ++i) { | 11405 for (t1 = J.getInterceptor$s(s), $byte = 0, i = 0; i < 2; ++i) { |
11054 charCode = t1.codeUnitAt$1(s, pos + i); | 11406 charCode = t1.codeUnitAt$1(s, pos + i); |
11055 if (48 <= charCode && charCode <= 57) | 11407 if (48 <= charCode && charCode <= 57) |
11056 $byte = $byte * 16 + charCode - 48; | 11408 $byte = $byte * 16 + charCode - 48; |
11057 else { | 11409 else { |
11058 charCode |= 32; | 11410 charCode |= 32; |
11059 if (97 <= charCode && charCode <= 102) | 11411 if (97 <= charCode && charCode <= 102) |
11060 $byte = $byte * 16 + charCode - 87; | 11412 $byte = $byte * 16 + charCode - 87; |
11061 else | 11413 else |
11062 throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); | 11414 throw H.wrapException(P.ArgumentError$("Invalid URL encoding")); |
11063 } | 11415 } |
11064 } | 11416 } |
11065 return $byte; | 11417 return $byte; |
11066 }, Uri__uriDecode: function(text, start, end, encoding, plusToSpace) { | 11418 }, |
| 11419 Uri__uriDecode: function(text, start, end, encoding, plusToSpace) { |
11067 var t1, i, simple, codeUnit, t2, bytes; | 11420 var t1, i, simple, codeUnit, t2, bytes; |
11068 if (typeof end !== "number") | 11421 if (typeof end !== "number") |
11069 return H.iae(end); | 11422 return H.iae(end); |
11070 t1 = J.getInterceptor$asx(text); | 11423 t1 = J.getInterceptor$asx(text); |
11071 i = start; | 11424 i = start; |
11072 while (true) { | 11425 while (true) { |
11073 if (!(i < end)) { | 11426 if (!(i < end)) { |
11074 simple = true; | 11427 simple = true; |
11075 break; | 11428 break; |
11076 } | 11429 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11111 throw H.wrapException(P.ArgumentError$("Truncated URI")); | 11464 throw H.wrapException(P.ArgumentError$("Truncated URI")); |
11112 bytes.push(P.Uri__hexCharPairToByte(text, i + 1)); | 11465 bytes.push(P.Uri__hexCharPairToByte(text, i + 1)); |
11113 i += 2; | 11466 i += 2; |
11114 } else if (plusToSpace && codeUnit === 43) | 11467 } else if (plusToSpace && codeUnit === 43) |
11115 bytes.push(32); | 11468 bytes.push(32); |
11116 else | 11469 else |
11117 bytes.push(codeUnit); | 11470 bytes.push(codeUnit); |
11118 } | 11471 } |
11119 } | 11472 } |
11120 return new P.Utf8Decoder(false).convert$1(bytes); | 11473 return new P.Utf8Decoder(false).convert$1(bytes); |
11121 }} | 11474 } |
| 11475 } |
11122 }, | 11476 }, |
11123 Uri_parse_parseAuth: { | 11477 Uri_parse_parseAuth: { |
11124 "^": "Closure:2;_box_0,uri,EOI", | 11478 "^": "Closure:2;_box_0,uri,EOI", |
11125 call$0: function() { | 11479 call$0: function() { |
11126 var t1, authStart, t2, t3, $char, lastColon, lastAt, char0, endBracket,
hostEnd, t4, hostStart, i, portNumber, digit; | 11480 var t1, hostStart, t2, t3, $char, lastColon, lastAt, char0, endBracket,
hostEnd, t4, t5, t6, i, portNumber, digit; |
11127 t1 = this._box_0; | 11481 t1 = this._box_0; |
11128 if (J.$eq$(t1.index, t1.end)) { | 11482 hostStart = t1.index; |
| 11483 t2 = t1.end; |
| 11484 if (hostStart == null ? t2 == null : hostStart === t2) { |
11129 t1.$char = this.EOI; | 11485 t1.$char = this.EOI; |
11130 return; | 11486 return; |
11131 } | 11487 } |
11132 authStart = t1.index; | |
11133 t2 = this.uri; | 11488 t2 = this.uri; |
11134 t3 = J.getInterceptor$s(t2); | 11489 t3 = J.getInterceptor$s(t2); |
11135 t1.$char = t3.codeUnitAt$1(t2, authStart); | 11490 t1.$char = t3.codeUnitAt$1(t2, hostStart); |
11136 for ($char = this.EOI, lastColon = -1, lastAt = -1; J.$lt$n(t1.index, t1
.end);) { | 11491 for ($char = this.EOI, lastColon = -1, lastAt = -1; J.$lt$n(t1.index, t1
.end);) { |
11137 char0 = t3.codeUnitAt$1(t2, t1.index); | 11492 char0 = t3.codeUnitAt$1(t2, t1.index); |
11138 t1.$char = char0; | 11493 t1.$char = char0; |
11139 if (char0 === 47 || char0 === 63 || char0 === 35) | 11494 if (char0 === 47 || char0 === 63 || char0 === 35) |
11140 break; | 11495 break; |
11141 if (char0 === 64) { | 11496 if (char0 === 64) { |
11142 lastAt = t1.index; | 11497 lastAt = t1.index; |
11143 lastColon = -1; | 11498 lastColon = -1; |
11144 } else if (char0 === 58) | 11499 } else if (char0 === 58) |
11145 lastColon = t1.index; | 11500 lastColon = t1.index; |
11146 else if (char0 === 91) { | 11501 else if (char0 === 91) { |
11147 endBracket = t3.indexOf$2(t2, "]", J.$add$ns(t1.index, 1)); | 11502 endBracket = t3.indexOf$2(t2, "]", J.$add$ns(t1.index, 1)); |
11148 if (J.$eq$(endBracket, -1)) { | 11503 if (endBracket === -1) { |
11149 t1.index = t1.end; | 11504 t1.index = t1.end; |
11150 t1.$char = $char; | 11505 t1.$char = $char; |
11151 lastColon = -1; | 11506 lastColon = -1; |
11152 break; | 11507 break; |
11153 } else | 11508 } else |
11154 t1.index = endBracket; | 11509 t1.index = endBracket; |
11155 lastColon = -1; | 11510 lastColon = -1; |
11156 } | 11511 } |
11157 t1.index = J.$add$ns(t1.index, 1); | 11512 t1.index = J.$add$ns(t1.index, 1); |
11158 t1.$char = $char; | 11513 t1.$char = $char; |
11159 } | 11514 } |
11160 hostEnd = t1.index; | 11515 hostEnd = t1.index; |
11161 t4 = J.getInterceptor$n(lastAt); | 11516 t4 = J.getInterceptor$n(lastAt); |
11162 if (t4.$ge(lastAt, 0)) { | 11517 if (t4.$ge(lastAt, 0)) { |
11163 t1.userinfo = P.Uri__makeUserInfo(t2, authStart, lastAt); | 11518 t1.userinfo = P.Uri__makeUserInfo(t2, hostStart, lastAt); |
11164 hostStart = t4.$add(lastAt, 1); | 11519 hostStart = t4.$add(lastAt, 1); |
11165 } else | 11520 } |
11166 hostStart = authStart; | |
11167 t4 = J.getInterceptor$n(lastColon); | 11521 t4 = J.getInterceptor$n(lastColon); |
11168 if (t4.$ge(lastColon, 0)) { | 11522 if (t4.$ge(lastColon, 0)) { |
11169 if (J.$lt$n(t4.$add(lastColon, 1), t1.index)) | 11523 t5 = t4.$add(lastColon, 1); |
11170 for (i = t4.$add(lastColon, 1), portNumber = 0; t4 = J.getIntercepto
r$n(i), t4.$lt(i, t1.index); i = t4.$add(i, 1)) { | 11524 t6 = t1.index; |
| 11525 if (typeof t6 !== "number") |
| 11526 return H.iae(t6); |
| 11527 if (t5 < t6) { |
| 11528 i = t4.$add(lastColon, 1); |
| 11529 portNumber = 0; |
| 11530 while (true) { |
| 11531 t4 = t1.index; |
| 11532 if (typeof t4 !== "number") |
| 11533 return H.iae(t4); |
| 11534 if (!(i < t4)) |
| 11535 break; |
11171 digit = t3.codeUnitAt$1(t2, i); | 11536 digit = t3.codeUnitAt$1(t2, i); |
11172 if (48 > digit || 57 < digit) | 11537 if (48 > digit || 57 < digit) |
11173 P.Uri__fail(t2, i, "Invalid port number"); | 11538 P.Uri__fail(t2, i, "Invalid port number"); |
11174 portNumber = portNumber * 10 + (digit - 48); | 11539 portNumber = portNumber * 10 + (digit - 48); |
| 11540 ++i; |
11175 } | 11541 } |
11176 else | 11542 } else |
11177 portNumber = null; | 11543 portNumber = null; |
11178 t1.port = P.Uri__makePort(portNumber, t1.scheme); | 11544 t1.port = P.Uri__makePort(portNumber, t1.scheme); |
11179 hostEnd = lastColon; | 11545 hostEnd = lastColon; |
11180 } | 11546 } |
11181 t1.host = P.Uri__makeHost(t2, hostStart, hostEnd, true); | 11547 t1.host = P.Uri__makeHost(t2, hostStart, hostEnd, true); |
11182 if (J.$lt$n(t1.index, t1.end)) | 11548 if (J.$lt$n(t1.index, t1.end)) |
11183 t1.$char = t3.codeUnitAt$1(t2, t1.index); | 11549 t1.$char = t3.codeUnitAt$1(t2, t1.index); |
11184 } | 11550 } |
11185 }, | 11551 }, |
11186 Uri__checkNonWindowsPathReservedCharacters_closure: { | 11552 Uri__checkNonWindowsPathReservedCharacters_closure: { |
11187 "^": "Closure:0;argumentError", | 11553 "^": "Closure:0;argumentError", |
11188 call$1: function(segment) { | 11554 call$1: function(segment) { |
11189 if (J.contains$1$asx(segment, "/") === true) | 11555 if (J.contains$1$asx(segment, "/") === true) |
11190 if (this.argumentError) | 11556 if (this.argumentError) |
11191 throw H.wrapException(P.ArgumentError$("Illegal path character " + H
.S(segment))); | 11557 throw H.wrapException(P.ArgumentError$("Illegal path character " + H
.S(segment))); |
11192 else | 11558 else |
11193 throw H.wrapException(new P.UnsupportedError("Illegal path character
" + H.S(segment))); | 11559 throw H.wrapException(new P.UnsupportedError("Illegal path character
" + H.S(segment))); |
11194 } | 11560 } |
11195 }, | 11561 }, |
11196 Uri__makePath_closure: { | 11562 Uri__makePath_closure: { |
11197 "^": "Closure:0;", | 11563 "^": "Closure:0;", |
11198 call$1: [function(s) { | 11564 call$1: [function(s) { |
11199 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); | 11565 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); |
11200 }, null, null, 2, 0, null, 39, "call"] | 11566 }, null, null, 2, 0, null, 40, "call"] |
11201 }, | 11567 }, |
11202 Uri__makeQuery_closure: { | 11568 Uri__makeQuery_writeParameter: { |
11203 "^": "Closure:3;_box_0,result", | 11569 "^": "Closure:46;_box_0,result", |
11204 call$2: function(key, value) { | 11570 call$2: function(key, value) { |
11205 var t1 = this._box_0; | 11571 var t1, t2; |
11206 if (!t1.first) | |
11207 this.result._contents += "&"; | |
11208 t1.first = false; | |
11209 t1 = this.result; | 11572 t1 = this.result; |
| 11573 t2 = this._box_0; |
| 11574 t1._contents += t2.separator; |
| 11575 t2.separator = "&"; |
11210 t1._contents += H.S(P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false,
true)); | 11576 t1._contents += H.S(P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false,
true)); |
11211 if (!value.get$isEmpty(value)) { | 11577 if (value.get$isNotEmpty(value)) { |
11212 t1._contents += "="; | 11578 t1._contents += "="; |
11213 t1._contents += H.S(P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_fa
lse, true)); | 11579 t1._contents += H.S(P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_fa
lse, true)); |
11214 } | 11580 } |
11215 } | 11581 } |
11216 }, | 11582 }, |
| 11583 Uri__makeQuery_closure: { |
| 11584 "^": "Closure:3;writeParameter", |
| 11585 call$2: function(key, value) { |
| 11586 this.writeParameter.call$2(key, value); |
| 11587 } |
| 11588 }, |
11217 Uri_hashCode_combine: { | 11589 Uri_hashCode_combine: { |
11218 "^": "Closure:47;", | 11590 "^": "Closure:47;", |
11219 call$2: function(part, current) { | 11591 call$2: function(part, current) { |
11220 return current * 31 + J.get$hashCode$(part) & 1073741823; | 11592 return current * 31 + J.get$hashCode$(part) & 1073741823; |
11221 } | 11593 } |
11222 }, | 11594 }, |
11223 Uri_splitQueryString_closure: { | 11595 Uri_splitQueryString_closure: { |
11224 "^": "Closure:3;encoding", | 11596 "^": "Closure:3;encoding", |
11225 call$2: function(map, element) { | 11597 call$2: function(map, element) { |
11226 var t1, index, t2, key, value; | 11598 var t1, index, key, value; |
11227 t1 = J.getInterceptor$asx(element); | 11599 t1 = J.getInterceptor$asx(element); |
11228 index = t1.indexOf$1(element, "="); | 11600 index = t1.indexOf$1(element, "="); |
11229 t2 = J.getInterceptor(index); | 11601 if (index === -1) { |
11230 if (t2.$eq(index, -1)) { | |
11231 if (!t1.$eq(element, "")) | 11602 if (!t1.$eq(element, "")) |
11232 J.$indexSet$ax(map, P.Uri__uriDecode(element, 0, t1.get$length(eleme
nt), this.encoding, true), ""); | 11603 J.$indexSet$ax(map, P.Uri__uriDecode(element, 0, t1.get$length(eleme
nt), this.encoding, true), ""); |
11233 } else if (!t2.$eq(index, 0)) { | 11604 } else if (index !== 0) { |
11234 key = t1.substring$2(element, 0, index); | 11605 key = t1.substring$2(element, 0, index); |
11235 value = t1.substring$1(element, t2.$add(index, 1)); | 11606 value = t1.substring$1(element, index + 1); |
11236 t1 = this.encoding; | 11607 t1 = this.encoding; |
11237 J.$indexSet$ax(map, P.Uri__uriDecode(key, 0, key.length, t1, true), P.
Uri__uriDecode(value, 0, value.length, t1, true)); | 11608 J.$indexSet$ax(map, P.Uri__uriDecode(key, 0, key.length, t1, true), P.
Uri__uriDecode(value, 0, value.length, t1, true)); |
11238 } | 11609 } |
11239 return map; | 11610 return map; |
11240 } | 11611 } |
11241 }, | 11612 }, |
11242 Uri_parseIPv4Address_error: { | 11613 Uri_parseIPv4Address_error: { |
11243 "^": "Closure:7;", | 11614 "^": "Closure:7;", |
11244 call$1: function(msg) { | 11615 call$1: function(msg) { |
11245 throw H.wrapException(new P.FormatException("Illegal IPv4 address, " + m
sg, null, null)); | 11616 throw H.wrapException(new P.FormatException("Illegal IPv4 address, " + m
sg, null, null)); |
11246 } | 11617 } |
11247 }, | 11618 }, |
11248 Uri_parseIPv4Address_closure: { | 11619 Uri_parseIPv4Address_closure: { |
11249 "^": "Closure:0;error", | 11620 "^": "Closure:0;error", |
11250 call$1: [function(byteString) { | 11621 call$1: [function(byteString) { |
11251 var $byte, t1; | 11622 var $byte, t1; |
11252 $byte = H.Primitives_parseInt(byteString, null, null); | 11623 $byte = H.Primitives_parseInt(byteString, null, null); |
11253 t1 = J.getInterceptor$n($byte); | 11624 t1 = J.getInterceptor$n($byte); |
11254 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) | 11625 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) |
11255 this.error.call$1("each part must be in the range of `0..255`"); | 11626 this.error.call$1("each part must be in the range of `0..255`"); |
11256 return $byte; | 11627 return $byte; |
11257 }, null, null, 2, 0, null, 40, "call"] | 11628 }, null, null, 2, 0, null, 41, "call"] |
11258 }, | 11629 }, |
11259 Uri_parseIPv6Address_error: { | 11630 Uri_parseIPv6Address_error: { |
11260 "^": "Closure:48;host", | 11631 "^": "Closure:48;host", |
11261 call$2: function(msg, position) { | 11632 call$2: function(msg, position) { |
11262 throw H.wrapException(new P.FormatException("Illegal IPv6 address, " + m
sg, this.host, position)); | 11633 throw H.wrapException(new P.FormatException("Illegal IPv6 address, " + m
sg, this.host, position)); |
11263 }, | 11634 }, |
11264 call$1: function(msg) { | 11635 call$1: function(msg) { |
11265 return this.call$2(msg, null); | 11636 return this.call$2(msg, null); |
11266 } | 11637 } |
11267 }, | 11638 }, |
11268 Uri_parseIPv6Address_parseHex: { | 11639 Uri_parseIPv6Address_parseHex: { |
11269 "^": "Closure:49;host,error", | 11640 "^": "Closure:49;host,error", |
11270 call$2: function(start, end) { | 11641 call$2: function(start, end) { |
11271 var value, t1; | 11642 var value, t1; |
11272 if (J.$gt$n(J.$sub$n(end, start), 4)) | 11643 if (J.$gt$n(J.$sub$n(end, start), 4)) |
11273 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex di
gits", start); | 11644 this.error.call$2("an IPv6 part can only contain a maximum of 4 hex di
gits", start); |
11274 value = H.Primitives_parseInt(J.substring$2$s(this.host, start, end), 16
, null); | 11645 value = H.Primitives_parseInt(J.substring$2$s(this.host, start, end), 16
, null); |
11275 t1 = J.getInterceptor$n(value); | 11646 t1 = J.getInterceptor$n(value); |
11276 if (t1.$lt(value, 0) || t1.$gt(value, 65535)) | 11647 if (t1.$lt(value, 0) || t1.$gt(value, 65535)) |
11277 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", s
tart); | 11648 this.error.call$2("each part must be in the range of `0x0..0xFFFF`", s
tart); |
11278 return value; | 11649 return value; |
11279 } | 11650 } |
11280 }, | 11651 }, |
11281 UriData: { | 11652 UriData: { |
11282 "^": "Object;_text,_separatorIndices,_uriCache", | 11653 "^": "Object;_text,_separatorIndices,_uriCache", |
11283 get$uri: function() { | 11654 get$uri: function() { |
11284 return this._uriCache; | 11655 var t1, t2, t3, queryIndex, query, end; |
| 11656 t1 = this._uriCache; |
| 11657 if (t1 != null) |
| 11658 return t1; |
| 11659 t1 = this._separatorIndices; |
| 11660 if (0 >= t1.length) |
| 11661 return H.ioore(t1, 0); |
| 11662 t2 = this._text; |
| 11663 t1 = t1[0] + 1; |
| 11664 t3 = J.getInterceptor$asx(t2); |
| 11665 queryIndex = t3.indexOf$2(t2, "?", t1); |
| 11666 if (queryIndex >= 0) { |
| 11667 query = t3.substring$1(t2, queryIndex + 1); |
| 11668 end = queryIndex; |
| 11669 } else { |
| 11670 query = null; |
| 11671 end = null; |
| 11672 } |
| 11673 t1 = new P.Uri("data", "", null, null, t3.substring$2(t2, t1, end), quer
y, null, null, null, null); |
| 11674 this._uriCache = t1; |
| 11675 return t1; |
11285 }, | 11676 }, |
11286 toString$0: function(_) { | 11677 toString$0: function(_) { |
11287 var t1, t2; | 11678 var t1, t2; |
11288 t1 = this._separatorIndices; | 11679 t1 = this._separatorIndices; |
11289 if (0 >= t1.length) | 11680 if (0 >= t1.length) |
11290 return H.ioore(t1, 0); | 11681 return H.ioore(t1, 0); |
11291 t2 = this._text; | 11682 t2 = this._text; |
11292 return t1[0] === -1 ? "data:" + t2 : t2; | 11683 return t1[0] === -1 ? "data:" + H.S(t2) : t2; |
11293 }, | 11684 }, |
11294 static: {UriData_UriData$fromUri: function(uri) { | 11685 static: { |
| 11686 UriData_UriData$fromUri: function(uri) { |
11295 if (uri.scheme !== "data") | 11687 if (uri.scheme !== "data") |
11296 throw H.wrapException(P.ArgumentError$value(uri, "uri", "Scheme must
be 'data'")); | 11688 throw H.wrapException(P.ArgumentError$value(uri, "uri", "Scheme must
be 'data'")); |
11297 if (uri._host != null) | 11689 if (uri._host != null) |
11298 throw H.wrapException(P.ArgumentError$value(uri, "uri", "Data uri mu
st not have authority")); | 11690 throw H.wrapException(P.ArgumentError$value(uri, "uri", "Data uri mu
st not have authority")); |
11299 if (uri._fragment != null) | 11691 if (uri._fragment != null) |
11300 throw H.wrapException(P.ArgumentError$value(uri, "uri", "Data uri mu
st not have a fragment part")); | 11692 throw H.wrapException(P.ArgumentError$value(uri, "uri", "Data uri mu
st not have a fragment part")); |
11301 if (uri._query == null) | 11693 if (uri._query == null) |
11302 return P.UriData__parse(uri._path, 0, uri); | 11694 return P.UriData__parse(uri._path, 0, uri); |
11303 return P.UriData__parse(uri.toString$0(0), 5, uri); | 11695 return P.UriData__parse(uri.toString$0(0), 5, uri); |
11304 }, UriData__parse: function(text, start, sourceUri) { | 11696 }, |
11305 var indices, t1, i, slashIndex, $char, equalsIndex, lastSeparator; | 11697 UriData__parse: function(text, start, sourceUri) { |
| 11698 var indices, t1, i, slashIndex, $char, t2, equalsIndex, lastSeparator; |
11306 indices = [start - 1]; | 11699 indices = [start - 1]; |
11307 for (t1 = text.length, i = start, slashIndex = -1, $char = null; i < t
1; ++i) { | 11700 t1 = J.getInterceptor$asx(text); |
11308 $char = C.JSString_methods.codeUnitAt$1(text, i); | 11701 i = start; |
11309 if ($char === 44 || $char === 59) | 11702 slashIndex = -1; |
| 11703 $char = null; |
| 11704 while (true) { |
| 11705 t2 = t1.get$length(text); |
| 11706 if (typeof t2 !== "number") |
| 11707 return H.iae(t2); |
| 11708 if (!(i < t2)) |
11310 break; | 11709 break; |
11311 if ($char === 47) { | 11710 c$0: { |
11312 if (slashIndex < 0) { | 11711 $char = t1.codeUnitAt$1(text, i); |
11313 slashIndex = i; | 11712 if ($char === 44 || $char === 59) |
11314 continue; | 11713 break; |
| 11714 if ($char === 47) { |
| 11715 if (slashIndex < 0) { |
| 11716 slashIndex = i; |
| 11717 break c$0; |
| 11718 } |
| 11719 throw H.wrapException(new P.FormatException("Invalid MIME type",
text, i)); |
11315 } | 11720 } |
11316 throw H.wrapException(new P.FormatException("Invalid MIME type", t
ext, i)); | |
11317 } | 11721 } |
| 11722 ++i; |
11318 } | 11723 } |
11319 if (slashIndex < 0 && i > start) | 11724 if (slashIndex < 0 && i > start) |
11320 throw H.wrapException(new P.FormatException("Invalid MIME type", tex
t, i)); | 11725 throw H.wrapException(new P.FormatException("Invalid MIME type", tex
t, i)); |
11321 for (; $char !== 44;) { | 11726 for (; $char !== 44;) { |
11322 indices.push(i); | 11727 indices.push(i); |
11323 ++i; | 11728 ++i; |
11324 for (equalsIndex = -1; i < t1; ++i) { | 11729 equalsIndex = -1; |
11325 $char = C.JSString_methods.codeUnitAt$1(text, i); | 11730 while (true) { |
| 11731 t2 = t1.get$length(text); |
| 11732 if (typeof t2 !== "number") |
| 11733 return H.iae(t2); |
| 11734 if (!(i < t2)) |
| 11735 break; |
| 11736 $char = t1.codeUnitAt$1(text, i); |
11326 if ($char === 61) { | 11737 if ($char === 61) { |
11327 if (equalsIndex < 0) | 11738 if (equalsIndex < 0) |
11328 equalsIndex = i; | 11739 equalsIndex = i; |
11329 } else if ($char === 59 || $char === 44) | 11740 } else if ($char === 59 || $char === 44) |
11330 break; | 11741 break; |
| 11742 ++i; |
11331 } | 11743 } |
11332 if (equalsIndex >= 0) | 11744 if (equalsIndex >= 0) |
11333 indices.push(equalsIndex); | 11745 indices.push(equalsIndex); |
11334 else { | 11746 else { |
11335 lastSeparator = C.JSArray_methods.get$last(indices); | 11747 lastSeparator = C.JSArray_methods.get$last(indices); |
11336 if ($char !== 44 || i !== lastSeparator + 7 || !C.JSString_methods
.startsWith$2(text, "base64", lastSeparator + 1)) | 11748 if ($char !== 44 || i !== lastSeparator + 7 || !t1.startsWith$2(te
xt, "base64", lastSeparator + 1)) |
11337 throw H.wrapException(new P.FormatException("Expecting '='", tex
t, i)); | 11749 throw H.wrapException(new P.FormatException("Expecting '='", tex
t, i)); |
11338 break; | 11750 break; |
11339 } | 11751 } |
11340 } | 11752 } |
11341 indices.push(i); | 11753 indices.push(i); |
11342 return new P.UriData(text, indices, sourceUri); | 11754 return new P.UriData(text, indices, sourceUri); |
11343 }} | 11755 } |
| 11756 } |
11344 } | 11757 } |
11345 }], ["dart.dom.html", "dart:html",, W, { | 11758 }], ["dart.dom.html", "dart:html",, W, { |
11346 "^": "", | 11759 "^": "", |
11347 WebSocket_WebSocket: function(url, protocol_OR_protocols) { | 11760 WebSocket_WebSocket: function(url, protocols) { |
11348 var t1, t2; | 11761 return new WebSocket(url); |
11349 t1 = typeof url !== "string"; | |
11350 if ((!t1 || url == null) && true) | |
11351 return new WebSocket(url); | |
11352 t2 = !t1 || url == null; | |
11353 if (t2) | |
11354 return new WebSocket(url, protocol_OR_protocols); | |
11355 t2 = H.checkSubtype(protocol_OR_protocols, "$isList", [P.String], "$asList
"); | |
11356 if (!t2) | |
11357 ; | |
11358 t1 = !t1 || url == null; | |
11359 if (t1) | |
11360 return new WebSocket(url, protocol_OR_protocols); | |
11361 throw H.wrapException(P.ArgumentError$("Incorrect number or type of argume
nts")); | |
11362 }, | 11762 }, |
11363 _JenkinsSmiHash_combine: function(hash, value) { | 11763 _JenkinsSmiHash_combine: function(hash, value) { |
11364 hash = 536870911 & hash + value; | 11764 hash = 536870911 & hash + value; |
11365 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); | 11765 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); |
11366 return hash ^ hash >>> 6; | 11766 return hash ^ hash >>> 6; |
11367 }, | 11767 }, |
11368 _JenkinsSmiHash_finish: function(hash) { | 11768 _JenkinsSmiHash_finish: function(hash) { |
11369 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); | 11769 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); |
11370 hash ^= hash >>> 11; | 11770 hash ^= hash >>> 11; |
11371 return 536870911 & hash + ((16383 & hash) << 15 >>> 0); | 11771 return 536870911 & hash + ((16383 & hash) << 15 >>> 0); |
(...skipping 19 matching lines...) Expand all Loading... |
11391 }, | 11791 }, |
11392 _wrapZone: function(callback) { | 11792 _wrapZone: function(callback) { |
11393 if (J.$eq$($.Zone__current, C.C__RootZone)) | 11793 if (J.$eq$($.Zone__current, C.C__RootZone)) |
11394 return callback; | 11794 return callback; |
11395 if (callback == null) | 11795 if (callback == null) |
11396 return; | 11796 return; |
11397 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); | 11797 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); |
11398 }, | 11798 }, |
11399 HtmlElement: { | 11799 HtmlElement: { |
11400 "^": "Element;", | 11800 "^": "Element;", |
11401 $isHtmlElement: 1, | |
11402 $isElement: 1, | |
11403 $isNode: 1, | |
11404 $isObject: 1, | |
11405 "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseElement|HTMLButtonElement|HT
MLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDeta
ilsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLFieldSetElement|HTMLFontEl
ement|HTMLFrameElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtml
Element|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLL
inkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMenuItemElement
|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLOptGroupEl
ement|HTMLOptionElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|
HTMLPictureElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLShado
wElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellE
lement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHe
aderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|
HTMLTextAreaElement|HTMLTitleElement|HTMLUListElement|HTMLUnknownElement;HTMLEle
ment" | 11801 "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseElement|HTMLButtonElement|HT
MLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDeta
ilsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLFieldSetElement|HTMLFontEl
ement|HTMLFrameElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtml
Element|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLL
inkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMenuItemElement
|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLOptGroupEl
ement|HTMLOptionElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|
HTMLPictureElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLShado
wElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellE
lement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHe
aderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|
HTMLTextAreaElement|HTMLTitleElement|HTMLUListElement|HTMLUnknownElement;HTMLEle
ment" |
11406 }, | 11802 }, |
11407 AnchorElement: { | 11803 AnchorElement: { |
11408 "^": "HtmlElement;origin=", | 11804 "^": "HtmlElement;origin=", |
11409 toString$0: function(receiver) { | 11805 toString$0: function(receiver) { |
11410 return String(receiver); | 11806 return String(receiver); |
11411 }, | 11807 }, |
11412 $isInterceptor: 1, | 11808 $isInterceptor: 1, |
11413 "%": "HTMLAnchorElement" | 11809 "%": "HTMLAnchorElement" |
11414 }, | 11810 }, |
(...skipping 21 matching lines...) Expand all Loading... |
11436 }, | 11832 }, |
11437 CharacterData: { | 11833 CharacterData: { |
11438 "^": "Node;data=,length=", | 11834 "^": "Node;data=,length=", |
11439 $isInterceptor: 1, | 11835 $isInterceptor: 1, |
11440 "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text" | 11836 "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text" |
11441 }, | 11837 }, |
11442 CompositionEvent: { | 11838 CompositionEvent: { |
11443 "^": "UIEvent;data=", | 11839 "^": "UIEvent;data=", |
11444 "%": "CompositionEvent" | 11840 "%": "CompositionEvent" |
11445 }, | 11841 }, |
| 11842 CrossOriginServiceWorkerClient: { |
| 11843 "^": "EventTarget;origin=", |
| 11844 postMessage$2: function(receiver, message, transfer) { |
| 11845 receiver.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(messag
e), transfer); |
| 11846 return; |
| 11847 }, |
| 11848 "%": "CrossOriginServiceWorkerClient" |
| 11849 }, |
11446 CssStyleDeclaration: { | 11850 CssStyleDeclaration: { |
11447 "^": "Interceptor_CssStyleDeclarationBase;length=", | 11851 "^": "Interceptor_CssStyleDeclarationBase;length=", |
11448 "%": "CSS2Properties|CSSStyleDeclaration|MSStyleCSSProperties" | 11852 "%": "CSS2Properties|CSSStyleDeclaration|MSStyleCSSProperties" |
11449 }, | 11853 }, |
11450 Interceptor_CssStyleDeclarationBase: { | 11854 Interceptor_CssStyleDeclarationBase: { |
11451 "^": "Interceptor+CssStyleDeclarationBase;" | 11855 "^": "Interceptor+CssStyleDeclarationBase;" |
11452 }, | 11856 }, |
11453 CssStyleDeclarationBase: { | 11857 CssStyleDeclarationBase: { |
11454 "^": "Object;" | 11858 "^": "Object;" |
11455 }, | 11859 }, |
11456 DivElement: { | 11860 DivElement: { |
11457 "^": "HtmlElement;", | 11861 "^": "HtmlElement;", |
11458 "%": ";HTMLDivElement" | 11862 "%": ";HTMLDivElement" |
11459 }, | 11863 }, |
| 11864 Document: { |
| 11865 "^": "Node;origin=", |
| 11866 "%": "Document|HTMLDocument|XMLDocument" |
| 11867 }, |
11460 DocumentFragment: { | 11868 DocumentFragment: { |
11461 "^": "Node;", | 11869 "^": "Node;", |
11462 $isInterceptor: 1, | 11870 $isInterceptor: 1, |
11463 "%": "DocumentFragment|ShadowRoot" | 11871 "%": "DocumentFragment|ShadowRoot" |
11464 }, | 11872 }, |
11465 DomError: { | 11873 DomError: { |
11466 "^": "Interceptor;message=", | 11874 "^": "Interceptor;message=", |
11467 "%": "DOMError|FileError" | 11875 "%": "DOMError|FileError" |
11468 }, | 11876 }, |
11469 DomException: { | 11877 DomException: { |
11470 "^": "Interceptor;message=", | 11878 "^": "Interceptor;message=", |
11471 toString$0: function(receiver) { | 11879 toString$0: function(receiver) { |
11472 return String(receiver); | 11880 return String(receiver); |
11473 }, | 11881 }, |
11474 "%": "DOMException" | 11882 "%": "DOMException" |
11475 }, | 11883 }, |
11476 DomRectReadOnly: { | 11884 DomRectReadOnly: { |
11477 "^": "Interceptor;height=,left=,top=,width=", | 11885 "^": "Interceptor;", |
11478 toString$0: function(receiver) { | 11886 toString$0: function(receiver) { |
11479 return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + "
) " + H.S(this.get$width(receiver)) + " x " + H.S(this.get$height(receiver)); | 11887 return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + "
) " + H.S(this.get$width(receiver)) + " x " + H.S(this.get$height(receiver)); |
11480 }, | 11888 }, |
11481 $eq: function(receiver, other) { | 11889 $eq: function(receiver, other) { |
11482 var t1, t2, t3; | 11890 var t1; |
11483 if (other == null) | 11891 if (other == null) |
11484 return false; | 11892 return false; |
11485 t1 = J.getInterceptor(other); | 11893 t1 = J.getInterceptor(other); |
11486 if (!t1.$isRectangle) | 11894 if (!t1.$isRectangle) |
11487 return false; | 11895 return false; |
11488 t2 = receiver.left; | 11896 return receiver.left === t1.get$left(other) && receiver.top === t1.get$t
op(other) && this.get$width(receiver) === t1.get$width(other) && this.get$height
(receiver) === t1.get$height(other); |
11489 t3 = t1.get$left(other); | |
11490 if (t2 == null ? t3 == null : t2 === t3) { | |
11491 t2 = receiver.top; | |
11492 t3 = t1.get$top(other); | |
11493 if (t2 == null ? t3 == null : t2 === t3) { | |
11494 t2 = this.get$width(receiver); | |
11495 t3 = t1.get$width(other); | |
11496 if (t2 == null ? t3 == null : t2 === t3) { | |
11497 t2 = this.get$height(receiver); | |
11498 t1 = t1.get$height(other); | |
11499 t1 = t2 == null ? t1 == null : t2 === t1; | |
11500 } else | |
11501 t1 = false; | |
11502 } else | |
11503 t1 = false; | |
11504 } else | |
11505 t1 = false; | |
11506 return t1; | |
11507 }, | 11897 }, |
11508 get$hashCode: function(receiver) { | 11898 get$hashCode: function(receiver) { |
11509 var t1, t2, t3, t4; | 11899 var t1, t2, t3, t4; |
11510 t1 = J.get$hashCode$(receiver.left); | 11900 t1 = receiver.left; |
11511 t2 = J.get$hashCode$(receiver.top); | 11901 t2 = receiver.top; |
11512 t3 = J.get$hashCode$(this.get$width(receiver)); | 11902 t3 = this.get$width(receiver); |
11513 t4 = J.get$hashCode$(this.get$height(receiver)); | 11903 t4 = this.get$height(receiver); |
11514 return W._JenkinsSmiHash_finish(W._JenkinsSmiHash_combine(W._JenkinsSmiH
ash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, t1), t2), t3)
, t4)); | 11904 return W._JenkinsSmiHash_finish(W._JenkinsSmiHash_combine(W._JenkinsSmiH
ash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, t1 & 0x1FFFFF
FF), t2 & 0x1FFFFFFF), t3 & 0x1FFFFFFF), t4 & 0x1FFFFFFF)); |
| 11905 }, |
| 11906 get$height: function(receiver) { |
| 11907 return receiver.height; |
| 11908 }, |
| 11909 get$left: function(receiver) { |
| 11910 return receiver.left; |
| 11911 }, |
| 11912 get$top: function(receiver) { |
| 11913 return receiver.top; |
| 11914 }, |
| 11915 get$width: function(receiver) { |
| 11916 return receiver.width; |
11515 }, | 11917 }, |
11516 $isRectangle: 1, | 11918 $isRectangle: 1, |
11517 $asRectangle: Isolate.functionThatReturnsNull, | 11919 $asRectangle: Isolate.functionThatReturnsNull, |
11518 "%": ";DOMRectReadOnly" | 11920 "%": ";DOMRectReadOnly" |
11519 }, | 11921 }, |
11520 DomTokenList: { | 11922 DomTokenList: { |
11521 "^": "Interceptor;length=", | 11923 "^": "Interceptor;length=", |
11522 add$1: function(receiver, tokens) { | 11924 add$1: function(receiver, tokens) { |
11523 return receiver.add(tokens); | 11925 return receiver.add(tokens); |
11524 }, | 11926 }, |
11525 contains$1: function(receiver, token) { | 11927 contains$1: function(receiver, token) { |
11526 return receiver.contains(token); | 11928 return receiver.contains(token); |
11527 }, | 11929 }, |
11528 "%": "DOMSettableTokenList|DOMTokenList" | 11930 "%": "DOMSettableTokenList|DOMTokenList" |
11529 }, | 11931 }, |
11530 Element: { | 11932 Element: { |
11531 "^": "Node;", | 11933 "^": "Node;", |
11532 toString$0: function(receiver) { | 11934 toString$0: function(receiver) { |
11533 return receiver.localName; | 11935 return receiver.localName; |
11534 }, | 11936 }, |
11535 get$onClick: function(receiver) { | 11937 get$onClick: function(receiver) { |
11536 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "cli
ck", false), [null]); | 11938 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "cli
ck", false), [H.getTypeArgumentByIndex(C.EventStreamProvider_click, 0)]); |
11537 }, | 11939 }, |
11538 $isElement: 1, | 11940 $isElement: 1, |
11539 $isNode: 1, | 11941 $isNode: 1, |
11540 $isObject: 1, | 11942 $isObject: 1, |
11541 $isInterceptor: 1, | 11943 $isInterceptor: 1, |
11542 "%": ";Element" | 11944 "%": ";Element" |
11543 }, | 11945 }, |
11544 EmbedElement: { | 11946 EmbedElement: { |
11545 "^": "HtmlElement;src%", | 11947 "^": "HtmlElement;src%", |
11546 "%": "HTMLEmbedElement" | 11948 "%": "HTMLEmbedElement" |
11547 }, | 11949 }, |
11548 ErrorEvent: { | 11950 ErrorEvent: { |
11549 "^": "Event;error=,message=", | 11951 "^": "Event;error=,message=", |
11550 "%": "ErrorEvent" | 11952 "%": "ErrorEvent" |
11551 }, | 11953 }, |
11552 Event: { | 11954 Event: { |
11553 "^": "Interceptor;", | 11955 "^": "Interceptor;", |
11554 stopPropagation$0: function(receiver) { | 11956 stopPropagation$0: function(receiver) { |
11555 return receiver.stopPropagation(); | 11957 return receiver.stopPropagation(); |
11556 }, | 11958 }, |
11557 $isEvent: 1, | 11959 $isEvent: 1, |
11558 "%": "AnimationPlayerEvent|AudioProcessingEvent|AutocompleteErrorEvent|Bef
oreUnloadEvent|CloseEvent|CustomEvent|DeviceLightEvent|DeviceMotionEvent|DeviceO
rientationEvent|ExtendableEvent|FetchEvent|FontFaceSetLoadEvent|GamepadEvent|Has
hChangeEvent|IDBVersionChangeEvent|InstallEvent|MIDIConnectionEvent|MediaKeyNeed
edEvent|MediaQueryListEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent
|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|Pro
gressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RTCPe
erConnectionIceEvent|RelatedEvent|ResourceProgressEvent|SecurityPolicyViolationE
vent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|Transit
ionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|XMLHttpReq
uestProgressEvent;ClipboardEvent|Event|InputEvent" | 11960 "%": "AnimationEvent|AnimationPlayerEvent|AudioProcessingEvent|Autocomplet
eErrorEvent|BeforeInstallPromptEvent|BeforeUnloadEvent|ClipboardEvent|CloseEvent
|CrossOriginConnectEvent|CustomEvent|DefaultSessionStartEvent|DeviceLightEvent|D
eviceMotionEvent|DeviceOrientationEvent|FontFaceSetLoadEvent|GamepadEvent|Geofen
cingEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MediaEncrypt
edEvent|MediaQueryListEvent|MediaStreamEvent|MediaStreamTrackEvent|OfflineAudioC
ompletionEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|PromiseRejectionE
vent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|RTCPeerConn
ectionIceEvent|RelatedEvent|ResourceProgressEvent|SecurityPolicyViolationEvent|S
peechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|TransitionEve
nt|WebGLContextEvent|WebKitTransitionEvent|XMLHttpRequestProgressEvent;Event|Inp
utEvent" |
11559 }, | 11961 }, |
11560 EventTarget: { | 11962 EventTarget: { |
11561 "^": "Interceptor;", | 11963 "^": "Interceptor;", |
11562 _addEventListener$3: function(receiver, type, listener, useCapture) { | 11964 _addEventListener$3: function(receiver, type, listener, capture) { |
11563 return receiver.addEventListener(type, H.convertDartClosureToJS(listener
, 1), false); | 11965 return receiver.addEventListener(type, H.convertDartClosureToJS(listener
, 1), false); |
11564 }, | 11966 }, |
11565 _removeEventListener$3: function(receiver, type, listener, useCapture) { | 11967 _removeEventListener$3: function(receiver, type, listener, capture) { |
11566 return receiver.removeEventListener(type, H.convertDartClosureToJS(liste
ner, 1), false); | 11968 return receiver.removeEventListener(type, H.convertDartClosureToJS(liste
ner, 1), false); |
11567 }, | 11969 }, |
11568 "%": "MediaStream;EventTarget" | 11970 "%": "MediaStream;EventTarget" |
11569 }, | 11971 }, |
| 11972 ExtendableEvent: { |
| 11973 "^": "Event;", |
| 11974 "%": "FetchEvent|NotificationEvent|PeriodicSyncEvent|SyncEvent;ExtendableE
vent" |
| 11975 }, |
11570 File: { | 11976 File: { |
11571 "^": "Blob;", | 11977 "^": "Blob;", |
11572 $isFile: 1, | 11978 $isFile: 1, |
11573 "%": "File" | 11979 "%": "File" |
11574 }, | 11980 }, |
11575 FormElement: { | 11981 FormElement: { |
11576 "^": "HtmlElement;length=", | 11982 "^": "HtmlElement;length=", |
11577 "%": "HTMLFormElement" | 11983 "%": "HTMLFormElement" |
11578 }, | 11984 }, |
11579 HtmlCollection: { | 11985 HtmlCollection: { |
(...skipping 12 matching lines...) Expand all Loading... |
11592 set$length: function(receiver, value) { | 11998 set$length: function(receiver, value) { |
11593 throw H.wrapException(new P.UnsupportedError("Cannot resize immutable Li
st.")); | 11999 throw H.wrapException(new P.UnsupportedError("Cannot resize immutable Li
st.")); |
11594 }, | 12000 }, |
11595 get$last: function(receiver) { | 12001 get$last: function(receiver) { |
11596 var len = receiver.length; | 12002 var len = receiver.length; |
11597 if (len > 0) | 12003 if (len > 0) |
11598 return receiver[len - 1]; | 12004 return receiver[len - 1]; |
11599 throw H.wrapException(new P.StateError("No elements")); | 12005 throw H.wrapException(new P.StateError("No elements")); |
11600 }, | 12006 }, |
11601 elementAt$1: function(receiver, index) { | 12007 elementAt$1: function(receiver, index) { |
11602 if (index < 0 || index >= receiver.length) | 12008 if (index >>> 0 !== index || index >= receiver.length) |
11603 return H.ioore(receiver, index); | 12009 return H.ioore(receiver, index); |
11604 return receiver[index]; | 12010 return receiver[index]; |
11605 }, | 12011 }, |
11606 $isList: 1, | 12012 $isList: 1, |
11607 $asList: function() { | 12013 $asList: function() { |
11608 return [W.Node]; | 12014 return [W.Node]; |
11609 }, | 12015 }, |
11610 $isEfficientLength: 1, | 12016 $isEfficientLength: 1, |
11611 $isJavaScriptIndexingBehavior: 1, | 12017 $isJavaScriptIndexingBehavior: 1, |
| 12018 $asJavaScriptIndexingBehavior: function() { |
| 12019 return [W.Node]; |
| 12020 }, |
11612 $isJSIndexable: 1, | 12021 $isJSIndexable: 1, |
| 12022 $asJSIndexable: function() { |
| 12023 return [W.Node]; |
| 12024 }, |
11613 "%": "HTMLCollection|HTMLFormControlsCollection|HTMLOptionsCollection" | 12025 "%": "HTMLCollection|HTMLFormControlsCollection|HTMLOptionsCollection" |
11614 }, | 12026 }, |
11615 Interceptor_ListMixin: { | 12027 Interceptor_ListMixin: { |
11616 "^": "Interceptor+ListMixin;", | 12028 "^": "Interceptor+ListMixin;", |
11617 $isList: 1, | 12029 $isList: 1, |
11618 $asList: function() { | 12030 $asList: function() { |
11619 return [W.Node]; | 12031 return [W.Node]; |
11620 }, | 12032 }, |
11621 $isEfficientLength: 1 | 12033 $isEfficientLength: 1 |
11622 }, | 12034 }, |
11623 Interceptor_ListMixin_ImmutableListMixin: { | 12035 Interceptor_ListMixin_ImmutableListMixin: { |
11624 "^": "Interceptor_ListMixin+ImmutableListMixin;", | 12036 "^": "Interceptor_ListMixin+ImmutableListMixin;", |
11625 $isList: 1, | 12037 $isList: 1, |
11626 $asList: function() { | 12038 $asList: function() { |
11627 return [W.Node]; | 12039 return [W.Node]; |
11628 }, | 12040 }, |
11629 $isEfficientLength: 1 | 12041 $isEfficientLength: 1 |
11630 }, | 12042 }, |
11631 IFrameElement: { | 12043 IFrameElement: { |
11632 "^": "HtmlElement;src%", | 12044 "^": "HtmlElement;src%", |
11633 get$contentWindow: function(receiver) { | 12045 get$contentWindow: function(receiver) { |
11634 return W._convertNativeToDart_Window(receiver.contentWindow); | 12046 return W._convertNativeToDart_Window(receiver.contentWindow); |
11635 }, | 12047 }, |
11636 $isHtmlElement: 1, | |
11637 $isElement: 1, | 12048 $isElement: 1, |
11638 $isNode: 1, | 12049 $isNode: 1, |
11639 $isObject: 1, | 12050 $isObject: 1, |
11640 "%": "HTMLIFrameElement" | 12051 "%": "HTMLIFrameElement" |
11641 }, | 12052 }, |
11642 ImageData: { | 12053 ImageData: { |
11643 "^": "Interceptor;data=", | 12054 "^": "Interceptor;data=", |
11644 $isImageData: 1, | 12055 $isImageData: 1, |
11645 "%": "ImageData" | 12056 "%": "ImageData" |
11646 }, | 12057 }, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11687 }, | 12098 }, |
11688 MessageEvent: { | 12099 MessageEvent: { |
11689 "^": "Event;origin=", | 12100 "^": "Event;origin=", |
11690 get$data: function(receiver) { | 12101 get$data: function(receiver) { |
11691 var t1, t2; | 12102 var t1, t2; |
11692 t1 = receiver.data; | 12103 t1 = receiver.data; |
11693 t2 = new P._AcceptStructuredCloneDart2Js([], [], false); | 12104 t2 = new P._AcceptStructuredCloneDart2Js([], [], false); |
11694 t2.mustCopy = true; | 12105 t2.mustCopy = true; |
11695 return t2.walk$1(t1); | 12106 return t2.walk$1(t1); |
11696 }, | 12107 }, |
| 12108 $isObject: 1, |
11697 "%": "MessageEvent" | 12109 "%": "MessageEvent" |
11698 }, | 12110 }, |
11699 MidiMessageEvent: { | 12111 MidiMessageEvent: { |
11700 "^": "Event;data=", | 12112 "^": "Event;data=", |
11701 "%": "MIDIMessageEvent" | 12113 "%": "MIDIMessageEvent" |
11702 }, | 12114 }, |
11703 MidiOutput: { | 12115 MidiOutput: { |
11704 "^": "MidiPort;", | 12116 "^": "MidiPort;", |
11705 send$2: function(receiver, data, timestamp) { | 12117 send$2: function(receiver, data, timestamp) { |
11706 return receiver.send(data, timestamp); | 12118 return receiver.send(data, timestamp); |
11707 }, | 12119 }, |
11708 send$1: function($receiver, data) { | 12120 send$1: function($receiver, data) { |
11709 return $receiver.send(data); | 12121 return $receiver.send(data); |
11710 }, | 12122 }, |
11711 "%": "MIDIOutput" | 12123 "%": "MIDIOutput" |
11712 }, | 12124 }, |
11713 MidiPort: { | 12125 MidiPort: { |
11714 "^": "EventTarget;", | 12126 "^": "EventTarget;", |
11715 "%": "MIDIInput;MIDIPort" | 12127 "%": "MIDIInput;MIDIPort" |
11716 }, | 12128 }, |
| 12129 MouseEvent: { |
| 12130 "^": "UIEvent;", |
| 12131 $isObject: 1, |
| 12132 "%": "DragEvent|MouseEvent|PointerEvent|WheelEvent" |
| 12133 }, |
11717 Navigator: { | 12134 Navigator: { |
11718 "^": "Interceptor;", | 12135 "^": "Interceptor;", |
11719 $isInterceptor: 1, | 12136 $isInterceptor: 1, |
11720 "%": "Navigator" | 12137 "%": "Navigator" |
11721 }, | 12138 }, |
11722 NavigatorUserMediaError: { | 12139 NavigatorUserMediaError: { |
11723 "^": "Interceptor;message=", | 12140 "^": "Interceptor;message=", |
11724 "%": "NavigatorUserMediaError" | 12141 "%": "NavigatorUserMediaError" |
11725 }, | 12142 }, |
11726 Node: { | 12143 Node: { |
11727 "^": "EventTarget;parent:parentElement=", | 12144 "^": "EventTarget;parent:parentElement=", |
11728 remove$0: function(receiver) { | 12145 remove$0: function(receiver) { |
11729 var t1 = receiver.parentNode; | 12146 var t1 = receiver.parentNode; |
11730 if (t1 != null) | 12147 if (t1 != null) |
11731 t1.removeChild(receiver); | 12148 t1.removeChild(receiver); |
11732 }, | 12149 }, |
11733 toString$0: function(receiver) { | 12150 toString$0: function(receiver) { |
11734 var value = receiver.nodeValue; | 12151 var value = receiver.nodeValue; |
11735 return value == null ? this.super$Interceptor$toString(receiver) : value
; | 12152 return value == null ? this.super$Interceptor$toString(receiver) : value
; |
11736 }, | 12153 }, |
11737 contains$1: function(receiver, other) { | 12154 contains$1: function(receiver, other) { |
11738 return receiver.contains(other); | 12155 return receiver.contains(other); |
11739 }, | 12156 }, |
11740 $isNode: 1, | 12157 $isNode: 1, |
11741 $isObject: 1, | 12158 $isObject: 1, |
11742 "%": "Attr|Document|HTMLDocument|XMLDocument;Node" | 12159 "%": "Attr;Node" |
11743 }, | 12160 }, |
11744 NodeList: { | 12161 NodeList: { |
11745 "^": "Interceptor_ListMixin_ImmutableListMixin0;", | 12162 "^": "Interceptor_ListMixin_ImmutableListMixin0;", |
11746 get$length: function(receiver) { | 12163 get$length: function(receiver) { |
11747 return receiver.length; | 12164 return receiver.length; |
11748 }, | 12165 }, |
11749 $index: function(receiver, index) { | 12166 $index: function(receiver, index) { |
11750 if (index >>> 0 !== index || index >= receiver.length) | 12167 if (index >>> 0 !== index || index >= receiver.length) |
11751 throw H.wrapException(P.IndexError$(index, receiver, null, null, null)
); | 12168 throw H.wrapException(P.IndexError$(index, receiver, null, null, null)
); |
11752 return receiver[index]; | 12169 return receiver[index]; |
11753 }, | 12170 }, |
11754 $indexSet: function(receiver, index, value) { | 12171 $indexSet: function(receiver, index, value) { |
11755 throw H.wrapException(new P.UnsupportedError("Cannot assign element of i
mmutable List.")); | 12172 throw H.wrapException(new P.UnsupportedError("Cannot assign element of i
mmutable List.")); |
11756 }, | 12173 }, |
11757 set$length: function(receiver, value) { | 12174 set$length: function(receiver, value) { |
11758 throw H.wrapException(new P.UnsupportedError("Cannot resize immutable Li
st.")); | 12175 throw H.wrapException(new P.UnsupportedError("Cannot resize immutable Li
st.")); |
11759 }, | 12176 }, |
11760 get$last: function(receiver) { | 12177 get$last: function(receiver) { |
11761 var len = receiver.length; | 12178 var len = receiver.length; |
11762 if (len > 0) | 12179 if (len > 0) |
11763 return receiver[len - 1]; | 12180 return receiver[len - 1]; |
11764 throw H.wrapException(new P.StateError("No elements")); | 12181 throw H.wrapException(new P.StateError("No elements")); |
11765 }, | 12182 }, |
11766 elementAt$1: function(receiver, index) { | 12183 elementAt$1: function(receiver, index) { |
11767 if (index < 0 || index >= receiver.length) | 12184 if (index >>> 0 !== index || index >= receiver.length) |
11768 return H.ioore(receiver, index); | 12185 return H.ioore(receiver, index); |
11769 return receiver[index]; | 12186 return receiver[index]; |
11770 }, | 12187 }, |
11771 $isList: 1, | 12188 $isList: 1, |
11772 $asList: function() { | 12189 $asList: function() { |
11773 return [W.Node]; | 12190 return [W.Node]; |
11774 }, | 12191 }, |
11775 $isEfficientLength: 1, | 12192 $isEfficientLength: 1, |
11776 $isJavaScriptIndexingBehavior: 1, | 12193 $isJavaScriptIndexingBehavior: 1, |
| 12194 $asJavaScriptIndexingBehavior: function() { |
| 12195 return [W.Node]; |
| 12196 }, |
11777 $isJSIndexable: 1, | 12197 $isJSIndexable: 1, |
| 12198 $asJSIndexable: function() { |
| 12199 return [W.Node]; |
| 12200 }, |
11778 "%": "NodeList|RadioNodeList" | 12201 "%": "NodeList|RadioNodeList" |
11779 }, | 12202 }, |
11780 Interceptor_ListMixin0: { | 12203 Interceptor_ListMixin0: { |
11781 "^": "Interceptor+ListMixin;", | 12204 "^": "Interceptor+ListMixin;", |
11782 $isList: 1, | 12205 $isList: 1, |
11783 $asList: function() { | 12206 $asList: function() { |
11784 return [W.Node]; | 12207 return [W.Node]; |
11785 }, | 12208 }, |
11786 $isEfficientLength: 1 | 12209 $isEfficientLength: 1 |
11787 }, | 12210 }, |
(...skipping 11 matching lines...) Expand all Loading... |
11799 }, | 12222 }, |
11800 PluginPlaceholderElement: { | 12223 PluginPlaceholderElement: { |
11801 "^": "DivElement;message=", | 12224 "^": "DivElement;message=", |
11802 "%": "PluginPlaceholderElement" | 12225 "%": "PluginPlaceholderElement" |
11803 }, | 12226 }, |
11804 PositionError: { | 12227 PositionError: { |
11805 "^": "Interceptor;message=", | 12228 "^": "Interceptor;message=", |
11806 "%": "PositionError" | 12229 "%": "PositionError" |
11807 }, | 12230 }, |
11808 PushEvent: { | 12231 PushEvent: { |
11809 "^": "Event;data=", | 12232 "^": "ExtendableEvent;data=", |
11810 "%": "PushEvent" | 12233 "%": "PushEvent" |
11811 }, | 12234 }, |
11812 ScriptElement: { | 12235 ScriptElement: { |
11813 "^": "HtmlElement;src%", | 12236 "^": "HtmlElement;src%", |
11814 "%": "HTMLScriptElement" | 12237 "%": "HTMLScriptElement" |
11815 }, | 12238 }, |
11816 SelectElement: { | 12239 SelectElement: { |
11817 "^": "HtmlElement;length=", | 12240 "^": "HtmlElement;length=", |
11818 "%": "HTMLSelectElement" | 12241 "%": "HTMLSelectElement" |
11819 }, | 12242 }, |
| 12243 ServicePortConnectEvent: { |
| 12244 "^": "ExtendableEvent;origin=", |
| 12245 "%": "ServicePortConnectEvent" |
| 12246 }, |
| 12247 ServiceWorkerMessageEvent: { |
| 12248 "^": "Event;origin=", |
| 12249 get$data: function(receiver) { |
| 12250 var t1, t2; |
| 12251 t1 = receiver.data; |
| 12252 t2 = new P._AcceptStructuredCloneDart2Js([], [], false); |
| 12253 t2.mustCopy = true; |
| 12254 return t2.walk$1(t1); |
| 12255 }, |
| 12256 "%": "ServiceWorkerMessageEvent" |
| 12257 }, |
11820 SourceElement: { | 12258 SourceElement: { |
11821 "^": "HtmlElement;src%", | 12259 "^": "HtmlElement;src%", |
11822 "%": "HTMLSourceElement" | 12260 "%": "HTMLSourceElement" |
11823 }, | 12261 }, |
11824 SpeechRecognitionError: { | 12262 SpeechRecognitionError: { |
11825 "^": "Event;error=,message=", | 12263 "^": "Event;error=,message=", |
11826 "%": "SpeechRecognitionError" | 12264 "%": "SpeechRecognitionError" |
11827 }, | 12265 }, |
11828 TextEvent: { | 12266 TextEvent: { |
11829 "^": "UIEvent;data=", | 12267 "^": "UIEvent;data=", |
11830 "%": "TextEvent" | 12268 "%": "TextEvent" |
11831 }, | 12269 }, |
11832 TrackElement: { | 12270 TrackElement: { |
11833 "^": "HtmlElement;src%", | 12271 "^": "HtmlElement;src%", |
11834 "%": "HTMLTrackElement" | 12272 "%": "HTMLTrackElement" |
11835 }, | 12273 }, |
11836 UIEvent: { | 12274 UIEvent: { |
11837 "^": "Event;", | 12275 "^": "Event;", |
11838 "%": "DragEvent|FocusEvent|MSPointerEvent|MouseEvent|PointerEvent|SVGZoomE
vent|TouchEvent|WheelEvent;UIEvent" | 12276 "%": "FocusEvent|SVGZoomEvent|TouchEvent;UIEvent" |
11839 }, | 12277 }, |
11840 WebSocket: { | 12278 WebSocket: { |
11841 "^": "EventTarget;", | 12279 "^": "EventTarget;", |
11842 send$1: function(receiver, data) { | 12280 send$1: function(receiver, data) { |
11843 return receiver.send(data); | 12281 return receiver.send(data); |
11844 }, | 12282 }, |
11845 "%": "WebSocket" | 12283 "%": "WebSocket" |
11846 }, | 12284 }, |
11847 Window: { | 12285 Window: { |
11848 "^": "EventTarget;", | 12286 "^": "EventTarget;", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11946 set$length: function(receiver, value) { | 12384 set$length: function(receiver, value) { |
11947 throw H.wrapException(new P.UnsupportedError("Cannot resize immutable Li
st.")); | 12385 throw H.wrapException(new P.UnsupportedError("Cannot resize immutable Li
st.")); |
11948 }, | 12386 }, |
11949 get$last: function(receiver) { | 12387 get$last: function(receiver) { |
11950 var len = receiver.length; | 12388 var len = receiver.length; |
11951 if (len > 0) | 12389 if (len > 0) |
11952 return receiver[len - 1]; | 12390 return receiver[len - 1]; |
11953 throw H.wrapException(new P.StateError("No elements")); | 12391 throw H.wrapException(new P.StateError("No elements")); |
11954 }, | 12392 }, |
11955 elementAt$1: function(receiver, index) { | 12393 elementAt$1: function(receiver, index) { |
11956 if (index < 0 || index >= receiver.length) | 12394 if (index >>> 0 !== index || index >= receiver.length) |
11957 return H.ioore(receiver, index); | 12395 return H.ioore(receiver, index); |
11958 return receiver[index]; | 12396 return receiver[index]; |
11959 }, | 12397 }, |
11960 $isList: 1, | 12398 $isList: 1, |
11961 $asList: function() { | 12399 $asList: function() { |
11962 return [W.Node]; | 12400 return [W.Node]; |
11963 }, | 12401 }, |
11964 $isEfficientLength: 1, | 12402 $isEfficientLength: 1, |
11965 $isJavaScriptIndexingBehavior: 1, | 12403 $isJavaScriptIndexingBehavior: 1, |
| 12404 $asJavaScriptIndexingBehavior: function() { |
| 12405 return [W.Node]; |
| 12406 }, |
11966 $isJSIndexable: 1, | 12407 $isJSIndexable: 1, |
| 12408 $asJSIndexable: function() { |
| 12409 return [W.Node]; |
| 12410 }, |
11967 "%": "MozNamedAttrMap|NamedNodeMap" | 12411 "%": "MozNamedAttrMap|NamedNodeMap" |
11968 }, | 12412 }, |
11969 Interceptor_ListMixin1: { | 12413 Interceptor_ListMixin1: { |
11970 "^": "Interceptor+ListMixin;", | 12414 "^": "Interceptor+ListMixin;", |
11971 $isList: 1, | 12415 $isList: 1, |
11972 $asList: function() { | 12416 $asList: function() { |
11973 return [W.Node]; | 12417 return [W.Node]; |
11974 }, | 12418 }, |
11975 $isEfficientLength: 1 | 12419 $isEfficientLength: 1 |
11976 }, | 12420 }, |
11977 Interceptor_ListMixin_ImmutableListMixin1: { | 12421 Interceptor_ListMixin_ImmutableListMixin1: { |
11978 "^": "Interceptor_ListMixin1+ImmutableListMixin;", | 12422 "^": "Interceptor_ListMixin1+ImmutableListMixin;", |
11979 $isList: 1, | 12423 $isList: 1, |
11980 $asList: function() { | 12424 $asList: function() { |
11981 return [W.Node]; | 12425 return [W.Node]; |
11982 }, | 12426 }, |
11983 $isEfficientLength: 1 | 12427 $isEfficientLength: 1 |
11984 }, | 12428 }, |
| 12429 EventStreamProvider: { |
| 12430 "^": "Object;_eventType" |
| 12431 }, |
11985 _EventStream: { | 12432 _EventStream: { |
11986 "^": "Stream;_target,_eventType,_useCapture", | 12433 "^": "Stream;_target,_eventType,_useCapture", |
11987 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onD
one, onError) { | 12434 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onD
one, onError) { |
11988 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType
, W._wrapZone(onData), false); | 12435 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType
, W._wrapZone(onData), false); |
11989 t1.$builtinTypeInfo = this.$builtinTypeInfo; | 12436 t1.$builtinTypeInfo = this.$builtinTypeInfo; |
11990 t1._tryResume$0(); | 12437 t1._tryResume$0(); |
11991 return t1; | 12438 return t1; |
11992 }, | 12439 }, |
11993 listen$1: function(onData) { | 12440 listen$1: function(onData) { |
11994 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, nu
ll); | 12441 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, nu
ll); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12099 get$parent: function(_) { | 12546 get$parent: function(_) { |
12100 return W._DOMWindowCrossFrame__createSafe(this._window.parent); | 12547 return W._DOMWindowCrossFrame__createSafe(this._window.parent); |
12101 }, | 12548 }, |
12102 postMessage$3: function(_, message, targetOrigin, messagePorts) { | 12549 postMessage$3: function(_, message, targetOrigin, messagePorts) { |
12103 this._window.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(me
ssage), targetOrigin); | 12550 this._window.postMessage(new P._StructuredCloneDart2Js([], []).walk$1(me
ssage), targetOrigin); |
12104 }, | 12551 }, |
12105 postMessage$2: function($receiver, message, targetOrigin) { | 12552 postMessage$2: function($receiver, message, targetOrigin) { |
12106 return this.postMessage$3($receiver, message, targetOrigin, null); | 12553 return this.postMessage$3($receiver, message, targetOrigin, null); |
12107 }, | 12554 }, |
12108 $isInterceptor: 1, | 12555 $isInterceptor: 1, |
12109 static: {_DOMWindowCrossFrame__createSafe: function(w) { | 12556 static: { |
| 12557 _DOMWindowCrossFrame__createSafe: function(w) { |
12110 if (w === window) | 12558 if (w === window) |
12111 return w; | 12559 return w; |
12112 else | 12560 else |
12113 return new W._DOMWindowCrossFrame(w); | 12561 return new W._DOMWindowCrossFrame(w); |
12114 }} | 12562 } |
| 12563 } |
12115 }, | 12564 }, |
12116 _LocationCrossFrame: { | 12565 _LocationCrossFrame: { |
12117 "^": "Object;_location", | 12566 "^": "Object;_location", |
12118 static: {_LocationCrossFrame__createSafe: function($location) { | 12567 static: { |
| 12568 _LocationCrossFrame__createSafe: function($location) { |
12119 if ($location === window.location) | 12569 if ($location === window.location) |
12120 return $location; | 12570 return $location; |
12121 else | 12571 else |
12122 return new W._LocationCrossFrame($location); | 12572 return new W._LocationCrossFrame($location); |
12123 }} | 12573 } |
| 12574 } |
12124 } | 12575 } |
12125 }], ["dart.dom.indexed_db", "dart:indexed_db",, P, { | 12576 }], ["dart.dom.indexed_db", "dart:indexed_db",, P, { |
12126 "^": "", | 12577 "^": "", |
12127 KeyRange: { | 12578 KeyRange: { |
12128 "^": "Interceptor;", | 12579 "^": "Interceptor;", |
12129 $isKeyRange: 1, | 12580 $isKeyRange: 1, |
12130 "%": "IDBKeyRange" | 12581 "%": "IDBKeyRange" |
12131 } | 12582 } |
12132 }], ["dart.dom.svg", "dart:svg",, P, { | 12583 }], ["dart.dom.svg", "dart:svg",, P, { |
12133 "^": "", | 12584 "^": "", |
12134 AElement: { | 12585 AElement: { |
12135 "^": "GraphicsElement;", | 12586 "^": "GraphicsElement;", |
12136 $isInterceptor: 1, | 12587 $isInterceptor: 1, |
12137 "%": "SVGAElement" | 12588 "%": "SVGAElement" |
12138 }, | 12589 }, |
12139 AltGlyphElement: { | |
12140 "^": "TextPositioningElement;", | |
12141 $isInterceptor: 1, | |
12142 "%": "SVGAltGlyphElement" | |
12143 }, | |
12144 AnimationElement: { | 12590 AnimationElement: { |
12145 "^": "SvgElement;", | 12591 "^": "SvgElement;", |
12146 $isInterceptor: 1, | 12592 $isInterceptor: 1, |
12147 "%": "SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement
|SVGAnimationElement|SVGSetElement" | 12593 "%": "SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement
|SVGAnimationElement|SVGSetElement" |
12148 }, | 12594 }, |
12149 FEBlendElement: { | 12595 FEBlendElement: { |
12150 "^": "SvgElement;result=", | 12596 "^": "SvgElement;result=", |
12151 $isInterceptor: 1, | 12597 $isInterceptor: 1, |
12152 "%": "SVGFEBlendElement" | 12598 "%": "SVGFEBlendElement" |
12153 }, | 12599 }, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12257 "%": "SVGPatternElement" | 12703 "%": "SVGPatternElement" |
12258 }, | 12704 }, |
12259 ScriptElement0: { | 12705 ScriptElement0: { |
12260 "^": "SvgElement;", | 12706 "^": "SvgElement;", |
12261 $isInterceptor: 1, | 12707 $isInterceptor: 1, |
12262 "%": "SVGScriptElement" | 12708 "%": "SVGScriptElement" |
12263 }, | 12709 }, |
12264 SvgElement: { | 12710 SvgElement: { |
12265 "^": "Element;", | 12711 "^": "Element;", |
12266 get$onClick: function(receiver) { | 12712 get$onClick: function(receiver) { |
12267 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "cli
ck", false), [null]); | 12713 return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "cli
ck", false), [H.getTypeArgumentByIndex(C.EventStreamProvider_click, 0)]); |
12268 }, | 12714 }, |
12269 $isInterceptor: 1, | 12715 $isInterceptor: 1, |
12270 "%": "SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGComponentTransferFun
ctionElement|SVGDescElement|SVGDiscardElement|SVGFEDistantLightElement|SVGFEFunc
AElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGFEMergeNodeEle
ment|SVGFEPointLightElement|SVGFESpotLightElement|SVGFontElement|SVGFontFaceElem
ent|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFon
tFaceUriElement|SVGGlyphElement|SVGHKernElement|SVGMetadataElement|SVGMissingGly
phElement|SVGStopElement|SVGStyleElement|SVGTitleElement|SVGVKernElement;SVGElem
ent" | 12716 "%": "SVGComponentTransferFunctionElement|SVGDescElement|SVGDiscardElement
|SVGFEDistantLightElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|
SVGFEFuncRElement|SVGFEMergeNodeElement|SVGFEPointLightElement|SVGFESpotLightEle
ment|SVGMetadataElement|SVGStopElement|SVGStyleElement|SVGTitleElement;SVGElemen
t" |
12271 }, | 12717 }, |
12272 SvgSvgElement: { | 12718 SvgSvgElement: { |
12273 "^": "GraphicsElement;", | 12719 "^": "GraphicsElement;", |
12274 $isInterceptor: 1, | 12720 $isInterceptor: 1, |
12275 "%": "SVGSVGElement" | 12721 "%": "SVGSVGElement" |
12276 }, | 12722 }, |
12277 SymbolElement: { | 12723 SymbolElement: { |
12278 "^": "SvgElement;", | 12724 "^": "SvgElement;", |
12279 $isInterceptor: 1, | 12725 $isInterceptor: 1, |
12280 "%": "SVGSymbolElement" | 12726 "%": "SVGSymbolElement" |
12281 }, | 12727 }, |
12282 TextContentElement: { | 12728 TextContentElement: { |
12283 "^": "GraphicsElement;", | 12729 "^": "GraphicsElement;", |
12284 "%": ";SVGTextContentElement" | 12730 "%": "SVGTSpanElement|SVGTextElement|SVGTextPositioningElement;SVGTextCont
entElement" |
12285 }, | 12731 }, |
12286 TextPathElement: { | 12732 TextPathElement: { |
12287 "^": "TextContentElement;", | 12733 "^": "TextContentElement;", |
12288 $isInterceptor: 1, | 12734 $isInterceptor: 1, |
12289 "%": "SVGTextPathElement" | 12735 "%": "SVGTextPathElement" |
12290 }, | 12736 }, |
12291 TextPositioningElement: { | |
12292 "^": "TextContentElement;", | |
12293 "%": "SVGTSpanElement|SVGTextElement;SVGTextPositioningElement" | |
12294 }, | |
12295 UseElement: { | 12737 UseElement: { |
12296 "^": "GraphicsElement;", | 12738 "^": "GraphicsElement;", |
12297 $isInterceptor: 1, | 12739 $isInterceptor: 1, |
12298 "%": "SVGUseElement" | 12740 "%": "SVGUseElement" |
12299 }, | 12741 }, |
12300 ViewElement: { | 12742 ViewElement: { |
12301 "^": "SvgElement;", | 12743 "^": "SvgElement;", |
12302 $isInterceptor: 1, | 12744 $isInterceptor: 1, |
12303 "%": "SVGViewElement" | 12745 "%": "SVGViewElement" |
12304 }, | 12746 }, |
12305 _GradientElement: { | 12747 _GradientElement: { |
12306 "^": "SvgElement;", | 12748 "^": "SvgElement;", |
12307 $isInterceptor: 1, | 12749 $isInterceptor: 1, |
12308 "%": "SVGGradientElement|SVGLinearGradientElement|SVGRadialGradientElement
" | 12750 "%": "SVGGradientElement|SVGLinearGradientElement|SVGRadialGradientElement
" |
12309 }, | 12751 }, |
12310 _SVGCursorElement: { | 12752 _SVGCursorElement: { |
12311 "^": "SvgElement;", | 12753 "^": "SvgElement;", |
12312 $isInterceptor: 1, | 12754 $isInterceptor: 1, |
12313 "%": "SVGCursorElement" | 12755 "%": "SVGCursorElement" |
12314 }, | 12756 }, |
12315 _SVGFEDropShadowElement: { | 12757 _SVGFEDropShadowElement: { |
12316 "^": "SvgElement;", | 12758 "^": "SvgElement;", |
12317 $isInterceptor: 1, | 12759 $isInterceptor: 1, |
12318 "%": "SVGFEDropShadowElement" | 12760 "%": "SVGFEDropShadowElement" |
12319 }, | 12761 }, |
12320 _SVGGlyphRefElement: { | |
12321 "^": "SvgElement;", | |
12322 $isInterceptor: 1, | |
12323 "%": "SVGGlyphRefElement" | |
12324 }, | |
12325 _SVGMPathElement: { | 12762 _SVGMPathElement: { |
12326 "^": "SvgElement;", | 12763 "^": "SvgElement;", |
12327 $isInterceptor: 1, | 12764 $isInterceptor: 1, |
12328 "%": "SVGMPathElement" | 12765 "%": "SVGMPathElement" |
12329 } | 12766 } |
12330 }], ["dart.dom.web_audio", "dart:web_audio",, P, { | 12767 }], ["dart.dom.web_audio", "dart:web_audio",, P, { |
12331 "^": "" | 12768 "^": "" |
12332 }], ["dart.dom.web_gl", "dart:web_gl",, P, { | 12769 }], ["dart.dom.web_gl", "dart:web_gl",, P, { |
12333 "^": "" | 12770 "^": "" |
12334 }], ["dart.dom.web_sql", "dart:web_sql",, P, { | 12771 }], ["dart.dom.web_sql", "dart:web_sql",, P, { |
(...skipping 11 matching lines...) Expand all Loading... |
12346 "^": "", | 12783 "^": "", |
12347 _callDartFunction: [function(callback, captureThis, $self, $arguments) { | 12784 _callDartFunction: [function(callback, captureThis, $self, $arguments) { |
12348 var arguments0, dartArgs; | 12785 var arguments0, dartArgs; |
12349 if (captureThis === true) { | 12786 if (captureThis === true) { |
12350 arguments0 = [$self]; | 12787 arguments0 = [$self]; |
12351 C.JSArray_methods.addAll$1(arguments0, $arguments); | 12788 C.JSArray_methods.addAll$1(arguments0, $arguments); |
12352 $arguments = arguments0; | 12789 $arguments = arguments0; |
12353 } | 12790 } |
12354 dartArgs = P.List_List$from(J.map$1$ax($arguments, P.js___convertToDart$cl
osure()), true, null); | 12791 dartArgs = P.List_List$from(J.map$1$ax($arguments, P.js___convertToDart$cl
osure()), true, null); |
12355 return P._convertToJS(H.Primitives_applyFunctionWithPositionalArguments(ca
llback, dartArgs)); | 12792 return P._convertToJS(H.Primitives_applyFunctionWithPositionalArguments(ca
llback, dartArgs)); |
12356 }, null, null, 8, 0, null, 16, 41, 0, 42], | 12793 }, null, null, 8, 0, null, 16, 42, 0, 43], |
12357 _defineProperty: function(o, $name, value) { | 12794 _defineProperty: function(o, $name, value) { |
12358 var exception; | 12795 var exception; |
12359 try { | 12796 try { |
12360 if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $
name)) { | 12797 if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $
name)) { |
12361 Object.defineProperty(o, $name, {value: value}); | 12798 Object.defineProperty(o, $name, {value: value}); |
12362 return true; | 12799 return true; |
12363 } | 12800 } |
12364 } catch (exception) { | 12801 } catch (exception) { |
12365 H.unwrapException(exception); | 12802 H.unwrapException(exception); |
12366 } | 12803 } |
(...skipping 11 matching lines...) Expand all Loading... |
12378 t1 = J.getInterceptor(o); | 12815 t1 = J.getInterceptor(o); |
12379 if (!!t1.$isJsObject) | 12816 if (!!t1.$isJsObject) |
12380 return o._jsObject; | 12817 return o._jsObject; |
12381 if (!!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData
|| !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow) | 12818 if (!!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData
|| !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow) |
12382 return o; | 12819 return o; |
12383 if (!!t1.$isDateTime) | 12820 if (!!t1.$isDateTime) |
12384 return H.Primitives_lazyAsJsDate(o); | 12821 return H.Primitives_lazyAsJsDate(o); |
12385 if (!!t1.$isFunction) | 12822 if (!!t1.$isFunction) |
12386 return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()
); | 12823 return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()
); |
12387 return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.$
get$_dartProxyCtor())); | 12824 return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.$
get$_dartProxyCtor())); |
12388 }, "call$1", "js___convertToJS$closure", 2, 0, 0, 26], | 12825 }, "call$1", "js___convertToJS$closure", 2, 0, 0, 24], |
12389 _getJsProxy: function(o, propertyName, createProxy) { | 12826 _getJsProxy: function(o, propertyName, createProxy) { |
12390 var jsProxy = P._getOwnProperty(o, propertyName); | 12827 var jsProxy = P._getOwnProperty(o, propertyName); |
12391 if (jsProxy == null) { | 12828 if (jsProxy == null) { |
12392 jsProxy = createProxy.call$1(o); | 12829 jsProxy = createProxy.call$1(o); |
12393 P._defineProperty(o, propertyName, jsProxy); | 12830 P._defineProperty(o, propertyName, jsProxy); |
12394 } | 12831 } |
12395 return jsProxy; | 12832 return jsProxy; |
12396 }, | 12833 }, |
12397 _convertToDart: [function(o) { | 12834 _convertToDart: [function(o) { |
12398 var t1, ms; | 12835 var t1, ms; |
(...skipping 10 matching lines...) Expand all Loading... |
12409 else if (o instanceof Date) { | 12846 else if (o instanceof Date) { |
12410 ms = o.getTime(); | 12847 ms = o.getTime(); |
12411 t1 = new P.DateTime(ms, false); | 12848 t1 = new P.DateTime(ms, false); |
12412 t1.DateTime$_withValue$2$isUtc(ms, false); | 12849 t1.DateTime$_withValue$2$isUtc(ms, false); |
12413 return t1; | 12850 return t1; |
12414 } else if (o.constructor === $.$get$_dartProxyCtor()) | 12851 } else if (o.constructor === $.$get$_dartProxyCtor()) |
12415 return o.o; | 12852 return o.o; |
12416 else | 12853 else |
12417 return P._wrapToDart(o); | 12854 return P._wrapToDart(o); |
12418 } | 12855 } |
12419 }, "call$1", "js___convertToDart$closure", 2, 0, 12, 26], | 12856 }, "call$1", "js___convertToDart$closure", 2, 0, 65, 24], |
12420 _wrapToDart: function(o) { | 12857 _wrapToDart: function(o) { |
12421 if (typeof o == "function") | 12858 if (typeof o == "function") |
12422 return P._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new P._wr
apToDart_closure()); | 12859 return P._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new P._wr
apToDart_closure()); |
12423 if (o instanceof Array) | 12860 if (o instanceof Array) |
12424 return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wr
apToDart_closure0()); | 12861 return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wr
apToDart_closure0()); |
12425 return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrap
ToDart_closure1()); | 12862 return P._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new P._wrap
ToDart_closure1()); |
12426 }, | 12863 }, |
12427 _getDartProxy: function(o, propertyName, createProxy) { | 12864 _getDartProxy: function(o, propertyName, createProxy) { |
12428 var dartProxy = P._getOwnProperty(o, propertyName); | 12865 var dartProxy = P._getOwnProperty(o, propertyName); |
12429 if (dartProxy == null || !(o instanceof Object)) { | 12866 if (dartProxy == null || !(o instanceof Object)) { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12529 H.throwExpression(P.RangeError$range(t3, 0, null, "end", null)); | 12966 H.throwExpression(P.RangeError$range(t3, 0, null, "end", null)); |
12530 if (t2 > t3) | 12967 if (t2 > t3) |
12531 H.throwExpression(P.RangeError$range(t2, 0, t3, "start", null)); | 12968 H.throwExpression(P.RangeError$range(t2, 0, t3, "start", null)); |
12532 } | 12969 } |
12533 C.JSArray_methods.addAll$1(args, t1.take$1(0, $length)); | 12970 C.JSArray_methods.addAll$1(args, t1.take$1(0, $length)); |
12534 this.callMethod$2("splice", args); | 12971 this.callMethod$2("splice", args); |
12535 }, | 12972 }, |
12536 setRange$3: function($receiver, start, end, iterable) { | 12973 setRange$3: function($receiver, start, end, iterable) { |
12537 return this.setRange$4($receiver, start, end, iterable, 0); | 12974 return this.setRange$4($receiver, start, end, iterable, 0); |
12538 }, | 12975 }, |
12539 static: {JsArray__checkRange: function(start, end, $length) { | 12976 static: { |
| 12977 JsArray__checkRange: function(start, end, $length) { |
12540 if (start > $length) | 12978 if (start > $length) |
12541 throw H.wrapException(P.RangeError$range(start, 0, $length, null, nu
ll)); | 12979 throw H.wrapException(P.RangeError$range(start, 0, $length, null, nu
ll)); |
12542 if (end < start || end > $length) | 12980 if (end < start || end > $length) |
12543 throw H.wrapException(P.RangeError$range(end, start, $length, null,
null)); | 12981 throw H.wrapException(P.RangeError$range(end, start, $length, null,
null)); |
12544 }} | 12982 } |
| 12983 } |
12545 }, | 12984 }, |
12546 JsObject_ListMixin: { | 12985 JsObject_ListMixin: { |
12547 "^": "JsObject+ListMixin;", | 12986 "^": "JsObject+ListMixin;", |
12548 $isList: 1, | 12987 $isList: 1, |
12549 $asList: null, | 12988 $asList: null, |
12550 $isEfficientLength: 1 | 12989 $isEfficientLength: 1 |
12551 }, | 12990 }, |
12552 _convertToJS_closure: { | 12991 _convertToJS_closure: { |
12553 "^": "Closure:0;", | 12992 "^": "Closure:0;", |
12554 call$1: function(o) { | 12993 call$1: function(o) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12614 "^": "Object;", | 13053 "^": "Object;", |
12615 $isList: 1, | 13054 $isList: 1, |
12616 $asList: function() { | 13055 $asList: function() { |
12617 return [P.$int]; | 13056 return [P.$int]; |
12618 }, | 13057 }, |
12619 $isTypedData: 1, | 13058 $isTypedData: 1, |
12620 $isEfficientLength: 1 | 13059 $isEfficientLength: 1 |
12621 } | 13060 } |
12622 }], ["dart.typed_data.implementation", "dart:_native_typed_data",, H, { | 13061 }], ["dart.typed_data.implementation", "dart:_native_typed_data",, H, { |
12623 "^": "", | 13062 "^": "", |
| 13063 _checkLength: function($length) { |
| 13064 if (typeof $length !== "number" || Math.floor($length) !== $length) |
| 13065 throw H.wrapException(P.ArgumentError$("Invalid length " + H.S($length))
); |
| 13066 return $length; |
| 13067 }, |
12624 _checkValidRange: function(start, end, $length) { | 13068 _checkValidRange: function(start, end, $length) { |
12625 var t1; | 13069 var t1; |
12626 if (!(start >>> 0 !== start)) | 13070 if (!(start >>> 0 !== start)) |
12627 t1 = end >>> 0 !== end || start > end || end > $length; | 13071 t1 = end >>> 0 !== end || start > end || end > $length; |
12628 else | 13072 else |
12629 t1 = true; | 13073 t1 = true; |
12630 if (t1) | 13074 if (t1) |
12631 throw H.wrapException(H.diagnoseRangeError(start, end, $length)); | 13075 throw H.wrapException(H.diagnoseRangeError(start, end, $length)); |
12632 return end; | 13076 return end; |
12633 }, | 13077 }, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12668 throw H.wrapException(P.RangeError$range(start, 0, end, null, null)); | 13112 throw H.wrapException(P.RangeError$range(start, 0, end, null, null)); |
12669 count = end - start; | 13113 count = end - start; |
12670 sourceLength = source.length; | 13114 sourceLength = source.length; |
12671 if (sourceLength - skipCount < count) | 13115 if (sourceLength - skipCount < count) |
12672 throw H.wrapException(new P.StateError("Not enough elements")); | 13116 throw H.wrapException(new P.StateError("Not enough elements")); |
12673 if (skipCount !== 0 || sourceLength !== count) | 13117 if (skipCount !== 0 || sourceLength !== count) |
12674 source = source.subarray(skipCount, skipCount + count); | 13118 source = source.subarray(skipCount, skipCount + count); |
12675 receiver.set(source, start); | 13119 receiver.set(source, start); |
12676 }, | 13120 }, |
12677 $isJavaScriptIndexingBehavior: 1, | 13121 $isJavaScriptIndexingBehavior: 1, |
12678 $isJSIndexable: 1 | 13122 $asJavaScriptIndexingBehavior: Isolate.functionThatReturnsNull, |
| 13123 $isJSIndexable: 1, |
| 13124 $asJSIndexable: Isolate.functionThatReturnsNull |
12679 }, | 13125 }, |
12680 NativeTypedArrayOfDouble: { | 13126 NativeTypedArrayOfDouble: { |
12681 "^": "NativeTypedArray_ListMixin_FixedLengthListMixin;", | 13127 "^": "NativeTypedArray_ListMixin_FixedLengthListMixin;", |
12682 $index: function(receiver, index) { | 13128 $index: function(receiver, index) { |
12683 if (index >>> 0 !== index || index >= receiver.length) | 13129 if (index >>> 0 !== index || index >= receiver.length) |
12684 H.throwExpression(H.diagnoseIndexError(receiver, index)); | 13130 H.throwExpression(H.diagnoseIndexError(receiver, index)); |
12685 return receiver[index]; | 13131 return receiver[index]; |
12686 }, | 13132 }, |
12687 $indexSet: function(receiver, index, value) { | 13133 $indexSet: function(receiver, index, value) { |
12688 if (index >>> 0 !== index || index >= receiver.length) | 13134 if (index >>> 0 !== index || index >= receiver.length) |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12892 return; | 13338 return; |
12893 } | 13339 } |
12894 if (typeof window == "object") | 13340 if (typeof window == "object") |
12895 return; | 13341 return; |
12896 if (typeof print == "function") { | 13342 if (typeof print == "function") { |
12897 print(string); | 13343 print(string); |
12898 return; | 13344 return; |
12899 } | 13345 } |
12900 throw "Unable to print message: " + String(string); | 13346 throw "Unable to print message: " + String(string); |
12901 } | 13347 } |
12902 }], ["frame", "package:stack_trace/src/frame.dart",, S, { | 13348 }], ["", "package:stack_trace/src/frame.dart",, A, { |
12903 "^": "", | 13349 "^": "", |
12904 Frame: { | 13350 Frame: { |
12905 "^": "Object;uri<,line<,column<,member<", | 13351 "^": "Object;uri<,line<,column<,member<", |
12906 get$isCore: function() { | 13352 get$isCore: function() { |
12907 return this.uri.scheme === "dart"; | 13353 return this.uri.scheme === "dart"; |
12908 }, | 13354 }, |
12909 get$library: function() { | 13355 get$library: function() { |
12910 var t1 = this.uri; | 13356 var t1 = this.uri; |
12911 if (t1.scheme === "data") | 13357 if (t1.scheme === "data") |
12912 return "data:..."; | 13358 return "data:..."; |
(...skipping 11 matching lines...) Expand all Loading... |
12924 if (t1 == null) | 13370 if (t1 == null) |
12925 return this.get$library(); | 13371 return this.get$library(); |
12926 t2 = this.column; | 13372 t2 = this.column; |
12927 if (t2 == null) | 13373 if (t2 == null) |
12928 return this.get$library() + " " + H.S(t1); | 13374 return this.get$library() + " " + H.S(t1); |
12929 return this.get$library() + " " + H.S(t1) + ":" + H.S(t2); | 13375 return this.get$library() + " " + H.S(t1) + ":" + H.S(t2); |
12930 }, | 13376 }, |
12931 toString$0: function(_) { | 13377 toString$0: function(_) { |
12932 return this.get$location(this) + " in " + H.S(this.member); | 13378 return this.get$location(this) + " in " + H.S(this.member); |
12933 }, | 13379 }, |
12934 static: {Frame_Frame$parseVM: function(frame) { | 13380 static: { |
12935 return S.Frame__catchFormatException(frame, new S.closure0(frame)); | 13381 Frame_Frame$parseVM: function(frame) { |
12936 }, Frame_Frame$parseV8: function(frame) { | 13382 return A.Frame__catchFormatException(frame, new A.closure0(frame)); |
12937 return S.Frame__catchFormatException(frame, new S.closure4(frame)); | 13383 }, |
12938 }, Frame_Frame$parseFirefox: function(frame) { | 13384 Frame_Frame$parseV8: function(frame) { |
12939 return S.Frame__catchFormatException(frame, new S.closure3(frame)); | 13385 return A.Frame__catchFormatException(frame, new A.closure4(frame)); |
12940 }, Frame_Frame$parseFriendly: function(frame) { | 13386 }, |
12941 return S.Frame__catchFormatException(frame, new S.closure1(frame)); | 13387 Frame_Frame$parseFirefox: function(frame) { |
12942 }, Frame__uriOrPathToUri: function(uriOrPath) { | 13388 return A.Frame__catchFormatException(frame, new A.closure3(frame)); |
| 13389 }, |
| 13390 Frame_Frame$parseFriendly: function(frame) { |
| 13391 return A.Frame__catchFormatException(frame, new A.closure1(frame)); |
| 13392 }, |
| 13393 Frame__uriOrPathToUri: function(uriOrPath) { |
12943 var t1 = J.getInterceptor$asx(uriOrPath); | 13394 var t1 = J.getInterceptor$asx(uriOrPath); |
12944 if (t1.contains$1(uriOrPath, $.$get$Frame__uriRegExp()) === true) | 13395 if (t1.contains$1(uriOrPath, $.$get$Frame__uriRegExp()) === true) |
12945 return P.Uri_parse(uriOrPath, 0, null); | 13396 return P.Uri_parse(uriOrPath, 0, null); |
12946 else if (t1.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()) === t
rue) | 13397 else if (t1.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()) === t
rue) |
12947 return P.Uri_Uri$file(uriOrPath, true); | 13398 return P.Uri_Uri$file(uriOrPath, true); |
12948 else if (t1.startsWith$1(uriOrPath, "/")) | 13399 else if (t1.startsWith$1(uriOrPath, "/")) |
12949 return P.Uri_Uri$file(uriOrPath, false); | 13400 return P.Uri_Uri$file(uriOrPath, false); |
12950 if (t1.contains$1(uriOrPath, "\\") === true) | 13401 if (t1.contains$1(uriOrPath, "\\") === true) |
12951 return $.$get$windows().toUri$1(uriOrPath); | 13402 return $.$get$windows().toUri$1(uriOrPath); |
12952 return P.Uri_parse(uriOrPath, 0, null); | 13403 return P.Uri_parse(uriOrPath, 0, null); |
12953 }, Frame__catchFormatException: function(text, body) { | 13404 }, |
| 13405 Frame__catchFormatException: function(text, body) { |
12954 var t1, exception; | 13406 var t1, exception; |
12955 try { | 13407 try { |
12956 t1 = body.call$0(); | 13408 t1 = body.call$0(); |
12957 return t1; | 13409 return t1; |
12958 } catch (exception) { | 13410 } catch (exception) { |
12959 if (H.unwrapException(exception) instanceof P.FormatException) | 13411 if (H.unwrapException(exception) instanceof P.FormatException) |
12960 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null,
null, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", tex
t); | 13412 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null,
null, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", tex
t); |
12961 else | 13413 else |
12962 throw exception; | 13414 throw exception; |
12963 } | 13415 } |
12964 }} | 13416 } |
| 13417 } |
12965 }, | 13418 }, |
12966 closure0: { | 13419 closure0: { |
12967 "^": "Closure:1;frame", | 13420 "^": "Closure:1;frame", |
12968 call$0: function() { | 13421 call$0: function() { |
12969 var t1, match, t2, member, uri, lineAndColumn, line; | 13422 var t1, match, t2, member, uri, lineAndColumn, line; |
12970 t1 = this.frame; | 13423 t1 = this.frame; |
12971 if (J.$eq$(t1, "...")) | 13424 if (J.$eq$(t1, "...")) |
12972 return new S.Frame(P.Uri_Uri(null, null, null, null, null, null, null,
"", ""), null, null, "..."); | 13425 return new A.Frame(P.Uri_Uri(null, null, null, null, null, null, null,
"", ""), null, null, "..."); |
12973 match = $.$get$_vmFrame().firstMatch$1(t1); | 13426 match = $.$get$_vmFrame().firstMatch$1(t1); |
12974 if (match == null) | 13427 if (match == null) |
12975 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", t1); | 13428 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", t1); |
12976 t1 = match._match; | 13429 t1 = match._match; |
12977 if (1 >= t1.length) | 13430 if (1 >= t1.length) |
12978 return H.ioore(t1, 1); | 13431 return H.ioore(t1, 1); |
12979 t2 = J.replaceAll$2$s(t1[1], $.$get$_asyncBody(), "<async>"); | 13432 t2 = J.replaceAll$2$s(t1[1], $.$get$_asyncBody(), "<async>"); |
12980 H.checkString("<fn>"); | 13433 H.checkString("<fn>"); |
12981 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); | 13434 member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>"); |
12982 if (2 >= t1.length) | 13435 if (2 >= t1.length) |
12983 return H.ioore(t1, 2); | 13436 return H.ioore(t1, 2); |
12984 uri = P.Uri_parse(t1[2], 0, null); | 13437 uri = P.Uri_parse(t1[2], 0, null); |
12985 if (3 >= t1.length) | 13438 if (3 >= t1.length) |
12986 return H.ioore(t1, 3); | 13439 return H.ioore(t1, 3); |
12987 lineAndColumn = J.split$1$s(t1[3], ":"); | 13440 lineAndColumn = J.split$1$s(t1[3], ":"); |
12988 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1]
, null, null) : null; | 13441 line = lineAndColumn.length > 1 ? H.Primitives_parseInt(lineAndColumn[1]
, null, null) : null; |
12989 return new S.Frame(uri, line, lineAndColumn.length > 2 ? H.Primitives_pa
rseInt(lineAndColumn[2], null, null) : null, member); | 13442 return new A.Frame(uri, line, lineAndColumn.length > 2 ? H.Primitives_pa
rseInt(lineAndColumn[2], null, null) : null, member); |
12990 } | 13443 } |
12991 }, | 13444 }, |
12992 closure4: { | 13445 closure4: { |
12993 "^": "Closure:1;frame", | 13446 "^": "Closure:1;frame", |
12994 call$0: function() { | 13447 call$0: function() { |
12995 var t1, match, t2, t3, t4; | 13448 var t1, match, t2, t3, t4; |
12996 t1 = this.frame; | 13449 t1 = this.frame; |
12997 match = $.$get$_v8Frame().firstMatch$1(t1); | 13450 match = $.$get$_v8Frame().firstMatch$1(t1); |
12998 if (match == null) | 13451 if (match == null) |
12999 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", t1); | 13452 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", t1); |
13000 t1 = new S._parseLocation(t1); | 13453 t1 = new A._parseLocation(t1); |
13001 t2 = match._match; | 13454 t2 = match._match; |
13002 t3 = t2.length; | 13455 t3 = t2.length; |
13003 if (2 >= t3) | 13456 if (2 >= t3) |
13004 return H.ioore(t2, 2); | 13457 return H.ioore(t2, 2); |
13005 t4 = t2[2]; | 13458 t4 = t2[2]; |
13006 if (t4 != null) { | 13459 if (t4 != null) { |
13007 t2 = J.replaceAll$2$s(t2[1], "<anonymous>", "<fn>"); | 13460 t2 = J.replaceAll$2$s(t2[1], "<anonymous>", "<fn>"); |
13008 H.checkString("<fn>"); | 13461 H.checkString("<fn>"); |
13009 return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "Anonymous functi
on", "<fn>")); | 13462 return t1.call$2(t4, H.stringReplaceAllUnchecked(t2, "Anonymous functi
on", "<fn>")); |
13010 } else { | 13463 } else { |
(...skipping 10 matching lines...) Expand all Loading... |
13021 t1 = $.$get$_v8EvalLocation(); | 13474 t1 = $.$get$_v8EvalLocation(); |
13022 evalMatch = t1.firstMatch$1($location); | 13475 evalMatch = t1.firstMatch$1($location); |
13023 for (; evalMatch != null;) { | 13476 for (; evalMatch != null;) { |
13024 t2 = evalMatch._match; | 13477 t2 = evalMatch._match; |
13025 if (1 >= t2.length) | 13478 if (1 >= t2.length) |
13026 return H.ioore(t2, 1); | 13479 return H.ioore(t2, 1); |
13027 $location = t2[1]; | 13480 $location = t2[1]; |
13028 evalMatch = t1.firstMatch$1($location); | 13481 evalMatch = t1.firstMatch$1($location); |
13029 } | 13482 } |
13030 if (J.$eq$($location, "native")) | 13483 if (J.$eq$($location, "native")) |
13031 return new S.Frame(P.Uri_parse("native", 0, null), null, null, member)
; | 13484 return new A.Frame(P.Uri_parse("native", 0, null), null, null, member)
; |
13032 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location); | 13485 urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location); |
13033 if (urlMatch == null) | 13486 if (urlMatch == null) |
13034 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", this.fr
ame); | 13487 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", this.fr
ame); |
13035 t1 = urlMatch._match; | 13488 t1 = urlMatch._match; |
13036 if (1 >= t1.length) | 13489 if (1 >= t1.length) |
13037 return H.ioore(t1, 1); | 13490 return H.ioore(t1, 1); |
13038 t2 = S.Frame__uriOrPathToUri(t1[1]); | 13491 t2 = A.Frame__uriOrPathToUri(t1[1]); |
13039 if (2 >= t1.length) | 13492 if (2 >= t1.length) |
13040 return H.ioore(t1, 2); | 13493 return H.ioore(t1, 2); |
13041 t3 = H.Primitives_parseInt(t1[2], null, null); | 13494 t3 = H.Primitives_parseInt(t1[2], null, null); |
13042 if (3 >= t1.length) | 13495 if (3 >= t1.length) |
13043 return H.ioore(t1, 3); | 13496 return H.ioore(t1, 3); |
13044 return new S.Frame(t2, t3, H.Primitives_parseInt(t1[3], null, null), mem
ber); | 13497 return new A.Frame(t2, t3, H.Primitives_parseInt(t1[3], null, null), mem
ber); |
13045 } | 13498 } |
13046 }, | 13499 }, |
13047 closure3: { | 13500 closure3: { |
13048 "^": "Closure:1;frame", | 13501 "^": "Closure:1;frame", |
13049 call$0: function() { | 13502 call$0: function() { |
13050 var t1, match, uri, t2, t3, member, line, column; | 13503 var t1, match, uri, t2, t3, member, line, column; |
13051 t1 = this.frame; | 13504 t1 = this.frame; |
13052 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1); | 13505 match = $.$get$_firefoxSafariFrame().firstMatch$1(t1); |
13053 if (match == null) | 13506 if (match == null) |
13054 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", t1); | 13507 return new N.UnparsedFrame(P.Uri_Uri(null, null, "unparsed", null, nul
l, null, null, "", ""), null, null, false, "unparsed", null, "unparsed", t1); |
13055 t1 = match._match; | 13508 t1 = match._match; |
13056 if (3 >= t1.length) | 13509 if (3 >= t1.length) |
13057 return H.ioore(t1, 3); | 13510 return H.ioore(t1, 3); |
13058 uri = S.Frame__uriOrPathToUri(t1[3]); | 13511 uri = A.Frame__uriOrPathToUri(t1[3]); |
13059 t2 = t1.length; | 13512 t2 = t1.length; |
13060 if (1 >= t2) | 13513 if (1 >= t2) |
13061 return H.ioore(t1, 1); | 13514 return H.ioore(t1, 1); |
13062 t3 = t1[1]; | 13515 t3 = t1[1]; |
13063 if (t3 != null) { | 13516 if (t3 != null) { |
13064 if (2 >= t2) | 13517 if (2 >= t2) |
13065 return H.ioore(t1, 2); | 13518 return H.ioore(t1, 2); |
13066 t2 = C.JSString_methods.allMatches$1("/", t1[2]); | 13519 t2 = C.JSString_methods.allMatches$1("/", t1[2]); |
13067 member = J.$add$ns(t3, C.JSArray_methods.join$0(P.List_List$filled(t2.
get$length(t2), ".<fn>", false, null))); | 13520 member = J.$add$ns(t3, C.JSArray_methods.join$0(P.List_List$filled(t2.
get$length(t2), ".<fn>", false, null))); |
13068 if (J.$eq$(member, "")) | 13521 if (J.$eq$(member, "")) |
(...skipping 13 matching lines...) Expand all Loading... |
13082 if (5 >= t1.length) | 13535 if (5 >= t1.length) |
13083 return H.ioore(t1, 5); | 13536 return H.ioore(t1, 5); |
13084 t2 = t1[5]; | 13537 t2 = t1[5]; |
13085 if (t2 == null || J.$eq$(t2, "")) | 13538 if (t2 == null || J.$eq$(t2, "")) |
13086 column = null; | 13539 column = null; |
13087 else { | 13540 else { |
13088 if (5 >= t1.length) | 13541 if (5 >= t1.length) |
13089 return H.ioore(t1, 5); | 13542 return H.ioore(t1, 5); |
13090 column = H.Primitives_parseInt(t1[5], null, null); | 13543 column = H.Primitives_parseInt(t1[5], null, null); |
13091 } | 13544 } |
13092 return new S.Frame(uri, line, column, member); | 13545 return new A.Frame(uri, line, column, member); |
13093 } | 13546 } |
13094 }, | 13547 }, |
13095 closure1: { | 13548 closure1: { |
13096 "^": "Closure:1;frame", | 13549 "^": "Closure:1;frame", |
13097 call$0: function() { | 13550 call$0: function() { |
13098 var t1, match, uri, t2, line, column; | 13551 var t1, match, uri, t2, line, column; |
13099 t1 = this.frame; | 13552 t1 = this.frame; |
13100 match = $.$get$_friendlyFrame().firstMatch$1(t1); | 13553 match = $.$get$_friendlyFrame().firstMatch$1(t1); |
13101 if (match == null) | 13554 if (match == null) |
13102 throw H.wrapException(new P.FormatException("Couldn't parse package:st
ack_trace stack trace line '" + H.S(t1) + "'.", null, null)); | 13555 throw H.wrapException(new P.FormatException("Couldn't parse package:st
ack_trace stack trace line '" + H.S(t1) + "'.", null, null)); |
13103 t1 = match._match; | 13556 t1 = match._match; |
13104 if (1 >= t1.length) | 13557 if (1 >= t1.length) |
13105 return H.ioore(t1, 1); | 13558 return H.ioore(t1, 1); |
13106 uri = P.Uri_parse(t1[1], 0, null); | 13559 uri = P.Uri_parse(t1[1], 0, null); |
13107 if (uri.scheme === "") { | 13560 if (uri.scheme === "") { |
13108 t2 = $.$get$context0(); | 13561 t2 = $.$get$context0(); |
13109 uri = t2.toUri$1(t2.absolute$7(0, t2.fromUri$1(uri), null, null, null,
null, null, null)); | 13562 uri = t2.toUri$1(t2.absolute$7(0, t2.fromUri$1(uri), null, null, null,
null, null, null)); |
13110 } | 13563 } |
13111 if (2 >= t1.length) | 13564 if (2 >= t1.length) |
13112 return H.ioore(t1, 2); | 13565 return H.ioore(t1, 2); |
13113 t2 = t1[2]; | 13566 t2 = t1[2]; |
13114 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); | 13567 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); |
13115 if (3 >= t1.length) | 13568 if (3 >= t1.length) |
13116 return H.ioore(t1, 3); | 13569 return H.ioore(t1, 3); |
13117 t2 = t1[3]; | 13570 t2 = t1[3]; |
13118 column = t2 == null ? null : H.Primitives_parseInt(t2, null, null); | 13571 column = t2 == null ? null : H.Primitives_parseInt(t2, null, null); |
13119 if (4 >= t1.length) | 13572 if (4 >= t1.length) |
13120 return H.ioore(t1, 4); | 13573 return H.ioore(t1, 4); |
13121 return new S.Frame(uri, line, column, t1[4]); | 13574 return new A.Frame(uri, line, column, t1[4]); |
13122 } | 13575 } |
13123 } | 13576 } |
13124 }], ["", "package:stream_channel/src/guarantee_channel.dart",, K, { | 13577 }], ["", "package:stream_channel/src/guarantee_channel.dart",, K, { |
13125 "^": "", | 13578 "^": "", |
13126 GuaranteeChannel: { | 13579 GuaranteeChannel: { |
13127 "^": "StreamChannelMixin;_sink,_streamController,_guarantee_channel$_subsc
ription,_disconnected", | 13580 "^": "StreamChannelMixin;_sink,_streamController,_guarantee_channel$_subsc
ription,_disconnected", |
13128 _onSinkDisconnected$0: function() { | 13581 _onSinkDisconnected$0: function() { |
13129 this._disconnected = true; | 13582 this._disconnected = true; |
13130 var t1 = this._guarantee_channel$_subscription; | 13583 var t1 = this._guarantee_channel$_subscription; |
13131 if (t1 != null) | 13584 if (t1 != null) |
13132 t1.cancel$0(); | 13585 t1.cancel$0(); |
13133 this._streamController.close$0(0); | 13586 this._streamController.close$0(0); |
13134 }, | 13587 }, |
13135 GuaranteeChannel$3$allowSinkErrors: function(innerSink, allowSinkErrors, _
box_0, $T) { | 13588 GuaranteeChannel$3$allowSinkErrors: function(innerSink, allowSinkErrors, _
box_0, $T) { |
13136 this._sink = H.setRuntimeTypeInfo(new K._GuaranteeSink(innerSink, this,
H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTypeInfo(new P._Future(0,
$.Zone__current, null), [null])), [null]), false, false, null, null, true), [$T
]); | 13589 this._sink = H.setRuntimeTypeInfo(new K._GuaranteeSink(innerSink, this,
H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTypeInfo(new P._Future(0,
$.Zone__current, null), [null])), [null]), false, false, null, null, true), [$T
]); |
13137 this._streamController = P.StreamController_StreamController(null, new K
.GuaranteeChannel_closure(_box_0, this), null, null, true, $T); | 13590 this._streamController = P.StreamController_StreamController(null, new K
.GuaranteeChannel_closure(_box_0, this), null, null, true, $T); |
13138 }, | 13591 }, |
13139 static: {GuaranteeChannel$: function(innerStream, innerSink, allowSinkErro
rs, $T) { | 13592 static: { |
| 13593 GuaranteeChannel$: function(innerStream, innerSink, allowSinkErrors, $T)
{ |
13140 var t1, t2; | 13594 var t1, t2; |
13141 t1 = {}; | 13595 t1 = {}; |
13142 t1.innerStream = innerStream; | 13596 t1.innerStream = innerStream; |
13143 t2 = H.setRuntimeTypeInfo(new K.GuaranteeChannel(null, null, null, fal
se), [$T]); | 13597 t2 = H.setRuntimeTypeInfo(new K.GuaranteeChannel(null, null, null, fal
se), [$T]); |
13144 t2.GuaranteeChannel$3$allowSinkErrors(innerSink, true, t1, $T); | 13598 t2.GuaranteeChannel$3$allowSinkErrors(innerSink, true, t1, $T); |
13145 return t2; | 13599 return t2; |
13146 }} | 13600 } |
| 13601 } |
13147 }, | 13602 }, |
13148 GuaranteeChannel_closure: { | 13603 GuaranteeChannel_closure: { |
13149 "^": "Closure:1;_box_0,$this", | 13604 "^": "Closure:1;_box_0,$this", |
13150 call$0: function() { | 13605 call$0: function() { |
13151 var t1, t2, t3; | 13606 var t1, t2, t3; |
13152 t1 = this.$this; | 13607 t1 = this.$this; |
13153 if (t1._disconnected) | 13608 if (t1._disconnected) |
13154 return; | 13609 return; |
13155 t2 = this._box_0.innerStream; | 13610 t2 = this._box_0.innerStream; |
13156 t3 = t1._streamController; | 13611 t3 = t1._streamController; |
(...skipping 23 matching lines...) Expand all Loading... |
13180 H.throwExpression(t1._badEventState$0()); | 13635 H.throwExpression(t1._badEventState$0()); |
13181 t1._async$_add$1(data); | 13636 t1._async$_add$1(data); |
13182 }, | 13637 }, |
13183 addError$2: [function(error, stackTrace) { | 13638 addError$2: [function(error, stackTrace) { |
13184 if (this._closed) | 13639 if (this._closed) |
13185 throw H.wrapException(new P.StateError("Cannot add event after closing
.")); | 13640 throw H.wrapException(new P.StateError("Cannot add event after closing
.")); |
13186 if (this._addStreamSubscription != null) | 13641 if (this._addStreamSubscription != null) |
13187 throw H.wrapException(new P.StateError("Cannot add event while adding
stream.")); | 13642 throw H.wrapException(new P.StateError("Cannot add event while adding
stream.")); |
13188 if (this._disconnected) | 13643 if (this._disconnected) |
13189 return; | 13644 return; |
13190 this._addError$2(error, stackTrace); | 13645 this._guarantee_channel$_addError$2(error, stackTrace); |
13191 }, function(error) { | 13646 }, function(error) { |
13192 return this.addError$2(error, null); | 13647 return this.addError$2(error, null); |
13193 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 6, 5, 1, 2], | 13648 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 6, 5, 3, 4], |
13194 _addError$2: [function(error, stackTrace) { | 13649 _guarantee_channel$_addError$2: [function(error, stackTrace) { |
13195 this._inner._async$_target.addError$2(error, stackTrace); | 13650 this._inner._async$_target.addError$2(error, stackTrace); |
13196 return; | 13651 return; |
13197 }, function(error) { | 13652 }, function(error) { |
13198 return this._addError$2(error, null); | 13653 return this._guarantee_channel$_addError$2(error, null); |
13199 }, "_addError$1", "call$2", "call$1", "get$_addError", 2, 2, 6, 5, 1, 2], | 13654 }, "_guarantee_channel$_addError$1", "call$2", "call$1", "get$_guarantee_c
hannel$_addError", 2, 2, 6, 5, 3, 4], |
13200 addStream$1: function(stream) { | 13655 addStream$1: function(stream) { |
13201 var t1, t2, t3; | 13656 var t1, t2, t3; |
13202 if (this._closed) | 13657 if (this._closed) |
13203 throw H.wrapException(new P.StateError("Cannot add stream after closin
g.")); | 13658 throw H.wrapException(new P.StateError("Cannot add stream after closin
g.")); |
13204 if (this._addStreamSubscription != null) | 13659 if (this._addStreamSubscription != null) |
13205 throw H.wrapException(new P.StateError("Cannot add stream while adding
stream.")); | 13660 throw H.wrapException(new P.StateError("Cannot add stream while adding
stream.")); |
13206 if (this._disconnected) { | 13661 if (this._disconnected) { |
13207 t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); | 13662 t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); |
13208 t1._asyncComplete$1(null); | 13663 t1._asyncComplete$1(null); |
13209 return t1; | 13664 return t1; |
13210 } | 13665 } |
13211 this._addStreamCompleter = H.setRuntimeTypeInfo(new P._SyncCompleter(H.s
etRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); | 13666 this._addStreamCompleter = H.setRuntimeTypeInfo(new P._SyncCompleter(H.s
etRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); |
13212 t1 = this._inner; | 13667 t1 = this._inner; |
13213 t1 = t1.get$add(t1); | 13668 t1 = t1.get$add(t1); |
13214 t2 = this.get$_addError(); | 13669 t2 = this.get$_guarantee_channel$_addError(); |
13215 t3 = this._addStreamCompleter; | 13670 t3 = this._addStreamCompleter; |
13216 this._addStreamSubscription = stream.listen$3$onDone$onError(t1, t3.get$
complete(t3), t2); | 13671 this._addStreamSubscription = stream.listen$3$onDone$onError(t1, t3.get$
complete(t3), t2); |
13217 return this._addStreamCompleter.future.then$1(new K._GuaranteeSink_addSt
ream_closure(this)); | 13672 return this._addStreamCompleter.future.then$1(new K._GuaranteeSink_addSt
ream_closure(this)); |
13218 }, | 13673 }, |
13219 close$0: function(_) { | 13674 close$0: function(_) { |
13220 if (this._addStreamSubscription != null) | 13675 if (this._addStreamSubscription != null) |
13221 throw H.wrapException(new P.StateError("Cannot close sink while adding
stream.")); | 13676 throw H.wrapException(new P.StateError("Cannot close sink while adding
stream.")); |
13222 if (this._closed) | 13677 if (this._closed) |
13223 return this._doneCompleter.future; | 13678 return this._doneCompleter.future; |
13224 this._closed = true; | 13679 this._closed = true; |
(...skipping 15 matching lines...) Expand all Loading... |
13240 this._addStreamCompleter = null; | 13695 this._addStreamCompleter = null; |
13241 this._addStreamSubscription = null; | 13696 this._addStreamSubscription = null; |
13242 } | 13697 } |
13243 }, | 13698 }, |
13244 _GuaranteeSink_addStream_closure: { | 13699 _GuaranteeSink_addStream_closure: { |
13245 "^": "Closure:0;$this", | 13700 "^": "Closure:0;$this", |
13246 call$1: [function(_) { | 13701 call$1: [function(_) { |
13247 var t1 = this.$this; | 13702 var t1 = this.$this; |
13248 t1._addStreamCompleter = null; | 13703 t1._addStreamCompleter = null; |
13249 t1._addStreamSubscription = null; | 13704 t1._addStreamSubscription = null; |
13250 }, null, null, 2, 0, null, 9, "call"] | 13705 }, null, null, 2, 0, null, 6, "call"] |
13251 } | 13706 } |
13252 }], ["", "host.dart",, M, { | 13707 }], ["", "host.dart",, M, { |
13253 "^": "", | 13708 "^": "", |
13254 main: [function() { | 13709 main: [function() { |
13255 var testRunner = J.$index$asx($.$get$context(), "testRunner"); | 13710 var testRunner = J.$index$asx($.$get$context(), "testRunner"); |
13256 if (testRunner != null) | 13711 if (testRunner != null) |
13257 testRunner.callMethod$2("waitUntilDone", []); | 13712 testRunner.callMethod$2("waitUntilDone", []); |
13258 P.runZoned(new M.main_closure(), new M.main_closure0(), null, null); | 13713 P.runZoned(new M.main_closure(), new M.main_closure0(), null, null); |
13259 }, "call$0", "host__main$closure", 0, 0, 2], | 13714 }, "call$0", "host__main$closure", 0, 0, 2], |
13260 _connectToServer: function() { | 13715 _connectToServer: function() { |
13261 var currentUrl, t1, webSocket, controller; | 13716 var currentUrl, t1, webSocket, controller; |
13262 currentUrl = P.Uri_parse(window.location.href, 0, null); | 13717 currentUrl = P.Uri_parse(window.location.href, 0, null); |
13263 t1 = currentUrl._queryParameters; | 13718 t1 = currentUrl._queryParameters; |
13264 if (t1 == null) { | 13719 if (t1 == null) { |
13265 t1 = currentUrl._query; | 13720 t1 = currentUrl._query; |
13266 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryStri
ng(t1 == null ? "" : t1, C.Utf8Codec_false)), [null, null]); | 13721 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableMapView(P.Uri_splitQueryStri
ng(t1 == null ? "" : t1, C.Utf8Codec_false)), [P.String, P.String]); |
13267 currentUrl._queryParameters = t1; | 13722 currentUrl._queryParameters = t1; |
13268 } | 13723 } |
13269 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._map, "managerUrl"), nul
l); | 13724 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._map, "managerUrl"), nul
l); |
13270 controller = B.StreamChannelController$(true, true, null); | 13725 controller = B.StreamChannelController$(true, true, null); |
13271 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false),
[null]); | 13726 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false),
[H.getTypeArgumentByIndex(C.EventStreamProvider_message, 0)]); |
13272 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._eve
ntType, W._wrapZone(new M._connectToServer_closure(controller)), false), [H.getT
ypeArgumentByIndex(t1, 0)])._tryResume$0(); | 13727 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._eve
ntType, W._wrapZone(new M._connectToServer_closure(controller)), false), [H.getT
ypeArgumentByIndex(t1, 0)])._tryResume$0(); |
13273 t1 = controller._local._streamController; | 13728 t1 = controller._local._streamController; |
13274 t1.toString; | 13729 t1.toString; |
13275 H.setRuntimeTypeInfo(new P._ControllerStream(t1), [H.getTypeArgumentByInde
x(t1, 0)]).listen$1(new M._connectToServer_closure0(webSocket)); | 13730 H.setRuntimeTypeInfo(new P._ControllerStream(t1), [H.getTypeArgumentByInde
x(t1, 0)]).listen$1(new M._connectToServer_closure0(webSocket)); |
13276 return D._MultiChannel$(controller._foreign); | 13731 return D._MultiChannel$(controller._foreign); |
13277 }, | 13732 }, |
13278 _connectToIframe: function(url, id) { | 13733 _connectToIframe: function(url, id) { |
13279 var t1, iframe, controller, readyCompleter; | 13734 var t1, iframe, controller, readyCompleter; |
13280 t1 = document; | 13735 t1 = document; |
13281 iframe = t1.createElement("iframe"); | 13736 iframe = t1.createElement("iframe"); |
13282 $.$get$_iframes().$indexSet(0, id, iframe); | 13737 $.$get$_iframes().$indexSet(0, id, iframe); |
13283 J.set$src$x(iframe, url); | 13738 J.set$src$x(iframe, url); |
13284 document.body.appendChild(iframe); | 13739 document.body.appendChild(iframe); |
13285 controller = B.StreamChannelController$(true, true, null); | 13740 controller = B.StreamChannelController$(true, true, null); |
13286 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTy
peInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); | 13741 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTy
peInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); |
13287 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [n
ull]); | 13742 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [H
.getTypeArgumentByIndex(C.EventStreamProvider_message, 0)]); |
13288 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._eve
ntType, W._wrapZone(new M._connectToIframe_closure(iframe, controller, readyComp
leter)), false), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); | 13743 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._eve
ntType, W._wrapZone(new M._connectToIframe_closure(iframe, controller, readyComp
leter)), false), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
13289 t1 = controller._local._streamController; | 13744 t1 = controller._local._streamController; |
13290 t1.toString; | 13745 t1.toString; |
13291 H.setRuntimeTypeInfo(new P._ControllerStream(t1), [H.getTypeArgumentByInde
x(t1, 0)]).listen$1(new M._connectToIframe_closure0(iframe, readyCompleter)); | 13746 H.setRuntimeTypeInfo(new P._ControllerStream(t1), [H.getTypeArgumentByInde
x(t1, 0)]).listen$1(new M._connectToIframe_closure0(iframe, readyCompleter)); |
13292 return controller._foreign; | 13747 return controller._foreign; |
13293 }, | 13748 }, |
13294 main_closure: { | 13749 main_closure: { |
13295 "^": "Closure:1;", | 13750 "^": "Closure:1;", |
13296 call$0: [function() { | 13751 call$0: [function() { |
13297 var serverChannel, t1; | 13752 var serverChannel, t1; |
(...skipping 21 matching lines...) Expand all Loading... |
13319 } else if (J.$eq$(t1.$index(message, "command"), "displayPause")) { | 13774 } else if (J.$eq$(t1.$index(message, "command"), "displayPause")) { |
13320 t1 = document.body; | 13775 t1 = document.body; |
13321 t1.toString; | 13776 t1.toString; |
13322 W._ElementCssClassSet__add(t1, "paused"); | 13777 W._ElementCssClassSet__add(t1, "paused"); |
13323 } else if (J.$eq$(t1.$index(message, "command"), "resume")) { | 13778 } else if (J.$eq$(t1.$index(message, "command"), "resume")) { |
13324 t1 = document.body; | 13779 t1 = document.body; |
13325 t1.toString; | 13780 t1.toString; |
13326 W._ElementCssClassSet__remove(t1, "paused"); | 13781 W._ElementCssClassSet__remove(t1, "paused"); |
13327 } else | 13782 } else |
13328 J.remove$0$ax($.$get$_iframes().$index(0, t1.$index(message, "id"))); | 13783 J.remove$0$ax($.$get$_iframes().$index(0, t1.$index(message, "id"))); |
13329 }, null, null, 2, 0, null, 7, "call"] | 13784 }, null, null, 2, 0, null, 8, "call"] |
13330 }, | 13785 }, |
13331 main__closure0: { | 13786 main__closure0: { |
13332 "^": "Closure:0;serverChannel", | 13787 "^": "Closure:0;serverChannel", |
13333 call$1: [function(_) { | 13788 call$1: [function(_) { |
13334 return this.serverChannel._mainController._foreign._sink.add$1(0, P.Link
edHashMap__makeLiteral(["command", "ping"])); | 13789 return this.serverChannel._mainController._foreign._sink.add$1(0, P.Link
edHashMap__makeLiteral(["command", "ping"])); |
13335 }, null, null, 2, 0, null, 9, "call"] | 13790 }, null, null, 2, 0, null, 6, "call"] |
13336 }, | 13791 }, |
13337 main__closure1: { | 13792 main__closure1: { |
13338 "^": "Closure:0;serverChannel", | 13793 "^": "Closure:0;serverChannel", |
13339 call$1: [function(_) { | 13794 call$1: [function(_) { |
13340 var t1 = document.body; | 13795 var t1 = document.body; |
13341 t1.toString; | 13796 t1.toString; |
13342 W._ElementCssClassSet__remove(t1, "paused"); | 13797 W._ElementCssClassSet__remove(t1, "paused"); |
13343 this.serverChannel._mainController._foreign._sink.add$1(0, P.LinkedHashM
ap__makeLiteral(["command", "resume"])); | 13798 this.serverChannel._mainController._foreign._sink.add$1(0, P.LinkedHashM
ap__makeLiteral(["command", "resume"])); |
13344 }, null, null, 2, 0, null, 9, "call"] | 13799 }, null, null, 2, 0, null, 6, "call"] |
13345 }, | 13800 }, |
13346 main_closure0: { | 13801 main_closure0: { |
13347 "^": "Closure:3;", | 13802 "^": "Closure:3;", |
13348 call$2: [function(error, stackTrace) { | 13803 call$2: [function(error, stackTrace) { |
13349 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse
())); | 13804 P.print(H.S(error) + "\n" + H.S(Y.Trace_Trace$from(stackTrace).get$terse
())); |
13350 }, null, null, 4, 0, null, 1, 2, "call"] | 13805 }, null, null, 4, 0, null, 3, 4, "call"] |
13351 }, | 13806 }, |
13352 _connectToServer_closure: { | 13807 _connectToServer_closure: { |
13353 "^": "Closure:0;controller", | 13808 "^": "Closure:0;controller", |
13354 call$1: [function(message) { | 13809 call$1: [function(message) { |
13355 this.controller._local._sink.add$1(0, C.JsonCodec_null_null.decode$1(J.g
et$data$x(message))); | 13810 this.controller._local._sink.add$1(0, C.JsonCodec_null_null.decode$1(J.g
et$data$x(message))); |
13356 }, null, null, 2, 0, null, 7, "call"] | 13811 }, null, null, 2, 0, null, 8, "call"] |
13357 }, | 13812 }, |
13358 _connectToServer_closure0: { | 13813 _connectToServer_closure0: { |
13359 "^": "Closure:0;webSocket", | 13814 "^": "Closure:0;webSocket", |
13360 call$1: [function(message) { | 13815 call$1: [function(message) { |
13361 return this.webSocket.send(C.JsonCodec_null_null.encode$1(message)); | 13816 return this.webSocket.send(C.JsonCodec_null_null.encode$1(message)); |
13362 }, null, null, 2, 0, null, 7, "call"] | 13817 }, null, null, 2, 0, null, 8, "call"] |
13363 }, | 13818 }, |
13364 _connectToIframe_closure: { | 13819 _connectToIframe_closure: { |
13365 "^": "Closure:0;iframe,controller,readyCompleter", | 13820 "^": "Closure:0;iframe,controller,readyCompleter", |
13366 call$1: [function(message) { | 13821 call$1: [function(message) { |
13367 var t1, t2, t3; | 13822 var t1, t2, t3; |
13368 t1 = J.getInterceptor$x(message); | 13823 t1 = J.getInterceptor$x(message); |
13369 t2 = t1.get$origin(message); | 13824 t2 = t1.get$origin(message); |
13370 t3 = window.location; | 13825 t3 = window.location; |
13371 if (t2 !== (t3 && C.Location_methods).get$origin(t3)) | 13826 if (t2 !== (t3 && C.Location_methods).get$origin(t3)) |
13372 return; | 13827 return; |
13373 if (!J.$eq$(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this
.iframe))) | 13828 if (!J.$eq$(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this
.iframe))) |
13374 return; | 13829 return; |
13375 t1.stopPropagation$0(message); | 13830 t1.stopPropagation$0(message); |
13376 if (J.$eq$(J.$index$asx(t1.get$data(message), "ready"), true)) | 13831 if (J.$eq$(J.$index$asx(t1.get$data(message), "ready"), true)) |
13377 this.readyCompleter.complete$0(0); | 13832 this.readyCompleter.complete$0(0); |
13378 else | 13833 else |
13379 this.controller._local._sink.add$1(0, J.$index$asx(t1.get$data(message
), "data")); | 13834 this.controller._local._sink.add$1(0, J.$index$asx(t1.get$data(message
), "data")); |
13380 }, null, null, 2, 0, null, 7, "call"] | 13835 }, null, null, 2, 0, null, 8, "call"] |
13381 }, | 13836 }, |
13382 _connectToIframe_closure0: { | 13837 _connectToIframe_closure0: { |
13383 "^": "Closure:50;iframe,readyCompleter", | 13838 "^": "Closure:50;iframe,readyCompleter", |
13384 call$1: [function(message) { | 13839 call$1: [function(message) { |
13385 var $async$goto = 0, $async$completer = new P.Completer_Completer$sync()
, $async$handler = 1, $async$currentError, $async$self = this, t1, t2, t3; | 13840 var $async$goto = 0, $async$completer = new P.Completer_Completer$sync()
, $async$handler = 1, $async$currentError, $async$self = this, t1, t2; |
13386 var $async$call$1 = P._wrapJsFunctionForAsync(function($async$errorCode,
$async$result) { | 13841 var $async$call$1 = P._wrapJsFunctionForAsync(function($async$errorCode,
$async$result) { |
13387 if ($async$errorCode === 1) { | 13842 if ($async$errorCode === 1) { |
13388 $async$currentError = $async$result; | 13843 $async$currentError = $async$result; |
13389 $async$goto = $async$handler; | 13844 $async$goto = $async$handler; |
13390 } | 13845 } |
13391 while (true) | 13846 while (true) |
13392 switch ($async$goto) { | 13847 switch ($async$goto) { |
13393 case 0: | 13848 case 0: |
13394 // Function start | 13849 // Function start |
13395 $async$goto = 2; | 13850 $async$goto = 2; |
13396 return P._asyncHelper($async$self.readyCompleter.future, $async$
call$1, $async$completer); | 13851 return P._asyncHelper($async$self.readyCompleter.future, $async$
call$1, $async$completer); |
13397 case 2: | 13852 case 2: |
13398 // returning from await. | 13853 // returning from await. |
13399 t1 = J.get$contentWindow$x($async$self.iframe); | 13854 t1 = J.get$contentWindow$x($async$self.iframe); |
13400 t2 = C.JsonCodec_null_null.encode$1(message); | 13855 t2 = window.location; |
13401 t3 = window.location; | 13856 J.postMessage$2$x(t1, message, (t2 && C.Location_methods).get$or
igin(t2)); |
13402 J.postMessage$2$x(t1, t2, (t3 && C.Location_methods).get$origin(
t3)); | |
13403 // implicit return | 13857 // implicit return |
13404 return P._asyncHelper(null, 0, $async$completer, null); | 13858 return P._asyncHelper(null, 0, $async$completer, null); |
13405 case 1: | 13859 case 1: |
13406 // rethrow | 13860 // rethrow |
13407 return P._asyncHelper($async$currentError, 1, $async$completer); | 13861 return P._asyncHelper($async$currentError, 1, $async$completer); |
13408 } | 13862 } |
13409 }); | 13863 }); |
13410 return P._asyncHelper(null, $async$call$1, $async$completer, null); | 13864 return P._asyncHelper(null, $async$call$1, $async$completer, null); |
13411 }, null, null, 2, 0, null, 7, "call"] | 13865 }, null, null, 2, 0, null, 8, "call"] |
13412 } | 13866 } |
13413 }, 1], ["html_common", "dart:html_common",, P, { | 13867 }, 1], ["html_common", "dart:html_common",, P, { |
13414 "^": "", | 13868 "^": "", |
13415 convertNativePromiseToDartFuture: function(promise) { | 13869 convertNativePromiseToDartFuture: function(promise) { |
13416 var completer = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTyp
eInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); | 13870 var completer = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTyp
eInfo(new P._Future(0, $.Zone__current, null), [null])), [null]); |
13417 promise.then(H.convertDartClosureToJS(new P.convertNativePromiseToDartFutu
re_closure(completer), 1))["catch"](H.convertDartClosureToJS(new P.convertNative
PromiseToDartFuture_closure0(completer), 1)); | 13871 promise.then(H.convertDartClosureToJS(new P.convertNativePromiseToDartFutu
re_closure(completer), 1))["catch"](H.convertDartClosureToJS(new P.convertNative
PromiseToDartFuture_closure0(completer), 1)); |
13418 return completer.future; | 13872 return completer.future; |
13419 }, | 13873 }, |
13420 _StructuredClone: { | 13874 _StructuredClone: { |
13421 "^": "Object;", | 13875 "^": "Object;", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13499 return H.ioore(copy, i); | 13953 return H.ioore(copy, i); |
13500 copy[i] = t2; | 13954 copy[i] = t2; |
13501 } | 13955 } |
13502 return copy; | 13956 return copy; |
13503 } | 13957 } |
13504 }, | 13958 }, |
13505 _StructuredClone_walk_closure: { | 13959 _StructuredClone_walk_closure: { |
13506 "^": "Closure:3;_box_0,$this", | 13960 "^": "Closure:3;_box_0,$this", |
13507 call$2: [function(key, value) { | 13961 call$2: [function(key, value) { |
13508 this._box_0.copy[key] = this.$this.walk$1(value); | 13962 this._box_0.copy[key] = this.$this.walk$1(value); |
13509 }, null, null, 4, 0, null, 17, 6, "call"] | 13963 }, null, null, 4, 0, null, 17, 7, "call"] |
13510 }, | 13964 }, |
13511 _AcceptStructuredClone: { | 13965 _AcceptStructuredClone: { |
13512 "^": "Object;", | 13966 "^": "Object;", |
13513 findSlot$1: function(value) { | 13967 findSlot$1: function(value) { |
13514 var t1, $length, i, t2; | 13968 var t1, $length, i, t2; |
13515 t1 = this.values; | 13969 t1 = this.values; |
13516 $length = t1.length; | 13970 $length = t1.length; |
13517 for (i = 0; i < $length; ++i) { | 13971 for (i = 0; i < $length; ++i) { |
13518 t2 = t1[i]; | 13972 t2 = t1[i]; |
13519 if (t2 == null ? value == null : t2 === value) | 13973 if (t2 == null ? value == null : t2 === value) |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13608 for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t
1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { | 14062 for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t
1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i) { |
13609 key = t1[_i]; | 14063 key = t1[_i]; |
13610 action.call$2(key, object[key]); | 14064 action.call$2(key, object[key]); |
13611 } | 14065 } |
13612 } | 14066 } |
13613 }, | 14067 }, |
13614 convertNativePromiseToDartFuture_closure: { | 14068 convertNativePromiseToDartFuture_closure: { |
13615 "^": "Closure:0;completer", | 14069 "^": "Closure:0;completer", |
13616 call$1: [function(result) { | 14070 call$1: [function(result) { |
13617 return this.completer.complete$1(0, result); | 14071 return this.completer.complete$1(0, result); |
13618 }, null, null, 2, 0, null, 14, "call"] | 14072 }, null, null, 2, 0, null, 13, "call"] |
13619 }, | 14073 }, |
13620 convertNativePromiseToDartFuture_closure0: { | 14074 convertNativePromiseToDartFuture_closure0: { |
13621 "^": "Closure:0;completer", | 14075 "^": "Closure:0;completer", |
13622 call$1: [function(result) { | 14076 call$1: [function(result) { |
13623 return this.completer.completeError$1(result); | 14077 return this.completer.completeError$1(result); |
13624 }, null, null, 2, 0, null, 14, "call"] | 14078 }, null, null, 2, 0, null, 13, "call"] |
13625 } | 14079 } |
13626 }], ["lazy_trace", "package:stack_trace/src/lazy_trace.dart",, S, { | 14080 }], ["", "package:stack_trace/src/lazy_trace.dart",, T, { |
13627 "^": "", | 14081 "^": "", |
13628 LazyTrace: { | 14082 LazyTrace: { |
13629 "^": "Object;_thunk,_lazy_trace$_inner", | 14083 "^": "Object;_thunk,_lazy_trace$_inner", |
13630 get$_lazy_trace$_trace: function() { | 14084 get$_lazy_trace$_trace: function() { |
13631 var t1 = this._lazy_trace$_inner; | 14085 var t1 = this._lazy_trace$_inner; |
13632 if (t1 == null) { | 14086 if (t1 == null) { |
13633 t1 = this._thunk$0(); | 14087 t1 = this._thunk$0(); |
13634 this._lazy_trace$_inner = t1; | 14088 this._lazy_trace$_inner = t1; |
13635 } | 14089 } |
13636 return t1; | 14090 return t1; |
13637 }, | 14091 }, |
13638 get$frames: function() { | 14092 get$frames: function() { |
13639 return this.get$_lazy_trace$_trace().get$frames(); | 14093 return this.get$_lazy_trace$_trace().get$frames(); |
13640 }, | 14094 }, |
13641 get$terse: function() { | 14095 get$terse: function() { |
13642 return new S.LazyTrace(new S.LazyTrace_terse_closure(this), null); | 14096 return new T.LazyTrace(new T.LazyTrace_terse_closure(this), null); |
13643 }, | 14097 }, |
13644 foldFrames$2$terse: function(predicate, terse) { | 14098 foldFrames$2$terse: function(predicate, terse) { |
13645 return new S.LazyTrace(new S.LazyTrace_foldFrames_closure(this, predicat
e, true), null); | 14099 return new T.LazyTrace(new T.LazyTrace_foldFrames_closure(this, predicat
e, true), null); |
13646 }, | 14100 }, |
13647 toString$0: function(_) { | 14101 toString$0: function(_) { |
13648 return J.toString$0$(this.get$_lazy_trace$_trace()); | 14102 return J.toString$0$(this.get$_lazy_trace$_trace()); |
13649 }, | 14103 }, |
13650 _thunk$0: function() { | 14104 _thunk$0: function() { |
13651 return this._thunk.call$0(); | 14105 return this._thunk.call$0(); |
13652 }, | 14106 }, |
13653 $isTrace: 1 | 14107 $isTrace: 1 |
13654 }, | 14108 }, |
13655 LazyTrace_terse_closure: { | 14109 LazyTrace_terse_closure: { |
(...skipping 26 matching lines...) Expand all Loading... |
13682 inputId = t2 + 1; | 14136 inputId = t2 + 1; |
13683 t1.inputId = inputId; | 14137 t1.inputId = inputId; |
13684 t1.outputId = t2; | 14138 t1.outputId = t2; |
13685 this._nextId = t2 + 2; | 14139 this._nextId = t2 + 2; |
13686 t2 = inputId; | 14140 t2 = inputId; |
13687 } | 14141 } |
13688 if (this._multi_channel$_inner == null) { | 14142 if (this._multi_channel$_inner == null) { |
13689 t1 = H.setRuntimeTypeInfo(new P._EmptyStream(), [null]); | 14143 t1 = H.setRuntimeTypeInfo(new P._EmptyStream(), [null]); |
13690 t3 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); | 14144 t3 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); |
13691 t3._asyncComplete$1(null); | 14145 t3._asyncComplete$1(null); |
13692 return new D.VirtualChannel(this, t2, t1, H.setRuntimeTypeInfo(new N.N
ullStreamSink(t3, false, false), [null])); | 14146 return new D.VirtualChannel(this, t2, t1, H.setRuntimeTypeInfo(new S.N
ullStreamSink(t3, false, false), [null])); |
13693 } | 14147 } |
13694 t3 = this._controllers; | 14148 t3 = this._controllers; |
13695 if (t3.containsKey$1(t2)) | 14149 if (t3.containsKey$1(t2)) |
13696 throw H.wrapException(P.ArgumentError$("A virtual channel with id " +
H.S(id) + " already exists.")); | 14150 throw H.wrapException(P.ArgumentError$("A virtual channel with id " +
H.S(id) + " already exists.")); |
13697 controller = B.StreamChannelController$(true, true, null); | 14151 controller = B.StreamChannelController$(true, true, null); |
13698 t3.$indexSet(0, t2, controller); | 14152 t3.$indexSet(0, t2, controller); |
13699 t2 = controller._local._streamController; | 14153 t2 = controller._local._streamController; |
13700 t2.toString; | 14154 t2.toString; |
13701 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [H.getTypeArgumentByIn
dex(t2, 0)]).listen$2$onDone(new D._MultiChannel_virtualChannel_closure(t1, this
), new D._MultiChannel_virtualChannel_closure0(t1, this)); | 14155 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [H.getTypeArgumentByIn
dex(t2, 0)]).listen$2$onDone(new D._MultiChannel_virtualChannel_closure(t1, this
), new D._MultiChannel_virtualChannel_closure0(t1, this)); |
13702 t1 = t1.outputId; | 14156 t1 = t1.outputId; |
(...skipping 25 matching lines...) Expand all Loading... |
13728 var t1, t2; | 14182 var t1, t2; |
13729 t1 = this._mainController; | 14183 t1 = this._mainController; |
13730 this._controllers.$indexSet(0, 0, t1); | 14184 this._controllers.$indexSet(0, 0, t1); |
13731 t2 = t1._local._streamController; | 14185 t2 = t1._local._streamController; |
13732 t2.toString; | 14186 t2.toString; |
13733 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [H.getTypeArgumentByIn
dex(t2, 0)]).listen$2$onDone(new D._MultiChannel_closure(this), new D._MultiChan
nel_closure0(this)); | 14187 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [H.getTypeArgumentByIn
dex(t2, 0)]).listen$2$onDone(new D._MultiChannel_closure(this), new D._MultiChan
nel_closure0(this)); |
13734 t2 = this._multi_channel$_inner._streamController; | 14188 t2 = this._multi_channel$_inner._streamController; |
13735 t2.toString; | 14189 t2.toString; |
13736 this._innerStreamSubscription = H.setRuntimeTypeInfo(new P._ControllerSt
ream(t2), [H.getTypeArgumentByIndex(t2, 0)]).listen$3$onDone$onError(new D._Mult
iChannel_closure1(this), this.get$_closeInnerChannel(), t1._local._sink.get$addE
rror()); | 14190 this._innerStreamSubscription = H.setRuntimeTypeInfo(new P._ControllerSt
ream(t2), [H.getTypeArgumentByIndex(t2, 0)]).listen$3$onDone$onError(new D._Mult
iChannel_closure1(this), this.get$_closeInnerChannel(), t1._local._sink.get$addE
rror()); |
13737 }, | 14191 }, |
13738 static: {_MultiChannel$: function(_inner) { | 14192 static: { |
| 14193 _MultiChannel$: function(_inner) { |
13739 var t1 = new D._MultiChannel(_inner, null, B.StreamChannelController$(
true, true, null), P.LinkedHashMap_LinkedHashMap$_empty(P.$int, B.StreamChannelC
ontroller), 1); | 14194 var t1 = new D._MultiChannel(_inner, null, B.StreamChannelController$(
true, true, null), P.LinkedHashMap_LinkedHashMap$_empty(P.$int, B.StreamChannelC
ontroller), 1); |
13740 t1._MultiChannel$1(_inner); | 14195 t1._MultiChannel$1(_inner); |
13741 return t1; | 14196 return t1; |
13742 }} | 14197 } |
| 14198 } |
13743 }, | 14199 }, |
13744 _MultiChannel_closure: { | 14200 _MultiChannel_closure: { |
13745 "^": "Closure:0;$this", | 14201 "^": "Closure:0;$this", |
13746 call$1: [function(message) { | 14202 call$1: [function(message) { |
13747 return this.$this._multi_channel$_inner._sink.add$1(0, [0, message]); | 14203 return this.$this._multi_channel$_inner._sink.add$1(0, [0, message]); |
13748 }, null, null, 2, 0, null, 7, "call"] | 14204 }, null, null, 2, 0, null, 8, "call"] |
13749 }, | 14205 }, |
13750 _MultiChannel_closure0: { | 14206 _MultiChannel_closure0: { |
13751 "^": "Closure:1;$this", | 14207 "^": "Closure:1;$this", |
13752 call$0: [function() { | 14208 call$0: [function() { |
13753 return this.$this._closeChannel$2(0, 0); | 14209 return this.$this._closeChannel$2(0, 0); |
13754 }, null, null, 0, 0, null, "call"] | 14210 }, null, null, 0, 0, null, "call"] |
13755 }, | 14211 }, |
13756 _MultiChannel_closure1: { | 14212 _MultiChannel_closure1: { |
13757 "^": "Closure:0;$this", | 14213 "^": "Closure:0;$this", |
13758 call$1: [function(message) { | 14214 call$1: [function(message) { |
13759 var t1, controller; | 14215 var t1, controller; |
13760 t1 = J.getInterceptor$asx(message); | 14216 t1 = J.getInterceptor$asx(message); |
13761 controller = this.$this._controllers.$index(0, t1.$index(message, 0)); | 14217 controller = this.$this._controllers.$index(0, t1.$index(message, 0)); |
13762 if (controller == null) | 14218 if (controller == null) |
13763 return; | 14219 return; |
13764 if (J.$gt$n(t1.get$length(message), 1)) { | 14220 if (J.$gt$n(t1.get$length(message), 1)) { |
13765 controller._local._sink.add$1(0, t1.$index(message, 1)); | 14221 controller._local._sink.add$1(0, t1.$index(message, 1)); |
13766 return; | 14222 return; |
13767 } | 14223 } |
13768 controller._local._sink.close$0(0); | 14224 controller._local._sink.close$0(0); |
13769 }, null, null, 2, 0, null, 7, "call"] | 14225 }, null, null, 2, 0, null, 8, "call"] |
13770 }, | 14226 }, |
13771 _MultiChannel_virtualChannel_closure: { | 14227 _MultiChannel_virtualChannel_closure: { |
13772 "^": "Closure:0;_box_0,$this", | 14228 "^": "Closure:0;_box_0,$this", |
13773 call$1: [function(message) { | 14229 call$1: [function(message) { |
13774 return this.$this._multi_channel$_inner._sink.add$1(0, [this._box_0.outp
utId, message]); | 14230 return this.$this._multi_channel$_inner._sink.add$1(0, [this._box_0.outp
utId, message]); |
13775 }, null, null, 2, 0, null, 7, "call"] | 14231 }, null, null, 2, 0, null, 8, "call"] |
13776 }, | 14232 }, |
13777 _MultiChannel_virtualChannel_closure0: { | 14233 _MultiChannel_virtualChannel_closure0: { |
13778 "^": "Closure:1;_box_0,$this", | 14234 "^": "Closure:1;_box_0,$this", |
13779 call$0: [function() { | 14235 call$0: [function() { |
13780 var t1 = this._box_0; | 14236 var t1 = this._box_0; |
13781 return this.$this._closeChannel$2(t1.inputId, t1.outputId); | 14237 return this.$this._closeChannel$2(t1.inputId, t1.outputId); |
13782 }, null, null, 0, 0, null, "call"] | 14238 }, null, null, 0, 0, null, "call"] |
13783 }, | 14239 }, |
13784 VirtualChannel: { | 14240 VirtualChannel: { |
13785 "^": "StreamChannelMixin;_parent,id,stream,sink" | 14241 "^": "StreamChannelMixin;_parent,id,stream,sink" |
13786 } | 14242 } |
| 14243 }], ["", "package:async/src/null_stream_sink.dart",, S, { |
| 14244 "^": "", |
| 14245 NullStreamSink: { |
| 14246 "^": "Object;done,_null_stream_sink$_closed,_addingStream", |
| 14247 add$1: function(_, data) { |
| 14248 this._checkEventAllowed$0(); |
| 14249 }, |
| 14250 addStream$1: function(stream) { |
| 14251 var future; |
| 14252 this._checkEventAllowed$0(); |
| 14253 this._addingStream = true; |
| 14254 future = stream.listen$1(null).cancel$0(); |
| 14255 if (future == null) { |
| 14256 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null),
[null]); |
| 14257 future._asyncComplete$1(null); |
| 14258 } |
| 14259 return future.whenComplete$1(new S.NullStreamSink_addStream_closure(this
)); |
| 14260 }, |
| 14261 _checkEventAllowed$0: function() { |
| 14262 if (this._null_stream_sink$_closed) |
| 14263 throw H.wrapException(new P.StateError("Cannot add to a closed sink.")
); |
| 14264 if (this._addingStream) |
| 14265 throw H.wrapException(new P.StateError("Cannot add to a sink while add
ing a stream.")); |
| 14266 }, |
| 14267 close$0: function(_) { |
| 14268 this._null_stream_sink$_closed = true; |
| 14269 return this.done; |
| 14270 } |
| 14271 }, |
| 14272 NullStreamSink_addStream_closure: { |
| 14273 "^": "Closure:1;$this", |
| 14274 call$0: [function() { |
| 14275 this.$this._addingStream = false; |
| 14276 }, null, null, 0, 0, null, "call"] |
| 14277 } |
13787 }], ["path", "package:path/path.dart",, B, { | 14278 }], ["path", "package:path/path.dart",, B, { |
13788 "^": "", | 14279 "^": "", |
13789 current: function() { | 14280 current: function() { |
13790 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, tar
getPath, targetQuery, mergedPath, fragment, path; | 14281 var uri, t1, t2, targetScheme, targetUserInfo, targetHost, targetPort, tar
getPath, targetQuery, mergedPath, fragment, path; |
13791 uri = P.Uri_base(); | 14282 uri = P.Uri_base(); |
13792 if (uri.$eq(0, $._currentUriBase)) | 14283 if (J.$eq$(uri, $._currentUriBase)) |
13793 return $._current; | 14284 return $._current; |
13794 $._currentUriBase = uri; | 14285 $._currentUriBase = uri; |
13795 t1 = $.$get$Style_platform(); | 14286 t1 = $.$get$Style_platform(); |
13796 t2 = $.$get$Style_url(); | 14287 t2 = $.$get$Style_url(); |
13797 if (t1 == null ? t2 == null : t1 === t2) { | 14288 if (t1 == null ? t2 == null : t1 === t2) { |
| 14289 uri.toString; |
13798 t1 = P.Uri_parse(".", 0, null); | 14290 t1 = P.Uri_parse(".", 0, null); |
13799 targetScheme = t1.scheme; | 14291 targetScheme = t1.scheme; |
13800 if (targetScheme.length !== 0) { | 14292 if (targetScheme.length !== 0) { |
13801 if (t1._host != null) { | 14293 if (t1._host != null) { |
13802 targetUserInfo = t1._userInfo; | 14294 targetUserInfo = t1._userInfo; |
13803 targetHost = t1.get$host(t1); | 14295 targetHost = t1.get$host(t1); |
13804 targetPort = t1._port != null ? t1.get$port(t1) : null; | 14296 targetPort = t1._port != null ? t1.get$port(t1) : null; |
13805 } else { | 14297 } else { |
13806 targetUserInfo = ""; | 14298 targetUserInfo = ""; |
13807 targetHost = null; | 14299 targetHost = null; |
13808 targetPort = null; | 14300 targetPort = null; |
13809 } | 14301 } |
13810 targetPath = P.Uri__removeDotSegments(t1._path); | 14302 targetPath = P.Uri__removeDotSegments(t1._path); |
13811 targetQuery = t1._query; | 14303 targetQuery = t1._query; |
13812 if (targetQuery != null) | 14304 if (!(targetQuery != null)) |
13813 ; | |
13814 else | |
13815 targetQuery = null; | 14305 targetQuery = null; |
13816 } else { | 14306 } else { |
13817 targetScheme = uri.scheme; | 14307 targetScheme = uri.scheme; |
13818 if (t1._host != null) { | 14308 if (t1._host != null) { |
13819 targetUserInfo = t1._userInfo; | 14309 targetUserInfo = t1._userInfo; |
13820 targetHost = t1.get$host(t1); | 14310 targetHost = t1.get$host(t1); |
13821 targetPort = P.Uri__makePort(t1._port != null ? t1.get$port(t1) : nu
ll, targetScheme); | 14311 targetPort = P.Uri__makePort(t1._port != null ? t1.get$port(t1) : nu
ll, targetScheme); |
13822 targetPath = P.Uri__removeDotSegments(t1._path); | 14312 targetPath = P.Uri__removeDotSegments(t1._path); |
13823 targetQuery = t1._query; | 14313 targetQuery = t1._query; |
13824 if (targetQuery != null) | 14314 if (!(targetQuery != null)) |
13825 ; | |
13826 else | |
13827 targetQuery = null; | 14315 targetQuery = null; |
13828 } else { | 14316 } else { |
13829 targetUserInfo = uri._userInfo; | 14317 targetUserInfo = uri._userInfo; |
13830 targetHost = uri._host; | 14318 targetHost = uri._host; |
13831 targetPort = uri._port; | 14319 targetPort = uri._port; |
13832 targetPath = t1._path; | 14320 targetPath = t1._path; |
13833 if (targetPath === "") { | 14321 if (targetPath === "") { |
13834 targetPath = uri._path; | 14322 targetPath = uri._path; |
13835 targetQuery = t1._query; | 14323 targetQuery = t1._query; |
13836 if (targetQuery != null) | 14324 if (!(targetQuery != null)) |
13837 ; | |
13838 else | |
13839 targetQuery = uri._query; | 14325 targetQuery = uri._query; |
13840 } else { | 14326 } else { |
13841 if (C.JSString_methods.startsWith$1(targetPath, "/")) | 14327 if (C.JSString_methods.startsWith$1(targetPath, "/")) |
13842 targetPath = P.Uri__removeDotSegments(targetPath); | 14328 targetPath = P.Uri__removeDotSegments(targetPath); |
13843 else { | 14329 else { |
13844 t2 = uri._path; | 14330 t2 = uri._path; |
13845 if (t2.length === 0) | 14331 if (t2.length === 0) |
13846 targetPath = targetScheme.length === 0 && targetHost == null ?
targetPath : P.Uri__removeDotSegments("/" + targetPath); | 14332 targetPath = targetScheme.length === 0 && targetHost == null ?
targetPath : P.Uri__removeDotSegments("/" + targetPath); |
13847 else { | 14333 else { |
13848 mergedPath = uri._mergePaths$2(t2, targetPath); | 14334 mergedPath = uri._mergePaths$2(t2, targetPath); |
13849 targetPath = targetScheme.length !== 0 || targetHost != null |
| C.JSString_methods.startsWith$1(t2, "/") ? P.Uri__removeDotSegments(mergedPath
) : P.Uri__normalizeRelativePath(mergedPath); | 14335 targetPath = targetScheme.length !== 0 || targetHost != null |
| C.JSString_methods.startsWith$1(t2, "/") ? P.Uri__removeDotSegments(mergedPath
) : P.Uri__normalizeRelativePath(mergedPath); |
13850 } | 14336 } |
13851 } | 14337 } |
13852 targetQuery = t1._query; | 14338 targetQuery = t1._query; |
13853 if (targetQuery != null) | 14339 if (!(targetQuery != null)) |
13854 ; | |
13855 else | |
13856 targetQuery = null; | 14340 targetQuery = null; |
13857 } | 14341 } |
13858 } | 14342 } |
13859 } | 14343 } |
13860 fragment = t1._fragment; | 14344 fragment = t1._fragment; |
13861 if (fragment != null) | 14345 if (!(fragment != null)) |
13862 ; | |
13863 else | |
13864 fragment = null; | 14346 fragment = null; |
13865 t1 = new P.Uri(targetScheme, targetUserInfo, targetHost, targetPort, tar
getPath, targetQuery, fragment, null, null).toString$0(0); | 14347 t1 = new P.Uri(targetScheme, targetUserInfo, targetHost, targetPort, tar
getPath, targetQuery, fragment, null, null, null).toString$0(0); |
13866 $._current = t1; | 14348 $._current = t1; |
13867 return t1; | 14349 return t1; |
13868 } else { | 14350 } else { |
13869 path = uri.toFilePath$0(); | 14351 path = uri.toFilePath$0(); |
13870 t1 = C.JSString_methods.substring$2(path, 0, path.length - 1); | 14352 t1 = C.JSString_methods.substring$2(path, 0, path.length - 1); |
13871 $._current = t1; | 14353 $._current = t1; |
13872 return t1; | 14354 return t1; |
13873 } | 14355 } |
13874 } | 14356 } |
13875 }], ["path.context", "package:path/src/context.dart",, F, { | 14357 }], ["path.context", "package:path/src/context.dart",, F, { |
(...skipping 17 matching lines...) Expand all Loading... |
13893 H.throwExpression(P.RangeError$range(t3, 0, null, "start", null)); | 14375 H.throwExpression(P.RangeError$range(t3, 0, null, "start", null)); |
13894 t4 = t2._endOrLength; | 14376 t4 = t2._endOrLength; |
13895 if (t4 != null) { | 14377 if (t4 != null) { |
13896 if (typeof t4 !== "number") | 14378 if (typeof t4 !== "number") |
13897 return t4.$lt(); | 14379 return t4.$lt(); |
13898 if (t4 < 0) | 14380 if (t4 < 0) |
13899 H.throwExpression(P.RangeError$range(t4, 0, null, "end", null)); | 14381 H.throwExpression(P.RangeError$range(t4, 0, null, "end", null)); |
13900 if (t3 > t4) | 14382 if (t3 > t4) |
13901 H.throwExpression(P.RangeError$range(t3, 0, t4, "start", null)); | 14383 H.throwExpression(P.RangeError$range(t3, 0, t4, "start", null)); |
13902 } | 14384 } |
13903 t1 += H.setRuntimeTypeInfo(new H.MappedListIterable(t2, new F._validateA
rgList_closure()), [null, null]).join$1(0, ", "); | 14385 t1 += H.setRuntimeTypeInfo(new H.MappedListIterable(t2, new F._validateA
rgList_closure()), [H.getRuntimeTypeArgument(t2, "ListIterable", 0), null]).join
$1(0, ", "); |
13904 message._contents = t1; | 14386 message._contents = t1; |
13905 message._contents = t1 + ("): part " + (i - 1) + " was null, but part "
+ i + " was not."); | 14387 message._contents = t1 + ("): part " + (i - 1) + " was null, but part "
+ i + " was not."); |
13906 throw H.wrapException(P.ArgumentError$(message.toString$0(0))); | 14388 throw H.wrapException(P.ArgumentError$(message.toString$0(0))); |
13907 } | 14389 } |
13908 }, | 14390 }, |
13909 Context: { | 14391 Context: { |
13910 "^": "Object;style,_context$_current", | 14392 "^": "Object;style,_context$_current", |
13911 absolute$7: function(_, part1, part2, part3, part4, part5, part6, part7) { | 14393 absolute$7: function(_, part1, part2, part3, part4, part5, part6, part7) { |
13912 var t1; | 14394 var t1; |
13913 F._validateArgList("absolute", [part1, part2, part3, part4, part5, part6
, part7]); | 14395 F._validateArgList("absolute", [part1, part2, part3, part4, part5, part6
, part7]); |
(...skipping 11 matching lines...) Expand all Loading... |
13925 var parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, par
t6, part7, part8], [P.String]); | 14407 var parts = H.setRuntimeTypeInfo([part1, part2, part3, part4, part5, par
t6, part7, part8], [P.String]); |
13926 F._validateArgList("join", parts); | 14408 F._validateArgList("join", parts); |
13927 return this.joinAll$1(H.setRuntimeTypeInfo(new H.WhereIterable(parts, ne
w F.Context_join_closure()), [H.getTypeArgumentByIndex(parts, 0)])); | 14409 return this.joinAll$1(H.setRuntimeTypeInfo(new H.WhereIterable(parts, ne
w F.Context_join_closure()), [H.getTypeArgumentByIndex(parts, 0)])); |
13928 }, | 14410 }, |
13929 join$2: function($receiver, part1, part2) { | 14411 join$2: function($receiver, part1, part2) { |
13930 return this.join$8($receiver, part1, part2, null, null, null, null, null
, null); | 14412 return this.join$8($receiver, part1, part2, null, null, null, null, null
, null); |
13931 }, | 14413 }, |
13932 joinAll$1: function(parts) { | 14414 joinAll$1: function(parts) { |
13933 var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, pa
rt, parsed, t4, t5; | 14415 var buffer, t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, pa
rt, parsed, t4, t5; |
13934 buffer = new P.StringBuffer(""); | 14416 buffer = new P.StringBuffer(""); |
13935 for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_
joinAll_closure()), [H.getRuntimeTypeArgument(parts, "Iterable", 0)]), t1 = H.se
tRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1.__internal$_iterable),
t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterator,
needsSeparator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0();)
{ | 14417 for (t1 = H.setRuntimeTypeInfo(new H.WhereIterable(parts, new F.Context_
joinAll_closure()), [H.getRuntimeTypeArgument(parts, "Iterable", 0)]), t1 = H.se
tRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1._iterable), t1._f), [H
.getTypeArgumentByIndex(t1, 0)]), t2 = this.style, t3 = t1._iterator, needsSepar
ator = false, isAbsoluteAndNotRootRelative = false; t1.moveNext$0();) { |
13936 part = t3.get$current(); | 14418 part = t3.get$current(); |
13937 if (t2.isRootRelative$1(part) && isAbsoluteAndNotRootRelative) { | 14419 if (t2.isRootRelative$1(part) && isAbsoluteAndNotRootRelative) { |
13938 parsed = Q.ParsedPath_ParsedPath$parse(part, t2); | 14420 parsed = Q.ParsedPath_ParsedPath$parse(part, t2); |
13939 t4 = buffer._contents; | 14421 t4 = buffer._contents; |
13940 t4 = t4.charCodeAt(0) == 0 ? t4 : t4; | 14422 t4 = t4.charCodeAt(0) == 0 ? t4 : t4; |
13941 t4 = C.JSString_methods.substring$2(t4, 0, t2.rootLength$1(t4)); | 14423 t4 = C.JSString_methods.substring$2(t4, 0, t2.rootLength$1(t4)); |
13942 parsed.root = t4; | 14424 parsed.root = t4; |
13943 if (t2.needsSeparator$1(t4)) { | 14425 if (t2.needsSeparator$1(t4)) { |
13944 t4 = parsed.separators; | 14426 t4 = parsed.separators; |
13945 t5 = t2.get$separator(); | 14427 t5 = t2.get$separator(); |
13946 if (0 >= t4.length) | 14428 if (0 >= t4.length) |
13947 return H.ioore(t4, 0); | 14429 return H.ioore(t4, 0); |
13948 t4[0] = t5; | 14430 t4[0] = t5; |
13949 } | 14431 } |
13950 buffer._contents = ""; | 14432 buffer._contents = ""; |
13951 buffer._contents += parsed.toString$0(0); | 14433 buffer._contents += parsed.toString$0(0); |
13952 } else if (J.$gt$n(t2.rootLength$1(part), 0)) { | 14434 } else if (J.$gt$n(t2.rootLength$1(part), 0)) { |
13953 isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(part); | 14435 isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(part); |
13954 buffer._contents = ""; | 14436 buffer._contents = ""; |
13955 buffer._contents += H.S(part); | 14437 buffer._contents += H.S(part); |
13956 } else { | 14438 } else { |
13957 t4 = J.getInterceptor$asx(part); | 14439 t4 = J.getInterceptor$asx(part); |
13958 if (J.$gt$n(t4.get$length(part), 0) && t2.containsSeparator$1(t4.$in
dex(part, 0)) === true) | 14440 if (!(J.$gt$n(t4.get$length(part), 0) && t2.containsSeparator$1(t4.$
index(part, 0)) === true)) |
13959 ; | 14441 if (needsSeparator) |
13960 else if (needsSeparator) | 14442 buffer._contents += t2.get$separator(); |
13961 buffer._contents += t2.get$separator(); | |
13962 buffer._contents += H.S(part); | 14443 buffer._contents += H.S(part); |
13963 } | 14444 } |
13964 needsSeparator = t2.needsSeparator$1(part); | 14445 needsSeparator = t2.needsSeparator$1(part); |
13965 } | 14446 } |
13966 t1 = buffer._contents; | 14447 t1 = buffer._contents; |
13967 return t1.charCodeAt(0) == 0 ? t1 : t1; | 14448 return t1.charCodeAt(0) == 0 ? t1 : t1; |
13968 }, | 14449 }, |
13969 split$1: function(_, path) { | 14450 split$1: function(_, path) { |
13970 var parsed, t1, t2; | 14451 var parsed, t1, t2; |
13971 parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); | 14452 parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); |
(...skipping 11 matching lines...) Expand all Loading... |
13983 if (!this._needsNormalization$1(path)) | 14464 if (!this._needsNormalization$1(path)) |
13984 return path; | 14465 return path; |
13985 parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); | 14466 parsed = Q.ParsedPath_ParsedPath$parse(path, this.style); |
13986 parsed.normalize$0(); | 14467 parsed.normalize$0(); |
13987 return parsed.toString$0(0); | 14468 return parsed.toString$0(0); |
13988 }, | 14469 }, |
13989 _needsNormalization$1: function(path) { | 14470 _needsNormalization$1: function(path) { |
13990 var t1, root, i, start, previous, t2, t3, previousPrevious, t4, codeUnit
, t5; | 14471 var t1, root, i, start, previous, t2, t3, previousPrevious, t4, codeUnit
, t5; |
13991 t1 = this.style; | 14472 t1 = this.style; |
13992 root = t1.rootLength$1(path); | 14473 root = t1.rootLength$1(path); |
13993 if (!J.$eq$(root, 0)) { | 14474 if (root !== 0) { |
13994 if (t1 === $.$get$Style_windows()) { | 14475 if (t1 === $.$get$Style_windows()) { |
13995 if (typeof root !== "number") | 14476 if (typeof root !== "number") |
13996 return H.iae(root); | 14477 return H.iae(root); |
13997 i = 0; | 14478 i = 0; |
13998 for (; i < root; ++i) | 14479 for (; i < root; ++i) |
13999 if (C.JSString_methods.codeUnitAt$1(path, i) === 47) | 14480 if (C.JSString_methods.codeUnitAt$1(path, i) === 47) |
14000 return true; | 14481 return true; |
14001 } | 14482 } |
14002 start = root; | 14483 start = root; |
14003 previous = 47; | 14484 previous = 47; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14037 if (!J.$gt$n(this.style.rootLength$1(path), 0)) | 14518 if (!J.$gt$n(this.style.rootLength$1(path), 0)) |
14038 return this.normalize$1(path); | 14519 return this.normalize$1(path); |
14039 t1 = this._context$_current; | 14520 t1 = this._context$_current; |
14040 from = t1 != null ? t1 : B.current(); | 14521 from = t1 != null ? t1 : B.current(); |
14041 t1 = this.style; | 14522 t1 = this.style; |
14042 if (!J.$gt$n(t1.rootLength$1(from), 0) && J.$gt$n(t1.rootLength$1(path),
0)) | 14523 if (!J.$gt$n(t1.rootLength$1(from), 0) && J.$gt$n(t1.rootLength$1(path),
0)) |
14043 return this.normalize$1(path); | 14524 return this.normalize$1(path); |
14044 if (!J.$gt$n(t1.rootLength$1(path), 0) || t1.isRootRelative$1(path)) | 14525 if (!J.$gt$n(t1.rootLength$1(path), 0) || t1.isRootRelative$1(path)) |
14045 path = this.absolute$1(0, path); | 14526 path = this.absolute$1(0, path); |
14046 if (!J.$gt$n(t1.rootLength$1(path), 0) && J.$gt$n(t1.rootLength$1(from),
0)) | 14527 if (!J.$gt$n(t1.rootLength$1(path), 0) && J.$gt$n(t1.rootLength$1(from),
0)) |
14047 throw H.wrapException(new E.PathException("Unable to find a path to \"
" + path + "\" from \"" + H.S(from) + "\".")); | 14528 throw H.wrapException(new E.PathException('Unable to find a path to "'
+ path + '" from "' + H.S(from) + '".')); |
14048 fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1); | 14529 fromParsed = Q.ParsedPath_ParsedPath$parse(from, t1); |
14049 fromParsed.normalize$0(); | 14530 fromParsed.normalize$0(); |
14050 pathParsed = Q.ParsedPath_ParsedPath$parse(path, t1); | 14531 pathParsed = Q.ParsedPath_ParsedPath$parse(path, t1); |
14051 pathParsed.normalize$0(); | 14532 pathParsed.normalize$0(); |
14052 t2 = fromParsed.parts; | 14533 t2 = fromParsed.parts; |
14053 if (t2.length > 0 && J.$eq$(t2[0], ".")) | 14534 if (t2.length > 0 && J.$eq$(t2[0], ".")) |
14054 return pathParsed.toString$0(0); | 14535 return pathParsed.toString$0(0); |
14055 if (!J.$eq$(fromParsed.root, pathParsed.root)) { | 14536 if (!J.$eq$(fromParsed.root, pathParsed.root)) { |
14056 t2 = fromParsed.root; | 14537 t2 = fromParsed.root; |
14057 if (!(t2 == null || pathParsed.root == null)) { | 14538 if (!(t2 == null || pathParsed.root == null)) { |
(...skipping 19 matching lines...) Expand all Loading... |
14077 t2 = false; | 14558 t2 = false; |
14078 if (!t2) | 14559 if (!t2) |
14079 break; | 14560 break; |
14080 C.JSArray_methods.removeAt$1(fromParsed.parts, 0); | 14561 C.JSArray_methods.removeAt$1(fromParsed.parts, 0); |
14081 C.JSArray_methods.removeAt$1(fromParsed.separators, 1); | 14562 C.JSArray_methods.removeAt$1(fromParsed.separators, 1); |
14082 C.JSArray_methods.removeAt$1(pathParsed.parts, 0); | 14563 C.JSArray_methods.removeAt$1(pathParsed.parts, 0); |
14083 C.JSArray_methods.removeAt$1(pathParsed.separators, 1); | 14564 C.JSArray_methods.removeAt$1(pathParsed.separators, 1); |
14084 } | 14565 } |
14085 t2 = fromParsed.parts; | 14566 t2 = fromParsed.parts; |
14086 if (t2.length > 0 && J.$eq$(t2[0], "..")) | 14567 if (t2.length > 0 && J.$eq$(t2[0], "..")) |
14087 throw H.wrapException(new E.PathException("Unable to find a path to \"
" + path + "\" from \"" + H.S(from) + "\".")); | 14568 throw H.wrapException(new E.PathException('Unable to find a path to "'
+ path + '" from "' + H.S(from) + '".')); |
14088 C.JSArray_methods.insertAll$2(pathParsed.parts, 0, P.List_List$filled(fr
omParsed.parts.length, "..", false, null)); | 14569 C.JSArray_methods.insertAll$2(pathParsed.parts, 0, P.List_List$filled(fr
omParsed.parts.length, "..", false, null)); |
14089 t2 = pathParsed.separators; | 14570 t2 = pathParsed.separators; |
14090 if (0 >= t2.length) | 14571 if (0 >= t2.length) |
14091 return H.ioore(t2, 0); | 14572 return H.ioore(t2, 0); |
14092 t2[0] = ""; | 14573 t2[0] = ""; |
14093 C.JSArray_methods.insertAll$2(t2, 1, P.List_List$filled(fromParsed.parts
.length, t1.get$separator(), false, null)); | 14574 C.JSArray_methods.insertAll$2(t2, 1, P.List_List$filled(fromParsed.parts
.length, t1.get$separator(), false, null)); |
14094 t1 = pathParsed.parts; | 14575 t1 = pathParsed.parts; |
14095 t2 = t1.length; | 14576 t2 = t1.length; |
14096 if (t2 === 0) | 14577 if (t2 === 0) |
14097 return "."; | 14578 return "."; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14144 } else | 14625 } else |
14145 t1 = false; | 14626 t1 = false; |
14146 else | 14627 else |
14147 t1 = false; | 14628 t1 = false; |
14148 if (t1) | 14629 if (t1) |
14149 return uri.toString$0(0); | 14630 return uri.toString$0(0); |
14150 path = this.normalize$1(this.fromUri$1(uri)); | 14631 path = this.normalize$1(this.fromUri$1(uri)); |
14151 rel = this.relative$1(path); | 14632 rel = this.relative$1(path); |
14152 return this.split$1(0, rel).length > this.split$1(0, path).length ? path
: rel; | 14633 return this.split$1(0, rel).length > this.split$1(0, path).length ? path
: rel; |
14153 }, | 14634 }, |
14154 static: {Context_Context: function(current, style) { | 14635 static: { |
| 14636 Context_Context: function(current, style) { |
14155 current = style == null ? B.current() : "."; | 14637 current = style == null ? B.current() : "."; |
14156 if (style == null) | 14638 if (style == null) |
14157 style = $.$get$Style_platform(); | 14639 style = $.$get$Style_platform(); |
14158 return new F.Context(style, current); | 14640 return new F.Context(style, current); |
14159 }} | 14641 } |
| 14642 } |
14160 }, | 14643 }, |
14161 Context_join_closure: { | 14644 Context_join_closure: { |
14162 "^": "Closure:0;", | 14645 "^": "Closure:0;", |
14163 call$1: function(part) { | 14646 call$1: function(part) { |
14164 return part != null; | 14647 return part != null; |
14165 } | 14648 } |
14166 }, | 14649 }, |
14167 Context_joinAll_closure: { | 14650 Context_joinAll_closure: { |
14168 "^": "Closure:0;", | 14651 "^": "Closure:0;", |
14169 call$1: function(part) { | 14652 call$1: function(part) { |
14170 return !J.$eq$(part, ""); | 14653 return !J.$eq$(part, ""); |
14171 } | 14654 } |
14172 }, | 14655 }, |
14173 Context_split_closure: { | 14656 Context_split_closure: { |
14174 "^": "Closure:0;", | 14657 "^": "Closure:0;", |
14175 call$1: function(part) { | 14658 call$1: function(part) { |
14176 return J.get$isEmpty$asx(part) !== true; | 14659 return J.get$isEmpty$asx(part) !== true; |
14177 } | 14660 } |
14178 }, | 14661 }, |
14179 _validateArgList_closure: { | 14662 _validateArgList_closure: { |
14180 "^": "Closure:0;", | 14663 "^": "Closure:0;", |
14181 call$1: [function(arg) { | 14664 call$1: [function(arg) { |
14182 return arg == null ? "null" : "\"" + H.S(arg) + "\""; | 14665 return arg == null ? "null" : '"' + H.S(arg) + '"'; |
14183 }, null, null, 2, 0, null, 13, "call"] | 14666 }, null, null, 2, 0, null, 15, "call"] |
14184 } | 14667 } |
14185 }], ["path.internal_style", "package:path/src/internal_style.dart",, E, { | 14668 }], ["path.internal_style", "package:path/src/internal_style.dart",, E, { |
14186 "^": "", | 14669 "^": "", |
14187 InternalStyle: { | 14670 InternalStyle: { |
14188 "^": "Style;", | 14671 "^": "Style;", |
14189 getRoot$1: function(path) { | 14672 getRoot$1: function(path) { |
14190 var $length = this.rootLength$1(path); | 14673 var $length = this.rootLength$1(path); |
14191 if (J.$gt$n($length, 0)) | 14674 if (J.$gt$n($length, 0)) |
14192 return J.substring$2$s(path, 0, $length); | 14675 return J.substring$2$s(path, 0, $length); |
14193 return this.isRootRelative$1(path) ? J.$index$asx(path, 0) : null; | 14676 return this.isRootRelative$1(path) ? J.$index$asx(path, 0) : null; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14226 t2 = t1.length; | 14709 t2 = t1.length; |
14227 if (t2 > 0) | 14710 if (t2 > 0) |
14228 t1[t2 - 1] = ""; | 14711 t1[t2 - 1] = ""; |
14229 }, | 14712 }, |
14230 normalize$0: function() { | 14713 normalize$0: function() { |
14231 var newParts, t1, t2, leadingDoubles, _i, part, t3, newSeparators; | 14714 var newParts, t1, t2, leadingDoubles, _i, part, t3, newSeparators; |
14232 newParts = H.setRuntimeTypeInfo([], [P.String]); | 14715 newParts = H.setRuntimeTypeInfo([], [P.String]); |
14233 for (t1 = this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t
1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i)
{ | 14716 for (t1 = this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t
1.length; t1.length === t2 || (0, H.throwConcurrentModificationError)(t1), ++_i)
{ |
14234 part = t1[_i]; | 14717 part = t1[_i]; |
14235 t3 = J.getInterceptor(part); | 14718 t3 = J.getInterceptor(part); |
14236 if (t3.$eq(part, ".") || t3.$eq(part, "")) | 14719 if (!(t3.$eq(part, ".") || t3.$eq(part, ""))) |
14237 ; | 14720 if (t3.$eq(part, "..")) |
14238 else if (t3.$eq(part, "..")) | 14721 if (newParts.length > 0) |
14239 if (newParts.length > 0) | 14722 newParts.pop(); |
14240 newParts.pop(); | 14723 else |
| 14724 ++leadingDoubles; |
14241 else | 14725 else |
14242 ++leadingDoubles; | 14726 newParts.push(part); |
14243 else | |
14244 newParts.push(part); | |
14245 } | 14727 } |
14246 if (this.root == null) | 14728 if (this.root == null) |
14247 C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingD
oubles, "..", false, null)); | 14729 C.JSArray_methods.insertAll$2(newParts, 0, P.List_List$filled(leadingD
oubles, "..", false, null)); |
14248 if (newParts.length === 0 && this.root == null) | 14730 if (newParts.length === 0 && this.root == null) |
14249 newParts.push("."); | 14731 newParts.push("."); |
14250 newSeparators = P.List_List$generate(newParts.length, new Q.ParsedPath_n
ormalize_closure(this), true, P.String); | 14732 newSeparators = P.List_List$generate(newParts.length, new Q.ParsedPath_n
ormalize_closure(this), true, P.String); |
14251 t1 = this.root; | 14733 t1 = this.root; |
14252 C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.leng
th > 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : ""); | 14734 C.JSArray_methods.insert$2(newSeparators, 0, t1 != null && newParts.leng
th > 0 && this.style.needsSeparator$1(t1) ? this.style.get$separator() : ""); |
14253 this.parts = newParts; | 14735 this.parts = newParts; |
14254 this.separators = newSeparators; | 14736 this.separators = newSeparators; |
(...skipping 21 matching lines...) Expand all Loading... |
14276 return H.ioore(t1, i); | 14758 return H.ioore(t1, i); |
14277 builder._contents += H.S(t1[i]); | 14759 builder._contents += H.S(t1[i]); |
14278 t1 = this.parts; | 14760 t1 = this.parts; |
14279 if (i >= t1.length) | 14761 if (i >= t1.length) |
14280 return H.ioore(t1, i); | 14762 return H.ioore(t1, i); |
14281 builder._contents += H.S(t1[i]); | 14763 builder._contents += H.S(t1[i]); |
14282 } | 14764 } |
14283 t1 = builder._contents += H.S(C.JSArray_methods.get$last(this.separators
)); | 14765 t1 = builder._contents += H.S(C.JSArray_methods.get$last(this.separators
)); |
14284 return t1.charCodeAt(0) == 0 ? t1 : t1; | 14766 return t1.charCodeAt(0) == 0 ? t1 : t1; |
14285 }, | 14767 }, |
14286 static: {ParsedPath_ParsedPath$parse: function(path, style) { | 14768 static: { |
| 14769 ParsedPath_ParsedPath$parse: function(path, style) { |
14287 var root, isRootRelative, parts, separators, t1, start, i, t2; | 14770 var root, isRootRelative, parts, separators, t1, start, i, t2; |
14288 root = style.getRoot$1(path); | 14771 root = style.getRoot$1(path); |
14289 isRootRelative = style.isRootRelative$1(path); | 14772 isRootRelative = style.isRootRelative$1(path); |
14290 if (root != null) | 14773 if (root != null) |
14291 path = J.substring$1$s(path, J.get$length$asx(root)); | 14774 path = J.substring$1$s(path, J.get$length$asx(root)); |
14292 parts = H.setRuntimeTypeInfo([], [P.String]); | 14775 parts = H.setRuntimeTypeInfo([], [P.String]); |
14293 separators = H.setRuntimeTypeInfo([], [P.String]); | 14776 separators = H.setRuntimeTypeInfo([], [P.String]); |
14294 t1 = J.getInterceptor$asx(path); | 14777 t1 = J.getInterceptor$asx(path); |
14295 if (t1.get$isNotEmpty(path) && style.isSeparator$1(t1.codeUnitAt$1(pat
h, 0))) { | 14778 if (t1.get$isNotEmpty(path) && style.isSeparator$1(t1.codeUnitAt$1(pat
h, 0))) { |
14296 separators.push(t1.$index(path, 0)); | 14779 separators.push(t1.$index(path, 0)); |
(...skipping 17 matching lines...) Expand all Loading... |
14314 ++i; | 14797 ++i; |
14315 } | 14798 } |
14316 t2 = t1.get$length(path); | 14799 t2 = t1.get$length(path); |
14317 if (typeof t2 !== "number") | 14800 if (typeof t2 !== "number") |
14318 return H.iae(t2); | 14801 return H.iae(t2); |
14319 if (start < t2) { | 14802 if (start < t2) { |
14320 parts.push(t1.substring$1(path, start)); | 14803 parts.push(t1.substring$1(path, start)); |
14321 separators.push(""); | 14804 separators.push(""); |
14322 } | 14805 } |
14323 return new Q.ParsedPath(style, root, isRootRelative, parts, separators
); | 14806 return new Q.ParsedPath(style, root, isRootRelative, parts, separators
); |
14324 }} | 14807 } |
| 14808 } |
14325 }, | 14809 }, |
14326 ParsedPath_normalize_closure: { | 14810 ParsedPath_normalize_closure: { |
14327 "^": "Closure:0;$this", | 14811 "^": "Closure:0;$this", |
14328 call$1: function(_) { | 14812 call$1: function(_) { |
14329 return this.$this.style.get$separator(); | 14813 return this.$this.style.get$separator(); |
14330 } | 14814 } |
14331 } | 14815 } |
14332 }], ["path.path_exception", "package:path/src/path_exception.dart",, E, { | 14816 }], ["path.path_exception", "package:path/src/path_exception.dart",, E, { |
14333 "^": "", | 14817 "^": "", |
14334 PathException: { | 14818 PathException: { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14376 }, | 14860 }, |
14377 isRootRelative$1: function(path) { | 14861 isRootRelative$1: function(path) { |
14378 return false; | 14862 return false; |
14379 }, | 14863 }, |
14380 pathFromUri$1: function(uri) { | 14864 pathFromUri$1: function(uri) { |
14381 var t1 = uri.scheme; | 14865 var t1 = uri.scheme; |
14382 if (t1 === "" || t1 === "file") { | 14866 if (t1 === "" || t1 === "file") { |
14383 t1 = uri._path; | 14867 t1 = uri._path; |
14384 return P.Uri__uriDecode(t1, 0, t1.length, C.Utf8Codec_false, false); | 14868 return P.Uri__uriDecode(t1, 0, t1.length, C.Utf8Codec_false, false); |
14385 } | 14869 } |
14386 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + " mu
st have scheme 'file:'.")); | 14870 throw H.wrapException(P.ArgumentError$("Uri " + J.toString$0$(uri) + " m
ust have scheme 'file:'.")); |
14387 }, | 14871 }, |
14388 absolutePathToUri$1: function(path) { | 14872 absolutePathToUri$1: function(path) { |
14389 var parsed, t1; | 14873 var parsed, t1; |
14390 parsed = Q.ParsedPath_ParsedPath$parse(path, this); | 14874 parsed = Q.ParsedPath_ParsedPath$parse(path, this); |
14391 t1 = parsed.parts; | 14875 t1 = parsed.parts; |
14392 if (t1.length === 0) | 14876 if (t1.length === 0) |
14393 C.JSArray_methods.addAll$1(t1, ["", ""]); | 14877 C.JSArray_methods.addAll$1(t1, ["", ""]); |
14394 else if (parsed.get$hasTrailingSeparator()) | 14878 else if (parsed.get$hasTrailingSeparator()) |
14395 C.JSArray_methods.add$1(parsed.parts, ""); | 14879 C.JSArray_methods.add$1(parsed.parts, ""); |
14396 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "file
", ""); | 14880 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "file
", ""); |
14397 } | 14881 } |
14398 } | 14882 } |
14399 }], ["path.style.url", "package:path/src/style/url.dart",, E, { | 14883 }], ["path.style.url", "package:path/src/style/url.dart",, E, { |
14400 "^": "", | 14884 "^": "", |
14401 UrlStyle: { | 14885 UrlStyle: { |
14402 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepa
ratorPattern,rootPattern,relativeRootPattern", | 14886 "^": "InternalStyle;name>,separator<,separators,separatorPattern,needsSepa
ratorPattern,rootPattern,relativeRootPattern", |
14403 containsSeparator$1: function(path) { | 14887 containsSeparator$1: function(path) { |
14404 return J.contains$1$asx(path, "/"); | 14888 return J.contains$1$asx(path, "/"); |
14405 }, | 14889 }, |
14406 isSeparator$1: function(codeUnit) { | 14890 isSeparator$1: function(codeUnit) { |
14407 return codeUnit === 47; | 14891 return codeUnit === 47; |
14408 }, | 14892 }, |
14409 needsSeparator$1: function(path) { | 14893 needsSeparator$1: function(path) { |
14410 var t1 = J.getInterceptor$asx(path); | 14894 var t1, t2; |
| 14895 t1 = J.getInterceptor$asx(path); |
14411 if (t1.get$isEmpty(path) === true) | 14896 if (t1.get$isEmpty(path) === true) |
14412 return false; | 14897 return false; |
14413 if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47) | 14898 if (t1.codeUnitAt$1(path, J.$sub$n(t1.get$length(path), 1)) !== 47) |
14414 return true; | 14899 return true; |
14415 return t1.endsWith$1(path, "://") && J.$eq$(this.rootLength$1(path), t1.
get$length(path)); | 14900 if (t1.endsWith$1(path, "://")) { |
| 14901 t2 = this.rootLength$1(path); |
| 14902 t1 = t1.get$length(path); |
| 14903 t1 = t2 == null ? t1 == null : t2 === t1; |
| 14904 } else |
| 14905 t1 = false; |
| 14906 return t1; |
14416 }, | 14907 }, |
14417 rootLength$1: function(path) { | 14908 rootLength$1: function(path) { |
14418 var t1, index, t2; | 14909 var t1, index; |
14419 t1 = J.getInterceptor$asx(path); | 14910 t1 = J.getInterceptor$asx(path); |
14420 if (t1.get$isEmpty(path) === true) | 14911 if (t1.get$isEmpty(path) === true) |
14421 return 0; | 14912 return 0; |
14422 if (t1.codeUnitAt$1(path, 0) === 47) | 14913 if (t1.codeUnitAt$1(path, 0) === 47) |
14423 return 1; | 14914 return 1; |
14424 index = t1.indexOf$1(path, "/"); | 14915 index = t1.indexOf$1(path, "/"); |
14425 t2 = J.getInterceptor$n(index); | 14916 if (index > 0 && t1.startsWith$2(path, "://", index - 1)) { |
14426 if (t2.$gt(index, 0) && t1.startsWith$2(path, "://", t2.$sub(index, 1)))
{ | 14917 index = t1.indexOf$2(path, "/", index + 2); |
14427 index = t1.indexOf$2(path, "/", t2.$add(index, 2)); | 14918 if (index > 0) |
14428 if (J.$gt$n(index, 0)) | |
14429 return index; | 14919 return index; |
14430 return t1.get$length(path); | 14920 return t1.get$length(path); |
14431 } | 14921 } |
14432 return 0; | 14922 return 0; |
14433 }, | 14923 }, |
14434 isRootRelative$1: function(path) { | 14924 isRootRelative$1: function(path) { |
14435 var t1 = J.getInterceptor$asx(path); | 14925 var t1 = J.getInterceptor$asx(path); |
14436 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; | 14926 return t1.get$isNotEmpty(path) && t1.codeUnitAt$1(path, 0) === 47; |
14437 }, | 14927 }, |
14438 pathFromUri$1: function(uri) { | 14928 pathFromUri$1: function(uri) { |
14439 return uri.toString$0(0); | 14929 return J.toString$0$(uri); |
14440 }, | 14930 }, |
14441 relativePathToUri$1: function(path) { | 14931 relativePathToUri$1: function(path) { |
14442 return P.Uri_parse(path, 0, null); | 14932 return P.Uri_parse(path, 0, null); |
14443 }, | 14933 }, |
14444 absolutePathToUri$1: function(path) { | 14934 absolutePathToUri$1: function(path) { |
14445 return P.Uri_parse(path, 0, null); | 14935 return P.Uri_parse(path, 0, null); |
14446 } | 14936 } |
14447 } | 14937 } |
14448 }], ["path.style.windows", "package:path/src/style/windows.dart",, T, { | 14938 }], ["path.style.windows", "package:path/src/style/windows.dart",, T, { |
14449 "^": "", | 14939 "^": "", |
(...skipping 16 matching lines...) Expand all Loading... |
14466 var t1, index, t2; | 14956 var t1, index, t2; |
14467 t1 = J.getInterceptor$asx(path); | 14957 t1 = J.getInterceptor$asx(path); |
14468 if (t1.get$isEmpty(path) === true) | 14958 if (t1.get$isEmpty(path) === true) |
14469 return 0; | 14959 return 0; |
14470 if (t1.codeUnitAt$1(path, 0) === 47) | 14960 if (t1.codeUnitAt$1(path, 0) === 47) |
14471 return 1; | 14961 return 1; |
14472 if (t1.codeUnitAt$1(path, 0) === 92) { | 14962 if (t1.codeUnitAt$1(path, 0) === 92) { |
14473 if (J.$lt$n(t1.get$length(path), 2) || t1.codeUnitAt$1(path, 1) !== 92
) | 14963 if (J.$lt$n(t1.get$length(path), 2) || t1.codeUnitAt$1(path, 1) !== 92
) |
14474 return 1; | 14964 return 1; |
14475 index = t1.indexOf$2(path, "\\", 2); | 14965 index = t1.indexOf$2(path, "\\", 2); |
14476 t2 = J.getInterceptor$n(index); | 14966 if (index > 0) { |
14477 if (t2.$gt(index, 0)) { | 14967 index = t1.indexOf$2(path, "\\", index + 1); |
14478 index = t1.indexOf$2(path, "\\", t2.$add(index, 1)); | 14968 if (index > 0) |
14479 if (J.$gt$n(index, 0)) | |
14480 return index; | 14969 return index; |
14481 } | 14970 } |
14482 return t1.get$length(path); | 14971 return t1.get$length(path); |
14483 } | 14972 } |
14484 if (J.$lt$n(t1.get$length(path), 3)) | 14973 if (J.$lt$n(t1.get$length(path), 3)) |
14485 return 0; | 14974 return 0; |
14486 t2 = t1.codeUnitAt$1(path, 0); | 14975 t2 = t1.codeUnitAt$1(path, 0); |
14487 if (!(t2 >= 65 && t2 <= 90)) | 14976 if (!(t2 >= 65 && t2 <= 90)) |
14488 t2 = t2 >= 97 && t2 <= 122; | 14977 t2 = t2 >= 97 && t2 <= 122; |
14489 else | 14978 else |
14490 t2 = true; | 14979 t2 = true; |
14491 if (!t2) | 14980 if (!t2) |
14492 return 0; | 14981 return 0; |
14493 if (t1.codeUnitAt$1(path, 1) !== 58) | 14982 if (t1.codeUnitAt$1(path, 1) !== 58) |
14494 return 0; | 14983 return 0; |
14495 t1 = t1.codeUnitAt$1(path, 2); | 14984 t1 = t1.codeUnitAt$1(path, 2); |
14496 if (!(t1 === 47 || t1 === 92)) | 14985 if (!(t1 === 47 || t1 === 92)) |
14497 return 0; | 14986 return 0; |
14498 return 3; | 14987 return 3; |
14499 }, | 14988 }, |
14500 isRootRelative$1: function(path) { | 14989 isRootRelative$1: function(path) { |
14501 return J.$eq$(this.rootLength$1(path), 1); | 14990 return this.rootLength$1(path) === 1; |
14502 }, | 14991 }, |
14503 pathFromUri$1: function(uri) { | 14992 pathFromUri$1: function(uri) { |
14504 var t1, path; | 14993 var t1, path; |
14505 t1 = uri.scheme; | 14994 t1 = uri.scheme; |
14506 if (t1 !== "" && t1 !== "file") | 14995 if (t1 !== "" && t1 !== "file") |
14507 throw H.wrapException(P.ArgumentError$("Uri " + uri.toString$0(0) + "
must have scheme 'file:'.")); | 14996 throw H.wrapException(P.ArgumentError$("Uri " + J.toString$0$(uri) + "
must have scheme 'file:'.")); |
14508 path = uri._path; | 14997 path = uri._path; |
14509 if (uri.get$host(uri) === "") { | 14998 if (uri.get$host(uri) === "") { |
14510 if (C.JSString_methods.startsWith$1(path, "/")) | 14999 if (C.JSString_methods.startsWith$1(path, "/")) |
14511 path = C.JSString_methods.replaceFirst$2(path, "/", ""); | 15000 path = C.JSString_methods.replaceFirst$2(path, "/", ""); |
14512 } else | 15001 } else |
14513 path = "\\\\" + H.S(uri.get$host(uri)) + path; | 15002 path = "\\\\" + H.S(uri.get$host(uri)) + path; |
14514 H.checkString("\\"); | 15003 H.checkString("\\"); |
14515 t1 = H.stringReplaceAllUnchecked(path, "/", "\\"); | 15004 t1 = H.stringReplaceAllUnchecked(path, "/", "\\"); |
14516 return P.Uri__uriDecode(t1, 0, t1.length, C.Utf8Codec_false, false); | 15005 return P.Uri__uriDecode(t1, 0, t1.length, C.Utf8Codec_false, false); |
14517 }, | 15006 }, |
(...skipping 17 matching lines...) Expand all Loading... |
14535 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "fi
le", ""); | 15024 return P.Uri_Uri(null, null, null, parsed.parts, null, null, null, "fi
le", ""); |
14536 } | 15025 } |
14537 } | 15026 } |
14538 }, | 15027 }, |
14539 WindowsStyle_absolutePathToUri_closure: { | 15028 WindowsStyle_absolutePathToUri_closure: { |
14540 "^": "Closure:0;", | 15029 "^": "Closure:0;", |
14541 call$1: function(part) { | 15030 call$1: function(part) { |
14542 return !J.$eq$(part, ""); | 15031 return !J.$eq$(part, ""); |
14543 } | 15032 } |
14544 } | 15033 } |
14545 }], ["stack_trace.chain", "package:stack_trace/src/chain.dart",, O, { | |
14546 "^": "", | |
14547 Chain: { | |
14548 "^": "Object;traces", | |
14549 get$terse: function() { | |
14550 return this.foldFrames$2$terse(new O.Chain_terse_closure(), true); | |
14551 }, | |
14552 foldFrames$2$terse: function(predicate, terse) { | |
14553 var t1, foldedTraces, nonEmptyTraces; | |
14554 t1 = this.traces; | |
14555 foldedTraces = t1.map$1(t1, new O.Chain_foldFrames_closure(predicate, tr
ue)); | |
14556 nonEmptyTraces = foldedTraces.super$Iterable$where(foldedTraces, new O.C
hain_foldFrames_closure0(true)); | |
14557 if (!nonEmptyTraces.get$iterator(nonEmptyTraces).moveNext$0() && !folded
Traces.get$isEmpty(foldedTraces)) | |
14558 return new O.Chain(H.setRuntimeTypeInfo(new P.UnmodifiableListView(C.J
SArray_methods.toList$0([foldedTraces.get$last(foldedTraces)])), [R.Trace])); | |
14559 return new O.Chain(H.setRuntimeTypeInfo(new P.UnmodifiableListView(nonEm
ptyTraces.toList$0(0)), [R.Trace])); | |
14560 }, | |
14561 toTrace$0: function() { | |
14562 var t1 = this.traces; | |
14563 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(C.JSA
rray_methods.toList$0(N.flatten(t1.map$1(t1, new O.Chain_toTrace_closure())))),
[S.Frame])); | |
14564 }, | |
14565 toString$0: function(_) { | |
14566 var t1 = this.traces; | |
14567 return t1.map$1(t1, new O.Chain_toString_closure(t1.map$1(t1, new O.Chai
n_toString_closure0()).fold$2(0, 0, P.math__max$closure()))).join$1(0, "===== as
ynchronous gap ===========================\n"); | |
14568 }, | |
14569 static: {Chain_Chain$parse: function(chain) { | |
14570 var t1 = J.getInterceptor$asx(chain); | |
14571 if (t1.get$isEmpty(chain) === true) | |
14572 return new O.Chain(H.setRuntimeTypeInfo(new P.UnmodifiableListView(C
.JSArray_methods.toList$0([])), [R.Trace])); | |
14573 if (t1.contains$1(chain, "===== asynchronous gap =====================
======\n") !== true) | |
14574 return new O.Chain(H.setRuntimeTypeInfo(new P.UnmodifiableListView(C
.JSArray_methods.toList$0([R.Trace_Trace$parse(chain)])), [R.Trace])); | |
14575 return new O.Chain(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.s
etRuntimeTypeInfo(new H.MappedListIterable(t1.split$1(chain, "===== asynchronous
gap ===========================\n"), new O.closure2()), [null, null]).toList$0(
0)), [R.Trace])); | |
14576 }} | |
14577 }, | |
14578 closure2: { | |
14579 "^": "Closure:0;", | |
14580 call$1: [function(trace) { | |
14581 return R.Trace$parseFriendly(trace); | |
14582 }, null, null, 2, 0, null, 11, "call"] | |
14583 }, | |
14584 Chain_terse_closure: { | |
14585 "^": "Closure:0;", | |
14586 call$1: function(_) { | |
14587 return false; | |
14588 } | |
14589 }, | |
14590 Chain_foldFrames_closure: { | |
14591 "^": "Closure:0;predicate,terse", | |
14592 call$1: [function(trace) { | |
14593 return trace.foldFrames$2$terse(this.predicate, this.terse); | |
14594 }, null, null, 2, 0, null, 11, "call"] | |
14595 }, | |
14596 Chain_foldFrames_closure0: { | |
14597 "^": "Closure:0;terse", | |
14598 call$1: function(trace) { | |
14599 var t1; | |
14600 if (trace.get$frames()._collection$_source.length > 1) | |
14601 return true; | |
14602 t1 = trace.get$frames(); | |
14603 if (t1.get$isEmpty(t1)) | |
14604 return false; | |
14605 if (!this.terse) | |
14606 return false; | |
14607 t1 = trace.get$frames(); | |
14608 return t1.get$single(t1).get$line() != null; | |
14609 } | |
14610 }, | |
14611 Chain_toTrace_closure: { | |
14612 "^": "Closure:0;", | |
14613 call$1: [function(trace) { | |
14614 return trace.get$frames(); | |
14615 }, null, null, 2, 0, null, 11, "call"] | |
14616 }, | |
14617 Chain_toString_closure0: { | |
14618 "^": "Closure:0;", | |
14619 call$1: [function(trace) { | |
14620 var t1 = trace.get$frames(); | |
14621 return t1.map$1(t1, new O.Chain_toString__closure0()).fold$2(0, 0, P.mat
h__max$closure()); | |
14622 }, null, null, 2, 0, null, 11, "call"] | |
14623 }, | |
14624 Chain_toString__closure0: { | |
14625 "^": "Closure:0;", | |
14626 call$1: [function(frame) { | |
14627 return J.get$length$asx(J.get$location$x(frame)); | |
14628 }, null, null, 2, 0, null, 12, "call"] | |
14629 }, | |
14630 Chain_toString_closure: { | |
14631 "^": "Closure:0;longest", | |
14632 call$1: [function(trace) { | |
14633 var t1 = trace.get$frames(); | |
14634 return t1.map$1(t1, new O.Chain_toString__closure(this.longest)).join$0(
0); | |
14635 }, null, null, 2, 0, null, 11, "call"] | |
14636 }, | |
14637 Chain_toString__closure: { | |
14638 "^": "Closure:0;longest", | |
14639 call$1: [function(frame) { | |
14640 return H.S(N.padRight(J.get$location$x(frame), this.longest)) + " " + H
.S(frame.get$member()) + "\n"; | |
14641 }, null, null, 2, 0, null, 12, "call"] | |
14642 } | |
14643 }], ["stack_trace.src.utils", "package:stack_trace/src/utils.dart",, N, { | |
14644 "^": "", | |
14645 padRight: function(string, $length) { | |
14646 var t1, t2, result, i; | |
14647 t1 = J.getInterceptor$asx(string); | |
14648 t2 = t1.get$length(string); | |
14649 if (typeof $length !== "number") | |
14650 return H.iae($length); | |
14651 if (t2 >= $length) | |
14652 return string; | |
14653 result = new P.StringBuffer(""); | |
14654 result._contents = H.S(string); | |
14655 for (i = 0; i < $length - t1.get$length(string); ++i) | |
14656 result._contents += " "; | |
14657 t1 = result._contents; | |
14658 return t1.charCodeAt(0) == 0 ? t1 : t1; | |
14659 }, | |
14660 flatten: function(nested) { | |
14661 var result = []; | |
14662 new N.flatten_helper(result).call$1(nested); | |
14663 return result; | |
14664 }, | |
14665 flatten_helper: { | |
14666 "^": "Closure:0;result", | |
14667 call$1: function(list) { | |
14668 var t1, t2, element; | |
14669 for (t1 = J.get$iterator$ax(list), t2 = this.result; t1.moveNext$0();) { | |
14670 element = t1.get$current(); | |
14671 if (!!J.getInterceptor(element).$isList) | |
14672 this.call$1(element); | |
14673 else | |
14674 t2.push(element); | |
14675 } | |
14676 } | |
14677 } | |
14678 }], ["stack_trace.unparsed_frame", "package:stack_trace/src/unparsed_frame.dar
t",, N, { | |
14679 "^": "", | |
14680 UnparsedFrame: { | |
14681 "^": "Object;uri<,line<,column<,isCore<,library<,$package<,location>,membe
r<", | |
14682 toString$0: function(_) { | |
14683 return this.member; | |
14684 } | |
14685 } | |
14686 }], ["", "package:stream_channel/stream_channel.dart",, R, { | 15034 }], ["", "package:stream_channel/stream_channel.dart",, R, { |
14687 "^": "", | 15035 "^": "", |
14688 StreamChannelMixin: { | 15036 StreamChannelMixin: { |
14689 "^": "Object;" | 15037 "^": "Object;" |
14690 } | 15038 } |
14691 }], ["", "package:stream_channel/src/stream_channel_controller.dart",, B, { | 15039 }], ["", "package:stream_channel/src/stream_channel_controller.dart",, B, { |
14692 "^": "", | 15040 "^": "", |
14693 StreamChannelController: { | 15041 StreamChannelController: { |
14694 "^": "Object;_local,_foreign", | 15042 "^": "Object;_local,_foreign", |
14695 get$local: function() { | 15043 get$local: function() { |
14696 return this._local; | 15044 return this._local; |
14697 }, | 15045 }, |
14698 StreamChannelController$2$allowForeignErrors$sync: function(allowForeignEr
rors, sync, $T) { | 15046 StreamChannelController$2$allowForeignErrors$sync: function(allowForeignEr
rors, sync, $T) { |
14699 var localToForeignController, foreignToLocalController; | 15047 var localToForeignController, foreignToLocalController; |
14700 localToForeignController = P.StreamController_StreamController(null, nul
l, null, null, true, $T); | 15048 localToForeignController = P.StreamController_StreamController(null, nul
l, null, null, true, $T); |
14701 foreignToLocalController = P.StreamController_StreamController(null, nul
l, null, null, true, $T); | 15049 foreignToLocalController = P.StreamController_StreamController(null, nul
l, null, null, true, $T); |
14702 this._local = K.GuaranteeChannel$(H.setRuntimeTypeInfo(new P._Controller
Stream(foreignToLocalController), [H.getTypeArgumentByIndex(foreignToLocalContro
ller, 0)]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(localToForeignControll
er), [H.getTypeArgumentByIndex(localToForeignController, 0)]), true, null); | 15050 this._local = K.GuaranteeChannel$(H.setRuntimeTypeInfo(new P._Controller
Stream(foreignToLocalController), [H.getTypeArgumentByIndex(foreignToLocalContro
ller, 0)]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(localToForeignControll
er), [H.getTypeArgumentByIndex(localToForeignController, 0)]), true, null); |
14703 this._foreign = K.GuaranteeChannel$(H.setRuntimeTypeInfo(new P._Controll
erStream(localToForeignController), [H.getTypeArgumentByIndex(localToForeignCont
roller, 0)]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(foreignToLocalContro
ller), [H.getTypeArgumentByIndex(foreignToLocalController, 0)]), true, null); | 15051 this._foreign = K.GuaranteeChannel$(H.setRuntimeTypeInfo(new P._Controll
erStream(localToForeignController), [H.getTypeArgumentByIndex(localToForeignCont
roller, 0)]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(foreignToLocalContro
ller), [H.getTypeArgumentByIndex(foreignToLocalController, 0)]), true, null); |
14704 }, | 15052 }, |
14705 static: {StreamChannelController$: function(allowForeignErrors, sync, $T)
{ | 15053 static: { |
| 15054 StreamChannelController$: function(allowForeignErrors, sync, $T) { |
14706 var t1 = H.setRuntimeTypeInfo(new B.StreamChannelController(null, null
), [$T]); | 15055 var t1 = H.setRuntimeTypeInfo(new B.StreamChannelController(null, null
), [$T]); |
14707 t1.StreamChannelController$2$allowForeignErrors$sync(true, true, $T); | 15056 t1.StreamChannelController$2$allowForeignErrors$sync(true, true, $T); |
14708 return t1; | 15057 return t1; |
14709 }} | 15058 } |
| 15059 } |
14710 } | 15060 } |
14711 }], ["trace", "package:stack_trace/src/trace.dart",, R, { | 15061 }], ["", "package:stack_trace/src/trace.dart",, Y, { |
14712 "^": "", | 15062 "^": "", |
14713 Trace: { | 15063 Trace: { |
14714 "^": "Object;frames<", | 15064 "^": "Object;frames<", |
14715 get$terse: function() { | 15065 get$terse: function() { |
14716 return this.foldFrames$2$terse(new R.Trace_terse_closure(), true); | 15066 return this.foldFrames$2$terse(new Y.Trace_terse_closure(), true); |
14717 }, | 15067 }, |
14718 foldFrames$2$terse: function(predicate, terse) { | 15068 foldFrames$2$terse: function(predicate, terse) { |
14719 var t1, newFrames, t2, frame; | 15069 var t1, newFrames, t2, frame; |
14720 t1 = {}; | 15070 t1 = {}; |
14721 t1.predicate = predicate; | 15071 t1.predicate = predicate; |
14722 t1.predicate = new R.Trace_foldFrames_closure(predicate); | 15072 t1.predicate = new Y.Trace_foldFrames_closure(predicate); |
14723 newFrames = []; | 15073 newFrames = H.setRuntimeTypeInfo([], [A.Frame]); |
14724 for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator
(t2, t2.get$length(t2), 0, null); t2.moveNext$0();) { | 15074 for (t2 = this.frames, t2 = H.setRuntimeTypeInfo(new H.ReversedListItera
ble(t2), [H.getTypeArgumentByIndex(t2, 0)]), t2 = new H.ListIterator(t2, t2.get$
length(t2), 0, null); t2.moveNext$0();) { |
14725 frame = t2._current; | 15075 frame = t2._current; |
14726 if (frame instanceof N.UnparsedFrame || t1.predicate.call$1(frame) !==
true) | 15076 if (frame instanceof N.UnparsedFrame || t1.predicate.call$1(frame) !==
true) |
14727 newFrames.push(frame); | 15077 newFrames.push(frame); |
14728 else if (newFrames.length === 0 || t1.predicate.call$1(C.JSArray_metho
ds.get$last(newFrames)) !== true) | 15078 else if (newFrames.length === 0 || t1.predicate.call$1(C.JSArray_metho
ds.get$last(newFrames)) !== true) |
14729 newFrames.push(new S.Frame(frame.get$uri(), frame.get$line(), frame.
get$column(), frame.get$member())); | 15079 newFrames.push(new A.Frame(frame.get$uri(), frame.get$line(), frame.
get$column(), frame.get$member())); |
14730 } | 15080 } |
14731 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new
R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); | 15081 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new
Y.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); |
14732 if (newFrames.length > 1 && C.JSArray_methods.get$first(newFrames).get$i
sCore()) | 15082 if (newFrames.length > 1 && C.JSArray_methods.get$first(newFrames).get$i
sCore()) |
14733 C.JSArray_methods.removeAt$1(newFrames, 0); | 15083 C.JSArray_methods.removeAt$1(newFrames, 0); |
14734 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.set
RuntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex
(newFrames, 0)]).toList$0(0)), [S.Frame])); | 15084 return new Y.Trace(P.List_List$unmodifiable(H.setRuntimeTypeInfo(new H.R
eversedListIterable(newFrames), [H.getTypeArgumentByIndex(newFrames, 0)]), A.Fra
me)); |
14735 }, | 15085 }, |
14736 toString$0: function(_) { | 15086 toString$0: function(_) { |
14737 var t1 = this.frames; | 15087 var t1 = this.frames; |
14738 return t1.map$1(t1, new R.Trace_toString_closure(t1.map$1(t1, new R.Trac
e_toString_closure0()).fold$2(0, 0, P.math__max$closure()))).join$0(0); | 15088 return H.setRuntimeTypeInfo(new H.MappedListIterable(t1, new Y.Trace_toS
tring_closure(H.setRuntimeTypeInfo(new H.MappedListIterable(t1, new Y.Trace_toSt
ring_closure0()), [null, null]).fold$2(0, 0, P.math__max$closure()))), [null, nu
ll]).join$0(0); |
14739 }, | 15089 }, |
14740 $isStackTrace: 1, | 15090 $isStackTrace: 1, |
14741 static: {Trace_Trace$from: function(trace) { | 15091 static: { |
| 15092 Trace_Trace$from: function(trace) { |
14742 var t1; | 15093 var t1; |
14743 if (trace == null) | 15094 if (trace == null) |
14744 throw H.wrapException(P.ArgumentError$("Cannot create a Trace from n
ull.")); | 15095 throw H.wrapException(P.ArgumentError$("Cannot create a Trace from n
ull.")); |
14745 t1 = J.getInterceptor(trace); | 15096 t1 = J.getInterceptor(trace); |
14746 if (!!t1.$isTrace) | 15097 if (!!t1.$isTrace) |
14747 return trace; | 15098 return trace; |
14748 if (!!t1.$isChain) | 15099 if (!!t1.$isChain) |
14749 return trace.toTrace$0(); | 15100 return trace.toTrace$0(); |
14750 return new S.LazyTrace(new R.closure(trace), null); | 15101 return new T.LazyTrace(new Y.closure(trace), null); |
14751 }, Trace_Trace$parse: function(trace) { | 15102 }, |
| 15103 Trace_Trace$parse: function(trace) { |
14752 var error, t1, exception; | 15104 var error, t1, exception; |
14753 try { | 15105 try { |
14754 if (J.get$isEmpty$asx(trace) === true) { | 15106 if (J.get$isEmpty$asx(trace) === true) { |
14755 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(C.JSArray_met
hods.toList$0(H.setRuntimeTypeInfo([], [S.Frame]))), [S.Frame]); | 15107 t1 = P.List_List$unmodifiable(H.setRuntimeTypeInfo([], [A.Frame]),
A.Frame); |
14756 return new R.Trace(t1); | 15108 return new Y.Trace(t1); |
14757 } | 15109 } |
14758 if (J.contains$1$asx(trace, $.$get$_v8Trace()) === true) { | 15110 if (J.contains$1$asx(trace, $.$get$_v8Trace()) === true) { |
14759 t1 = R.Trace$parseV8(trace); | 15111 t1 = Y.Trace$parseV8(trace); |
14760 return t1; | 15112 return t1; |
14761 } | 15113 } |
14762 if (J.contains$1$asx(trace, "\tat ") === true) { | 15114 if (J.contains$1$asx(trace, "\tat ") === true) { |
14763 t1 = R.Trace$parseJSCore(trace); | 15115 t1 = Y.Trace$parseJSCore(trace); |
14764 return t1; | 15116 return t1; |
14765 } | 15117 } |
14766 if (J.contains$1$asx(trace, $.$get$_firefoxSafariTrace()) === true)
{ | 15118 if (J.contains$1$asx(trace, $.$get$_firefoxSafariTrace()) === true)
{ |
14767 t1 = R.Trace$parseFirefox(trace); | 15119 t1 = Y.Trace$parseFirefox(trace); |
14768 return t1; | 15120 return t1; |
14769 } | 15121 } |
14770 if (J.contains$1$asx(trace, "===== asynchronous gap ================
===========\n") === true) { | 15122 if (J.contains$1$asx(trace, "===== asynchronous gap ================
===========\n") === true) { |
14771 t1 = O.Chain_Chain$parse(trace).toTrace$0(); | 15123 t1 = U.Chain_Chain$parse(trace).toTrace$0(); |
14772 return t1; | 15124 return t1; |
14773 } | 15125 } |
14774 if (J.contains$1$asx(trace, $.$get$_friendlyTrace()) === true) { | 15126 if (J.contains$1$asx(trace, $.$get$_friendlyTrace()) === true) { |
14775 t1 = R.Trace$parseFriendly(trace); | 15127 t1 = Y.Trace$parseFriendly(trace); |
14776 return t1; | 15128 return t1; |
14777 } | 15129 } |
14778 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(C.JSArray_metho
ds.toList$0(R.Trace__parseVM(trace))), [S.Frame]); | 15130 t1 = P.List_List$unmodifiable(Y.Trace__parseVM(trace), A.Frame); |
14779 return new R.Trace(t1); | 15131 return new Y.Trace(t1); |
14780 } catch (exception) { | 15132 } catch (exception) { |
14781 t1 = H.unwrapException(exception); | 15133 t1 = H.unwrapException(exception); |
14782 if (t1 instanceof P.FormatException) { | 15134 if (t1 instanceof P.FormatException) { |
14783 error = t1; | 15135 error = t1; |
14784 throw H.wrapException(new P.FormatException(H.S(J.get$message$x(er
ror)) + "\nStack trace:\n" + H.S(trace), null, null)); | 15136 throw H.wrapException(new P.FormatException(H.S(J.get$message$x(er
ror)) + "\nStack trace:\n" + H.S(trace), null, null)); |
14785 } else | 15137 } else |
14786 throw exception; | 15138 throw exception; |
14787 } | 15139 } |
14788 }, Trace__parseVM: function(trace) { | 15140 }, |
14789 var lines, $frames; | 15141 Trace__parseVM: function(trace) { |
| 15142 var lines, t1, $frames; |
14790 lines = J.trim$0$s(trace).split("\n"); | 15143 lines = J.trim$0$s(trace).split("\n"); |
14791 $frames = H.setRuntimeTypeInfo(new H.MappedListIterable(H.SubListItera
ble$(lines, 0, lines.length - 1, H.getTypeArgumentByIndex(lines, 0)), new R.Trac
e__parseVM_closure()), [null, null]).toList$0(0); | 15144 t1 = H.SubListIterable$(lines, 0, lines.length - 1, H.getTypeArgumentB
yIndex(lines, 0)); |
| 15145 $frames = H.setRuntimeTypeInfo(new H.MappedListIterable(t1, new Y.Trac
e__parseVM_closure()), [H.getRuntimeTypeArgument(t1, "ListIterable", 0), null]).
toList$0(0); |
14792 if (!J.endsWith$1$s(C.JSArray_methods.get$last(lines), ".da")) | 15146 if (!J.endsWith$1$s(C.JSArray_methods.get$last(lines), ".da")) |
14793 C.JSArray_methods.add$1($frames, S.Frame_Frame$parseVM(C.JSArray_met
hods.get$last(lines))); | 15147 C.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(C.JSArray_met
hods.get$last(lines))); |
14794 return $frames; | 15148 return $frames; |
14795 }, Trace$parseV8: function(trace) { | 15149 }, |
| 15150 Trace$parseV8: function(trace) { |
14796 var t1 = J.split$1$s(trace, "\n"); | 15151 var t1 = J.split$1$s(trace, "\n"); |
14797 t1 = H.SubListIterable$(t1, 1, null, H.getTypeArgumentByIndex(t1, 0)); | 15152 t1 = H.SubListIterable$(t1, 1, null, H.getTypeArgumentByIndex(t1, 0)); |
14798 t1 = t1.super$Iterable$skipWhile(t1, new R.Trace$parseV8_closure()); | 15153 t1 = t1.super$Iterable$skipWhile(t1, new Y.Trace$parseV8_closure()); |
14799 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.M
appedIterable_MappedIterable(t1, new R.Trace$parseV8_closure0(), H.getRuntimeTyp
eArgument(t1, "Iterable", 0), null).toList$0(0)), [S.Frame])); | 15154 return new Y.Trace(P.List_List$unmodifiable(H.MappedIterable_MappedIte
rable(t1, new Y.Trace$parseV8_closure0(), H.getRuntimeTypeArgument(t1, "Iterable
", 0), null), A.Frame)); |
14800 }, Trace$parseJSCore: function(trace) { | 15155 }, |
| 15156 Trace$parseJSCore: function(trace) { |
14801 var t1 = J.split$1$s(trace, "\n"); | 15157 var t1 = J.split$1$s(trace, "\n"); |
14802 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseJSC
ore_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 15158 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new Y.Trace$parseJSC
ore_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
14803 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.M
appedIterable_MappedIterable(t1, new R.Trace$parseJSCore_closure0(), H.getRuntim
eTypeArgument(t1, "Iterable", 0), null).toList$0(0)), [S.Frame])); | 15159 return new Y.Trace(P.List_List$unmodifiable(H.MappedIterable_MappedIte
rable(t1, new Y.Trace$parseJSCore_closure0(), H.getRuntimeTypeArgument(t1, "Iter
able", 0), null), A.Frame)); |
14804 }, Trace$parseFirefox: function(trace) { | 15160 }, |
| 15161 Trace$parseFirefox: function(trace) { |
14805 var t1 = J.trim$0$s(trace).split("\n"); | 15162 var t1 = J.trim$0$s(trace).split("\n"); |
14806 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFir
efox_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 15163 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new Y.Trace$parseFir
efox_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
14807 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.M
appedIterable_MappedIterable(t1, new R.Trace$parseFirefox_closure0(), H.getRunti
meTypeArgument(t1, "Iterable", 0), null).toList$0(0)), [S.Frame])); | 15164 return new Y.Trace(P.List_List$unmodifiable(H.MappedIterable_MappedIte
rable(t1, new Y.Trace$parseFirefox_closure0(), H.getRuntimeTypeArgument(t1, "Ite
rable", 0), null), A.Frame)); |
14808 }, Trace$parseFriendly: function(trace) { | 15165 }, |
| 15166 Trace$parseFriendly: function(trace) { |
14809 var t1 = J.getInterceptor$asx(trace); | 15167 var t1 = J.getInterceptor$asx(trace); |
14810 if (t1.get$isEmpty(trace) === true) | 15168 if (t1.get$isEmpty(trace) === true) |
14811 t1 = []; | 15169 t1 = []; |
14812 else { | 15170 else { |
14813 t1 = t1.trim$0(trace).split("\n"); | 15171 t1 = t1.trim$0(trace).split("\n"); |
14814 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseF
riendly_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 15172 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new Y.Trace$parseF
riendly_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
14815 t1 = H.MappedIterable_MappedIterable(t1, new R.Trace$parseFriendly_c
losure0(), H.getRuntimeTypeArgument(t1, "Iterable", 0), null); | 15173 t1 = H.MappedIterable_MappedIterable(t1, new Y.Trace$parseFriendly_c
losure0(), H.getRuntimeTypeArgument(t1, "Iterable", 0), null); |
14816 } | 15174 } |
14817 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(J.t
oList$0$ax(t1)), [S.Frame])); | 15175 return new Y.Trace(P.List_List$unmodifiable(t1, A.Frame)); |
14818 }} | 15176 } |
| 15177 } |
14819 }, | 15178 }, |
14820 closure: { | 15179 closure: { |
14821 "^": "Closure:1;trace", | 15180 "^": "Closure:1;trace", |
14822 call$0: function() { | 15181 call$0: function() { |
14823 return R.Trace_Trace$parse(J.toString$0$(this.trace)); | 15182 return Y.Trace_Trace$parse(J.toString$0$(this.trace)); |
14824 } | 15183 } |
14825 }, | 15184 }, |
14826 Trace__parseVM_closure: { | 15185 Trace__parseVM_closure: { |
14827 "^": "Closure:0;", | 15186 "^": "Closure:0;", |
14828 call$1: [function(line) { | 15187 call$1: [function(line) { |
14829 return S.Frame_Frame$parseVM(line); | 15188 return A.Frame_Frame$parseVM(line); |
14830 }, null, null, 2, 0, null, 10, "call"] | 15189 }, null, null, 2, 0, null, 10, "call"] |
14831 }, | 15190 }, |
14832 Trace$parseV8_closure: { | 15191 Trace$parseV8_closure: { |
14833 "^": "Closure:0;", | 15192 "^": "Closure:0;", |
14834 call$1: function(line) { | 15193 call$1: function(line) { |
14835 return !J.startsWith$1$s(line, $.$get$_v8TraceLine()); | 15194 return !J.startsWith$1$s(line, $.$get$_v8TraceLine()); |
14836 } | 15195 } |
14837 }, | 15196 }, |
14838 Trace$parseV8_closure0: { | 15197 Trace$parseV8_closure0: { |
14839 "^": "Closure:0;", | 15198 "^": "Closure:0;", |
14840 call$1: [function(line) { | 15199 call$1: [function(line) { |
14841 return S.Frame_Frame$parseV8(line); | 15200 return A.Frame_Frame$parseV8(line); |
14842 }, null, null, 2, 0, null, 10, "call"] | 15201 }, null, null, 2, 0, null, 10, "call"] |
14843 }, | 15202 }, |
14844 Trace$parseJSCore_closure: { | 15203 Trace$parseJSCore_closure: { |
14845 "^": "Closure:0;", | 15204 "^": "Closure:0;", |
14846 call$1: function(line) { | 15205 call$1: function(line) { |
14847 return !J.$eq$(line, "\tat "); | 15206 return !J.$eq$(line, "\tat "); |
14848 } | 15207 } |
14849 }, | 15208 }, |
14850 Trace$parseJSCore_closure0: { | 15209 Trace$parseJSCore_closure0: { |
14851 "^": "Closure:0;", | 15210 "^": "Closure:0;", |
14852 call$1: [function(line) { | 15211 call$1: [function(line) { |
14853 return S.Frame_Frame$parseV8(line); | 15212 return A.Frame_Frame$parseV8(line); |
14854 }, null, null, 2, 0, null, 10, "call"] | 15213 }, null, null, 2, 0, null, 10, "call"] |
14855 }, | 15214 }, |
14856 Trace$parseFirefox_closure: { | 15215 Trace$parseFirefox_closure: { |
14857 "^": "Closure:0;", | 15216 "^": "Closure:0;", |
14858 call$1: function(line) { | 15217 call$1: function(line) { |
14859 var t1 = J.getInterceptor$asx(line); | 15218 var t1 = J.getInterceptor$asx(line); |
14860 return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]"); | 15219 return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]"); |
14861 } | 15220 } |
14862 }, | 15221 }, |
14863 Trace$parseFirefox_closure0: { | 15222 Trace$parseFirefox_closure0: { |
14864 "^": "Closure:0;", | 15223 "^": "Closure:0;", |
14865 call$1: [function(line) { | 15224 call$1: [function(line) { |
14866 return S.Frame_Frame$parseFirefox(line); | 15225 return A.Frame_Frame$parseFirefox(line); |
14867 }, null, null, 2, 0, null, 10, "call"] | 15226 }, null, null, 2, 0, null, 10, "call"] |
14868 }, | 15227 }, |
14869 Trace$parseFriendly_closure: { | 15228 Trace$parseFriendly_closure: { |
14870 "^": "Closure:0;", | 15229 "^": "Closure:0;", |
14871 call$1: function(line) { | 15230 call$1: function(line) { |
14872 return !J.startsWith$1$s(line, "====="); | 15231 return !J.startsWith$1$s(line, "====="); |
14873 } | 15232 } |
14874 }, | 15233 }, |
14875 Trace$parseFriendly_closure0: { | 15234 Trace$parseFriendly_closure0: { |
14876 "^": "Closure:0;", | 15235 "^": "Closure:0;", |
14877 call$1: [function(line) { | 15236 call$1: [function(line) { |
14878 return S.Frame_Frame$parseFriendly(line); | 15237 return A.Frame_Frame$parseFriendly(line); |
14879 }, null, null, 2, 0, null, 10, "call"] | 15238 }, null, null, 2, 0, null, 10, "call"] |
14880 }, | 15239 }, |
14881 Trace_terse_closure: { | 15240 Trace_terse_closure: { |
14882 "^": "Closure:0;", | 15241 "^": "Closure:0;", |
14883 call$1: function(_) { | 15242 call$1: function(_) { |
14884 return false; | 15243 return false; |
14885 } | 15244 } |
14886 }, | 15245 }, |
14887 Trace_foldFrames_closure: { | 15246 Trace_foldFrames_closure: { |
14888 "^": "Closure:0;oldPredicate", | 15247 "^": "Closure:0;oldPredicate", |
(...skipping 11 matching lines...) Expand all Loading... |
14900 }, | 15259 }, |
14901 Trace_foldFrames_closure0: { | 15260 Trace_foldFrames_closure0: { |
14902 "^": "Closure:0;_box_0", | 15261 "^": "Closure:0;_box_0", |
14903 call$1: [function(frame) { | 15262 call$1: [function(frame) { |
14904 var t1, t2; | 15263 var t1, t2; |
14905 if (frame instanceof N.UnparsedFrame || this._box_0.predicate.call$1(fra
me) !== true) | 15264 if (frame instanceof N.UnparsedFrame || this._box_0.predicate.call$1(fra
me) !== true) |
14906 return frame; | 15265 return frame; |
14907 t1 = frame.get$library(); | 15266 t1 = frame.get$library(); |
14908 t2 = $.$get$_terseRegExp(); | 15267 t2 = $.$get$_terseRegExp(); |
14909 H.checkString(""); | 15268 H.checkString(""); |
14910 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""),
0, null), null, null, frame.get$member()); | 15269 return new A.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""),
0, null), null, null, frame.get$member()); |
14911 }, null, null, 2, 0, null, 12, "call"] | 15270 }, null, null, 2, 0, null, 11, "call"] |
14912 }, | 15271 }, |
14913 Trace_toString_closure0: { | 15272 Trace_toString_closure0: { |
14914 "^": "Closure:0;", | 15273 "^": "Closure:0;", |
14915 call$1: [function(frame) { | 15274 call$1: [function(frame) { |
14916 return J.get$length$asx(J.get$location$x(frame)); | 15275 return J.get$length$asx(J.get$location$x(frame)); |
14917 }, null, null, 2, 0, null, 12, "call"] | 15276 }, null, null, 2, 0, null, 11, "call"] |
14918 }, | 15277 }, |
14919 Trace_toString_closure: { | 15278 Trace_toString_closure: { |
14920 "^": "Closure:0;longest", | 15279 "^": "Closure:0;longest", |
14921 call$1: [function(frame) { | 15280 call$1: [function(frame) { |
14922 var t1 = J.getInterceptor(frame); | 15281 var t1 = J.getInterceptor(frame); |
14923 if (!!t1.$isUnparsedFrame) | 15282 if (!!t1.$isUnparsedFrame) |
14924 return H.S(frame) + "\n"; | 15283 return H.S(frame) + "\n"; |
14925 return H.S(N.padRight(t1.get$location(frame), this.longest)) + " " + H.
S(frame.get$member()) + "\n"; | 15284 return H.S(B.padRight(t1.get$location(frame), this.longest)) + " " + H.
S(frame.get$member()) + "\n"; |
14926 }, null, null, 2, 0, null, 12, "call"] | 15285 }, null, null, 2, 0, null, 11, "call"] |
| 15286 } |
| 15287 }], ["", "package:stack_trace/src/unparsed_frame.dart",, N, { |
| 15288 "^": "", |
| 15289 UnparsedFrame: { |
| 15290 "^": "Object;uri<,line<,column<,isCore<,library<,$package<,location>,membe
r<", |
| 15291 toString$0: function(_) { |
| 15292 return this.member; |
| 15293 } |
| 15294 } |
| 15295 }], ["", "package:stack_trace/src/utils.dart",, B, { |
| 15296 "^": "", |
| 15297 padRight: function(string, $length) { |
| 15298 var t1, t2, result, i; |
| 15299 t1 = J.getInterceptor$asx(string); |
| 15300 t2 = t1.get$length(string); |
| 15301 if (typeof $length !== "number") |
| 15302 return H.iae($length); |
| 15303 if (t2 >= $length) |
| 15304 return string; |
| 15305 result = new P.StringBuffer(""); |
| 15306 result._contents = H.S(string); |
| 15307 for (i = 0; i < $length - t1.get$length(string); ++i) |
| 15308 result._contents += " "; |
| 15309 t1 = result._contents; |
| 15310 return t1.charCodeAt(0) == 0 ? t1 : t1; |
14927 } | 15311 } |
14928 }]]; | 15312 }]]; |
14929 setupProgram(dart, 0); | 15313 setupProgram(dart, 0); |
14930 // getInterceptor methods | 15314 // getInterceptor methods |
14931 J.getInterceptor = function(receiver) { | 15315 J.getInterceptor = function(receiver) { |
14932 if (typeof receiver == "number") { | 15316 if (typeof receiver == "number") { |
14933 if (Math.floor(receiver) == receiver) | 15317 if (Math.floor(receiver) == receiver) |
14934 return J.JSInt.prototype; | 15318 return J.JSInt.prototype; |
14935 return J.JSDouble.prototype; | 15319 return J.JSDouble.prototype; |
14936 } | 15320 } |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15084 if (typeof receiver == "number" && typeof a0 == "number") | 15468 if (typeof receiver == "number" && typeof a0 == "number") |
15085 return receiver >= a0; | 15469 return receiver >= a0; |
15086 return J.getInterceptor$n(receiver).$ge(receiver, a0); | 15470 return J.getInterceptor$n(receiver).$ge(receiver, a0); |
15087 }; | 15471 }; |
15088 J.$gt$n = function(receiver, a0) { | 15472 J.$gt$n = function(receiver, a0) { |
15089 if (typeof receiver == "number" && typeof a0 == "number") | 15473 if (typeof receiver == "number" && typeof a0 == "number") |
15090 return receiver > a0; | 15474 return receiver > a0; |
15091 return J.getInterceptor$n(receiver).$gt(receiver, a0); | 15475 return J.getInterceptor$n(receiver).$gt(receiver, a0); |
15092 }; | 15476 }; |
15093 J.$index$asx = function(receiver, a0) { | 15477 J.$index$asx = function(receiver, a0) { |
15094 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIn
dexable(receiver, receiver[init.dispatchPropertyName])) | 15478 if (typeof a0 === "number") |
15095 if (a0 >>> 0 === a0 && a0 < receiver.length) | 15479 if (receiver.constructor == Array || typeof receiver == "string" || H.isJs
Indexable(receiver, receiver[init.dispatchPropertyName])) |
15096 return receiver[a0]; | 15480 if (a0 >>> 0 === a0 && a0 < receiver.length) |
| 15481 return receiver[a0]; |
15097 return J.getInterceptor$asx(receiver).$index(receiver, a0); | 15482 return J.getInterceptor$asx(receiver).$index(receiver, a0); |
15098 }; | 15483 }; |
15099 J.$indexSet$ax = function(receiver, a0, a1) { | 15484 J.$indexSet$ax = function(receiver, a0, a1) { |
15100 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[ini
t.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 <
receiver.length) | 15485 if (typeof a0 === "number") |
15101 return receiver[a0] = a1; | 15486 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[i
nit.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0
< receiver.length) |
| 15487 return receiver[a0] = a1; |
15102 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); | 15488 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); |
15103 }; | 15489 }; |
| 15490 J.$le$n = function(receiver, a0) { |
| 15491 if (typeof receiver == "number" && typeof a0 == "number") |
| 15492 return receiver <= a0; |
| 15493 return J.getInterceptor$n(receiver).$le(receiver, a0); |
| 15494 }; |
15104 J.$lt$n = function(receiver, a0) { | 15495 J.$lt$n = function(receiver, a0) { |
15105 if (typeof receiver == "number" && typeof a0 == "number") | 15496 if (typeof receiver == "number" && typeof a0 == "number") |
15106 return receiver < a0; | 15497 return receiver < a0; |
15107 return J.getInterceptor$n(receiver).$lt(receiver, a0); | 15498 return J.getInterceptor$n(receiver).$lt(receiver, a0); |
15108 }; | 15499 }; |
15109 J.$mul$ns = function(receiver, a0) { | 15500 J.$mul$ns = function(receiver, a0) { |
15110 if (typeof receiver == "number" && typeof a0 == "number") | 15501 if (typeof receiver == "number" && typeof a0 == "number") |
15111 return receiver * a0; | 15502 return receiver * a0; |
15112 return J.getInterceptor$ns(receiver).$mul(receiver, a0); | 15503 return J.getInterceptor$ns(receiver).$mul(receiver, a0); |
15113 }; | 15504 }; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15183 }; | 15574 }; |
15184 J.startsWith$1$s = function(receiver, a0) { | 15575 J.startsWith$1$s = function(receiver, a0) { |
15185 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); | 15576 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); |
15186 }; | 15577 }; |
15187 J.substring$1$s = function(receiver, a0) { | 15578 J.substring$1$s = function(receiver, a0) { |
15188 return J.getInterceptor$s(receiver).substring$1(receiver, a0); | 15579 return J.getInterceptor$s(receiver).substring$1(receiver, a0); |
15189 }; | 15580 }; |
15190 J.substring$2$s = function(receiver, a0, a1) { | 15581 J.substring$2$s = function(receiver, a0, a1) { |
15191 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); | 15582 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); |
15192 }; | 15583 }; |
15193 J.toList$0$ax = function(receiver) { | |
15194 return J.getInterceptor$ax(receiver).toList$0(receiver); | |
15195 }; | |
15196 J.toLowerCase$0$s = function(receiver) { | 15584 J.toLowerCase$0$s = function(receiver) { |
15197 return J.getInterceptor$s(receiver).toLowerCase$0(receiver); | 15585 return J.getInterceptor$s(receiver).toLowerCase$0(receiver); |
15198 }; | 15586 }; |
15199 J.toRadixString$1$n = function(receiver, a0) { | 15587 J.toRadixString$1$n = function(receiver, a0) { |
15200 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); | 15588 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); |
15201 }; | 15589 }; |
15202 J.trim$0$s = function(receiver) { | 15590 J.trim$0$s = function(receiver) { |
15203 return J.getInterceptor$s(receiver).trim$0(receiver); | 15591 return J.getInterceptor$s(receiver).trim$0(receiver); |
15204 }; | 15592 }; |
15205 J.get$hashCode$ = function(receiver) { | 15593 J.get$hashCode$ = function(receiver) { |
(...skipping 23 matching lines...) Expand all Loading... |
15229 C.JSInt_methods = J.JSInt.prototype; | 15617 C.JSInt_methods = J.JSInt.prototype; |
15230 C.JSNull_methods = J.JSNull.prototype; | 15618 C.JSNull_methods = J.JSNull.prototype; |
15231 C.JSNumber_methods = J.JSNumber.prototype; | 15619 C.JSNumber_methods = J.JSNumber.prototype; |
15232 C.JSString_methods = J.JSString.prototype; | 15620 C.JSString_methods = J.JSString.prototype; |
15233 C.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; | 15621 C.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; |
15234 C.Location_methods = W.Location.prototype; | 15622 C.Location_methods = W.Location.prototype; |
15235 C.NativeUint8List_methods = H.NativeUint8List.prototype; | 15623 C.NativeUint8List_methods = H.NativeUint8List.prototype; |
15236 C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; | 15624 C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; |
15237 C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; | 15625 C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; |
15238 C.C_DynamicRuntimeType = new H.DynamicRuntimeType(); | 15626 C.C_DynamicRuntimeType = new H.DynamicRuntimeType(); |
| 15627 C.C_EmptyIterator = new H.EmptyIterator(); |
15239 C.C_OutOfMemoryError = new P.OutOfMemoryError(); | 15628 C.C_OutOfMemoryError = new P.OutOfMemoryError(); |
15240 C.C_Utf8Encoder = new P.Utf8Encoder(); | 15629 C.C_Utf8Encoder = new P.Utf8Encoder(); |
15241 C.C__DelayedDone = new P._DelayedDone(); | 15630 C.C__DelayedDone = new P._DelayedDone(); |
15242 C.C__RootZone = new P._RootZone(); | 15631 C.C__RootZone = new P._RootZone(); |
15243 C.Duration_0 = new P.Duration(0); | 15632 C.Duration_0 = new P.Duration(0); |
| 15633 C.EventStreamProvider_click = H.setRuntimeTypeInfo(new W.EventStreamProvider("
click"), [W.MouseEvent]); |
| 15634 C.EventStreamProvider_message = H.setRuntimeTypeInfo(new W.EventStreamProvider
("message"), [W.MessageEvent]); |
15244 C.JS_CONST_0 = function(hooks) { | 15635 C.JS_CONST_0 = function(hooks) { |
15245 if (typeof dartExperimentalFixupGetTag != "function") return hooks; | 15636 if (typeof dartExperimentalFixupGetTag != "function") return hooks; |
15246 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); | 15637 hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); |
15247 }; | 15638 }; |
15248 C.JS_CONST_4hp = function(hooks) { | 15639 C.JS_CONST_4hp = function(hooks) { |
15249 var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; | 15640 var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; |
15250 if (userAgent.indexOf("Firefox") == -1) return hooks; | 15641 if (userAgent.indexOf("Firefox") == -1) return hooks; |
15251 var getTag = hooks.getTag; | 15642 var getTag = hooks.getTag; |
15252 var quickMap = { | 15643 var quickMap = { |
15253 "BeforeUnloadEvent": "Event", | 15644 "BeforeUnloadEvent": "Event", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15285 if (ua.indexOf("DumpRenderTree") >= 0) return hooks; | 15676 if (ua.indexOf("DumpRenderTree") >= 0) return hooks; |
15286 if (ua.indexOf("Chrome") >= 0) { | 15677 if (ua.indexOf("Chrome") >= 0) { |
15287 function confirm(p) { | 15678 function confirm(p) { |
15288 return typeof window == "object" && window[p] && window[p].name == p; | 15679 return typeof window == "object" && window[p] && window[p].name == p; |
15289 } | 15680 } |
15290 if (confirm("Window") && confirm("HTMLElement")) return hooks; | 15681 if (confirm("Window") && confirm("HTMLElement")) return hooks; |
15291 } | 15682 } |
15292 hooks.getTag = getTagFallback; | 15683 hooks.getTag = getTagFallback; |
15293 }; | 15684 }; |
15294 }; | 15685 }; |
| 15686 C.JS_CONST_gkc0 = function(hooks) { |
| 15687 var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; |
| 15688 if (userAgent.indexOf("Trident/") == -1) return hooks; |
| 15689 var getTag = hooks.getTag; |
| 15690 var quickMap = { |
| 15691 "BeforeUnloadEvent": "Event", |
| 15692 "DataTransfer": "Clipboard", |
| 15693 "HTMLDDElement": "HTMLElement", |
| 15694 "HTMLDTElement": "HTMLElement", |
| 15695 "HTMLPhraseElement": "HTMLElement", |
| 15696 "Position": "Geoposition" |
| 15697 }; |
| 15698 function getTagIE(o) { |
| 15699 var tag = getTag(o); |
| 15700 var newTag = quickMap[tag]; |
| 15701 if (newTag) return newTag; |
| 15702 if (tag == "Object") { |
| 15703 if (window.DataView && (o instanceof window.DataView)) return "DataView"; |
| 15704 } |
| 15705 return tag; |
| 15706 } |
| 15707 function prototypeForTagIE(tag) { |
| 15708 var constructor = window[tag]; |
| 15709 if (constructor == null) return null; |
| 15710 return constructor.prototype; |
| 15711 } |
| 15712 hooks.getTag = getTagIE; |
| 15713 hooks.prototypeForTag = prototypeForTagIE; |
| 15714 }; |
15295 C.JS_CONST_gkc = function() { | 15715 C.JS_CONST_gkc = function() { |
15296 function typeNameInChrome(o) { | 15716 function typeNameInChrome(o) { |
15297 var constructor = o.constructor; | 15717 var constructor = o.constructor; |
15298 if (constructor) { | 15718 if (constructor) { |
15299 var name = constructor.name; | 15719 var name = constructor.name; |
15300 if (name) return name; | 15720 if (name) return name; |
15301 } | 15721 } |
15302 var s = Object.prototype.toString.call(o); | 15722 var s = Object.prototype.toString.call(o); |
15303 return s.substring(8, s.length - 1); | 15723 return s.substring(8, s.length - 1); |
15304 } | 15724 } |
(...skipping 16 matching lines...) Expand all Loading... |
15321 return constructor.prototype; | 15741 return constructor.prototype; |
15322 } | 15742 } |
15323 function discriminator(tag) { return null; } | 15743 function discriminator(tag) { return null; } |
15324 var isBrowser = typeof navigator == "object"; | 15744 var isBrowser = typeof navigator == "object"; |
15325 return { | 15745 return { |
15326 getTag: typeNameInChrome, | 15746 getTag: typeNameInChrome, |
15327 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, | 15747 getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, |
15328 prototypeForTag: prototypeForTag, | 15748 prototypeForTag: prototypeForTag, |
15329 discriminator: discriminator }; | 15749 discriminator: discriminator }; |
15330 }; | 15750 }; |
15331 C.JS_CONST_gkc0 = function(hooks) { | |
15332 var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; | |
15333 if (userAgent.indexOf("Trident/") == -1) return hooks; | |
15334 var getTag = hooks.getTag; | |
15335 var quickMap = { | |
15336 "BeforeUnloadEvent": "Event", | |
15337 "DataTransfer": "Clipboard", | |
15338 "HTMLDDElement": "HTMLElement", | |
15339 "HTMLDTElement": "HTMLElement", | |
15340 "HTMLPhraseElement": "HTMLElement", | |
15341 "Position": "Geoposition" | |
15342 }; | |
15343 function getTagIE(o) { | |
15344 var tag = getTag(o); | |
15345 var newTag = quickMap[tag]; | |
15346 if (newTag) return newTag; | |
15347 if (tag == "Object") { | |
15348 if (window.DataView && (o instanceof window.DataView)) return "DataView"; | |
15349 } | |
15350 return tag; | |
15351 } | |
15352 function prototypeForTagIE(tag) { | |
15353 var constructor = window[tag]; | |
15354 if (constructor == null) return null; | |
15355 return constructor.prototype; | |
15356 } | |
15357 hooks.getTag = getTagIE; | |
15358 hooks.prototypeForTag = prototypeForTagIE; | |
15359 }; | |
15360 C.JS_CONST_rr7 = function(hooks) { | 15751 C.JS_CONST_rr7 = function(hooks) { |
15361 var getTag = hooks.getTag; | 15752 var getTag = hooks.getTag; |
15362 var prototypeForTag = hooks.prototypeForTag; | 15753 var prototypeForTag = hooks.prototypeForTag; |
15363 function getTagFixed(o) { | 15754 function getTagFixed(o) { |
15364 var tag = getTag(o); | 15755 var tag = getTag(o); |
15365 if (tag == "Document") { | 15756 if (tag == "Document") { |
15366 if (!!o.xmlVersion) return "!Document"; | 15757 if (!!o.xmlVersion) return "!Document"; |
15367 return "!HTMLDocument"; | 15758 return "!HTMLDocument"; |
15368 } | 15759 } |
15369 return tag; | 15760 return tag; |
15370 } | 15761 } |
15371 function prototypeForTagFixed(tag) { | 15762 function prototypeForTagFixed(tag) { |
15372 if (tag == "Document") return null; | 15763 if (tag == "Document") return null; |
15373 return prototypeForTag(tag); | 15764 return prototypeForTag(tag); |
15374 } | 15765 } |
15375 hooks.getTag = getTagFixed; | 15766 hooks.getTag = getTagFixed; |
15376 hooks.prototypeForTag = prototypeForTagFixed; | 15767 hooks.prototypeForTag = prototypeForTagFixed; |
15377 }; | 15768 }; |
15378 C.JsonCodec_null_null = new P.JsonCodec(null, null); | 15769 C.JsonCodec_null_null = new P.JsonCodec(null, null); |
15379 C.JsonDecoder_null = new P.JsonDecoder(null); | 15770 C.JsonDecoder_null = new P.JsonDecoder(null); |
15380 C.JsonEncoder_null_null = new P.JsonEncoder(null, null); | 15771 C.JsonEncoder_null_null = new P.JsonEncoder(null, null); |
15381 C.List_127_2047_65535_1114111 = H.setRuntimeTypeInfo(Isolate.makeConstantList(
[127, 2047, 65535, 1114111]), [P.$int]); | 15772 C.List_127_2047_65535_1114111 = H.setRuntimeTypeInfo(Isolate.makeConstantList(
[127, 2047, 65535, 1114111]), [P.$int]); |
15382 C.List_2Vk = Isolate.makeConstantList([0, 0, 32776, 33792, 1, 10240, 0, 0]); | 15773 C.List_2Vk = Isolate.makeConstantList([0, 0, 32776, 33792, 1, 10240, 0, 0]); |
15383 C.List_CVk = Isolate.makeConstantList([0, 0, 65490, 45055, 65535, 34815, 65534
, 18431]); | 15774 C.List_CVk = Isolate.makeConstantList([0, 0, 65490, 45055, 65535, 34815, 65534
, 18431]); |
15384 C.List_JYB = Isolate.makeConstantList([0, 0, 26624, 1023, 65534, 2047, 65534,
2047]); | 15775 C.List_JYB = Isolate.makeConstantList([0, 0, 26624, 1023, 65534, 2047, 65534,
2047]); |
15385 C.List_WnV = Isolate.makeConstantList(["/", "\\"]); | 15776 C.List_WnV = Isolate.makeConstantList(["/", "\\"]); |
15386 C.List_cSk = Isolate.makeConstantList(["/"]); | 15777 C.List_cSk = Isolate.makeConstantList(["/"]); |
| 15778 C.List_empty = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.String]); |
15387 C.List_empty0 = Isolate.makeConstantList([]); | 15779 C.List_empty0 = Isolate.makeConstantList([]); |
15388 C.List_empty = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.String]); | |
15389 C.List_gRj = Isolate.makeConstantList([0, 0, 32722, 12287, 65534, 34815, 65534
, 18431]); | 15780 C.List_gRj = Isolate.makeConstantList([0, 0, 32722, 12287, 65534, 34815, 65534
, 18431]); |
15390 C.List_nxB = Isolate.makeConstantList([0, 0, 24576, 1023, 65534, 34815, 65534,
18431]); | 15781 C.List_nxB = Isolate.makeConstantList([0, 0, 24576, 1023, 65534, 34815, 65534,
18431]); |
15391 C.List_qNA = Isolate.makeConstantList([0, 0, 32754, 11263, 65534, 34815, 65534
, 18431]); | 15782 C.List_qNA = Isolate.makeConstantList([0, 0, 32754, 11263, 65534, 34815, 65534
, 18431]); |
15392 C.List_qg40 = Isolate.makeConstantList([0, 0, 32722, 12287, 65535, 34815, 6553
4, 18431]); | 15783 C.List_qg40 = Isolate.makeConstantList([0, 0, 32722, 12287, 65535, 34815, 6553
4, 18431]); |
15393 C.List_qg4 = Isolate.makeConstantList([0, 0, 65490, 12287, 65535, 34815, 65534
, 18431]); | 15784 C.List_qg4 = Isolate.makeConstantList([0, 0, 65490, 12287, 65535, 34815, 65534
, 18431]); |
15394 C.List_empty1 = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.Symbol])
; | 15785 C.List_empty1 = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.Symbol])
; |
15395 C.Map_empty = H.setRuntimeTypeInfo(new H.ConstantStringMap(0, {}, C.List_empty
1), [P.Symbol, null]); | 15786 C.Map_empty = H.setRuntimeTypeInfo(new H.ConstantStringMap(0, {}, C.List_empty
1), [P.Symbol, null]); |
15396 C.Symbol_call = new H.Symbol0("call"); | 15787 C.Symbol_call = new H.Symbol0("call"); |
15397 C.Utf8Codec_false = new P.Utf8Codec(false); | 15788 C.Utf8Codec_false = new P.Utf8Codec(false); |
15398 C._ZoneFunction_3bB = new P._ZoneFunction(C.C__RootZone, P.async___rootCreateP
eriodicTimer$closure()); | 15789 C._ZoneFunction_3bB = new P._ZoneFunction(C.C__RootZone, P.async___rootCreateP
eriodicTimer$closure()); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15442 $dart_deferred_initializers$[hunkHash]($globals$, $); | 15833 $dart_deferred_initializers$[hunkHash]($globals$, $); |
15443 init.deferredInitialized[hunkHash] = true; | 15834 init.deferredInitialized[hunkHash] = true; |
15444 }; | 15835 }; |
15445 init.deferredLibraryUris = {}; | 15836 init.deferredLibraryUris = {}; |
15446 init.deferredLibraryHashes = {}; | 15837 init.deferredLibraryHashes = {}; |
15447 // Empty type-to-interceptor map. | 15838 // Empty type-to-interceptor map. |
15448 (function(lazies) { | 15839 (function(lazies) { |
15449 for (var i = 0; i < lazies.length;) { | 15840 for (var i = 0; i < lazies.length;) { |
15450 var fieldName = lazies[i++]; | 15841 var fieldName = lazies[i++]; |
15451 var getterName = lazies[i++]; | 15842 var getterName = lazies[i++]; |
| 15843 var lazyValue = lazies[i++]; |
15452 var staticName = lazies[i++]; | 15844 var staticName = lazies[i++]; |
15453 var lazyValue = lazies[i++]; | |
15454 Isolate.$lazy(fieldName, getterName, lazyValue, staticName); | 15845 Isolate.$lazy(fieldName, getterName, lazyValue, staticName); |
15455 } | 15846 } |
15456 })(["DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", "DART_CLO
SURE_PROPERTY_NAME", function() { | 15847 })(["DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", function(
) { |
15457 return H.getIsolateAffinityTag("_$dart_dartClosure"); | 15848 return H.getIsolateAffinityTag("_$dart_dartClosure"); |
15458 }, "IsolateNatives_thisScript", "$get$IsolateNatives_thisScript", "thisScript"
, function() { | 15849 }, "DART_CLOSURE_PROPERTY_NAME", "IsolateNatives_thisScript", "$get$IsolateNat
ives_thisScript", function() { |
15459 return H.IsolateNatives_computeThisScript(); | 15850 return H.IsolateNatives_computeThisScript(); |
15460 }, "IsolateNatives_workerIds", "$get$IsolateNatives_workerIds", "workerIds", f
unction() { | 15851 }, "IsolateNatives_thisScript", "IsolateNatives_workerIds", "$get$IsolateNativ
es_workerIds", function() { |
15461 return new P.Expando(null); | 15852 if (typeof WeakMap == "function") |
15462 }, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethod
Pattern", "noSuchMethodPattern", function() { | 15853 var t1 = new WeakMap(); |
15463 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On({toString: function() { | 15854 else { |
| 15855 t1 = $.Expando__keyCount; |
| 15856 $.Expando__keyCount = t1 + 1; |
| 15857 t1 = "expando$key$" + t1; |
| 15858 } |
| 15859 return new P.Expando(null, t1); |
| 15860 }, "IsolateNatives_workerIds", "TypeErrorDecoder_noSuchMethodPattern", "$get$T
ypeErrorDecoder_noSuchMethodPattern", function() { |
| 15861 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On({ |
| 15862 toString: function() { |
15464 return "$receiver$"; | 15863 return "$receiver$"; |
15465 }})); | 15864 } |
15466 }, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePatt
ern", "notClosurePattern", function() { | 15865 })); |
15467 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On({$method$: null, toString: function() { | 15866 }, "TypeErrorDecoder_noSuchMethodPattern", "TypeErrorDecoder_notClosurePattern
", "$get$TypeErrorDecoder_notClosurePattern", function() { |
| 15867 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On({$method$: null, |
| 15868 toString: function() { |
15468 return "$receiver$"; | 15869 return "$receiver$"; |
15469 }})); | 15870 } |
15470 }, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern"
, "nullCallPattern", function() { | 15871 })); |
| 15872 }, "TypeErrorDecoder_notClosurePattern", "TypeErrorDecoder_nullCallPattern", "
$get$TypeErrorDecoder_nullCallPattern", function() { |
15471 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On(null)); | 15873 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On(null)); |
15472 }, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiter
alCallPattern", "nullLiteralCallPattern", function() { | 15874 }, "TypeErrorDecoder_nullCallPattern", "TypeErrorDecoder_nullLiteralCallPatter
n", "$get$TypeErrorDecoder_nullLiteralCallPattern", function() { |
15473 return H.TypeErrorDecoder_extractPattern(function() { | 15875 return H.TypeErrorDecoder_extractPattern(function() { |
15474 var $argumentsExpr$ = '$arguments$'; | 15876 var $argumentsExpr$ = '$arguments$'; |
15475 try { | 15877 try { |
15476 null.$method$($argumentsExpr$); | 15878 null.$method$($argumentsExpr$); |
15477 } catch (e) { | 15879 } catch (e) { |
15478 return e.message; | 15880 return e.message; |
15479 } | 15881 } |
15480 }()); | 15882 }()); |
15481 }, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCa
llPattern", "undefinedCallPattern", function() { | 15883 }, "TypeErrorDecoder_nullLiteralCallPattern", "TypeErrorDecoder_undefinedCallP
attern", "$get$TypeErrorDecoder_undefinedCallPattern", function() { |
15482 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On(void 0)); | 15884 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallError
On(void 0)); |
15483 }, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_unde
finedLiteralCallPattern", "undefinedLiteralCallPattern", function() { | 15885 }, "TypeErrorDecoder_undefinedCallPattern", "TypeErrorDecoder_undefinedLiteral
CallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", function() { |
15484 return H.TypeErrorDecoder_extractPattern(function() { | 15886 return H.TypeErrorDecoder_extractPattern(function() { |
15485 var $argumentsExpr$ = '$arguments$'; | 15887 var $argumentsExpr$ = '$arguments$'; |
15486 try { | 15888 try { |
15487 (void 0).$method$($argumentsExpr$); | 15889 (void 0).$method$($argumentsExpr$); |
15488 } catch (e) { | 15890 } catch (e) { |
15489 return e.message; | 15891 return e.message; |
15490 } | 15892 } |
15491 }()); | 15893 }()); |
15492 }, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullProperty
Pattern", "nullPropertyPattern", function() { | 15894 }, "TypeErrorDecoder_undefinedLiteralCallPattern", "TypeErrorDecoder_nullPrope
rtyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", function() { |
15493 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyE
rrorOn(null)); | 15895 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyE
rrorOn(null)); |
15494 }, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullL
iteralPropertyPattern", "nullLiteralPropertyPattern", function() { | 15896 }, "TypeErrorDecoder_nullPropertyPattern", "TypeErrorDecoder_nullLiteralProper
tyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", function() { |
15495 return H.TypeErrorDecoder_extractPattern(function() { | 15897 return H.TypeErrorDecoder_extractPattern(function() { |
15496 try { | 15898 try { |
15497 null.$method$; | 15899 null.$method$; |
15498 } catch (e) { | 15900 } catch (e) { |
15499 return e.message; | 15901 return e.message; |
15500 } | 15902 } |
15501 }()); | 15903 }()); |
15502 }, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefin
edPropertyPattern", "undefinedPropertyPattern", function() { | 15904 }, "TypeErrorDecoder_nullLiteralPropertyPattern", "TypeErrorDecoder_undefinedP
ropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", function() { |
15503 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyE
rrorOn(void 0)); | 15905 return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyE
rrorOn(void 0)); |
15504 }, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_
undefinedLiteralPropertyPattern", "undefinedLiteralPropertyPattern", function()
{ | 15906 }, "TypeErrorDecoder_undefinedPropertyPattern", "TypeErrorDecoder_undefinedLit
eralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", f
unction() { |
15505 return H.TypeErrorDecoder_extractPattern(function() { | 15907 return H.TypeErrorDecoder_extractPattern(function() { |
15506 try { | 15908 try { |
15507 (void 0).$method$; | 15909 (void 0).$method$; |
15508 } catch (e) { | 15910 } catch (e) { |
15509 return e.message; | 15911 return e.message; |
15510 } | 15912 } |
15511 }()); | 15913 }()); |
15512 }, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateCl
osure", "_scheduleImmediateClosure", function() { | 15914 }, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "_AsyncRun__scheduleImm
ediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", function() { |
15513 return P._AsyncRun__initializeScheduleImmediate(); | 15915 return P._AsyncRun__initializeScheduleImmediate(); |
15514 }, "Future__nullFuture", "$get$Future__nullFuture", "_nullFuture", function()
{ | 15916 }, "_AsyncRun__scheduleImmediateClosure", "Future__nullFuture", "$get$Future__
nullFuture", function() { |
15515 return P.Future_Future$value(null, null); | 15917 return P.Future_Future$value(null, null); |
15516 }, "_RootZone__rootMap", "$get$_RootZone__rootMap", "_rootMap", function() { | 15918 }, "Future__nullFuture", "_RootZone__rootMap", "$get$_RootZone__rootMap", func
tion() { |
15517 return P.HashMap_HashMap(null, null, null, null, null); | 15919 return P.HashMap_HashMap(null, null, null, null, null); |
15518 }, "_toStringVisiting", "$get$_toStringVisiting", "_toStringVisiting", functio
n() { | 15920 }, "_RootZone__rootMap", "_toStringVisiting", "$get$_toStringVisiting", functi
on() { |
15519 return []; | 15921 return []; |
15520 }, "Uri__needsNoEncoding", "$get$Uri__needsNoEncoding", "_needsNoEncoding", fu
nction() { | 15922 }, "_toStringVisiting", "Uri__needsNoEncoding", "$get$Uri__needsNoEncoding", f
unction() { |
15521 return P.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", true, false); | 15923 return P.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", true, false); |
15522 }, "context", "$get$context", "context", function() { | 15924 }, "Uri__needsNoEncoding", "context", "$get$context", function() { |
15523 return P._wrapToDart(self); | 15925 return P._wrapToDart(self); |
15524 }, "_DART_OBJECT_PROPERTY_NAME", "$get$_DART_OBJECT_PROPERTY_NAME", "_DART_OBJ
ECT_PROPERTY_NAME", function() { | 15926 }, "context", "_DART_OBJECT_PROPERTY_NAME", "$get$_DART_OBJECT_PROPERTY_NAME",
function() { |
15525 return H.getIsolateAffinityTag("_$dart_dartObject"); | 15927 return H.getIsolateAffinityTag("_$dart_dartObject"); |
15526 }, "_dartProxyCtor", "$get$_dartProxyCtor", "_dartProxyCtor", function() { | 15928 }, "_DART_OBJECT_PROPERTY_NAME", "_dartProxyCtor", "$get$_dartProxyCtor", func
tion() { |
15527 return function DartObject(o) { | 15929 return function DartObject(o) { |
15528 this.o = o; | 15930 this.o = o; |
15529 }; | 15931 }; |
15530 }, "_vmFrame", "$get$_vmFrame", "_vmFrame", function() { | 15932 }, "_dartProxyCtor", "_vmFrame", "$get$_vmFrame", function() { |
15531 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", tru
e, false); | 15933 return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", tru
e, false); |
15532 }, "_v8Frame", "$get$_v8Frame", "_v8Frame", function() { | 15934 }, "_vmFrame", "_v8Frame", "$get$_v8Frame", function() { |
15533 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)
|(.*))$", true, false); | 15935 return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)
|(.*))$", true, false); |
15534 }, "_v8UrlLocation", "$get$_v8UrlLocation", "_v8UrlLocation", function() { | 15936 }, "_v8Frame", "_v8UrlLocation", "$get$_v8UrlLocation", function() { |
15535 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)|native$", true, false); | 15937 return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)|native$", true, false); |
15536 }, "_v8EvalLocation", "$get$_v8EvalLocation", "_v8EvalLocation", function() { | 15938 }, "_v8UrlLocation", "_v8EvalLocation", "$get$_v8EvalLocation", function() { |
15537 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$"
, true, false); | 15939 return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$"
, true, false); |
15538 }, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", "_firefoxSafariFrame", f
unction() { | 15940 }, "_v8EvalLocation", "_firefoxSafariFrame", "$get$_firefoxSafariFrame", funct
ion() { |
15539 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?
@)?(.*?):(\\d*)(?::(\\d*))?$", true, false); | 15941 return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?
@)?(.*?):(\\d*)(?::(\\d*))?$", true, false); |
15540 }, "_friendlyFrame", "$get$_friendlyFrame", "_friendlyFrame", function() { | 15942 }, "_firefoxSafariFrame", "_friendlyFrame", "$get$_friendlyFrame", function()
{ |
15541 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", t
rue, false); | 15943 return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", t
rue, false); |
15542 }, "_asyncBody", "$get$_asyncBody", "_asyncBody", function() { | 15944 }, "_friendlyFrame", "_asyncBody", "$get$_asyncBody", function() { |
15543 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, fal
se); | 15945 return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, fal
se); |
15544 }, "_initialDot", "$get$_initialDot", "_initialDot", function() { | 15946 }, "_asyncBody", "_initialDot", "$get$_initialDot", function() { |
15545 return P.RegExp_RegExp("^\\.", true, false); | 15947 return P.RegExp_RegExp("^\\.", true, false); |
15546 }, "Frame__uriRegExp", "$get$Frame__uriRegExp", "_uriRegExp", function() { | 15948 }, "_initialDot", "Frame__uriRegExp", "$get$Frame__uriRegExp", function() { |
15547 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); | 15949 return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false); |
15548 }, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", "_windowsRegExp", func
tion() { | 15950 }, "Frame__uriRegExp", "Frame__windowsRegExp", "$get$Frame__windowsRegExp", fu
nction() { |
15549 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); | 15951 return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false); |
15550 }, "_iframes", "$get$_iframes", "_iframes", function() { | 15952 }, "Frame__windowsRegExp", "_iframes", "$get$_iframes", function() { |
15551 return H.JsLinkedHashMap_JsLinkedHashMap$es6(P.$int, W.IFrameElement); | 15953 return H.JsLinkedHashMap_JsLinkedHashMap$es6(P.$int, W.IFrameElement); |
15552 }, "windows", "$get$windows", "windows", function() { | 15954 }, "_iframes", "windows", "$get$windows", function() { |
15553 return F.Context_Context(null, $.$get$Style_windows()); | 15955 return F.Context_Context(null, $.$get$Style_windows()); |
15554 }, "context0", "$get$context0", "context", function() { | 15956 }, "windows", "context0", "$get$context0", function() { |
15555 return new F.Context($.$get$Style_platform(), null); | 15957 return new F.Context($.$get$Style_platform(), null); |
15556 }, "Style_posix", "$get$Style_posix", "posix", function() { | 15958 }, "context0", "Style_posix", "$get$Style_posix", function() { |
15557 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true,
false), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, fals
e), null); | 15959 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true,
false), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, fals
e), null); |
15558 }, "Style_windows", "$get$Style_windows", "windows", function() { | 15960 }, "Style_posix", "Style_windows", "$get$Style_windows", function() { |
15559 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_RegEx
p("^[/\\\\](?![/\\\\])", true, false)); | 15961 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_RegEx
p("^[/\\\\](?![/\\\\])", true, false)); |
15560 }, "Style_url", "$get$Style_url", "url", function() { | 15962 }, "Style_windows", "Style_url", "$get$Style_url", function() { |
15561 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, fal
se), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegE
xp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/",
true, false)); | 15963 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, fal
se), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegE
xp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/",
true, false)); |
15562 }, "Style_platform", "$get$Style_platform", "platform", function() { | 15964 }, "Style_url", "Style_platform", "$get$Style_platform", function() { |
15563 return S.Style__getPlatformStyle(); | 15965 return S.Style__getPlatformStyle(); |
15564 }, "_terseRegExp", "$get$_terseRegExp", "_terseRegExp", function() { | 15966 }, "Style_platform", "_terseRegExp", "$get$_terseRegExp", function() { |
15565 return P.RegExp_RegExp("(-patch)?([/\\\\].*)?$", true, false); | 15967 return P.RegExp_RegExp("(-patch)?([/\\\\].*)?$", true, false); |
15566 }, "_v8Trace", "$get$_v8Trace", "_v8Trace", function() { | 15968 }, "_terseRegExp", "_v8Trace", "$get$_v8Trace", function() { |
15567 return P.RegExp_RegExp("\\n ?at ", true, false); | 15969 return P.RegExp_RegExp("\\n ?at ", true, false); |
15568 }, "_v8TraceLine", "$get$_v8TraceLine", "_v8TraceLine", function() { | 15970 }, "_v8Trace", "_v8TraceLine", "$get$_v8TraceLine", function() { |
15569 return P.RegExp_RegExp(" ?at ", true, false); | 15971 return P.RegExp_RegExp(" ?at ", true, false); |
15570 }, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", "_firefoxSafariTrace", f
unction() { | 15972 }, "_v8TraceLine", "_firefoxSafariTrace", "$get$_firefoxSafariTrace", function
() { |
15571 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", tru
e, true); | 15973 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", tru
e, true); |
15572 }, "_friendlyTrace", "$get$_friendlyTrace", "_friendlyTrace", function() { | 15974 }, "_firefoxSafariTrace", "_friendlyTrace", "$get$_friendlyTrace", function()
{ |
15573 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true
); | 15975 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true
); |
15574 }]); | 15976 }, "_friendlyTrace"]); |
15575 Isolate = Isolate.$finishIsolateConstructor(Isolate); | 15977 Isolate = Isolate.$finishIsolateConstructor(Isolate); |
15576 $ = new Isolate(); | 15978 $ = new Isolate(); |
15577 init.metadata = ["self", "error", "stackTrace", "parent", "zone", null, "value
", "message", "f", "_", "line", "trace", "frame", "arg", "result", "data", "call
back", "key", "duration", "object", "arg1", "arg2", "each", "element", "invocati
on", "x", "o", "numberOfArguments", "arg3", "arg4", "specification", "zoneValues
", "sender", "e", "ignored", "k", "v", 0, "encodedComponent", "s", "byteString",
"captureThis", "arguments", "closure", "isolate", "errorCode"]; | 15979 init.metadata = ["self", "zone", "parent", "error", "stackTrace", null, "_", "
value", "message", "f", "line", "frame", "data", "result", "trace", "arg", "call
back", "key", "each", "arg2", "duration", "x", "element", "arg1", "o", "object",
"arg4", "arg3", "numberOfArguments", "isolate", "closure", "specification", "zo
neValues", "e", "errorCode", "sender", "k", "v", 0, "encodedComponent", "s", "by
teString", "captureThis", "arguments"]; |
15578 init.types = [{func: 1, args: [,]}, {func: 1}, {func: 1, v: true}, {func: 1, a
rgs: [,,]}, {func: 1, v: true, args: [{func: 1, v: true}]}, {func: 1, args: [, P
.StackTrace]}, {func: 1, v: true, args: [,], opt: [P.StackTrace]}, {func: 1, v:
true, args: [P.String]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1,
args: [,], opt: [,]}, {func: 1, v: true, args: [P.Object], opt: [P.StackTrace]}
, {func: 1, v: true, args: [, P.StackTrace]}, {func: 1, ret: P.Object, args: [,]
}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, v: true, args: [P.Timer]
}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, v: true}]}, {func: 1,
ret: P.String, args: [P.$int]}, {func: 1, ret: P.AsyncError, args: [P.Object, P.
StackTrace]}, {func: 1, ret: {func: 1, args: [,,]}, args: [{func: 1, args: [,,]}
]}, {func: 1, ret: {func: 1, args: [,]}, args: [{func: 1, args: [,]}]}, {func: 1
, args: [{func: 1, args: [,,]},,,]}, {func: 1, args: [{func: 1, args: [,]},,]},
{func: 1, args: [{func: 1}]}, {func: 1, ret: P.Zone, named: {specification: P.Zo
neSpecification, zoneValues: P.Map}}, {func: 1, ret: P.AsyncError, args: [P.Zone
, P.Object, P.StackTrace]}, {func: 1, v: true, args: [P.Zone, {func: 1}]}, {func
: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, v: true}]}, {func: 1, re
t: P.Timer, args: [P.Zone, P.Duration, {func: 1, v: true, args: [P.Timer]}]}, {f
unc: 1, v: true, args: [P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone
, P.ZoneSpecification, P.Map]}, {func: 1, args: [, P.String]}, {func: 1, ret: {f
unc: 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func:
1}, args: [P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, {func: 1, args: [,,]},
,,]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}
]}, {func: 1, args: [P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone,
{func: 1}]}, {func: 1, args: [P.Zone,, P.StackTrace]}, {func: 1, args: [P.String
]}, {func: 1, args: [P.bool]}, {func: 1, ret: P.bool}, {func: 1, args: [{func: 1
, v: true}]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]},
{func: 1, args: [P.String,,]}, {func: 1, ret: P.$int, args: [, P.$int]}, {func:
1, ret: P.num, args: [P.num, P.num]}, {func: 1, args: [P.Symbol,,]}, {func: 1, v
: true, opt: [,]}, {func: 1, ret: P.$int, args: [,,]}, {func: 1, v: true, args:
[P.String], opt: [,]}, {func: 1, ret: P.$int, args: [P.$int, P.$int]}, {func: 1,
ret: P.Future, args: [,]}, {func: 1, v: true, args: [,]}, {func: 1, v: true, ar
gs: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, P
.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Z
one, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone,
{func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, P.ZoneDeleg
ate, P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, P.
ZoneDelegate, P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,
]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]}]}, {func: 1, re
t: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}
, {func: 1, v: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func:
1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, v:
true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Durat
ion, {func: 1, v: true, args: [P.Timer]}]}, {func: 1, v: true, args: [P.Zone, P.
ZoneDelegate, P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDe
legate, P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, args: [P.$int,,]}, {func
: 1, ret: P.String, args: [P.String]}, {func: 1, v: true, args: [P.$int, P.$int]
}]; | 15980 init.types = [{func: 1, args: [,]}, {func: 1}, {func: 1, v: true}, {func: 1, a
rgs: [,,]}, {func: 1, v: true, args: [{func: 1, v: true}]}, {func: 1, args: [, P
.StackTrace]}, {func: 1, v: true, args: [,], opt: [P.StackTrace]}, {func: 1, v:
true, args: [P.String]}, {func: 1, ret: {func: 1, args: [,]}, args: [{func: 1, a
rgs: [,]}]}, {func: 1, v: true, args: [P.Object], opt: [P.StackTrace]}, {func: 1
, v: true, args: [, P.StackTrace]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Z
one,, P.StackTrace]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, v: tr
ue, args: [P.Timer]}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, v:
true}]}, {func: 1, ret: P.String, args: [P.$int]}, {func: 1, ret: P.AsyncError,
args: [P.Object, P.StackTrace]}, {func: 1, ret: {func: 1, args: [,,]}, args: [{f
unc: 1, args: [,,]}]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1, a
rgs: [{func: 1, args: [,,]},,,]}, {func: 1, args: [{func: 1, args: [,]},,]}, {fu
nc: 1, args: [{func: 1}]}, {func: 1, ret: P.Zone, named: {specification: P.ZoneS
pecification, zoneValues: P.Map}}, {func: 1, args: [, P.String]}, {func: 1, v: t
rue, args: [P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Durati
on, {func: 1, v: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {fu
nc: 1, v: true, args: [P.Timer]}]}, {func: 1, v: true, args: [P.Zone, P.String]}
, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, {func: 1,
ret: {func: 1, args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}]}, {func: 1, re
t: {func: 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {
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: P.A
syncError, args: [P.Zone, P.Object, P.StackTrace]}, {func: 1, args: [P.Zone, {fu
nc: 1}]}, {func: 1, args: [P.Zone,, P.StackTrace]}, {func: 1, args: [P.String]},
{func: 1, args: [P.bool]}, {func: 1, args: [,], opt: [,]}, {func: 1, args: [{fu
nc: 1, v: true}]}, {func: 1, args: [P.String,,]}, {func: 1, v: true, opt: [,]},
{func: 1, ret: P.$int, args: [, P.$int]}, {func: 1, v: true, args: [P.$int, P.$i
nt]}, {func: 1, ret: P.num, args: [P.num, P.num]}, {func: 1, args: [P.$int,,]},
{func: 1, v: true, args: [P.String, P.String]}, {func: 1, ret: P.$int, args: [,,
]}, {func: 1, v: true, args: [P.String], opt: [,]}, {func: 1, ret: P.$int, args:
[P.$int, P.$int]}, {func: 1, ret: P.Future, args: [,]}, {func: 1, v: true, args
: [,]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1,
args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]},,]}, {func: 1, args:
[P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {fu
nc: 1}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: {func
: 1, args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]}]},
{func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {fu
nc: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate
, P.Zone, P.Object, P.StackTrace]}, {func: 1, v: true, args: [P.Zone, P.ZoneDele
gate, P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate
, P.Zone, P.Duration, {func: 1, v: true}]}, {func: 1, ret: P.Timer, args: [P.Zon
e, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, v: true, args: [P.Timer]}]}, {f
unc: 1, v: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, {func: 1, re
t: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]},
{func: 1, ret: P.String, args: [P.String]}, {func: 1, ret: P.Object, args: [,]},
{func: 1, args: [P.Symbol,,]}]; |
15579 function convertToFastObject(properties) { | 15981 function convertToFastObject(properties) { |
15580 function MyClass() { | 15982 function MyClass() { |
15581 } | 15983 } |
15582 MyClass.prototype = properties; | 15984 MyClass.prototype = properties; |
15583 new MyClass(); | 15985 new MyClass(); |
15584 return properties; | 15986 return properties; |
15585 } | 15987 } |
15586 function convertToSlowObject(properties) { | 15988 function convertToSlowObject(properties) { |
15587 properties.__MAGIC_SLOW_PROPERTY = 1; | 15989 properties.__MAGIC_SLOW_PROPERTY = 1; |
15588 delete properties.__MAGIC_SLOW_PROPERTY; | 15990 delete properties.__MAGIC_SLOW_PROPERTY; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15729 }, []); | 16131 }, []); |
15730 else | 16132 else |
15731 (function(a) { | 16133 (function(a) { |
15732 H.startRootIsolate(M.host__main$closure(), a); | 16134 H.startRootIsolate(M.host__main$closure(), a); |
15733 })([]); | 16135 })([]); |
15734 }); | 16136 }); |
15735 // END invoke [main]. | 16137 // END invoke [main]. |
15736 })(); | 16138 })(); |
15737 | 16139 |
15738 //# sourceMappingURL=host.dart.js.map | 16140 //# sourceMappingURL=host.dart.js.map |
OLD | NEW |