OLD | NEW |
1 // Generated by dart2js, the Dart to JavaScript compiler. | 1 // Generated by dart2js, the Dart to JavaScript compiler. |
2 // The code supports the following hooks: | 2 // The code supports the following hooks: |
3 // dartPrint(message) - if this function is defined it is called | 3 // dartPrint(message) - if this function is defined it is called |
4 // instead of the Dart [print] method. | 4 // instead of the Dart [print] method. |
5 // dartMainRunner(main) - if this function is defined, the Dart [main] | 5 // dartMainRunner(main) - if this function is defined, the Dart [main] |
6 // method will not be invoked directly. | 6 // method will not be invoked directly. |
7 // Instead, a closure that will invoke [main] is | 7 // Instead, a closure that will invoke [main] is |
8 // passed to [dartMainRunner]. | 8 // passed to [dartMainRunner]. |
9 (function($) { | 9 (function($) { |
10 var A = {}; | 10 var A = {}; |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 context = H._IsolateContext$(); | 501 context = H._IsolateContext$(); |
502 $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H
.IsolateNatives__processWorkerMessage_closure(entryPoint, replyTo), "worker-star
t")); | 502 $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H
.IsolateNatives__processWorkerMessage_closure(entryPoint, replyTo), "worker-star
t")); |
503 $globalState.currentContext = context; | 503 $globalState.currentContext = context; |
504 $globalState.topEventLoop.run$0(); | 504 $globalState.topEventLoop.run$0(); |
505 break; | 505 break; |
506 case "spawn-worker": | 506 case "spawn-worker": |
507 H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(ms
g, "uri"), t1.$index(msg, "replyPort")); | 507 H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(ms
g, "uri"), t1.$index(msg, "replyPort")); |
508 break; | 508 break; |
509 case "message": | 509 case "message": |
510 if (t1.$index(msg, "port") != null) | 510 if (t1.$index(msg, "port") != null) |
511 J.send$2$x(t1.$index(msg, "port"), t1.$index(msg, "msg"), t1.$index(msg,
"replyTo")); | 511 t1.$index(msg, "port").send$2(t1.$index(msg, "msg"), t1.$index(msg, "rep
lyTo")); |
512 $globalState.topEventLoop.run$0(); | 512 $globalState.topEventLoop.run$0(); |
513 break; | 513 break; |
514 case "close": | 514 case "close": |
515 t1 = $globalState.managers; | 515 t1 = $globalState.managers; |
516 t2 = $.get$IsolateNatives_workerIds(); | 516 t2 = $.get$IsolateNatives_workerIds(); |
517 t1.remove$1(t1, t2.$index(t2, sender)); | 517 t1.remove$1(t1, t2.$index(t2, sender)); |
518 sender.terminate(); | 518 sender.terminate(); |
519 $globalState.topEventLoop.run$0(); | 519 $globalState.topEventLoop.run$0(); |
520 break; | 520 break; |
521 case "log": | 521 case "log": |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 } | 553 } |
554 | 554 |
555 }, | 555 }, |
556 | 556 |
557 IsolateNatives__startIsolate: function(topLevel, replyTo) { | 557 IsolateNatives__startIsolate: function(topLevel, replyTo) { |
558 var t1; | 558 var t1; |
559 H.Primitives_initializeStatics($globalState.currentContext.id); | 559 H.Primitives_initializeStatics($globalState.currentContext.id); |
560 $.lazyPort = H.ReceivePortImpl$(); | 560 $.lazyPort = H.ReceivePortImpl$(); |
561 t1 = P._Isolate_port(); | 561 t1 = P._Isolate_port(); |
562 t1.toString; | 562 t1.toString; |
563 J.send$2$x(replyTo, "spawned", new H._NativeJsSendPort(t1, $globalState.curren
tContext.id)); | 563 replyTo.send$2("spawned", new H._NativeJsSendPort(t1, $globalState.currentCont
ext.id)); |
564 topLevel.call$0(); | 564 topLevel.call$0(); |
565 }, | 565 }, |
566 | 566 |
567 IsolateNatives__spawnWorker: function(functionName, uri, replyPort) { | 567 IsolateNatives__spawnWorker: function(functionName, uri, replyPort) { |
568 var worker, t1, workerId; | 568 var worker, t1, workerId; |
569 if (uri == null) | 569 if (uri == null) |
570 uri = $.get$IsolateNatives_thisScript(); | 570 uri = $.get$IsolateNatives_thisScript(); |
571 worker = new Worker(uri); | 571 worker = new Worker(uri); |
572 worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closur
e.call$2(worker, e); }; | 572 worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closur
e.call$2(worker, e); }; |
573 t1 = $globalState; | 573 t1 = $globalState; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 t1 = false; | 814 t1 = false; |
815 if (t1) | 815 if (t1) |
816 throw H.wrapException(new P._ExceptionImplementation("SendPort.send: Illeg
al replyTo port type")); | 816 throw H.wrapException(new P._ExceptionImplementation("SendPort.send: Illeg
al replyTo port type")); |
817 }, | 817 }, |
818 call$1: function(message) { | 818 call$1: function(message) { |
819 var t1, completer, port; | 819 var t1, completer, port; |
820 t1 = null; | 820 t1 = null; |
821 completer = new P._AsyncCompleter(P._Future$(t1)); | 821 completer = new P._AsyncCompleter(P._Future$(t1)); |
822 H.setRuntimeTypeInfo(completer, [t1]); | 822 H.setRuntimeTypeInfo(completer, [t1]); |
823 port = H.ReceivePortImpl$(); | 823 port = H.ReceivePortImpl$(); |
824 this.send$2(this, message, new H._NativeJsSendPort(port, $globalState.curren
tContext.id)); | 824 this.send$2(message, new H._NativeJsSendPort(port, $globalState.currentConte
xt.id)); |
825 port._callback = new H._BaseSendPort_call_closure(completer, port); | 825 port._callback = new H._BaseSendPort_call_closure(completer, port); |
826 return completer.future; | 826 return completer.future; |
827 }, | 827 }, |
828 $isSendPort: true | 828 $isSendPort: true |
829 }, | 829 }, |
830 | 830 |
831 _BaseSendPort_call_closure: {"": "Closure;completer_0,port_1", | 831 _BaseSendPort_call_closure: {"": "Closure;completer_0,port_1", |
832 call$2: function(value, ignoreReplyTo) { | 832 call$2: function(value, ignoreReplyTo) { |
833 var t1, t2; | 833 var t1, t2; |
834 t1 = this.port_1; | 834 t1 = this.port_1; |
835 t1._callback = null; | 835 t1._callback = null; |
836 $globalState.currentContext.unregister$1(t1._id); | 836 $globalState.currentContext.unregister$1(t1._id); |
837 t1 = J.getInterceptor(value); | 837 t1 = J.getInterceptor(value); |
838 t2 = this.completer_0; | 838 t2 = this.completer_0; |
839 if (typeof value === "object" && value !== null && !!t1.$isException) { | 839 if (typeof value === "object" && value !== null && !!t1.$isException) { |
840 t1 = t2.future; | 840 t1 = t2.future; |
841 if (t1._state !== 0) | 841 if (t1._state !== 0) |
842 H.throwExpression(new P.StateError("Future already completed")); | 842 H.throwExpression(new P.StateError("Future already completed")); |
843 t1._asyncCompleteError$2(value, null); | 843 t1._asyncCompleteError$2(value, null); |
844 } else { | 844 } else { |
845 t1 = t2.future; | 845 t1 = t2.future; |
846 if (t1._state !== 0) | 846 if (t1._state !== 0) |
847 H.throwExpression(new P.StateError("Future already completed")); | 847 H.throwExpression(new P.StateError("Future already completed")); |
848 t1._asyncComplete$1(value); | 848 t1._asyncComplete$1(value); |
849 } | 849 } |
850 } | 850 } |
851 }, | 851 }, |
852 | 852 |
853 _NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId", | 853 _NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId", |
854 send$2: function(_, message, replyTo) { | 854 send$2: function(message, replyTo) { |
855 H._waitForPendingPorts([message, replyTo], new H._NativeJsSendPort_send_clos
ure(this, message, replyTo)); | 855 H._waitForPendingPorts([message, replyTo], new H._NativeJsSendPort_send_clos
ure(this, message, replyTo)); |
856 }, | 856 }, |
857 $eq: function(_, other) { | 857 $eq: function(_, other) { |
858 var t1; | 858 var t1; |
859 if (other == null) | 859 if (other == null) |
860 return false; | 860 return false; |
861 t1 = J.getInterceptor(other); | 861 t1 = J.getInterceptor(other); |
862 return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendP
ort && J.$eq(this._receivePort, other._receivePort); | 862 return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendP
ort && J.$eq(this._receivePort, other._receivePort); |
863 }, | 863 }, |
864 get$hashCode: function(_) { | 864 get$hashCode: function(_) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 t2.reply_1 = H._deserializeMessage(t2.reply_1); | 908 t2.reply_1 = H._deserializeMessage(t2.reply_1); |
909 } | 909 } |
910 t2 = this.box_0; | 910 t2 = this.box_0; |
911 t1._callback$2(t2.msg_0, t2.reply_1); | 911 t1._callback$2(t2.msg_0, t2.reply_1); |
912 } | 912 } |
913 }, | 913 }, |
914 $is_void_: true | 914 $is_void_: true |
915 }, | 915 }, |
916 | 916 |
917 _WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId", | 917 _WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId", |
918 send$2: function(_, message, replyTo) { | 918 send$2: function(message, replyTo) { |
919 H._waitForPendingPorts([message, replyTo], new H._WorkerSendPort_send_closur
e(this, message, replyTo)); | 919 H._waitForPendingPorts([message, replyTo], new H._WorkerSendPort_send_closur
e(this, message, replyTo)); |
920 }, | 920 }, |
921 $eq: function(_, other) { | 921 $eq: function(_, other) { |
922 var t1; | 922 var t1; |
923 if (other == null) | 923 if (other == null) |
924 return false; | 924 return false; |
925 t1 = J.getInterceptor(other); | 925 t1 = J.getInterceptor(other); |
926 if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort) | 926 if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort) |
927 t1 = J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, othe
r._isolateId) && J.$eq(this._receivePortId, other._receivePortId); | 927 t1 = J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, othe
r._isolateId) && J.$eq(this._receivePortId, other._receivePortId); |
928 else | 928 else |
(...skipping 1844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2773 return J.get$length$asx(this._source); | 2773 return J.get$length$asx(this._source); |
2774 }, | 2774 }, |
2775 elementAt$1: function(_, index) { | 2775 elementAt$1: function(_, index) { |
2776 return this._f$1(J.elementAt$1$ax(this._source, index)); | 2776 return this._f$1(J.elementAt$1$ax(this._source, index)); |
2777 }, | 2777 }, |
2778 $asListIterable: function($S, $T) { | 2778 $asListIterable: function($S, $T) { |
2779 return [$T]; | 2779 return [$T]; |
2780 } | 2780 } |
2781 }, | 2781 }, |
2782 | 2782 |
2783 WhereIterable: {"": "IterableBase;_iterable,_f", | |
2784 get$iterator: function(_) { | |
2785 var t1 = J.get$iterator$ax(this._iterable); | |
2786 t1 = new H.WhereIterator(t1, this._f); | |
2787 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "WhereIterable", 0)
]); | |
2788 return t1; | |
2789 }, | |
2790 $asIterableBase: null | |
2791 }, | |
2792 | |
2793 WhereIterator: {"": "Iterator;_iterator,_f", | |
2794 _f$1: function(arg0) { | |
2795 return this._f.call$1(arg0); | |
2796 }, | |
2797 moveNext$0: function() { | |
2798 for (var t1 = this._iterator; t1.moveNext$0();) | |
2799 if (this._f$1(t1.get$current()) === true) | |
2800 return true; | |
2801 return false; | |
2802 }, | |
2803 get$current: function() { | |
2804 return this._iterator.get$current(); | |
2805 }, | |
2806 $asIterator: null | |
2807 }, | |
2808 | |
2809 FixedLengthListMixin: {"": "Object;"}}], | 2783 FixedLengthListMixin: {"": "Object;"}}], |
2810 ["dart.async", "dart:async", , P, { | 2784 ["dart.async", "dart:async", , P, { |
2811 _attachStackTrace: function(o, st) { | 2785 _attachStackTrace: function(o, st) { |
2812 var t1; | 2786 var t1; |
2813 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o =
== "string") | 2787 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o =
== "string") |
2814 return; | 2788 return; |
2815 t1 = $.get$_stackTraceExpando(); | 2789 t1 = $.get$_stackTraceExpando(); |
2816 t1.$indexSet(t1, o, st); | 2790 t1.$indexSet(t1, o, st); |
2817 }, | 2791 }, |
2818 | 2792 |
(...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4006 }, | 3980 }, |
4007 createTimer$3: function(zone, duration, f) { | 3981 createTimer$3: function(zone, duration, f) { |
4008 var $parent, t1, t2; | 3982 var $parent, t1, t2; |
4009 $parent = this._degelationTarget; | 3983 $parent = this._degelationTarget; |
4010 for (; t1 = $parent.get$_specification().createTimer, t2 = J.getInterceptor$
x($parent), t1 == null;) | 3984 for (; t1 = $parent.get$_specification().createTimer, t2 = J.getInterceptor$
x($parent), t1 == null;) |
4011 $parent = t2.get$parent($parent); | 3985 $parent = t2.get$parent($parent); |
4012 return t1.call$5($parent, new P._ZoneDelegate(t2.get$parent($parent)), zone,
duration, f); | 3986 return t1.call$5($parent, new P._ZoneDelegate(t2.get$parent($parent)), zone,
duration, f); |
4013 } | 3987 } |
4014 }, | 3988 }, |
4015 | 3989 |
4016 _CustomizedZone: {"": "Object;parent>,_specification<,_map", | 3990 _CustomizedZone: {"": "Object;parent>,_specification<,_async$_map", |
4017 get$_errorZone: function() { | 3991 get$_errorZone: function() { |
4018 if (this._specification.handleUncaughtError != null) | 3992 if (this._specification.handleUncaughtError != null) |
4019 return this; | 3993 return this; |
4020 return this.parent.get$_errorZone(); | 3994 return this.parent.get$_errorZone(); |
4021 }, | 3995 }, |
4022 inSameErrorZone$1: function(otherZone) { | 3996 inSameErrorZone$1: function(otherZone) { |
4023 return this.get$_errorZone() === otherZone.get$_errorZone(); | 3997 return this.get$_errorZone() === otherZone.get$_errorZone(); |
4024 }, | 3998 }, |
4025 runGuarded$1: function(f) { | 3999 runGuarded$1: function(f) { |
4026 var e, s, t1, exception; | 4000 var e, s, t1, exception; |
(...skipping 30 matching lines...) Expand all Loading... |
4057 }, | 4031 }, |
4058 bindUnaryCallback$2$runGuarded: function(f, runGuarded) { | 4032 bindUnaryCallback$2$runGuarded: function(f, runGuarded) { |
4059 var registered = new P._ZoneDelegate(this).registerUnaryCallback$2(this, f); | 4033 var registered = new P._ZoneDelegate(this).registerUnaryCallback$2(this, f); |
4060 if (runGuarded) | 4034 if (runGuarded) |
4061 return new P._CustomizedZone_bindUnaryCallback_closure(this, registered); | 4035 return new P._CustomizedZone_bindUnaryCallback_closure(this, registered); |
4062 else | 4036 else |
4063 return new P._CustomizedZone_bindUnaryCallback_closure0(this, registered); | 4037 return new P._CustomizedZone_bindUnaryCallback_closure0(this, registered); |
4064 }, | 4038 }, |
4065 $index: function(_, key) { | 4039 $index: function(_, key) { |
4066 var t1, result; | 4040 var t1, result; |
4067 t1 = this._map; | 4041 t1 = this._async$_map; |
4068 result = t1.$index(t1, key); | 4042 result = t1.$index(t1, key); |
4069 if (result != null || t1.containsKey$1(key)) | 4043 if (result != null || t1.containsKey$1(key)) |
4070 return result; | 4044 return result; |
4071 t1 = this.parent; | 4045 t1 = this.parent; |
4072 if (t1 != null) | 4046 if (t1 != null) |
4073 return J.$index$asx(t1, key); | 4047 return J.$index$asx(t1, key); |
4074 return; | 4048 return; |
4075 }, | 4049 }, |
4076 handleUncaughtError$1: function(error) { | 4050 handleUncaughtError$1: function(error) { |
4077 return new P._ZoneDelegate(this).handleUncaughtError$2(this, error); | 4051 return new P._ZoneDelegate(this).handleUncaughtError$2(this, error); |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4396 | 4370 |
4397 }, | 4371 }, |
4398 | 4372 |
4399 _HashMap_values_closure: {"": "Closure;this_0", | 4373 _HashMap_values_closure: {"": "Closure;this_0", |
4400 call$1: function(each) { | 4374 call$1: function(each) { |
4401 var t1 = this.this_0; | 4375 var t1 = this.this_0; |
4402 return t1.$index(t1, each); | 4376 return t1.$index(t1, each); |
4403 } | 4377 } |
4404 }, | 4378 }, |
4405 | 4379 |
4406 HashMapKeyIterable: {"": "IterableBase;_collection$_map", | 4380 HashMapKeyIterable: {"": "IterableBase;_map", |
4407 get$length: function(_) { | 4381 get$length: function(_) { |
4408 return this._collection$_map._collection$_length; | 4382 return this._map._collection$_length; |
4409 }, | 4383 }, |
4410 get$iterator: function(_) { | 4384 get$iterator: function(_) { |
4411 var t1 = this._collection$_map; | 4385 var t1 = this._map; |
4412 return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null); | 4386 return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null); |
4413 }, | 4387 }, |
4414 forEach$1: function(_, f) { | 4388 forEach$1: function(_, f) { |
4415 var t1, keys, $length, i; | 4389 var t1, keys, $length, i; |
4416 t1 = this._collection$_map; | 4390 t1 = this._map; |
4417 keys = t1._computeKeys$0(); | 4391 keys = t1._computeKeys$0(); |
4418 for ($length = keys.length, i = 0; i < $length; ++i) { | 4392 for ($length = keys.length, i = 0; i < $length; ++i) { |
4419 f.call$1(keys[i]); | 4393 f.call$1(keys[i]); |
4420 if (keys !== t1._collection$_keys) | 4394 if (keys !== t1._collection$_keys) |
4421 throw H.wrapException(new P.ConcurrentModificationError(t1)); | 4395 throw H.wrapException(new P.ConcurrentModificationError(t1)); |
4422 } | 4396 } |
4423 }, | 4397 }, |
4424 $asIterableBase: null | 4398 $asIterableBase: null |
4425 }, | 4399 }, |
4426 | 4400 |
4427 HashMapKeyIterator: {"": "Object;_collection$_map,_collection$_keys,_offset,_col
lection$_current", | 4401 HashMapKeyIterator: {"": "Object;_map,_collection$_keys,_offset,_collection$_cur
rent", |
4428 get$current: function() { | 4402 get$current: function() { |
4429 return this._collection$_current; | 4403 return this._collection$_current; |
4430 }, | 4404 }, |
4431 moveNext$0: function() { | 4405 moveNext$0: function() { |
4432 var keys, offset, t1; | 4406 var keys, offset, t1; |
4433 keys = this._collection$_keys; | 4407 keys = this._collection$_keys; |
4434 offset = this._offset; | 4408 offset = this._offset; |
4435 t1 = this._collection$_map; | 4409 t1 = this._map; |
4436 if (keys !== t1._collection$_keys) | 4410 if (keys !== t1._collection$_keys) |
4437 throw H.wrapException(new P.ConcurrentModificationError(t1)); | 4411 throw H.wrapException(new P.ConcurrentModificationError(t1)); |
4438 else if (offset >= keys.length) { | 4412 else if (offset >= keys.length) { |
4439 this._collection$_current = null; | 4413 this._collection$_current = null; |
4440 return false; | 4414 return false; |
4441 } else { | 4415 } else { |
4442 this._collection$_current = keys[offset]; | 4416 this._collection$_current = keys[offset]; |
4443 this._offset = offset + 1; | 4417 this._offset = offset + 1; |
4444 return true; | 4418 return true; |
4445 } | 4419 } |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4727 | 4701 |
4728 _LinkedCustomHashMap_closure: {"": "Closure;K_0", | 4702 _LinkedCustomHashMap_closure: {"": "Closure;K_0", |
4729 call$1: function(v) { | 4703 call$1: function(v) { |
4730 var t1 = H.checkSubtypeOfRuntimeType(v, this.K_0); | 4704 var t1 = H.checkSubtypeOfRuntimeType(v, this.K_0); |
4731 return t1; | 4705 return t1; |
4732 } | 4706 } |
4733 }, | 4707 }, |
4734 | 4708 |
4735 LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"}, | 4709 LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"}, |
4736 | 4710 |
4737 LinkedHashMapKeyIterable: {"": "IterableBase;_collection$_map", | 4711 LinkedHashMapKeyIterable: {"": "IterableBase;_map", |
4738 get$length: function(_) { | 4712 get$length: function(_) { |
4739 return this._collection$_map._collection$_length; | 4713 return this._map._collection$_length; |
4740 }, | 4714 }, |
4741 get$iterator: function(_) { | 4715 get$iterator: function(_) { |
4742 var t1 = this._collection$_map; | 4716 var t1 = this._map; |
4743 t1 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null); | 4717 t1 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null); |
4744 t1._cell = t1._collection$_map._first; | 4718 t1._cell = t1._map._first; |
4745 return t1; | 4719 return t1; |
4746 }, | 4720 }, |
4747 forEach$1: function(_, f) { | 4721 forEach$1: function(_, f) { |
4748 var t1, cell, modifications; | 4722 var t1, cell, modifications; |
4749 t1 = this._collection$_map; | 4723 t1 = this._map; |
4750 cell = t1._first; | 4724 cell = t1._first; |
4751 modifications = t1._modifications; | 4725 modifications = t1._modifications; |
4752 for (; cell != null;) { | 4726 for (; cell != null;) { |
4753 f.call$1(cell._key); | 4727 f.call$1(cell._key); |
4754 if (modifications !== t1._modifications) | 4728 if (modifications !== t1._modifications) |
4755 throw H.wrapException(new P.ConcurrentModificationError(t1)); | 4729 throw H.wrapException(new P.ConcurrentModificationError(t1)); |
4756 cell = cell._next; | 4730 cell = cell._next; |
4757 } | 4731 } |
4758 }, | 4732 }, |
4759 $asIterableBase: null | 4733 $asIterableBase: null |
4760 }, | 4734 }, |
4761 | 4735 |
4762 LinkedHashMapKeyIterator: {"": "Object;_collection$_map,_modifications,_cell,_co
llection$_current", | 4736 LinkedHashMapKeyIterator: {"": "Object;_map,_modifications,_cell,_collection$_cu
rrent", |
4763 get$current: function() { | 4737 get$current: function() { |
4764 return this._collection$_current; | 4738 return this._collection$_current; |
4765 }, | 4739 }, |
4766 moveNext$0: function() { | 4740 moveNext$0: function() { |
4767 var t1 = this._collection$_map; | 4741 var t1 = this._map; |
4768 if (this._modifications !== t1._modifications) | 4742 if (this._modifications !== t1._modifications) |
4769 throw H.wrapException(new P.ConcurrentModificationError(t1)); | 4743 throw H.wrapException(new P.ConcurrentModificationError(t1)); |
4770 else { | 4744 else { |
4771 t1 = this._cell; | 4745 t1 = this._cell; |
4772 if (t1 == null) { | 4746 if (t1 == null) { |
4773 this._collection$_current = null; | 4747 this._collection$_current = null; |
4774 return false; | 4748 return false; |
4775 } else { | 4749 } else { |
4776 this._collection$_current = t1._key; | 4750 this._collection$_current = t1._key; |
4777 this._cell = this._cell._next; | 4751 this._cell = this._cell._next; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4812 for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { | 4786 for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { |
4813 element = t1.get$current(); | 4787 element = t1.get$current(); |
4814 if (remaining === 0) | 4788 if (remaining === 0) |
4815 return element; | 4789 return element; |
4816 --remaining; | 4790 --remaining; |
4817 } | 4791 } |
4818 throw H.wrapException(new P.RangeError("value " + index)); | 4792 throw H.wrapException(new P.RangeError("value " + index)); |
4819 } | 4793 } |
4820 }, | 4794 }, |
4821 | 4795 |
4822 ListBase: {"": "Object+ListMixin;", $isList: true, $asList: null}, | |
4823 | |
4824 ListMixin: {"": "Object;", | 4796 ListMixin: {"": "Object;", |
4825 get$iterator: function(receiver) { | 4797 get$iterator: function(receiver) { |
4826 return new H.ListIterator(receiver, this.get$length(receiver), 0, null); | 4798 return new H.ListIterator(receiver, this.get$length(receiver), 0, null); |
4827 }, | 4799 }, |
4828 elementAt$1: function(receiver, index) { | 4800 elementAt$1: function(receiver, index) { |
4829 return this.$index(receiver, index); | 4801 return this.$index(receiver, index); |
4830 }, | 4802 }, |
4831 forEach$1: function(receiver, action) { | 4803 forEach$1: function(receiver, action) { |
4832 var $length, i; | 4804 var $length, i; |
4833 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive
r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei
ver[init.dispatchPropertyName]))) | 4805 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive
r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei
ver[init.dispatchPropertyName]))) |
4834 return this.forEach$1$bailout(1, receiver, action); | 4806 return this.forEach$1$bailout(1, receiver, action); |
4835 $length = receiver.length; | 4807 $length = C.JS_CONST_ZYJ(receiver); |
4836 for (i = 0; i < $length; ++i) { | 4808 for (i = 0; i < $length; ++i) { |
4837 if (i >= receiver.length) | 4809 if (i >= C.JS_CONST_ZYJ(receiver)) |
4838 throw H.ioore(receiver, i); | 4810 throw H.ioore(receiver, i); |
4839 action.call$1(receiver[i]); | 4811 action.call$1(receiver[i]); |
4840 if ($length !== receiver.length) | 4812 if ($length !== C.JS_CONST_ZYJ(receiver)) |
4841 throw H.wrapException(new P.ConcurrentModificationError(receiver)); | 4813 throw H.wrapException(new P.ConcurrentModificationError(receiver)); |
4842 } | 4814 } |
4843 }, | 4815 }, |
4844 forEach$1$bailout: function(state0, receiver, action) { | 4816 forEach$1$bailout: function(state0, receiver, action) { |
4845 var $length, i; | 4817 var $length, i; |
4846 $length = this.get$length(receiver); | 4818 $length = this.get$length(receiver); |
4847 for (i = 0; i < $length; ++i) { | 4819 for (i = 0; i < $length; ++i) { |
4848 action.call$1(this.$index(receiver, i)); | 4820 action.call$1(this.$index(receiver, i)); |
4849 if ($length !== this.get$length(receiver)) | 4821 if ($length !== this.get$length(receiver)) |
4850 throw H.wrapException(new P.ConcurrentModificationError(receiver)); | 4822 throw H.wrapException(new P.ConcurrentModificationError(receiver)); |
4851 } | 4823 } |
4852 }, | 4824 }, |
4853 where$1: function(receiver, test) { | |
4854 var t1 = new H.WhereIterable(receiver, test); | |
4855 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(receiver, "ListMixin", 0)
]); | |
4856 return t1; | |
4857 }, | |
4858 map$1: function(receiver, f) { | 4825 map$1: function(receiver, f) { |
4859 var t1 = new H.MappedListIterable(receiver, f); | 4826 var t1 = new H.MappedListIterable(receiver, f); |
4860 H.setRuntimeTypeInfo(t1, [null, null]); | 4827 H.setRuntimeTypeInfo(t1, [null, null]); |
4861 return t1; | 4828 return t1; |
4862 }, | 4829 }, |
4863 toList$1$growable: function(receiver, growable) { | |
4864 var result, t1, t2, i, t3; | |
4865 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive
r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei
ver[init.dispatchPropertyName]))) | |
4866 return this.toList$1$growable$bailout(1, receiver, growable); | |
4867 if (growable) { | |
4868 result = P.List_List(null, H.getRuntimeTypeArgument(receiver, "ListMixin",
0)); | |
4869 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4870 C.JSArray_methods.set$length(result, receiver.length); | |
4871 } else { | |
4872 result = P.List_List(receiver.length, H.getRuntimeTypeArgument(receiver, "
ListMixin", 0)); | |
4873 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4874 } | |
4875 for (t1 = receiver.length, t2 = result.length, i = 0; i < t1; ++i) { | |
4876 t3 = receiver[i]; | |
4877 if (i >= t2) | |
4878 throw H.ioore(result, i); | |
4879 result[i] = t3; | |
4880 } | |
4881 return result; | |
4882 }, | |
4883 toList$1$growable$bailout: function(state0, receiver, growable) { | |
4884 var result, i, t1; | |
4885 if (growable) { | |
4886 result = P.List_List(null, H.getRuntimeTypeArgument(receiver, "ListMixin",
0)); | |
4887 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4888 C.JSArray_methods.set$length(result, this.get$length(receiver)); | |
4889 } else { | |
4890 result = P.List_List(this.get$length(receiver), H.getRuntimeTypeArgument(r
eceiver, "ListMixin", 0)); | |
4891 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4892 } | |
4893 for (i = 0; i < this.get$length(receiver); ++i) { | |
4894 t1 = this.$index(receiver, i); | |
4895 if (i >= result.length) | |
4896 throw H.ioore(result, i); | |
4897 result[i] = t1; | |
4898 } | |
4899 return result; | |
4900 }, | |
4901 toList$0: function($receiver) { | |
4902 return this.toList$1$growable($receiver, true); | |
4903 }, | |
4904 toString$0: function(receiver) { | 4830 toString$0: function(receiver) { |
4905 var result, i, t1; | 4831 var result, i, t1; |
4906 for (i = 0; i < $.get$ListMixin__toStringList().length; ++i) { | 4832 for (i = 0; i < $.get$ListMixin__toStringList().length; ++i) { |
4907 t1 = $.get$ListMixin__toStringList(); | 4833 t1 = $.get$ListMixin__toStringList(); |
4908 if (i >= t1.length) | 4834 if (i >= t1.length) |
4909 throw H.ioore(t1, i); | 4835 throw H.ioore(t1, i); |
4910 if (t1[i] === receiver) | 4836 if (t1[i] === receiver) |
4911 return "[...]"; | 4837 return "[...]"; |
4912 } | 4838 } |
4913 result = P.StringBuffer$(""); | 4839 result = P.StringBuffer$(""); |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5042 this._collection$_current = t3[t2]; | 4968 this._collection$_current = t3[t2]; |
5043 this._position = (this._position + 1 & t1._table.length - 1) >>> 0; | 4969 this._position = (this._position + 1 & t1._table.length - 1) >>> 0; |
5044 return true; | 4970 return true; |
5045 }, | 4971 }, |
5046 static: { | 4972 static: { |
5047 _ListQueueIterator$: function(queue) { | 4973 _ListQueueIterator$: function(queue) { |
5048 return new P._ListQueueIterator(queue, queue._tail, queue._modificationCount,
queue._head, null); | 4974 return new P._ListQueueIterator(queue, queue._tail, queue._modificationCount,
queue._head, null); |
5049 }} | 4975 }} |
5050 | 4976 |
5051 }}], | 4977 }}], |
5052 ["dart.convert", "dart:convert", , P, { | |
5053 _convertJsonToDart: function(json, reviver) { | |
5054 var revive = new P._convertJsonToDart_closure(); | |
5055 return revive.call$2(null, new P._convertJsonToDart_walk(revive).call$1(json))
; | |
5056 }, | |
5057 | |
5058 _parseJson: function(source, reviver) { | |
5059 var parsed, e, t1, exception; | |
5060 t1 = source; | |
5061 if (typeof t1 !== "string") | |
5062 throw H.wrapException(new P.ArgumentError(source)); | |
5063 parsed = null; | |
5064 try { | |
5065 parsed = JSON.parse(source); | |
5066 } catch (exception) { | |
5067 t1 = H.unwrapException(exception); | |
5068 e = t1; | |
5069 throw H.wrapException(new P.FormatException(String(e))); | |
5070 } | |
5071 | |
5072 return P._convertJsonToDart(parsed, reviver); | |
5073 }, | |
5074 | |
5075 _convertJsonToDart_closure: {"": "Closure;", | |
5076 call$2: function(key, value) { | |
5077 return value; | |
5078 } | |
5079 }, | |
5080 | |
5081 _convertJsonToDart_walk: {"": "Closure;revive_0", | |
5082 call$1: function(e) { | |
5083 var list, t1, i, keys, map, key, proto; | |
5084 if (e == null || typeof e != "object") | |
5085 return e; | |
5086 if (Object.getPrototypeOf(e) === Array.prototype) { | |
5087 list = e; | |
5088 for (t1 = this.revive_0, i = 0; i < list.length; ++i) | |
5089 list[i] = t1.call$2(i, this.call$1(list[i])); | |
5090 return list; | |
5091 } | |
5092 keys = Object.keys(e); | |
5093 map = H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, null, n
ull, null)); | |
5094 for (t1 = this.revive_0, i = 0; i < keys.length; ++i) { | |
5095 key = keys[i]; | |
5096 map.$indexSet(map, key, t1.call$2(key, this.call$1(e[key]))); | |
5097 } | |
5098 proto = e.__proto__; | |
5099 if (typeof proto !== "undefined" && proto !== Object.prototype) | |
5100 map.$indexSet(map, "__proto__", t1.call$2("__proto__", this.call$1(proto))
); | |
5101 return map; | |
5102 } | |
5103 }, | |
5104 | |
5105 Converter: {"": "Object;"}, | |
5106 | |
5107 JsonDecoder: {"": "Converter;_reviver"}}], | |
5108 ["dart.core", "dart:core", , P, { | 4978 ["dart.core", "dart:core", , P, { |
5109 _symbolToString: function(symbol) { | 4979 _symbolToString: function(symbol) { |
5110 return H.Symbol_getName(symbol); | 4980 return H.Symbol_getName(symbol); |
5111 }, | 4981 }, |
5112 | 4982 |
5113 Error_safeToString: function(object) { | 4983 Error_safeToString: function(object) { |
5114 var buffer, t1, i, codeUnit, t2, charCodes; | 4984 var buffer, t1, i, codeUnit, t2, charCodes; |
5115 if (typeof object === "number" && Math.floor(object) === object || typeof obje
ct === "number" || typeof object === "boolean" || null == object) | 4985 if (typeof object === "number" && Math.floor(object) === object || typeof obje
ct === "number" || typeof object === "boolean" || null == object) |
5116 return J.toString$0(object); | 4986 return J.toString$0(object); |
5117 if (typeof object === "string") { | 4987 if (typeof object === "string") { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5354 _ExceptionImplementation: {"": "Object;message", | 5224 _ExceptionImplementation: {"": "Object;message", |
5355 toString$0: function(_) { | 5225 toString$0: function(_) { |
5356 var t1 = this.message; | 5226 var t1 = this.message; |
5357 if (t1 == null) | 5227 if (t1 == null) |
5358 return "Exception"; | 5228 return "Exception"; |
5359 return "Exception: " + H.S(t1); | 5229 return "Exception: " + H.S(t1); |
5360 }, | 5230 }, |
5361 $isException: true | 5231 $isException: true |
5362 }, | 5232 }, |
5363 | 5233 |
5364 FormatException: {"": "Object;message", | |
5365 toString$0: function(_) { | |
5366 return "FormatException: " + this.message; | |
5367 }, | |
5368 $isException: true | |
5369 }, | |
5370 | |
5371 Expando: {"": "Object;name", | 5234 Expando: {"": "Object;name", |
5372 toString$0: function(_) { | 5235 toString$0: function(_) { |
5373 return "Expando:" + this.name; | 5236 return "Expando:" + this.name; |
5374 }, | 5237 }, |
5375 $index: function(_, object) { | 5238 $index: function(_, object) { |
5376 var values = H.Primitives_getProperty(object, "expando$values"); | 5239 var values = H.Primitives_getProperty(object, "expando$values"); |
5377 return values == null ? null : H.Primitives_getProperty(values, this._getKey
$0()); | 5240 return values == null ? null : H.Primitives_getProperty(values, this._getKey
$0()); |
5378 }, | 5241 }, |
5379 $indexSet: function(_, object, value) { | 5242 $indexSet: function(_, object, value) { |
5380 var values = H.Primitives_getProperty(object, "expando$values"); | 5243 var values = H.Primitives_getProperty(object, "expando$values"); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5415 | 5278 |
5416 Object: {"": ";", | 5279 Object: {"": ";", |
5417 $eq: function(_, other) { | 5280 $eq: function(_, other) { |
5418 return this === other; | 5281 return this === other; |
5419 }, | 5282 }, |
5420 get$hashCode: function(_) { | 5283 get$hashCode: function(_) { |
5421 return H.Primitives_objectHashCode(this); | 5284 return H.Primitives_objectHashCode(this); |
5422 }, | 5285 }, |
5423 toString$0: function(_) { | 5286 toString$0: function(_) { |
5424 return H.Primitives_objectToString(this); | 5287 return H.Primitives_objectToString(this); |
5425 }, | 5288 } |
5426 $isObject: true | |
5427 }, | 5289 }, |
5428 | 5290 |
5429 StackTrace: {"": "Object;"}, | 5291 StackTrace: {"": "Object;"}, |
5430 | 5292 |
5431 StringBuffer: {"": "Object;_contents<", | 5293 StringBuffer: {"": "Object;_contents<", |
5432 get$length: function(_) { | 5294 get$length: function(_) { |
5433 return this._contents.length; | 5295 return this._contents.length; |
5434 }, | 5296 }, |
5435 write$1: function(obj) { | 5297 write$1: function(obj) { |
5436 if (typeof obj !== "string") | 5298 if (typeof obj !== "string") |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5472 StringBuffer$: function($content) { | 5334 StringBuffer$: function($content) { |
5473 var t1 = new P.StringBuffer(""); | 5335 var t1 = new P.StringBuffer(""); |
5474 t1.StringBuffer$1($content); | 5336 t1.StringBuffer$1($content); |
5475 return t1; | 5337 return t1; |
5476 }} | 5338 }} |
5477 | 5339 |
5478 }, | 5340 }, |
5479 | 5341 |
5480 Symbol: {"": "Object;", $isSymbol: true}}], | 5342 Symbol: {"": "Object;", $isSymbol: true}}], |
5481 ["dart.dom.html", "dart:html", , W, { | 5343 ["dart.dom.html", "dart:html", , W, { |
5482 HttpRequest_getString: function(url, onProgress, withCredentials) { | |
5483 return W.HttpRequest_request(url, null, null, onProgress, null, null, null, wi
thCredentials).then$1(new W.HttpRequest_getString_closure()); | |
5484 }, | |
5485 | |
5486 HttpRequest_request: function(url, method, mimeType, onProgress, requestHeaders,
responseType, sendData, withCredentials) { | |
5487 var t1, completer, xhr, t2; | |
5488 t1 = W.HttpRequest; | |
5489 completer = new P._AsyncCompleter(P._Future$(t1)); | |
5490 H.setRuntimeTypeInfo(completer, [t1]); | |
5491 xhr = new XMLHttpRequest(); | |
5492 C.HttpRequest_methods.open$3$async(xhr, "GET", url, true); | |
5493 t1 = new W._EventStream(xhr, C.EventStreamProvider_load._eventType, false); | |
5494 H.setRuntimeTypeInfo(t1, [null]); | |
5495 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._EventStre
amSubscription__wrapZone(new W.HttpRequest_request_closure(completer, xhr)), t1.
_useCapture); | |
5496 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); | |
5497 t2._tryResume$0(); | |
5498 t2 = new W._EventStream(xhr, C.EventStreamProvider_error._eventType, false); | |
5499 H.setRuntimeTypeInfo(t2, [null]); | |
5500 t1 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._EventStre
amSubscription__wrapZone(new W.HttpRequest_request_closure0(completer)), t2._use
Capture); | |
5501 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]); | |
5502 t1._tryResume$0(); | |
5503 xhr.send(); | |
5504 return completer.future; | |
5505 }, | |
5506 | |
5507 _convertNativeToDart_Window: function(win) { | 5344 _convertNativeToDart_Window: function(win) { |
5508 if (win == null) | 5345 if (win == null) |
5509 return; | 5346 return; |
5510 return W._DOMWindowCrossFrame__createSafe(win); | 5347 return W._DOMWindowCrossFrame__createSafe(win); |
5511 }, | 5348 }, |
5512 | 5349 |
5513 _ChildrenElementList: {"": "ListBase;_element,_childElements", | 5350 _EventStream: {"": "Stream;", |
5514 get$length: function(_) { | |
5515 return this._childElements.length; | |
5516 }, | |
5517 $index: function(_, index) { | |
5518 var t1 = this._childElements; | |
5519 if (index >>> 0 !== index || index >= t1.length) | |
5520 throw H.ioore(t1, index); | |
5521 return t1[index]; | |
5522 }, | |
5523 $indexSet: function(_, index, value) { | |
5524 var t1 = this._childElements; | |
5525 if (index >>> 0 !== index || index >= t1.length) | |
5526 throw H.ioore(t1, index); | |
5527 this._element.replaceChild(value, t1[index]); | |
5528 }, | |
5529 add$1: function(_, value) { | |
5530 this._element.appendChild(value); | |
5531 return value; | |
5532 }, | |
5533 get$iterator: function(_) { | |
5534 var t1 = this.toList$0(this); | |
5535 return new H.ListIterator(t1, t1.length, 0, null); | |
5536 }, | |
5537 $asList: function() { | |
5538 return [W.Element]; | |
5539 } | |
5540 }, | |
5541 | |
5542 Interceptor_ListMixin: {"": "Interceptor+ListMixin;", $isList: true, $asList: nu
ll}, | |
5543 | |
5544 Interceptor_ListMixin_ImmutableListMixin: {"": "Interceptor_ListMixin+ImmutableL
istMixin;", $asList: null, $isList: true}, | |
5545 | |
5546 HttpRequest_getString_closure: {"": "Closure;", | |
5547 call$1: function(xhr) { | |
5548 return J.get$responseText$x(xhr); | |
5549 } | |
5550 }, | |
5551 | |
5552 HttpRequest_request_closure1: {"": "Closure;xhr_0", | |
5553 call$2: function(header, value) { | |
5554 this.xhr_0.setRequestHeader(header, value); | |
5555 } | |
5556 }, | |
5557 | |
5558 HttpRequest_request_closure: {"": "Closure;completer_1,xhr_2", | |
5559 call$1: function(e) { | |
5560 var t1, t2, t3; | |
5561 t1 = this.xhr_2; | |
5562 t2 = t1.status; | |
5563 if (typeof t2 !== "number") | |
5564 throw t2.$ge(); | |
5565 t2 = t2 >= 200 && t2 < 300 || t2 === 0 || t2 === 304; | |
5566 t3 = this.completer_1; | |
5567 if (t2) { | |
5568 t2 = t3.future; | |
5569 if (t2._state !== 0) | |
5570 H.throwExpression(new P.StateError("Future already completed")); | |
5571 t2._asyncComplete$1(t1); | |
5572 } else { | |
5573 t1 = t3.future; | |
5574 if (t1._state !== 0) | |
5575 H.throwExpression(new P.StateError("Future already completed")); | |
5576 t1._asyncCompleteError$2(e, null); | |
5577 } | |
5578 } | |
5579 }, | |
5580 | |
5581 HttpRequest_request_closure0: {"": "Closure;completer_3", | |
5582 call$1: function(e) { | |
5583 var t1 = this.completer_3.future; | |
5584 if (t1._state !== 0) | |
5585 H.throwExpression(new P.StateError("Future already completed")); | |
5586 t1._asyncCompleteError$2(e, null); | |
5587 } | |
5588 }, | |
5589 | |
5590 _ChildNodeListLazy: {"": "ListBase;_this", | |
5591 $indexSet: function(_, index, value) { | |
5592 var t1, t2; | |
5593 t1 = this._this; | |
5594 t2 = t1.childNodes; | |
5595 if (index >>> 0 !== index || index >= t2.length) | |
5596 throw H.ioore(t2, index); | |
5597 t1.replaceChild(value, t2[index]); | |
5598 }, | |
5599 get$iterator: function(_) { | |
5600 return C.NodeList_methods.get$iterator(this._this.childNodes); | |
5601 }, | |
5602 get$length: function(_) { | |
5603 return this._this.childNodes.length; | |
5604 }, | |
5605 $index: function(_, index) { | |
5606 var t1 = this._this.childNodes; | |
5607 if (index >>> 0 !== index || index >= t1.length) | |
5608 throw H.ioore(t1, index); | |
5609 return t1[index]; | |
5610 }, | |
5611 $asList: function() { | |
5612 return [W.Node]; | |
5613 } | |
5614 }, | |
5615 | |
5616 Interceptor_ListMixin0: {"": "Interceptor+ListMixin;", $isList: true, $asList: n
ull}, | |
5617 | |
5618 Interceptor_ListMixin_ImmutableListMixin0: {"": "Interceptor_ListMixin0+Immutabl
eListMixin;", $asList: null, $isList: true}, | |
5619 | |
5620 _EventStream: {"": "Stream;_target,_eventType,_useCapture", | |
5621 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone,
onError) { | 5351 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone,
onError) { |
5622 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W.
_EventStreamSubscription__wrapZone(onData), this._useCapture); | 5352 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W.
_EventStreamSubscription__wrapZone(onData), this._useCapture); |
5623 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)]
); | 5353 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)]
); |
5624 t1._tryResume$0(); | 5354 t1._tryResume$0(); |
5625 return t1; | 5355 return t1; |
5626 }, | 5356 }, |
5627 listen$3$onDone$onError: function(onData, onDone, onError) { | 5357 listen$3$onDone$onError: function(onData, onDone, onError) { |
5628 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onEr
ror); | 5358 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onEr
ror); |
5629 }, | 5359 }, |
5630 $asStream: null | 5360 $asStream: null |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5670 _EventStreamSubscription__wrapZone: function(callback) { | 5400 _EventStreamSubscription__wrapZone: function(callback) { |
5671 if (J.$eq($.Zone__current, C._CustomizedZone_WYN)) | 5401 if (J.$eq($.Zone__current, C._CustomizedZone_WYN)) |
5672 return callback; | 5402 return callback; |
5673 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); | 5403 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); |
5674 }} | 5404 }} |
5675 | 5405 |
5676 }, | 5406 }, |
5677 | 5407 |
5678 EventStreamProvider: {"": "Object;_eventType"}, | 5408 EventStreamProvider: {"": "Object;_eventType"}, |
5679 | 5409 |
5680 ImmutableListMixin: {"": "Object;", | |
5681 get$iterator: function(receiver) { | |
5682 return W.FixedSizeListIterator$(receiver); | |
5683 }, | |
5684 $isList: true, | |
5685 $asList: null | |
5686 }, | |
5687 | |
5688 FixedSizeListIterator: {"": "Object;_array,_html$_length,_html$_position,_html$_
current", | |
5689 moveNext$0: function() { | |
5690 var nextPosition, t1; | |
5691 nextPosition = this._html$_position + 1; | |
5692 t1 = this._html$_length; | |
5693 if (nextPosition < t1) { | |
5694 this._html$_current = J.$index$asx(this._array, nextPosition); | |
5695 this._html$_position = nextPosition; | |
5696 return true; | |
5697 } | |
5698 this._html$_current = null; | |
5699 this._html$_position = t1; | |
5700 return false; | |
5701 }, | |
5702 get$current: function() { | |
5703 return this._html$_current; | |
5704 }, | |
5705 static: { | |
5706 FixedSizeListIterator$: function(array) { | |
5707 return new W.FixedSizeListIterator(array, J.get$length$asx(array), -1, null); | |
5708 }} | |
5709 | |
5710 }, | |
5711 | |
5712 _DOMWindowCrossFrame: {"": "Object;_window", | 5410 _DOMWindowCrossFrame: {"": "Object;_window", |
5713 get$parent: function(_) { | 5411 get$parent: function(_) { |
5714 return W._DOMWindowCrossFrame__createSafe(this._window.parent); | 5412 return W._DOMWindowCrossFrame__createSafe(this._window.parent); |
5715 }, | 5413 }, |
5716 static: { | 5414 static: { |
5717 _DOMWindowCrossFrame__createSafe: function(w) { | 5415 _DOMWindowCrossFrame__createSafe: function(w) { |
5718 if (w === window) | 5416 if (w === window) |
5719 return w; | 5417 return w; |
5720 else | 5418 else |
5721 return new W._DOMWindowCrossFrame(w); | 5419 return new W._DOMWindowCrossFrame(w); |
5722 }} | 5420 }} |
5723 | 5421 |
5724 }, | 5422 }, |
5725 | 5423 |
5726 HtmlElement: {"": "Element;"}, | 5424 HtmlElement: {"": "Element;"}, |
5727 | 5425 |
5728 AnchorElement: {"": "HtmlElement;", | 5426 AnchorElement: {"": "HtmlElement;", |
5729 toString$0: function(receiver) { | 5427 toString$0: function(receiver) { |
5730 return receiver.toString(); | 5428 return receiver.toString(); |
5731 } | 5429 } |
5732 }, | 5430 }, |
5733 | 5431 |
5734 CharacterData: {"": "Node;length="}, | 5432 ButtonElement: {"": "HtmlElement;value="}, |
5735 | 5433 |
5736 DomException: {"": "Interceptor;", | 5434 DomException: {"": "Interceptor;", |
5737 toString$0: function(receiver) { | 5435 toString$0: function(receiver) { |
5738 return receiver.toString(); | 5436 return receiver.toString(); |
5739 } | 5437 } |
5740 }, | 5438 }, |
5741 | 5439 |
5742 Element: {"": "Node;", | 5440 Element: {"": "Node;", |
5743 get$children: function(receiver) { | |
5744 return new W._ChildrenElementList(receiver, receiver.children); | |
5745 }, | |
5746 toString$0: function(receiver) { | 5441 toString$0: function(receiver) { |
5747 return receiver.localName; | 5442 return receiver.localName; |
5748 }, | 5443 } |
5749 $isElement: true | |
5750 }, | 5444 }, |
5751 | 5445 |
5752 Event: {"": "Interceptor;"}, | 5446 Event: {"": "Interceptor;", $isEvent: true}, |
5753 | 5447 |
5754 EventTarget: {"": "Interceptor;", | 5448 EventTarget: {"": "Interceptor;", |
5755 $$dom_addEventListener$3: function(receiver, type, listener, useCapture) { | 5449 $$dom_addEventListener$3: function(receiver, type, listener, useCapture) { |
5756 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1)
, useCapture); | 5450 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1)
, useCapture); |
5757 }, | 5451 }, |
5758 $$dom_removeEventListener$3: function(receiver, type, listener, useCapture) { | 5452 $$dom_removeEventListener$3: function(receiver, type, listener, useCapture) { |
5759 return receiver.removeEventListener(type, H.convertDartClosureToJS(listener,
1), useCapture); | 5453 return receiver.removeEventListener(type, H.convertDartClosureToJS(listener,
1), useCapture); |
5760 } | 5454 } |
5761 }, | 5455 }, |
5762 | 5456 |
5763 FormElement: {"": "HtmlElement;length="}, | 5457 FormElement: {"": "HtmlElement;length="}, |
5764 | 5458 |
5765 HtmlCollection: {"": "Interceptor_ListMixin_ImmutableListMixin;", | 5459 InputElement: {"": "HtmlElement;value="}, |
5766 get$length: function(receiver) { | |
5767 return receiver.length; | |
5768 }, | |
5769 $index: function(receiver, index) { | |
5770 var t1 = receiver.length; | |
5771 if (index >>> 0 !== index || index >= t1) | |
5772 throw H.wrapException(new P.RangeError("value " + H.S(index) + " not in ra
nge 0.." + t1)); | |
5773 return receiver[index]; | |
5774 }, | |
5775 $indexSet: function(receiver, index, value) { | |
5776 throw H.wrapException(new P.UnsupportedError("Cannot assign element of immut
able List.")); | |
5777 }, | |
5778 elementAt$1: function(receiver, index) { | |
5779 if (index < 0 || index >= receiver.length) | |
5780 throw H.ioore(receiver, index); | |
5781 return receiver[index]; | |
5782 }, | |
5783 $asList: function() { | |
5784 return [W.Node]; | |
5785 }, | |
5786 $isList: true, | |
5787 $isJavaScriptIndexingBehavior: true | |
5788 }, | |
5789 | 5460 |
5790 HttpRequest: {"": "XmlHttpRequestEventTarget;responseText=", | 5461 LIElement: {"": "HtmlElement;value="}, |
5791 open$5$async$password$user: function(receiver, method, url, async, password, u
ser) { | |
5792 return receiver.open(method, url, async, user, password); | |
5793 }, | |
5794 open$3$async: function($receiver, method, url, async) { | |
5795 return $receiver.open(method, url, async); | |
5796 }, | |
5797 $isHttpRequest: true | |
5798 }, | |
5799 | 5462 |
5800 InputElement: {"": "HtmlElement;", $isElement: true, $isNode: true}, | 5463 MeterElement: {"": "HtmlElement;value="}, |
5801 | |
5802 MouseEvent: {"": "UIEvent;", $isMouseEvent: true}, | |
5803 | 5464 |
5804 Node: {"": "EventTarget;parent:parentElement=", | 5465 Node: {"": "EventTarget;parent:parentElement=", |
5805 replaceWith$1: function(receiver, otherNode) { | |
5806 var $parent, exception; | |
5807 try { | |
5808 $parent = receiver.parentNode; | |
5809 J._replaceChild$2$x($parent, otherNode, receiver); | |
5810 } catch (exception) { | |
5811 H.unwrapException(exception); | |
5812 } | |
5813 | |
5814 return receiver; | |
5815 }, | |
5816 toString$0: function(receiver) { | 5466 toString$0: function(receiver) { |
5817 var t1 = receiver.nodeValue; | 5467 var t1 = receiver.nodeValue; |
5818 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver)
: t1; | 5468 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver)
: t1; |
5819 }, | 5469 } |
5820 _replaceChild$2: function(receiver, newChild, oldChild) { | |
5821 return receiver.replaceChild(newChild, oldChild); | |
5822 }, | |
5823 $isNode: true | |
5824 }, | 5470 }, |
5825 | 5471 |
5826 NodeList: {"": "Interceptor_ListMixin_ImmutableListMixin0;", | 5472 OptionElement: {"": "HtmlElement;value="}, |
5827 get$length: function(receiver) { | |
5828 return receiver.length; | |
5829 }, | |
5830 $index: function(receiver, index) { | |
5831 var t1 = receiver.length; | |
5832 if (index >>> 0 !== index || index >= t1) | |
5833 throw H.wrapException(new P.RangeError("value " + H.S(index) + " not in ra
nge 0.." + t1)); | |
5834 return receiver[index]; | |
5835 }, | |
5836 $indexSet: function(receiver, index, value) { | |
5837 throw H.wrapException(new P.UnsupportedError("Cannot assign element of immut
able List.")); | |
5838 }, | |
5839 elementAt$1: function(receiver, index) { | |
5840 if (index < 0 || index >= receiver.length) | |
5841 throw H.ioore(receiver, index); | |
5842 return receiver[index]; | |
5843 }, | |
5844 $asList: function() { | |
5845 return [W.Node]; | |
5846 }, | |
5847 $isList: true, | |
5848 $isJavaScriptIndexingBehavior: true | |
5849 }, | |
5850 | 5473 |
5851 ProgressEvent: {"": "Event;", $isProgressEvent: true}, | 5474 OutputElement: {"": "HtmlElement;value="}, |
5852 | 5475 |
5853 SelectElement: {"": "HtmlElement;length="}, | 5476 ParamElement: {"": "HtmlElement;value="}, |
5854 | 5477 |
5855 UIEvent: {"": "Event;"}, | 5478 ProgressElement: {"": "HtmlElement;value="}, |
| 5479 |
| 5480 SelectElement: {"": "HtmlElement;length=,value="}, |
| 5481 |
| 5482 TextAreaElement: {"": "HtmlElement;value="}, |
5856 | 5483 |
5857 Window: {"": "EventTarget;", | 5484 Window: {"": "EventTarget;", |
5858 get$parent: function(receiver) { | 5485 get$parent: function(receiver) { |
5859 return W._convertNativeToDart_Window(receiver.parent); | 5486 return W._convertNativeToDart_Window(receiver.parent); |
5860 }, | 5487 }, |
5861 toString$0: function(receiver) { | 5488 toString$0: function(receiver) { |
5862 return receiver.toString(); | 5489 return receiver.toString(); |
5863 } | 5490 } |
5864 }, | |
5865 | |
5866 XmlHttpRequestEventTarget: {"": "EventTarget;"}}], | |
5867 ["dart.dom.svg", "dart:svg", , P, { | |
5868 SvgElement: {"": "Element;", | |
5869 get$children: function(receiver) { | |
5870 var t1 = new P.FilteredElementList(receiver, new W._ChildNodeListLazy(receiv
er)); | |
5871 H.setRuntimeTypeInfo(t1, [W.Element]); | |
5872 return t1; | |
5873 } | |
5874 }}], | 5491 }}], |
5875 ["dart.isolate", "dart:isolate", , P, { | 5492 ["dart.isolate", "dart:isolate", , P, { |
5876 _Isolate_port: function() { | 5493 _Isolate_port: function() { |
5877 if ($.lazyPort == null) | 5494 if ($.lazyPort == null) |
5878 $.lazyPort = H.ReceivePortImpl$(); | 5495 $.lazyPort = H.ReceivePortImpl$(); |
5879 return $.lazyPort; | 5496 return $.lazyPort; |
5880 }, | 5497 }, |
5881 | 5498 |
5882 ReceivePort: {"": "Object;", $isReceivePort: true}}], | 5499 ReceivePort: {"": "Object;", $isReceivePort: true}}], |
5883 ["dart.typed_data", "dart:typed_data", , P, { | 5500 ["dart.typed_data", "dart:typed_data", , P, { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5928 if (index >>> 0 != index || J.$ge$n(index, t1)) | 5545 if (index >>> 0 != index || J.$ge$n(index, t1)) |
5929 this._invalidIndex$2(receiver, index, t1); | 5546 this._invalidIndex$2(receiver, index, t1); |
5930 receiver[index] = value; | 5547 receiver[index] = value; |
5931 }, | 5548 }, |
5932 $asList: function() { | 5549 $asList: function() { |
5933 return [J.JSInt]; | 5550 return [J.JSInt]; |
5934 }, | 5551 }, |
5935 $isList: true, | 5552 $isList: true, |
5936 $isJavaScriptIndexingBehavior: true | 5553 $isJavaScriptIndexingBehavior: true |
5937 }}], | 5554 }}], |
5938 ["html_common", "dart:html_common", , P, { | 5555 ["piratebadge.dart", "piratebadge.dart", , A, { |
5939 FilteredElementList: {"": "ListBase;_node,_childNodes", | 5556 main: function() { |
5940 get$_filtered: function() { | 5557 var t1, t2; |
5941 var t1 = this._childNodes; | 5558 $.inputNameElement = document.querySelector("#inputName"); |
5942 return P.List_List$from(t1.where$1(t1, new P.FilteredElementList__filtered_c
losure()), true, W.Element); | 5559 t1 = $.inputNameElement; |
5943 }, | 5560 t1.toString; |
5944 forEach$1: function(_, f) { | 5561 t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_change._eventType
, false); |
5945 H.IterableMixinWorkaround_forEach(this.get$_filtered(), f); | 5562 H.setRuntimeTypeInfo(t1, [null]); |
5946 }, | 5563 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._EventStre
amSubscription__wrapZone(A.generateBadge$closure), t1._useCapture); |
5947 $indexSet: function(_, index, value) { | 5564 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); |
5948 var t1 = this.get$_filtered(); | 5565 t2._tryResume$0(); |
5949 if (index >>> 0 !== index || index >= t1.length) | |
5950 throw H.ioore(t1, index); | |
5951 J.replaceWith$1$x(t1[index], value); | |
5952 }, | |
5953 add$1: function(_, value) { | |
5954 this._childNodes._this.appendChild(value); | |
5955 }, | |
5956 get$length: function(_) { | |
5957 return this.get$_filtered().length; | |
5958 }, | |
5959 $index: function(_, index) { | |
5960 var t1 = this.get$_filtered(); | |
5961 if (index >>> 0 !== index || index >= t1.length) | |
5962 throw H.ioore(t1, index); | |
5963 return t1[index]; | |
5964 }, | |
5965 get$iterator: function(_) { | |
5966 var t1 = this.get$_filtered(); | |
5967 return new H.ListIterator(t1, t1.length, 0, null); | |
5968 }, | |
5969 $asListBase: null, | |
5970 $asList: null | |
5971 }, | 5566 }, |
5972 | 5567 |
5973 FilteredElementList__filtered_closure: {"": "Closure;", | 5568 generateBadge: function($event) { |
5974 call$1: function(n) { | 5569 document.querySelector("#badgeName").textContent = J.get$value$x($.inputNameEl
ement); |
5975 var t1 = J.getInterceptor(n); | |
5976 return typeof n === "object" && n !== null && !!t1.$isElement; | |
5977 } | |
5978 }}], | |
5979 ["portmanteaux_simple.dart", "portmanteaux_simple.dart", , O, { | |
5980 main: function() { | |
5981 var t1, t2; | |
5982 t1 = document.querySelector("#getWords"); | |
5983 t1.toString; | |
5984 t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_click._eventType,
false); | |
5985 H.setRuntimeTypeInfo(t1, [null]); | |
5986 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._EventStre
amSubscription__wrapZone(O.makeRequest$closure), t1._useCapture); | |
5987 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); | |
5988 t2._tryResume$0(); | |
5989 $.wordList = document.querySelector("#wordList"); | |
5990 }, | |
5991 | |
5992 makeRequest: function(e) { | |
5993 W.HttpRequest_getString("portmanteaux_simple.json", null, null).then$1(O.proce
ssString$closure).catchError$1(O.handleError$closure); | |
5994 }, | |
5995 | |
5996 processString: function(jsonString) { | |
5997 var portmanteaux, i, t1, t2; | |
5998 portmanteaux = P._parseJson(jsonString, new P.JsonDecoder(null)._reviver); | |
5999 if (typeof portmanteaux !== "string" && (typeof portmanteaux !== "object" || p
ortmanteaux === null || portmanteaux.constructor !== Array && !H.isJsIndexable(p
ortmanteaux, portmanteaux[init.dispatchPropertyName]))) | |
6000 return O.processString$bailout(1, portmanteaux); | |
6001 for (i = 0; i < portmanteaux.length; ++i) { | |
6002 t1 = J.get$children$x($.wordList); | |
6003 t2 = document.createElement("li", null); | |
6004 if (i >= portmanteaux.length) | |
6005 throw H.ioore(portmanteaux, i); | |
6006 t2.textContent = portmanteaux[i]; | |
6007 t1.add$1(t1, t2); | |
6008 } | |
6009 }, | |
6010 | |
6011 processString$bailout: function(state0, portmanteaux) { | |
6012 var t1, i, t2, t3; | |
6013 t1 = J.getInterceptor$asx(portmanteaux); | |
6014 i = 0; | |
6015 while (true) { | |
6016 t2 = t1.get$length(portmanteaux); | |
6017 if (typeof t2 !== "number") | |
6018 throw H.iae(t2); | |
6019 if (!(i < t2)) | |
6020 break; | |
6021 t2 = J.get$children$x($.wordList); | |
6022 t3 = document.createElement("li", null); | |
6023 t3.textContent = t1.$index(portmanteaux, i); | |
6024 t2.add$1(t2, t3); | |
6025 ++i; | |
6026 } | |
6027 }, | |
6028 | |
6029 handleError: function(error) { | |
6030 var t1, t2; | |
6031 t1 = J.get$children$x($.wordList); | |
6032 t2 = document.createElement("li", null); | |
6033 t2.textContent = "Request failed."; | |
6034 t1.add$1(t1, t2); | |
6035 }}, | 5570 }}, |
6036 1], | 5571 1], |
6037 ]); | 5572 ]); |
6038 Isolate.$finishClasses($$, $, null); | 5573 Isolate.$finishClasses($$, $, null); |
6039 $$ = null; | 5574 $$ = null; |
6040 | 5575 |
6041 // Static function getters | 5576 // Static function getters |
6042 init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNat
ives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWo
rkerMessage, "IsolateNatives__processWorkerMessage$closure"); | 5577 init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNat
ives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWo
rkerMessage, "IsolateNatives__processWorkerMessage$closure"); |
6043 init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H
.Closure$0(H.toStringWrapper, "toStringWrapper$closure"); | 5578 init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H
.Closure$0(H.toStringWrapper, "toStringWrapper$closure"); |
6044 init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Clo
sure$7(H.invokeClosure, "invokeClosure$closure"); | 5579 init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Clo
sure$7(H.invokeClosure, "invokeClosure$closure"); |
(...skipping 15 matching lines...) Expand all Loading... |
6060 init.globalFunctions._rootRegisterCallback$closure = P._rootRegisterCallback$clo
sure = new P.Closure$4(P._rootRegisterCallback, "_rootRegisterCallback$closure")
; | 5595 init.globalFunctions._rootRegisterCallback$closure = P._rootRegisterCallback$clo
sure = new P.Closure$4(P._rootRegisterCallback, "_rootRegisterCallback$closure")
; |
6061 init.globalFunctions._rootRegisterUnaryCallback$closure = P._rootRegisterUnaryCa
llback$closure = new P.Closure$4(P._rootRegisterUnaryCallback, "_rootRegisterUna
ryCallback$closure"); | 5596 init.globalFunctions._rootRegisterUnaryCallback$closure = P._rootRegisterUnaryCa
llback$closure = new P.Closure$4(P._rootRegisterUnaryCallback, "_rootRegisterUna
ryCallback$closure"); |
6062 init.globalFunctions._rootScheduleMicrotask$closure = P._rootScheduleMicrotask$c
losure = new P.Closure$4(P._rootScheduleMicrotask, "_rootScheduleMicrotask$closu
re"); | 5597 init.globalFunctions._rootScheduleMicrotask$closure = P._rootScheduleMicrotask$c
losure = new P.Closure$4(P._rootScheduleMicrotask, "_rootScheduleMicrotask$closu
re"); |
6063 init.globalFunctions._rootCreateTimer$closure = P._rootCreateTimer$closure = new
P.Closure$5(P._rootCreateTimer, "_rootCreateTimer$closure"); | 5598 init.globalFunctions._rootCreateTimer$closure = P._rootCreateTimer$closure = new
P.Closure$5(P._rootCreateTimer, "_rootCreateTimer$closure"); |
6064 init.globalFunctions._rootCreatePeriodicTimer$closure = P._rootCreatePeriodicTim
er$closure = new P.Closure$5(P._rootCreatePeriodicTimer, "_rootCreatePeriodicTim
er$closure"); | 5599 init.globalFunctions._rootCreatePeriodicTimer$closure = P._rootCreatePeriodicTim
er$closure = new P.Closure$5(P._rootCreatePeriodicTimer, "_rootCreatePeriodicTim
er$closure"); |
6065 init.globalFunctions._rootFork$closure = P._rootFork$closure = new P.Closure$5(P
._rootFork, "_rootFork$closure"); | 5600 init.globalFunctions._rootFork$closure = P._rootFork$closure = new P.Closure$5(P
._rootFork, "_rootFork$closure"); |
6066 init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.C
losure$2(P._defaultEquals, "_defaultEquals$closure"); | 5601 init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.C
losure$2(P._defaultEquals, "_defaultEquals$closure"); |
6067 init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new
H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure"); | 5602 init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new
H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure"); |
6068 init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P
.identical, "identical$closure"); | 5603 init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P
.identical, "identical$closure"); |
6069 init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new
H.Closure$1(P.identityHashCode, "identityHashCode$closure"); | 5604 init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new
H.Closure$1(P.identityHashCode, "identityHashCode$closure"); |
6070 init.globalFunctions.main$closure = O.main$closure = new H.Closure$0(O.main, "ma
in$closure"); | 5605 init.globalFunctions.main$closure = A.main$closure = new H.Closure$0(A.main, "ma
in$closure"); |
6071 init.globalFunctions.makeRequest$closure = O.makeRequest$closure = new H.Closure
$1(O.makeRequest, "makeRequest$closure"); | 5606 init.globalFunctions.generateBadge$closure = A.generateBadge$closure = new H.Clo
sure$1(A.generateBadge, "generateBadge$closure"); |
6072 init.globalFunctions.processString$closure = O.processString$closure = new H.Clo
sure$1(O.processString, "processString$closure"); | |
6073 init.globalFunctions.handleError$closure = O.handleError$closure = new H.Closure
$1(O.handleError, "handleError$closure"); | |
6074 // Runtime type support | 5607 // Runtime type support |
6075 J.JSInt.$isint = true; | 5608 J.JSInt.$isint = true; |
6076 J.JSInt.$isObject = true; | 5609 J.JSInt.$isObject = true; |
6077 W.Node.$isObject = true; | |
6078 J.JSString.$isString = true; | 5610 J.JSString.$isString = true; |
6079 J.JSString.$isObject = true; | 5611 J.JSString.$isObject = true; |
6080 J.JSNumber.$isObject = true; | 5612 J.JSNumber.$isObject = true; |
6081 P.Duration.$isDuration = true; | 5613 P.Duration.$isDuration = true; |
6082 P.Duration.$isObject = true; | 5614 P.Duration.$isObject = true; |
6083 W.Element.$isObject = true; | 5615 W.Event.$isEvent = true; |
6084 P.Object.$isObject = true; | 5616 W.Event.$isObject = true; |
6085 W.MouseEvent.$isEvent = true; | |
6086 W.MouseEvent.$isObject = true; | |
6087 P.Symbol.$isSymbol = true; | 5617 P.Symbol.$isSymbol = true; |
6088 P.Symbol.$isObject = true; | 5618 P.Symbol.$isObject = true; |
6089 W.HttpRequest.$isObject = true; | |
6090 W.ProgressEvent.$isEvent = true; | |
6091 W.ProgressEvent.$isObject = true; | |
6092 P.ReceivePort.$isObject = true; | 5619 P.ReceivePort.$isObject = true; |
6093 H._IsolateEvent.$isObject = true; | 5620 H._IsolateEvent.$isObject = true; |
6094 H._IsolateContext.$isObject = true; | 5621 H._IsolateContext.$isObject = true; |
6095 J.JSArray.$isObject = true; | 5622 J.JSArray.$isObject = true; |
6096 P.Future.$isFuture = true; | 5623 P.Future.$isFuture = true; |
6097 P.Future.$isObject = true; | 5624 P.Future.$isObject = true; |
6098 W.Event.$isEvent = true; | 5625 P.Object.$isObject = true; |
6099 W.Event.$isObject = true; | |
6100 P.Zone.$isZone = true; | 5626 P.Zone.$isZone = true; |
6101 P.Zone.$isObject = true; | 5627 P.Zone.$isObject = true; |
6102 P.ZoneDelegate.$isZoneDelegate = true; | 5628 P.ZoneDelegate.$isZoneDelegate = true; |
6103 P.ZoneDelegate.$isObject = true; | 5629 P.ZoneDelegate.$isObject = true; |
6104 P.Timer.$isTimer = true; | 5630 P.Timer.$isTimer = true; |
6105 P.Timer.$isObject = true; | 5631 P.Timer.$isObject = true; |
6106 P.ZoneSpecification.$isZoneSpecification = true; | 5632 P.ZoneSpecification.$isZoneSpecification = true; |
6107 P.ZoneSpecification.$isObject = true; | 5633 P.ZoneSpecification.$isObject = true; |
6108 P.Map.$isMap = true; | 5634 P.Map.$isMap = true; |
6109 P.Map.$isObject = true; | 5635 P.Map.$isObject = true; |
6110 P.Function.$isFunction = true; | 5636 P.Function.$isFunction = true; |
6111 P.Function.$isObject = true; | 5637 P.Function.$isObject = true; |
6112 J.JSBool.$isbool = true; | 5638 J.JSBool.$isbool = true; |
6113 J.JSBool.$isObject = true; | 5639 J.JSBool.$isObject = true; |
6114 P.Error.$isError = true; | |
6115 P.Error.$isObject = true; | |
6116 P.StackTrace.$isStackTrace = true; | 5640 P.StackTrace.$isStackTrace = true; |
6117 P.StackTrace.$isObject = true; | 5641 P.StackTrace.$isObject = true; |
6118 P._EventSink.$is_EventSink = true; | 5642 P._EventSink.$is_EventSink = true; |
6119 P._EventSink.$isObject = true; | 5643 P._EventSink.$isObject = true; |
6120 // getInterceptor methods | 5644 // getInterceptor methods |
6121 J.getInterceptor = function(receiver) { | 5645 J.getInterceptor = function(receiver) { |
6122 if (typeof receiver == "number") { | 5646 if (typeof receiver == "number") { |
6123 if (Math.floor(receiver) == receiver) | 5647 if (Math.floor(receiver) == receiver) |
6124 return J.JSInt.prototype; | 5648 return J.JSInt.prototype; |
6125 return J.JSDouble.prototype; | 5649 return J.JSDouble.prototype; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6186 if (typeof receiver != "object") | 5710 if (typeof receiver != "object") |
6187 return receiver; | 5711 return receiver; |
6188 if (receiver instanceof P.Object) | 5712 if (receiver instanceof P.Object) |
6189 return receiver; | 5713 return receiver; |
6190 return J.getNativeInterceptor(receiver); | 5714 return J.getNativeInterceptor(receiver); |
6191 }; | 5715 }; |
6192 C.C_CloseToken = new H.CloseToken(); | 5716 C.C_CloseToken = new H.CloseToken(); |
6193 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); | 5717 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); |
6194 C.C__DelayedDone = new P._DelayedDone(); | 5718 C.C__DelayedDone = new P._DelayedDone(); |
6195 C.Duration_0 = new P.Duration(0); | 5719 C.Duration_0 = new P.Duration(0); |
6196 C.EventStreamProvider_click = new W.EventStreamProvider("click"); | 5720 C.EventStreamProvider_change = new W.EventStreamProvider("change"); |
6197 C.EventStreamProvider_error = new W.EventStreamProvider("error"); | |
6198 C.EventStreamProvider_load = new W.EventStreamProvider("load"); | |
6199 C.HttpRequest_methods = W.HttpRequest.prototype; | |
6200 C.JSArray_methods = J.JSArray.prototype; | 5721 C.JSArray_methods = J.JSArray.prototype; |
6201 C.JSInt_methods = J.JSInt.prototype; | 5722 C.JSInt_methods = J.JSInt.prototype; |
6202 C.JSNumber_methods = J.JSNumber.prototype; | 5723 C.JSNumber_methods = J.JSNumber.prototype; |
6203 C.JSString_methods = J.JSString.prototype; | 5724 C.JSString_methods = J.JSString.prototype; |
6204 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" &&
"system" in os) | 5725 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" &&
"system" in os) |
6205 || (typeof navigator == "object" | 5726 || (typeof navigator == "object" |
6206 && navigator.userAgent.indexOf('Chrome') != -1)) | 5727 && navigator.userAgent.indexOf('Chrome') != -1)) |
6207 ? function(x) { return x.$dartCachedLength || x.length; } | 5728 ? function(x) { return x.$dartCachedLength || x.length; } |
6208 : function(x) { return x.length; }; | 5729 : function(x) { return x.length; }; |
6209 ; | 5730 ; |
6210 Isolate.makeConstantList = function(list) { | 5731 Isolate.makeConstantList = function(list) { |
6211 list.immutable$list = true; | 5732 list.immutable$list = true; |
6212 list.fixed$length = true; | 5733 list.fixed$length = true; |
6213 return list; | 5734 return list; |
6214 }; | 5735 }; |
6215 C.List_empty = Isolate.makeConstantList([]); | 5736 C.List_empty = Isolate.makeConstantList([]); |
6216 C.NodeList_methods = W.NodeList.prototype; | |
6217 C._ZoneSpecification_eDx = new P._ZoneSpecification(P._rootHandleUncaughtError$c
losure, P._rootRun$closure, P._rootRunUnary$closure, P._rootRegisterCallback$clo
sure, P._rootRegisterUnaryCallback$closure, P._rootScheduleMicrotask$closure, P.
_rootCreateTimer$closure, P._rootCreatePeriodicTimer$closure, P._rootFork$closur
e); | 5737 C._ZoneSpecification_eDx = new P._ZoneSpecification(P._rootHandleUncaughtError$c
losure, P._rootRun$closure, P._rootRunUnary$closure, P._rootRegisterCallback$clo
sure, P._rootRegisterUnaryCallback$closure, P._rootScheduleMicrotask$closure, P.
_rootCreateTimer$closure, P._rootCreatePeriodicTimer$closure, P._rootFork$closur
e); |
6218 C.List_empty0 = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.Symbol]); | 5738 C.List_empty0 = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.Symbol]); |
6219 C.Map_empty = H.setRuntimeTypeInfo(new H.ConstantStringMap(0, {}, C.List_empty0)
, [P.Symbol, null]); | 5739 C.Map_empty = H.setRuntimeTypeInfo(new H.ConstantStringMap(0, {}, C.List_empty0)
, [P.Symbol, null]); |
6220 C._CustomizedZone_WYN = new P._CustomizedZone(null, C._ZoneSpecification_eDx, C.
Map_empty); | 5740 C._CustomizedZone_WYN = new P._CustomizedZone(null, C._ZoneSpecification_eDx, C.
Map_empty); |
6221 C._ZoneSpecification_eLJ = new P._ZoneSpecification(null, null, null, null, null
, null, null, null, null); | 5741 C._ZoneSpecification_eLJ = new P._ZoneSpecification(null, null, null, null, null
, null, null, null, null); |
6222 $.lazyPort = null; | 5742 $.lazyPort = null; |
6223 $.ReceivePortImpl__nextFreeId = 1; | 5743 $.ReceivePortImpl__nextFreeId = 1; |
6224 $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; | 5744 $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; |
6225 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; | 5745 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; |
6226 $.interceptorsByTag = null; | 5746 $.interceptorsByTag = null; |
6227 $.leafTags = null; | 5747 $.leafTags = null; |
6228 $.interceptorToTag = null; | 5748 $.interceptorToTag = null; |
6229 $._callbacksAreEnqueued = false; | 5749 $._callbacksAreEnqueued = false; |
6230 $.Zone__current = C._CustomizedZone_WYN; | 5750 $.Zone__current = C._CustomizedZone_WYN; |
6231 $.Expando__keyCount = 0; | 5751 $.Expando__keyCount = 0; |
6232 $.Device__isOpera = null; | 5752 $.Device__isOpera = null; |
6233 $.Device__isWebKit = null; | 5753 $.Device__isWebKit = null; |
6234 $.wordList = null; | 5754 $.inputNameElement = null; |
6235 J.$$dom_addEventListener$3$x = function(receiver, a0, a1, a2) { | 5755 J.$$dom_addEventListener$3$x = function(receiver, a0, a1, a2) { |
6236 return J.getInterceptor$x(receiver).$$dom_addEventListener$3(receiver, a0, a1,
a2); | 5756 return J.getInterceptor$x(receiver).$$dom_addEventListener$3(receiver, a0, a1,
a2); |
6237 }; | 5757 }; |
6238 J.$$dom_removeEventListener$3$x = function(receiver, a0, a1, a2) { | 5758 J.$$dom_removeEventListener$3$x = function(receiver, a0, a1, a2) { |
6239 return J.getInterceptor$x(receiver).$$dom_removeEventListener$3(receiver, a0,
a1, a2); | 5759 return J.getInterceptor$x(receiver).$$dom_removeEventListener$3(receiver, a0,
a1, a2); |
6240 }; | 5760 }; |
6241 J.$eq = function(receiver, a0) { | 5761 J.$eq = function(receiver, a0) { |
6242 if (receiver == null) | 5762 if (receiver == null) |
6243 return a0 == null; | 5763 return a0 == null; |
6244 if (typeof receiver != "object") | 5764 if (typeof receiver != "object") |
6245 return a0 != null && receiver === a0; | 5765 return a0 != null && receiver === a0; |
6246 return J.getInterceptor(receiver).$eq(receiver, a0); | 5766 return J.getInterceptor(receiver).$eq(receiver, a0); |
6247 }; | 5767 }; |
6248 J.$ge$n = function(receiver, a0) { | 5768 J.$ge$n = function(receiver, a0) { |
6249 if (typeof receiver == "number" && typeof a0 == "number") | 5769 if (typeof receiver == "number" && typeof a0 == "number") |
6250 return receiver >= a0; | 5770 return receiver >= a0; |
6251 return J.getInterceptor$n(receiver).$ge(receiver, a0); | 5771 return J.getInterceptor$n(receiver).$ge(receiver, a0); |
6252 }; | 5772 }; |
6253 J.$index$asx = function(receiver, a0) { | 5773 J.$index$asx = function(receiver, a0) { |
6254 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde
xable(receiver, receiver[init.dispatchPropertyName])) | 5774 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde
xable(receiver, receiver[init.dispatchPropertyName])) |
6255 if (a0 >>> 0 === a0 && a0 < receiver.length) | 5775 if (a0 >>> 0 === a0 && a0 < receiver.length) |
6256 return receiver[a0]; | 5776 return receiver[a0]; |
6257 return J.getInterceptor$asx(receiver).$index(receiver, a0); | 5777 return J.getInterceptor$asx(receiver).$index(receiver, a0); |
6258 }; | 5778 }; |
6259 J.$indexSet$ax = function(receiver, a0, a1) { | 5779 J.$indexSet$ax = function(receiver, a0, a1) { |
6260 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.
dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r
eceiver.length) | 5780 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.
dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r
eceiver.length) |
6261 return receiver[a0] = a1; | 5781 return receiver[a0] = a1; |
6262 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); | 5782 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); |
6263 }; | 5783 }; |
6264 J._replaceChild$2$x = function(receiver, a0, a1) { | |
6265 return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); | |
6266 }; | |
6267 J.elementAt$1$ax = function(receiver, a0) { | 5784 J.elementAt$1$ax = function(receiver, a0) { |
6268 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); | 5785 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); |
6269 }; | 5786 }; |
6270 J.forEach$1$ax = function(receiver, a0) { | 5787 J.forEach$1$ax = function(receiver, a0) { |
6271 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); | 5788 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); |
6272 }; | 5789 }; |
6273 J.get$children$x = function(receiver) { | |
6274 return J.getInterceptor$x(receiver).get$children(receiver); | |
6275 }; | |
6276 J.get$hashCode$ = function(receiver) { | 5790 J.get$hashCode$ = function(receiver) { |
6277 return J.getInterceptor(receiver).get$hashCode(receiver); | 5791 return J.getInterceptor(receiver).get$hashCode(receiver); |
6278 }; | 5792 }; |
6279 J.get$iterator$ax = function(receiver) { | 5793 J.get$iterator$ax = function(receiver) { |
6280 return J.getInterceptor$ax(receiver).get$iterator(receiver); | 5794 return J.getInterceptor$ax(receiver).get$iterator(receiver); |
6281 }; | 5795 }; |
6282 J.get$length$asx = function(receiver) { | 5796 J.get$length$asx = function(receiver) { |
6283 return J.getInterceptor$asx(receiver).get$length(receiver); | 5797 return J.getInterceptor$asx(receiver).get$length(receiver); |
6284 }; | 5798 }; |
6285 J.get$responseText$x = function(receiver) { | 5799 J.get$value$x = function(receiver) { |
6286 return J.getInterceptor$x(receiver).get$responseText(receiver); | 5800 return J.getInterceptor$x(receiver).get$value(receiver); |
6287 }; | 5801 }; |
6288 J.map$1$ax = function(receiver, a0) { | 5802 J.map$1$ax = function(receiver, a0) { |
6289 return J.getInterceptor$ax(receiver).map$1(receiver, a0); | 5803 return J.getInterceptor$ax(receiver).map$1(receiver, a0); |
6290 }; | 5804 }; |
6291 J.replaceWith$1$x = function(receiver, a0) { | |
6292 return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); | |
6293 }; | |
6294 J.send$2$x = function(receiver, a0, a1) { | |
6295 return J.getInterceptor$x(receiver).send$2(receiver, a0, a1); | |
6296 }; | |
6297 J.toString$0 = function(receiver) { | 5805 J.toString$0 = function(receiver) { |
6298 return J.getInterceptor(receiver).toString$0(receiver); | 5806 return J.getInterceptor(receiver).toString$0(receiver); |
6299 }; | 5807 }; |
6300 $.mapTypeToInterceptor = []; | 5808 $.mapTypeToInterceptor = []; |
6301 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { | 5809 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { |
6302 return function() { return this; }(); | 5810 return function() { return this; }(); |
6303 }); | 5811 }); |
6304 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function()
{ | 5812 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function()
{ |
6305 return $.get$globalThis().window; | 5813 return $.get$globalThis().window; |
6306 }); | 5814 }); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6360 }); | 5868 }); |
6361 Isolate.$lazy($, "_toStringList", "ListMixin__toStringList", "get$ListMixin__toS
tringList", function() { | 5869 Isolate.$lazy($, "_toStringList", "ListMixin__toStringList", "get$ListMixin__toS
tringList", function() { |
6362 return P.List_List(null, null); | 5870 return P.List_List(null, null); |
6363 }); | 5871 }); |
6364 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList"
, function() { | 5872 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList"
, function() { |
6365 return P.List_List(null, null); | 5873 return P.List_List(null, null); |
6366 }); | 5874 }); |
6367 // Native classes | 5875 // Native classes |
6368 H.defineNativeMethods("DOMError|FileError|MediaError|MediaKeyError|Navigator|Nav
igatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList", J.Intercepto
r); | 5876 H.defineNativeMethods("DOMError|FileError|MediaError|MediaKeyError|Navigator|Nav
igatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList", J.Intercepto
r); |
6369 | 5877 |
6370 H.defineNativeMethods("HTMLAppletElement|HTMLAreaElement|HTMLAudioElement|HTMLBR
Element|HTMLBaseElement|HTMLBaseFontElement|HTMLBodyElement|HTMLButtonElement|HT
MLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDeta
ilsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElemen
t|HTMLFieldSetElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLH
RElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HT
MLImageElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElemen
t|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMediaElement|HTMLMenuEle
ment|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObject
Element|HTMLOptGroupElement|HTMLOptionElement|HTMLOutputElement|HTMLParagraphEle
ment|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLSc
riptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement
|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataC
ellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLT
ableSectionElement|HTMLTemplateElement|HTMLTextAreaElement|HTMLTitleElement|HTML
TrackElement|HTMLUListElement|HTMLUnknownElement|HTMLVideoElement", W.HtmlElemen
t); | 5878 H.defineNativeMethods("HTMLAppletElement|HTMLAreaElement|HTMLAudioElement|HTMLBR
Element|HTMLBaseElement|HTMLBaseFontElement|HTMLBodyElement|HTMLCanvasElement|HT
MLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDia
logElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFieldSetElem
ent|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadE
lement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTM
LKeygenElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement
|HTMLMarqueeElement|HTMLMediaElement|HTMLMenuElement|HTMLMetaElement|HTMLModElem
ent|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLParagraphElement|
HTMLPreElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSourceEl
ement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElem
ent|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeade
rCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTM
LTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement|HTMLVideoElem
ent", W.HtmlElement); |
6371 | 5879 |
6372 H.defineNativeMethodsNonleaf("HTMLElement", W.HtmlElement); | 5880 H.defineNativeMethodsNonleaf("HTMLElement", W.HtmlElement); |
6373 | 5881 |
6374 H.defineNativeMethods("HTMLAnchorElement", W.AnchorElement); | 5882 H.defineNativeMethods("HTMLAnchorElement", W.AnchorElement); |
6375 | 5883 |
6376 H.defineNativeMethods("CDATASection|CharacterData|Comment|ProcessingInstruction|
Text", W.CharacterData); | 5884 H.defineNativeMethods("HTMLButtonElement", W.ButtonElement); |
6377 | 5885 |
6378 H.defineNativeMethods("DOMException", W.DomException); | 5886 H.defineNativeMethods("DOMException", W.DomException); |
6379 | 5887 |
| 5888 H.defineNativeMethods("SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphElement|SVGA
ltGlyphItemElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElem
ent|SVGAnimateTransformElement|SVGAnimationElement|SVGCircleElement|SVGClipPathE
lement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDefsElement|SVGDe
scElement|SVGElement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement
|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|
SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement
|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SV
GFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVG
FEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|S
VGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETi
leElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElem
ent|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFon
tFaceUriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefE
lement|SVGGradientElement|SVGGraphicsElement|SVGHKernElement|SVGImageElement|SVG
LineElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskEle
ment|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|
SVGPolygonElement|SVGPolylineElement|SVGRadialGradientElement|SVGRectElement|SVG
SVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStyleElement|SVGSwit
chElement|SVGSymbolElement|SVGTRefElement|SVGTSpanElement|SVGTextContentElement|
SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGTitleElement|SVGU
seElement|SVGVKernElement|SVGViewElement", W.Element); |
| 5889 |
6380 H.defineNativeMethodsNonleaf("Element", W.Element); | 5890 H.defineNativeMethodsNonleaf("Element", W.Element); |
6381 | 5891 |
6382 H.defineNativeMethods("AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEve
nt|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientati
onEvent|ErrorEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MID
IMessageEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStream
Event|MediaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEve
nt|OverflowEvent|PageTransitionEvent|PopStateEvent|RTCDTMFToneChangeEvent|RTCDat
aChannelEvent|RTCIceCandidateEvent|SecurityPolicyViolationEvent|SpeechInputEvent
|SpeechRecognitionError|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent
|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransit
ionEvent", W.Event); | 5892 H.defineNativeMethods("AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEve
nt|CSSFontFaceLoadEvent|CloseEvent|CompositionEvent|CustomEvent|DeviceMotionEven
t|DeviceOrientationEvent|DragEvent|ErrorEvent|Event|FocusEvent|HashChangeEvent|I
DBVersionChangeEvent|KeyboardEvent|MIDIConnectionEvent|MIDIMessageEvent|MSPointe
rEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|M
ediaStreamTrackEvent|MessageEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|Mu
tationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|Pointe
rEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RT
CIceCandidateEvent|ResourceProgressEvent|SVGZoomEvent|SecurityPolicyViolationEve
nt|SpeechInputEvent|SpeechRecognitionError|SpeechRecognitionEvent|SpeechSynthesi
sEvent|StorageEvent|TextEvent|TouchEvent|TrackEvent|TransitionEvent|UIEvent|WebG
LContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|WheelEvent|XMLHttpReque
stProgressEvent", W.Event); |
6383 | |
6384 H.defineNativeMethodsNonleaf("Event", W.Event); | |
6385 | 5893 |
6386 H.defineNativeMethodsNonleaf("EventTarget", W.EventTarget); | 5894 H.defineNativeMethodsNonleaf("EventTarget", W.EventTarget); |
6387 | 5895 |
6388 H.defineNativeMethods("HTMLFormElement", W.FormElement); | 5896 H.defineNativeMethods("HTMLFormElement", W.FormElement); |
6389 | 5897 |
6390 H.defineNativeMethods("HTMLCollection|HTMLFormControlsCollection|HTMLOptionsColl
ection", W.HtmlCollection); | |
6391 | |
6392 H.defineNativeMethods("XMLHttpRequest", W.HttpRequest); | |
6393 | |
6394 H.defineNativeMethods("HTMLInputElement", W.InputElement); | 5898 H.defineNativeMethods("HTMLInputElement", W.InputElement); |
6395 | 5899 |
6396 H.defineNativeMethods("DragEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|Mous
eWheelEvent|PointerEvent|WheelEvent", W.MouseEvent); | 5900 H.defineNativeMethods("HTMLLIElement", W.LIElement); |
6397 | 5901 |
6398 H.defineNativeMethods("Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDo
cument|Notation|SVGDocument|ShadowRoot", W.Node); | 5902 H.defineNativeMethods("HTMLMeterElement", W.MeterElement); |
| 5903 |
| 5904 H.defineNativeMethods("Document|HTMLDocument", W.Node); |
6399 | 5905 |
6400 H.defineNativeMethodsNonleaf("Node", W.Node); | 5906 H.defineNativeMethodsNonleaf("Node", W.Node); |
6401 | 5907 |
6402 H.defineNativeMethods("NodeList|RadioNodeList", W.NodeList); | 5908 H.defineNativeMethods("HTMLOptionElement", W.OptionElement); |
6403 | 5909 |
6404 H.defineNativeMethods("ProgressEvent|ResourceProgressEvent|XMLHttpRequestProgres
sEvent", W.ProgressEvent); | 5910 H.defineNativeMethods("HTMLOutputElement", W.OutputElement); |
| 5911 |
| 5912 H.defineNativeMethods("HTMLParamElement", W.ParamElement); |
| 5913 |
| 5914 H.defineNativeMethods("HTMLProgressElement", W.ProgressElement); |
6405 | 5915 |
6406 H.defineNativeMethods("HTMLSelectElement", W.SelectElement); | 5916 H.defineNativeMethods("HTMLSelectElement", W.SelectElement); |
6407 | 5917 |
6408 H.defineNativeMethods("CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomEvent|Te
xtEvent|TouchEvent", W.UIEvent); | 5918 H.defineNativeMethods("HTMLTextAreaElement", W.TextAreaElement); |
6409 | |
6410 H.defineNativeMethodsNonleaf("UIEvent", W.UIEvent); | |
6411 | 5919 |
6412 H.defineNativeMethods("DOMWindow|Window", W.Window); | 5920 H.defineNativeMethods("DOMWindow|Window", W.Window); |
6413 | 5921 |
6414 H.defineNativeMethodsNonleaf("XMLHttpRequestEventTarget", W.XmlHttpRequestEventT
arget); | |
6415 | |
6416 H.defineNativeMethods("SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphElement|SVGA
ltGlyphItemElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElem
ent|SVGAnimateTransformElement|SVGAnimationElement|SVGCircleElement|SVGClipPathE
lement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDefsElement|SVGDe
scElement|SVGElement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement
|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|
SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement
|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SV
GFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVG
FEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|S
VGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETi
leElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElem
ent|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFon
tFaceUriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefE
lement|SVGGradientElement|SVGGraphicsElement|SVGHKernElement|SVGImageElement|SVG
LineElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskEle
ment|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|
SVGPolygonElement|SVGPolylineElement|SVGRadialGradientElement|SVGRectElement|SVG
SVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStyleElement|SVGSwit
chElement|SVGSymbolElement|SVGTRefElement|SVGTSpanElement|SVGTextContentElement|
SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGTitleElement|SVGU
seElement|SVGVKernElement|SVGViewElement", P.SvgElement); | |
6417 | |
6418 H.defineNativeMethodsExtended("ArrayBufferView", P.TypedData, [P.TypedData_ListM
ixin, P.TypedData_ListMixin_FixedLengthListMixin]); | 5922 H.defineNativeMethodsExtended("ArrayBufferView", P.TypedData, [P.TypedData_ListM
ixin, P.TypedData_ListMixin_FixedLengthListMixin]); |
6419 | 5923 |
6420 H.defineNativeMethodsNonleaf("Uint8Array", P.Uint8List); | 5924 H.defineNativeMethodsNonleaf("Uint8Array", P.Uint8List); |
6421 | 5925 |
6422 | 5926 |
6423 init.functionAliases = {}; | 5927 init.functionAliases = {}; |
6424 ; | 5928 ; |
6425 init.metadata = []; | 5929 init.metadata = []; |
6426 $ = null; | 5930 $ = null; |
6427 Isolate = Isolate.$finishIsolateConstructor(Isolate); | 5931 Isolate = Isolate.$finishIsolateConstructor(Isolate); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6485 } | 5989 } |
6486 callback(event.target); | 5990 callback(event.target); |
6487 } | 5991 } |
6488 for (var i = 0; i < scripts.length; ++i) { | 5992 for (var i = 0; i < scripts.length; ++i) { |
6489 scripts[i].addEventListener("load", onLoad, false); | 5993 scripts[i].addEventListener("load", onLoad, false); |
6490 } | 5994 } |
6491 })(function(currentScript) { | 5995 })(function(currentScript) { |
6492 init.currentScript = currentScript; | 5996 init.currentScript = currentScript; |
6493 | 5997 |
6494 if (typeof dartMainRunner === "function") { | 5998 if (typeof dartMainRunner === "function") { |
6495 dartMainRunner(function() { H.startRootIsolate(O.main$closure); }); | 5999 dartMainRunner(function() { H.startRootIsolate(A.main$closure); }); |
6496 } else { | 6000 } else { |
6497 H.startRootIsolate(O.main$closure); | 6001 H.startRootIsolate(A.main$closure); |
6498 } | 6002 } |
6499 }); | 6003 }); |
6500 // END invoke [main]. | 6004 // END invoke [main]. |
6501 function init() { | 6005 function init() { |
6502 Isolate.$isolateProperties = {}; | 6006 Isolate.$isolateProperties = {}; |
6503 function generateAccessor(field, accessors, cls) { | 6007 function generateAccessor(field, accessors, cls) { |
6504 var len = field.length; | 6008 var len = field.length; |
6505 var code = field.charCodeAt(len - 1); | 6009 var code = field.charCodeAt(len - 1); |
6506 var reflectable = false; | 6010 var reflectable = false; |
6507 if (code == 45) { | 6011 if (code == 45) { |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6714 Isolate.prototype = oldIsolate.prototype; | 6218 Isolate.prototype = oldIsolate.prototype; |
6715 Isolate.prototype.constructor = Isolate; | 6219 Isolate.prototype.constructor = Isolate; |
6716 Isolate.$isolateProperties = isolateProperties; | 6220 Isolate.$isolateProperties = isolateProperties; |
6717 Isolate.$finishClasses = oldIsolate.$finishClasses; | 6221 Isolate.$finishClasses = oldIsolate.$finishClasses; |
6718 Isolate.makeConstantList = oldIsolate.makeConstantList; | 6222 Isolate.makeConstantList = oldIsolate.makeConstantList; |
6719 return Isolate; | 6223 return Isolate; |
6720 }; | 6224 }; |
6721 } | 6225 } |
6722 })() | 6226 })() |
6723 | 6227 |
6724 //# sourceMappingURL=portmanteaux_simple.dart.js.map | 6228 //# sourceMappingURL=piratebadge.dart.js.map |
6725 //@ sourceMappingURL=portmanteaux_simple.dart.js.map | 6229 //@ sourceMappingURL=piratebadge.dart.js.map |
OLD | NEW |