diff --git a/.build.manifest b/.build.manifest new file mode 100644 index 0000000..837f820 --- /dev/null +++ b/.build.manifest @@ -0,0 +1,39 @@ +.dart_tool/package_config.json +.packages +favicon.ico +index.html +main.dart.js +packages/$sdk/dev_compiler/amd/require.js +packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js +packages/_fe_analyzer_shared/src/parser/parser.md +packages/analyzer/fix_data.yaml +packages/analyzer/src/summary/format.fbs +packages/build_runner/src/server/README.md +packages/build_runner/src/server/build_updates_client/live_reload_client.js +packages/build_runner/src/server/graph_viz.html +packages/build_runner/src/server/graph_viz.js +packages/build_runner/src/server/graph_viz_main.dart.js +packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js +packages/node_preamble/preamble.js +packages/node_preamble/preamble.min.js +packages/pedantic/analysis_options.1.0.0.yaml +packages/pedantic/analysis_options.1.1.0.yaml +packages/pedantic/analysis_options.1.11.0.yaml +packages/pedantic/analysis_options.1.2.0.yaml +packages/pedantic/analysis_options.1.3.0.yaml +packages/pedantic/analysis_options.1.4.0.yaml +packages/pedantic/analysis_options.1.5.0.yaml +packages/pedantic/analysis_options.1.6.0.yaml +packages/pedantic/analysis_options.1.7.0.yaml +packages/pedantic/analysis_options.1.8.0.yaml +packages/pedantic/analysis_options.1.9.0.yaml +packages/pedantic/analysis_options.yaml +packages/test/dart.js +packages/test/src/runner/browser/static/default.html.tpl +packages/test/src/runner/browser/static/favicon.ico +packages/test/src/runner/browser/static/host.css +packages/test/src/runner/browser/static/host.dart.js +packages/test/src/runner/browser/static/index.html +packages/test/src/runner/wasm/static/default.html.tpl +packages/test/src/runner/wasm/static/run_wasm_chrome.js +styles.css \ No newline at end of file diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json new file mode 100644 index 0000000..b0ad2a6 --- /dev/null +++ b/.dart_tool/package_config.json @@ -0,0 +1 @@ +{"configVersion":2,"packages":[{"name":"_fe_analyzer_shared","rootUri":"../packages/_fe_analyzer_shared","packageUri":"","languageVersion":"3.0"},{"name":"analyzer","rootUri":"../packages/analyzer","packageUri":"","languageVersion":"3.0"},{"name":"archive","rootUri":"../packages/archive","packageUri":"","languageVersion":"2.12"},{"name":"args","rootUri":"../packages/args","packageUri":"","languageVersion":"2.19"},{"name":"async","rootUri":"../packages/async","packageUri":"","languageVersion":"2.18"},{"name":"bazel_worker","rootUri":"../packages/bazel_worker","packageUri":"","languageVersion":"2.19"},{"name":"boolean_selector","rootUri":"../packages/boolean_selector","packageUri":"","languageVersion":"2.17"},{"name":"build","rootUri":"../packages/build","packageUri":"","languageVersion":"2.19"},{"name":"build_config","rootUri":"../packages/build_config","packageUri":"","languageVersion":"2.14"},{"name":"build_daemon","rootUri":"../packages/build_daemon","packageUri":"","languageVersion":"3.0"},{"name":"build_modules","rootUri":"../packages/build_modules","packageUri":"","languageVersion":"3.0"},{"name":"build_resolvers","rootUri":"../packages/build_resolvers","packageUri":"","languageVersion":"3.0"},{"name":"build_runner","rootUri":"../packages/build_runner","packageUri":"","languageVersion":"3.0"},{"name":"build_runner_core","rootUri":"../packages/build_runner_core","packageUri":"","languageVersion":"2.19"},{"name":"build_web_compilers","rootUri":"../packages/build_web_compilers","packageUri":"","languageVersion":"3.1"},{"name":"built_collection","rootUri":"../packages/built_collection","packageUri":"","languageVersion":"2.12"},{"name":"built_value","rootUri":"../packages/built_value","packageUri":"","languageVersion":"2.12"},{"name":"checked_yaml","rootUri":"../packages/checked_yaml","packageUri":"","languageVersion":"2.19"},{"name":"code_builder","rootUri":"../packages/code_builder","packageUri":"","languageVersion":"3.0"},{"name":"collection","rootUri":"../packages/collection","packageUri":"","languageVersion":"2.18"},{"name":"convert","rootUri":"../packages/convert","packageUri":"","languageVersion":"2.18"},{"name":"coverage","rootUri":"../packages/coverage","packageUri":"","languageVersion":"3.0"},{"name":"crypto","rootUri":"../packages/crypto","packageUri":"","languageVersion":"2.19"},{"name":"dart_style","rootUri":"../packages/dart_style","packageUri":"","languageVersion":"3.0"},{"name":"events2","rootUri":"../packages/events2","packageUri":"","languageVersion":"2.12"},{"name":"file","rootUri":"../packages/file","packageUri":"","languageVersion":"3.0"},{"name":"fixnum","rootUri":"../packages/fixnum","packageUri":"","languageVersion":"2.19"},{"name":"frontend_server_client","rootUri":"../packages/frontend_server_client","packageUri":"","languageVersion":"2.12"},{"name":"glob","rootUri":"../packages/glob","packageUri":"","languageVersion":"2.19"},{"name":"graphs","rootUri":"../packages/graphs","packageUri":"","languageVersion":"2.18"},{"name":"http","rootUri":"../packages/http","packageUri":"","languageVersion":"2.19"},{"name":"http_multi_server","rootUri":"../packages/http_multi_server","packageUri":"","languageVersion":"2.12"},{"name":"http_parser","rootUri":"../packages/http_parser","packageUri":"","languageVersion":"2.12"},{"name":"import_sorter","rootUri":"../packages/import_sorter","packageUri":"","languageVersion":"2.12"},{"name":"io","rootUri":"../packages/io","packageUri":"","languageVersion":"2.12"},{"name":"js","rootUri":"../packages/js","packageUri":"","languageVersion":"2.19"},{"name":"json_annotation","rootUri":"../packages/json_annotation","packageUri":"","languageVersion":"2.19"},{"name":"logging","rootUri":"../packages/logging","packageUri":"","languageVersion":"2.19"},{"name":"matcher","rootUri":"../packages/matcher","packageUri":"","languageVersion":"2.18"},{"name":"meta","rootUri":"../packages/meta","packageUri":"","languageVersion":"2.12"},{"name":"mime","rootUri":"../packages/mime","packageUri":"","languageVersion":"2.18"},{"name":"node_preamble","rootUri":"../packages/node_preamble","packageUri":"","languageVersion":"2.12"},{"name":"package_config","rootUri":"../packages/package_config","packageUri":"","languageVersion":"2.12"},{"name":"path","rootUri":"../packages/path","packageUri":"","languageVersion":"2.12"},{"name":"pedantic","rootUri":"../packages/pedantic","packageUri":"","languageVersion":"2.12"},{"name":"pointycastle","rootUri":"../packages/pointycastle","packageUri":"","languageVersion":"2.14"},{"name":"pool","rootUri":"../packages/pool","packageUri":"","languageVersion":"2.12"},{"name":"protobuf","rootUri":"../packages/protobuf","packageUri":"","languageVersion":"2.19"},{"name":"protoo_client","rootUri":"../packages/protoo_client","packageUri":"","languageVersion":"2.12"},{"name":"pub_semver","rootUri":"../packages/pub_semver","packageUri":"","languageVersion":"2.17"},{"name":"pubspec_parse","rootUri":"../packages/pubspec_parse","packageUri":"","languageVersion":"2.18"},{"name":"retry","rootUri":"../packages/retry","packageUri":"","languageVersion":"3.0"},{"name":"scratch_space","rootUri":"../packages/scratch_space","packageUri":"","languageVersion":"2.19"},{"name":"shelf","rootUri":"../packages/shelf","packageUri":"","languageVersion":"2.17"},{"name":"shelf_packages_handler","rootUri":"../packages/shelf_packages_handler","packageUri":"","languageVersion":"2.17"},{"name":"shelf_static","rootUri":"../packages/shelf_static","packageUri":"","languageVersion":"2.17"},{"name":"shelf_web_socket","rootUri":"../packages/shelf_web_socket","packageUri":"","languageVersion":"2.17"},{"name":"source_map_stack_trace","rootUri":"../packages/source_map_stack_trace","packageUri":"","languageVersion":"2.12"},{"name":"source_maps","rootUri":"../packages/source_maps","packageUri":"","languageVersion":"2.18"},{"name":"source_span","rootUri":"../packages/source_span","packageUri":"","languageVersion":"2.18"},{"name":"stack_trace","rootUri":"../packages/stack_trace","packageUri":"","languageVersion":"2.18"},{"name":"stream_channel","rootUri":"../packages/stream_channel","packageUri":"","languageVersion":"2.19"},{"name":"stream_transform","rootUri":"../packages/stream_transform","packageUri":"","languageVersion":"2.14"},{"name":"string_scanner","rootUri":"../packages/string_scanner","packageUri":"","languageVersion":"2.18"},{"name":"term_glyph","rootUri":"../packages/term_glyph","packageUri":"","languageVersion":"2.12"},{"name":"test","rootUri":"../packages/test","packageUri":"","languageVersion":"3.0"},{"name":"test_api","rootUri":"../packages/test_api","packageUri":"","languageVersion":"3.0"},{"name":"test_core","rootUri":"../packages/test_core","packageUri":"","languageVersion":"3.0"},{"name":"timing","rootUri":"../packages/timing","packageUri":"","languageVersion":"2.14"},{"name":"tint","rootUri":"../packages/tint","packageUri":"","languageVersion":"2.18"},{"name":"typed_data","rootUri":"../packages/typed_data","packageUri":"","languageVersion":"2.17"},{"name":"vm_service","rootUri":"../packages/vm_service","packageUri":"","languageVersion":"3.0"},{"name":"watcher","rootUri":"../packages/watcher","packageUri":"","languageVersion":"3.0"},{"name":"web_socket_channel","rootUri":"../packages/web_socket_channel","packageUri":"","languageVersion":"2.15"},{"name":"webkit_inspection_protocol","rootUri":"../packages/webkit_inspection_protocol","packageUri":"","languageVersion":"3.0"},{"name":"yaml","rootUri":"../packages/yaml","packageUri":"","languageVersion":"2.19"},{"name":"dart_video_element_flicker_test","rootUri":"../","packageUri":"packages/dart_video_element_flicker_test","languageVersion":"2.13"}],"generated":"2023-11-27T03:29:08.516343Z","generator":"pub","generatorVersion":"3.2.1"} \ No newline at end of file diff --git a/.packages b/.packages new file mode 100644 index 0000000..b3f9e0a --- /dev/null +++ b/.packages @@ -0,0 +1,78 @@ +_fe_analyzer_shared:packages/_fe_analyzer_shared/ +analyzer:packages/analyzer/ +archive:packages/archive/ +args:packages/args/ +async:packages/async/ +bazel_worker:packages/bazel_worker/ +boolean_selector:packages/boolean_selector/ +build:packages/build/ +build_config:packages/build_config/ +build_daemon:packages/build_daemon/ +build_modules:packages/build_modules/ +build_resolvers:packages/build_resolvers/ +build_runner:packages/build_runner/ +build_runner_core:packages/build_runner_core/ +build_web_compilers:packages/build_web_compilers/ +built_collection:packages/built_collection/ +built_value:packages/built_value/ +checked_yaml:packages/checked_yaml/ +code_builder:packages/code_builder/ +collection:packages/collection/ +convert:packages/convert/ +coverage:packages/coverage/ +crypto:packages/crypto/ +dart_style:packages/dart_style/ +dart_video_element_flicker_test:packages/dart_video_element_flicker_test/ +events2:packages/events2/ +file:packages/file/ +fixnum:packages/fixnum/ +frontend_server_client:packages/frontend_server_client/ +glob:packages/glob/ +graphs:packages/graphs/ +http:packages/http/ +http_multi_server:packages/http_multi_server/ +http_parser:packages/http_parser/ +import_sorter:packages/import_sorter/ +io:packages/io/ +js:packages/js/ +json_annotation:packages/json_annotation/ +logging:packages/logging/ +matcher:packages/matcher/ +meta:packages/meta/ +mime:packages/mime/ +node_preamble:packages/node_preamble/ +package_config:packages/package_config/ +path:packages/path/ +pedantic:packages/pedantic/ +pointycastle:packages/pointycastle/ +pool:packages/pool/ +protobuf:packages/protobuf/ +protoo_client:packages/protoo_client/ +pub_semver:packages/pub_semver/ +pubspec_parse:packages/pubspec_parse/ +retry:packages/retry/ +scratch_space:packages/scratch_space/ +shelf:packages/shelf/ +shelf_packages_handler:packages/shelf_packages_handler/ +shelf_static:packages/shelf_static/ +shelf_web_socket:packages/shelf_web_socket/ +source_map_stack_trace:packages/source_map_stack_trace/ +source_maps:packages/source_maps/ +source_span:packages/source_span/ +stack_trace:packages/stack_trace/ +stream_channel:packages/stream_channel/ +stream_transform:packages/stream_transform/ +string_scanner:packages/string_scanner/ +term_glyph:packages/term_glyph/ +test:packages/test/ +test_api:packages/test_api/ +test_core:packages/test_core/ +timing:packages/timing/ +tint:packages/tint/ +typed_data:packages/typed_data/ +vm_service:packages/vm_service/ +watcher:packages/watcher/ +web_socket_channel:packages/web_socket_channel/ +webkit_inspection_protocol:packages/webkit_inspection_protocol/ +yaml:packages/yaml/ +$sdk:packages/$sdk/ \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..7ba349b Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..de10f52 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ + + + + + + + + + dart_webrtc + + + + + + +
+ + +
+
+
+ + diff --git a/main.dart.js b/main.dart.js new file mode 100644 index 0000000..748e1e5 --- /dev/null +++ b/main.dart.js @@ -0,0 +1,2850 @@ +(function dartProgram(){function copyProperties(a,b){var s=Object.keys(a) +for(var r=0;r=0)return true +if(typeof version=="function"&&version.length==0){var q=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() +function inherit(a,b){a.prototype.constructor=a +a.prototype["$i"+a.name]=a +if(b!=null){if(z){Object.setPrototypeOf(a.prototype,b.prototype) +return}var s=Object.create(b.prototype) +copyProperties(a.prototype,s) +a.prototype=s}}function inheritMany(a,b){for(var s=0;s"))}, +dk(a,b){a.fixed$length=Array +return a}, +a6(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.ap.prototype +return J.b6.prototype}if(typeof a=="string")return J.a8.prototype +if(a==null)return J.aq.prototype +if(typeof a=="boolean")return J.b5.prototype +if(Array.isArray(a))return J.t.prototype +if(typeof a!="object"){if(typeof a=="function")return J.H.prototype +if(typeof a=="symbol")return J.aa.prototype +if(typeof a=="bigint")return J.a9.prototype +return a}if(a instanceof A.i)return a +return J.cy(a)}, +e_(a){if(typeof a=="string")return J.a8.prototype +if(a==null)return a +if(Array.isArray(a))return J.t.prototype +if(typeof a!="object"){if(typeof a=="function")return J.H.prototype +if(typeof a=="symbol")return J.aa.prototype +if(typeof a=="bigint")return J.a9.prototype +return a}if(a instanceof A.i)return a +return J.cy(a)}, +d1(a){if(a==null)return a +if(Array.isArray(a))return J.t.prototype +if(typeof a!="object"){if(typeof a=="function")return J.H.prototype +if(typeof a=="symbol")return J.aa.prototype +if(typeof a=="bigint")return J.a9.prototype +return a}if(a instanceof A.i)return a +return J.cy(a)}, +cx(a){if(a==null)return a +if(typeof a!="object"){if(typeof a=="function")return J.H.prototype +if(typeof a=="symbol")return J.aa.prototype +if(typeof a=="bigint")return J.a9.prototype +return a}if(a instanceof A.i)return a +return J.cy(a)}, +eh(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.a6(a).E(a,b)}, +ei(a,b){if(typeof b==="number")if(Array.isArray(a)||A.fV(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b=s)return A.bM(b,s,a,r) +return new A.ax(null,null,!0,b,r,"Value not in range")}, +d(a){return A.e1(new Error(),a)}, +e1(a,b){var s +if(b==null)b=new A.K() +a.dartException=b +s=A.h8 +if("defineProperty" in Object){Object.defineProperty(a,"message",{get:s}) +a.name=""}else a.toString=s +return a}, +h8(){return J.aU(this.dartException)}, +d6(a){throw A.d(a)}, +h6(a,b){throw A.e1(b,a)}, +h4(a){throw A.d(A.b0(a))}, +L(a){var s,r,q,p,o,n +a=A.h2(a.replace(String({}),"$receiver$")) +s=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(s==null)s=A.aQ([],t.s) +r=s.indexOf("\\$arguments\\$") +q=s.indexOf("\\$argumentsExpr\\$") +p=s.indexOf("\\$expr\\$") +o=s.indexOf("\\$method\\$") +n=s.indexOf("\\$receiver\\$") +return new A.bV(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, +bW(a){return function($expr$){var $argumentsExpr$="$arguments$" +try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, +du(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +cL(a,b){var s=b==null,r=s?null:b.method +return new A.b9(a,r,s?null:b.receiver)}, +Y(a){var s +if(a==null)return new A.bR(a) +if(a instanceof A.an){s=a.a +return A.X(a,s==null?t.K.a(s):s)}if(typeof a!=="object")return a +if("dartException" in a)return A.X(a,a.dartException) +return A.fD(a)}, +X(a,b){if(t.Q.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +return b}, +fD(a){var s,r,q,p,o,n,m,l,k,j,i,h,g +if(!("message" in a))return a +s=a.message +if("number" in a&&typeof a.number=="number"){r=a.number +q=r&65535 +if((B.p.am(r,16)&8191)===10)switch(q){case 438:return A.X(a,A.cL(A.o(s)+" (Error "+q+")",null)) +case 445:case 5007:A.o(s) +return A.X(a,new A.aw())}}if(a instanceof TypeError){p=$.e7() +o=$.e8() +n=$.e9() +m=$.ea() +l=$.ed() +k=$.ee() +j=$.ec() +$.eb() +i=$.eg() +h=$.ef() +g=p.u(s) +if(g!=null)return A.X(a,A.cL(A.bD(s),g)) +else{g=o.u(s) +if(g!=null){g.method="call" +return A.X(a,A.cL(A.bD(s),g))}else if(n.u(s)!=null||m.u(s)!=null||l.u(s)!=null||k.u(s)!=null||j.u(s)!=null||m.u(s)!=null||i.u(s)!=null||h.u(s)!=null){A.bD(s) +return A.X(a,new A.aw())}}return A.X(a,new A.bj(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.ay() +s=function(b){try{return String(b)}catch(f){}return null}(a) +return A.X(a,new A.P(!1,null,null,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new A.ay() +return a}, +W(a){var s +if(a instanceof A.an)return a.b +if(a==null)return new A.aI(a) +s=a.$cachedTrace +if(s!=null)return s +s=new A.aI(a) +if(typeof a==="object")a.$cachedTrace=s +return s}, +h_(a){if(a==null)return J.cI(a) +if(typeof a=="object")return A.bc(a) +return J.cI(a)}, +fN(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f=a.length +for(s=b.$ti,r=s.c,s=s.z[1],q=0;q"]=l +delete l[""] +b.b=l +m=l}k=m[o] +if(k==null)m[o]=b.H(o,n) +else k.b=n}else if(typeof o=="number"&&(o&0x3fffffff)===o){j=b.c +if(j==null){l=Object.create(null) +l[""]=l +delete l[""] +b.c=l +j=l}k=j[o] +if(k==null)j[o]=b.H(o,n) +else k.b=n}else{i=b.d +if(i==null){l=Object.create(null) +l[""]=l +delete l[""] +b.d=l +i=l}h=J.cI(o)&1073741823 +g=i[h] +if(g==null)i[h]=[b.H(o,n)] +else{p=b.ap(g,o) +if(p>=0)g[p].b=n +else g.push(b.H(o,n))}}}return b}, +fi(a,b,c,d,e,f){t.Z.a(a) +switch(A.bC(b)){case 0:return a.$0() +case 1:return a.$1(c) +case 2:return a.$2(c,d) +case 3:return a.$3(c,d,e) +case 4:return a.$4(c,d,e,f)}throw A.d(new A.c1("Unsupported number of arguments for wrapped closure"))}, +ah(a,b){var s +if(a==null)return null +s=a.$identity +if(!!s)return s +s=A.fK(a,b) +a.$identity=s +return s}, +fK(a,b){var s +switch(b){case 0:s=a.$0 +break +case 1:s=a.$1 +break +case 2:s=a.$2 +break +case 3:s=a.$3 +break +case 4:s=a.$4 +break +default:s=null}if(s!=null)return s.bind(a) +return function(c,d,e){return function(f,g,h,i){return e(c,d,f,g,h,i)}}(a,b,A.fi)}, +eu(a2){var s,r,q,p,o,n,m,l,k,j,i=a2.co,h=a2.iS,g=a2.iI,f=a2.nDA,e=a2.aI,d=a2.fs,c=a2.cs,b=d[0],a=c[0],a0=i[b],a1=a2.fT +a1.toString +s=h?Object.create(new A.bf().constructor.prototype):Object.create(new A.a7(null,null).constructor.prototype) +s.$initialize=s.constructor +if(h)r=function static_tear_off(){this.$initialize()} +else r=function tear_off(a3,a4){this.$initialize(a3,a4)} +s.constructor=r +r.prototype=s +s.$_name=b +s.$_target=a0 +q=!h +if(q)p=A.dh(b,a0,g,f) +else{s.$static_name=b +p=a0}s.$S=A.eq(a1,h,g) +s[a]=p +for(o=p,n=1;n=0)p+=" "+r[q];++q}return p+"})"}, +dM(a4,a5,a6){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=", " +if(a6!=null){s=a6.length +if(a5==null){a5=A.aQ([],t.s) +r=null}else r=a5.length +q=a5.length +for(p=s;p>0;--p)B.a.q(a5,"T"+(q+p)) +for(o=t.X,n=t._,m="<",l="",p=0;p=0))return A.x(a5,j) +m=B.q.a9(m+l,a5[j]) +i=a6[p] +h=i.x +if(!(h===2||h===3||h===4||h===5||i===o))if(!(i===n))k=!1 +else k=!0 +else k=!0 +if(!k)m+=" extends "+A.u(i,a5)}m+=">"}else{m="" +r=null}o=a4.y +g=a4.z +f=g.a +e=f.length +d=g.b +c=d.length +b=g.c +a=b.length +a0=A.u(o,a5) +for(a1="",a2="",p=0;p0){a1+=a2+"[" +for(a2="",p=0;p0){a1+=a2+"{" +for(a2="",p=0;p "+a0}, +u(a,b){var s,r,q,p,o,n,m,l=a.x +if(l===5)return"erased" +if(l===2)return"dynamic" +if(l===3)return"void" +if(l===1)return"Never" +if(l===4)return"any" +if(l===6){s=A.u(a.y,b) +return s}if(l===7){r=a.y +s=A.u(r,b) +q=r.x +return(q===12||q===13?"("+s+")":s)+"?"}if(l===8)return"FutureOr<"+A.u(a.y,b)+">" +if(l===9){p=A.fC(a.y) +o=a.z +return o.length>0?p+("<"+A.dS(o,b)+">"):p}if(l===11)return A.fu(a,b) +if(l===12)return A.dM(a,b,null) +if(l===13)return A.dM(a.y,b,a.z) +if(l===14){n=a.y +m=b.length +n=m-1-n +if(!(n>=0&&n0)p+="<"+A.aK(c)+">" +s=a.eC.get(p) +if(s!=null)return s +r=new A.A(null,null) +r.x=9 +r.y=b +r.z=c +if(c.length>0)r.c=c[0] +r.at=p +q=A.M(a,r) +a.eC.set(p,q) +return q}, +cQ(a,b,c){var s,r,q,p,o,n +if(b.x===10){s=b.y +r=b.z.concat(c)}else{r=c +s=b}q=s.at+(";<"+A.aK(r)+">") +p=a.eC.get(q) +if(p!=null)return p +o=new A.A(null,null) +o.x=10 +o.y=s +o.z=r +o.at=q +n=A.M(a,o) +a.eC.set(q,n) +return n}, +f0(a,b,c){var s,r,q="+"+(b+"("+A.aK(c)+")"),p=a.eC.get(q) +if(p!=null)return p +s=new A.A(null,null) +s.x=11 +s.y=b +s.z=c +s.at=q +r=A.M(a,s) +a.eC.set(q,r) +return r}, +dE(a,b,c){var s,r,q,p,o,n=b.at,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+A.aK(m) +if(j>0){s=l>0?",":"" +g+=s+"["+A.aK(k)+"]"}if(h>0){s=l>0?",":"" +g+=s+"{"+A.eV(i)+"}"}r=n+(g+")") +q=a.eC.get(r) +if(q!=null)return q +p=new A.A(null,null) +p.x=12 +p.y=b +p.z=c +p.at=r +o=A.M(a,p) +a.eC.set(r,o) +return o}, +cR(a,b,c,d){var s,r=b.at+("<"+A.aK(c)+">"),q=a.eC.get(r) +if(q!=null)return q +s=A.eX(a,b,c,r,d) +a.eC.set(r,s) +return s}, +eX(a,b,c,d,e){var s,r,q,p,o,n,m,l +if(e){s=c.length +r=A.cm(s) +for(q=0,p=0;p0){n=A.V(a,b,r,0) +m=A.aR(a,c,r,0) +return A.cR(a,n,m,c!==m)}}l=new A.A(null,null) +l.x=13 +l.y=b +l.z=c +l.at=d +return A.M(a,l)}, +dA(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +dC(a){var s,r,q,p,o,n,m,l=a.r,k=a.s +for(s=l.length,r=0;r=48&&q<=57)r=A.eO(r+1,q,l,k) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.dB(a,r,l,k,!1) +else if(q===46)r=A.dB(a,r,l,k,!0) +else{++r +switch(q){case 44:break +case 58:k.push(!1) +break +case 33:k.push(!0) +break +case 59:k.push(A.U(a.u,a.e,k.pop())) +break +case 94:k.push(A.f_(a.u,k.pop())) +break +case 35:k.push(A.aM(a.u,5,"#")) +break +case 64:k.push(A.aM(a.u,2,"@")) +break +case 126:k.push(A.aM(a.u,3,"~")) +break +case 60:k.push(a.p) +a.p=k.length +break +case 62:A.eQ(a,k) +break +case 38:A.eP(a,k) +break +case 42:p=a.u +k.push(A.dG(p,A.U(p,a.e,k.pop()),a.n)) +break +case 63:p=a.u +k.push(A.cS(p,A.U(p,a.e,k.pop()),a.n)) +break +case 47:p=a.u +k.push(A.dF(p,A.U(p,a.e,k.pop()),a.n)) +break +case 40:k.push(-3) +k.push(a.p) +a.p=k.length +break +case 41:A.eN(a,k) +break +case 91:k.push(a.p) +a.p=k.length +break +case 93:o=k.splice(a.p) +A.dD(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-1) +break +case 123:k.push(a.p) +a.p=k.length +break +case 125:o=k.splice(a.p) +A.eS(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-2) +break +case 43:n=l.indexOf("(",r) +k.push(l.substring(r,n)) +k.push(-4) +k.push(a.p) +a.p=k.length +r=n+1 +break +default:throw"Bad character "+q}}}m=k.pop() +return A.U(a.u,a.e,m)}, +eO(a,b,c,d){var s,r,q=b-48 +for(s=c.length;a=48&&r<=57))break +q=q*10+(r-48)}d.push(q) +return a}, +dB(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +for(s=c.length;m>>0)-97&65535)<26||r===95||r===36||r===124))q=r>=48&&r<=57 +else q=!0 +if(!q)break}}p=c.substring(b,m) +if(e){s=a.u +o=a.e +if(o.x===10)o=o.y +n=A.f4(s,o.y)[p] +if(n==null)A.d6('No "'+p+'" in "'+A.eF(o)+'"') +d.push(A.cl(s,o,n))}else d.push(p) +return m}, +eQ(a,b){var s,r=a.u,q=A.dz(a,b),p=b.pop() +if(typeof p=="string")b.push(A.aL(r,p,q)) +else{s=A.U(r,a.e,p) +switch(s.x){case 12:b.push(A.cR(r,s,q,a.n)) +break +default:b.push(A.cQ(r,s,q)) +break}}}, +eN(a,b){var s,r,q,p,o,n=null,m=a.u,l=b.pop() +if(typeof l=="number")switch(l){case-1:s=b.pop() +r=n +break +case-2:r=b.pop() +s=n +break +default:b.push(l) +r=n +s=r +break}else{b.push(l) +r=n +s=r}q=A.dz(a,b) +l=b.pop() +switch(l){case-3:l=b.pop() +if(s==null)s=m.sEA +if(r==null)r=m.sEA +p=A.U(m,a.e,l) +o=new A.bu() +o.a=q +o.b=s +o.c=r +b.push(A.dE(m,p,o)) +return +case-4:b.push(A.f0(m,b.pop(),q)) +return +default:throw A.d(A.aX("Unexpected state under `()`: "+A.o(l)))}}, +eP(a,b){var s=b.pop() +if(0===s){b.push(A.aM(a.u,1,"0&")) +return}if(1===s){b.push(A.aM(a.u,4,"1&")) +return}throw A.d(A.aX("Unexpected extended operation "+A.o(s)))}, +dz(a,b){var s=b.splice(a.p) +A.dD(a.u,a.e,s) +a.p=b.pop() +return s}, +U(a,b,c){if(typeof c=="string")return A.aL(a,c,a.sEA) +else if(typeof c=="number"){b.toString +return A.eR(a,b,c)}else return c}, +dD(a,b,c){var s,r=c.length +for(s=0;sn)return!1 +m=n-o +l=s.b +k=r.b +j=l.length +i=k.length +if(o+j=d)return!1 +a1=f[b] +b+=3 +if(a00?new Array(q):v.typeUniverse.sEA +for(o=0;o0?new Array(a):v.typeUniverse.sEA}, +A:function A(a,b){var _=this +_.a=a +_.b=b +_.w=_.r=_.e=_.d=_.c=null +_.x=0 +_.at=_.as=_.Q=_.z=_.y=null}, +bu:function bu(){this.c=this.b=this.a=null}, +cj:function cj(a){this.a=a}, +bt:function bt(){}, +aJ:function aJ(a){this.a=a}, +eI(){var s,r,q={} +if(self.scheduleImmediate!=null)return A.fG() +if(self.MutationObserver!=null&&self.document!=null){s=self.document.createElement("div") +r=self.document.createElement("span") +q.a=null +new self.MutationObserver(A.ah(new A.bY(q),1)).observe(s,{childList:true}) +return new A.bX(q,s,r)}else if(self.setImmediate!=null)return A.fH() +return A.fI()}, +eJ(a){self.scheduleImmediate(A.ah(new A.bZ(t.M.a(a)),0))}, +eK(a){self.setImmediate(A.ah(new A.c_(t.M.a(a)),0))}, +eL(a){t.M.a(a) +A.eT(0,a)}, +eT(a,b){var s=new A.ch() +s.ag(a,b) +return s}, +cZ(a){return new A.bm(new A.l($.j,a.h("l<0>")),a.h("bm<0>"))}, +cV(a,b){a.$2(0,null) +b.b=!0 +return b.a}, +f9(a,b){A.fa(a,b)}, +cU(a,b){b.R(0,a)}, +cT(a,b){b.S(A.Y(a),A.W(a))}, +fa(a,b){var s,r,q=new A.cn(b),p=new A.co(b) +if(a instanceof A.l)a.a1(q,p,t.z) +else{s=t.z +if(a instanceof A.l)a.V(q,p,s) +else{r=new A.l($.j,t.c) +r.a=8 +r.c=a +r.a1(q,p,s)}}}, +d_(a){var s=function(b,c){return function(d,e){while(true)try{b(d,e) +break}catch(r){e=r +d=c}}}(a,1) +return $.j.a8(new A.cu(s),t.H,t.S,t.z)}, +bH(a,b){var s=A.bF(a,"error",t.K) +return new A.al(s,b==null?A.dc(a):b)}, +dc(a){var s +if(t.Q.b(a)){s=a.gK() +if(s!=null)return s}return B.n}, +dy(a,b){var s,r,q +for(s=t.c;r=a.a,(r&4)!==0;)a=s.a(a.c) +if((r&24)!==0){q=b.I() +b.F(a) +A.ad(b,q)}else{q=t.F.a(b.c) +b.a0(a) +a.P(q)}}, +eM(a,b){var s,r,q,p={},o=p.a=a +for(s=t.c;r=o.a,(r&4)!==0;o=a){a=s.a(o.c) +p.a=a}if((r&24)===0){q=t.F.a(b.c) +b.a0(o) +p.a.P(q) +return}if((r&16)===0&&b.c==null){b.F(o) +return}b.a^=2 +A.a5(null,null,b.b,t.M.a(new A.c5(p,b)))}, +ad(a,a0){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c={},b=c.a=a +for(s=t.n,r=t.F,q=t.d;!0;){p={} +o=b.a +n=(o&16)===0 +m=!n +if(a0==null){if(m&&(o&1)===0){l=s.a(b.c) +A.cs(l.a,l.b)}return}p.a=a0 +k=a0.a +for(b=a0;k!=null;b=k,k=j){b.a=null +A.ad(c.a,b) +p.a=k +j=k.a}o=c.a +i=o.c +p.b=m +p.c=i +if(n){h=b.c +h=(h&1)!==0||(h&15)===8}else h=!0 +if(h){g=b.b.b +if(m){o=o.b===g +o=!(o||o)}else o=!1 +if(o){s.a(i) +A.cs(i.a,i.b) +return}f=$.j +if(f!==g)$.j=g +else f=null +b=b.c +if((b&15)===8)new A.cc(p,c,m).$0() +else if(n){if((b&1)!==0)new A.cb(p,i).$0()}else if((b&2)!==0)new A.ca(c,p).$0() +if(f!=null)$.j=f +b=p.c +if(b instanceof A.l){o=p.a.$ti +o=o.h("B<2>").b(b)||!o.z[1].b(b)}else o=!1 +if(o){q.a(b) +e=p.a.b +if((b.a&24)!==0){d=r.a(e.c) +e.c=null +a0=e.J(d) +e.a=b.a&30|e.a&1 +e.c=b.c +c.a=b +continue}else A.dy(b,e) +return}}e=p.a.b +d=r.a(e.c) +e.c=null +a0=e.J(d) +b=p.b +o=p.c +if(!b){e.$ti.c.a(o) +e.a=8 +e.c=o}else{s.a(o) +e.a=e.a&1|16 +e.c=o}c.a=e +b=e}}, +fv(a,b){var s +if(t.C.b(a))return b.a8(a,t.z,t.K,t.l) +s=t.v +if(s.b(a))return s.a(a) +throw A.d(A.db(a,"onError",u.c))}, +ft(){var s,r +for(s=$.ae;s!=null;s=$.ae){$.aP=null +r=s.b +$.ae=r +if(r==null)$.aO=null +s.a.$0()}}, +fy(){$.cX=!0 +try{A.ft()}finally{$.aP=null +$.cX=!1 +if($.ae!=null)$.d7().$1(A.dV())}}, +dT(a){var s=new A.bn(a),r=$.aO +if(r==null){$.ae=$.aO=s +if(!$.cX)$.d7().$1(A.dV())}else $.aO=r.b=s}, +fx(a){var s,r,q,p=$.ae +if(p==null){A.dT(a) +$.aP=$.aO +return}s=new A.bn(a) +r=$.aP +if(r==null){s.b=p +$.ae=$.aP=s}else{q=r.b +s.b=q +$.aP=r.b=s +if(q==null)$.aO=s}}, +h3(a){var s,r=null,q=$.j +if(B.b===q){A.a5(r,r,B.b,a) +return}s=!1 +if(s){A.a5(r,r,q,t.M.a(a)) +return}A.a5(r,r,q,t.M.a(q.a2(a)))}, +hp(a,b){A.bF(a,"stream",t.K) +return new A.bA(b.h("bA<0>"))}, +cs(a,b){A.fx(new A.ct(a,b))}, +dQ(a,b,c,d,e){var s,r=$.j +if(r===c)return d.$0() +$.j=c +s=r +try{r=d.$0() +return r}finally{$.j=s}}, +dR(a,b,c,d,e,f,g){var s,r=$.j +if(r===c)return d.$1(e) +$.j=c +s=r +try{r=d.$1(e) +return r}finally{$.j=s}}, +fw(a,b,c,d,e,f,g,h,i){var s,r=$.j +if(r===c)return d.$2(e,f) +$.j=c +s=r +try{r=d.$2(e,f) +return r}finally{$.j=s}}, +a5(a,b,c,d){t.M.a(d) +if(B.b!==c)d=c.a2(d) +A.dT(d)}, +bY:function bY(a){this.a=a}, +bX:function bX(a,b,c){this.a=a +this.b=b +this.c=c}, +bZ:function bZ(a){this.a=a}, +c_:function c_(a){this.a=a}, +ch:function ch(){}, +ci:function ci(a,b){this.a=a +this.b=b}, +bm:function bm(a,b){this.a=a +this.b=!1 +this.$ti=b}, +cn:function cn(a){this.a=a}, +co:function co(a){this.a=a}, +cu:function cu(a){this.a=a}, +al:function al(a,b){this.a=a +this.b=b}, +bq:function bq(){}, +aF:function aF(a,b){this.a=a +this.$ti=b}, +a3:function a3(a,b,c,d,e){var _=this +_.a=null +_.b=a +_.c=b +_.d=c +_.e=d +_.$ti=e}, +l:function l(a,b){var _=this +_.a=0 +_.b=a +_.c=null +_.$ti=b}, +c2:function c2(a,b){this.a=a +this.b=b}, +c9:function c9(a,b){this.a=a +this.b=b}, +c6:function c6(a){this.a=a}, +c7:function c7(a){this.a=a}, +c8:function c8(a,b,c){this.a=a +this.b=b +this.c=c}, +c5:function c5(a,b){this.a=a +this.b=b}, +c4:function c4(a,b){this.a=a +this.b=b}, +c3:function c3(a,b,c){this.a=a +this.b=b +this.c=c}, +cc:function cc(a,b,c){this.a=a +this.b=b +this.c=c}, +cd:function cd(a){this.a=a}, +cb:function cb(a,b){this.a=a +this.b=b}, +ca:function ca(a,b){this.a=a +this.b=b}, +bn:function bn(a){this.a=a +this.b=null}, +aA:function aA(){}, +bT:function bT(a,b){this.a=a +this.b=b}, +bU:function bU(a,b){this.a=a +this.b=b}, +bA:function bA(a){this.$ti=a}, +aN:function aN(){}, +ct:function ct(a,b){this.a=a +this.b=b}, +bz:function bz(){}, +cf:function cf(a,b){this.a=a +this.b=b}, +cg:function cg(a,b,c){this.a=a +this.b=b +this.c=c}, +ez(a,b,c){return b.h("@<0>").m(c).h("dl<1,2>").a(A.fN(a,new A.ab(b.h("@<0>").m(c).h("ab<1,2>"))))}, +dp(a){var s,r={} +if(A.d3(a))return"{...}" +s=new A.bg("") +try{B.a.q($.y,a) +s.a+="{" +r.a=!0 +a.A(0,new A.bP(r,s)) +s.a+="}"}finally{if(0>=$.y.length)return A.x($.y,-1) +$.y.pop()}r=s.a +return r.charCodeAt(0)==0?r:r}, +k:function k(){}, +as:function as(){}, +bP:function bP(a,b){this.a=a +this.b=b}, +ev(a,b){a=A.d(a) +if(a==null)a=t.K.a(a) +a.stack=b.i(0) +throw a +throw A.d("unreachable")}, +eA(a,b,c,d){var s,r=J.dj(a,d) +if(a!==0&&!0)for(s=0;s")) +for(s=a.gp(a);s.l();)B.a.q(r,c.a(s.gk())) +if(b)return r +return J.dk(r,c)}, +dt(a,b,c){var s=J.d8(b) +if(!s.l())return a +if(c.length===0){do a+=A.o(s.gk()) +while(s.l())}else{a+=A.o(s.gk()) +for(;s.l();)a=a+c+A.o(s.gk())}return a}, +b1(a){if(typeof a=="number"||A.cr(a)||a==null)return J.aU(a) +if(typeof a=="string")return JSON.stringify(a) +return A.eC(a)}, +ew(a,b){A.bF(a,"error",t.K) +A.bF(b,"stackTrace",t.l) +A.ev(a,b)}, +aX(a){return new A.ak(a)}, +bG(a,b){return new A.P(!1,null,b,a)}, +db(a,b,c){return new A.P(!0,a,b,c)}, +eD(a,b,c,d,e){return new A.ax(b,c,!0,a,d,"Invalid value")}, +eE(a,b){if(a<0)throw A.d(A.eD(a,0,null,b,null)) +return a}, +bM(a,b,c,d){return new A.b4(b,!0,a,d,"Index out of range")}, +cO(a){return new A.bk(a)}, +dv(a){return new A.bi(a)}, +cN(a){return new A.az(a)}, +b0(a){return new A.b_(a)}, +ey(a,b,c){var s,r +if(A.d3(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=A.aQ([],t.s) +B.a.q($.y,a) +try{A.fs(a,s)}finally{if(0>=$.y.length)return A.x($.y,-1) +$.y.pop()}r=A.dt(b,t.U.a(s),", ")+c +return r.charCodeAt(0)==0?r:r}, +di(a,b,c){var s,r +if(A.d3(a))return b+"..."+c +s=new A.bg(b) +B.a.q($.y,a) +try{r=s +r.a=A.dt(r.a,a,", ")}finally{if(0>=$.y.length)return A.x($.y,-1) +$.y.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +fs(a,b){var s,r,q,p,o,n,m,l=a.gp(a),k=0,j=0 +while(!0){if(!(k<80||j<3))break +if(!l.l())return +s=A.o(l.gk()) +B.a.q(b,s) +k+=s.length+2;++j}if(!l.l()){if(j<=5)return +if(0>=b.length)return A.x(b,-1) +r=b.pop() +if(0>=b.length)return A.x(b,-1) +q=b.pop()}else{p=l.gk();++j +if(!l.l()){if(j<=4){B.a.q(b,A.o(p)) +return}r=A.o(p) +if(0>=b.length)return A.x(b,-1) +q=b.pop() +k+=r.length+2}else{o=l.gk();++j +for(;l.l();p=o,o=n){n=l.gk();++j +if(j>100){while(!0){if(!(k>75&&j>3))break +if(0>=b.length)return A.x(b,-1) +k-=b.pop().length+2;--j}B.a.q(b,"...") +return}}q=A.o(p) +r=A.o(o) +k+=r.length+q.length+4}}if(j>b.length+2){k+=5 +m="..."}else m=null +while(!0){if(!(k>80&&b.length>3))break +if(0>=b.length)return A.x(b,-1) +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)B.a.q(b,m) +B.a.q(b,q) +B.a.q(b,r)}, +e3(a){A.h0(a)}, +h:function h(){}, +ak:function ak(a){this.a=a}, +K:function K(){}, +P:function P(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +ax:function ax(a,b,c,d,e,f){var _=this +_.e=a +_.f=b +_.a=c +_.b=d +_.c=e +_.d=f}, +b4:function b4(a,b,c,d,e){var _=this +_.f=a +_.a=b +_.b=c +_.c=d +_.d=e}, +bk:function bk(a){this.a=a}, +bi:function bi(a){this.a=a}, +az:function az(a){this.a=a}, +b_:function b_(a){this.a=a}, +ay:function ay(){}, +c1:function c1(a){this.a=a}, +p:function p(){}, +q:function q(){}, +i:function i(){}, +bB:function bB(){}, +bg:function bg(a){this.a=a}, +cP(a,b,c,d,e){var s=A.fE(new A.c0(c),t.B),r=s!=null +if(r&&!0){t.o.a(s) +if(r)J.ej(a,b,s,!1)}return new A.aH(a,b,s,!1,e.h("aH<0>"))}, +fE(a,b){var s=$.j +if(s===B.b)return a +return s.an(a,b)}, +c:function c(){}, +aV:function aV(){}, +aW:function aW(){}, +D:function D(){}, +am:function am(){}, +bI:function bI(){}, +bJ:function bJ(){}, +bp:function bp(a,b){this.a=a +this.b=b}, +f:function f(){}, +a:function a(){}, +n:function n(){}, +b3:function b3(){}, +R:function R(){}, +a1:function a1(){}, +I:function I(){}, +w:function w(){}, +bo:function bo(a){this.a=a}, +e:function e(){}, +av:function av(){}, +be:function be(){}, +C:function C(){}, +aC:function aC(){}, +cJ:function cJ(a){this.$ti=a}, +aG:function aG(){}, +ac:function ac(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +aH:function aH(a,b,c,d,e){var _=this +_.b=a +_.c=b +_.d=c +_.e=d +_.$ti=e}, +c0:function c0(a){this.a=a}, +E:function E(){}, +Z:function Z(a,b,c){var _=this +_.a=a +_.b=b +_.c=-1 +_.d=null +_.$ti=c}, +br:function br(){}, +bv:function bv(){}, +bw:function bw(){}, +bx:function bx(){}, +by:function by(){}, +dJ(a){var s +if(a==null)return a +if(typeof a=="string"||typeof a=="number"||A.cr(a))return a +if(a instanceof A.ab)return A.dX(a) +if(t.j.b(a)){s=[] +J.ek(a,new A.cp(s)) +a=s}return a}, +dX(a){var s={} +a.A(0,new A.cv(s)) +return s}, +cp:function cp(a){this.a=a}, +cv:function cv(a){this.a=a}, +b2:function b2(a){this.b=a}, +bK:function bK(){}, +bL:function bL(){}, +h1(a,b){var s=new A.l($.j,b.h("l<0>")),r=new A.aF(s,b.h("aF<0>")) +a.then(A.ah(new A.cG(r,b),1),A.ah(new A.cH(r),1)) +return s}, +cG:function cG(a,b){this.a=a +this.b=b}, +cH:function cH(a){this.a=a}, +bQ:function bQ(a){this.a=a}, +b:function b(){}, +d4(){var s=0,r=A.cZ(t.z),q,p,o +var $async$d4=A.d_(function(a,b){if(a===1)return A.cT(b,r) +while(true)switch(s){case 0:p=document +o=p.querySelector("#addVideo") +if(o!=null){o=J.da(o) +q=o.$ti +A.cP(o.a,o.b,q.h("~(1)?").a(new A.cD()),!1,q.c)}p=p.querySelector("#removeVideo") +if(p!=null){p=J.da(p) +o=p.$ti +A.cP(p.a,p.b,o.h("~(1)?").a(new A.cE()),!1,o.c)}return A.cU(null,r)}}) +return A.cV($async$d4,r)}, +cD:function cD(){}, +cE:function cE(){}, +h0(a){if(typeof dartPrint=="function"){dartPrint(a) +return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(a) +return}if(typeof print=="function"){print(a) +return}throw"Unable to print message: "+String(a)}, +h7(a){A.h6(new A.ba("Field '"+a+"' has been assigned during initialization."),new Error())}},B={} +var w=[A,J,B] +var $={} +A.cK.prototype={} +J.ao.prototype={ +E(a,b){return a===b}, +gn(a){return A.bc(a)}, +i(a){return"Instance of '"+A.bS(a)+"'"}, +gB(a){return A.ai(A.cW(this))}} +J.b5.prototype={ +i(a){return String(a)}, +gn(a){return a?519018:218159}, +gB(a){return A.ai(t.y)}, +$iJ:1, +$iag:1} +J.aq.prototype={ +E(a,b){return null==b}, +i(a){return"null"}, +gn(a){return 0}, +$iJ:1, +$iq:1} +J.z.prototype={} +J.a0.prototype={ +gn(a){return 0}, +i(a){return String(a)}} +J.bb.prototype={} +J.aB.prototype={} +J.H.prototype={ +i(a){var s=a[$.e6()] +if(s==null)return this.af(a) +return"JavaScript function for "+J.aU(s)}, +$ia_:1} +J.a9.prototype={ +gn(a){return 0}, +i(a){return String(a)}} +J.aa.prototype={ +gn(a){return 0}, +i(a){return String(a)}} +J.t.prototype={ +q(a,b){A.a4(a).c.a(b) +if(!!a.fixed$length)A.d6(A.cO("add")) +a.push(b)}, +A(a,b){var s,r +A.a4(a).h("~(1)").a(b) +s=a.length +for(r=0;r"))}, +gn(a){return A.bc(a)}, +gj(a){return a.length}, +ac(a,b,c){var s +A.a4(a).c.a(c) +if(!!a.immutable$list)A.d6(A.cO("indexed set")) +s=a.length +if(b>=s)throw A.d(A.dY(a,b)) +a[b]=c}, +$ip:1, +$iv:1} +J.bN.prototype={} +J.G.prototype={ +gk(){var s=this.d +return s==null?this.$ti.c.a(s):s}, +l(){var s,r=this,q=r.a,p=q.length +if(r.b!==p){q=A.h4(q) +throw A.d(q)}s=r.c +if(s>=p){r.sZ(null) +return!1}r.sZ(q[s]);++r.c +return!0}, +sZ(a){this.d=this.$ti.h("1?").a(a)}, +$iS:1} +J.b7.prototype={ +i(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gn(a){var s,r,q,p,o=a|0 +if(a===o)return o&536870911 +s=Math.abs(a) +r=Math.log(s)/0.6931471805599453|0 +q=Math.pow(2,r) +p=s<1?s/q:q/s +return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, +am(a,b){var s +if(a>0)s=this.al(a,b) +else{s=b>31?31:b +s=a>>s>>>0}return s}, +al(a,b){return b>31?0:a>>>b}, +gB(a){return A.ai(t.p)}, +$iaT:1} +J.ap.prototype={ +gB(a){return A.ai(t.S)}, +$iJ:1, +$iaj:1} +J.b6.prototype={ +gB(a){return A.ai(t.i)}, +$iJ:1} +J.a8.prototype={ +a9(a,b){return a+b}, +i(a){return a}, +gn(a){var s,r,q +for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 +r^=r>>11 +return r+((r&16383)<<15)&536870911}, +gB(a){return A.ai(t.N)}, +gj(a){return a.length}, +$iJ:1, +$ia2:1} +A.ba.prototype={ +i(a){return"LateInitializationError: "+this.a}} +A.ar.prototype={ +gk(){var s=this.d +return s==null?this.$ti.c.a(s):s}, +l(){var s,r=this,q=r.a,p=J.e_(q),o=p.gj(q) +if(r.b!==o)throw A.d(A.b0(q)) +s=r.c +if(s>=o){r.sC(null) +return!1}r.sC(p.v(q,s));++r.c +return!0}, +sC(a){this.d=this.$ti.h("1?").a(a)}, +$iS:1} +A.at.prototype={ +gp(a){var s=this.a,r=A.cq(this) +return new A.au(s.gp(s),this.b,r.h("@<1>").m(r.z[1]).h("au<1,2>"))}, +gj(a){var s=this.a +return s.gj(s)}, +v(a,b){return this.b.$1(this.a.v(0,b))}} +A.au.prototype={ +l(){var s=this,r=s.b +if(r.l()){s.sC(s.c.$1(r.gk())) +return!0}s.sC(null) +return!1}, +gk(){var s=this.a +return s==null?this.$ti.z[1].a(s):s}, +sC(a){this.a=this.$ti.h("2?").a(a)}, +$iS:1} +A.aD.prototype={ +gp(a){return new A.aE(J.d8(this.a),this.b,this.$ti.h("aE<1>"))}} +A.aE.prototype={ +l(){var s,r +for(s=this.a,r=this.b;s.l();)if(A.fJ(r.$1(s.gk())))return!0 +return!1}, +gk(){return this.a.gk()}, +$iS:1} +A.bV.prototype={ +u(a){var s,r,q=this,p=new RegExp(q.a).exec(a) +if(p==null)return null +s=Object.create(null) +r=q.b +if(r!==-1)s.arguments=p[r+1] +r=q.c +if(r!==-1)s.argumentsExpr=p[r+1] +r=q.d +if(r!==-1)s.expr=p[r+1] +r=q.e +if(r!==-1)s.method=p[r+1] +r=q.f +if(r!==-1)s.receiver=p[r+1] +return s}} +A.aw.prototype={ +i(a){return"Null check operator used on a null value"}} +A.b9.prototype={ +i(a){var s,r=this,q="NoSuchMethodError: method not found: '",p=r.b +if(p==null)return"NoSuchMethodError: "+r.a +s=r.c +if(s==null)return q+p+"' ("+r.a+")" +return q+p+"' on '"+s+"' ("+r.a+")"}} +A.bj.prototype={ +i(a){var s=this.a +return s.length===0?"Error":"Error: "+s}} +A.bR.prototype={ +i(a){return"Throw of null ('"+(this.a===null?"null":"undefined")+"' from JavaScript)"}} +A.an.prototype={} +A.aI.prototype={ +i(a){var s,r=this.b +if(r!=null)return r +r=this.a +s=r!==null&&typeof r==="object"?r.stack:null +return this.b=s==null?"":s}, +$iT:1} +A.Q.prototype={ +i(a){var s=this.constructor,r=s==null?null:s.name +return"Closure '"+A.e5(r==null?"unknown":r)+"'"}, +$ia_:1, +gaC(){return this}, +$C:"$1", +$R:1, +$D:null} +A.aY.prototype={$C:"$0",$R:0} +A.aZ.prototype={$C:"$2",$R:2} +A.bh.prototype={} +A.bf.prototype={ +i(a){var s=this.$static_name +if(s==null)return"Closure of unknown static method" +return"Closure '"+A.e5(s)+"'"}} +A.a7.prototype={ +E(a,b){if(b==null)return!1 +if(this===b)return!0 +if(!(b instanceof A.a7))return!1 +return this.$_target===b.$_target&&this.a===b.a}, +gn(a){return(A.h_(this.a)^A.bc(this.$_target))>>>0}, +i(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.bS(this.a)+"'")}} +A.bs.prototype={ +i(a){return"Reading static variable '"+this.a+"' during its initialization"}} +A.bd.prototype={ +i(a){return"RuntimeError: "+this.a}} +A.bl.prototype={ +i(a){return"Assertion failed: "+A.b1(this.a)}} +A.ab.prototype={ +gj(a){return this.a}, +A(a,b){var s,r,q=this +q.$ti.h("~(1,2)").a(b) +s=q.e +r=q.r +for(;s!=null;){b.$2(s.a,s.b) +if(r!==q.r)throw A.d(A.b0(q)) +s=s.c}}, +H(a,b){var s=this,r=s.$ti,q=new A.bO(r.c.a(a),r.z[1].a(b)) +if(s.e==null)s.e=s.f=q +else s.f=s.f.c=q;++s.a +s.r=s.r+1&1073741823 +return q}, +ap(a,b){var s,r +if(a==null)return-1 +s=a.length +for(r=0;r").b(b))s.Y(b) +else s.M(b)}}, +S(a,b){var s=this.a +if(this.b)s.D(a,b) +else s.X(a,b)}} +A.cn.prototype={ +$1(a){return this.a.$2(0,a)}, +$S:1} +A.co.prototype={ +$2(a,b){this.a.$2(1,new A.an(a,t.l.a(b)))}, +$S:10} +A.cu.prototype={ +$2(a,b){this.a(A.bC(a),b)}, +$S:11} +A.al.prototype={ +i(a){return A.o(this.a)}, +$ih:1, +gK(){return this.b}} +A.bq.prototype={ +S(a,b){var s +A.bF(a,"error",t.K) +s=this.a +if((s.a&30)!==0)throw A.d(A.cN("Future already completed")) +if(b==null)b=A.dc(a) +s.X(a,b)}, +a4(a){return this.S(a,null)}} +A.aF.prototype={ +R(a,b){var s,r=this.$ti +r.h("1/?").a(b) +s=this.a +if((s.a&30)!==0)throw A.d(A.cN("Future already completed")) +s.W(r.h("1/").a(b))}} +A.a3.prototype={ +aq(a){if((this.c&15)!==6)return!0 +return this.b.b.U(t.m.a(this.d),a.a,t.y,t.K)}, +ao(a){var s,r=this,q=r.e,p=null,o=t.z,n=t.K,m=a.a,l=r.b.b +if(t.C.b(q))p=l.av(q,m,a.b,o,n,t.l) +else p=l.U(t.v.a(q),m,o,n) +try{o=r.$ti.h("2/").a(p) +return o}catch(s){if(t.f.b(A.Y(s))){if((r.c&1)!==0)throw A.d(A.bG("The error handler of Future.then must return a value of the returned future's type","onError")) +throw A.d(A.bG("The error handler of Future.catchError must return a value of the future's type","onError"))}else throw s}}} +A.l.prototype={ +a0(a){this.a=this.a&1|4 +this.c=a}, +V(a,b,c){var s,r,q,p=this.$ti +p.m(c).h("1/(2)").a(a) +s=$.j +if(s===B.b){if(b!=null&&!t.C.b(b)&&!t.v.b(b))throw A.d(A.db(b,"onError",u.c))}else{c.h("@<0/>").m(p.c).h("1(2)").a(a) +if(b!=null)b=A.fv(b,s)}r=new A.l(s,c.h("l<0>")) +q=b==null?1:3 +this.L(new A.a3(r,q,a,b,p.h("@<1>").m(c).h("a3<1,2>"))) +return r}, +aA(a,b){return this.V(a,null,b)}, +a1(a,b,c){var s,r=this.$ti +r.m(c).h("1/(2)").a(a) +s=new A.l($.j,c.h("l<0>")) +this.L(new A.a3(s,19,a,b,r.h("@<1>").m(c).h("a3<1,2>"))) +return s}, +ak(a){this.a=this.a&1|16 +this.c=a}, +F(a){this.a=a.a&30|this.a&1 +this.c=a.c}, +L(a){var s,r=this,q=r.a +if(q<=3){a.a=t.F.a(r.c) +r.c=a}else{if((q&4)!==0){s=t.c.a(r.c) +if((s.a&24)===0){s.L(a) +return}r.F(s)}A.a5(null,null,r.b,t.M.a(new A.c2(r,a)))}}, +P(a){var s,r,q,p,o,n,m=this,l={} +l.a=a +if(a==null)return +s=m.a +if(s<=3){r=t.F.a(m.c) +m.c=a +if(r!=null){q=a.a +for(p=a;q!=null;p=q,q=o)o=q.a +p.a=r}}else{if((s&4)!==0){n=t.c.a(m.c) +if((n.a&24)===0){n.P(a) +return}m.F(n)}l.a=m.J(a) +A.a5(null,null,m.b,t.M.a(new A.c9(l,m)))}}, +I(){var s=t.F.a(this.c) +this.c=null +return this.J(s)}, +J(a){var s,r,q +for(s=a,r=null;s!=null;r=s,s=q){q=s.a +s.a=r}return r}, +aj(a){var s,r,q,p=this +p.a^=2 +try{a.V(new A.c6(p),new A.c7(p),t.P)}catch(q){s=A.Y(q) +r=A.W(q) +A.h3(new A.c8(p,s,r))}}, +M(a){var s,r=this +r.$ti.c.a(a) +s=r.I() +r.a=8 +r.c=a +A.ad(r,s)}, +D(a,b){var s +t.l.a(b) +s=this.I() +this.ak(A.bH(a,b)) +A.ad(this,s)}, +W(a){var s=this.$ti +s.h("1/").a(a) +if(s.h("B<1>").b(a)){this.Y(a) +return}this.ai(a)}, +ai(a){var s=this +s.$ti.c.a(a) +s.a^=2 +A.a5(null,null,s.b,t.M.a(new A.c4(s,a)))}, +Y(a){var s=this.$ti +s.h("B<1>").a(a) +if(s.b(a)){A.eM(a,this) +return}this.aj(a)}, +X(a,b){this.a^=2 +A.a5(null,null,this.b,t.M.a(new A.c3(this,a,b)))}, +$iB:1} +A.c2.prototype={ +$0(){A.ad(this.a,this.b)}, +$S:0} +A.c9.prototype={ +$0(){A.ad(this.b,this.a.a)}, +$S:0} +A.c6.prototype={ +$1(a){var s,r,q,p=this.a +p.a^=2 +try{p.M(p.$ti.c.a(a))}catch(q){s=A.Y(q) +r=A.W(q) +p.D(s,r)}}, +$S:3} +A.c7.prototype={ +$2(a,b){this.a.D(t.K.a(a),t.l.a(b))}, +$S:12} +A.c8.prototype={ +$0(){this.a.D(this.b,this.c)}, +$S:0} +A.c5.prototype={ +$0(){A.dy(this.a.a,this.b)}, +$S:0} +A.c4.prototype={ +$0(){this.a.M(this.b)}, +$S:0} +A.c3.prototype={ +$0(){this.a.D(this.b,this.c)}, +$S:0} +A.cc.prototype={ +$0(){var s,r,q,p,o,n,m=this,l=null +try{q=m.a.a +l=q.b.b.au(t.O.a(q.d),t.z)}catch(p){s=A.Y(p) +r=A.W(p) +q=m.c&&t.n.a(m.b.a.c).a===s +o=m.a +if(q)o.c=t.n.a(m.b.a.c) +else o.c=A.bH(s,r) +o.b=!0 +return}if(l instanceof A.l&&(l.a&24)!==0){if((l.a&16)!==0){q=m.a +q.c=t.n.a(l.c) +q.b=!0}return}if(l instanceof A.l){n=m.b.a +q=m.a +q.c=l.aA(new A.cd(n),t.z) +q.b=!1}}, +$S:0} +A.cd.prototype={ +$1(a){return this.a}, +$S:13} +A.cb.prototype={ +$0(){var s,r,q,p,o,n,m,l +try{q=this.a +p=q.a +o=p.$ti +n=o.c +m=n.a(this.b) +q.c=p.b.b.U(o.h("2/(1)").a(p.d),m,o.h("2/"),n)}catch(l){s=A.Y(l) +r=A.W(l) +q=this.a +q.c=A.bH(s,r) +q.b=!0}}, +$S:0} +A.ca.prototype={ +$0(){var s,r,q,p,o,n,m=this +try{s=t.n.a(m.a.a.c) +p=m.b +if(p.a.aq(s)&&p.a.e!=null){p.c=p.a.ao(s) +p.b=!1}}catch(o){r=A.Y(o) +q=A.W(o) +p=t.n.a(m.a.a.c) +n=m.b +if(p.a===r)n.c=p +else n.c=A.bH(r,q) +n.b=!0}}, +$S:0} +A.bn.prototype={} +A.aA.prototype={ +gj(a){var s,r,q=this,p={},o=new A.l($.j,t.a) +p.a=0 +s=q.$ti +r=s.h("~(1)?").a(new A.bT(p,q)) +t.r.a(new A.bU(p,o)) +A.cP(q.a,q.b,r,!1,s.c) +return o}} +A.bT.prototype={ +$1(a){this.b.$ti.c.a(a);++this.a.a}, +$S(){return this.b.$ti.h("~(1)")}} +A.bU.prototype={ +$0(){var s=this.b,r=s.$ti,q=r.h("1/").a(this.a.a),p=s.I() +r.c.a(q) +s.a=8 +s.c=q +A.ad(s,p)}, +$S:0} +A.bA.prototype={} +A.aN.prototype={$idw:1} +A.ct.prototype={ +$0(){A.ew(this.a,this.b)}, +$S:0} +A.bz.prototype={ +aw(a){var s,r,q +t.M.a(a) +try{if(B.b===$.j){a.$0() +return}A.dQ(null,null,this,a,t.H)}catch(q){s=A.Y(q) +r=A.W(q) +A.cs(t.K.a(s),t.l.a(r))}}, +az(a,b,c){var s,r,q +c.h("~(0)").a(a) +c.a(b) +try{if(B.b===$.j){a.$1(b) +return}A.dR(null,null,this,a,b,t.H,c)}catch(q){s=A.Y(q) +r=A.W(q) +A.cs(t.K.a(s),t.l.a(r))}}, +a2(a){return new A.cf(this,t.M.a(a))}, +an(a,b){return new A.cg(this,b.h("~(0)").a(a),b)}, +au(a,b){b.h("0()").a(a) +if($.j===B.b)return a.$0() +return A.dQ(null,null,this,a,b)}, +U(a,b,c,d){c.h("@<0>").m(d).h("1(2)").a(a) +d.a(b) +if($.j===B.b)return a.$1(b) +return A.dR(null,null,this,a,b,c,d)}, +av(a,b,c,d,e,f){d.h("@<0>").m(e).m(f).h("1(2,3)").a(a) +e.a(b) +f.a(c) +if($.j===B.b)return a.$2(b,c) +return A.fw(null,null,this,a,b,c,d,e,f)}, +a8(a,b,c,d){return b.h("@<0>").m(c).m(d).h("1(2,3)").a(a)}} +A.cf.prototype={ +$0(){return this.a.aw(this.b)}, +$S:0} +A.cg.prototype={ +$1(a){var s=this.c +return this.a.az(this.b,s.a(a),s)}, +$S(){return this.c.h("~(0)")}} +A.k.prototype={ +gp(a){return new A.ar(a,this.gj(a),A.F(a).h("ar"))}, +v(a,b){return this.t(a,b)}, +A(a,b){var s,r +A.F(a).h("~(k.E)").a(b) +s=this.gj(a) +for(r=0;rr)s=": Not in inclusive range "+A.o(r)+".."+A.o(q) +else s=q=0&&b"))}, +ga6(a){var s=this.a.lastElementChild +if(s==null)throw A.d(A.cN("No elements")) +return s}} +A.f.prototype={ +ga3(a){var s=a.children +s.toString +return new A.bp(a,s)}, +i(a){var s=a.localName +s.toString +return s}, +ga7(a){return new A.ac(a,"click",!1,t.R)}, +$if:1} +A.a.prototype={$ia:1} +A.n.prototype={ +ah(a,b,c,d){return a.addEventListener(b,A.ah(t.o.a(c),1),!1)}, +$in:1} +A.b3.prototype={ +gj(a){return a.length}} +A.R.prototype={ +gj(a){var s=a.length +s.toString +return s}, +t(a,b){var s=a.length,r=b>>>0!==b||b>=s +r.toString +if(r)throw A.d(A.bM(b,s,a,null)) +s=a[b] +s.toString +return s}, +v(a,b){if(!(b>=0&&b"))}, +gj(a){return this.a.childNodes.length}, +t(a,b){var s=this.a.childNodes +if(!(b>=0&&b>>0!==b||b>=s +r.toString +if(r)throw A.d(A.bM(b,s,a,null)) +s=a[b] +s.toString +return s}, +v(a,b){if(!(b>=0&&b"))}} +A.Z.prototype={ +l(){var s=this,r=s.c+1,q=s.b +if(r")),r.h("f(k.E)").a(new A.bL()),r.h("at"))}, +A(a,b){t.q.a(b) +B.a.A(A.dm(this.gG(),!1,t.h),b)}, +gj(a){var s=this.gG().a +return s.gj(s)}, +t(a,b){var s=this.gG() +return s.b.$1(s.a.v(0,b))}, +gp(a){var s=A.dm(this.gG(),!1,t.h) +return new J.G(s,s.length,A.a4(s).h("G<1>"))}} +A.bK.prototype={ +$1(a){return t.h.b(t.A.a(a))}, +$S:17} +A.bL.prototype={ +$1(a){return t.h.a(t.A.a(a))}, +$S:18} +A.cG.prototype={ +$1(a){return this.a.R(0,this.b.h("0/?").a(a))}, +$S:1} +A.cH.prototype={ +$1(a){if(a==null)return this.a.a4(new A.bQ(a===undefined)) +return this.a.a4(a)}, +$S:1} +A.bQ.prototype={ +i(a){return"Promise was rejected with a value of `"+(this.a?"undefined":"null")+"`."}} +A.b.prototype={ +ga3(a){return new A.b2(new A.bo(a))}, +ga7(a){return new A.ac(a,"click",!1,t.R)}} +A.cD.prototype={ +$1(a){return this.ab(t.V.a(a))}, +ab(a){var s=0,r=A.cZ(t.H),q,p,o,n,m,l +var $async$$1=A.d_(function(b,c){if(b===1)return A.cT(c,r) +while(true)switch(s){case 0:A.e3("add video") +s=$.cY==null?2:3 +break +case 2:q=window.navigator.mediaDevices +if(q==null)q=null +else{p=t.z +o=A.dX(A.ez(["video",!0],p,p)) +q=q.getUserMedia(o) +q.toString +q=A.h1(q,t.E)}if(!t.e.b(q)){t.u.a(q) +p=new A.l($.j,t.W) +p.a=8 +p.c=q +q=p}l=$ +s=4 +return A.f9(q,$async$$1) +case 4:l.cY=c +case 3:q=document +n=q.querySelector("#local_videos") +m=q.createElement("video") +q=m.style +q.width="240px" +q=m.style +q.height="180px" +q=m.style +q.border="1px solid black" +m.muted=!0 +m.autoplay=!0 +n.appendChild(m).toString +B.u.sad(m,$.cY) +return A.cU(null,r)}}) +return A.cV($async$$1,r)}, +$S:5} +A.cE.prototype={ +$1(a){return this.aa(t.V.a(a))}, +aa(a){var s=0,r=A.cZ(t.H),q,p +var $async$$1=A.d_(function(b,c){if(b===1)return A.cT(c,r) +while(true)switch(s){case 0:A.e3("remove video") +q=document.querySelector("#local_videos") +q.toString +p=J.el(q) +J.en(p.ga6(p)) +return A.cU(null,r)}}) +return A.cV($async$$1,r)}, +$S:5};(function aliases(){var s=J.ao.prototype +s.ae=s.i +s=J.a0.prototype +s.af=s.i})();(function installTearOffs(){var s=hunkHelpers._static_1,r=hunkHelpers._static_0 +s(A,"fG","eJ",2) +s(A,"fH","eK",2) +s(A,"fI","eL",2) +r(A,"dV","fy",0)})();(function inheritance(){var s=hunkHelpers.mixin,r=hunkHelpers.inherit,q=hunkHelpers.inheritMany +r(A.i,null) +q(A.i,[A.cK,J.ao,J.G,A.h,A.ar,A.p,A.au,A.aE,A.bV,A.bR,A.an,A.aI,A.Q,A.as,A.bO,A.A,A.bu,A.cj,A.ch,A.bm,A.al,A.bq,A.a3,A.l,A.bn,A.aA,A.bA,A.aN,A.k,A.ay,A.c1,A.q,A.bB,A.bg,A.bI,A.cJ,A.aH,A.E,A.Z,A.bQ]) +q(J.ao,[J.b5,J.aq,J.z,J.a9,J.aa,J.b7,J.a8]) +q(J.z,[J.a0,J.t,A.n,A.br,A.bJ,A.a,A.bv,A.bx]) +q(J.a0,[J.bb,J.aB,J.H]) +r(J.bN,J.t) +q(J.b7,[J.ap,J.b6]) +q(A.h,[A.ba,A.K,A.b9,A.bj,A.bs,A.bd,A.ak,A.bt,A.P,A.bk,A.bi,A.az,A.b_]) +q(A.p,[A.at,A.aD]) +r(A.aw,A.K) +q(A.Q,[A.aY,A.aZ,A.bh,A.cz,A.cB,A.bY,A.bX,A.cn,A.c6,A.cd,A.bT,A.cg,A.c0,A.cp,A.bK,A.bL,A.cG,A.cH,A.cD,A.cE]) +q(A.bh,[A.bf,A.a7]) +r(A.bl,A.ak) +r(A.ab,A.as) +q(A.aZ,[A.cA,A.co,A.cu,A.c7,A.bP,A.cv]) +r(A.aJ,A.bt) +q(A.aY,[A.bZ,A.c_,A.ci,A.c2,A.c9,A.c8,A.c5,A.c4,A.c3,A.cc,A.cb,A.ca,A.bU,A.ct,A.cf]) +r(A.aF,A.bq) +r(A.bz,A.aN) +q(A.P,[A.ax,A.b4]) +q(A.n,[A.e,A.I]) +q(A.e,[A.f,A.D]) +q(A.f,[A.c,A.b]) +q(A.c,[A.aV,A.aW,A.b3,A.a1,A.be]) +r(A.am,A.br) +q(A.k,[A.bp,A.bo,A.b2]) +r(A.bw,A.bv) +r(A.R,A.bw) +r(A.C,A.a) +r(A.w,A.C) +r(A.by,A.bx) +r(A.av,A.by) +r(A.aC,A.a1) +r(A.aG,A.aA) +r(A.ac,A.aG) +s(A.br,A.bI) +s(A.bv,A.k) +s(A.bw,A.E) +s(A.bx,A.k) +s(A.by,A.E)})() +var v={typeUniverse:{eC:new Map(),tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{aj:"int",fM:"double",aT:"num",a2:"String",ag:"bool",q:"Null",v:"List"},mangledNames:{},types:["~()","~(@)","~(~())","q(@)","q()","B<~>(w)","@(@)","@(@,a2)","@(a2)","q(~())","q(@,T)","~(aj,@)","q(i,T)","l<@>(@)","~(i?,i?)","~(a)","~(@,@)","ag(e)","f(e)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")} +A.f1(v.typeUniverse,JSON.parse('{"bb":"a0","aB":"a0","H":"a0","ha":"a","hh":"a","h9":"b","hi":"b","hc":"c","hj":"e","hg":"e","hm":"n","hn":"w","he":"C","hd":"D","hq":"D","hl":"f","hk":"R","hb":"a1","b5":{"ag":[],"J":[]},"aq":{"q":[],"J":[]},"t":{"v":["1"],"p":["1"]},"bN":{"t":["1"],"v":["1"],"p":["1"]},"G":{"S":["1"]},"b7":{"aT":[]},"ap":{"aj":[],"aT":[],"J":[]},"b6":{"aT":[],"J":[]},"a8":{"a2":[],"J":[]},"ba":{"h":[]},"ar":{"S":["1"]},"at":{"p":["2"]},"au":{"S":["2"]},"aD":{"p":["1"]},"aE":{"S":["1"]},"aw":{"K":[],"h":[]},"b9":{"h":[]},"bj":{"h":[]},"aI":{"T":[]},"Q":{"a_":[]},"aY":{"a_":[]},"aZ":{"a_":[]},"bh":{"a_":[]},"bf":{"a_":[]},"a7":{"a_":[]},"bs":{"h":[]},"bd":{"h":[]},"bl":{"h":[]},"ab":{"as":["1","2"],"dl":["1","2"],"dn":["1","2"]},"bt":{"h":[]},"aJ":{"K":[],"h":[]},"l":{"B":["1"]},"al":{"h":[]},"aF":{"bq":["1"]},"aN":{"dw":[]},"bz":{"aN":[],"dw":[]},"k":{"v":["1"],"p":["1"]},"as":{"dn":["1","2"]},"aj":{"aT":[]},"ak":{"h":[]},"K":{"h":[]},"P":{"h":[]},"ax":{"h":[]},"b4":{"h":[]},"bk":{"h":[]},"bi":{"h":[]},"az":{"h":[]},"b_":{"h":[]},"ay":{"h":[]},"bB":{"T":[]},"f":{"e":[],"n":[]},"I":{"n":[]},"w":{"a":[]},"e":{"n":[]},"c":{"f":[],"e":[],"n":[]},"aV":{"f":[],"e":[],"n":[]},"aW":{"f":[],"e":[],"n":[]},"D":{"e":[],"n":[]},"bp":{"k":["f"],"v":["f"],"p":["f"],"k.E":"f"},"b3":{"f":[],"e":[],"n":[]},"R":{"k":["e"],"E":["e"],"v":["e"],"b8":["e"],"p":["e"],"k.E":"e","E.E":"e"},"a1":{"f":[],"e":[],"n":[]},"bo":{"k":["e"],"v":["e"],"p":["e"],"k.E":"e"},"av":{"k":["e"],"E":["e"],"v":["e"],"b8":["e"],"p":["e"],"k.E":"e","E.E":"e"},"be":{"f":[],"e":[],"n":[]},"C":{"a":[]},"aC":{"f":[],"e":[],"n":[]},"aG":{"aA":["1"]},"ac":{"aG":["1"],"aA":["1"]},"aH":{"eH":["1"]},"Z":{"S":["1"]},"b2":{"k":["f"],"v":["f"],"p":["f"],"k.E":"f"},"b":{"f":[],"e":[],"n":[]}}')) +var u={c:"Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type"} +var t=(function rtii(){var s=A.dZ +return{n:s("al"),h:s("f"),Q:s("h"),B:s("a"),Z:s("a_"),d:s("B<@>"),e:s("B"),U:s("p<@>"),s:s("t"),b:s("t<@>"),T:s("aq"),g:s("H"),D:s("b8<@>"),j:s("v<@>"),E:s("I"),V:s("w"),A:s("e"),P:s("q"),K:s("i"),L:s("ho"),l:s("T"),N:s("a2"),k:s("J"),f:s("K"),I:s("aB"),R:s("ac"),c:s("l<@>"),a:s("l"),W:s("l"),y:s("ag"),m:s("ag(i)"),i:s("fM"),z:s("@"),O:s("@()"),v:s("@(i)"),C:s("@(i,T)"),S:s("aj"),G:s("0&*"),_:s("i*"),Y:s("B?"),u:s("I?"),X:s("i?"),F:s("a3<@,@>?"),o:s("@(a)?"),r:s("~()?"),p:s("aT"),H:s("~"),M:s("~()"),q:s("~(f)")}})();(function constants(){B.o=J.ao.prototype +B.a=J.t.prototype +B.p=J.ap.prototype +B.q=J.a8.prototype +B.r=J.H.prototype +B.t=J.z.prototype +B.f=J.bb.prototype +B.c=J.aB.prototype +B.u=A.aC.prototype +B.d=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +B.h=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +B.m=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +B.i=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +B.j=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +B.l=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +B.k=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +B.e=function(hooks) { return hooks; } + +B.b=new A.bz() +B.n=new A.bB()})();(function staticFields(){$.ce=null +$.y=A.aQ([],A.dZ("t")) +$.dq=null +$.df=null +$.de=null +$.e0=null +$.dU=null +$.e4=null +$.cw=null +$.cC=null +$.d2=null +$.ae=null +$.aO=null +$.aP=null +$.cX=!1 +$.j=B.b +$.cY=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal +s($,"hf","e6",()=>A.fO("_$dart_dartClosure")) +s($,"hr","e7",()=>A.L(A.bW({ +toString:function(){return"$receiver$"}}))) +s($,"hs","e8",()=>A.L(A.bW({$method$:null, +toString:function(){return"$receiver$"}}))) +s($,"ht","e9",()=>A.L(A.bW(null))) +s($,"hu","ea",()=>A.L(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(r){return r.message}}())) +s($,"hx","ed",()=>A.L(A.bW(void 0))) +s($,"hy","ee",()=>A.L(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(r){return r.message}}())) +s($,"hw","ec",()=>A.L(A.du(null))) +s($,"hv","eb",()=>A.L(function(){try{null.$method$}catch(r){return r.message}}())) +s($,"hA","eg",()=>A.L(A.du(void 0))) +s($,"hz","ef",()=>A.L(function(){try{(void 0).$method$}catch(r){return r.message}}())) +s($,"hB","d7",()=>A.eI())})();(function nativeSupport(){!function(){var s=function(a){var m={} +m[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(m))[0]} +v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} +var r="___dart_isolate_tags_" +var q=Object[r]||(Object[r]=Object.create(null)) +var p="_ZxYxX" +for(var o=0;;o++){var n=s(p+"_"+o+"_") +if(!(n in q)){q[n]=1 +v.isolateTag=n +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({DOMError:J.z,MediaError:J.z,Navigator:J.z,NavigatorConcurrentHardware:J.z,NavigatorUserMediaError:J.z,OverconstrainedError:J.z,PositionError:J.z,GeolocationPositionError:J.z,HTMLBRElement:A.c,HTMLBaseElement:A.c,HTMLBodyElement:A.c,HTMLButtonElement:A.c,HTMLCanvasElement:A.c,HTMLContentElement:A.c,HTMLDListElement:A.c,HTMLDataElement:A.c,HTMLDataListElement:A.c,HTMLDetailsElement:A.c,HTMLDialogElement:A.c,HTMLDivElement:A.c,HTMLEmbedElement:A.c,HTMLFieldSetElement:A.c,HTMLHRElement:A.c,HTMLHeadElement:A.c,HTMLHeadingElement:A.c,HTMLHtmlElement:A.c,HTMLIFrameElement:A.c,HTMLImageElement:A.c,HTMLInputElement:A.c,HTMLLIElement:A.c,HTMLLabelElement:A.c,HTMLLegendElement:A.c,HTMLLinkElement:A.c,HTMLMapElement:A.c,HTMLMenuElement:A.c,HTMLMetaElement:A.c,HTMLMeterElement:A.c,HTMLModElement:A.c,HTMLOListElement:A.c,HTMLObjectElement:A.c,HTMLOptGroupElement:A.c,HTMLOptionElement:A.c,HTMLOutputElement:A.c,HTMLParagraphElement:A.c,HTMLParamElement:A.c,HTMLPictureElement:A.c,HTMLPreElement:A.c,HTMLProgressElement:A.c,HTMLQuoteElement:A.c,HTMLScriptElement:A.c,HTMLShadowElement:A.c,HTMLSlotElement:A.c,HTMLSourceElement:A.c,HTMLSpanElement:A.c,HTMLStyleElement:A.c,HTMLTableCaptionElement:A.c,HTMLTableCellElement:A.c,HTMLTableDataCellElement:A.c,HTMLTableHeaderCellElement:A.c,HTMLTableColElement:A.c,HTMLTableElement:A.c,HTMLTableRowElement:A.c,HTMLTableSectionElement:A.c,HTMLTemplateElement:A.c,HTMLTextAreaElement:A.c,HTMLTimeElement:A.c,HTMLTitleElement:A.c,HTMLTrackElement:A.c,HTMLUListElement:A.c,HTMLUnknownElement:A.c,HTMLDirectoryElement:A.c,HTMLFontElement:A.c,HTMLFrameElement:A.c,HTMLFrameSetElement:A.c,HTMLMarqueeElement:A.c,HTMLElement:A.c,HTMLAnchorElement:A.aV,HTMLAreaElement:A.aW,CDATASection:A.D,CharacterData:A.D,Comment:A.D,ProcessingInstruction:A.D,Text:A.D,CSSStyleDeclaration:A.am,MSStyleCSSProperties:A.am,CSS2Properties:A.am,DOMException:A.bJ,MathMLElement:A.f,Element:A.f,AbortPaymentEvent:A.a,AnimationEvent:A.a,AnimationPlaybackEvent:A.a,ApplicationCacheErrorEvent:A.a,BackgroundFetchClickEvent:A.a,BackgroundFetchEvent:A.a,BackgroundFetchFailEvent:A.a,BackgroundFetchedEvent:A.a,BeforeInstallPromptEvent:A.a,BeforeUnloadEvent:A.a,BlobEvent:A.a,CanMakePaymentEvent:A.a,ClipboardEvent:A.a,CloseEvent:A.a,CustomEvent:A.a,DeviceMotionEvent:A.a,DeviceOrientationEvent:A.a,ErrorEvent:A.a,ExtendableEvent:A.a,ExtendableMessageEvent:A.a,FetchEvent:A.a,FontFaceSetLoadEvent:A.a,ForeignFetchEvent:A.a,GamepadEvent:A.a,HashChangeEvent:A.a,InstallEvent:A.a,MediaEncryptedEvent:A.a,MediaKeyMessageEvent:A.a,MediaQueryListEvent:A.a,MediaStreamEvent:A.a,MediaStreamTrackEvent:A.a,MessageEvent:A.a,MIDIConnectionEvent:A.a,MIDIMessageEvent:A.a,MutationEvent:A.a,NotificationEvent:A.a,PageTransitionEvent:A.a,PaymentRequestEvent:A.a,PaymentRequestUpdateEvent:A.a,PopStateEvent:A.a,PresentationConnectionAvailableEvent:A.a,PresentationConnectionCloseEvent:A.a,ProgressEvent:A.a,PromiseRejectionEvent:A.a,PushEvent:A.a,RTCDataChannelEvent:A.a,RTCDTMFToneChangeEvent:A.a,RTCPeerConnectionIceEvent:A.a,RTCTrackEvent:A.a,SecurityPolicyViolationEvent:A.a,SensorErrorEvent:A.a,SpeechRecognitionError:A.a,SpeechRecognitionEvent:A.a,SpeechSynthesisEvent:A.a,StorageEvent:A.a,SyncEvent:A.a,TrackEvent:A.a,TransitionEvent:A.a,WebKitTransitionEvent:A.a,VRDeviceEvent:A.a,VRDisplayEvent:A.a,VRSessionEvent:A.a,MojoInterfaceRequestEvent:A.a,ResourceProgressEvent:A.a,USBConnectionEvent:A.a,IDBVersionChangeEvent:A.a,AudioProcessingEvent:A.a,OfflineAudioCompletionEvent:A.a,WebGLContextEvent:A.a,Event:A.a,InputEvent:A.a,SubmitEvent:A.a,MediaDevices:A.n,Window:A.n,DOMWindow:A.n,EventTarget:A.n,HTMLFormElement:A.b3,HTMLCollection:A.R,HTMLFormControlsCollection:A.R,HTMLOptionsCollection:A.R,HTMLAudioElement:A.a1,HTMLMediaElement:A.a1,MediaStream:A.I,MouseEvent:A.w,DragEvent:A.w,PointerEvent:A.w,WheelEvent:A.w,Document:A.e,DocumentFragment:A.e,HTMLDocument:A.e,ShadowRoot:A.e,XMLDocument:A.e,Attr:A.e,DocumentType:A.e,Node:A.e,NodeList:A.av,RadioNodeList:A.av,HTMLSelectElement:A.be,CompositionEvent:A.C,FocusEvent:A.C,KeyboardEvent:A.C,TextEvent:A.C,TouchEvent:A.C,UIEvent:A.C,HTMLVideoElement:A.aC,SVGAElement:A.b,SVGAnimateElement:A.b,SVGAnimateMotionElement:A.b,SVGAnimateTransformElement:A.b,SVGAnimationElement:A.b,SVGCircleElement:A.b,SVGClipPathElement:A.b,SVGDefsElement:A.b,SVGDescElement:A.b,SVGDiscardElement:A.b,SVGEllipseElement:A.b,SVGFEBlendElement:A.b,SVGFEColorMatrixElement:A.b,SVGFEComponentTransferElement:A.b,SVGFECompositeElement:A.b,SVGFEConvolveMatrixElement:A.b,SVGFEDiffuseLightingElement:A.b,SVGFEDisplacementMapElement:A.b,SVGFEDistantLightElement:A.b,SVGFEFloodElement:A.b,SVGFEFuncAElement:A.b,SVGFEFuncBElement:A.b,SVGFEFuncGElement:A.b,SVGFEFuncRElement:A.b,SVGFEGaussianBlurElement:A.b,SVGFEImageElement:A.b,SVGFEMergeElement:A.b,SVGFEMergeNodeElement:A.b,SVGFEMorphologyElement:A.b,SVGFEOffsetElement:A.b,SVGFEPointLightElement:A.b,SVGFESpecularLightingElement:A.b,SVGFESpotLightElement:A.b,SVGFETileElement:A.b,SVGFETurbulenceElement:A.b,SVGFilterElement:A.b,SVGForeignObjectElement:A.b,SVGGElement:A.b,SVGGeometryElement:A.b,SVGGraphicsElement:A.b,SVGImageElement:A.b,SVGLineElement:A.b,SVGLinearGradientElement:A.b,SVGMarkerElement:A.b,SVGMaskElement:A.b,SVGMetadataElement:A.b,SVGPathElement:A.b,SVGPatternElement:A.b,SVGPolygonElement:A.b,SVGPolylineElement:A.b,SVGRadialGradientElement:A.b,SVGRectElement:A.b,SVGScriptElement:A.b,SVGSetElement:A.b,SVGStopElement:A.b,SVGStyleElement:A.b,SVGElement:A.b,SVGSVGElement:A.b,SVGSwitchElement:A.b,SVGSymbolElement:A.b,SVGTSpanElement:A.b,SVGTextContentElement:A.b,SVGTextElement:A.b,SVGTextPathElement:A.b,SVGTextPositioningElement:A.b,SVGTitleElement:A.b,SVGUseElement:A.b,SVGViewElement:A.b,SVGGradientElement:A.b,SVGComponentTransferFunctionElement:A.b,SVGFEDropShadowElement:A.b,SVGMPathElement:A.b}) +hunkHelpers.setOrUpdateLeafTags({DOMError:true,MediaError:true,Navigator:true,NavigatorConcurrentHardware:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,GeolocationPositionError:true,HTMLBRElement:true,HTMLBaseElement:true,HTMLBodyElement:true,HTMLButtonElement:true,HTMLCanvasElement:true,HTMLContentElement:true,HTMLDListElement:true,HTMLDataElement:true,HTMLDataListElement:true,HTMLDetailsElement:true,HTMLDialogElement:true,HTMLDivElement:true,HTMLEmbedElement:true,HTMLFieldSetElement:true,HTMLHRElement:true,HTMLHeadElement:true,HTMLHeadingElement:true,HTMLHtmlElement:true,HTMLIFrameElement:true,HTMLImageElement:true,HTMLInputElement:true,HTMLLIElement:true,HTMLLabelElement:true,HTMLLegendElement:true,HTMLLinkElement:true,HTMLMapElement:true,HTMLMenuElement:true,HTMLMetaElement:true,HTMLMeterElement:true,HTMLModElement:true,HTMLOListElement:true,HTMLObjectElement:true,HTMLOptGroupElement:true,HTMLOptionElement:true,HTMLOutputElement:true,HTMLParagraphElement:true,HTMLParamElement:true,HTMLPictureElement:true,HTMLPreElement:true,HTMLProgressElement:true,HTMLQuoteElement:true,HTMLScriptElement:true,HTMLShadowElement:true,HTMLSlotElement:true,HTMLSourceElement:true,HTMLSpanElement:true,HTMLStyleElement:true,HTMLTableCaptionElement:true,HTMLTableCellElement:true,HTMLTableDataCellElement:true,HTMLTableHeaderCellElement:true,HTMLTableColElement:true,HTMLTableElement:true,HTMLTableRowElement:true,HTMLTableSectionElement:true,HTMLTemplateElement:true,HTMLTextAreaElement:true,HTMLTimeElement:true,HTMLTitleElement:true,HTMLTrackElement:true,HTMLUListElement:true,HTMLUnknownElement:true,HTMLDirectoryElement:true,HTMLFontElement:true,HTMLFrameElement:true,HTMLFrameSetElement:true,HTMLMarqueeElement:true,HTMLElement:false,HTMLAnchorElement:true,HTMLAreaElement:true,CDATASection:true,CharacterData:true,Comment:true,ProcessingInstruction:true,Text:true,CSSStyleDeclaration:true,MSStyleCSSProperties:true,CSS2Properties:true,DOMException:true,MathMLElement:true,Element:false,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MessageEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,ProgressEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,MojoInterfaceRequestEvent:true,ResourceProgressEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,SubmitEvent:false,MediaDevices:true,Window:true,DOMWindow:true,EventTarget:false,HTMLFormElement:true,HTMLCollection:true,HTMLFormControlsCollection:true,HTMLOptionsCollection:true,HTMLAudioElement:true,HTMLMediaElement:false,MediaStream:true,MouseEvent:true,DragEvent:true,PointerEvent:true,WheelEvent:true,Document:true,DocumentFragment:true,HTMLDocument:true,ShadowRoot:true,XMLDocument:true,Attr:true,DocumentType:true,Node:false,NodeList:true,RadioNodeList:true,HTMLSelectElement:true,CompositionEvent:true,FocusEvent:true,KeyboardEvent:true,TextEvent:true,TouchEvent:true,UIEvent:false,HTMLVideoElement:true,SVGAElement:true,SVGAnimateElement:true,SVGAnimateMotionElement:true,SVGAnimateTransformElement:true,SVGAnimationElement:true,SVGCircleElement:true,SVGClipPathElement:true,SVGDefsElement:true,SVGDescElement:true,SVGDiscardElement:true,SVGEllipseElement:true,SVGFEBlendElement:true,SVGFEColorMatrixElement:true,SVGFEComponentTransferElement:true,SVGFECompositeElement:true,SVGFEConvolveMatrixElement:true,SVGFEDiffuseLightingElement:true,SVGFEDisplacementMapElement:true,SVGFEDistantLightElement:true,SVGFEFloodElement:true,SVGFEFuncAElement:true,SVGFEFuncBElement:true,SVGFEFuncGElement:true,SVGFEFuncRElement:true,SVGFEGaussianBlurElement:true,SVGFEImageElement:true,SVGFEMergeElement:true,SVGFEMergeNodeElement:true,SVGFEMorphologyElement:true,SVGFEOffsetElement:true,SVGFEPointLightElement:true,SVGFESpecularLightingElement:true,SVGFESpotLightElement:true,SVGFETileElement:true,SVGFETurbulenceElement:true,SVGFilterElement:true,SVGForeignObjectElement:true,SVGGElement:true,SVGGeometryElement:true,SVGGraphicsElement:true,SVGImageElement:true,SVGLineElement:true,SVGLinearGradientElement:true,SVGMarkerElement:true,SVGMaskElement:true,SVGMetadataElement:true,SVGPathElement:true,SVGPatternElement:true,SVGPolygonElement:true,SVGPolylineElement:true,SVGRadialGradientElement:true,SVGRectElement:true,SVGScriptElement:true,SVGSetElement:true,SVGStopElement:true,SVGStyleElement:true,SVGElement:true,SVGSVGElement:true,SVGSwitchElement:true,SVGSymbolElement:true,SVGTSpanElement:true,SVGTextContentElement:true,SVGTextElement:true,SVGTextPathElement:true,SVGTextPositioningElement:true,SVGTitleElement:true,SVGUseElement:true,SVGViewElement:true,SVGGradientElement:true,SVGComponentTransferFunctionElement:true,SVGFEDropShadowElement:true,SVGMPathElement:true})})() +Function.prototype.$0=function(){return this()} +Function.prototype.$1=function(a){return this(a)} +Function.prototype.$2=function(a,b){return this(a,b)} +Function.prototype.$3=function(a,b,c){return this(a,b,c)} +Function.prototype.$4=function(a,b,c,d){return this(a,b,c,d)} +Function.prototype.$1$1=function(a){return this(a)} +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!="undefined"){a(document.currentScript) +return}var s=document.scripts +function onLoad(b){for(var q=0;q -1; i -= 1) { + if (ary[i] && func(ary[i], i, ary)) { + break; + } + } + } + } + + function hasProp(obj, prop) { + return hasOwn.call(obj, prop); + } + + function getOwn(obj, prop) { + return hasProp(obj, prop) && obj[prop]; + } + + /** + * Cycles over properties in an object and calls a function for each + * property value. If the function returns a truthy value, then the + * iteration is stopped. + */ + function eachProp(obj, func) { + var prop; + for (prop in obj) { + if (hasProp(obj, prop)) { + if (func(obj[prop], prop)) { + break; + } + } + } + } + + /** + * Simple function to mix in properties from source into target, + * but only if target does not already have a property of the same name. + */ + function mixin(target, source, force, deepStringMixin) { + if (source) { + eachProp(source, function (value, prop) { + if (force || !hasProp(target, prop)) { + if (deepStringMixin && typeof value === 'object' && value && + !isArray(value) && !isFunction(value) && + !(value instanceof RegExp)) { + + if (!target[prop]) { + target[prop] = {}; + } + mixin(target[prop], value, force, deepStringMixin); + } else { + target[prop] = value; + } + } + }); + } + return target; + } + + //Similar to Function.prototype.bind, but the 'this' object is specified + //first, since it is easier to read/figure out what 'this' will be. + function bind(obj, fn) { + return function () { + return fn.apply(obj, arguments); + }; + } + + function scripts() { + return document.getElementsByTagName('script'); + } + + function defaultOnError(err) { + throw err; + } + + //Allow getting a global that is expressed in + //dot notation, like 'a.b.c'. + function getGlobal(value) { + if (!value) { + return value; + } + var g = global; + each(value.split('.'), function (part) { + g = g[part]; + }); + return g; + } + + /** + * Constructs an error with a pointer to an URL with more information. + * @param {String} id the error ID that maps to an ID on a web page. + * @param {String} message human readable error. + * @param {Error} [err] the original error, if there is one. + * + * @returns {Error} + */ + function makeError(id, msg, err, requireModules) { + var e = new Error(msg + '\nhttp://requirejs.org/docs/errors.html#' + id); + e.requireType = id; + e.requireModules = requireModules; + if (err) { + e.originalError = err; + } + return e; + } + + if (typeof define !== 'undefined') { + //If a define is already in play via another AMD loader, + //do not overwrite. + return; + } + + if (typeof requirejs !== 'undefined') { + if (isFunction(requirejs)) { + //Do not overwrite an existing requirejs instance. + return; + } + cfg = requirejs; + requirejs = undefined; + } + + //Allow for a require config object + if (typeof require !== 'undefined' && !isFunction(require)) { + //assume it is a config object. + cfg = require; + require = undefined; + } + + function newContext(contextName) { + var inCheckLoaded, Module, context, handlers, + checkLoadedTimeoutId, + config = { + //Defaults. Do not set a default for map + //config to speed up normalize(), which + //will run faster if there is no default. + waitSeconds: 7, + baseUrl: './', + paths: {}, + bundles: {}, + pkgs: {}, + shim: {}, + config: {} + }, + registry = {}, + //registry of just enabled modules, to speed + //cycle breaking code when lots of modules + //are registered, but not activated. + enabledRegistry = {}, + undefEvents = {}, + defQueue = [], + defined = {}, + urlFetched = {}, + bundlesMap = {}, + requireCounter = 1, + unnormalizedCounter = 1; + + /** + * Trims the . and .. from an array of path segments. + * It will keep a leading path segment if a .. will become + * the first path segment, to help with module name lookups, + * which act like paths, but can be remapped. But the end result, + * all paths that use this function should look normalized. + * NOTE: this method MODIFIES the input array. + * @param {Array} ary the array of path segments. + */ + function trimDots(ary) { + var i, part; + for (i = 0; i < ary.length; i++) { + part = ary[i]; + if (part === '.') { + ary.splice(i, 1); + i -= 1; + } else if (part === '..') { + // If at the start, or previous value is still .., + // keep them so that when converted to a path it may + // still work when converted to a path, even though + // as an ID it is less than ideal. In larger point + // releases, may be better to just kick out an error. + if (i === 0 || (i === 1 && ary[2] === '..') || ary[i - 1] === '..') { + continue; + } else if (i > 0) { + ary.splice(i - 1, 2); + i -= 2; + } + } + } + } + + /** + * Given a relative module name, like ./something, normalize it to + * a real name that can be mapped to a path. + * @param {String} name the relative name + * @param {String} baseName a real name that the name arg is relative + * to. + * @param {Boolean} applyMap apply the map config to the value. Should + * only be done if this normalization is for a dependency ID. + * @returns {String} normalized name + */ + function normalize(name, baseName, applyMap) { + var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex, + foundMap, foundI, foundStarMap, starI, normalizedBaseParts, + baseParts = (baseName && baseName.split('/')), + map = config.map, + starMap = map && map['*']; + + //Adjust any relative paths. + if (name) { + name = name.split('/'); + lastIndex = name.length - 1; + + // If wanting node ID compatibility, strip .js from end + // of IDs. Have to do this here, and not in nameToUrl + // because node allows either .js or non .js to map + // to same file. + if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { + name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); + } + + // Starts with a '.' so need the baseName + if (name[0].charAt(0) === '.' && baseParts) { + //Convert baseName to array, and lop off the last part, + //so that . matches that 'directory' and not name of the baseName's + //module. For instance, baseName of 'one/two/three', maps to + //'one/two/three.js', but we want the directory, 'one/two' for + //this normalization. + normalizedBaseParts = baseParts.slice(0, baseParts.length - 1); + name = normalizedBaseParts.concat(name); + } + + trimDots(name); + name = name.join('/'); + } + + //Apply map config if available. + if (applyMap && map && (baseParts || starMap)) { + nameParts = name.split('/'); + + outerLoop: for (i = nameParts.length; i > 0; i -= 1) { + nameSegment = nameParts.slice(0, i).join('/'); + + if (baseParts) { + //Find the longest baseName segment match in the config. + //So, do joins on the biggest to smallest lengths of baseParts. + for (j = baseParts.length; j > 0; j -= 1) { + mapValue = getOwn(map, baseParts.slice(0, j).join('/')); + + //baseName segment has config, find if it has one for + //this name. + if (mapValue) { + mapValue = getOwn(mapValue, nameSegment); + if (mapValue) { + //Match, update name to the new value. + foundMap = mapValue; + foundI = i; + break outerLoop; + } + } + } + } + + //Check for a star map match, but just hold on to it, + //if there is a shorter segment match later in a matching + //config, then favor over this star map. + if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) { + foundStarMap = getOwn(starMap, nameSegment); + starI = i; + } + } + + if (!foundMap && foundStarMap) { + foundMap = foundStarMap; + foundI = starI; + } + + if (foundMap) { + nameParts.splice(0, foundI, foundMap); + name = nameParts.join('/'); + } + } + + // If the name points to a package's name, use + // the package main instead. + pkgMain = getOwn(config.pkgs, name); + + return pkgMain ? pkgMain : name; + } + + function removeScript(name) { + if (isBrowser) { + each(scripts(), function (scriptNode) { + if (scriptNode.getAttribute('data-requiremodule') === name && + scriptNode.getAttribute('data-requirecontext') === context.contextName) { + scriptNode.parentNode.removeChild(scriptNode); + return true; + } + }); + } + } + + function hasPathFallback(id) { + var pathConfig = getOwn(config.paths, id); + if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) { + //Pop off the first array value, since it failed, and + //retry + pathConfig.shift(); + context.require.undef(id); + + //Custom require that does not do map translation, since + //ID is "absolute", already mapped/resolved. + context.makeRequire(null, { + skipMap: true + })([id]); + + return true; + } + } + + //Turns a plugin!resource to [plugin, resource] + //with the plugin being undefined if the name + //did not have a plugin prefix. + function splitPrefix(name) { + var prefix, + index = name ? name.indexOf('!') : -1; + if (index > -1) { + prefix = name.substring(0, index); + name = name.substring(index + 1, name.length); + } + return [prefix, name]; + } + + /** + * Creates a module mapping that includes plugin prefix, module + * name, and path. If parentModuleMap is provided it will + * also normalize the name via require.normalize() + * + * @param {String} name the module name + * @param {String} [parentModuleMap] parent module map + * for the module name, used to resolve relative names. + * @param {Boolean} isNormalized: is the ID already normalized. + * This is true if this call is done for a define() module ID. + * @param {Boolean} applyMap: apply the map config to the ID. + * Should only be true if this map is for a dependency. + * + * @returns {Object} + */ + function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) { + var url, pluginModule, suffix, nameParts, + prefix = null, + parentName = parentModuleMap ? parentModuleMap.name : null, + originalName = name, + isDefine = true, + normalizedName = ''; + + //If no name, then it means it is a require call, generate an + //internal name. + if (!name) { + isDefine = false; + name = '_@r' + (requireCounter += 1); + } + + nameParts = splitPrefix(name); + prefix = nameParts[0]; + name = nameParts[1]; + + if (prefix) { + prefix = normalize(prefix, parentName, applyMap); + pluginModule = getOwn(defined, prefix); + } + + //Account for relative paths if there is a base name. + if (name) { + if (prefix) { + if (isNormalized) { + normalizedName = name; + } else if (pluginModule && pluginModule.normalize) { + //Plugin is loaded, use its normalize method. + normalizedName = pluginModule.normalize(name, function (name) { + return normalize(name, parentName, applyMap); + }); + } else { + // If nested plugin references, then do not try to + // normalize, as it will not normalize correctly. This + // places a restriction on resourceIds, and the longer + // term solution is not to normalize until plugins are + // loaded and all normalizations to allow for async + // loading of a loader plugin. But for now, fixes the + // common uses. Details in #1131 + normalizedName = name.indexOf('!') === -1 ? + normalize(name, parentName, applyMap) : + name; + } + } else { + //A regular module. + normalizedName = normalize(name, parentName, applyMap); + + //Normalized name may be a plugin ID due to map config + //application in normalize. The map config values must + //already be normalized, so do not need to redo that part. + nameParts = splitPrefix(normalizedName); + prefix = nameParts[0]; + normalizedName = nameParts[1]; + isNormalized = true; + + url = context.nameToUrl(normalizedName); + } + } + + //If the id is a plugin id that cannot be determined if it needs + //normalization, stamp it with a unique ID so two matching relative + //ids that may conflict can be separate. + suffix = prefix && !pluginModule && !isNormalized ? + '_unnormalized' + (unnormalizedCounter += 1) : + ''; + + return { + prefix: prefix, + name: normalizedName, + parentMap: parentModuleMap, + unnormalized: !!suffix, + url: url, + originalName: originalName, + isDefine: isDefine, + id: (prefix ? + prefix + '!' + normalizedName : + normalizedName) + suffix + }; + } + + function getModule(depMap) { + var id = depMap.id, + mod = getOwn(registry, id); + + if (!mod) { + mod = registry[id] = new context.Module(depMap); + } + + return mod; + } + + function on(depMap, name, fn) { + var id = depMap.id, + mod = getOwn(registry, id); + + if (hasProp(defined, id) && + (!mod || mod.defineEmitComplete)) { + if (name === 'defined') { + fn(defined[id]); + } + } else { + mod = getModule(depMap); + if (mod.error && name === 'error') { + fn(mod.error); + } else { + mod.on(name, fn); + } + } + } + + function onError(err, errback) { + var ids = err.requireModules, + notified = false; + + if (errback) { + errback(err); + } else { + each(ids, function (id) { + var mod = getOwn(registry, id); + if (mod) { + //Set error on module, so it skips timeout checks. + mod.error = err; + if (mod.events.error) { + notified = true; + mod.emit('error', err); + } + } + }); + + if (!notified) { + req.onError(err); + } + } + } + + /** + * Internal method to transfer globalQueue items to this context's + * defQueue. + */ + function takeGlobalQueue() { + //Push all the globalDefQueue items into the context's defQueue + if (globalDefQueue.length) { + each(globalDefQueue, function(queueItem) { + var id = queueItem[0]; + if (typeof id === 'string') { + context.defQueueMap[id] = true; + } + defQueue.push(queueItem); + }); + globalDefQueue = []; + } + } + + handlers = { + 'require': function (mod) { + if (mod.require) { + return mod.require; + } else { + return (mod.require = context.makeRequire(mod.map)); + } + }, + 'exports': function (mod) { + mod.usingExports = true; + if (mod.map.isDefine) { + if (mod.exports) { + return (defined[mod.map.id] = mod.exports); + } else { + return (mod.exports = defined[mod.map.id] = {}); + } + } + }, + 'module': function (mod) { + if (mod.module) { + return mod.module; + } else { + return (mod.module = { + id: mod.map.id, + uri: mod.map.url, + config: function () { + return getOwn(config.config, mod.map.id) || {}; + }, + exports: mod.exports || (mod.exports = {}) + }); + } + } + }; + + function cleanRegistry(id) { + //Clean up machinery used for waiting modules. + delete registry[id]; + delete enabledRegistry[id]; + } + + function breakCycle(mod, traced, processed) { + var id = mod.map.id; + + if (mod.error) { + mod.emit('error', mod.error); + } else { + traced[id] = true; + each(mod.depMaps, function (depMap, i) { + var depId = depMap.id, + dep = getOwn(registry, depId); + + //Only force things that have not completed + //being defined, so still in the registry, + //and only if it has not been matched up + //in the module already. + if (dep && !mod.depMatched[i] && !processed[depId]) { + if (getOwn(traced, depId)) { + mod.defineDep(i, defined[depId]); + mod.check(); //pass false? + } else { + breakCycle(dep, traced, processed); + } + } + }); + processed[id] = true; + } + } + + function checkLoaded() { + var err, usingPathFallback, + waitInterval = config.waitSeconds * 1000, + //It is possible to disable the wait interval by using waitSeconds of 0. + expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(), + noLoads = [], + reqCalls = [], + stillLoading = false, + needCycleCheck = true; + + //Do not bother if this call was a result of a cycle break. + if (inCheckLoaded) { + return; + } + + inCheckLoaded = true; + + //Figure out the state of all the modules. + eachProp(enabledRegistry, function (mod) { + var map = mod.map, + modId = map.id; + + //Skip things that are not enabled or in error state. + if (!mod.enabled) { + return; + } + + if (!map.isDefine) { + reqCalls.push(mod); + } + + if (!mod.error) { + //If the module should be executed, and it has not + //been inited and time is up, remember it. + if (!mod.inited && expired) { + if (hasPathFallback(modId)) { + usingPathFallback = true; + stillLoading = true; + } else { + noLoads.push(modId); + removeScript(modId); + } + } else if (!mod.inited && mod.fetched && map.isDefine) { + stillLoading = true; + if (!map.prefix) { + //No reason to keep looking for unfinished + //loading. If the only stillLoading is a + //plugin resource though, keep going, + //because it may be that a plugin resource + //is waiting on a non-plugin cycle. + return (needCycleCheck = false); + } + } + } + }); + + if (expired && noLoads.length) { + //If wait time expired, throw error of unloaded modules. + err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads); + err.contextName = context.contextName; + return onError(err); + } + + //Not expired, check for a cycle. + if (needCycleCheck) { + each(reqCalls, function (mod) { + breakCycle(mod, {}, {}); + }); + } + + //If still waiting on loads, and the waiting load is something + //other than a plugin resource, or there are still outstanding + //scripts, then just try back later. + if ((!expired || usingPathFallback) && stillLoading) { + //Something is still waiting to load. Wait for it, but only + //if a timeout is not already in effect. + if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) { + checkLoadedTimeoutId = setTimeout(function () { + checkLoadedTimeoutId = 0; + checkLoaded(); + }, 50); + } + } + + inCheckLoaded = false; + } + + Module = function (map) { + this.events = getOwn(undefEvents, map.id) || {}; + this.map = map; + this.shim = getOwn(config.shim, map.id); + this.depExports = []; + this.depMaps = []; + this.depMatched = []; + this.pluginMaps = {}; + this.depCount = 0; + + /* this.exports this.factory + this.depMaps = [], + this.enabled, this.fetched + */ + }; + + Module.prototype = { + init: function (depMaps, factory, errback, options) { + options = options || {}; + + //Do not do more inits if already done. Can happen if there + //are multiple define calls for the same module. That is not + //a normal, common case, but it is also not unexpected. + if (this.inited) { + return; + } + + this.factory = factory; + + if (errback) { + //Register for errors on this module. + this.on('error', errback); + } else if (this.events.error) { + //If no errback already, but there are error listeners + //on this module, set up an errback to pass to the deps. + errback = bind(this, function (err) { + this.emit('error', err); + }); + } + + //Do a copy of the dependency array, so that + //source inputs are not modified. For example + //"shim" deps are passed in here directly, and + //doing a direct modification of the depMaps array + //would affect that config. + this.depMaps = depMaps && depMaps.slice(0); + + this.errback = errback; + + //Indicate this module has be initialized + this.inited = true; + + this.ignore = options.ignore; + + //Could have option to init this module in enabled mode, + //or could have been previously marked as enabled. However, + //the dependencies are not known until init is called. So + //if enabled previously, now trigger dependencies as enabled. + if (options.enabled || this.enabled) { + //Enable this module and dependencies. + //Will call this.check() + this.enable(); + } else { + this.check(); + } + }, + + defineDep: function (i, depExports) { + //Because of cycles, defined callback for a given + //export can be called more than once. + if (!this.depMatched[i]) { + this.depMatched[i] = true; + this.depCount -= 1; + this.depExports[i] = depExports; + } + }, + + fetch: function () { + if (this.fetched) { + return; + } + this.fetched = true; + + context.startTime = (new Date()).getTime(); + + var map = this.map; + + //If the manager is for a plugin managed resource, + //ask the plugin to load it now. + if (this.shim) { + context.makeRequire(this.map, { + enableBuildCallback: true + })(this.shim.deps || [], bind(this, function () { + return map.prefix ? this.callPlugin() : this.load(); + })); + } else { + //Regular dependency. + return map.prefix ? this.callPlugin() : this.load(); + } + }, + + load: function () { + var url = this.map.url; + + //Regular dependency. + if (!urlFetched[url]) { + urlFetched[url] = true; + context.load(this.map.id, url); + } + }, + + /** + * Checks if the module is ready to define itself, and if so, + * define it. + */ + check: function () { + if (!this.enabled || this.enabling) { + return; + } + + var err, cjsModule, + id = this.map.id, + depExports = this.depExports, + exports = this.exports, + factory = this.factory; + + if (!this.inited) { + // Only fetch if not already in the defQueue. + if (!hasProp(context.defQueueMap, id)) { + this.fetch(); + } + } else if (this.error) { + this.emit('error', this.error); + } else if (!this.defining) { + //The factory could trigger another require call + //that would result in checking this module to + //define itself again. If already in the process + //of doing that, skip this work. + this.defining = true; + + if (this.depCount < 1 && !this.defined) { + if (isFunction(factory)) { + //If there is an error listener, favor passing + //to that instead of throwing an error. However, + //only do it for define()'d modules. require + //errbacks should not be called for failures in + //their callbacks (#699). However if a global + //onError is set, use that. + if ((this.events.error && this.map.isDefine) || + req.onError !== defaultOnError) { + try { + exports = context.execCb(id, factory, depExports, exports); + } catch (e) { + err = e; + } + } else { + exports = context.execCb(id, factory, depExports, exports); + } + + // Favor return value over exports. If node/cjs in play, + // then will not have a return value anyway. Favor + // module.exports assignment over exports object. + if (this.map.isDefine && exports === undefined) { + cjsModule = this.module; + if (cjsModule) { + exports = cjsModule.exports; + } else if (this.usingExports) { + //exports already set the defined value. + exports = this.exports; + } + } + + if (err) { + err.requireMap = this.map; + err.requireModules = this.map.isDefine ? [this.map.id] : null; + err.requireType = this.map.isDefine ? 'define' : 'require'; + return onError((this.error = err)); + } + + } else { + //Just a literal value + exports = factory; + } + + this.exports = exports; + + if (this.map.isDefine && !this.ignore) { + defined[id] = exports; + + if (req.onResourceLoad) { + var resLoadMaps = []; + each(this.depMaps, function (depMap) { + resLoadMaps.push(depMap.normalizedMap || depMap); + }); + req.onResourceLoad(context, this.map, resLoadMaps); + } + } + + //Clean up + cleanRegistry(id); + + this.defined = true; + } + + //Finished the define stage. Allow calling check again + //to allow define notifications below in the case of a + //cycle. + this.defining = false; + + if (this.defined && !this.defineEmitted) { + this.defineEmitted = true; + this.emit('defined', this.exports); + this.defineEmitComplete = true; + } + + } + }, + + callPlugin: function () { + var map = this.map, + id = map.id, + //Map already normalized the prefix. + pluginMap = makeModuleMap(map.prefix); + + //Mark this as a dependency for this plugin, so it + //can be traced for cycles. + this.depMaps.push(pluginMap); + + on(pluginMap, 'defined', bind(this, function (plugin) { + var load, normalizedMap, normalizedMod, + bundleId = getOwn(bundlesMap, this.map.id), + name = this.map.name, + parentName = this.map.parentMap ? this.map.parentMap.name : null, + localRequire = context.makeRequire(map.parentMap, { + enableBuildCallback: true + }); + + //If current map is not normalized, wait for that + //normalized name to load instead of continuing. + if (this.map.unnormalized) { + //Normalize the ID if the plugin allows it. + if (plugin.normalize) { + name = plugin.normalize(name, function (name) { + return normalize(name, parentName, true); + }) || ''; + } + + //prefix and name should already be normalized, no need + //for applying map config again either. + normalizedMap = makeModuleMap(map.prefix + '!' + name, + this.map.parentMap, + true); + on(normalizedMap, + 'defined', bind(this, function (value) { + this.map.normalizedMap = normalizedMap; + this.init([], function () { return value; }, null, { + enabled: true, + ignore: true + }); + })); + + normalizedMod = getOwn(registry, normalizedMap.id); + if (normalizedMod) { + //Mark this as a dependency for this plugin, so it + //can be traced for cycles. + this.depMaps.push(normalizedMap); + + if (this.events.error) { + normalizedMod.on('error', bind(this, function (err) { + this.emit('error', err); + })); + } + normalizedMod.enable(); + } + + return; + } + + //If a paths config, then just load that file instead to + //resolve the plugin, as it is built into that paths layer. + if (bundleId) { + this.map.url = context.nameToUrl(bundleId); + this.load(); + return; + } + + load = bind(this, function (value) { + this.init([], function () { return value; }, null, { + enabled: true + }); + }); + + load.error = bind(this, function (err) { + this.inited = true; + this.error = err; + err.requireModules = [id]; + + //Remove temp unnormalized modules for this module, + //since they will never be resolved otherwise now. + eachProp(registry, function (mod) { + if (mod.map.id.indexOf(id + '_unnormalized') === 0) { + cleanRegistry(mod.map.id); + } + }); + + onError(err); + }); + + //Allow plugins to load other code without having to know the + //context or how to 'complete' the load. + load.fromText = bind(this, function (text, textAlt) { + /*jslint evil: true */ + var moduleName = map.name, + moduleMap = makeModuleMap(moduleName), + hasInteractive = useInteractive; + + //As of 2.1.0, support just passing the text, to reinforce + //fromText only being called once per resource. Still + //support old style of passing moduleName but discard + //that moduleName in favor of the internal ref. + if (textAlt) { + text = textAlt; + } + + //Turn off interactive script matching for IE for any define + //calls in the text, then turn it back on at the end. + if (hasInteractive) { + useInteractive = false; + } + + //Prime the system by creating a module instance for + //it. + getModule(moduleMap); + + //Transfer any config to this other module. + if (hasProp(config.config, id)) { + config.config[moduleName] = config.config[id]; + } + + try { + req.exec(text); + } catch (e) { + return onError(makeError('fromtexteval', + 'fromText eval for ' + id + + ' failed: ' + e, + e, + [id])); + } + + if (hasInteractive) { + useInteractive = true; + } + + //Mark this as a dependency for the plugin + //resource + this.depMaps.push(moduleMap); + + //Support anonymous modules. + context.completeLoad(moduleName); + + //Bind the value of that module to the value for this + //resource ID. + localRequire([moduleName], load); + }); + + //Use parentName here since the plugin's name is not reliable, + //could be some weird string with no path that actually wants to + //reference the parentName's path. + plugin.load(map.name, localRequire, load, config); + })); + + context.enable(pluginMap, this); + this.pluginMaps[pluginMap.id] = pluginMap; + }, + + enable: function () { + enabledRegistry[this.map.id] = this; + this.enabled = true; + + //Set flag mentioning that the module is enabling, + //so that immediate calls to the defined callbacks + //for dependencies do not trigger inadvertent load + //with the depCount still being zero. + this.enabling = true; + + //Enable each dependency + each(this.depMaps, bind(this, function (depMap, i) { + var id, mod, handler; + + if (typeof depMap === 'string') { + //Dependency needs to be converted to a depMap + //and wired up to this module. + depMap = makeModuleMap(depMap, + (this.map.isDefine ? this.map : this.map.parentMap), + false, + !this.skipMap); + this.depMaps[i] = depMap; + + handler = getOwn(handlers, depMap.id); + + if (handler) { + this.depExports[i] = handler(this); + return; + } + + this.depCount += 1; + + on(depMap, 'defined', bind(this, function (depExports) { + if (this.undefed) { + return; + } + this.defineDep(i, depExports); + this.check(); + })); + + if (this.errback) { + on(depMap, 'error', bind(this, this.errback)); + } else if (this.events.error) { + // No direct errback on this module, but something + // else is listening for errors, so be sure to + // propagate the error correctly. + on(depMap, 'error', bind(this, function(err) { + this.emit('error', err); + })); + } + } + + id = depMap.id; + mod = registry[id]; + + //Skip special modules like 'require', 'exports', 'module' + //Also, don't call enable if it is already enabled, + //important in circular dependency cases. + if (!hasProp(handlers, id) && mod && !mod.enabled) { + context.enable(depMap, this); + } + })); + + //Enable each plugin that is used in + //a dependency + eachProp(this.pluginMaps, bind(this, function (pluginMap) { + var mod = getOwn(registry, pluginMap.id); + if (mod && !mod.enabled) { + context.enable(pluginMap, this); + } + })); + + this.enabling = false; + + this.check(); + }, + + on: function (name, cb) { + var cbs = this.events[name]; + if (!cbs) { + cbs = this.events[name] = []; + } + cbs.push(cb); + }, + + emit: function (name, evt) { + each(this.events[name], function (cb) { + cb(evt); + }); + if (name === 'error') { + //Now that the error handler was triggered, remove + //the listeners, since this broken Module instance + //can stay around for a while in the registry. + delete this.events[name]; + } + } + }; + + function callGetModule(args) { + //Skip modules already defined. + if (!hasProp(defined, args[0])) { + getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]); + } + } + + function removeListener(node, func, name, ieName) { + //Favor detachEvent because of IE9 + //issue, see attachEvent/addEventListener comment elsewhere + //in this file. + if (node.detachEvent && !isOpera) { + //Probably IE. If not it will throw an error, which will be + //useful to know. + if (ieName) { + node.detachEvent(ieName, func); + } + } else { + node.removeEventListener(name, func, false); + } + } + + /** + * Given an event from a script node, get the requirejs info from it, + * and then removes the event listeners on the node. + * @param {Event} evt + * @returns {Object} + */ + function getScriptData(evt) { + //Using currentTarget instead of target for Firefox 2.0's sake. Not + //all old browsers will be supported, but this one was easy enough + //to support and still makes sense. + var node = evt.currentTarget || evt.srcElement; + + //Remove the listeners once here. + removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange'); + removeListener(node, context.onScriptError, 'error'); + + return { + node: node, + id: node && node.getAttribute('data-requiremodule') + }; + } + + function intakeDefines() { + var args; + + //Any defined modules in the global queue, intake them now. + takeGlobalQueue(); + + //Make sure any remaining defQueue items get properly processed. + while (defQueue.length) { + args = defQueue.shift(); + if (args[0] === null) { + return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' + + args[args.length - 1])); + } else { + //args are id, deps, factory. Should be normalized by the + //define() function. + callGetModule(args); + } + } + context.defQueueMap = {}; + } + + context = { + config: config, + contextName: contextName, + registry: registry, + defined: defined, + urlFetched: urlFetched, + defQueue: defQueue, + defQueueMap: {}, + Module: Module, + makeModuleMap: makeModuleMap, + nextTick: req.nextTick, + onError: onError, + + /** + * Set a configuration for the context. + * @param {Object} cfg config object to integrate. + */ + configure: function (cfg) { + //Make sure the baseUrl ends in a slash. + if (cfg.baseUrl) { + if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') { + cfg.baseUrl += '/'; + } + } + + // Convert old style urlArgs string to a function. + if (typeof cfg.urlArgs === 'string') { + var urlArgs = cfg.urlArgs; + cfg.urlArgs = function(id, url) { + return (url.indexOf('?') === -1 ? '?' : '&') + urlArgs; + }; + } + + //Save off the paths since they require special processing, + //they are additive. + var shim = config.shim, + objs = { + paths: true, + bundles: true, + config: true, + map: true + }; + + eachProp(cfg, function (value, prop) { + if (objs[prop]) { + if (!config[prop]) { + config[prop] = {}; + } + mixin(config[prop], value, true, true); + } else { + config[prop] = value; + } + }); + + //Reverse map the bundles + if (cfg.bundles) { + eachProp(cfg.bundles, function (value, prop) { + each(value, function (v) { + if (v !== prop) { + bundlesMap[v] = prop; + } + }); + }); + } + + //Merge shim + if (cfg.shim) { + eachProp(cfg.shim, function (value, id) { + //Normalize the structure + if (isArray(value)) { + value = { + deps: value + }; + } + if ((value.exports || value.init) && !value.exportsFn) { + value.exportsFn = context.makeShimExports(value); + } + shim[id] = value; + }); + config.shim = shim; + } + + //Adjust packages if necessary. + if (cfg.packages) { + each(cfg.packages, function (pkgObj) { + var location, name; + + pkgObj = typeof pkgObj === 'string' ? {name: pkgObj} : pkgObj; + + name = pkgObj.name; + location = pkgObj.location; + if (location) { + config.paths[name] = pkgObj.location; + } + + //Save pointer to main module ID for pkg name. + //Remove leading dot in main, so main paths are normalized, + //and remove any trailing .js, since different package + //envs have different conventions: some use a module name, + //some use a file name. + config.pkgs[name] = pkgObj.name + '/' + (pkgObj.main || 'main') + .replace(currDirRegExp, '') + .replace(jsSuffixRegExp, ''); + }); + } + + //If there are any "waiting to execute" modules in the registry, + //update the maps for them, since their info, like URLs to load, + //may have changed. + eachProp(registry, function (mod, id) { + //If module already has init called, since it is too + //late to modify them, and ignore unnormalized ones + //since they are transient. + if (!mod.inited && !mod.map.unnormalized) { + mod.map = makeModuleMap(id, null, true); + } + }); + + //If a deps array or a config callback is specified, then call + //require with those args. This is useful when require is defined as a + //config object before require.js is loaded. + if (cfg.deps || cfg.callback) { + context.require(cfg.deps || [], cfg.callback); + } + }, + + makeShimExports: function (value) { + function fn() { + var ret; + if (value.init) { + ret = value.init.apply(global, arguments); + } + return ret || (value.exports && getGlobal(value.exports)); + } + return fn; + }, + + makeRequire: function (relMap, options) { + options = options || {}; + + function localRequire(deps, callback, errback) { + var id, map, requireMod; + + if (options.enableBuildCallback && callback && isFunction(callback)) { + callback.__requireJsBuild = true; + } + + if (typeof deps === 'string') { + if (isFunction(callback)) { + //Invalid call + return onError(makeError('requireargs', 'Invalid require call'), errback); + } + + //If require|exports|module are requested, get the + //value for them from the special handlers. Caveat: + //this only works while module is being defined. + if (relMap && hasProp(handlers, deps)) { + return handlers[deps](registry[relMap.id]); + } + + //Synchronous access to one module. If require.get is + //available (as in the Node adapter), prefer that. + if (req.get) { + return req.get(context, deps, relMap, localRequire); + } + + //Normalize module name, if it contains . or .. + map = makeModuleMap(deps, relMap, false, true); + id = map.id; + + if (!hasProp(defined, id)) { + return onError(makeError('notloaded', 'Module name "' + + id + + '" has not been loaded yet for context: ' + + contextName + + (relMap ? '' : '. Use require([])'))); + } + return defined[id]; + } + + //Grab defines waiting in the global queue. + intakeDefines(); + + //Mark all the dependencies as needing to be loaded. + context.nextTick(function () { + //Some defines could have been added since the + //require call, collect them. + intakeDefines(); + + requireMod = getModule(makeModuleMap(null, relMap)); + + //Store if map config should be applied to this require + //call for dependencies. + requireMod.skipMap = options.skipMap; + + requireMod.init(deps, callback, errback, { + enabled: true + }); + + checkLoaded(); + }); + + return localRequire; + } + + mixin(localRequire, { + isBrowser: isBrowser, + + /** + * Converts a module name + .extension into an URL path. + * *Requires* the use of a module name. It does not support using + * plain URLs like nameToUrl. + */ + toUrl: function (moduleNamePlusExt) { + var ext, + index = moduleNamePlusExt.lastIndexOf('.'), + segment = moduleNamePlusExt.split('/')[0], + isRelative = segment === '.' || segment === '..'; + + //Have a file extension alias, and it is not the + //dots from a relative path. + if (index !== -1 && (!isRelative || index > 1)) { + ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length); + moduleNamePlusExt = moduleNamePlusExt.substring(0, index); + } + + return context.nameToUrl(normalize(moduleNamePlusExt, + relMap && relMap.id, true), ext, true); + }, + + defined: function (id) { + return hasProp(defined, makeModuleMap(id, relMap, false, true).id); + }, + + specified: function (id) { + id = makeModuleMap(id, relMap, false, true).id; + return hasProp(defined, id) || hasProp(registry, id); + } + }); + + //Only allow undef on top level require calls + if (!relMap) { + localRequire.undef = function (id) { + //Bind any waiting define() calls to this context, + //fix for #408 + takeGlobalQueue(); + + var map = makeModuleMap(id, relMap, true), + mod = getOwn(registry, id); + + mod.undefed = true; + removeScript(id); + + delete defined[id]; + delete urlFetched[map.url]; + delete undefEvents[id]; + + //Clean queued defines too. Go backwards + //in array so that the splices do not + //mess up the iteration. + eachReverse(defQueue, function(args, i) { + if (args[0] === id) { + defQueue.splice(i, 1); + } + }); + delete context.defQueueMap[id]; + + if (mod) { + //Hold on to listeners in case the + //module will be attempted to be reloaded + //using a different config. + if (mod.events.defined) { + undefEvents[id] = mod.events; + } + + cleanRegistry(id); + } + }; + } + + return localRequire; + }, + + /** + * Called to enable a module if it is still in the registry + * awaiting enablement. A second arg, parent, the parent module, + * is passed in for context, when this method is overridden by + * the optimizer. Not shown here to keep code compact. + */ + enable: function (depMap) { + var mod = getOwn(registry, depMap.id); + if (mod) { + getModule(depMap).enable(); + } + }, + + /** + * Internal method used by environment adapters to complete a load event. + * A load event could be a script load or just a load pass from a synchronous + * load call. + * @param {String} moduleName the name of the module to potentially complete. + */ + completeLoad: function (moduleName) { + var found, args, mod, + shim = getOwn(config.shim, moduleName) || {}, + shExports = shim.exports; + + takeGlobalQueue(); + + while (defQueue.length) { + args = defQueue.shift(); + if (args[0] === null) { + args[0] = moduleName; + //If already found an anonymous module and bound it + //to this name, then this is some other anon module + //waiting for its completeLoad to fire. + if (found) { + break; + } + found = true; + } else if (args[0] === moduleName) { + //Found matching define call for this script! + found = true; + } + + callGetModule(args); + } + context.defQueueMap = {}; + + //Do this after the cycle of callGetModule in case the result + //of those calls/init calls changes the registry. + mod = getOwn(registry, moduleName); + + if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) { + if (config.enforceDefine && (!shExports || !getGlobal(shExports))) { + if (hasPathFallback(moduleName)) { + return; + } else { + return onError(makeError('nodefine', + 'No define call for ' + moduleName, + null, + [moduleName])); + } + } else { + //A script that does not call define(), so just simulate + //the call for it. + callGetModule([moduleName, (shim.deps || []), shim.exportsFn]); + } + } + + checkLoaded(); + }, + + /** + * Converts a module name to a file path. Supports cases where + * moduleName may actually be just an URL. + * Note that it **does not** call normalize on the moduleName, + * it is assumed to have already been normalized. This is an + * internal API, not a public one. Use toUrl for the public API. + */ + nameToUrl: function (moduleName, ext, skipExt) { + var paths, syms, i, parentModule, url, + parentPath, bundleId, + pkgMain = getOwn(config.pkgs, moduleName); + + if (pkgMain) { + moduleName = pkgMain; + } + + bundleId = getOwn(bundlesMap, moduleName); + + if (bundleId) { + return context.nameToUrl(bundleId, ext, skipExt); + } + + //If a colon is in the URL, it indicates a protocol is used and it is just + //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?) + //or ends with .js, then assume the user meant to use an url and not a module id. + //The slash is important for protocol-less URLs as well as full paths. + if (req.jsExtRegExp.test(moduleName)) { + //Just a plain path, not module name lookup, so just return it. + //Add extension if it is included. This is a bit wonky, only non-.js things pass + //an extension, this method probably needs to be reworked. + url = moduleName + (ext || ''); + } else { + //A module that needs to be converted to a path. + paths = config.paths; + + syms = moduleName.split('/'); + //For each module name segment, see if there is a path + //registered for it. Start with most specific name + //and work up from it. + for (i = syms.length; i > 0; i -= 1) { + parentModule = syms.slice(0, i).join('/'); + + parentPath = getOwn(paths, parentModule); + if (parentPath) { + //If an array, it means there are a few choices, + //Choose the one that is desired + if (isArray(parentPath)) { + parentPath = parentPath[0]; + } + syms.splice(0, i, parentPath); + break; + } + } + + //Join the path parts together, then figure out if baseUrl is needed. + url = syms.join('/'); + url += (ext || (/^data\:|^blob\:|\?/.test(url) || skipExt ? '' : '.js')); + url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url; + } + + return config.urlArgs && !/^blob\:/.test(url) ? + url + config.urlArgs(moduleName, url) : url; + }, + + //Delegates to req.load. Broken out as a separate function to + //allow overriding in the optimizer. + load: function (id, url) { + req.load(context, id, url); + }, + + /** + * Executes a module callback function. Broken out as a separate function + * solely to allow the build system to sequence the files in the built + * layer in the right sequence. + * + * @private + */ + execCb: function (name, callback, args, exports) { + return callback.apply(exports, args); + }, + + /** + * callback for script loads, used to check status of loading. + * + * @param {Event} evt the event from the browser for the script + * that was loaded. + */ + onScriptLoad: function (evt) { + //Using currentTarget instead of target for Firefox 2.0's sake. Not + //all old browsers will be supported, but this one was easy enough + //to support and still makes sense. + if (evt.type === 'load' || + (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) { + //Reset interactive script so a script node is not held onto for + //to long. + interactiveScript = null; + + //Pull out the name of the module and the context. + var data = getScriptData(evt); + context.completeLoad(data.id); + } + }, + + /** + * Callback for script errors. + */ + onScriptError: function (evt) { + var data = getScriptData(evt); + if (!hasPathFallback(data.id)) { + var parents = []; + eachProp(registry, function(value, key) { + if (key.indexOf('_@r') !== 0) { + each(value.depMaps, function(depMap) { + if (depMap.id === data.id) { + parents.push(key); + return true; + } + }); + } + }); + return onError(makeError('scripterror', 'Script error for "' + data.id + + (parents.length ? + '", needed by: ' + parents.join(', ') : + '"'), evt, [data.id])); + } + } + }; + + context.require = context.makeRequire(); + return context; + } + + /** + * Main entry point. + * + * If the only argument to require is a string, then the module that + * is represented by that string is fetched for the appropriate context. + * + * If the first argument is an array, then it will be treated as an array + * of dependency string names to fetch. An optional function callback can + * be specified to execute when all of those dependencies are available. + * + * Make a local req variable to help Caja compliance (it assumes things + * on a require that are not standardized), and to give a short + * name for minification/local scope use. + */ + req = requirejs = function (deps, callback, errback, optional) { + + //Find the right context, use default + var context, config, + contextName = defContextName; + + // Determine if have config object in the call. + if (!isArray(deps) && typeof deps !== 'string') { + // deps is a config object + config = deps; + if (isArray(callback)) { + // Adjust args if there are dependencies + deps = callback; + callback = errback; + errback = optional; + } else { + deps = []; + } + } + + if (config && config.context) { + contextName = config.context; + } + + context = getOwn(contexts, contextName); + if (!context) { + context = contexts[contextName] = req.s.newContext(contextName); + } + + if (config) { + context.configure(config); + } + + return context.require(deps, callback, errback); + }; + + /** + * Support require.config() to make it easier to cooperate with other + * AMD loaders on globally agreed names. + */ + req.config = function (config) { + return req(config); + }; + + /** + * Execute something after the current tick + * of the event loop. Override for other envs + * that have a better solution than setTimeout. + * @param {Function} fn function to execute later. + */ + req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) { + setTimeout(fn, 4); + } : function (fn) { fn(); }; + + /** + * Export require as a global, but only if it does not already exist. + */ + if (!require) { + require = req; + } + + req.version = version; + + //Used to filter out dependencies that are already paths. + req.jsExtRegExp = /^\/|:|\?|\.js$/; + req.isBrowser = isBrowser; + s = req.s = { + contexts: contexts, + newContext: newContext + }; + + //Create default context. + req({}); + + //Exports some context-sensitive methods on global require. + each([ + 'toUrl', + 'undef', + 'defined', + 'specified' + ], function (prop) { + //Reference from contexts instead of early binding to default context, + //so that during builds, the latest instance of the default context + //with its config gets used. + req[prop] = function () { + var ctx = contexts[defContextName]; + return ctx.require[prop].apply(ctx, arguments); + }; + }); + + if (isBrowser) { + head = s.head = document.getElementsByTagName('head')[0]; + //If BASE tag is in play, using appendChild is a problem for IE6. + //When that browser dies, this can be removed. Details in this jQuery bug: + //http://dev.jquery.com/ticket/2709 + baseElement = document.getElementsByTagName('base')[0]; + if (baseElement) { + head = s.head = baseElement.parentNode; + } + } + + /** + * Any errors that require explicitly generates will be passed to this + * function. Intercept/override it if you want custom error handling. + * @param {Error} err the error object. + */ + req.onError = defaultOnError; + + /** + * Creates the node for the load command. Only used in browser envs. + */ + req.createNode = function (config, moduleName, url) { + var node = config.xhtml ? + document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') : + document.createElement('script'); + node.type = config.scriptType || 'text/javascript'; + node.charset = 'utf-8'; + node.async = true; + return node; + }; + + /** + * Does the request to load a module for the browser case. + * Make this a separate function to allow other environments + * to override it. + * + * @param {Object} context the require context to find state. + * @param {String} moduleName the name of the module. + * @param {Object} url the URL to the module. + */ + req.load = function (context, moduleName, url) { + var config = (context && context.config) || {}, + node; + if (isBrowser) { + //In the browser so use a script tag + node = req.createNode(config, moduleName, url); + + node.setAttribute('data-requirecontext', context.contextName); + node.setAttribute('data-requiremodule', moduleName); + + //Set up load listener. Test attachEvent first because IE9 has + //a subtle issue in its addEventListener and script onload firings + //that do not match the behavior of all other browsers with + //addEventListener support, which fire the onload event for a + //script right after the script execution. See: + //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution + //UNFORTUNATELY Opera implements attachEvent but does not follow the script + //script execution mode. + if (node.attachEvent && + //Check if node.attachEvent is artificially added by custom script or + //natively supported by browser + //read https://github.com/requirejs/requirejs/issues/187 + //if we can NOT find [native code] then it must NOT natively supported. + //in IE8, node.attachEvent does not have toString() + //Note the test for "[native code" with no closing brace, see: + //https://github.com/requirejs/requirejs/issues/273 + !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) && + !isOpera) { + //Probably IE. IE (at least 6-8) do not fire + //script onload right after executing the script, so + //we cannot tie the anonymous define call to a name. + //However, IE reports the script as being in 'interactive' + //readyState at the time of the define call. + useInteractive = true; + + node.attachEvent('onreadystatechange', context.onScriptLoad); + //It would be great to add an error handler here to catch + //404s in IE9+. However, onreadystatechange will fire before + //the error handler, so that does not help. If addEventListener + //is used, then IE will fire error before load, but we cannot + //use that pathway given the connect.microsoft.com issue + //mentioned above about not doing the 'script execute, + //then fire the script load event listener before execute + //next script' that other browsers do. + //Best hope: IE10 fixes the issues, + //and then destroys all installs of IE 6-9. + //node.attachEvent('onerror', context.onScriptError); + } else { + node.addEventListener('load', context.onScriptLoad, false); + node.addEventListener('error', context.onScriptError, false); + } + node.src = url; + + //Calling onNodeCreated after all properties on the node have been + //set, but before it is placed in the DOM. + if (config.onNodeCreated) { + config.onNodeCreated(node, config, moduleName, url); + } + + //For some cache cases in IE 6-8, the script executes before the end + //of the appendChild execution, so to tie an anonymous define + //call to the module name (which is stored on the node), hold on + //to a reference to this node, but clear after the DOM insertion. + currentlyAddingScript = node; + if (baseElement) { + head.insertBefore(node, baseElement); + } else { + head.appendChild(node); + } + currentlyAddingScript = null; + + return node; + } else if (isWebWorker) { + try { + //In a web worker, use importScripts. This is not a very + //efficient use of importScripts, importScripts will block until + //its script is downloaded and evaluated. However, if web workers + //are in play, the expectation is that a build has been done so + //that only one script needs to be loaded anyway. This may need + //to be reevaluated if other use cases become common. + + // Post a task to the event loop to work around a bug in WebKit + // where the worker gets garbage-collected after calling + // importScripts(): https://webkit.org/b/153317 + setTimeout(function() {}, 0); + importScripts(url); + + //Account for anonymous modules + context.completeLoad(moduleName); + } catch (e) { + context.onError(makeError('importscripts', + 'importScripts failed for ' + + moduleName + ' at ' + url, + e, + [moduleName])); + } + } + }; + + function getInteractiveScript() { + if (interactiveScript && interactiveScript.readyState === 'interactive') { + return interactiveScript; + } + + eachReverse(scripts(), function (script) { + if (script.readyState === 'interactive') { + return (interactiveScript = script); + } + }); + return interactiveScript; + } + + //Look for a data-main script attribute, which could also adjust the baseUrl. + if (isBrowser && !cfg.skipDataMain) { + //Figure out baseUrl. Get it from the script tag with require.js in it. + eachReverse(scripts(), function (script) { + //Set the 'head' where we can append children by + //using the script's parent. + if (!head) { + head = script.parentNode; + } + + //Look for a data-main attribute to set main script for the page + //to load. If it is there, the path to data main becomes the + //baseUrl, if it is not already set. + dataMain = script.getAttribute('data-main'); + if (dataMain) { + //Preserve dataMain in case it is a path (i.e. contains '?') + mainScript = dataMain; + + //Set final baseUrl if there is not already an explicit one, + //but only do so if the data-main value is not a loader plugin + //module ID. + if (!cfg.baseUrl && mainScript.indexOf('!') === -1) { + //Pull off the directory of data-main for use as the + //baseUrl. + src = mainScript.split('/'); + mainScript = src.pop(); + subPath = src.length ? src.join('/') + '/' : './'; + + cfg.baseUrl = subPath; + } + + //Strip off any trailing .js since mainScript is now + //like a module name. + mainScript = mainScript.replace(jsSuffixRegExp, ''); + + //If mainScript is still a path, fall back to dataMain + if (req.jsExtRegExp.test(mainScript)) { + mainScript = dataMain; + } + + //Put the data-main script in the files to load. + cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript]; + + return true; + } + }); + } + + /** + * The function that handles definitions of modules. Differs from + * require() in that a string for the module should be the first argument, + * and the function to execute after dependencies are loaded should + * return a value to define the module corresponding to the first argument's + * name. + */ + define = function (name, deps, callback) { + var node, context; + + //Allow for anonymous modules + if (typeof name !== 'string') { + //Adjust args appropriately + callback = deps; + deps = name; + name = null; + } + + //This module may not have dependencies + if (!isArray(deps)) { + callback = deps; + deps = null; + } + + //If no name, and callback is a function, then figure out if it a + //CommonJS thing with dependencies. + if (!deps && isFunction(callback)) { + deps = []; + //Remove comments from the callback string, + //look for require calls, and pull them into the dependencies, + //but only if there are function args. + if (callback.length) { + callback + .toString() + .replace(commentRegExp, commentReplace) + .replace(cjsRequireRegExp, function (match, dep) { + deps.push(dep); + }); + + //May be a CommonJS thing even without require calls, but still + //could use exports, and module. Avoid doing exports and module + //work though if it just needs require. + //REQUIRES the function to expect the CommonJS variables in the + //order listed below. + deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps); + } + } + + //If in IE 6-8 and hit an anonymous define() call, do the interactive + //work. + if (useInteractive) { + node = currentlyAddingScript || getInteractiveScript(); + if (node) { + if (!name) { + name = node.getAttribute('data-requiremodule'); + } + context = contexts[node.getAttribute('data-requirecontext')]; + } + } + + //Always save off evaluating the def call until the script onload handler. + //This allows multiple modules to be in a file without prematurely + //tracing dependencies, and allows for anonymous module support, + //where the module name is not known until the script onload event + //occurs. If no context, use the global queue, and get it processed + //in the onscript load callback. + if (context) { + context.defQueue.push([name, deps, callback]); + context.defQueueMap[name] = true; + } else { + globalDefQueue.push([name, deps, callback]); + } + }; + + define.amd = { + jQuery: true + }; + + /** + * Executes the text. Normally just uses eval, but can be modified + * to use a better, environment-specific call. Only used for transpiling + * loader plugins, not for plain JS modules. + * @param {String} text the text to execute/evaluate. + */ + req.exec = function (text) { + /*jslint evil: true */ + return eval(text); + }; + + //Set up with config info. + req(cfg); +}(this, (typeof setTimeout === 'undefined' ? undefined : setTimeout))); diff --git a/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js b/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js new file mode 100644 index 0000000..5f57032 --- /dev/null +++ b/packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js @@ -0,0 +1,5887 @@ +(function dartProgram(){function copyProperties(a,b){var s=Object.keys(a) +for(var r=0;r=0)return true +if(typeof version=="function"&&version.length==0){var q=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() +function inherit(a,b){a.prototype.constructor=a +a.prototype["$i"+a.name]=a +if(b!=null){if(z){Object.setPrototypeOf(a.prototype,b.prototype) +return}var s=Object.create(b.prototype) +copyProperties(a.prototype,s) +a.prototype=s}}function inheritMany(a,b){for(var s=0;s4294967295)throw A.b(A.z(a,0,4294967295,"length",null)) +return J.jl(new Array(a),b)}, +fP(a,b){if(a<0)throw A.b(A.L("Length must be a non-negative integer: "+a)) +return A.f(new Array(a),b.h("v<0>"))}, +jl(a,b){return J.dN(A.f(a,b.h("v<0>")),b)}, +dN(a,b){a.fixed$length=Array +return a}, +fQ(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fR(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +jm(a,b){var s,r +for(s=a.length;b0;b=r){r=b-1 +if(!(r>>0===b&&b").b(a))return new A.bV(a,b.h("@<0>").D(c).h("bV<1,2>")) +return new A.az(a,b.h("@<0>").D(c).h("az<1,2>"))}, +eH(a){var s,r=a^48 +if(r<=9)return r +s=a|32 +if(97<=s&&s<=102)return s-87 +return-1}, +d0(a,b){a=a+b&536870911 +a=a+((a&524287)<<10)&536870911 +return a^a>>>6}, +h6(a){a=a+((a&67108863)<<3)&536870911 +a^=a>>>11 +return a+((a&16383)<<15)&536870911}, +fq(a){var s,r +for(s=$.X.length,r=0;rc)A.F(A.z(b,0,c,"start",null))}return new A.aJ(a,b,c,d.h("aJ<0>"))}, +dT(a,b,c,d){if(t.X.b(a))return new A.bo(a,b,c.h("@<0>").D(d).h("bo<1,2>")) +return new A.T(a,b,c.h("@<0>").D(d).h("T<1,2>"))}, +jD(a,b,c){var s="takeCount" +A.aS(b,s,t.S) +A.Z(b,s) +if(t.X.b(a))return new A.bp(a,b,c.h("bp<0>")) +return new A.aK(a,b,c.h("aK<0>"))}, +jz(a,b,c){var s="count" +if(t.X.b(a)){A.aS(b,s,t.S) +A.Z(b,s) +return new A.aV(a,b,c.h("aV<0>"))}A.aS(b,s,t.S) +A.Z(b,s) +return new A.af(a,b,c.h("af<0>"))}, +cv(){return new A.aI("No element")}, +ji(){return new A.aI("Too few elements")}, +aw:function aw(){}, +bk:function bk(a,b){this.a=a +this.$ti=b}, +az:function az(a,b){this.a=a +this.$ti=b}, +bV:function bV(a,b){this.a=a +this.$ti=b}, +bU:function bU(){}, +a8:function a8(a,b){this.a=a +this.$ti=b}, +aA:function aA(a,b){this.a=a +this.$ti=b}, +dx:function dx(a,b){this.a=a +this.b=b}, +cE:function cE(a){this.a=a}, +aU:function aU(a){this.a=a}, +dZ:function dZ(){}, +i:function i(){}, +A:function A(){}, +aJ:function aJ(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +S:function S(a,b,c){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null +_.$ti=c}, +T:function T(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bo:function bo(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aF:function aF(a,b,c){var _=this +_.a=null +_.b=a +_.c=b +_.$ti=c}, +q:function q(a,b,c){this.a=a +this.b=b +this.$ti=c}, +U:function U(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aN:function aN(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bt:function bt(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bu:function bu(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=null +_.$ti=d}, +aK:function aK(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bp:function bp(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bO:function bO(a,b,c){this.a=a +this.b=b +this.$ti=c}, +af:function af(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aV:function aV(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bH:function bH(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bI:function bI(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bJ:function bJ(a,b,c){var _=this +_.a=a +_.b=b +_.c=!1 +_.$ti=c}, +bq:function bq(a){this.$ti=a}, +br:function br(a){this.$ti=a}, +bR:function bR(a,b){this.a=a +this.$ti=b}, +bS:function bS(a,b){this.a=a +this.$ti=b}, +aC:function aC(){}, +aL:function aL(){}, +b5:function b5(){}, +b2:function b2(a){this.a=a}, +c8:function c8(){}, +id(a){var s=v.mangledGlobalNames[a] +if(s!=null)return s +return"minified:"+a}, +l8(a,b){var s +if(b!=null){s=b.x +if(s!=null)return s}return t.da.b(a)}, +h(a){var s +if(typeof a=="string")return a +if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" +else if(!1===a)return"false" +else if(a==null)return"null" +s=J.bi(a) +return s}, +cS(a){var s,r=$.fY +if(r==null)r=$.fY=Symbol("identityHashCode") +s=a[r] +if(s==null){s=Math.random()*0x3fffffff|0 +a[r]=s}return s}, +fZ(a,b){var s,r,q,p,o,n=null,m=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) +if(m==null)return n +if(3>=m.length)return A.a(m,3) +s=m[3] +if(b==null){if(s!=null)return parseInt(a,10) +if(m[2]!=null)return parseInt(a,16) +return n}if(b<2||b>36)throw A.b(A.z(b,2,36,"radix",n)) +if(b===10&&s!=null)return parseInt(a,10) +if(b<10||s==null){r=b<=10?47+b:86+b +q=m[1] +for(p=q.length,o=0;or)return n}return parseInt(a,b)}, +dY(a){return A.jp(a)}, +jp(a){var s,r,q,p +if(a instanceof A.w)return A.J(A.a1(a),null) +s=J.a7(a) +if(s===B.R||s===B.T||t.cB.b(a)){r=B.v(a) +if(r!=="Object"&&r!=="")return r +q=a.constructor +if(typeof q=="function"){p=q.name +if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.J(A.a1(a),null)}, +js(a){if(typeof a=="number"||A.fi(a))return J.bi(a) +if(typeof a=="string")return JSON.stringify(a) +if(a instanceof A.M)return a.i(0) +return"Instance of '"+A.dY(a)+"'"}, +jr(){if(!!self.location)return self.location.href +return null}, +fX(a){var s,r,q,p,o=a.length +if(o<=500)return String.fromCharCode.apply(null,a) +for(s="",r=0;r65535)return A.jt(a)}return A.fX(a)}, +ju(a,b,c){var s,r,q,p +if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) +for(s=b,r="";s>>0,s&1023|56320)}}throw A.b(A.z(a,0,1114111,null,null))}, +at(a,b,c){var s,r,q={} +q.a=0 +s=[] +r=[] +q.a=b.length +B.b.aY(s,b) +q.b="" +if(c!=null&&c.a!==0)c.P(0,new A.dX(q,r,s)) +return J.iZ(a,new A.cx(B.a_,0,s,r,0))}, +jq(a,b,c){var s,r,q +if(Array.isArray(b))s=c==null||c.a===0 +else s=!1 +if(s){r=b.length +if(r===0){if(!!a.$0)return a.$0()}else if(r===1){if(!!a.$1)return a.$1(b[0])}else if(r===2){if(!!a.$2)return a.$2(b[0],b[1])}else if(r===3){if(!!a.$3)return a.$3(b[0],b[1],b[2])}else if(r===4){if(!!a.$4)return a.$4(b[0],b[1],b[2],b[3])}else if(r===5)if(!!a.$5)return a.$5(b[0],b[1],b[2],b[3],b[4]) +q=a[""+"$"+r] +if(q!=null)return q.apply(a,b)}return A.jo(a,b,c)}, +jo(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g=Array.isArray(b)?b:A.b_(b,!0,t.z),f=g.length,e=a.$R +if(fn)return A.at(a,g,null) +if(fe)return A.at(a,g,c) +if(g===b)g=A.b_(g,!0,t.z) +l=Object.keys(q) +if(c==null)for(r=l.length,k=0;k=s)return A.eV(b,s,a,r) +return A.f1(b,r)}, +kW(a,b,c){if(a>c)return A.z(a,0,c,"start",null) +if(b!=null)if(bc)return A.z(b,a,c,"end",null) +return new A.a2(!0,b,"end",null)}, +cb(a){return new A.a2(!0,a,null,null)}, +b(a){return A.i3(new Error(),a)}, +i3(a,b){var s +if(b==null)b=new A.bP() +a.dartException=b +s=A.lr +if("defineProperty" in Object){Object.defineProperty(a,"message",{get:s}) +a.name=""}else a.toString=s +return a}, +lr(){return J.bi(this.dartException)}, +F(a){throw A.b(a)}, +lq(a,b){throw A.i3(b,a)}, +ce(a){throw A.b(A.Y(a))}, +ah(a){var s,r,q,p,o,n +a=A.ic(a.replace(String({}),"$receiver$")) +s=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(s==null)s=A.f([],t.s) +r=s.indexOf("\\$arguments\\$") +q=s.indexOf("\\$argumentsExpr\\$") +p=s.indexOf("\\$expr\\$") +o=s.indexOf("\\$method\\$") +n=s.indexOf("\\$receiver\\$") +return new A.ed(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, +ee(a){return function($expr$){var $argumentsExpr$="$arguments$" +try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, +h9(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +eY(a,b){var s=b==null,r=s?null:b.method +return new A.cB(a,r,s?null:b.receiver)}, +cf(a){if(a==null)return new A.cO(a) +if(typeof a!=="object")return a +if("dartException" in a)return A.aQ(a,a.dartException) +return A.kR(a)}, +aQ(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +return b}, +kR(a){var s,r,q,p,o,n,m,l,k,j,i,h,g +if(!("message" in a))return a +s=a.message +if("number" in a&&typeof a.number=="number"){r=a.number +q=r&65535 +if((B.c.ak(r,16)&8191)===10)switch(q){case 438:return A.aQ(a,A.eY(A.h(s)+" (Error "+q+")",null)) +case 445:case 5007:A.h(s) +return A.aQ(a,new A.bD())}}if(a instanceof TypeError){p=$.ii() +o=$.ij() +n=$.ik() +m=$.il() +l=$.ip() +k=$.iq() +j=$.io() +$.im() +i=$.is() +h=$.ir() +g=p.V(s) +if(g!=null)return A.aQ(a,A.eY(A.k(s),g)) +else{g=o.V(s) +if(g!=null){g.method="call" +return A.aQ(a,A.eY(A.k(s),g))}else if(n.V(s)!=null||m.V(s)!=null||l.V(s)!=null||k.V(s)!=null||j.V(s)!=null||m.V(s)!=null||i.V(s)!=null||h.V(s)!=null){A.k(s) +return A.aQ(a,new A.bD())}}return A.aQ(a,new A.d3(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.bL() +s=function(b){try{return String(b)}catch(f){}return null}(a) +return A.aQ(a,new A.a2(!1,null,null,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new A.bL() +return a}, +i7(a){if(a==null)return J.aR(a) +if(typeof a=="object")return A.cS(a) +return J.aR(a)}, +j8(a2){var s,r,q,p,o,n,m,l,k,j,i=a2.co,h=a2.iS,g=a2.iI,f=a2.nDA,e=a2.aI,d=a2.fs,c=a2.cs,b=d[0],a=c[0],a0=i[b],a1=a2.fT +a1.toString +s=h?Object.create(new A.d_().constructor.prototype):Object.create(new A.aT(null,null).constructor.prototype) +s.$initialize=s.constructor +if(h)r=function static_tear_off(){this.$initialize()} +else r=function tear_off(a3,a4){this.$initialize(a3,a4)} +s.constructor=r +r.prototype=s +s.$_name=b +s.$_target=a0 +q=!h +if(q)p=A.fI(b,a0,g,f) +else{s.$static_name=b +p=a0}s.$S=A.j4(a1,h,g) +s[a]=p +for(o=p,n=1;n=0 +else if(b instanceof A.ap){s=B.a.C(a,c) +return b.b.test(s)}else{s=J.eQ(b,B.a.C(a,c)) +return!s.gS(s)}}, +fm(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") +return a}, +ln(a,b,c,d){var s=b.bn(a,d) +if(s==null)return a +return A.fs(a,s.b.index,s.gN(),c)}, +ic(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return a}, +W(a,b,c){var s +if(typeof b=="string")return A.lm(a,b,c) +if(b instanceof A.ap){s=b.gbt() +s.lastIndex=0 +return a.replace(s,A.fm(c))}return A.ll(a,b,c)}, +ll(a,b,c){var s,r,q,p +for(s=J.eQ(b,a),s=s.gt(s),r=0,q="";s.l();){p=s.gn() +q=q+a.substring(r,p.gK())+c +r=p.gN()}s=q+a.substring(r) +return s.charCodeAt(0)==0?s:s}, +lm(a,b,c){var s,r,q +if(b===""){if(a==="")return c +s=a.length +r=""+c +for(q=0;q=0)return a.split(b).join(c) +return a.replace(new RegExp(A.ic(b),"g"),A.fm(c))}, +hW(a){return a}, +lk(a,b,c,d){var s,r,q,p,o,n,m +for(s=b.az(0,a),s=new A.bT(s.a,s.b,s.c),r=t.k,q=0,p="";s.l();){o=s.d +if(o==null)o=r.a(o) +n=o.b +m=n.index +p=p+A.h(A.hW(B.a.j(a,q,m)))+A.h(c.$1(o)) +q=m+n[0].length}s=p+A.h(A.hW(B.a.C(a,q))) +return s.charCodeAt(0)==0?s:s}, +lo(a,b,c,d){var s,r,q,p +if(typeof b=="string"){s=a.indexOf(b,d) +if(s<0)return a +return A.fs(a,s,s+b.length,c)}if(b instanceof A.ap)return d===0?a.replace(b.b,A.fm(c)):A.ln(a,b,c,d) +r=J.iT(b,a,d) +q=r.gt(r) +if(!q.l())return a +p=q.gn() +return B.a.W(a,p.gK(),p.gN(),c)}, +fs(a,b,c,d){return a.substring(0,b)+d+a.substring(c)}, +bm:function bm(a,b){this.a=a +this.$ti=b}, +bl:function bl(){}, +bn:function bn(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bW:function bW(a,b){this.a=a +this.$ti=b}, +bX:function bX(a,b,c){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null +_.$ti=c}, +ct:function ct(){}, +aX:function aX(a,b){this.a=a +this.$ti=b}, +cx:function cx(a,b,c,d,e){var _=this +_.a=a +_.c=b +_.d=c +_.e=d +_.f=e}, +dX:function dX(a,b,c){this.a=a +this.b=b +this.c=c}, +ed:function ed(a,b,c,d,e,f){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f}, +bD:function bD(){}, +cB:function cB(a,b,c){this.a=a +this.b=b +this.c=c}, +d3:function d3(a){this.a=a}, +cO:function cO(a){this.a=a}, +M:function M(){}, +cn:function cn(){}, +co:function co(){}, +d1:function d1(){}, +d_:function d_(){}, +aT:function aT(a,b){this.a=a +this.b=b}, +dd:function dd(a){this.a=a}, +cT:function cT(a){this.a=a}, +dc:function dc(a){this.a=a}, +en:function en(){}, +aE:function aE(a){var _=this +_.a=0 +_.f=_.e=_.d=_.c=_.b=null +_.r=0 +_.$ti=a}, +dP:function dP(a){this.a=a}, +dQ:function dQ(a,b){this.a=a +this.b=b +this.c=null}, +ac:function ac(a,b){this.a=a +this.$ti=b}, +bA:function bA(a,b,c){var _=this +_.a=a +_.b=b +_.d=_.c=null +_.$ti=c}, +eI:function eI(a){this.a=a}, +eJ:function eJ(a){this.a=a}, +eK:function eK(a){this.a=a}, +ap:function ap(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +b6:function b6(a){this.b=a}, +db:function db(a,b,c){this.a=a +this.b=b +this.c=c}, +bT:function bT(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +bM:function bM(a,b){this.a=a +this.c=b}, +dk:function dk(a,b,c){this.a=a +this.b=b +this.c=c}, +dl:function dl(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +hN(a){return a}, +ev(a,b,c){if(a>>>0!==a||a>=c)throw A.b(A.be(b,a))}, +kp(a,b,c){var s +if(!(a>>>0!==a))if(b==null)s=a>c +else s=b>>>0!==b||a>b||b>c +else s=!0 +if(s)throw A.b(A.kW(a,b,c)) +if(b==null)return c +return b}, +cJ:function cJ(){}, +cL:function cL(){}, +b1:function b1(){}, +bB:function bB(){}, +cK:function cK(){}, +cM:function cM(){}, +aG:function aG(){}, +bY:function bY(){}, +bZ:function bZ(){}, +h1(a,b){var s=b.c +return s==null?b.c=A.fa(a,b.y,!0):s}, +f2(a,b){var s=b.c +return s==null?b.c=A.c2(a,"fK",[b.y]):s}, +jx(a){var s=a.d +if(s!=null)return s +return a.d=new Map()}, +h2(a){var s=a.x +if(s===6||s===7||s===8)return A.h2(a.y) +return s===12||s===13}, +jw(a){return a.at}, +dt(a){return A.dn(v.typeUniverse,a,!1)}, +l7(a,b){var s,r,q,p,o +if(a==null)return null +s=b.z +r=a.as +if(r==null)r=a.as=new Map() +q=b.at +p=r.get(q) +if(p!=null)return p +o=A.al(v.typeUniverse,a.y,s,0) +r.set(q,o) +return o}, +al(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.x +switch(c){case 5:case 1:case 2:case 3:case 4:return b +case 6:s=b.y +r=A.al(a,s,a0,a1) +if(r===s)return b +return A.hs(a,r,!0) +case 7:s=b.y +r=A.al(a,s,a0,a1) +if(r===s)return b +return A.fa(a,r,!0) +case 8:s=b.y +r=A.al(a,s,a0,a1) +if(r===s)return b +return A.hr(a,r,!0) +case 9:q=b.z +p=A.ca(a,q,a0,a1) +if(p===q)return b +return A.c2(a,b.y,p) +case 10:o=b.y +n=A.al(a,o,a0,a1) +m=b.z +l=A.ca(a,m,a0,a1) +if(n===o&&l===m)return b +return A.f8(a,n,l) +case 12:k=b.y +j=A.al(a,k,a0,a1) +i=b.z +h=A.kN(a,i,a0,a1) +if(j===k&&h===i)return b +return A.hq(a,j,h) +case 13:g=b.z +a1+=g.length +f=A.ca(a,g,a0,a1) +o=b.y +n=A.al(a,o,a0,a1) +if(f===g&&n===o)return b +return A.f9(a,n,f,!0) +case 14:e=b.y +if(e=0)p+=" "+r[q];++q}return p+"})"}, +hP(a4,a5,a6){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=", " +if(a6!=null){s=a6.length +if(a5==null){a5=A.f([],t.s) +r=null}else r=a5.length +q=a5.length +for(p=s;p>0;--p)B.b.k(a5,"T"+(q+p)) +for(o=t.O,n=t._,m="<",l="",p=0;p=0))return A.a(a5,j) +m=B.a.bO(m+l,a5[j]) +i=a6[p] +h=i.x +if(!(h===2||h===3||h===4||h===5||i===o))if(!(i===n))k=!1 +else k=!0 +else k=!0 +if(!k)m+=" extends "+A.J(i,a5)}m+=">"}else{m="" +r=null}o=a4.y +g=a4.z +f=g.a +e=f.length +d=g.b +c=d.length +b=g.c +a=b.length +a0=A.J(o,a5) +for(a1="",a2="",p=0;p0){a1+=a2+"[" +for(a2="",p=0;p0){a1+=a2+"{" +for(a2="",p=0;p "+a0}, +J(a,b){var s,r,q,p,o,n,m,l=a.x +if(l===5)return"erased" +if(l===2)return"dynamic" +if(l===3)return"void" +if(l===1)return"Never" +if(l===4)return"any" +if(l===6){s=A.J(a.y,b) +return s}if(l===7){r=a.y +s=A.J(r,b) +q=r.x +return(q===12||q===13?"("+s+")":s)+"?"}if(l===8)return"FutureOr<"+A.J(a.y,b)+">" +if(l===9){p=A.kQ(a.y) +o=a.z +return o.length>0?p+("<"+A.hT(o,b)+">"):p}if(l===11)return A.kL(a,b) +if(l===12)return A.hP(a,b,null) +if(l===13)return A.hP(a.y,b,a.z) +if(l===14){n=a.y +m=b.length +n=m-1-n +if(!(n>=0&&n0)p+="<"+A.c1(c)+">" +s=a.eC.get(p) +if(s!=null)return s +r=new A.a_(null,null) +r.x=9 +r.y=b +r.z=c +if(c.length>0)r.c=c[0] +r.at=p +q=A.ai(a,r) +a.eC.set(p,q) +return q}, +f8(a,b,c){var s,r,q,p,o,n +if(b.x===10){s=b.y +r=b.z.concat(c)}else{r=c +s=b}q=s.at+(";<"+A.c1(r)+">") +p=a.eC.get(q) +if(p!=null)return p +o=new A.a_(null,null) +o.x=10 +o.y=s +o.z=r +o.at=q +n=A.ai(a,o) +a.eC.set(q,n) +return n}, +k3(a,b,c){var s,r,q="+"+(b+"("+A.c1(c)+")"),p=a.eC.get(q) +if(p!=null)return p +s=new A.a_(null,null) +s.x=11 +s.y=b +s.z=c +s.at=q +r=A.ai(a,s) +a.eC.set(q,r) +return r}, +hq(a,b,c){var s,r,q,p,o,n=b.at,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+A.c1(m) +if(j>0){s=l>0?",":"" +g+=s+"["+A.c1(k)+"]"}if(h>0){s=l>0?",":"" +g+=s+"{"+A.jY(i)+"}"}r=n+(g+")") +q=a.eC.get(r) +if(q!=null)return q +p=new A.a_(null,null) +p.x=12 +p.y=b +p.z=c +p.at=r +o=A.ai(a,p) +a.eC.set(r,o) +return o}, +f9(a,b,c,d){var s,r=b.at+("<"+A.c1(c)+">"),q=a.eC.get(r) +if(q!=null)return q +s=A.k_(a,b,c,r,d) +a.eC.set(r,s) +return s}, +k_(a,b,c,d,e){var s,r,q,p,o,n,m,l +if(e){s=c.length +r=A.eu(s) +for(q=0,p=0;p0){n=A.al(a,b,r,0) +m=A.ca(a,c,r,0) +return A.f9(a,n,m,c!==m)}}l=new A.a_(null,null) +l.x=13 +l.y=b +l.z=c +l.at=d +return A.ai(a,l)}, +hj(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +hl(a){var s,r,q,p,o,n,m,l=a.r,k=a.s +for(s=l.length,r=0;r=48&&q<=57)r=A.jT(r+1,q,l,k) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.hk(a,r,l,k,!1) +else if(q===46)r=A.hk(a,r,l,k,!0) +else{++r +switch(q){case 44:break +case 58:k.push(!1) +break +case 33:k.push(!0) +break +case 59:k.push(A.ax(a.u,a.e,k.pop())) +break +case 94:k.push(A.k2(a.u,k.pop())) +break +case 35:k.push(A.c3(a.u,5,"#")) +break +case 64:k.push(A.c3(a.u,2,"@")) +break +case 126:k.push(A.c3(a.u,3,"~")) +break +case 60:k.push(a.p) +a.p=k.length +break +case 62:A.jV(a,k) +break +case 38:A.jU(a,k) +break +case 42:p=a.u +k.push(A.hs(p,A.ax(p,a.e,k.pop()),a.n)) +break +case 63:p=a.u +k.push(A.fa(p,A.ax(p,a.e,k.pop()),a.n)) +break +case 47:p=a.u +k.push(A.hr(p,A.ax(p,a.e,k.pop()),a.n)) +break +case 40:k.push(-3) +k.push(a.p) +a.p=k.length +break +case 41:A.jS(a,k) +break +case 91:k.push(a.p) +a.p=k.length +break +case 93:o=k.splice(a.p) +A.hm(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-1) +break +case 123:k.push(a.p) +a.p=k.length +break +case 125:o=k.splice(a.p) +A.jX(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-2) +break +case 43:n=l.indexOf("(",r) +k.push(l.substring(r,n)) +k.push(-4) +k.push(a.p) +a.p=k.length +r=n+1 +break +default:throw"Bad character "+q}}}m=k.pop() +return A.ax(a.u,a.e,m)}, +jT(a,b,c,d){var s,r,q=b-48 +for(s=c.length;a=48&&r<=57))break +q=q*10+(r-48)}d.push(q) +return a}, +hk(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +for(s=c.length;m>>0)-97&65535)<26||r===95||r===36||r===124))q=r>=48&&r<=57 +else q=!0 +if(!q)break}}p=c.substring(b,m) +if(e){s=a.u +o=a.e +if(o.x===10)o=o.y +n=A.k8(s,o.y)[p] +if(n==null)A.F('No "'+p+'" in "'+A.jw(o)+'"') +d.push(A.ep(s,o,n))}else d.push(p) +return m}, +jV(a,b){var s,r=a.u,q=A.hi(a,b),p=b.pop() +if(typeof p=="string")b.push(A.c2(r,p,q)) +else{s=A.ax(r,a.e,p) +switch(s.x){case 12:b.push(A.f9(r,s,q,a.n)) +break +default:b.push(A.f8(r,s,q)) +break}}}, +jS(a,b){var s,r,q,p,o,n=null,m=a.u,l=b.pop() +if(typeof l=="number")switch(l){case-1:s=b.pop() +r=n +break +case-2:r=b.pop() +s=n +break +default:b.push(l) +r=n +s=r +break}else{b.push(l) +r=n +s=r}q=A.hi(a,b) +l=b.pop() +switch(l){case-3:l=b.pop() +if(s==null)s=m.sEA +if(r==null)r=m.sEA +p=A.ax(m,a.e,l) +o=new A.dg() +o.a=q +o.b=s +o.c=r +b.push(A.hq(m,p,o)) +return +case-4:b.push(A.k3(m,b.pop(),q)) +return +default:throw A.b(A.ck("Unexpected state under `()`: "+A.h(l)))}}, +jU(a,b){var s=b.pop() +if(0===s){b.push(A.c3(a.u,1,"0&")) +return}if(1===s){b.push(A.c3(a.u,4,"1&")) +return}throw A.b(A.ck("Unexpected extended operation "+A.h(s)))}, +hi(a,b){var s=b.splice(a.p) +A.hm(a.u,a.e,s) +a.p=b.pop() +return s}, +ax(a,b,c){if(typeof c=="string")return A.c2(a,c,a.sEA) +else if(typeof c=="number"){b.toString +return A.jW(a,b,c)}else return c}, +hm(a,b,c){var s,r=c.length +for(s=0;sn)return!1 +m=n-o +l=s.b +k=r.b +j=l.length +i=k.length +if(o+j=d)return!1 +a1=f[b] +b+=3 +if(a00?new Array(q):v.typeUniverse.sEA +for(o=0;o0?new Array(a):v.typeUniverse.sEA}, +a_:function a_(a,b){var _=this +_.a=a +_.b=b +_.w=_.r=_.e=_.d=_.c=null +_.x=0 +_.at=_.as=_.Q=_.z=_.y=null}, +dg:function dg(){this.c=this.b=this.a=null}, +eo:function eo(a){this.a=a}, +df:function df(){}, +c0:function c0(a){this.a=a}, +ho(a,b,c){return 0}, +c_:function c_(a,b){var _=this +_.a=a +_.e=_.d=_.c=_.b=null +_.$ti=b}, +b9:function b9(a,b){this.a=a +this.$ti=b}, +eZ(a,b){return new A.aE(a.h("@<0>").D(b).h("aE<1,2>"))}, +f_(a){var s,r={} +if(A.fq(a))return"{...}" +s=new A.C("") +try{B.b.k($.X,a) +s.a+="{" +r.a=!0 +a.P(0,new A.dS(r,s)) +s.a+="}"}finally{if(0>=$.X.length)return A.a($.X,-1) +$.X.pop()}r=s.a +return r.charCodeAt(0)==0?r:r}, +p:function p(){}, +D:function D(){}, +dS:function dS(a,b){this.a=a +this.b=b}, +c4:function c4(){}, +b0:function b0(){}, +aM:function aM(a,b){this.a=a +this.$ti=b}, +bb:function bb(){}, +kJ(a,b){var s,r,q,p=null +try{p=JSON.parse(a)}catch(r){s=A.cf(r) +q=A.r(String(s),null,null) +throw A.b(q)}q=A.ew(p) +return q}, +ew(a){var s +if(a==null)return null +if(typeof a!="object")return a +if(Object.getPrototypeOf(a)!==Array.prototype)return new A.dh(a,Object.create(null)) +for(s=0;s=0)return null +return r}return null}, +jR(a,b,c,d){var s=a?$.iu():$.it() +if(s==null)return null +if(0===c&&d===b.length)return A.hg(s,b) +return A.hg(s,b.subarray(c,A.a5(c,d,b.length)))}, +hg(a,b){var s,r +try{s=a.decode(b) +return s}catch(r){}return null}, +fD(a,b,c,d,e,f){if(B.c.aN(f,4)!==0)throw A.b(A.r("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw A.b(A.r("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw A.b(A.r("Invalid base64 padding, more than two '=' characters",a,b))}, +kj(a){switch(a){case 65:return"Missing extension byte" +case 67:return"Unexpected extension byte" +case 69:return"Invalid UTF-8 byte" +case 71:return"Overlong encoding" +case 73:return"Out of unicode range" +case 75:return"Encoded surrogate" +case 77:return"Unfinished UTF-8 octet sequence" +default:return""}}, +ki(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) +for(s=J.aO(a),r=0;r>>0!==0)q=255 +if(!(r")) +for(s=J.K(a);s.l();)B.b.k(r,c.a(s.gn())) +if(b)return r +return J.dN(r,c)}, +b_(a,b,c){var s +if(b)return A.fS(a,c) +s=J.dN(A.fS(a,c),c) +return s}, +fS(a,b){var s,r +if(Array.isArray(a))return A.f(a.slice(0),b.h("v<0>")) +s=A.f([],b.h("v<0>")) +for(r=J.K(a);r.l();)B.b.k(s,r.gn()) +return s}, +a3(a,b){return J.fQ(A.dR(a,!1,b))}, +h5(a,b,c){var s,r +if(Array.isArray(a)){s=a +r=s.length +c=A.a5(b,c,r) +return A.h_(b>0||c>>4 +if(!(n<8))return A.a(a,n) +n=(a[n]&1<<(o&15))!==0}else n=!1 +if(n)p+=A.N(o) +else p=d&&o===32?p+"+":p+"%"+m[o>>>4&15]+m[o&15]}return p.charCodeAt(0)==0?p:p}, +aB(a){if(typeof a=="number"||A.fi(a)||a==null)return J.bi(a) +if(typeof a=="string")return JSON.stringify(a) +return A.js(a)}, +ck(a){return new A.bj(a)}, +L(a){return new A.a2(!1,null,null,a)}, +ch(a,b,c){return new A.a2(!0,a,b,c)}, +fC(a){return new A.a2(!1,null,a,"Must not be null")}, +aS(a,b,c){return a==null?A.F(A.fC(b)):a}, +f0(a){var s=null +return new A.ae(s,s,!1,s,s,a)}, +f1(a,b){return new A.ae(null,null,!0,a,b,"Value not in range")}, +z(a,b,c,d,e){return new A.ae(b,c,!0,a,d,"Invalid value")}, +h0(a,b,c,d){if(ac)throw A.b(A.z(a,b,c,d,null)) +return a}, +a5(a,b,c){if(0>a||a>c)throw A.b(A.z(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw A.b(A.z(b,a,c,"end",null)) +return b}return c}, +Z(a,b){if(a<0)throw A.b(A.z(a,0,null,b,null)) +return a}, +eV(a,b,c,d){return new A.bv(b,!0,a,d,"Index out of range")}, +B(a){return new A.d4(a)}, +ha(a){return new A.d2(a)}, +cZ(a){return new A.aI(a)}, +Y(a){return new A.cp(a)}, +r(a,b,c){return new A.aW(a,b,c)}, +jk(a,b,c){var s,r +if(A.fq(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=A.f([],t.s) +B.b.k($.X,a) +try{A.kI(a,s)}finally{if(0>=$.X.length)return A.a($.X,-1) +$.X.pop()}r=A.e3(b,t.n.a(s),", ")+c +return r.charCodeAt(0)==0?r:r}, +fN(a,b,c){var s,r +if(A.fq(a))return b+"..."+c +s=new A.C(b) +B.b.k($.X,a) +try{r=s +r.a=A.e3(r.a,a,", ")}finally{if(0>=$.X.length)return A.a($.X,-1) +$.X.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +kI(a,b){var s,r,q,p,o,n,m,l=a.gt(a),k=0,j=0 +while(!0){if(!(k<80||j<3))break +if(!l.l())return +s=A.h(l.gn()) +B.b.k(b,s) +k+=s.length+2;++j}if(!l.l()){if(j<=5)return +if(0>=b.length)return A.a(b,-1) +r=b.pop() +if(0>=b.length)return A.a(b,-1) +q=b.pop()}else{p=l.gn();++j +if(!l.l()){if(j<=4){B.b.k(b,A.h(p)) +return}r=A.h(p) +if(0>=b.length)return A.a(b,-1) +q=b.pop() +k+=r.length+2}else{o=l.gn();++j +for(;l.l();p=o,o=n){n=l.gn();++j +if(j>100){while(!0){if(!(k>75&&j>3))break +if(0>=b.length)return A.a(b,-1) +k-=b.pop().length+2;--j}B.b.k(b,"...") +return}}q=A.h(p) +r=A.h(o) +k+=r.length+q.length+4}}if(j>b.length+2){k+=5 +m="..."}else m=null +while(!0){if(!(k>80&&b.length>3))break +if(0>=b.length)return A.a(b,-1) +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)B.b.k(b,m) +B.b.k(b,q) +B.b.k(b,r)}, +fT(a,b,c,d,e){return new A.aA(a,b.h("@<0>").D(c).D(d).D(e).h("aA<1,2,3,4>"))}, +fV(a,b,c){var s +if(B.n===c){s=J.aR(a) +b=J.aR(b) +return A.h6(A.d0(A.d0($.fw(),s),b))}s=J.aR(a) +b=J.aR(b) +c=c.gE(c) +c=A.h6(A.d0(A.d0(A.d0($.fw(),s),b),c)) +return c}, +hc(a){var s,r=null,q=new A.C(""),p=A.f([-1],t.t) +A.jN(r,r,r,q,p) +B.b.k(p,q.a.length) +q.a+="," +A.jL(B.h,B.G.cp(a),q) +s=q.a +return new A.d5(s.charCodeAt(0)==0?s:s,p,r).gag()}, +Q(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length +if(a4>=5){if(4>=a4)return A.a(a5,4) +s=((a5.charCodeAt(4)^58)*3|a5.charCodeAt(0)^100|a5.charCodeAt(1)^97|a5.charCodeAt(2)^116|a5.charCodeAt(3)^97)>>>0 +if(s===0)return A.hb(a4=14)B.b.v(r,7,a4) +q=r[1] +if(q>=0)if(A.hU(a5,0,q,20,r)===20)r[7]=q +p=r[2]+1 +o=r[3] +n=r[4] +m=r[5] +l=r[6] +if(lq+3){j=a3 +k=!1}else{i=o>0 +if(i&&o+1===n){j=a3 +k=!1}else{if(!B.a.A(a5,"\\",n))if(p>0)h=B.a.A(a5,"\\",p-1)||B.a.A(a5,"\\",p-2) +else h=!1 +else h=!0 +if(h){j=a3 +k=!1}else{if(!(mn+2&&B.a.A(a5,"/..",m-3) +else h=!0 +if(h){j=a3 +k=!1}else{if(q===4)if(B.a.A(a5,"file",0)){if(p<=0){if(!B.a.A(a5,"/",n)){g="file:///" +s=3}else{g="file://" +s=2}a5=g+B.a.j(a5,n,a4) +q-=0 +i=s-0 +m+=i +l+=i +a4=a5.length +p=7 +o=7 +n=7}else if(n===m){++l +f=m+1 +a5=B.a.W(a5,n,m,"/");++a4 +m=f}j="file"}else if(B.a.A(a5,"http",0)){if(i&&o+3===n&&B.a.A(a5,"80",o+1)){l-=3 +e=n-3 +m-=3 +a5=B.a.W(a5,o,n,"") +a4-=3 +n=e}j="http"}else j=a3 +else if(q===5&&B.a.A(a5,"https",0)){if(i&&o+4===n&&B.a.A(a5,"443",o+1)){l-=4 +e=n-4 +m-=4 +a5=B.a.W(a5,o,n,"") +a4-=3 +n=e}j="https"}else j=a3 +k=!0}}}}else j=a3 +if(k){if(a40)j=A.hC(a5,0,q) +else{if(q===0)A.bc(a5,0,"Invalid empty scheme") +j=""}if(p>0){d=q+3 +c=d=0&&r9)j.$2("invalid character",r)}else{if(p===3)j.$2(l,r) +n=A.V(B.a.j(a,q,r),null) +if(n>255)j.$2(k,q) +m=p+1 +if(!(p<4))return A.a(i,p) +i[p]=n +q=r+1 +p=m}}if(p!==3)j.$2(l,c) +n=A.V(B.a.j(a,q,c),null) +if(n>255)j.$2(k,q) +if(!(p<4))return A.a(i,p) +i[p]=n +return i}, +hf(a,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null,d=new A.eg(a),c=new A.eh(d,a),b=a.length +if(b<2)d.$2("address is too short",e) +s=A.f([],t.t) +for(r=a0,q=r,p=!1,o=!1;r=0&&r>>0) +B.b.k(s,(l[2]<<8|l[3])>>>0)}if(p){if(s.length>7)d.$2("an address with a wildcard must have less than 7 parts",e)}else if(s.length!==8)d.$2("an address without a wildcard must contain exactly 8 parts",e) +k=new Uint8Array(16) +for(b=s.length,j=9-b,r=0,i=0;r=0&&i<16))return A.a(k,i) +k[i]=0 +f=i+1 +if(!(f<16))return A.a(k,f) +k[f]=0 +i+=2}else{f=B.c.ak(h,8) +if(!(i>=0&&i<16))return A.a(k,i) +k[i]=f +f=i+1 +if(!(f<16))return A.a(k,f) +k[f]=h&255 +i+=2}}return k}, +eq(a,b,c,d,e,f,g){return new A.c5(a,b,c,d,e,f,g)}, +E(a,b,c,d){var s,r,q,p,o,n,m,l,k=null +d=d==null?"":A.hC(d,0,d.length) +s=A.hD(k,0,0) +a=A.hz(a,0,a==null?0:a.length,!1) +r=A.hB(k,0,0,k) +q=A.hy(k,0,0) +p=A.fc(k,d) +o=d==="file" +if(a==null)n=s.length!==0||p!=null||o +else n=!1 +if(n)a="" +n=a==null +m=!n +b=A.hA(b,0,b==null?0:b.length,c,d,m) +l=d.length===0 +if(l&&n&&!B.a.q(b,"/"))b=A.fe(b,!l||m) +else b=A.aj(b) +return A.eq(d,s,n&&B.a.q(b,"//")?"":a,p,b,r,q)}, +hv(a){if(a==="http")return 80 +if(a==="https")return 443 +return 0}, +bc(a,b,c){throw A.b(A.r(c,a,b))}, +ht(a,b){return b?A.ke(a,!1):A.kd(a,!1)}, +ka(a,b){var s,r,q +for(s=a.length,r=0;r")),r=r.h("A.E");s.l();){q=s.d +if(q==null)q=r.a(q) +if(B.a.u(q,A.o('["*/:<>?\\\\|]',!1)))if(b)throw A.b(A.L("Illegal character in path")) +else throw A.b(A.B("Illegal character in path: "+q))}}, +hu(a,b){var s,r="Illegal drive letter " +if(!(65<=a&&a<=90))s=97<=a&&a<=122 +else s=!0 +if(s)return +if(b)throw A.b(A.L(r+A.h4(a))) +else throw A.b(A.B(r+A.h4(a)))}, +kd(a,b){var s=null,r=A.f(a.split("/"),t.s) +if(B.a.q(a,"/"))return A.E(s,s,r,"file") +else return A.E(s,s,r,s)}, +ke(a,b){var s,r,q,p,o="\\",n=null,m="file" +if(B.a.q(a,"\\\\?\\"))if(B.a.A(a,"UNC\\",4))a=B.a.W(a,0,7,o) +else{a=B.a.C(a,4) +s=a.length +if(s>=3){if(1>=s)return A.a(a,1) +if(a.charCodeAt(1)===58){if(2>=s)return A.a(a,2) +s=a.charCodeAt(2)!==92}else s=!0}else s=!0 +if(s)throw A.b(A.ch(a,"path","Windows paths with \\\\?\\ prefix must be absolute"))}else a=A.W(a,"/",o) +s=a.length +if(s>1&&a.charCodeAt(1)===58){if(0>=s)return A.a(a,0) +A.hu(a.charCodeAt(0),!0) +if(s!==2){if(2>=s)return A.a(a,2) +s=a.charCodeAt(2)!==92}else s=!0 +if(s)throw A.b(A.ch(a,"path","Windows paths with drive letter must be absolute")) +r=A.f(a.split(o),t.s) +A.c6(r,!0,1) +return A.E(n,n,r,m)}if(B.a.q(a,o))if(B.a.A(a,o,1)){q=B.a.a4(a,o,2) +s=q<0 +p=s?B.a.C(a,2):B.a.j(a,2,q) +r=A.f((s?"":B.a.C(a,q+1)).split(o),t.s) +A.c6(r,!0,0) +return A.E(p,n,r,m)}else{r=A.f(a.split(o),t.s) +A.c6(r,!0,0) +return A.E(n,n,r,m)}else{r=A.f(a.split(o),t.s) +A.c6(r,!0,0) +return A.E(n,n,r,n)}}, +fc(a,b){if(a!=null&&a===A.hv(b))return null +return a}, +hz(a,b,c,d){var s,r,q,p,o,n +if(a==null)return null +if(b===c)return"" +s=a.length +if(!(b>=0&&b=0&&r=b&&q=b&&s=0&&r>>4 +if(!(m<8))return A.a(B.i,m) +m=(B.i[m]&1<<(o&15))!==0}else m=!1 +if(m){if(p&&65<=o&&90>=o){if(h==null)h=new A.C("") +if(q=0&&r>>4 +if(!(l<8))return A.a(B.z,l) +l=(B.z[l]&1<<(n&15))!==0}else l=!1 +if(l){if(o&&65<=n&&90>=n){if(p==null)p=new A.C("") +if(q>>4 +if(!(l<8))return A.a(B.k,l) +l=(B.k[l]&1<<(n&15))!==0}else l=!1 +if(l)A.bc(a,r,"Invalid character") +else{if((n&64512)===55296&&r+1>>4 +if(!(o<8))return A.a(B.j,o) +o=(B.j[o]&1<<(p&15))!==0}else o=!1 +if(!o)A.bc(a,r,"Illegal scheme character") +if(65<=p&&p<=90)q=!0}a=B.a.j(a,b,c) +return A.k9(q?a.toLowerCase():a)}, +k9(a){if(a==="http")return"http" +if(a==="file")return"file" +if(a==="https")return"https" +if(a==="package")return"package" +return a}, +hD(a,b,c){if(a==null)return"" +return A.c7(a,b,c,B.V,!1,!1)}, +hA(a,b,c,d,e,f){var s,r,q=e==="file",p=q||f +if(a==null){if(d==null)return q?"/":"" +s=A.x(d) +r=new A.q(d,s.h("c(1)").a(new A.er()),s.h("q<1,c>")).Y(0,"/")}else if(d!=null)throw A.b(A.L("Both path and pathSegments specified")) +else r=A.c7(a,b,c,B.y,!0,!0) +if(r.length===0){if(q)return"/"}else if(p&&!B.a.q(r,"/"))r="/"+r +return A.kf(r,e,f)}, +kf(a,b,c){var s=b.length===0 +if(s&&!c&&!B.a.q(a,"/")&&!B.a.q(a,"\\"))return A.fe(a,!s||c) +return A.aj(a)}, +hB(a,b,c,d){if(a!=null)return A.c7(a,b,c,B.h,!0,!1) +return null}, +hy(a,b,c){if(a==null)return null +return A.c7(a,b,c,B.h,!0,!1)}, +fd(a,b,c){var s,r,q,p,o,n,m=b+2,l=a.length +if(m>=l)return"%" +s=b+1 +if(!(s>=0&&s=0))return A.a(a,m) +q=a.charCodeAt(m) +p=A.eH(r) +o=A.eH(q) +if(p<0||o<0)return"%" +n=p*16+o +if(n<127){m=B.c.ak(n,4) +if(!(m<8))return A.a(B.i,m) +m=(B.i[m]&1<<(n&15))!==0}else m=!1 +if(m)return A.N(c&&65<=n&&90>=n?(n|32)>>>0:n) +if(r>=97||q>=97)return B.a.j(a,b,b+3).toUpperCase() +return null}, +fb(a){var s,r,q,p,o,n,m,l,k="0123456789ABCDEF" +if(a<128){s=new Uint8Array(3) +s[0]=37 +r=a>>>4 +if(!(r<16))return A.a(k,r) +s[1]=k.charCodeAt(r) +s[2]=k.charCodeAt(a&15)}else{if(a>2047)if(a>65535){q=240 +p=4}else{q=224 +p=3}else{q=192 +p=2}r=3*p +s=new Uint8Array(r) +for(o=0;--p,p>=0;q=128){n=B.c.cd(a,6*p)&63|q +if(!(o>>4 +if(!(l<16))return A.a(k,l) +if(!(m=0&&q>>4 +if(!(m<8))return A.a(d,m) +m=(d[m]&1<<(n&15))!==0}else m=!1 +if(m)++q +else{if(n===37){l=A.fd(a,q,!1) +if(l==null){q+=3 +continue}if("%"===l){l="%25" +k=1}else k=3}else if(n===92&&f){l="/" +k=1}else{if(s)if(n<=93){m=n>>>4 +if(!(m<8))return A.a(B.k,m) +m=(B.k[m]&1<<(n&15))!==0}else m=!1 +else m=!1 +if(m){A.bc(a,q,"Invalid character") +k=h +l=k}else{if((n&64512)===55296){m=q+1 +if(m=m)return A.a(s,-1) +s.pop() +if(s.length===0)B.b.k(s,"")}p=!0}else if("."===n)p=!0 +else{B.b.k(s,n) +p=!1}}if(p)B.b.k(s,"") +return B.b.Y(s,"/")}, +fe(a,b){var s,r,q,p,o,n +if(!A.hE(a))return!b?A.hw(a):a +s=A.f([],t.s) +for(r=a.split("/"),q=r.length,p=!1,o=0;o=s.length)return A.a(s,-1) +s.pop() +p=!0}else{B.b.k(s,"..") +p=!1}else if("."===n)p=!0 +else{B.b.k(s,n) +p=!1}}r=s.length +if(r!==0)if(r===1){if(0>=r)return A.a(s,0) +r=s[0].length===0}else r=!1 +else r=!0 +if(r)return"./" +if(p||B.b.gL(s)==="..")B.b.k(s,"") +if(!b){if(0>=s.length)return A.a(s,0) +B.b.v(s,0,A.hw(s[0]))}return B.b.Y(s,"/")}, +hw(a){var s,r,q,p=a.length +if(p>=2&&A.hx(a.charCodeAt(0)))for(s=1;s>>4 +if(!(q<8))return A.a(B.j,q) +q=(B.j[q]&1<<(r&15))===0}else q=!0 +if(q)break}return a}, +kh(a,b){if(a.ct("package")&&a.c==null)return A.hV(b,0,b.length) +return-1}, +hH(a){var s,r,q,p=a.gaJ(),o=p.length +if(o>0&&J.I(p[0])===2&&J.eR(p[0],1)===58){if(0>=o)return A.a(p,0) +A.hu(J.eR(p[0],0),!1) +A.c6(p,!1,1) +s=!0}else{A.c6(p,!1,0) +s=!1}r=a.gaF()&&!s?""+"\\":"" +if(a.gam()){q=a.gU() +if(q.length!==0)r=r+"\\"+q+"\\"}r=A.e3(r,p,"\\") +o=s&&o===1?r+"\\":r +return o.charCodeAt(0)==0?o:o}, +kc(a,b){var s,r,q,p,o +for(s=a.length,r=0,q=0;q<2;++q){p=b+q +if(!(p127)throw A.b(A.L("Illegal percent encoding in URI")) +if(r===37){if(n+3>o)throw A.b(A.L("Truncated URI")) +B.b.k(p,A.kc(a,n+1)) +n+=2}else B.b.k(p,r)}}t.L.a(p) +return B.a5.al(p)}, +hx(a){var s=a|32 +return 97<=s&&s<=122}, +jN(a,b,c,d,e){var s,r +if(!0)d.a=d.a +else{s=A.jM("") +if(s<0)throw A.b(A.ch("","mimeType","Invalid MIME type")) +r=d.a+=A.fg(B.C,B.a.j("",0,s),B.e,!1) +d.a=r+"/" +d.a+=A.fg(B.C,B.a.C("",s+1),B.e,!1)}}, +jM(a){var s,r,q +for(s=a.length,r=-1,q=0;qb)throw A.b(A.r(k,a,r)) +for(;p!==44;){B.b.k(j,r);++r +for(o=-1;r=0))return A.a(a,r) +p=a.charCodeAt(r) +if(p===61){if(o<0)o=r}else if(p===59||p===44)break}if(o>=0)B.b.k(j,o) +else{n=B.b.gL(j) +if(p!==44||r!==n+7||!B.a.A(a,"base64",n+1))throw A.b(A.r("Expecting '='",a,r)) +break}}B.b.k(j,r) +m=r+1 +if((j.length&1)===1)a=B.H.cA(a,m,s) +else{l=A.hF(a,m,s,B.h,!0,!1) +if(l!=null)a=B.a.W(a,m,s,l)}return new A.d5(a,j,c)}, +jL(a,b,c){var s,r,q,p,o,n="0123456789ABCDEF" +for(s=b.length,r=0,q=0;q>>4 +if(!(o<8))return A.a(a,o) +o=(a[o]&1<<(p&15))!==0}else o=!1 +if(o)c.a+=A.N(p) +else{c.a+=A.N(37) +o=p>>>4 +if(!(o<16))return A.a(n,o) +c.a+=A.N(n.charCodeAt(o)) +c.a+=A.N(n.charCodeAt(p&15))}}if((r&4294967040)!==0)for(q=0;q255)throw A.b(A.ch(p,"non-byte value",null))}}, +kr(){var s,r,q,p,o,n,m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",l=".",k=":",j="/",i="\\",h="?",g="#",f="/\\",e=A.f(new Array(22),t.dc) +for(s=0;s<22;++s)e[s]=new Uint8Array(96) +r=new A.ex(e) +q=new A.ey() +p=new A.ez() +o=t.p +n=o.a(r.$2(0,225)) +q.$3(n,m,1) +q.$3(n,l,14) +q.$3(n,k,34) +q.$3(n,j,3) +q.$3(n,i,227) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(14,225)) +q.$3(n,m,1) +q.$3(n,l,15) +q.$3(n,k,34) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(15,225)) +q.$3(n,m,1) +q.$3(n,"%",225) +q.$3(n,k,34) +q.$3(n,j,9) +q.$3(n,i,233) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(1,225)) +q.$3(n,m,1) +q.$3(n,k,34) +q.$3(n,j,10) +q.$3(n,i,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(2,235)) +q.$3(n,m,139) +q.$3(n,j,131) +q.$3(n,i,131) +q.$3(n,l,146) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(3,235)) +q.$3(n,m,11) +q.$3(n,j,68) +q.$3(n,i,68) +q.$3(n,l,18) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(4,229)) +q.$3(n,m,5) +p.$3(n,"AZ",229) +q.$3(n,k,102) +q.$3(n,"@",68) +q.$3(n,"[",232) +q.$3(n,j,138) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(5,229)) +q.$3(n,m,5) +p.$3(n,"AZ",229) +q.$3(n,k,102) +q.$3(n,"@",68) +q.$3(n,j,138) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(6,231)) +p.$3(n,"19",7) +q.$3(n,"@",68) +q.$3(n,j,138) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(7,231)) +p.$3(n,"09",7) +q.$3(n,"@",68) +q.$3(n,j,138) +q.$3(n,i,138) +q.$3(n,h,172) +q.$3(n,g,205) +q.$3(o.a(r.$2(8,8)),"]",5) +n=o.a(r.$2(9,235)) +q.$3(n,m,11) +q.$3(n,l,16) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(16,235)) +q.$3(n,m,11) +q.$3(n,l,17) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(17,235)) +q.$3(n,m,11) +q.$3(n,j,9) +q.$3(n,i,233) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(10,235)) +q.$3(n,m,11) +q.$3(n,l,18) +q.$3(n,j,10) +q.$3(n,i,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(18,235)) +q.$3(n,m,11) +q.$3(n,l,19) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(19,235)) +q.$3(n,m,11) +q.$3(n,f,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(11,235)) +q.$3(n,m,11) +q.$3(n,j,10) +q.$3(n,i,234) +q.$3(n,h,172) +q.$3(n,g,205) +n=o.a(r.$2(12,236)) +q.$3(n,m,12) +q.$3(n,h,12) +q.$3(n,g,205) +n=o.a(r.$2(13,237)) +q.$3(n,m,13) +q.$3(n,h,13) +p.$3(o.a(r.$2(20,245)),"az",21) +r=o.a(r.$2(21,245)) +p.$3(r,"az",21) +p.$3(r,"09",21) +q.$3(r,"+-.",21) +return e}, +hU(a,b,c,d,e){var s,r,q,p,o,n=$.iG() +for(s=a.length,r=b;r=0&&d95?31:p] +d=o&31 +B.b.v(e,o>>>5,r)}return d}, +hn(a){if(a.b===7&&B.a.q(a.a,"package")&&a.c<=0)return A.hV(a.a,a.e,a.f) +return-1}, +hV(a,b,c){var s,r,q,p +for(s=a.length,r=b,q=0;r=0&&r=1;s=q){q=s-1 +if(b[q]!=null)break}p=new A.C("") +o=""+(a+"(") +p.a=o +n=A.x(b) +m=n.h("aJ<1>") +l=new A.aJ(b,0,s,m) +l.bZ(b,0,s,n.c) +m=o+new A.q(l,m.h("c(A.E)").a(new A.eE()),m.h("q")).Y(0,", ") +p.a=m +p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") +throw A.b(A.L(p.i(0)))}}, +cq:function cq(a,b){this.a=a +this.b=b}, +dE:function dE(){}, +dF:function dF(){}, +eE:function eE(){}, +b7:function b7(a){this.a=a}, +b8:function b8(a){this.a=a}, +aY:function aY(){}, +aH(a,b){var s,r,q,p,o,n,m=b.bP(a) +b.R(a) +if(m!=null)a=B.a.C(a,m.length) +s=t.s +r=A.f([],s) +q=A.f([],s) +s=a.length +if(s!==0){if(0>=s)return A.a(a,0) +p=b.B(a.charCodeAt(0))}else p=!1 +if(p){if(0>=s)return A.a(a,0) +B.b.k(q,a[0]) +o=1}else{B.b.k(q,"") +o=0}for(n=o;n=s)throw A.b(A.cZ("incomplete VLQ value")) +o=a.gn() +n=$.iy().p(0,o) +if(n==null)throw A.b(A.r("invalid character in VLQ encoding: "+o,l,l)) +q=(n&32)===0 +r+=B.c.cc(n&31,p) +p+=5}m=r>>>1 +r=(r&1)===1?-m:m +if(r<$.iO()||r>$.iN())throw A.b(A.r("expected an encoded 32 bit int, but we got: "+r,l,l)) +return r}, +eB:function eB(){}, +cU:function cU(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +f3(a,b,c,d){var s=typeof d=="string"?A.Q(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)A.F(A.f0("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)A.F(A.f0("Line may not be negative, was "+A.h(c)+".")) +else if(!p&&b<0)A.F(A.f0("Column may not be negative, was "+A.h(b)+".")) +return new A.cV(s,a,q,o)}, +cV:function cV(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cW:function cW(){}, +cX:function cX(){}, +j3(a){var s,r,q=u.a +if(a.length===0)return new A.ao(A.a3(A.f([],t.J),t.a)) +s=$.fy() +if(B.a.u(a,s)){s=B.a.ai(a,s) +r=A.x(s) +return new A.ao(A.a3(new A.T(new A.U(s,r.h("R(1)").a(new A.dy()),r.h("U<1>")),r.h("u(1)").a(A.lt()),r.h("T<1,u>")),t.a))}if(!B.a.u(a,q))return new A.ao(A.a3(A.f([A.f5(a)],t.J),t.a)) +return new A.ao(A.a3(new A.q(A.f(a.split(q),t.s),t.u.a(A.ls()),t.ax),t.a))}, +ao:function ao(a){this.a=a}, +dy:function dy(){}, +dD:function dD(){}, +dC:function dC(){}, +dA:function dA(){}, +dB:function dB(a){this.a=a}, +dz:function dz(a){this.a=a}, +jg(a){return A.fJ(A.k(a))}, +fJ(a){return A.cs(a,new A.dM(a))}, +jf(a){return A.jc(A.k(a))}, +jc(a){return A.cs(a,new A.dK(a))}, +j9(a){return A.cs(a,new A.dH(a))}, +jd(a){return A.ja(A.k(a))}, +ja(a){return A.cs(a,new A.dI(a))}, +je(a){return A.jb(A.k(a))}, +jb(a){return A.cs(a,new A.dJ(a))}, +eU(a){if(B.a.u(a,$.ie()))return A.Q(a) +else if(B.a.u(a,$.ig()))return A.ht(a,!0) +else if(B.a.q(a,"/"))return A.ht(a,!1) +if(B.a.u(a,"\\"))return $.iQ().bN(a) +return A.Q(a)}, +cs(a,b){var s,r +try{s=b.$0() +return s}catch(r){if(A.cf(r) instanceof A.aW)return new A.a6(A.E(null,"unparsed",null,null),a) +else throw r}}, +j:function j(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dM:function dM(a){this.a=a}, +dK:function dK(a){this.a=a}, +dL:function dL(a){this.a=a}, +dH:function dH(a){this.a=a}, +dI:function dI(a){this.a=a}, +dJ:function dJ(a){this.a=a}, +cG:function cG(a){this.a=a +this.b=$}, +jH(a){if(t.a.b(a))return a +if(a instanceof A.ao)return a.bM() +return new A.cG(new A.e9(a))}, +f5(a){var s,r,q +try{if(a.length===0){r=A.f4(A.f([],t.F),null) +return r}if(B.a.u(a,$.iJ())){r=A.jG(a) +return r}if(B.a.u(a,"\tat ")){r=A.jF(a) +return r}if(B.a.u(a,$.iC())||B.a.u(a,$.iA())){r=A.jE(a) +return r}if(B.a.u(a,u.a)){r=A.j3(a).bM() +return r}if(B.a.u(a,$.iE())){r=A.h7(a) +return r}r=A.h8(a) +return r}catch(q){r=A.cf(q) +if(r instanceof A.aW){s=r +throw A.b(A.r(s.a+"\nStack trace:\n"+a,null,null))}else throw q}}, +jJ(a){return A.h8(A.k(a))}, +h8(a){var s=A.a3(A.jK(a),t.B) +return new A.u(s)}, +jK(a){var s,r=B.a.bg(a),q=$.fy(),p=t.U,o=new A.U(A.f(A.W(r,q,"").split("\n"),t.s),t.Q.a(new A.ea()),p) +if(!o.gt(o).l())return A.f([],t.F) +r=A.jD(o,o.gm(o)-1,p.h("d.E")) +q=A.l(r) +q=A.dT(r,q.h("j(d.E)").a(A.l_()),q.h("d.E"),t.B) +s=A.b_(q,!0,A.l(q).h("d.E")) +if(!J.iV(o.gL(o),".da"))B.b.k(s,A.fJ(o.gL(o))) +return s}, +jG(a){var s,r,q=A.bN(A.f(a.split("\n"),t.s),1,null,t.N) +q=q.bU(0,q.$ti.h("R(A.E)").a(new A.e8())) +s=t.B +r=q.$ti +s=A.a3(A.dT(q,r.h("j(d.E)").a(A.i1()),r.h("d.E"),s),s) +return new A.u(s)}, +jF(a){var s=A.a3(new A.T(new A.U(A.f(a.split("\n"),t.s),t.Q.a(new A.e7()),t.U),t.d.a(A.i1()),t.M),t.B) +return new A.u(s)}, +jE(a){var s=A.a3(new A.T(new A.U(A.f(B.a.bg(a).split("\n"),t.s),t.Q.a(new A.e5()),t.U),t.d.a(A.kY()),t.M),t.B) +return new A.u(s)}, +jI(a){return A.h7(A.k(a))}, +h7(a){var s=a.length===0?A.f([],t.F):new A.T(new A.U(A.f(B.a.bg(a).split("\n"),t.s),t.Q.a(new A.e6()),t.U),t.d.a(A.kZ()),t.M) +s=A.a3(s,t.B) +return new A.u(s)}, +f4(a,b){var s=A.a3(a,t.B) +return new A.u(s)}, +u:function u(a){this.a=a}, +e9:function e9(a){this.a=a}, +ea:function ea(){}, +e8:function e8(){}, +e7:function e7(){}, +e5:function e5(){}, +e6:function e6(){}, +ec:function ec(){}, +eb:function eb(a){this.a=a}, +a6:function a6(a,b){this.a=a +this.w=b}, +ld(a,b,c){var s=A.jH(b).ga9(),r=A.x(s) +return A.f4(A.fM(new A.q(s,r.h("j?(1)").a(new A.eN(a,c)),r.h("q<1,j?>")),t.B),null)}, +kK(a){var s,r,q,p,o,n,m,l=B.a.bE(a,".") +if(l<0)return a +s=B.a.C(a,l+1) +a=s==="fn"?a:s +a=A.W(a,"$124","|") +if(B.a.u(a,"|")){r=B.a.ao(a,"|") +q=B.a.ao(a," ") +p=B.a.ao(a,"escapedPound") +if(q>=0){o=B.a.j(a,0,q)==="set" +a=B.a.j(a,q+1,a.length)}else{n=r+1 +if(p>=0){o=B.a.j(a,n,p)==="set" +a=B.a.W(a,n,p+3,"")}else{m=B.a.j(a,n,a.length) +if(B.a.q(m,"unary")||B.a.q(m,"$"))a=A.kP(a) +o=!1}}a=A.W(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +kP(a){return A.lk(a,A.o("\\$[0-9]+",!1),t.aL.a(t.bj.a(new A.eD(a))),null)}, +eN:function eN(a,b){this.a=a +this.b=b}, +eD:function eD(a){this.a=a}, +le(a){var s +A.k(a) +s=$.hS +if(s==null)throw A.b(A.cZ("Source maps are not done loading.")) +return A.ld(s,A.f5(a),$.iP()).i(0)}, +lg(a){$.hS=new A.cF(new A.cH(A.eZ(t.N,t.E)),t.q.a(a))}, +lb(){self.$dartStackTraceUtility={mapper:A.hY(A.lh(),t.bm),setSourceMapProvider:A.hY(A.li(),t.ae)}}, +dG:function dG(){}, +cF:function cF(a,b){this.a=a +this.b=b}, +eO:function eO(){}, +du(a){A.lq(new A.cE("Field '"+a+"' has been assigned during initialization."),new Error())}, +kq(a){var s,r=a.$dart_jsFunction +if(r!=null)return r +s=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(A.kn,a) +s[$.ft()]=a +a.$dart_jsFunction=s +return s}, +kn(a,b){t.j.a(b) +t.Z.a(a) +return A.jq(a,b,null)}, +hY(a,b){if(typeof a=="function")return a +else return b.a(A.kq(a))}, +i6(a,b,c){A.kT(c,t.H,"T","max") +return Math.max(c.a(a),c.a(b))}, +ia(a,b){return Math.pow(a,b)}, +fM(a,b){return new A.b9(A.jj(a,b),b.h("b9<0>"))}, +jj(a,b){return function(){var s=a,r=b +var q=0,p=1,o,n,m,l +return function $async$fM(c,d,e){if(d===1){o=e +q=p}while(true)switch(q){case 0:n=s.$ti,m=new A.S(s,s.gm(s),n.h("S")),n=n.h("A.E") +case 2:if(!m.l()){q=3 +break}l=m.d +if(l==null)l=n.a(l) +q=l!=null?4:5 +break +case 4:q=6 +return c.b=l,1 +case 6:case 5:q=2 +break +case 3:return 0 +case 1:return c.c=o,3}}}}, +fl(){var s,r,q,p,o=null +try{o=A.f7()}catch(s){if(t.W.b(A.cf(s))){r=$.eA +if(r!=null)return r +throw s}else throw s}if(J.H(o,$.hM)){r=$.eA +r.toString +return r}$.hM=o +if($.fu()===$.bh())r=$.eA=o.be(".").i(0) +else{q=o.bf() +p=q.length-1 +r=$.eA=p===0?q:B.a.j(q,0,p)}return r}, +i4(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +i0(a,b){var s,r,q=null,p=a.length,o=b+2 +if(p=0&&b=0&&s=0&&q").D(b).h("a8<1,2>"))}, +k(a,b){A.x(a).c.a(b) +if(!!a.fixed$length)A.F(A.B("add")) +a.push(b)}, +aL(a,b){var s +if(!!a.fixed$length)A.F(A.B("removeAt")) +s=a.length +if(b>=s)throw A.b(A.f1(b,null)) +return a.splice(b,1)[0]}, +b4(a,b,c){var s +A.x(a).c.a(c) +if(!!a.fixed$length)A.F(A.B("insert")) +s=a.length +if(b>s)throw A.b(A.f1(b,null)) +a.splice(b,0,c)}, +b5(a,b,c){var s,r +A.x(a).h("d<1>").a(c) +if(!!a.fixed$length)A.F(A.B("insertAll")) +A.h0(b,0,a.length,"index") +if(!t.X.b(c))c=J.j0(c) +s=J.I(c) +a.length=a.length+s +r=b+s +this.bi(a,r,a.length,a,b) +this.bR(a,b,r,c)}, +bd(a){if(!!a.fixed$length)A.F(A.B("removeLast")) +if(a.length===0)throw A.b(A.be(a,-1)) +return a.pop()}, +aY(a,b){var s +A.x(a).h("d<1>").a(b) +if(!!a.fixed$length)A.F(A.B("addAll")) +if(Array.isArray(b)){this.c0(a,b) +return}for(s=J.K(b);s.l();)a.push(s.gn())}, +c0(a,b){var s,r +t.b.a(b) +s=b.length +if(s===0)return +if(a===b)throw A.b(A.Y(a)) +for(r=0;r").D(c).h("q<1,2>"))}, +Y(a,b){var s,r=A.ad(a.length,"",!1,t.N) +for(s=0;s=0&&b0)return a[0] +throw A.b(A.cv())}, +gL(a){var s=a.length +if(s>0)return a[s-1] +throw A.b(A.cv())}, +bi(a,b,c,d,e){var s,r,q,p,o +A.x(a).h("d<1>").a(d) +if(!!a.immutable$list)A.F(A.B("setRange")) +A.a5(b,c,a.length) +s=c-b +if(s===0)return +A.Z(e,"skipCount") +if(t.j.b(d)){r=d +q=e}else{r=J.fB(d,e).a_(0,!1) +q=0}p=J.aO(r) +if(q+s>p.gm(r))throw A.b(A.ji()) +if(q=0;--o)a[b+o]=p.p(r,q+o) +else for(o=0;o"))}, +gE(a){return A.cS(a)}, +gm(a){return a.length}, +p(a,b){if(!(b>=0&&b=0&&b=p){r.sbk(null) +return!1}r.sbk(q[s]);++r.c +return!0}, +sbk(a){this.d=this.$ti.h("1?").a(a)}, +$im:1} +J.cz.prototype={ +i(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gE(a){var s,r,q,p,o=a|0 +if(a===o)return o&536870911 +s=Math.abs(a) +r=Math.log(s)/0.6931471805599453|0 +q=Math.pow(2,r) +p=s<1?s/q:q/s +return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, +aN(a,b){var s=a%b +if(s===0)return 0 +if(s>0)return s +return s+b}, +bv(a,b){return(a|0)===a?a/b|0:this.cg(a,b)}, +cg(a,b){var s=a/b +if(s>=-2147483648&&s<=2147483647)return s|0 +if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) +throw A.b(A.B("Result of truncating division is "+A.h(s)+": "+A.h(a)+" ~/ "+b))}, +cc(a,b){return b>31?0:a<>>0}, +ak(a,b){var s +if(a>0)s=this.bu(a,b) +else{s=b>31?31:b +s=a>>s>>>0}return s}, +cd(a,b){if(0>b)throw A.b(A.cb(b)) +return this.bu(a,b)}, +bu(a,b){return b>31?0:a>>>b}, +gT(a){return A.am(t.H)}, +$iaP:1} +J.bw.prototype={ +gT(a){return A.am(t.S)}, +$iG:1, +$ie:1} +J.cy.prototype={ +gT(a){return A.am(t.i)}, +$iG:1} +J.aD.prototype={ +cj(a,b){if(b<0)throw A.b(A.be(a,b)) +if(b>=a.length)A.F(A.be(a,b)) +return a.charCodeAt(b)}, +aA(a,b,c){var s=b.length +if(c>s)throw A.b(A.z(c,0,s,null,null)) +return new A.dk(b,a,c)}, +az(a,b){return this.aA(a,b,0)}, +bG(a,b,c){var s,r,q,p,o=null +if(c<0||c>b.length)throw A.b(A.z(c,0,b.length,o,o)) +s=a.length +r=b.length +if(c+s>r)return o +for(q=0;q=0&&pr)return!1 +return b===this.C(a,r-s)}, +bL(a,b,c){A.h0(0,0,a.length,"startIndex") +return A.lo(a,b,c,0)}, +ai(a,b){if(typeof b=="string")return A.f(a.split(b),t.s) +else if(b instanceof A.ap&&b.gbs().exec("").length-2===0)return A.f(a.split(b.b),t.s) +else return this.c2(a,b)}, +W(a,b,c,d){var s=A.a5(b,c,a.length) +return A.fs(a,b,s,d)}, +c2(a,b){var s,r,q,p,o,n,m=A.f([],t.s) +for(s=J.eQ(b,a),s=s.gt(s),r=0,q=1;s.l();){p=s.gn() +o=p.gK() +n=p.gN() +q=n-o +if(q===0&&r===o)continue +B.b.k(m,this.j(a,r,o)) +r=n}if(r0)B.b.k(m,this.C(a,r)) +return m}, +A(a,b,c){var s +if(c<0||c>a.length)throw A.b(A.z(c,0,a.length,null,null)) +if(typeof b=="string"){s=c+b.length +if(s>a.length)return!1 +return b===a.substring(c,s)}return J.iY(b,a,c)!=null}, +q(a,b){return this.A(a,b,0)}, +j(a,b,c){return a.substring(b,A.a5(b,c,a.length))}, +C(a,b){return this.j(a,b,null)}, +bg(a){var s,r,q,p=a.trim(),o=p.length +if(o===0)return p +if(0>=o)return A.a(p,0) +if(p.charCodeAt(0)===133){s=J.jm(p,1) +if(s===o)return""}else s=0 +r=o-1 +if(!(r>=0))return A.a(p,r) +q=p.charCodeAt(r)===133?J.jn(p,r):o +if(s===0&&q===o)return p +return p.substring(s,q)}, +bh(a,b){var s,r +if(0>=b)return"" +if(b===1||a.length===0)return a +if(b!==b>>>0)throw A.b(B.P) +for(s=a,r="";!0;){if((b&1)===1)r=s+r +b=b>>>1 +if(b===0)break +s+=s}return r}, +bI(a,b){var s=b-a.length +if(s<=0)return a +return a+this.bh(" ",s)}, +a4(a,b,c){var s +if(c<0||c>a.length)throw A.b(A.z(c,0,a.length,null,null)) +s=a.indexOf(b,c) +return s}, +ao(a,b){return this.a4(a,b,0)}, +bF(a,b,c){var s,r +if(c==null)c=a.length +else if(c<0||c>a.length)throw A.b(A.z(c,0,a.length,null,null)) +s=b.length +r=a.length +if(c+s>r)c=r-s +return a.lastIndexOf(b,c)}, +bE(a,b){return this.bF(a,b,null)}, +u(a,b){return A.lj(a,b,0)}, +i(a){return a}, +gE(a){var s,r,q +for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 +r^=r>>11 +return r+((r&16383)<<15)&536870911}, +gT(a){return A.am(t.N)}, +gm(a){return a.length}, +$iG:1, +$idW:1, +$ic:1} +A.aw.prototype={ +gt(a){var s=A.l(this) +return new A.bk(J.K(this.ga1()),s.h("@<1>").D(s.z[1]).h("bk<1,2>"))}, +gm(a){return J.I(this.ga1())}, +gS(a){return J.fA(this.ga1())}, +X(a,b){var s=A.l(this) +return A.eS(J.fB(this.ga1(),b),s.c,s.z[1])}, +H(a,b){return A.l(this).z[1].a(J.dw(this.ga1(),b))}, +u(a,b){return J.fz(this.ga1(),b)}, +i(a){return J.bi(this.ga1())}} +A.bk.prototype={ +l(){return this.a.l()}, +gn(){return this.$ti.z[1].a(this.a.gn())}, +$im:1} +A.az.prototype={ +ga1(){return this.a}} +A.bV.prototype={$ii:1} +A.bU.prototype={ +p(a,b){return this.$ti.z[1].a(J.iR(this.a,b))}, +v(a,b,c){var s=this.$ti +J.iS(this.a,b,s.c.a(s.z[1].a(c)))}, +$ii:1, +$in:1} +A.a8.prototype={ +aB(a,b){return new A.a8(this.a,this.$ti.h("@<1>").D(b).h("a8<1,2>"))}, +ga1(){return this.a}} +A.aA.prototype={ +a5(a,b,c){var s=this.$ti +return new A.aA(this.a,s.h("@<1>").D(s.z[1]).D(b).D(c).h("aA<1,2,3,4>"))}, +I(a){return this.a.I(a)}, +p(a,b){return this.$ti.h("4?").a(this.a.p(0,b))}, +P(a,b){this.a.P(0,new A.dx(this,this.$ti.h("~(3,4)").a(b)))}, +gZ(){var s=this.$ti +return A.eS(this.a.gZ(),s.c,s.z[2])}, +gm(a){var s=this.a +return s.gm(s)}} +A.dx.prototype={ +$2(a,b){var s=this.a.$ti +s.c.a(a) +s.z[1].a(b) +this.b.$2(s.z[2].a(a),s.z[3].a(b))}, +$S(){return this.a.$ti.h("~(1,2)")}} +A.cE.prototype={ +i(a){return"LateInitializationError: "+this.a}} +A.aU.prototype={ +gm(a){return this.a.length}, +p(a,b){var s=this.a +if(!(b>=0&&b"))}, +gS(a){return this.gm(this)===0}, +u(a,b){var s,r=this,q=r.gm(r) +for(s=0;ss)throw A.b(A.z(r,0,s,"start",null))}}, +gc3(){var s=J.I(this.a),r=this.c +if(r==null||r>s)return s +return r}, +gcf(){var s=J.I(this.a),r=this.b +if(r>s)return s +return r}, +gm(a){var s,r=J.I(this.a),q=this.b +if(q>=r)return 0 +s=this.c +if(s==null||s>=r)return r-q +if(typeof s!=="number")return s.cI() +return s-q}, +H(a,b){var s=this,r=s.gcf()+b +if(b<0||r>=s.gc3())throw A.b(A.eV(b,s.gm(s),s,"index")) +return J.dw(s.a,r)}, +X(a,b){var s,r,q=this +A.Z(b,"count") +s=q.b+b +r=q.c +if(r!=null&&s>=r)return new A.bq(q.$ti.h("bq<1>")) +return A.bN(q.a,s,r,q.$ti.c)}, +a_(a,b){var s,r,q,p=this,o=p.b,n=p.a,m=J.aO(n),l=m.gm(n),k=p.c +if(k!=null&&k=o){r.sa0(null) +return!1}r.sa0(p.H(q,s));++r.c +return!0}, +sa0(a){this.d=this.$ti.h("1?").a(a)}, +$im:1} +A.T.prototype={ +gt(a){var s=A.l(this) +return new A.aF(J.K(this.a),this.b,s.h("@<1>").D(s.z[1]).h("aF<1,2>"))}, +gm(a){return J.I(this.a)}, +gS(a){return J.fA(this.a)}, +H(a,b){return this.b.$1(J.dw(this.a,b))}} +A.bo.prototype={$ii:1} +A.aF.prototype={ +l(){var s=this,r=s.b +if(r.l()){s.sa0(s.c.$1(r.gn())) +return!0}s.sa0(null) +return!1}, +gn(){var s=this.a +return s==null?this.$ti.z[1].a(s):s}, +sa0(a){this.a=this.$ti.h("2?").a(a)}, +$im:1} +A.q.prototype={ +gm(a){return J.I(this.a)}, +H(a,b){return this.b.$1(J.dw(this.a,b))}} +A.U.prototype={ +gt(a){return new A.aN(J.K(this.a),this.b,this.$ti.h("aN<1>"))}} +A.aN.prototype={ +l(){var s,r +for(s=this.a,r=this.b;s.l();)if(A.dr(r.$1(s.gn())))return!0 +return!1}, +gn(){return this.a.gn()}, +$im:1} +A.bt.prototype={ +gt(a){var s=this.$ti +return new A.bu(J.K(this.a),this.b,B.u,s.h("@<1>").D(s.z[1]).h("bu<1,2>"))}} +A.bu.prototype={ +gn(){var s=this.d +return s==null?this.$ti.z[1].a(s):s}, +l(){var s,r,q=this +if(q.c==null)return!1 +for(s=q.a,r=q.b;!q.c.l();){q.sa0(null) +if(s.l()){q.sbm(null) +q.sbm(J.K(r.$1(s.gn())))}else return!1}q.sa0(q.c.gn()) +return!0}, +sbm(a){this.c=this.$ti.h("m<2>?").a(a)}, +sa0(a){this.d=this.$ti.h("2?").a(a)}, +$im:1} +A.aK.prototype={ +gt(a){return new A.bO(J.K(this.a),this.b,A.l(this).h("bO<1>"))}} +A.bp.prototype={ +gm(a){var s=J.I(this.a),r=this.b +if(s>r)return r +return s}, +$ii:1} +A.bO.prototype={ +l(){if(--this.b>=0)return this.a.l() +this.b=-1 +return!1}, +gn(){if(this.b<0){this.$ti.c.a(null) +return null}return this.a.gn()}, +$im:1} +A.af.prototype={ +X(a,b){A.aS(b,"count",t.S) +A.Z(b,"count") +return new A.af(this.a,this.b+b,A.l(this).h("af<1>"))}, +gt(a){return new A.bH(J.K(this.a),this.b,A.l(this).h("bH<1>"))}} +A.aV.prototype={ +gm(a){var s=J.I(this.a)-this.b +if(s>=0)return s +return 0}, +X(a,b){A.aS(b,"count",t.S) +A.Z(b,"count") +return new A.aV(this.a,this.b+b,this.$ti)}, +$ii:1} +A.bH.prototype={ +l(){var s,r +for(s=this.a,r=0;r"))}} +A.bJ.prototype={ +l(){var s,r,q=this +if(!q.c){q.c=!0 +for(s=q.a,r=q.b;s.l();)if(!A.dr(r.$1(s.gn())))return!0}return q.a.l()}, +gn(){return this.a.gn()}, +$im:1} +A.bq.prototype={ +gt(a){return B.u}, +gS(a){return!0}, +gm(a){return 0}, +H(a,b){throw A.b(A.z(b,0,0,"index",null))}, +u(a,b){return!1}, +X(a,b){A.Z(b,"count") +return this}} +A.br.prototype={ +l(){return!1}, +gn(){throw A.b(A.cv())}, +$im:1} +A.bR.prototype={ +gt(a){return new A.bS(J.K(this.a),this.$ti.h("bS<1>"))}} +A.bS.prototype={ +l(){var s,r +for(s=this.a,r=this.$ti.c;s.l();)if(r.b(s.gn()))return!0 +return!1}, +gn(){return this.$ti.c.a(this.a.gn())}, +$im:1} +A.aC.prototype={} +A.aL.prototype={ +v(a,b,c){A.l(this).h("aL.E").a(c) +throw A.b(A.B("Cannot modify an unmodifiable list"))}} +A.b5.prototype={} +A.b2.prototype={ +gE(a){var s=this._hashCode +if(s!=null)return s +s=664597*B.a.gE(this.a)&536870911 +this._hashCode=s +return s}, +i(a){return'Symbol("'+this.a+'")'}, +G(a,b){if(b==null)return!1 +return b instanceof A.b2&&this.a===b.a}, +$ib3:1} +A.c8.prototype={} +A.bm.prototype={} +A.bl.prototype={ +a5(a,b,c){var s=A.l(this) +return A.fT(this,s.c,s.z[1],b,c)}, +i(a){return A.f_(this)}, +$iP:1} +A.bn.prototype={ +gm(a){return this.b.length}, +gbq(){var s=this.$keys +if(s==null){s=Object.keys(this.a) +this.$keys=s}return s}, +I(a){if(typeof a!="string")return!1 +if("__proto__"===a)return!1 +return this.a.hasOwnProperty(a)}, +p(a,b){if(!this.I(b))return null +return this.b[this.a[b]]}, +P(a,b){var s,r,q,p +this.$ti.h("~(1,2)").a(b) +s=this.gbq() +r=this.b +for(q=s.length,p=0;p"))}} +A.bW.prototype={ +gm(a){return this.a.length}, +gS(a){return 0===this.a.length}, +gt(a){var s=this.a +return new A.bX(s,s.length,this.$ti.h("bX<1>"))}} +A.bX.prototype={ +gn(){var s=this.d +return s==null?this.$ti.c.a(s):s}, +l(){var s=this,r=s.c +if(r>=s.b){s.saj(null) +return!1}s.saj(s.a[r]);++s.c +return!0}, +saj(a){this.d=this.$ti.h("1?").a(a)}, +$im:1} +A.ct.prototype={ +G(a,b){if(b==null)return!1 +return b instanceof A.aX&&this.a.G(0,b.a)&&A.fo(this)===A.fo(b)}, +gE(a){return A.fV(this.a,A.fo(this),B.n)}, +i(a){var s=B.b.Y([A.am(this.$ti.c)],", ") +return this.a.i(0)+" with "+("<"+s+">")}} +A.aX.prototype={ +$2(a,b){return this.a.$1$2(a,b,this.$ti.z[0])}, +$S(){return A.l7(A.eF(this.a),this.$ti)}} +A.cx.prototype={ +gcw(){var s=this.a +return s}, +gcB(){var s,r,q,p,o=this +if(o.c===1)return B.B +s=o.d +r=s.length-o.e.length-o.f +if(r===0)return B.B +q=[] +for(p=0;p=0&&l>>0}, +i(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.dY(this.a)+"'")}} +A.dd.prototype={ +i(a){return"Reading static variable '"+this.a+"' during its initialization"}} +A.cT.prototype={ +i(a){return"RuntimeError: "+this.a}} +A.dc.prototype={ +i(a){return"Assertion failed: "+A.aB(this.a)}} +A.en.prototype={} +A.aE.prototype={ +gm(a){return this.a}, +gZ(){return new A.ac(this,A.l(this).h("ac<1>"))}, +gcG(){var s=A.l(this) +return A.dT(new A.ac(this,s.h("ac<1>")),new A.dP(this),s.c,s.z[1])}, +I(a){var s=this.b +if(s==null)return!1 +return s[a]!=null}, +p(a,b){var s,r,q,p,o=null +if(typeof b=="string"){s=this.b +if(s==null)return o +r=s[b] +q=r==null?o:r.b +return q}else if(typeof b=="number"&&(b&0x3fffffff)===b){p=this.c +if(p==null)return o +r=p[b] +q=r==null?o:r.b +return q}else return this.cs(b)}, +cs(a){var s,r,q=this.d +if(q==null)return null +s=q[this.bB(a)] +r=this.bC(s,a) +if(r<0)return null +return s[r].b}, +v(a,b,c){var s,r,q,p,o,n,m=this,l=A.l(m) +l.c.a(b) +l.z[1].a(c) +if(typeof b=="string"){s=m.b +m.bl(s==null?m.b=m.aT():s,b,c)}else if(typeof b=="number"&&(b&0x3fffffff)===b){r=m.c +m.bl(r==null?m.c=m.aT():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aT() +p=m.bB(b) +o=q[p] +if(o==null)q[p]=[m.aU(b,c)] +else{n=m.bC(o,b) +if(n>=0)o[n].b=c +else o.push(m.aU(b,c))}}}, +P(a,b){var s,r,q=this +A.l(q).h("~(1,2)").a(b) +s=q.e +r=q.r +for(;s!=null;){b.$2(s.a,s.b) +if(r!==q.r)throw A.b(A.Y(q)) +s=s.c}}, +bl(a,b,c){var s,r=A.l(this) +r.c.a(b) +r.z[1].a(c) +s=a[b] +if(s==null)a[b]=this.aU(b,c) +else s.b=c}, +aU(a,b){var s=this,r=A.l(s),q=new A.dQ(r.c.a(a),r.z[1].a(b)) +if(s.e==null)s.e=s.f=q +else s.f=s.f.c=q;++s.a +s.r=s.r+1&1073741823 +return q}, +bB(a){return J.aR(a)&1073741823}, +bC(a,b){var s,r +if(a==null)return-1 +s=a.length +for(r=0;r"]=s +delete s[""] +return s}} +A.dP.prototype={ +$1(a){var s=this.a,r=A.l(s) +s=s.p(0,r.c.a(a)) +return s==null?r.z[1].a(s):s}, +$S(){return A.l(this.a).h("2(1)")}} +A.dQ.prototype={} +A.ac.prototype={ +gm(a){return this.a.a}, +gS(a){return this.a.a===0}, +gt(a){var s=this.a,r=new A.bA(s,s.r,this.$ti.h("bA<1>")) +r.c=s.e +return r}, +u(a,b){return this.a.I(b)}} +A.bA.prototype={ +gn(){return this.d}, +l(){var s,r=this,q=r.a +if(r.b!==q.r)throw A.b(A.Y(q)) +s=r.c +if(s==null){r.saj(null) +return!1}else{r.saj(s.a) +r.c=s.c +return!0}}, +saj(a){this.d=this.$ti.h("1?").a(a)}, +$im:1} +A.eI.prototype={ +$1(a){return this.a(a)}, +$S:10} +A.eJ.prototype={ +$2(a,b){return this.a(a,b)}, +$S:11} +A.eK.prototype={ +$1(a){return this.a(A.k(a))}, +$S:12} +A.ap.prototype={ +i(a){return"RegExp/"+this.a+"/"+this.b.flags}, +gbt(){var s=this,r=s.c +if(r!=null)return r +r=s.b +return s.c=A.eW(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +gbs(){var s=this,r=s.d +if(r!=null)return r +r=s.b +return s.d=A.eW(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +a3(a){var s=this.b.exec(a) +if(s==null)return null +return new A.b6(s)}, +aA(a,b,c){var s=b.length +if(c>s)throw A.b(A.z(c,0,s,null,null)) +return new A.db(this,b,c)}, +az(a,b){return this.aA(a,b,0)}, +bn(a,b){var s,r=this.gbt() +if(r==null)r=t.K.a(r) +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +return new A.b6(s)}, +c4(a,b){var s,r=this.gbs() +if(r==null)r=t.K.a(r) +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +if(0>=s.length)return A.a(s,-1) +if(s.pop()!=null)return null +return new A.b6(s)}, +bG(a,b,c){if(c<0||c>b.length)throw A.b(A.z(c,0,b.length,null,null)) +return this.c4(b,c)}, +$idW:1, +$ijv:1} +A.b6.prototype={ +gK(){return this.b.index}, +gN(){var s=this.b +return s.index+s[0].length}, +$ia4:1, +$ibF:1} +A.db.prototype={ +gt(a){return new A.bT(this.a,this.b,this.c)}} +A.bT.prototype={ +gn(){var s=this.d +return s==null?t.k.a(s):s}, +l(){var s,r,q,p,o,n=this,m=n.b +if(m==null)return!1 +s=n.c +r=m.length +if(s<=r){q=n.a +p=q.bn(m,s) +if(p!=null){n.d=p +o=p.gN() +if(p.b.index===o){if(q.b.unicode){s=n.c +q=s+1 +if(q=0&&s=55296&&s<=56319){if(!(q>=0))return A.a(m,q) +s=m.charCodeAt(q) +s=s>=56320&&s<=57343}else s=!1}else s=!1}else s=!1 +o=(s?o+1:o)+1}n.c=o +return!0}}n.b=n.d=null +return!1}, +$im:1} +A.bM.prototype={ +gN(){return this.a+this.c.length}, +$ia4:1, +gK(){return this.a}} +A.dk.prototype={ +gt(a){return new A.dl(this.a,this.b,this.c)}} +A.dl.prototype={ +l(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length +if(p+n>l){q.d=null +return!1}s=m.indexOf(o,p) +if(s<0){q.c=l+1 +q.d=null +return!1}r=s+n +q.d=new A.bM(s,o) +q.c=r===q.c?r+1:r +return!0}, +gn(){var s=this.d +s.toString +return s}, +$im:1} +A.cJ.prototype={ +gT(a){return B.a0}, +$iG:1} +A.cL.prototype={} +A.b1.prototype={ +gm(a){return a.length}, +$iaZ:1} +A.bB.prototype={ +v(a,b,c){A.c9(c) +A.ev(b,a,a.length) +a[b]=c}, +$ii:1, +$id:1, +$in:1} +A.cK.prototype={ +gT(a){return B.a1}, +p(a,b){A.ev(b,a,a.length) +return a[b]}, +$iG:1} +A.cM.prototype={ +gT(a){return B.a3}, +p(a,b){A.ev(b,a,a.length) +return a[b]}, +$iG:1, +$if6:1} +A.aG.prototype={ +gT(a){return B.a4}, +gm(a){return a.length}, +p(a,b){A.ev(b,a,a.length) +return a[b]}, +$iG:1, +$iaG:1, +$iav:1} +A.bY.prototype={} +A.bZ.prototype={} +A.a_.prototype={ +h(a){return A.ep(v.typeUniverse,this,a)}, +D(a){return A.k6(v.typeUniverse,this,a)}} +A.dg.prototype={} +A.eo.prototype={ +i(a){return A.J(this.a,null)}} +A.df.prototype={ +i(a){return this.a}} +A.c0.prototype={} +A.c_.prototype={ +gn(){var s=this.b +return s==null?this.$ti.c.a(s):s}, +cb(a,b){var s,r,q +a=A.c9(a) +b=b +s=this.a +for(;!0;)try{r=s(this,a,b) +return r}catch(q){b=q +a=1}}, +l(){var s,r,q,p,o=this,n=null,m=null,l=0 +for(;!0;){s=o.d +if(s!=null)try{if(s.l()){o.saO(s.gn()) +return!0}else o.saS(n)}catch(r){m=r +l=1 +o.saS(n)}q=o.cb(l,m) +if(1===q)return!0 +if(0===q){o.saO(n) +p=o.e +if(p==null||p.length===0){o.a=A.ho +return!1}if(0>=p.length)return A.a(p,-1) +o.a=p.pop() +l=0 +m=null +continue}if(2===q){l=0 +m=null +continue}if(3===q){m=o.c +o.c=null +p=o.e +if(p==null||p.length===0){o.saO(n) +o.a=A.ho +throw m +return!1}if(0>=p.length)return A.a(p,-1) +o.a=p.pop() +l=1 +continue}throw A.b(A.cZ("sync*"))}return!1}, +cJ(a){var s,r,q=this +if(a instanceof A.b9){s=a.a() +r=q.e +if(r==null)r=q.e=[] +B.b.k(r,q.a) +q.a=s +return 2}else{q.saS(J.K(a)) +return 2}}, +saO(a){this.b=this.$ti.h("1?").a(a)}, +saS(a){this.d=this.$ti.h("m<1>?").a(a)}, +$im:1} +A.b9.prototype={ +gt(a){return new A.c_(this.a(),this.$ti.h("c_<1>"))}} +A.p.prototype={ +gt(a){return new A.S(a,this.gm(a),A.a1(a).h("S"))}, +H(a,b){return this.p(a,b)}, +gS(a){return this.gm(a)===0}, +u(a,b){var s,r=this.gm(a) +for(s=0;s").D(c).h("q<1,2>"))}, +X(a,b){return A.bN(a,b,null,A.a1(a).h("p.E"))}, +a_(a,b){var s,r,q,p,o=this +if(o.gS(a)){s=J.fP(0,A.a1(a).h("p.E")) +return s}r=o.p(a,0) +q=A.ad(o.gm(a),r,!0,A.a1(a).h("p.E")) +for(p=1;p").D(b).h("a8<1,2>"))}, +cq(a,b,c,d){var s +A.a1(a).h("p.E?").a(d) +A.a5(b,c,this.gm(a)) +for(s=b;s").D(c).h("aM<1,2>"))}} +A.bb.prototype={} +A.dh.prototype={ +p(a,b){var s,r=this.b +if(r==null)return this.c.p(0,b) +else if(typeof b!="string")return null +else{s=r[b] +return typeof s=="undefined"?this.ca(b):s}}, +gm(a){return this.b==null?this.c.a:this.av().length}, +gZ(){if(this.b==null){var s=this.c +return new A.ac(s,A.l(s).h("ac<1>"))}return new A.di(this)}, +I(a){if(this.b==null)return this.c.I(a) +return Object.prototype.hasOwnProperty.call(this.a,a)}, +P(a,b){var s,r,q,p,o=this +t.cQ.a(b) +if(o.b==null)return o.c.P(0,b) +s=o.av() +for(r=0;r=0&&b"))}return s}, +u(a,b){return this.a.I(b)}} +A.ej.prototype={ +$0(){var s,r +try{s=new TextDecoder("utf-8",{fatal:true}) +return s}catch(r){}return null}, +$S:5} +A.ei.prototype={ +$0(){var s,r +try{s=new TextDecoder("utf-8",{fatal:false}) +return s}catch(r){}return null}, +$S:5} +A.ci.prototype={ +cp(a){return B.F.al(a)}} +A.dm.prototype={ +al(a){var s,r,q,p,o,n +A.k(a) +s=a.length +r=A.a5(0,null,s)-0 +q=new Uint8Array(r) +for(p=~this.a,o=0;o=0&&e=0){if(!(d<64))return A.a(a,d) +e=a.charCodeAt(d) +if(e===j)continue +j=e}else{if(d===-1){if(n<0){g=o==null?null:o.a.length +if(g==null)g=0 +n=g+(q-p) +m=q}++l +if(j===61)continue}j=e}if(d!==-2){if(o==null){o=new A.C("") +g=o}else g=o +g.a+=B.a.j(a2,p,q) +g.a+=A.N(j) +p=k +continue}}throw A.b(A.r("Invalid base64 data",a2,q))}if(o!=null){a1=o.a+=B.a.j(a2,p,a4) +r=a1.length +if(n>=0)A.fD(a2,m,a4,n,l,r) +else{c=B.c.aN(r-1,4)+1 +if(c===1)throw A.b(A.r(a0,a2,a4)) +for(;c<4;){a1+="=" +o.a=a1;++c}}a1=o.a +return B.a.W(a2,a3,a4,a1.charCodeAt(0)==0?a1:a1)}b=a4-a3 +if(n>=0)A.fD(a2,m,a4,n,l,b) +else{c=B.c.aN(b,4) +if(c===1)throw A.b(A.r(a0,a2,a4)) +if(c>1)a2=B.a.W(a2,a4,a4,c===2?"==":"=")}return a2}} +A.cm.prototype={} +A.a9.prototype={} +A.el.prototype={} +A.aa.prototype={} +A.cr.prototype={} +A.cC.prototype={ +cl(a,b){var s=A.kJ(a,this.gcn().a) +return s}, +gcn(){return B.U}} +A.cD.prototype={} +A.d7.prototype={} +A.d9.prototype={ +al(a){var s,r,q,p,o,n,m +A.k(a) +s=a.length +r=A.a5(0,null,s) +q=r-0 +if(q===0)return new Uint8Array(0) +p=q*3 +o=new Uint8Array(p) +n=new A.et(o) +if(n.c5(a,0,r)!==r){m=r-1 +if(!(m>=0&&m>>18|240 +q=n.b=p+1 +if(!(p>>12&63|128 +p=n.b=q+1 +if(!(q>>6&63|128 +n.b=p+1 +if(!(p=0&&s=r)break +l.b=n+1 +s[n]=o}else{n=o&64512 +if(n===55296){if(l.b+4>r)break +n=p+1 +if(!(nr)break +l.aW()}else if(o<=2047){n=l.b +m=n+1 +if(m>=r)break +l.b=m +if(!(n>>6|192 +l.b=m+1 +s[m]=o&63|128}else{n=l.b +if(n+2>=r)break +m=l.b=n+1 +if(!(n>>12|224 +n=l.b=m+1 +if(!(m>>6&63|128 +l.b=n+1 +if(!(n1000){s=B.c.bv(b+c,2) +r=q.aP(a,b,s,!1) +if((q.b&1)!==0)return r +return r+q.aP(a,s,c,d)}return q.cm(a,b,c,d)}, +cm(a,b,a0,a1){var s,r,q,p,o,n,m,l,k=this,j="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE",i=" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA",h=65533,g=k.b,f=k.c,e=new A.C(""),d=b+1,c=a.length +if(!(b>=0&&b=0&&s<256))return A.a(j,s) +q=j.charCodeAt(s)&31 +f=g<=32?s&61694>>>q:(s&63|f<<6)>>>0 +p=g+q +if(!(p>=0&&p<144))return A.a(i,p) +g=i.charCodeAt(p) +if(g===0){e.a+=A.N(f) +if(d===a0)break $label0$0 +break}else if((g&1)!==0){if(r)switch(g){case 69:case 67:e.a+=A.N(h) +break +case 65:e.a+=A.N(h);--d +break +default:p=e.a+=A.N(h) +e.a=p+A.N(h) +break}else{k.b=g +k.c=d-1 +return""}g=0}if(d===a0)break $label0$0 +o=d+1 +if(!(d>=0&&d=0&&d=0&&o=128){n=m-1 +o=m +break}o=m}if(n-d<20)for(l=d;l32)if(r)e.a+=A.N(h) +else{k.b=77 +k.c=a0 +return""}k.b=g +k.c=f +c=e.a +return c.charCodeAt(0)==0?c:c}} +A.dU.prototype={ +$2(a,b){var s,r,q +t.cm.a(a) +s=this.b +r=this.a +q=s.a+=r.a +q+=a.a +s.a=q +s.a=q+": " +s.a+=A.aB(b) +r.a=", "}, +$S:14} +A.t.prototype={} +A.bj.prototype={ +i(a){var s=this.a +if(s!=null)return"Assertion failed: "+A.aB(s) +return"Assertion failed"}} +A.bP.prototype={} +A.a2.prototype={ +gaR(){return"Invalid argument"+(!this.a?"(s)":"")}, +gaQ(){return""}, +i(a){var s=this,r=s.c,q=r==null?"":" ("+r+")",p=s.d,o=p==null?"":": "+A.h(p),n=s.gaR()+q+o +if(!s.a)return n +return n+s.gaQ()+": "+A.aB(s.gb6())}, +gb6(){return this.b}} +A.ae.prototype={ +gb6(){return A.kk(this.b)}, +gaR(){return"RangeError"}, +gaQ(){var s,r=this.e,q=this.f +if(r==null)s=q!=null?": Not less than or equal to "+A.h(q):"" +else if(q==null)s=": Not greater than or equal to "+A.h(r) +else if(q>r)s=": Not in inclusive range "+A.h(r)+".."+A.h(q) +else s=qe.length +else s=!1 +if(s)f=null +if(f==null){if(e.length>78)e=B.a.j(e,0,75)+"..." +return g+"\n"+e}for(r=e.length,q=1,p=0,o=!1,n=0;n1?g+(" (at line "+q+", character "+(f-p+1)+")\n"):g+(" (at character "+(f+1)+")\n") +for(n=f;n=0))return A.a(e,n) +m=e.charCodeAt(n) +if(m===10||m===13){r=n +break}}if(r-p>78)if(f-p<75){l=p+75 +k=p +j="" +i="..."}else{if(r-f<75){k=r-75 +l=r +i=""}else{k=f-36 +l=f+36 +i="..."}j="..."}else{l=r +k=p +j="" +i=""}return g+j+B.a.j(e,k,l)+i+"\n"+B.a.bh(" ",f-k+j.length)+"^\n"}else return f!=null?g+(" (at offset "+A.h(f)+")"):g}, +$ibs:1} +A.d.prototype={ +aB(a,b){return A.eS(this,A.l(this).h("d.E"),b)}, +b8(a,b,c){var s=A.l(this) +return A.dT(this,s.D(c).h("1(d.E)").a(b),s.h("d.E"),c)}, +u(a,b){var s +for(s=this.gt(this);s.l();)if(J.H(s.gn(),b))return!0 +return!1}, +a_(a,b){return A.b_(this,b,A.l(this).h("d.E"))}, +af(a){return this.a_(a,!0)}, +gm(a){var s,r=this.gt(this) +for(s=0;r.l();)++s +return s}, +gS(a){return!this.gt(this).l()}, +X(a,b){return A.jz(this,b,A.l(this).h("d.E"))}, +bS(a,b){var s=A.l(this) +return new A.bI(this,s.h("R(d.E)").a(b),s.h("bI"))}, +gb0(a){var s=this.gt(this) +if(!s.l())throw A.b(A.cv()) +return s.gn()}, +gL(a){var s,r=this.gt(this) +if(!r.l())throw A.b(A.cv()) +do s=r.gn() +while(r.l()) +return s}, +H(a,b){var s,r +A.Z(b,"index") +s=this.gt(this) +for(r=b;s.l();){if(r===0)return s.gn();--r}throw A.b(A.eV(b,b-r,this,"index"))}, +i(a){return A.jk(this,"(",")")}} +A.bC.prototype={ +gE(a){return A.w.prototype.gE.call(this,this)}, +i(a){return"null"}} +A.w.prototype={$iw:1, +G(a,b){return this===b}, +gE(a){return A.cS(this)}, +i(a){return"Instance of '"+A.dY(this)+"'"}, +bH(a,b){throw A.b(A.fU(this,t.o.a(b)))}, +gT(a){return A.bg(this)}, +toString(){return this.i(this)}} +A.C.prototype={ +gm(a){return this.a.length}, +i(a){var s=this.a +return s.charCodeAt(0)==0?s:s}, +$ijA:1} +A.ef.prototype={ +$2(a,b){throw A.b(A.r("Illegal IPv4 address, "+a,this.a,b))}, +$S:15} +A.eg.prototype={ +$2(a,b){throw A.b(A.r("Illegal IPv6 address, "+a,this.a,b))}, +$S:16} +A.eh.prototype={ +$2(a,b){var s +if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) +s=A.V(B.a.j(this.b,a,b),16) +if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) +return s}, +$S:17} +A.c5.prototype={ +gbw(){var s,r,q,p,o=this,n=o.w +if(n===$){s=o.a +r=s.length!==0?""+s+":":"" +q=o.c +p=q==null +if(!p||s==="file"){s=r+"//" +r=o.b +if(r.length!==0)s=s+r+"@" +if(!p)s+=q +r=o.d +if(r!=null)s=s+":"+A.h(r)}else s=r +s+=o.e +r=o.f +if(r!=null)s=s+"?"+r +r=o.r +if(r!=null)s=s+"#"+r +n!==$&&A.du("_text") +n=o.w=s.charCodeAt(0)==0?s:s}return n}, +gaJ(){var s,r,q,p=this,o=p.x +if(o===$){s=p.e +r=s.length +if(r!==0){if(0>=r)return A.a(s,0) +r=s.charCodeAt(0)===47}else r=!1 +if(r)s=B.a.C(s,1) +q=s.length===0?B.A:A.a3(new A.q(A.f(s.split("/"),t.s),t.q.a(A.kU()),t.r),t.N) +p.x!==$&&A.du("pathSegments") +p.sc_(q) +o=q}return o}, +gE(a){var s,r=this,q=r.y +if(q===$){s=B.a.gE(r.gbw()) +r.y!==$&&A.du("hashCode") +r.y=s +q=s}return q}, +gau(){return this.b}, +gU(){var s=this.c +if(s==null)return"" +if(B.a.q(s,"["))return B.a.j(s,1,s.length-1) +return s}, +gad(){var s=this.d +return s==null?A.hv(this.a):s}, +ga7(){var s=this.f +return s==null?"":s}, +gaE(){var s=this.r +return s==null?"":s}, +ct(a){var s=this.a +if(a.length!==s.length)return!1 +return A.ko(a,s,0)>=0}, +br(a,b){var s,r,q,p,o,n,m,l +for(s=0,r=0;B.a.A(b,"../",r);){r+=3;++s}q=B.a.bE(a,"/") +p=a.length +while(!0){if(!(q>0&&s>0))break +o=B.a.bF(a,"/",q-1) +if(o<0)break +n=q-o +m=n!==2 +if(!m||n===3){l=o+1 +if(!(l0){l=B.a.j(o,0,m) +o=a.gaF()?l+A.aj(a.gM()):l+A.aj(i.br(B.a.C(o,l.length),a.gM()))}else if(a.gaF())o=A.aj(a.gM()) +else if(o.length===0)if(q==null)o=s.length===0?a.gM():A.aj(a.gM()) +else o=A.aj("/"+a.gM()) +else{k=i.br(o,a.gM()) +j=s.length===0 +if(!j||q!=null||B.a.q(o,"/"))o=A.aj(k) +else o=A.fe(k,!j||q!=null)}n=a.gaa()?a.ga7():h}}}return A.eq(s,r,q,p,o,n,a.gb2()?a.gaE():h)}, +gam(){return this.c!=null}, +gan(){return this.d!=null}, +gaa(){return this.f!=null}, +gb2(){return this.r!=null}, +gaF(){return B.a.q(this.e,"/")}, +bf(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw A.b(A.B("Cannot extract a file path from a "+q+" URI")) +q=r.f +if((q==null?"":q)!=="")throw A.b(A.B(u.i)) +q=r.r +if((q==null?"":q)!=="")throw A.b(A.B(u.l)) +q=$.fv() +if(q)q=A.hH(r) +else{if(r.c!=null&&r.gU()!=="")A.F(A.B(u.j)) +s=r.gaJ() +A.ka(s,!1) +q=A.e3(B.a.q(r.e,"/")?""+"/":"",s,"/") +q=q.charCodeAt(0)==0?q:q}return q}, +i(a){return this.gbw()}, +G(a,b){var s,r,q=this +if(b==null)return!1 +if(q===b)return!0 +if(t.R.b(b))if(q.a===b.gJ())if(q.c!=null===b.gam())if(q.b===b.gau())if(q.gU()===b.gU())if(q.gad()===b.gad())if(q.e===b.gM()){s=q.f +r=s==null +if(!r===b.gaa()){if(r)s="" +if(s===b.ga7()){s=q.r +r=s==null +if(!r===b.gb2()){if(r)s="" +s=s===b.gaE()}else s=!1}else s=!1}else s=!1}else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +return s}, +sc_(a){this.x=t.h.a(a)}, +$ibQ:1, +gJ(){return this.a}, +gM(){return this.e}} +A.er.prototype={ +$1(a){return A.fg(B.W,A.k(a),B.e,!1)}, +$S:3} +A.d5.prototype={ +gag(){var s,r,q,p,o=this,n=null,m=o.c +if(m==null){m=o.b +if(0>=m.length)return A.a(m,0) +s=o.a +m=m[0]+1 +r=B.a.a4(s,"?",m) +q=s.length +if(r>=0){p=A.c7(s,r+1,q,B.h,!1,!1) +q=r}else p=n +m=o.c=new A.de("data","",n,n,A.c7(s,m,q,B.y,!1,!1),p,n)}return m}, +i(a){var s,r=this.b +if(0>=r.length)return A.a(r,0) +s=this.a +return r[0]===-1?"data:"+s:s}} +A.ex.prototype={ +$2(a,b){var s=this.a +if(!(a=q)return A.a(b,0) +s=b.charCodeAt(0) +if(1>=q)return A.a(b,1) +r=b.charCodeAt(1) +for(;s<=r;++s){q=(s^96)>>>0 +if(!(q<96))return A.a(a,q) +a[q]=c}}, +$S:6} +A.a0.prototype={ +gam(){return this.c>0}, +gan(){return this.c>0&&this.d+1r?B.a.j(this.a,r,s-1):""}, +gU(){var s=this.c +return s>0?B.a.j(this.a,s,this.d):""}, +gad(){var s,r=this +if(r.gan())return A.V(B.a.j(r.a,r.d+1,r.e),null) +s=r.b +if(s===4&&B.a.q(r.a,"http"))return 80 +if(s===5&&B.a.q(r.a,"https"))return 443 +return 0}, +gM(){return B.a.j(this.a,this.e,this.f)}, +ga7(){var s=this.f,r=this.r +return s=0&&q=q.length)return s +return new A.a0(B.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.w)}, +be(a){return this.ar(A.Q(a))}, +ar(a){if(a instanceof A.a0)return this.ce(this,a) +return this.bx().ar(a)}, +ce(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.b +if(c>0)return b +s=b.c +if(s>0){r=a.b +if(r<=0)return b +q=r===4 +if(q&&B.a.q(a.a,"file"))p=b.e!==b.f +else if(q&&B.a.q(a.a,"http"))p=!b.bo("80") +else p=!(r===5&&B.a.q(a.a,"https"))||!b.bo("443") +if(p){o=r+1 +return new A.a0(B.a.j(a.a,0,o)+B.a.C(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.w)}else return this.bx().ar(b)}n=b.e +c=b.f +if(n===c){s=b.r +if(c0?l:m +o=k-n +return new A.a0(B.a.j(a.a,0,k)+B.a.C(s,n),a.b,a.c,a.d,m,c+o,b.r+o,a.w)}j=a.e +i=a.f +if(j===i&&a.c>0){for(;B.a.A(s,"../",n);)n+=3 +o=j-n+1 +return new A.a0(B.a.j(a.a,0,j)+"/"+B.a.C(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}h=a.a +l=A.hn(this) +if(l>=0)g=l +else for(g=j;B.a.A(h,"../",g);)g+=3 +f=0 +while(!0){e=n+3 +if(!(e<=c&&B.a.A(s,"../",n)))break;++f +n=e}for(r=h.length,d="";i>g;){--i +if(!(i>=0&&i=0){s=!(p===4&&B.a.q(q.a,"file")) +p=s}else p=!1 +if(p)throw A.b(A.B("Cannot extract a file path from a "+q.gJ()+" URI")) +p=q.f +s=q.a +if(p0?s.gU():r,n=s.gan()?s.gad():r,m=s.a,l=s.f,k=B.a.j(m,s.e,l),j=s.r +l=l0&&!s.R(a) +if(s)return a +s=this.b +return this.bD(0,s==null?A.fl():s,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)}, +a2(a){return this.bz(a,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +co(a){var s,r,q=A.aH(a,this.a) +q.aM() +s=q.d +r=s.length +if(r===0){s=q.b +return s==null?".":s}if(r===1){s=q.b +return s==null?".":s}B.b.bd(s) +s=q.e +if(0>=s.length)return A.a(s,-1) +s.pop() +q.aM() +return q.i(0)}, +bD(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var s=A.f([b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q],t.m) +A.hX("join",s) +return this.cv(new A.bR(s,t.ab))}, +cu(a,b,c){return this.bD(a,b,c,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +cv(a){var s,r,q,p,o,n,m,l,k,j +t.l.a(a) +for(s=a.$ti,r=s.h("R(d.E)").a(new A.dE()),q=a.gt(a),s=new A.aN(q,r,s.h("aN")),r=this.a,p=!1,o=!1,n="";s.l();){m=q.gn() +if(r.R(m)&&o){l=A.aH(m,r) +k=n.charCodeAt(0)==0?n:n +n=B.a.j(k,0,r.ae(k,!0)) +l.b=n +if(r.aq(n))B.b.v(l.e,0,r.ga8()) +n=""+l.i(0)}else if(r.F(m)>0){o=!r.R(m) +n=""+m}else{j=m.length +if(j!==0){if(0>=j)return A.a(m,0) +j=r.aZ(m[0])}else j=!1 +if(!j)if(p)n+=r.ga8() +n+=m}p=r.aq(m)}return n.charCodeAt(0)==0?n:n}, +ai(a,b){var s=A.aH(b,this.a),r=s.d,q=A.x(r),p=q.h("U<1>") +s.sbJ(A.b_(new A.U(r,q.h("R(1)").a(new A.dF()),p),!0,p.h("d.E"))) +r=s.b +if(r!=null)B.b.b4(s.d,0,r) +return s.d}, +bb(a){var s +if(!this.c9(a))return a +s=A.aH(a,this.a) +s.ba() +return s.i(0)}, +c9(a){var s,r,q,p,o,n,m,l,k=this.a,j=k.F(a) +if(j!==0){if(k===$.cg())for(s=a.length,r=0;r=0))return A.a(s,r) +m=s.charCodeAt(r) +if(k.B(m)){if(k===$.cg()&&m===47)return!0 +if(p!=null&&k.B(p))return!0 +if(p===46)l=n==null||n===46||k.B(n) +else l=!1 +if(l)return!0}}if(p==null)return!0 +if(k.B(p))return!0 +if(p===46)k=n==null||k.B(n)||n===46 +else k=!1 +if(k)return!0 +return!1}, +aK(a,b){var s,r,q,p,o,n,m=this,l='Unable to find a path to "',k=b==null +if(k&&m.a.F(a)<=0)return m.bb(a) +if(k){k=m.b +b=k==null?A.fl():k}else b=m.a2(b) +k=m.a +if(k.F(b)<=0&&k.F(a)>0)return m.bb(a) +if(k.F(a)<=0||k.R(a))a=m.a2(a) +if(k.F(a)<=0&&k.F(b)>0)throw A.b(A.fW(l+a+'" from "'+b+'".')) +s=A.aH(b,k) +s.ba() +r=A.aH(a,k) +r.ba() +q=s.d +p=q.length +if(p!==0){if(0>=p)return A.a(q,0) +q=J.H(q[0],".")}else q=!1 +if(q)return r.i(0) +q=s.b +p=r.b +if(q!=p)q=q==null||p==null||!k.bc(q,p) +else q=!1 +if(q)return r.i(0) +while(!0){q=s.d +p=q.length +if(p!==0){o=r.d +n=o.length +if(n!==0){if(0>=p)return A.a(q,0) +q=q[0] +if(0>=n)return A.a(o,0) +o=k.bc(q,o[0]) +q=o}else q=!1}else q=!1 +if(!q)break +B.b.aL(s.d,0) +B.b.aL(s.e,1) +B.b.aL(r.d,0) +B.b.aL(r.e,1)}q=s.d +p=q.length +if(p!==0){if(0>=p)return A.a(q,0) +q=J.H(q[0],"..")}else q=!1 +if(q)throw A.b(A.fW(l+a+'" from "'+b+'".')) +q=t.N +B.b.b5(r.d,0,A.ad(s.d.length,"..",!1,q)) +B.b.v(r.e,0,"") +B.b.b5(r.e,1,A.ad(s.d.length,k.ga8(),!1,q)) +k=r.d +q=k.length +if(q===0)return"." +if(q>1&&J.H(B.b.gL(k),".")){B.b.bd(r.d) +k=r.e +if(0>=k.length)return A.a(k,-1) +k.pop() +if(0>=k.length)return A.a(k,-1) +k.pop() +B.b.k(k,"")}r.b="" +r.aM() +return r.i(0)}, +cD(a){return this.aK(a,null)}, +bp(a,b){var s,r,q,p,o,n,m,l,k=this +a=A.k(a) +b=A.k(b) +r=k.a +q=r.F(A.k(a))>0 +p=r.F(A.k(b))>0 +if(q&&!p){b=k.a2(b) +if(r.R(a))a=k.a2(a)}else if(p&&!q){a=k.a2(a) +if(r.R(b))b=k.a2(b)}else if(p&&q){o=r.R(b) +n=r.R(a) +if(o&&!n)b=k.a2(b) +else if(n&&!o)a=k.a2(a)}m=k.c8(a,b) +if(m!==B.f)return m +s=null +try{s=k.aK(b,a)}catch(l){if(A.cf(l) instanceof A.bE)return B.d +else throw l}if(r.F(A.k(s))>0)return B.d +if(J.H(s,"."))return B.t +if(J.H(s,".."))return B.d +return J.I(s)>=3&&J.j_(s,"..")&&r.B(J.eR(s,2))?B.d:B.l}, +c8(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=this +if(a===".")a="" +s=d.a +r=s.F(a) +q=s.F(b) +if(r!==q)return B.d +for(p=a.length,o=b.length,n=0;n=0&&l=0&&m=0&&l=0&&m=0))return A.a(a,q) +n=r.B(a.charCodeAt(q))}else n=!1 +if(!n)break;++q}if(q===s)break +m=q +while(!0){if(m=0))return A.a(a,m) +n=!r.B(a.charCodeAt(m))}else n=!1 +if(!n)break;++m}n=m-q +if(n===1){if(!(q>=0&&q=0&&qq.ai(0,s).length?s:r}} +A.dE.prototype={ +$1(a){return A.k(a)!==""}, +$S:0} +A.dF.prototype={ +$1(a){return A.k(a).length!==0}, +$S:0} +A.eE.prototype={ +$1(a){A.dp(a) +return a==null?"null":'"'+a+'"'}, +$S:19} +A.b7.prototype={ +i(a){return this.a}} +A.b8.prototype={ +i(a){return this.a}} +A.aY.prototype={ +bP(a){var s,r=this.F(a) +if(r>0)return B.a.j(a,0,r) +if(this.R(a)){if(0>=a.length)return A.a(a,0) +s=a[0]}else s=null +return s}, +bK(a){var s,r,q=null,p=a.length +if(p===0)return A.E(q,q,q,q) +s=A.eT(this).ai(0,a) +r=p-1 +if(!(r>=0))return A.a(a,r) +if(this.B(a.charCodeAt(r)))B.b.k(s,"") +return A.E(q,q,s,q)}, +aC(a,b){return a===b}, +bc(a,b){return a===b}} +A.dV.prototype={ +gb3(){var s=this.d +if(s.length!==0)s=J.H(B.b.gL(s),"")||!J.H(B.b.gL(this.e),"") +else s=!1 +return s}, +aM(){var s,r,q=this +while(!0){s=q.d +if(!(s.length!==0&&J.H(B.b.gL(s),"")))break +B.b.bd(q.d) +s=q.e +if(0>=s.length)return A.a(s,-1) +s.pop()}s=q.e +r=s.length +if(r!==0)B.b.v(s,r-1,"")}, +ba(){var s,r,q,p,o,n,m=this,l=A.f([],t.s) +for(s=m.d,r=s.length,q=0,p=0;p=n)return A.a(l,-1) +l.pop()}else ++q}else B.b.k(l,o)}if(m.b==null)B.b.b5(l,0,A.ad(q,"..",!1,t.N)) +if(l.length===0&&m.b==null)B.b.k(l,".") +m.sbJ(l) +s=m.a +m.sbQ(A.ad(l.length+1,s.ga8(),!0,t.N)) +r=m.b +if(r==null||l.length===0||!s.aq(r))B.b.v(m.e,0,"") +r=m.b +if(r!=null&&s===$.cg()){r.toString +m.b=A.W(r,"/","\\")}m.aM()}, +i(a){var s,r,q,p=this,o=p.b +o=o!=null?""+o:"" +for(s=0;s=0))return A.a(a,s) +s=a.charCodeAt(s)!==47 +r=s}else r=!1 +return r}, +ae(a,b){var s=a.length +if(s!==0){if(0>=s)return A.a(a,0) +s=a.charCodeAt(0)===47}else s=!1 +if(s)return 1 +return 0}, +F(a){return this.ae(a,!1)}, +R(a){return!1}, +aI(a){var s +if(a.gJ()===""||a.gJ()==="file"){s=a.gM() +return A.ff(s,0,s.length,B.e,!1)}throw A.b(A.L("Uri "+a.i(0)+" must have scheme 'file:'."))}, +aX(a){var s=A.aH(a,this),r=s.d +if(r.length===0)B.b.aY(r,A.f(["",""],t.s)) +else if(s.gb3())B.b.k(s.d,"") +return A.E(null,null,s.d,"file")}, +gb9(){return"posix"}, +ga8(){return"/"}} +A.d6.prototype={ +aZ(a){return B.a.u(a,"/")}, +B(a){return a===47}, +aq(a){var s,r=a.length +if(r===0)return!1 +s=r-1 +if(!(s>=0))return A.a(a,s) +if(a.charCodeAt(s)!==47)return!0 +return B.a.b_(a,"://")&&this.F(a)===r}, +ae(a,b){var s,r,q,p=a.length +if(p===0)return 0 +if(0>=p)return A.a(a,0) +if(a.charCodeAt(0)===47)return 1 +for(s=0;s=s)return A.a(a,0) +s=a.charCodeAt(0)===47}else s=!1 +return s}, +aI(a){return a.i(0)}, +bK(a){return A.Q(a)}, +aX(a){return A.Q(a)}, +gb9(){return"url"}, +ga8(){return"/"}} +A.da.prototype={ +aZ(a){return B.a.u(a,"/")}, +B(a){return a===47||a===92}, +aq(a){var s,r=a.length +if(r===0)return!1 +s=r-1 +if(!(s>=0))return A.a(a,s) +s=a.charCodeAt(s) +return!(s===47||s===92)}, +ae(a,b){var s,r,q=a.length +if(q===0)return 0 +if(0>=q)return A.a(a,0) +if(a.charCodeAt(0)===47)return 1 +if(a.charCodeAt(0)===92){if(q>=2){if(1>=q)return A.a(a,1) +s=a.charCodeAt(1)!==92}else s=!0 +if(s)return 1 +r=B.a.a4(a,"\\",2) +if(r>0){r=B.a.a4(a,"\\",r+1) +if(r>0)return r}return q}if(q<3)return 0 +if(!A.i4(a.charCodeAt(0)))return 0 +if(a.charCodeAt(1)!==58)return 0 +q=a.charCodeAt(2) +if(!(q===47||q===92))return 0 +return 3}, +F(a){return this.ae(a,!1)}, +R(a){return this.F(a)===1}, +aI(a){var s,r +if(a.gJ()!==""&&a.gJ()!=="file")throw A.b(A.L("Uri "+a.i(0)+" must have scheme 'file:'.")) +s=a.gM() +if(a.gU()===""){if(s.length>=3&&B.a.q(s,"/")&&A.i0(s,1)!=null)s=B.a.bL(s,"/","")}else s="\\\\"+a.gU()+s +r=A.W(s,"/","\\") +return A.ff(r,0,r.length,B.e,!1)}, +aX(a){var s,r,q=A.aH(a,this),p=q.b +p.toString +if(B.a.q(p,"\\\\")){s=new A.U(A.f(p.split("\\"),t.s),t.Q.a(new A.ek()),t.U) +B.b.b4(q.d,0,s.gL(s)) +if(q.gb3())B.b.k(q.d,"") +return A.E(s.gb0(s),null,q.d,"file")}else{if(q.d.length===0||q.gb3())B.b.k(q.d,"") +p=q.d +r=q.b +r.toString +r=A.W(r,"/","") +B.b.b4(p,0,A.W(r,"\\","")) +return A.E(null,null,q.d,"file")}}, +aC(a,b){var s +if(a===b)return!0 +if(a===47)return b===92 +if(a===92)return b===47 +if((a^b)!==32)return!1 +s=a|32 +return s>=97&&s<=122}, +bc(a,b){var s,r,q +if(a===b)return!0 +s=a.length +r=b.length +if(s!==r)return!1 +for(q=0;q")),q=this.c,p=this.a,o=this.b,n=t.Y,r=r.h("p.E");s.l();){m=s.d +if(m==null)m=r.a(m) +l=n.a(m.p(0,"offset")) +if(l==null)throw A.b(A.r("section missing offset",g,g)) +k=A.hK(l.p(0,"line")) +if(k==null)throw A.b(A.r("offset missing line",g,g)) +j=A.hK(l.p(0,"column")) +if(j==null)throw A.b(A.r("offset missing column",g,g)) +B.b.k(p,k) +B.b.k(o,j) +i=A.dp(m.p(0,"url")) +h=n.a(m.p(0,"map")) +m=i!=null +if(m&&h!=null)throw A.b(A.r("section can't use both url and map entries",g,g)) +else if(m){m=A.r("section contains refers to "+i+', but no map was given for it. Make sure a map is passed in "otherMaps"',g,g) +throw A.b(m)}else if(h!=null)B.b.k(q,A.i8(h,c,b)) +else throw A.b(A.r("section missing url or map",g,g))}if(p.length===0)throw A.b(A.r("expected at least one section",g,g))}, +i(a){var s,r,q,p,o,n,m=this,l=A.bg(m).i(0)+" : [" +for(s=m.a,r=m.b,q=m.c,p=0;p").D(r.z[1]),s=new A.aF(J.K(s.a),s.b,r.h("aF<1,2>")),r=r.z[1],q="";s.l();){p=s.a +q+=(p==null?r.a(p):p).i(0)}return q.charCodeAt(0)==0?q:q}, +ah(a,b,c,d){var s,r,q,p,o,n,m,l +d=A.aS(d,"uri",t.N) +s=A.f([47,58],t.t) +for(r=d.length,q=this.a,p=!0,o=0;o0 +q=f.d +l=0 +k=0 +j=0 +i=0 +h=0 +g=0 +while(!0){if(!(n.c=a0.length)throw A.b(A.cZ("Invalid source url id. "+A.h(f.e)+", "+l+", "+j)) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))throw A.b(f.aV(2,l)) +i+=A.ds(n) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))throw A.b(f.aV(3,l)) +h+=A.ds(n) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))B.b.k(m,new A.ag(k,j,i,h,d)) +else{g+=A.ds(n) +if(g>=a1.length)throw A.b(A.cZ("Invalid name id: "+A.h(f.e)+", "+l+", "+g)) +B.b.k(m,new A.ag(k,j,i,h,g))}}if(n.ga6().b)++n.c}}if(m.length!==0)B.b.k(q,new A.au(l,m)) +a3.P(0,new A.e_(f))}, +aV(a,b){return new A.aI("Invalid entry in sourcemap, expected 1, 4, or 5 values, but got "+a+".\ntargeturl: "+A.h(this.e)+", line: "+b)}, +c7(a){var s,r=this.d,q=A.i_(r,new A.e1(a),t.e) +if(q<=0)r=null +else{s=q-1 +if(!(s>>0!==s||s>=r.length)return A.a(r,s) +q=r[s] +r=l.f +if(r!=null)q=r+q +p=k.e +r=l.r +r=r==null?null:r.be(q) +if(r==null)r=q +o=k.c +n=A.f3(0,k.d,o,r) +if(p!=null){r=l.b +if(p>>>0!==p||p>=r.length)return A.a(r,p) +r=r[p] +o=r.length +o=A.f3(n.b+o,n.d+o,n.c,n.a) +m=new A.bK(n,o,r) +m.bj(n,o,r) +return m}else return A.h3(n,n,"",!1)}, +i(a){var s=this,r=A.bg(s).i(0)+" : ["+"targetUrl: "+A.h(s.e)+", sourceRoot: "+A.h(s.f)+", urls: "+A.h(s.a)+", names: "+A.h(s.b)+", lines: "+A.h(s.d)+"]" +return r.charCodeAt(0)==0?r:r}} +A.e_.prototype={ +$2(a,b){A.k(a) +if(B.a.q(a,"x_"))this.a.w.v(0,a,b)}, +$S:4} +A.e1.prototype={ +$1(a){return t.e.a(a).a>this.a}, +$S:20} +A.e0.prototype={ +$1(a){return t.D.a(a).a>this.a}, +$S:21} +A.au.prototype={ +i(a){return A.bg(this).i(0)+": "+this.a+" "+A.h(this.b)}} +A.ag.prototype={ +i(a){var s=this +return A.bg(s).i(0)+": ("+s.a+", "+A.h(s.b)+", "+A.h(s.c)+", "+A.h(s.d)+", "+A.h(s.e)+")"}} +A.dj.prototype={ +l(){return++this.c=0&&s=0&&s0}, +ga6(){var s,r,q +if(!this.gcr())return B.a8 +s=this.a +r=this.c+1 +if(!(r>=0&&r=0))return A.a(s,q) +n.a+=s[q]}n.a+=" ("+o.c+")" +s=n.a +return s.charCodeAt(0)==0?s:s}, +$im:1} +A.ba.prototype={} +A.bK.prototype={} +A.eB.prototype={ +$0(){var s,r=A.eZ(t.N,t.S) +for(s=0;s<64;++s)r.v(0,u.n[s],s) +return r}, +$S:22} +A.cU.prototype={ +gm(a){return this.c.length}, +bY(a,b){var s,r,q,p,o,n,m +for(s=this.c,r=s.length,q=this.b,p=0;p"}, +gO(){return this.a}, +gac(){return this.b}, +gap(){return this.c}, +gaD(){return this.d}} +A.cW.prototype={ +bj(a,b,c){var s,r=this.b,q=this.a +if(!r.gO().G(0,q.gO()))throw A.b(A.L('Source URLs "'+q.gO().i(0)+'" and "'+r.gO().i(0)+"\" don't match.")) +else if(r.gac()'}, +$ie2:1} +A.ao.prototype={ +bM(){var s=this.a,r=A.x(s) +return A.f4(new A.bt(s,r.h("d(1)").a(new A.dD()),r.h("bt<1,j>")),null)}, +i(a){var s=this.a,r=A.x(s) +return new A.q(s,r.h("c(1)").a(new A.dB(new A.q(s,r.h("e(1)").a(new A.dC()),r.h("q<1,e>")).b1(0,0,B.m,t.S))),r.h("q<1,c>")).Y(0,u.a)}, +$icY:1} +A.dy.prototype={ +$1(a){return A.k(a).length!==0}, +$S:0} +A.dD.prototype={ +$1(a){return t.a.a(a).ga9()}, +$S:23} +A.dC.prototype={ +$1(a){var s=t.a.a(a).ga9(),r=A.x(s) +return new A.q(s,r.h("e(1)").a(new A.dA()),r.h("q<1,e>")).b1(0,0,B.m,t.S)}, +$S:24} +A.dA.prototype={ +$1(a){return t.B.a(a).gab().length}, +$S:7} +A.dB.prototype={ +$1(a){var s=t.a.a(a).ga9(),r=A.x(s) +return new A.q(s,r.h("c(1)").a(new A.dz(this.a)),r.h("q<1,c>")).aG(0)}, +$S:25} +A.dz.prototype={ +$1(a){t.B.a(a) +return B.a.bI(a.gab(),this.a)+" "+A.h(a.gaH())+"\n"}, +$S:8} +A.j.prototype={ +gb7(){var s=this.a +if(s.gJ()==="data")return"data:..." +return $.eP().cC(s)}, +gab(){var s,r=this,q=r.b +if(q==null)return r.gb7() +s=r.c +if(s==null)return r.gb7()+" "+A.h(q) +return r.gb7()+" "+A.h(q)+":"+A.h(s)}, +i(a){return this.gab()+" in "+A.h(this.d)}, +gag(){return this.a}, +gap(){return this.b}, +gaD(){return this.c}, +gaH(){return this.d}} +A.dM.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a +if(k==="...")return new A.j(A.E(l,l,l,l),l,l,"...") +s=$.iM().a3(k) +if(s==null)return new A.a6(A.E(l,"unparsed",l,l),k) +k=s.b +if(1>=k.length)return A.a(k,1) +r=k[1] +r.toString +q=$.ix() +r=A.W(r,q,"") +p=A.W(r,"","") +if(2>=k.length)return A.a(k,2) +r=k[2] +q=r +q.toString +if(B.a.q(q,"=k.length)return A.a(k,3) +n=k[3].split(":") +k=n.length +m=k>1?A.V(n[1],l):l +return new A.j(o,m,k>2?A.V(n[2],l):l,p)}, +$S:1} +A.dK.prototype={ +$0(){var s,r,q,p="",o=this.a,n=$.iI().a3(o) +if(n==null)return new A.a6(A.E(null,"unparsed",null,null),o) +o=new A.dL(o) +s=n.b +r=s.length +if(2>=r)return A.a(s,2) +q=s[2] +if(q!=null){r=q +r.toString +s=s[1] +s.toString +s=A.W(s,"",p) +s=A.W(s,"Anonymous function",p) +return o.$2(r,A.W(s,"(anonymous function)",p))}else{if(3>=r)return A.a(s,3) +s=s[3] +s.toString +return o.$2(s,p)}}, +$S:1} +A.dL.prototype={ +$2(a,b){var s,r,q,p,o,n=null,m=$.iH(),l=m.a3(a) +for(;l!=null;a=s){s=l.b +if(1>=s.length)return A.a(s,1) +s=s[1] +s.toString +l=m.a3(s)}if(a==="native")return new A.j(A.Q("native"),n,n,b) +r=$.iL().a3(a) +if(r==null)return new A.a6(A.E(n,"unparsed",n,n),this.a) +m=r.b +if(1>=m.length)return A.a(m,1) +s=m[1] +s.toString +q=A.eU(s) +if(2>=m.length)return A.a(m,2) +s=m[2] +s.toString +p=A.V(s,n) +if(3>=m.length)return A.a(m,3) +o=m[3] +return new A.j(q,p,o!=null?A.V(o,n):n,b)}, +$S:26} +A.dH.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iz().a3(n) +if(m==null)return new A.a6(A.E(o,"unparsed",o,o),n) +n=m.b +if(1>=n.length)return A.a(n,1) +s=n[1] +s.toString +r=A.W(s,"/<","") +if(2>=n.length)return A.a(n,2) +s=n[2] +s.toString +q=A.eU(s) +if(3>=n.length)return A.a(n,3) +n=n[3] +n.toString +p=A.V(n,o) +return new A.j(q,p,o,r.length===0||r==="anonymous"?"":r)}, +$S:1} +A.dI.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.iB().a3(k) +if(j==null)return new A.a6(A.E(l,"unparsed",l,l),k) +s=j.b +if(3>=s.length)return A.a(s,3) +r=s[3] +q=r +q.toString +if(B.a.u(q," line "))return A.j9(k) +k=r +k.toString +p=A.eU(k) +k=s.length +if(1>=k)return A.a(s,1) +o=s[1] +if(o!=null){if(2>=k)return A.a(s,2) +k=s[2] +k.toString +k=B.a.az("/",k) +o+=B.b.aG(A.ad(k.gm(k),".",!1,t.N)) +if(o==="")o="" +o=B.a.bL(o,$.iF(),"")}else o="" +if(4>=s.length)return A.a(s,4) +k=s[4] +if(k==="")n=l +else{k=k +k.toString +n=A.V(k,l)}if(5>=s.length)return A.a(s,5) +k=s[5] +if(k==null||k==="")m=l +else{k=k +k.toString +m=A.V(k,l)}return new A.j(p,n,m,o)}, +$S:1} +A.dJ.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iD().a3(n) +if(m==null)throw A.b(A.r("Couldn't parse package:stack_trace stack trace line '"+n+"'.",o,o)) +n=m.b +if(1>=n.length)return A.a(n,1) +s=n[1] +if(s==="data:...")r=A.hc("") +else{s=s +s.toString +r=A.Q(s)}if(r.gJ()===""){s=$.eP() +r=s.bN(s.bz(s.a.aI(A.fj(r)),o,o,o,o,o,o,o,o,o,o,o,o,o,o))}if(2>=n.length)return A.a(n,2) +s=n[2] +if(s==null)q=o +else{s=s +s.toString +q=A.V(s,o)}if(3>=n.length)return A.a(n,3) +s=n[3] +if(s==null)p=o +else{s=s +s.toString +p=A.V(s,o)}if(4>=n.length)return A.a(n,4) +return new A.j(r,q,p,n[4])}, +$S:1} +A.cG.prototype={ +gby(){var s,r=this,q=r.b +if(q===$){s=r.a.$0() +r.b!==$&&A.du("_trace") +r.b=s +q=s}return q}, +ga9(){return this.gby().ga9()}, +i(a){return this.gby().i(0)}, +$icY:1, +$iu:1} +A.u.prototype={ +i(a){var s=this.a,r=A.x(s) +return new A.q(s,r.h("c(1)").a(new A.eb(new A.q(s,r.h("e(1)").a(new A.ec()),r.h("q<1,e>")).b1(0,0,B.m,t.S))),r.h("q<1,c>")).aG(0)}, +$icY:1, +ga9(){return this.a}} +A.e9.prototype={ +$0(){return A.f5(this.a.i(0))}, +$S:27} +A.ea.prototype={ +$1(a){return A.k(a).length!==0}, +$S:0} +A.e8.prototype={ +$1(a){return!B.a.q(A.k(a),$.iK())}, +$S:0} +A.e7.prototype={ +$1(a){return A.k(a)!=="\tat "}, +$S:0} +A.e5.prototype={ +$1(a){A.k(a) +return a.length!==0&&a!=="[native code]"}, +$S:0} +A.e6.prototype={ +$1(a){return!B.a.q(A.k(a),"=====")}, +$S:0} +A.ec.prototype={ +$1(a){return t.B.a(a).gab().length}, +$S:7} +A.eb.prototype={ +$1(a){t.B.a(a) +if(a instanceof A.a6)return a.i(0)+"\n" +return B.a.bI(a.gab(),this.a)+" "+A.h(a.gaH())+"\n"}, +$S:8} +A.a6.prototype={ +i(a){return this.w}, +$ij:1, +gag(){return this.a}, +gap(){return null}, +gaD(){return null}, +gab(){return"unparsed"}, +gaH(){return this.w}} +A.eN.prototype={ +$1(a){var s,r,q,p,o,n,m,l,k,j,i,h,g="dart:" +t.B.a(a) +if(a.gap()==null)return null +s=a.gaD() +if(s==null)s=0 +r=a.gap() +r.toString +q=this.a.bT(r-1,s-1,a.gag().i(0)) +if(q==null)return null +p=q.gO().i(0) +for(r=this.b,o=r.length,n=0;n()","n(u)","e(u)","c(u)","j(c,c)","u()","j?(j)","c(a4)","c(@)","~(@(c))","0^(0^,0^)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")} +A.k5(v.typeUniverse,JSON.parse('{"cQ":"ar","b4":"ar","aq":"ar","dG":"ar","cw":{"R":[],"G":[]},"bx":{"G":[]},"v":{"n":["1"],"i":["1"],"d":["1"]},"dO":{"v":["1"],"n":["1"],"i":["1"],"d":["1"]},"ay":{"m":["1"]},"cz":{"aP":[]},"bw":{"e":[],"aP":[],"G":[]},"cy":{"aP":[],"G":[]},"aD":{"c":[],"dW":[],"G":[]},"aw":{"d":["2"]},"bk":{"m":["2"]},"az":{"aw":["1","2"],"d":["2"],"d.E":"2"},"bV":{"az":["1","2"],"aw":["1","2"],"i":["2"],"d":["2"],"d.E":"2"},"bU":{"p":["2"],"n":["2"],"aw":["1","2"],"i":["2"],"d":["2"]},"a8":{"bU":["1","2"],"p":["2"],"n":["2"],"aw":["1","2"],"i":["2"],"d":["2"],"p.E":"2","d.E":"2"},"aA":{"D":["3","4"],"P":["3","4"],"D.K":"3","D.V":"4"},"cE":{"t":[]},"aU":{"p":["e"],"aL":["e"],"n":["e"],"i":["e"],"d":["e"],"p.E":"e","aL.E":"e"},"i":{"d":["1"]},"A":{"i":["1"],"d":["1"]},"aJ":{"A":["1"],"i":["1"],"d":["1"],"A.E":"1","d.E":"1"},"S":{"m":["1"]},"T":{"d":["2"],"d.E":"2"},"bo":{"T":["1","2"],"i":["2"],"d":["2"],"d.E":"2"},"aF":{"m":["2"]},"q":{"A":["2"],"i":["2"],"d":["2"],"A.E":"2","d.E":"2"},"U":{"d":["1"],"d.E":"1"},"aN":{"m":["1"]},"bt":{"d":["2"],"d.E":"2"},"bu":{"m":["2"]},"aK":{"d":["1"],"d.E":"1"},"bp":{"aK":["1"],"i":["1"],"d":["1"],"d.E":"1"},"bO":{"m":["1"]},"af":{"d":["1"],"d.E":"1"},"aV":{"af":["1"],"i":["1"],"d":["1"],"d.E":"1"},"bH":{"m":["1"]},"bI":{"d":["1"],"d.E":"1"},"bJ":{"m":["1"]},"bq":{"i":["1"],"d":["1"],"d.E":"1"},"br":{"m":["1"]},"bR":{"d":["1"],"d.E":"1"},"bS":{"m":["1"]},"b5":{"p":["1"],"aL":["1"],"n":["1"],"i":["1"],"d":["1"]},"b2":{"b3":[]},"bm":{"aM":["1","2"],"bb":["1","2"],"b0":["1","2"],"c4":["1","2"],"P":["1","2"]},"bl":{"P":["1","2"]},"bn":{"bl":["1","2"],"P":["1","2"]},"bW":{"d":["1"],"d.E":"1"},"bX":{"m":["1"]},"ct":{"M":[],"ab":[]},"aX":{"M":[],"ab":[]},"cx":{"fL":[]},"bD":{"t":[]},"cB":{"t":[]},"d3":{"t":[]},"cO":{"bs":[]},"M":{"ab":[]},"cn":{"M":[],"ab":[]},"co":{"M":[],"ab":[]},"d1":{"M":[],"ab":[]},"d_":{"M":[],"ab":[]},"aT":{"M":[],"ab":[]},"dd":{"t":[]},"cT":{"t":[]},"dc":{"t":[]},"aE":{"D":["1","2"],"P":["1","2"],"D.K":"1","D.V":"2"},"ac":{"i":["1"],"d":["1"],"d.E":"1"},"bA":{"m":["1"]},"ap":{"jv":[],"dW":[]},"b6":{"bF":[],"a4":[]},"db":{"d":["bF"],"d.E":"bF"},"bT":{"m":["bF"]},"bM":{"a4":[]},"dk":{"d":["a4"],"d.E":"a4"},"dl":{"m":["a4"]},"cJ":{"G":[]},"b1":{"aZ":["1"]},"bB":{"p":["e"],"n":["e"],"aZ":["e"],"i":["e"],"d":["e"],"aC":["e"]},"cK":{"p":["e"],"n":["e"],"aZ":["e"],"i":["e"],"d":["e"],"aC":["e"],"G":[],"p.E":"e"},"cM":{"p":["e"],"f6":[],"n":["e"],"aZ":["e"],"i":["e"],"d":["e"],"aC":["e"],"G":[],"p.E":"e"},"aG":{"p":["e"],"av":[],"n":["e"],"aZ":["e"],"i":["e"],"d":["e"],"aC":["e"],"G":[],"p.E":"e"},"df":{"t":[]},"c0":{"t":[]},"c_":{"m":["1"]},"b9":{"d":["1"],"d.E":"1"},"p":{"n":["1"],"i":["1"],"d":["1"]},"D":{"P":["1","2"]},"b0":{"P":["1","2"]},"aM":{"bb":["1","2"],"b0":["1","2"],"c4":["1","2"],"P":["1","2"]},"dh":{"D":["c","@"],"P":["c","@"],"D.K":"c","D.V":"@"},"di":{"A":["c"],"i":["c"],"d":["c"],"A.E":"c","d.E":"c"},"ci":{"a9":["c","n"]},"dm":{"aa":["c","n"]},"cj":{"aa":["c","n"]},"cl":{"a9":["n","c"]},"cm":{"aa":["n","c"]},"el":{"a9":["1","3"]},"cr":{"a9":["c","n"]},"cC":{"a9":["w?","c"]},"cD":{"aa":["c","w?"]},"d7":{"a9":["c","n"]},"d9":{"aa":["c","n"]},"d8":{"aa":["n","c"]},"e":{"aP":[]},"n":{"i":["1"],"d":["1"]},"bF":{"a4":[]},"c":{"dW":[]},"bj":{"t":[]},"bP":{"t":[]},"a2":{"t":[]},"ae":{"t":[]},"bv":{"ae":[],"t":[]},"cN":{"t":[]},"d4":{"t":[]},"d2":{"t":[]},"aI":{"t":[]},"cp":{"t":[]},"cP":{"t":[]},"bL":{"t":[]},"aW":{"bs":[]},"C":{"jA":[]},"c5":{"bQ":[]},"a0":{"bQ":[]},"de":{"bQ":[]},"bE":{"bs":[]},"cR":{"aY":[]},"d6":{"aY":[]},"da":{"aY":[]},"bG":{"as":[]},"cI":{"as":[]},"cH":{"as":[]},"dj":{"m":["c"]},"bK":{"e2":[]},"cW":{"e2":[]},"cX":{"e2":[]},"ao":{"cY":[]},"cG":{"u":[],"cY":[]},"u":{"cY":[]},"a6":{"j":[]},"cF":{"as":[]},"jh":{"n":["e"],"i":["e"],"d":["e"]},"av":{"n":["e"],"i":["e"],"d":["e"]},"f6":{"n":["e"],"i":["e"],"d":["e"]}}')) +A.k4(v.typeUniverse,JSON.parse('{"b5":1,"c8":2,"b1":1}')) +var u={a:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",i:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority"} +var t=(function rtii(){var s=A.dt +return{c:s("bm"),X:s("i<@>"),C:s("t"),W:s("bs"),B:s("j"),d:s("j(c)"),Z:s("ab"),o:s("fL"),l:s("d"),n:s("d<@>"),F:s("v"),v:s("v"),s:s("v"),x:s("v"),cf:s("v"),J:s("v"),dc:s("v"),b:s("v<@>"),t:s("v"),m:s("v"),T:s("bx"),g:s("aq"),da:s("aZ<@>"),bV:s("aE"),h:s("n"),j:s("n<@>"),L:s("n"),f:s("P<@,@>"),M:s("T"),ax:s("q"),r:s("q"),cr:s("aG"),P:s("bC"),K:s("w"),G:s("ae"),cY:s("ly"),k:s("bF"),E:s("bG"),cJ:s("cV"),cx:s("e2"),N:s("c"),bj:s("c(a4)"),bm:s("c(c)"),cm:s("b3"),D:s("ag"),e:s("au"),a:s("u"),u:s("u(c)"),bW:s("G"),p:s("av"),cB:s("b4"),R:s("bQ"),U:s("U"),ab:s("bR"),y:s("R"),Q:s("R(c)"),i:s("kX"),z:s("@"),q:s("@(c)"),S:s("e"),A:s("0&*"),_:s("w*"),bc:s("fK?"),V:s("n<@>?"),Y:s("P<@,@>?"),O:s("w?"),w:s("cU?"),aD:s("c?"),aL:s("c(a4)?"),I:s("bQ?"),H:s("aP"),cQ:s("~(c,@)"),ae:s("~(@(c))")}})();(function constants(){var s=hunkHelpers.makeConstList +B.R=J.cu.prototype +B.b=J.v.prototype +B.c=J.bw.prototype +B.a=J.aD.prototype +B.S=J.aq.prototype +B.T=J.cA.prototype +B.Y=A.aG.prototype +B.E=J.cQ.prototype +B.o=J.b4.prototype +B.F=new A.cj(127) +B.m=new A.aX(A.lf(),A.dt("aX")) +B.G=new A.ci() +B.ab=new A.cm() +B.H=new A.cl() +B.u=new A.br(A.dt("br<0&>")) +B.v=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +B.I=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +B.N=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +B.J=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +B.K=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +B.M=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +B.L=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +B.w=function(hooks) { return hooks; } + +B.O=new A.cC() +B.P=new A.cP() +B.n=new A.dZ() +B.e=new A.d7() +B.Q=new A.d9() +B.x=new A.en() +B.U=new A.cD(null) +B.i=A.f(s([0,0,24576,1023,65534,34815,65534,18431]),t.t) +B.j=A.f(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) +B.V=A.f(s([0,0,32722,12287,65534,34815,65534,18431]),t.t) +B.W=A.f(s([0,0,32722,12287,65535,34815,65534,18431]),t.t) +B.y=A.f(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) +B.k=A.f(s([0,0,32776,33792,1,10240,0,0]),t.t) +B.z=A.f(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) +B.A=A.f(s([]),t.s) +B.B=A.f(s([]),t.b) +B.X=A.f(s([]),t.m) +B.h=A.f(s([0,0,65490,45055,65535,34815,65534,18431]),t.t) +B.C=A.f(s([0,0,27858,1023,65534,51199,65535,32767]),t.t) +B.Z={} +B.D=new A.bn(B.Z,[],A.dt("bn")) +B.a_=new A.b2("call") +B.a0=A.dv("lu") +B.a1=A.dv("jh") +B.a2=A.dv("w") +B.a3=A.dv("f6") +B.a4=A.dv("av") +B.a5=new A.d8(!1) +B.p=new A.b7("at root") +B.q=new A.b7("below root") +B.a6=new A.b7("reaches root") +B.r=new A.b7("above root") +B.d=new A.b8("different") +B.t=new A.b8("equal") +B.f=new A.b8("inconclusive") +B.l=new A.b8("within") +B.a7=new A.ba(!1,!1,!1) +B.a8=new A.ba(!1,!1,!0) +B.a9=new A.ba(!1,!0,!1) +B.aa=new A.ba(!0,!1,!1)})();(function staticFields(){$.em=null +$.X=A.f([],A.dt("v")) +$.fY=null +$.fG=null +$.fF=null +$.i2=null +$.hZ=null +$.ib=null +$.eG=null +$.eL=null +$.fp=null +$.hd="" +$.he=null +$.hM=null +$.eA=null +$.hS=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazy +s($,"lv","ft",()=>A.l0("_$dart_dartClosure")) +s($,"lD","ii",()=>A.ah(A.ee({ +toString:function(){return"$receiver$"}}))) +s($,"lE","ij",()=>A.ah(A.ee({$method$:null, +toString:function(){return"$receiver$"}}))) +s($,"lF","ik",()=>A.ah(A.ee(null))) +s($,"lG","il",()=>A.ah(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(q){return q.message}}())) +s($,"lJ","ip",()=>A.ah(A.ee(void 0))) +s($,"lK","iq",()=>A.ah(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(q){return q.message}}())) +s($,"lI","io",()=>A.ah(A.h9(null))) +s($,"lH","im",()=>A.ah(function(){try{null.$method$}catch(q){return q.message}}())) +s($,"lM","is",()=>A.ah(A.h9(void 0))) +s($,"lL","ir",()=>A.ah(function(){try{(void 0).$method$}catch(q){return q.message}}())) +s($,"lN","it",()=>new A.ej().$0()) +s($,"lO","iu",()=>new A.ei().$0()) +s($,"lP","iv",()=>new Int8Array(A.hN(A.f([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))) +s($,"lQ","fv",()=>typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32") +s($,"lR","iw",()=>A.o("^[\\-\\.0-9A-Z_a-z~]*$",!1)) +s($,"m9","fw",()=>A.i7(B.a2)) +s($,"mb","iG",()=>A.kr()) +s($,"mp","iQ",()=>A.eT($.cg())) +s($,"mn","fx",()=>A.eT($.bh())) +s($,"mi","eP",()=>new A.cq($.fu(),null)) +s($,"lA","ih",()=>new A.cR(A.o("/",!1),A.o("[^/]$",!1),A.o("^/",!1))) +s($,"lC","cg",()=>new A.da(A.o("[/\\\\]",!1),A.o("[^/\\\\]$",!1),A.o("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),A.o("^[/\\\\](?![/\\\\])",!1))) +s($,"lB","bh",()=>new A.d6(A.o("/",!1),A.o("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),A.o("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),A.o("^/",!1))) +s($,"lz","fu",()=>A.jC()) +s($,"m2","iy",()=>new A.eB().$0()) +s($,"mk","iN",()=>A.c9(A.ia(2,31))-1) +s($,"ml","iO",()=>-A.c9(A.ia(2,31))) +s($,"mh","iM",()=>A.o("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)) +s($,"md","iI",()=>A.o("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)) +s($,"mg","iL",()=>A.o("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)) +s($,"mc","iH",()=>A.o("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)) +s($,"m3","iz",()=>A.o("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)) +s($,"m5","iB",()=>A.o("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)) +s($,"m7","iD",()=>A.o("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)) +s($,"m1","ix",()=>A.o("<(|[^>]+)_async_body>",!1)) +s($,"ma","iF",()=>A.o("^\\.",!1)) +s($,"lw","ie",()=>A.o("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)) +s($,"lx","ig",()=>A.o("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)) +s($,"me","iJ",()=>A.o("\\n ?at ",!1)) +s($,"mf","iK",()=>A.o(" ?at ",!1)) +s($,"m4","iA",()=>A.o("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)) +s($,"m6","iC",()=>A.o("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)) +s($,"m8","iE",()=>A.o("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)) +s($,"mo","fy",()=>A.o("^\\n?$",!0)) +r($,"mm","iP",()=>J.iX(self.$dartLoader.rootDirectories,new A.eO(),t.N).af(0))})();(function nativeSupport(){!function(){var s=function(a){var m={} +m[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(m))[0]} +v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} +var r="___dart_isolate_tags_" +var q=Object[r]||(Object[r]=Object.create(null)) +var p="_ZxYxX" +for(var o=0;;o++){var n=s(p+"_"+o+"_") +if(!(n in q)){q[n]=1 +v.isolateTag=n +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:A.cJ,ArrayBufferView:A.cL,Int8Array:A.cK,Uint32Array:A.cM,Uint8Array:A.aG}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false}) +A.b1.$nativeSuperclassTag="ArrayBufferView" +A.bY.$nativeSuperclassTag="ArrayBufferView" +A.bZ.$nativeSuperclassTag="ArrayBufferView" +A.bB.$nativeSuperclassTag="ArrayBufferView"})() +Function.prototype.$0=function(){return this()} +Function.prototype.$1=function(a){return this(a)} +Function.prototype.$2=function(a,b){return this(a,b)} +Function.prototype.$3=function(a,b,c){return this(a,b,c)} +Function.prototype.$2$0=function(){return this()} +Function.prototype.$1$0=function(){return this()} +Function.prototype.$1$1=function(a){return this(a)} +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!="undefined"){a(document.currentScript) +return}var s=document.scripts +function onLoad(b){for(var q=0;q + +# Uses of peek in the parser + + * In parseType, the parser uses peekAfterIfType to tell the difference + between `id` and `id id`. + + * In parseSwitchCase, the parser uses peekPastLabels to select between case + labels and statement labels. + + * The parser uses isGeneralizedFunctionType in parseType. + + * The parser uses isValidMethodTypeArguments in parseSend. diff --git a/packages/analyzer/fix_data.yaml b/packages/analyzer/fix_data.yaml new file mode 100644 index 0000000..4b73002 --- /dev/null +++ b/packages/analyzer/fix_data.yaml @@ -0,0 +1,174 @@ +version: 1 +transforms: + # CompilationUnitElement + - title: "Replace with get enums" + date: 2022-10-21 + element: + getter: 'enums2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'CompilationUnitElement' + changes: + - kind: 'rename' + newName: 'enums' + - title: "Replace with get enums" + date: 2022-10-21 + element: + getter: 'enums2' + uris: [ 'package:analyzer/src/dart/element/element.dart' ] + inClass: 'CompilationUnitElementImpl' + changes: + - kind: 'rename' + newName: 'enums' + - title: "Replace with get mixins" + date: 2022-10-21 + element: + getter: 'mixins2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'CompilationUnitElement' + changes: + - kind: 'rename' + newName: 'mixins' + - title: "Replace with get mixins" + date: 2022-10-21 + element: + getter: 'mixins2' + uris: [ 'package:analyzer/src/dart/element/element.dart' ] + inClass: 'CompilationUnitElementImpl' + changes: + - kind: 'rename' + newName: 'mixins' + - title: "Replace with getEnum()" + date: 2022-10-21 + element: + method: 'getEnum2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'CompilationUnitElement' + changes: + - kind: 'rename' + newName: 'getEnum' + + # LibraryElement + - title: "Replace with get parts" + date: 2022-10-21 + element: + getter: 'parts2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'LibraryElement' + changes: + - kind: 'rename' + newName: 'parts' + - title: "Replace with get parts" + date: 2022-10-21 + element: + getter: 'parts2' + uris: [ 'package:analyzer/src/dart/element/element.dart' ] + inClass: 'LibraryElementImpl' + changes: + - kind: 'rename' + newName: 'parts' + + # PrefixElement + - title: "Replace with get imports" + date: 2022-10-21 + element: + getter: 'imports2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'PrefixElement' + changes: + - kind: 'rename' + newName: 'imports' + + # isAccessibleIn + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'Element' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'ClassElement' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'ConstructorElement' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'ExecutableElement' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'MethodElement' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'InterfaceElement' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + - title: "Replace with get isAccessibleIn" + date: 2022-10-21 + element: + method: 'isAccessibleIn2' + uris: [ 'package:analyzer/dart/element/element.dart' ] + inClass: 'PropertyAccessorElement' + changes: + - kind: 'rename' + newName: 'isAccessibleIn' + + # buildSdkSummary() + - title: "Replace with buildSdkSummary()" + date: 2022-10-24 + element: + function: 'buildSdkSummary2' + uris: [ 'package:analyzer/dart/sdk/build_sdk_summary.dart' ] + changes: + - kind: 'rename' + newName: 'buildSdkSummary' + + # condition -> expression + - title: "Replace with get expression" + date: 2023-04-18 + element: + method: 'condition' + uris: [ 'package:analyzer/dart/ast/ast.dart' ] + inClass: 'IfStatement' + changes: + - kind: rename + newName: 'expression' + - title: "Replace with get expression" + date: 2023-04-18 + element: + method: 'condition' + uris: [ 'package:analyzer/dart/ast/ast.dart' ] + inClass: 'IfElement' + changes: + - kind: rename + newName: 'expression' diff --git a/packages/analyzer/src/summary/format.fbs b/packages/analyzer/src/summary/format.fbs new file mode 100644 index 0000000..905b03d --- /dev/null +++ b/packages/analyzer/src/summary/format.fbs @@ -0,0 +1,447 @@ +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// This file has been automatically generated. Please do not edit it manually. +// To regenerate the file, use the SDK script +// "pkg/analyzer/tool/summary/generate.dart $IDL_FILE_PATH", +// or "pkg/analyzer/tool/generate_files" for the analyzer package IDL/sources. + + +/// Enum of declaration kinds in available files. +enum AvailableDeclarationKind : byte { + CLASS, + + CLASS_TYPE_ALIAS, + + CONSTRUCTOR, + + ENUM, + + ENUM_CONSTANT, + + EXTENSION, + + FIELD, + + FUNCTION, + + FUNCTION_TYPE_ALIAS, + + GETTER, + + METHOD, + + MIXIN, + + SETTER, + + TYPE_ALIAS, + + VARIABLE +} + +/// Enum used to indicate the kind of an index relation. +enum IndexRelationKind : byte { + /// Left: class. + /// Is ancestor of (is extended or implemented, directly or indirectly). + /// Right: other class declaration. + IS_ANCESTOR_OF, + + /// Left: class. + /// Is extended by. + /// Right: other class declaration. + IS_EXTENDED_BY, + + /// Left: class. + /// Is implemented by. + /// Right: other class declaration. + IS_IMPLEMENTED_BY, + + /// Left: an interface element. + /// Constrains. + /// Right: mixin. + CONSTRAINS, + + /// Left: class. + /// Is mixed into. + /// Right: other class declaration. + IS_MIXED_IN_BY, + + /// Left: method, property accessor, function, variable. + /// Is invoked at. + /// Right: location. + IS_INVOKED_BY, + + /// Left: an unnamed constructor. + /// Is invoked by an enum constant, without arguments, which is special + /// because when the name given, an empty argument list must be added. + /// Right: location. + IS_INVOKED_BY_ENUM_CONSTANT_WITHOUT_ARGUMENTS, + + /// Left: any element. + /// Is referenced (and not invoked, read/written) at. + /// Right: location. + IS_REFERENCED_BY, + + /// Left: a constructor. + /// Is referenced by a constructor tear-off at, which is special because + /// the name of the constructor is required (`new` for unnamed). + /// Right: location. + IS_REFERENCED_BY_CONSTRUCTOR_TEAR_OFF, + + /// Left: unresolved member name. + /// Is read at. + /// Right: location. + IS_READ_BY, + + /// Left: unresolved member name. + /// Is both read and written at. + /// Right: location. + IS_READ_WRITTEN_BY, + + /// Left: unresolved member name. + /// Is written at. + /// Right: location. + IS_WRITTEN_BY +} + +/// When we need to reference a synthetic element in [PackageIndex] we use a +/// value of this enum to specify which kind of the synthetic element we +/// actually reference. +enum IndexSyntheticElementKind : byte { + /// Not a synthetic element. + notSynthetic, + + /// The unnamed synthetic constructor a class element. + constructor, + + /// The synthetic field element. + field, + + /// The synthetic getter of a property introducing element. + getter, + + /// The synthetic setter of a property introducing element. + setter, + + /// The synthetic top-level variable element. + topLevelVariable, + + /// The synthetic `loadLibrary` element. + loadLibrary, + + /// The synthetic `index` getter of an enum. + enumIndex, + + /// The synthetic `values` getter of an enum. + enumValues, + + /// The synthetic `toString` method of an enum. + enumToString, + + /// The containing unit itself. + unit +} + +/// Information about the context of an exception in analysis driver. +table AnalysisDriverExceptionContext { + /// The exception string. + exception:string (id: 1); + + /// The state of files when the exception happened. + files:[AnalysisDriverExceptionFile] (id: 3); + + /// The path of the file being analyzed when the exception happened. + path:string (id: 0); + + /// The exception stack trace string. + stackTrace:string (id: 2); +} + +/// Information about a single file in [AnalysisDriverExceptionContext]. +table AnalysisDriverExceptionFile { + /// The content of the file. + content:string (id: 1); + + /// The path of the file. + path:string (id: 0); +} + +/// Information about a resolved unit. +table AnalysisDriverResolvedUnit { + /// The full list of analysis errors, both syntactic and semantic. + errors:[AnalysisDriverUnitError] (id: 0); + + /// The index of the unit. + index:AnalysisDriverUnitIndex (id: 1); +} + +/// Information about a subtype of one or more classes. +table AnalysisDriverSubtype { + /// The names of defined instance members. + /// They are indexes into [AnalysisDriverUnitError.strings] list. + /// The list is sorted in ascending order. + members:[uint] (id: 1); + + /// The name of the class. + /// It is an index into [AnalysisDriverUnitError.strings] list. + name:uint (id: 0); +} + +/// Information about an error in a resolved unit. +table AnalysisDriverUnitError { + /// The context messages associated with the error. + contextMessages:[DiagnosticMessage] (id: 5); + + /// The optional correction hint for the error. + correction:string (id: 4); + + /// The length of the error in the file. + length:uint (id: 1); + + /// The message of the error. + message:string (id: 3); + + /// The offset from the beginning of the file. + offset:uint (id: 0); + + /// The unique name of the error code. + uniqueName:string (id: 2); +} + +/// Information about a resolved unit. +table AnalysisDriverUnitIndex { + /// Each item of this list corresponds to a unique referenced element. It is + /// a list of the prefixes associated with references to the element. + elementImportPrefixes:[string] (id: 20); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the kind of the synthetic element. + elementKinds:[IndexSyntheticElementKind] (id: 4); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the identifier of the class member element name, or `null` if the element + /// is a top-level element. The list is sorted in ascending order, so that + /// the client can quickly check whether an element is referenced in this + /// index. + elementNameClassMemberIds:[uint] (id: 7); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the identifier of the named parameter name, or `null` if the element is + /// not a named parameter. The list is sorted in ascending order, so that the + /// client can quickly check whether an element is referenced in this index. + elementNameParameterIds:[uint] (id: 8); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the identifier of the top-level element name, or `null` if the element is + /// the unit. The list is sorted in ascending order, so that the client can + /// quickly check whether an element is referenced in this index. + elementNameUnitMemberIds:[uint] (id: 6); + + /// Each item of this list corresponds to a unique referenced element. It is + /// the index into [unitLibraryUris] and [unitUnitUris] for the library + /// specific unit where the element is declared. + elementUnits:[uint] (id: 5); + + /// Identifier of the null string in [strings]. + nullStringId:uint (id: 1); + + /// List of unique element strings used in this index. The list is sorted in + /// ascending order, so that the client can quickly check the presence of a + /// string in this index. + strings:[string] (id: 0); + + /// The list of classes declared in the unit. + subtypes:[AnalysisDriverSubtype] (id: 19); + + /// The identifiers of supertypes of elements at corresponding indexes + /// in [subtypes]. They are indexes into [strings] list. The list is sorted + /// in ascending order. There might be more than one element with the same + /// value if there is more than one subtype of this supertype. + supertypes:[uint] (id: 18); + + /// Each item of this list corresponds to the library URI of a unique library + /// specific unit referenced in the index. It is an index into [strings] + /// list. + unitLibraryUris:[uint] (id: 2); + + /// Each item of this list corresponds to the unit URI of a unique library + /// specific unit referenced in the index. It is an index into [strings] + /// list. + unitUnitUris:[uint] (id: 3); + + /// Each item of this list is the `true` if the corresponding element usage + /// is qualified with some prefix. + usedElementIsQualifiedFlags:[ubyte] (id: 13); + + /// Each item of this list is the kind of the element usage. + usedElementKinds:[IndexRelationKind] (id: 10); + + /// Each item of this list is the length of the element usage. + usedElementLengths:[uint] (id: 12); + + /// Each item of this list is the offset of the element usage relative to the + /// beginning of the file. + usedElementOffsets:[uint] (id: 11); + + /// Each item of this list is the index into [elementUnits], + /// [elementNameUnitMemberIds], [elementNameClassMemberIds] and + /// [elementNameParameterIds]. The list is sorted in ascending order, so + /// that the client can quickly find element references in this index. + usedElements:[uint] (id: 9); + + /// Each item of this list is the `true` if the corresponding name usage + /// is qualified with some prefix. + usedNameIsQualifiedFlags:[ubyte] (id: 17); + + /// Each item of this list is the kind of the name usage. + usedNameKinds:[IndexRelationKind] (id: 15); + + /// Each item of this list is the offset of the name usage relative to the + /// beginning of the file. + usedNameOffsets:[uint] (id: 16); + + /// Each item of this list is the index into [strings] for a used name. The + /// list is sorted in ascending order, so that the client can quickly find + /// whether a name is used in this index. + usedNames:[uint] (id: 14); +} + +/// Information about a single declaration. +table AvailableDeclaration { + children:[AvailableDeclaration] (id: 0); + + codeLength:uint (id: 1); + + codeOffset:uint (id: 2); + + defaultArgumentListString:string (id: 3); + + defaultArgumentListTextRanges:[uint] (id: 4); + + docComplete:string (id: 5); + + docSummary:string (id: 6); + + fieldMask:uint (id: 7); + + isAbstract:bool (id: 8); + + isConst:bool (id: 9); + + isDeprecated:bool (id: 10); + + isFinal:bool (id: 11); + + isStatic:bool (id: 12); + + /// The kind of the declaration. + kind:AvailableDeclarationKind (id: 13); + + locationOffset:uint (id: 14); + + locationStartColumn:uint (id: 15); + + locationStartLine:uint (id: 16); + + /// The first part of the declaration name, usually the only one, for example + /// the name of a class like `MyClass`, or a function like `myFunction`. + name:string (id: 17); + + parameterNames:[string] (id: 18); + + parameters:string (id: 19); + + parameterTypes:[string] (id: 20); + + /// The partial list of relevance tags. Not every declaration has one (for + /// example, function do not currently), and not every declaration has to + /// store one (for classes it can be computed when we know the library that + /// includes this file). + relevanceTags:[string] (id: 21); + + requiredParameterCount:uint (id: 22); + + returnType:string (id: 23); + + typeParameters:string (id: 24); +} + +/// Information about an available, even if not yet imported file. +table AvailableFile { + /// Declarations of the file. + declarations:[AvailableDeclaration] (id: 0); + + /// The Dartdoc directives in the file. + directiveInfo:DirectiveInfo (id: 1); + + /// Exports directives of the file. + exports:[AvailableFileExport] (id: 2); + + /// Is `true` if this file is a library. + isLibrary:bool (id: 3); + + /// Is `true` if this file is a library, and it is deprecated. + isLibraryDeprecated:bool (id: 4); + + /// Offsets of the first character of each line in the source code. + lineStarts:[uint] (id: 5); + + /// URIs of `part` directives. + parts:[string] (id: 6); +} + +/// Information about an export directive. +table AvailableFileExport { + /// Combinators contained in this export directive. + combinators:[AvailableFileExportCombinator] (id: 1); + + /// URI of the exported library. + uri:string (id: 0); +} + +/// Information about a `show` or `hide` combinator in an export directive. +table AvailableFileExportCombinator { + /// List of names which are hidden. Empty if this is a `show` combinator. + hides:[string] (id: 1); + + /// List of names which are shown. Empty if this is a `hide` combinator. + shows:[string] (id: 0); +} + +/// Errors for a single unit. +table CiderUnitErrors { + errors:[AnalysisDriverUnitError] (id: 0); +} + +table DiagnosticMessage { + /// The absolute and normalized path of the file associated with this message. + filePath:string (id: 0); + + /// The length of the source range associated with this message. + length:uint (id: 1); + + /// The text of the message. + message:string (id: 2); + + /// The zero-based offset from the start of the file to the beginning of the + /// source range associated with this message. + offset:uint (id: 3); + + /// The URL of the message, if any. + url:string (id: 4); +} + +/// Information about the Dartdoc directives in an [AvailableFile]. +table DirectiveInfo { + /// The names of the defined templates. + templateNames:[string] (id: 0); + + /// The values of the defined templates. + templateValues:[string] (id: 1); +} + +root_type AnalysisDriverResolvedUnit; + +file_identifier "ADRU"; diff --git a/packages/build_runner/src/server/README.md b/packages/build_runner/src/server/README.md new file mode 100644 index 0000000..e40bb70 --- /dev/null +++ b/packages/build_runner/src/server/README.md @@ -0,0 +1,4 @@ +## Regenerating the graph_vis_main.dart.js{.map} files + +To regenerate these files, you should use the custom build script at +`tool/build.dart`. This supports all the normal build_runner commands. diff --git a/packages/build_runner/src/server/build_updates_client/live_reload_client.js b/packages/build_runner/src/server/build_updates_client/live_reload_client.js new file mode 100644 index 0000000..6925175 --- /dev/null +++ b/packages/build_runner/src/server/build_updates_client/live_reload_client.js @@ -0,0 +1,8 @@ +(function () { + var _buildUpdatesProtocol = '$buildUpdates'; + + var ws = new WebSocket('ws://' + location.host, [_buildUpdatesProtocol]); + ws.onmessage = function (event) { + location.reload(); + }; +})(); \ No newline at end of file diff --git a/packages/build_runner/src/server/graph_viz.html b/packages/build_runner/src/server/graph_viz.html new file mode 100644 index 0000000..58d658f --- /dev/null +++ b/packages/build_runner/src/server/graph_viz.html @@ -0,0 +1,76 @@ + + + + + + Asset Graph visualization + + + + + + +
+
+
+ + + +
+
+
+
+
+
+
+ +
+
+ + + + + + + diff --git a/packages/build_runner/src/server/graph_viz.js b/packages/build_runner/src/server/graph_viz.js new file mode 100644 index 0000000..90876a7 --- /dev/null +++ b/packages/build_runner/src/server/graph_viz.js @@ -0,0 +1,38 @@ +window.$build = {} +window.$build.initializeGraph = function (scope) { + scope.options = { + layout: { + hierarchical: { enabled: true } + }, + physics: { enabled: true }, + configure: { + showButton: false + }, + edges: { + arrows: { + to: { + enabled: true + } + } + } + }; + scope.graphContainer = document.getElementById('graph'); + scope.network = new vis.Network( + scope.graphContainer, { nodes: [], edges: [] }, scope.options); + scope.network.on('doubleClick', function (event) { + if (event.nodes.length >= 1) { + var nodeId = event.nodes[0]; + scope.onFocus(nodeId); + return null; + } + }); + + return function (onFocus) { + scope.onFocus = onFocus; + }; +}(window.$build); +window.$build.setData = function (scope) { + return function (data) { + scope.network.setData(data); + } +}(window.$build); diff --git a/packages/build_runner/src/server/graph_viz_main.dart.js b/packages/build_runner/src/server/graph_viz_main.dart.js new file mode 100644 index 0000000..207cc64 --- /dev/null +++ b/packages/build_runner/src/server/graph_viz_main.dart.js @@ -0,0 +1,3461 @@ +{}(function dartProgram(){function copyProperties(a,b){var u=Object.keys(a) +for(var t=0;t=0)return true +if(typeof version=="function"&&version.length==0){var s=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(s))return true}}catch(r){}return false}() +function setFunctionNamesIfNecessary(a){function t(){};if(typeof t.name=="string")return +for(var u=0;u1&&C.a.D(t,0)===36?C.a.af(t,1):t)}, +ho:function(a){var u +if(0<=a){if(a<=65535)return String.fromCharCode(a) +if(a<=1114111){u=a-65536 +return String.fromCharCode((55296|C.d.a9(u,10))>>>0,56320|u&1023)}}throw H.e(P.bd(a,0,1114111,null,null))}, +S:function(a){if(a.date===void 0)a.date=new Date(a.a) +return a.date}, +hn:function(a){var u=H.S(a).getFullYear()+0 +return u}, +hl:function(a){var u=H.S(a).getMonth()+1 +return u}, +hh:function(a){var u=H.S(a).getDate()+0 +return u}, +hi:function(a){var u=H.S(a).getHours()+0 +return u}, +hk:function(a){var u=H.S(a).getMinutes()+0 +return u}, +hm:function(a){var u=H.S(a).getSeconds()+0 +return u}, +hj:function(a){var u=H.S(a).getMilliseconds()+0 +return u}, +a6:function(a,b,c){var u,t,s={} +s.a=0 +u=[] +t=[] +s.a=b.length +C.b.q(u,b) +s.b="" +if(c!=null&&c.a!==0)c.u(0,new H.cu(s,t,u)) +""+s.a +return J.fT(a,new H.bZ(C.L,0,u,t,0))}, +hg:function(a,b,c){var u,t,s,r +if(b instanceof Array)u=c==null||c.a===0 +else u=!1 +if(u){t=b +s=t.length +if(s===0){if(!!a.$0)return a.$0()}else if(s===1){if(!!a.$1)return a.$1(t[0])}else if(s===2){if(!!a.$2)return a.$2(t[0],t[1])}else if(s===3){if(!!a.$3)return a.$3(t[0],t[1],t[2])}else if(s===4){if(!!a.$4)return a.$4(t[0],t[1],t[2],t[3])}else if(s===5)if(!!a.$5)return a.$5(t[0],t[1],t[2],t[3],t[4]) +r=a[""+"$"+s] +if(r!=null)return r.apply(a,t)}return H.he(a,b,c)}, +he:function(a,b,c){var u,t,s,r,q,p,o,n,m,l=b instanceof Array?b:P.ek(b,!0,null),k=l.length,j=a.$R +if(kj+s.length)return H.a6(a,l,null) +C.b.q(l,s.slice(k-j)) +return q.apply(a,l)}else{if(k>j)return H.a6(a,l,c) +p=Object.keys(s) +if(c==null)for(t=p.length,o=0;o=u)return P.bV(b,a,t,null,u) +return P.cv(b,t)}, +i6:function(a,b,c){var u="Invalid value" +if(a>c)return new P.a9(0,c,!0,a,"start",u) +if(b!=null)if(bc)return new P.a9(a,c,!0,b,"end",u) +return new P.y(!0,b,"end",null)}, +bw:function(a){return new P.y(!0,a,null,null)}, +e:function(a){var u +if(a==null)a=new P.aB() +u=new Error() +u.dartException=a +if("defineProperty" in Object){Object.defineProperty(u,"message",{get:H.fy}) +u.name=""}else u.toString=H.fy +return u}, +fy:function(){return J.aj(this.dartException)}, +bz:function(a){throw H.e(a)}, +by:function(a){throw H.e(P.G(a))}, +E:function(a){var u,t,s,r,q,p +a=H.is(a.replace(String({}),'$receiver$')) +u=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(u==null)u=H.m([],[P.f]) +t=u.indexOf("\\$arguments\\$") +s=u.indexOf("\\$argumentsExpr\\$") +r=u.indexOf("\\$expr\\$") +q=u.indexOf("\\$method\\$") +p=u.indexOf("\\$receiver\\$") +return new H.cG(a.replace(new RegExp('\\\\\\$arguments\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$argumentsExpr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$expr\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$method\\\\\\$','g'),'((?:x|[^x])*)').replace(new RegExp('\\\\\\$receiver\\\\\\$','g'),'((?:x|[^x])*)'),t,s,r,q,p)}, +cH:function(a){return function($expr$){var $argumentsExpr$='$arguments$' +try{$expr$.$method$($argumentsExpr$)}catch(u){return u.message}}(a)}, +f0:function(a){return function($expr$){try{$expr$.$method$}catch(u){return u.message}}(a)}, +eZ:function(a,b){return new H.cr(a,b==null?null:b.method)}, +ej:function(a,b){var u=b==null,t=u?null:b.method +return new H.c1(a,t,u?null:b.receiver)}, +p:function(a){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g=null,f=new H.eb(a) +if(a==null)return +if(a instanceof H.ar)return f.$1(a.a) +if(typeof a!=="object")return a +if("dartException" in a)return f.$1(a.dartException) +else if(!("message" in a))return a +u=a.message +if("number" in a&&typeof a.number=="number"){t=a.number +s=t&65535 +if((C.d.a9(t,16)&8191)===10)switch(s){case 438:return f.$1(H.ej(H.b(u)+" (Error "+s+")",g)) +case 445:case 5007:return f.$1(H.eZ(H.b(u)+" (Error "+s+")",g))}}if(a instanceof TypeError){r=$.fz() +q=$.fA() +p=$.fB() +o=$.fC() +n=$.fF() +m=$.fG() +l=$.fE() +$.fD() +k=$.fI() +j=$.fH() +i=r.w(u) +if(i!=null)return f.$1(H.ej(u,i)) +else{i=q.w(u) +if(i!=null){i.method="call" +return f.$1(H.ej(u,i))}else{i=p.w(u) +if(i==null){i=o.w(u) +if(i==null){i=n.w(u) +if(i==null){i=m.w(u) +if(i==null){i=l.w(u) +if(i==null){i=o.w(u) +if(i==null){i=k.w(u) +if(i==null){i=j.w(u) +h=i!=null}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0}else h=!0 +if(h)return f.$1(H.eZ(u,i))}}return f.$1(new H.cJ(typeof u==="string"?u:""))}if(a instanceof RangeError){if(typeof u==="string"&&u.indexOf("call stack")!==-1)return new P.be() +u=function(b){try{return String(b)}catch(e){}return null}(a) +return f.$1(new P.y(!1,g,g,typeof u==="string"?u.replace(/^RangeError:\s*/,""):u))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof u==="string"&&u==="too much recursion")return new P.be() +return a}, +X:function(a){var u +if(a instanceof H.ar)return a.b +if(a==null)return new H.bq(a) +u=a.$cachedTrace +if(u!=null)return u +return a.$cachedTrace=new H.bq(a)}, +fv:function(a){if(a==null||typeof a!='object')return J.Y(a) +else return H.a7(a)}, +i9:function(a,b){var u,t,s,r=a.length +for(u=0;u=27 +if(q)return H.fW(t,!r,u,b) +if(t===0){r=$.C +$.C=r+1 +p="self"+H.b(r) +r="return function(){var "+p+" = this." +q=$.am +return new Function(r+H.b(q==null?$.am=H.bE("self"):q)+";return "+p+"."+H.b(u)+"();}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,t).join(",") +r=$.C +$.C=r+1 +o+=H.b(r) +r="return function("+o+"){return this." +q=$.am +return new Function(r+H.b(q==null?$.am=H.bE("self"):q)+"."+H.b(u)+"("+o+");}")()}, +fX:function(a,b,c,d){var u=H.ed,t=H.eO +switch(b?-1:a){case 0:throw H.e(H.hs("Intercepted function with no arguments.")) +case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,u,t) +case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,u,t) +case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,u,t) +case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,u,t) +case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,u,t) +case 6:return function(e,f,g){return function(h,i,j,k,l){return f(this)[e](g(this),h,i,j,k,l)}}(c,u,t) +default:return function(e,f,g,h){return function(){h=[g(this)] +Array.prototype.push.apply(h,arguments) +return e.apply(f(this),h)}}(d,u,t)}}, +fY:function(a,b){var u,t,s,r,q,p,o,n=$.am +if(n==null)n=$.am=H.bE("self") +u=$.eN +if(u==null)u=$.eN=H.bE("receiver") +t=b.$stubName +s=b.length +r=a[t] +q=b==null?r==null:b===r +p=!q||s>=28 +if(p)return H.fX(s,!q,t,b) +if(s===1){n="return function(){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+");" +u=$.C +$.C=u+1 +return new Function(n+H.b(u)+"}")()}o="abcdefghijklmnopqrstuvwxyz".split("").splice(0,s-1).join(",") +n="return function("+o+"){return this."+H.b(n)+"."+H.b(t)+"(this."+H.b(u)+", "+o+");" +u=$.C +$.C=u+1 +return new Function(n+H.b(u)+"}")()}, +ev:function(a,b,c,d,e,f,g){return H.fZ(a,b,c,d,!!e,!!f,g)}, +ed:function(a){return a.a}, +eO:function(a){return a.c}, +bE:function(a){var u,t,s,r=new H.al("self","target","receiver","name"),q=J.eU(Object.getOwnPropertyNames(r)) +for(u=q.length,t=0;t=b.length)return"unexpected-generic-index:"+H.b(a) +return H.b(b[b.length-a-1])}if('func' in a)return H.hU(a,b) +if('futureOr' in a)return"FutureOr<"+H.V("type" in a?a.type:null,b)+">" +return"unknown-reified-type"}, +hU:function(a,a0){var u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b=", " +if("bounds" in a){u=a.bounds +if(a0==null){a0=H.m([],[P.f]) +t=null}else t=a0.length +s=a0.length +for(r=u.length,q=r;q>0;--q)a0.push("T"+(s+q)) +for(p="<",o="",q=0;q "+m}, +et:function(a,b,c){var u,t,s,r,q,p +if(a==null)return"" +u=new P.T("") +for(t=b,s="",r=!0,q="";t"}, +ai:function(a,b){if(a==null)return b +a=a.apply(null,b) +if(a==null)return +if(typeof a==="object"&&a!==null&&a.constructor===Array)return a +if(typeof a=="function")return a.apply(null,b) +return b}, +aS:function(a,b,c,d){var u,t +if(a==null)return!1 +u=H.ah(a) +t=J.k(a) +if(t[b]==null)return!1 +return H.fp(H.ai(t[d],u),null,c,null)}, +iu:function(a,b,c,d){if(a==null)return a +if(H.aS(a,b,c,d))return a +throw H.e(H.eP(a,function(e,f){return e.replace(/[^<,> ]+/g,function(g){return f[g]||g})}(H.aW(b.substring(2))+H.et(c,0,null),v.mangledGlobalNames)))}, +fp:function(a,b,c,d){var u,t +if(c==null)return!0 +if(a==null){u=c.length +for(t=0;tn)return!1 +if(o+m>>0!==a||a>=c)throw H.e(H.aT(b,a))}, +hR:function(a,b,c){var u +if(!(a>>>0!==a))u=b>>>0!==b||a>b||b>c +else u=!0 +if(u)throw H.e(H.i6(a,b,c)) +return b}, +aA:function aA(){}, +b8:function b8(){}, +az:function az(){}, +b9:function b9(){}, +ch:function ch(){}, +ci:function ci(){}, +cj:function cj(){}, +ck:function ck(){}, +cl:function cl(){}, +ba:function ba(){}, +cm:function cm(){}, +aL:function aL(){}, +aM:function aM(){}, +aN:function aN(){}, +aO:function aO(){}, +fu:function(a){var u=J.k(a) +return!!u.$ia_||!!u.$ia||!!u.$iaw||!!u.$ias||!!u.$ij||!!u.$iab||!!u.$iJ}, +i8:function(a){return J.h7(a?Object.keys(a):[],null)}},J={ +eB:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, +e3:function(a){var u,t,s,r,q=a[v.dispatchPropertyName] +if(q==null)if($.eA==null){H.ih() +q=a[v.dispatchPropertyName]}if(q!=null){u=q.p +if(!1===u)return q.i +if(!0===u)return a +t=Object.getPrototypeOf(a) +if(u===t)return q.i +if(q.e===t)throw H.e(P.f2("Return interceptor for "+H.b(u(a,q))))}s=a.constructor +r=s==null?null:s[$.eD()] +if(r!=null)return r +r=H.io(a) +if(r!=null)return r +if(typeof a=="function")return C.F +u=Object.getPrototypeOf(a) +if(u==null)return C.q +if(u===Object.prototype)return C.q +if(typeof s=="function"){Object.defineProperty(s,$.eD(),{value:C.i,enumerable:false,writable:true,configurable:true}) +return C.i}return C.i}, +h7:function(a,b){return J.eU(H.m(a,[b]))}, +eU:function(a){a.fixed$length=Array +return a}, +eV:function(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +h8:function(a,b){var u,t +for(u=a.length;b0;b=u){u=b-1 +t=C.a.H(a,u) +if(t!==32&&t!==13&&!J.eV(t))break}return b}, +k:function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.b4.prototype +return J.bY.prototype}if(typeof a=="string")return J.a2.prototype +if(a==null)return J.b5.prototype +if(typeof a=="boolean")return J.bX.prototype +if(a.constructor==Array)return J.P.prototype +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +e1:function(a){if(typeof a=="string")return J.a2.prototype +if(a==null)return a +if(a.constructor==Array)return J.P.prototype +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +ex:function(a){if(a==null)return a +if(a.constructor==Array)return J.P.prototype +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +e2:function(a){if(typeof a=="string")return J.a2.prototype +if(a==null)return a +if(!(a instanceof P.h))return J.aI.prototype +return a}, +aU:function(a){if(a==null)return a +if(typeof a!="object"){if(typeof a=="function")return J.Q.prototype +return a}if(a instanceof P.h)return a +return J.e3(a)}, +bA:function(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.k(a).B(a,b)}, +bB:function(a,b){if(typeof b==="number")if(a.constructor==Array||typeof a=="string"||H.ik(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b=4){t=b.W() +b.a=a.a +b.c=a.c +P.ac(b,t)}else{t=b.c +b.a=2 +b.c=a +a.ao(t)}}, +ac:function(a,b){var u,t,s,r,q,p,o,n,m,l,k,j=null,i={},h=i.a=a +for(;!0;){u={} +t=h.a===8 +if(b==null){if(t){s=h.c +h=h.b +r=s.a +s=s.b +h.toString +P.dV(j,j,h,r,s)}return}for(;q=b.a,q!=null;b=q){b.a=null +P.ac(i.a,b)}h=i.a +p=h.c +u.a=t +u.b=p +s=!t +if(s){r=b.c +r=(r&1)!==0||r===8}else r=!0 +if(r){r=b.b +o=r.b +if(t){n=h.b +n.toString +n=n==o +if(!n)o.toString +else n=!0 +n=!n}else n=!1 +if(n){h=h.b +s=p.a +r=p.b +h.toString +P.dV(j,j,h,s,r) +return}m=$.i +if(m!=o)$.i=o +else m=j +h=b.c +if(h===8)new P.di(i,u,b,t).$0() +else if(s){if((h&1)!==0)new P.dh(u,b,p).$0()}else if((h&2)!==0)new P.dg(i,u,b).$0() +if(m!=null)$.i=m +h=u.b +if(!!J.k(h).$io){if(h.a>=4){l=r.c +r.c=null +b=r.X(l) +r.a=h.a +r.c=h.c +i.a=h +continue}else P.da(h,r) +return}}k=b.b +l=k.c +k.c=null +b=k.X(l) +h=u.a +s=u.b +if(!h){k.a=4 +k.c=s}else{k.a=8 +k.c=s}i.a=k +h=k}}, +hY:function(a,b){if(H.ew(a,{func:1,args:[P.h,P.x]}))return b.aD(a) +if(H.ew(a,{func:1,args:[P.h]}))return a +throw H.e(P.eM(a,"onError","Error handler must accept one Object or one Object and a StackTrace as arguments, and return a a valid result"))}, +hW:function(){var u,t +for(;u=$.ad,u!=null;){$.aR=null +t=u.b +$.ad=t +if(t==null)$.aQ=null +u.a.$0()}}, +i0:function(){$.er=!0 +try{P.hW()}finally{$.aR=null +$.er=!1 +if($.ad!=null)$.eE().$1(P.fq())}}, +fm:function(a){var u=new P.bg(a) +if($.ad==null){$.ad=$.aQ=u +if(!$.er)$.eE().$1(P.fq())}else $.aQ=$.aQ.b=u}, +i_:function(a){var u,t,s=$.ad +if(s==null){P.fm(a) +$.aR=$.aQ +return}u=new P.bg(a) +t=$.aR +if(t==null){u.b=s +$.ad=$.aR=u}else{u.b=t.b +$.aR=t.b=u +if(u.b==null)$.aQ=u}}, +eC:function(a){var u=null,t=$.i +if(C.c===t){P.ae(u,u,C.c,a) +return}t.toString +P.ae(u,u,t,t.ar(a))}, +iy:function(a){return new P.dC(a)}, +dV:function(a,b,c,d,e){var u={} +u.a=d +P.i_(new P.dW(u,e))}, +fk:function(a,b,c,d){var u,t=$.i +if(t===c)return d.$0() +$.i=c +u=t +try{t=d.$0() +return t}finally{$.i=u}}, +fl:function(a,b,c,d,e){var u,t=$.i +if(t===c)return d.$1(e) +$.i=c +u=t +try{t=d.$1(e) +return t}finally{$.i=u}}, +hZ:function(a,b,c,d,e,f){var u,t=$.i +if(t===c)return d.$2(e,f) +$.i=c +u=t +try{t=d.$2(e,f) +return t}finally{$.i=u}}, +ae:function(a,b,c,d){var u=C.c!==c +if(u)d=!(!u||!1)?c.ar(d):c.be(d) +P.fm(d)}, +cV:function cV(a){this.a=a}, +cU:function cU(a,b,c){this.a=a +this.b=b +this.c=c}, +cW:function cW(a){this.a=a}, +cX:function cX(a){this.a=a}, +dG:function dG(){}, +dH:function dH(a,b){this.a=a +this.b=b}, +cQ:function cQ(a,b){this.a=a +this.b=!1 +this.$ti=b}, +cS:function cS(a,b){this.a=a +this.b=b}, +cR:function cR(a,b,c){this.a=a +this.b=b +this.c=c}, +dP:function dP(a){this.a=a}, +dQ:function dQ(a){this.a=a}, +dX:function dX(a){this.a=a}, +o:function o(){}, +bh:function bh(){}, +cT:function cT(a,b){this.a=a +this.$ti=b}, +br:function br(a,b){this.a=a +this.$ti=b}, +d6:function d6(a,b,c,d){var _=this +_.a=null +_.b=a +_.c=b +_.d=c +_.e=d}, +v:function v(a,b){var _=this +_.a=0 +_.b=a +_.c=null +_.$ti=b}, +d7:function d7(a,b){this.a=a +this.b=b}, +df:function df(a,b){this.a=a +this.b=b}, +db:function db(a){this.a=a}, +dc:function dc(a){this.a=a}, +dd:function dd(a,b,c){this.a=a +this.b=b +this.c=c}, +d9:function d9(a,b){this.a=a +this.b=b}, +de:function de(a,b){this.a=a +this.b=b}, +d8:function d8(a,b,c){this.a=a +this.b=b +this.c=c}, +di:function di(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dj:function dj(a){this.a=a}, +dh:function dh(a,b,c){this.a=a +this.b=b +this.c=c}, +dg:function dg(a,b,c){this.a=a +this.b=b +this.c=c}, +bg:function bg(a){this.a=a +this.b=null}, +cz:function cz(){}, +cC:function cC(a,b){this.a=a +this.b=b}, +cA:function cA(){}, +cB:function cB(){}, +dC:function dC(a){this.a=null +this.b=a +this.c=!1}, +Z:function Z(a,b){this.a=a +this.b=b}, +dO:function dO(){}, +dW:function dW(a,b){this.a=a +this.b=b}, +du:function du(){}, +dw:function dw(a,b){this.a=a +this.b=b}, +dv:function dv(a,b){this.a=a +this.b=b}, +dx:function dx(a,b,c){this.a=a +this.b=b +this.c=c}, +f4:function(a,b){var u=a[b] +return u===a?null:u}, +f5:function(a,b,c){if(c==null)a[b]=a +else a[b]=c}, +hz:function(){var u=Object.create(null) +P.f5(u,"",u) +delete u[""] +return u}, +eW:function(a,b,c){return H.i9(a,new H.av([b,c]))}, +hc:function(a,b){return new H.av([a,b])}, +c7:function(a){return new P.dr([a])}, +el:function(){var u=Object.create(null) +u[""]=u +delete u[""] +return u}, +h5:function(a,b,c){var u,t +if(P.es(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}u=H.m([],[P.f]) +$.W.push(a) +try{P.hV(a,u)}finally{$.W.pop()}t=P.f_(b,u,", ")+c +return t.charCodeAt(0)==0?t:t}, +eg:function(a,b,c){var u,t +if(P.es(a))return b+"..."+c +u=new P.T(b) +$.W.push(a) +try{t=u +t.a=P.f_(t.a,a,", ")}finally{$.W.pop()}u.a+=c +t=u.a +return t.charCodeAt(0)==0?t:t}, +es:function(a){var u,t +for(u=$.W.length,t=0;t100){while(!0){if(!(m>75&&l>3))break +m-=b.pop().length+2;--l}b.push("...") +return}}s=H.b(r) +t=H.b(q) +m+=t.length+s.length+4}}if(l>b.length+2){m+=5 +o="..."}else o=null +while(!0){if(!(m>80&&b.length>3))break +m-=b.pop().length+2 +if(o==null){m+=5 +o="..."}}if(o!=null)b.push(o) +b.push(s) +b.push(t)}, +eX:function(a,b){var u,t,s=P.c7(b) +for(u=a.length,t=0;t>>4]&1<<(q&15))!==0)r+=H.ho(q) +else r=d&&q===32?r+"+":r+"%"+p[q>>>4&15]+p[q&15]}return r.charCodeAt(0)==0?r:r}, +h_:function(a){var u=Math.abs(a),t=a<0?"-":"" +if(u>=1000)return""+a +if(u>=100)return t+"0"+u +if(u>=10)return t+"00"+u +return t+"000"+u}, +h0:function(a){if(a>=100)return""+a +if(a>=10)return"0"+a +return"00"+a}, +aY:function(a){if(a>=10)return""+a +return"0"+a}, +aq:function(a){if(typeof a==="number"||typeof a==="boolean"||null==a)return J.aj(a) +if(typeof a==="string")return JSON.stringify(a) +return P.h2(a)}, +eL:function(a){return new P.y(!1,null,null,a)}, +eM:function(a,b,c){return new P.y(!0,a,b,c)}, +cv:function(a,b){return new P.a9(null,null,!0,a,b,"Value not in range")}, +bd:function(a,b,c,d,e){return new P.a9(b,c,!0,a,d,"Invalid value")}, +hq:function(a,b,c){if(0>a||a>c)throw H.e(P.bd(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw H.e(P.bd(b,a,c,"end",null)) +return b}return c}, +hp:function(a,b){if(a<0)throw H.e(P.bd(a,0,null,b,null))}, +bV:function(a,b,c,d,e){var u=e==null?J.aX(b):e +return new P.bU(u,!0,a,c,"Index out of range")}, +cM:function(a){return new P.cL(a)}, +f2:function(a){return new P.cI(a)}, +aF:function(a){return new P.aE(a)}, +G:function(a){return new P.bH(a)}, +ef:function(a,b,c){return new P.bR(a,b,c)}, +hE:function(a){if(a==="http")return 80 +if(a==="https")return 443 +return 0}, +f9:function(a,b,c){throw H.e(P.ef(c,a,b))}, +hI:function(a,b){return a}, +hG:function(a,b,c,d){return}, +hK:function(a,b,c){var u,t,s +if(b===c)return"" +if(!P.fa(C.E.H(a,b)))P.f9(a,b,"Scheme not starting with alphabetic character") +for(u=b,t=!1;u=2&&P.fa(J.fN(a,0)))for(u=1;u127||(C.m[t>>>4]&1<<(t&15))===0)break}return a}, +fa:function(a){var u=a|32 +return 97<=u&&u<=122}, +co:function co(a,b){this.a=a +this.b=b}, +K:function K(){}, +ao:function ao(a,b){this.a=a +this.b=b}, +ag:function ag(){}, +M:function M(){}, +aB:function aB(){}, +y:function y(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +a9:function a9(a,b,c,d,e,f){var _=this +_.e=a +_.f=b +_.a=c +_.b=d +_.c=e +_.d=f}, +bU:function bU(a,b,c,d,e){var _=this +_.f=a +_.a=b +_.b=c +_.c=d +_.d=e}, +cn:function cn(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cL:function cL(a){this.a=a}, +cI:function cI(a){this.a=a}, +aE:function aE(a){this.a=a}, +bH:function bH(a){this.a=a}, +cs:function cs(){}, +be:function be(){}, +bM:function bM(a){this.a=a}, +d5:function d5(a){this.a=a}, +bR:function bR(a,b,c){this.a=a +this.b=b +this.c=c}, +N:function N(){}, +B:function B(){}, +l:function l(){}, +bW:function bW(){}, +c8:function c8(){}, +t:function t(){}, +aV:function aV(){}, +h:function h(){}, +x:function x(){}, +f:function f(){}, +T:function T(a){this.a=a}, +aa:function aa(){}, +dJ:function dJ(a,b,c,d,e,f,g){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f +_.r=g +_.z=_.y=null}, +dL:function dL(a,b){this.a=a +this.b=b}, +dK:function dK(a){this.a=a}, +aw:function aw(){}, +hQ:function(a,b,c,d){var u,t +if(b){u=[c] +C.b.q(u,d) +d=u}t=P.ek(J.fS(d,P.il(),null),!0,null) +return P.en(H.hg(a,t,null))}, +hb:function(a){return new P.c2(new P.dn([null,null])).$1(a)}, +eo:function(a,b,c){var u +try{if(Object.isExtensible(a)&&!Object.prototype.hasOwnProperty.call(a,b)){Object.defineProperty(a,b,{value:c}) +return!0}}catch(u){H.p(u)}return!1}, +fh:function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a[b] +return}, +en:function(a){var u +if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a +u=J.k(a) +if(!!u.$iz)return a.a +if(H.fu(a))return a +if(!!u.$if1)return a +if(!!u.$iao)return H.S(a) +if(!!u.$iN)return P.fg(a,"$dart_jsFunction",new P.dS()) +return P.fg(a,"_$dart_jsObject",new P.dT($.eG()))}, +fg:function(a,b,c){var u=P.fh(a,b) +if(u==null){u=c.$1(a) +P.eo(a,b,u)}return u}, +em:function(a){var u,t +if(a==null||typeof a=="string"||typeof a=="number"||typeof a=="boolean")return a +else if(a instanceof Object&&H.fu(a))return a +else if(a instanceof Object&&!!J.k(a).$if1)return a +else if(a instanceof Date){u=a.getTime() +if(Math.abs(u)<=864e13)t=!1 +else t=!0 +if(t)H.bz(P.eL("DateTime is outside valid range: "+H.b(u))) +return new P.ao(u,!1)}else if(a.constructor===$.eG())return a.o +else return P.eu(a)}, +eu:function(a){if(typeof a=="function")return P.eq(a,$.ec(),new P.dY()) +if(a instanceof Array)return P.eq(a,$.eF(),new P.dZ()) +return P.eq(a,$.eF(),new P.e_())}, +eq:function(a,b,c){var u=P.fh(a,b) +if(u==null||!(a instanceof Object)){u=c.$1(a) +P.eo(a,b,u)}return u}, +z:function z(a){this.a=a}, +c2:function c2(a){this.a=a}, +au:function au(a){this.a=a}, +at:function at(a,b){this.a=a +this.$ti=b}, +dS:function dS(){}, +dT:function dT(a){this.a=a}, +dY:function dY(){}, +dZ:function dZ(){}, +e_:function e_(){}, +bk:function bk(){}, +aD:function aD(){}, +c:function c(){}},W={ +i7:function(){return document}, +h1:function(a,b,c){var u=document.body,t=(u&&C.j).v(u,a,b,c) +t.toString +u=new H.aJ(new W.u(t),new W.bO(),[W.j]) +return u.gJ(u)}, +ap:function(a){var u,t,s,r="element tag unavailable" +try{u=J.aU(a) +t=u.gaF(a) +if(typeof t==="string")r=u.gaF(a)}catch(s){H.p(s)}return r}, +h3:function(a){return W.h4(a,null,null).aG(new W.bS(),P.f)}, +h4:function(a,b,c){var u=W.O,t=new P.v($.i,[u]),s=new P.cT(t,[u]),r=new XMLHttpRequest() +C.C.bt(r,"GET",a,!0) +W.d3(r,"load",new W.bT(r,s),!1) +W.d3(r,"error",s.gat(),!1) +r.send() +return t}, +d3:function(a,b,c,d){var u=W.i2(new W.d4(c),W.a) +u=new W.d2(a,b,u,!1) +u.bb() +return u}, +f6:function(a){var u=document.createElement("a"),t=new W.dy(u,window.location) +t=new W.aK(t) +t.aS(a) +return t}, +hA:function(a,b,c,d){return!0}, +hB:function(a,b,c,d){var u,t=d.a,s=t.a +s.href=c +u=s.hostname +t=t.b +if(!(u==t.hostname&&s.port==t.port&&s.protocol==t.protocol))if(u==="")if(s.port===""){t=s.protocol +t=t===":"||t===""}else t=!1 +else t=!1 +else t=!0 +return t}, +f7:function(){var u=P.f,t=P.eX(C.f,u),s=H.m(["TEMPLATE"],[u]) +t=new W.dE(t,P.c7(u),P.c7(u),P.c7(u),null) +t.aT(null,new H.R(C.f,new W.dF(),[H.w(C.f,0),u]),s,null) +return t}, +hS:function(a){var u +if("postMessage" in a){u=W.hy(a) +return u}else return a}, +hy:function(a){if(a===window)return a +else return new W.d_()}, +i2:function(a,b){var u=$.i +if(u===C.c)return a +return u.bg(a,b)}, +d:function d(){}, +bC:function bC(){}, +bD:function bD(){}, +a_:function a_(){}, +a0:function a0(){}, +L:function L(){}, +bN:function bN(){}, +D:function D(){}, +bO:function bO(){}, +a:function a(){}, +b_:function b_(){}, +bQ:function bQ(){}, +O:function O(){}, +bS:function bS(){}, +bT:function bT(a,b){this.a=a +this.b=b}, +b2:function b2(){}, +as:function as(){}, +a1:function a1(){}, +ca:function ca(){}, +u:function u(a){this.a=a}, +j:function j(){}, +bb:function bb(){}, +a8:function a8(){}, +cx:function cx(){}, +bf:function bf(){}, +cD:function cD(){}, +cE:function cE(){}, +aH:function aH(){}, +ab:function ab(){}, +J:function J(){}, +bm:function bm(){}, +cY:function cY(){}, +d0:function d0(a){this.a=a}, +d1:function d1(){}, +bi:function bi(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +d2:function d2(a,b,c,d){var _=this +_.a=0 +_.b=a +_.c=b +_.d=c +_.e=d}, +d4:function d4(a){this.a=a}, +aK:function aK(a){this.a=a}, +b3:function b3(){}, +bc:function bc(a){this.a=a}, +cq:function cq(a){this.a=a}, +cp:function cp(a,b,c){this.a=a +this.b=b +this.c=c}, +bp:function bp(){}, +dA:function dA(){}, +dB:function dB(){}, +dE:function dE(a,b,c,d,e){var _=this +_.e=a +_.a=b +_.b=c +_.c=d +_.d=e}, +dF:function dF(){}, +dD:function dD(){}, +b1:function b1(a,b){var _=this +_.a=a +_.b=b +_.c=-1 +_.d=null}, +d_:function d_(){}, +I:function I(){}, +dy:function dy(a,b){this.a=a +this.b=b}, +bt:function bt(a){this.a=a}, +dN:function dN(a){this.a=a}, +bn:function bn(){}, +bo:function bo(){}, +bu:function bu(){}, +bv:function bv(){}},F={ +e8:function(){var u=0,t=P.fj(null),s,r,q +var $async$e8=P.fn(function(a,b){if(a===1)return P.fd(b,t) +while(true)switch(u){case 0:s=document +r=H.ft(s.getElementById("filter"),"$ia1") +q=H.ft(s.getElementById("searchbox"),"$ia1") +s=J.fR(s.getElementById("searchform")) +W.d3(s.a,s.b,new F.e9(q,r),!1) +$.eI().as("initializeGraph",H.m([F.ic()],[{func:1,ret:[P.o,,],args:[P.f],named:{filter:P.f}}])) +return P.fe(null,t)}}) +return P.ff($async$e8,t)}, +ep:function(a,b,c){var u=H.m([a,b,c],[P.h]),t=new H.aJ(u,new F.dU(),[H.w(u,0)]).T(0,"\n") +J.eK($.eH(),"
"+t+"
")}, +aP:function(a,b){return F.hT(a,b)}, +hT:function(b0,b1){var u=0,t=P.fj(null),s,r=2,q,p=[],o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9 +var $async$aP=P.fn(function(b2,b3){if(b2===1){q=b3 +u=r}while(true)switch(u){case 0:if(b0.length===0){F.ep("Provide content in the query.",null,null) +u=1 +break}o=null +i=P.f +h=P.eW(["q",b0],i,i) +if(b1!=null)h.C(0,"f",b1) +g=P.hK(null,0,0) +f=P.hL(null,0,0) +e=P.hG(null,0,0,!1) +d=P.hJ(null,0,0,h) +c=P.hF(null,0,0) +b=P.hI(null,g) +a=g==="file" +if(e==null)if(f.length===0)a0=a +else a0=!0 +else a0=!1 +if(a0)e="" +a0=e==null +a1=!a0 +a2=P.hH(null,0,0,null,g,a1) +a3=g.length===0 +if(a3&&a0&&!C.a.P(a2,"/"))a2=P.hM(a2,!a3||a1) +else a2=P.hN(a2) +n=new P.dJ(g,f,a0&&C.a.P(a2,"//")?"":e,b,a2,d,c) +r=4 +a8=H +a9=C.z +u=7 +return P.hO(W.h3(J.aj(n)),$async$aP) +case 7:o=a8.iu(a9.bl(0,b3),"$ia5",[i,null],"$aa5") +r=2 +u=6 +break +case 4:r=3 +a7=q +m=H.p(a7) +l=H.X(a7) +k='Error requesting query "'+H.b(b0)+'".' +if(!!J.k(m).$ia8){j=W.hS(m.target) +if(!!J.k(j).$iO)k=C.b.T(H.m([k,H.b(j.status)+" "+H.b(j.statusText),j.responseText],[i]),"\n") +F.ep(k,null,null)}else F.ep(k,m,l) +u=1 +break +u=6 +break +case 3:u=2 +break +case 6:a5=P.eW(["edges",J.bB(o,"edges"),"nodes",J.bB(o,"nodes")],i,null) +i=$.eI() +i.as("setData",H.m([P.eu(P.hb(a5))],[P.z])) +a6=J.bB(o,"primary") +i=J.e1(a6) +J.eK($.eH(),"ID: "+H.b(i.i(a6,"id"))+"
Type: "+H.b(i.i(a6,"type"))+"
Hidden: "+H.b(i.i(a6,"hidden"))+"
State: "+H.b(i.i(a6,"state"))+"
Was Output: "+H.b(i.i(a6,"wasOutput"))+"
Failed: "+H.b(i.i(a6,"isFailure"))+"
Phase: "+H.b(i.i(a6,"phaseNumber"))+"
Glob: "+H.b(i.i(a6,"glob"))+"
Last Digest: "+H.b(i.i(a6,"lastKnownDigest"))+"
") +case 1:return P.fe(s,t) +case 2:return P.fd(q,t)}}) +return P.ff($async$aP,t)}, +e9:function e9(a,b){this.a=a +this.b=b}, +dU:function dU(){}} +var w=[C,H,J,P,W,F] +hunkHelpers.setFunctionNamesIfNecessary(w) +var $={} +H.ei.prototype={} +J.r.prototype={ +B:function(a,b){return a===b}, +gn:function(a){return H.a7(a)}, +h:function(a){return"Instance of '"+H.aC(a)+"'"}, +Y:function(a,b){throw H.e(P.eY(a,b.gay(),b.gaC(),b.gaz()))}} +J.bX.prototype={ +h:function(a){return String(a)}, +gn:function(a){return a?519018:218159}, +$iK:1} +J.b5.prototype={ +B:function(a,b){return null==b}, +h:function(a){return"null"}, +gn:function(a){return 0}, +Y:function(a,b){return this.aL(a,b)}} +J.b6.prototype={ +gn:function(a){return 0}, +h:function(a){return String(a)}} +J.ct.prototype={} +J.aI.prototype={} +J.Q.prototype={ +h:function(a){var u=a[$.ec()] +if(u==null)return this.aO(a) +return"JavaScript function for "+H.b(J.aj(u))}, +$S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}, +$iN:1} +J.P.prototype={ +M:function(a,b){if(!!a.fixed$length)H.bz(P.cM("add")) +a.push(b)}, +q:function(a,b){var u +if(!!a.fixed$length)H.bz(P.cM("addAll")) +for(u=J.F(b);u.k();)a.push(u.gl())}, +I:function(a,b,c){return new H.R(a,b,[H.w(a,0),c])}, +T:function(a,b){var u,t=new Array(a.length) +t.fixed$length=Array +for(u=0;u0)return a[u-1] +throw H.e(H.eT())}, +aq:function(a,b){var u,t=a.length +for(u=0;u=a.length||b<0)throw H.e(H.aT(a,b)) +return a[b]}, +$in:1, +$il:1} +J.eh.prototype={} +J.ak.prototype={ +gl:function(){return this.d}, +k:function(){var u,t=this,s=t.a,r=s.length +if(t.b!==r)throw H.e(H.by(s)) +u=t.c +if(u>=r){t.d=null +return!1}t.d=s[u] +t.c=u+1 +return!0}} +J.c_.prototype={ +bD:function(a){var u +if(a>=-2147483648&&a<=2147483647)return a|0 +if(isFinite(a)){u=a<0?Math.ceil(a):Math.floor(a) +return u+0}throw H.e(P.cM(""+a+".toInt()"))}, +h:function(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gn:function(a){var u,t,s,r,q=a|0 +if(a===q)return 536870911&q +u=Math.abs(a) +t=Math.log(u)/0.6931471805599453|0 +s=Math.pow(2,t) +r=u<1?u/s:s/u +return 536870911&((r*9007199254740992|0)+(r*3542243181176521|0))*599197+t*1259}, +aK:function(a,b){if(b<0)throw H.e(H.bw(b)) +return b>31?0:a<>>0}, +a9:function(a,b){var u +if(a>0)u=this.ba(a,b) +else{u=b>31?31:b +u=a>>u>>>0}return u}, +ba:function(a,b){return b>31?0:a>>>b}, +ad:function(a,b){if(typeof b!=="number")throw H.e(H.bw(b)) +return a<=b}, +$iaV:1} +J.b4.prototype={$iB:1} +J.bY.prototype={} +J.a2.prototype={ +H:function(a,b){if(b<0)throw H.e(H.aT(a,b)) +if(b>=a.length)H.bz(H.aT(a,b)) +return a.charCodeAt(b)}, +D:function(a,b){if(b>=a.length)throw H.e(H.aT(a,b)) +return a.charCodeAt(b)}, +aI:function(a,b){if(typeof b!=="string")throw H.e(P.eM(b,null,null)) +return a+b}, +P:function(a,b){var u=b.length +if(u>a.length)return!1 +return b===a.substring(0,u)}, +K:function(a,b,c){if(c==null)c=a.length +if(b<0)throw H.e(P.cv(b,null)) +if(b>c)throw H.e(P.cv(b,null)) +if(c>a.length)throw H.e(P.cv(c,null)) +return a.substring(b,c)}, +af:function(a,b){return this.K(a,b,null)}, +aH:function(a){return a.toLowerCase()}, +bE:function(a){var u,t,s,r=a.trim(),q=r.length +if(q===0)return r +if(this.D(r,0)===133){u=J.h8(r,1) +if(u===q)return""}else u=0 +t=q-1 +s=this.H(r,t)===133?J.h9(r,t):q +if(u===0&&s===q)return r +return r.substring(u,s)}, +aJ:function(a,b){var u,t +if(0>=b)return"" +if(b===1||a.length===0)return a +if(b!==b>>>0)throw H.e(C.A) +for(u=a,t="";!0;){if((b&1)===1)t=u+t +b=b>>>1 +if(b===0)break +u+=u}return t}, +bp:function(a,b){var u=a.indexOf(b,0) +return u}, +h:function(a){return a}, +gn:function(a){var u,t,s +for(u=a.length,t=0,s=0;s>6}t=536870911&t+((67108863&t)<<3) +t^=t>>11 +return 536870911&t+((16383&t)<<15)}, +gj:function(a){return a.length}, +i:function(a,b){if(b>=a.length||!1)throw H.e(H.aT(a,b)) +return a[b]}, +$if:1} +H.n.prototype={} +H.a4.prototype={ +gm:function(a){return new H.b7(this,this.gj(this))}, +a_:function(a,b){return this.aN(0,b)}, +I:function(a,b,c){return new H.R(this,b,[H.ez(this,"a4",0),c])}} +H.b7.prototype={ +gl:function(){return this.d}, +k:function(){var u,t=this,s=t.a,r=J.e1(s),q=r.gj(s) +if(t.b!==q)throw H.e(P.G(s)) +u=t.c +if(u>=q){t.d=null +return!1}t.d=r.A(s,u);++t.c +return!0}} +H.ay.prototype={ +gm:function(a){return new H.cg(J.F(this.a),this.b)}, +gj:function(a){return J.aX(this.a)}, +$al:function(a,b){return[b]}} +H.aZ.prototype={$in:1, +$an:function(a,b){return[b]}} +H.cg.prototype={ +k:function(){var u=this,t=u.b +if(t.k()){u.a=u.c.$1(t.gl()) +return!0}u.a=null +return!1}, +gl:function(){return this.a}} +H.R.prototype={ +gj:function(a){return J.aX(this.a)}, +A:function(a,b){return this.b.$1(J.fP(this.a,b))}, +$an:function(a,b){return[b]}, +$aa4:function(a,b){return[b]}, +$al:function(a,b){return[b]}} +H.aJ.prototype={ +gm:function(a){return new H.cP(J.F(this.a),this.b)}, +I:function(a,b,c){return new H.ay(this,b,[H.w(this,0),c])}} +H.cP.prototype={ +k:function(){var u,t +for(u=this.a,t=this.b;u.k();)if(t.$1(u.gl()))return!0 +return!1}, +gl:function(){return this.a.gl()}} +H.b0.prototype={} +H.aG.prototype={ +gn:function(a){var u=this._hashCode +if(u!=null)return u +u=536870911&664597*J.Y(this.a) +this._hashCode=u +return u}, +h:function(a){return'Symbol("'+H.b(this.a)+'")'}, +B:function(a,b){if(b==null)return!1 +return b instanceof H.aG&&this.a==b.a}, +$iaa:1} +H.bJ.prototype={} +H.bI.prototype={ +h:function(a){return P.cc(this)}, +$ia5:1} +H.bK.prototype={ +gj:function(a){return this.a}, +S:function(a){if(typeof a!=="string")return!1 +if("__proto__"===a)return!1 +return this.b.hasOwnProperty(a)}, +i:function(a,b){if(!this.S(b))return +return this.am(b)}, +am:function(a){return this.b[a]}, +u:function(a,b){var u,t,s,r=this.c +for(u=r.length,t=0;t>>0}, +h:function(a){var u=this.c +if(u==null)u=this.a +return"Closure '"+H.b(this.d)+"' of "+("Instance of '"+H.aC(u)+"'")}} +H.bF.prototype={ +h:function(a){return this.a}} +H.cw.prototype={ +h:function(a){return"RuntimeError: "+H.b(this.a)}} +H.av.prototype={ +gj:function(a){return this.a}, +gp:function(){return new H.ax(this,[H.w(this,0)])}, +S:function(a){var u,t +if(typeof a==="string"){u=this.b +if(u==null)return!1 +return this.b2(u,a)}else{t=this.bq(a) +return t}}, +bq:function(a){var u=this.d +if(u==null)return!1 +return this.ab(this.a5(u,J.Y(a)&0x3ffffff),a)>=0}, +i:function(a,b){var u,t,s,r,q=this +if(typeof b==="string"){u=q.b +if(u==null)return +t=q.V(u,b) +s=t==null?null:t.b +return s}else if(typeof b==="number"&&(b&0x3ffffff)===b){r=q.c +if(r==null)return +t=q.V(r,b) +s=t==null?null:t.b +return s}else return q.br(b)}, +br:function(a){var u,t,s=this.d +if(s==null)return +u=this.a5(s,J.Y(a)&0x3ffffff) +t=this.ab(u,a) +if(t<0)return +return u[t].b}, +C:function(a,b,c){var u,t,s,r,q,p,o=this +if(typeof b==="string"){u=o.b +o.ag(u==null?o.b=o.a6():u,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){t=o.c +o.ag(t==null?o.c=o.a6():t,b,c)}else{s=o.d +if(s==null)s=o.d=o.a6() +r=J.Y(b)&0x3ffffff +q=o.a5(s,r) +if(q==null)o.a8(s,r,[o.a2(b,c)]) +else{p=o.ab(q,b) +if(p>=0)q[p].b=c +else q.push(o.a2(b,c))}}}, +u:function(a,b){var u=this,t=u.e,s=u.r +for(;t!=null;){b.$2(t.a,t.b) +if(s!==u.r)throw H.e(P.G(u)) +t=t.c}}, +ag:function(a,b,c){var u=this.V(a,b) +if(u==null)this.a8(a,b,this.a2(b,c)) +else u.b=c}, +b6:function(){this.r=this.r+1&67108863}, +a2:function(a,b){var u,t=this,s=new H.c5(a,b) +if(t.e==null)t.e=t.f=s +else{u=t.f +s.d=u +t.f=u.c=s}++t.a +t.b6() +return s}, +ab:function(a,b){var u,t +if(a==null)return-1 +u=a.length +for(t=0;t=4){if(n.a===8){s=o.b +s.b=n.c +s.a=!0}return}p=o.a.a +s=o.b +s.b=n.aG(new P.dj(p),null) +s.a=!1}}} +P.dj.prototype={ +$1:function(a){return this.a}, +$S:9} +P.dh.prototype={ +$0:function(){var u,t,s,r,q=this +try{s=q.b +q.a.b=s.b.b.ac(s.d,q.c)}catch(r){u=H.p(r) +t=H.X(r) +s=q.a +s.b=new P.Z(u,t) +s.a=!0}}} +P.dg.prototype={ +$0:function(){var u,t,s,r,q,p,o,n,m=this +try{u=m.a.a.c +r=m.c +if(r.bs(u)&&r.e!=null){q=m.b +q.b=r.bo(u) +q.a=!1}}catch(p){t=H.p(p) +s=H.X(p) +r=m.a.a.c +q=r.a +o=t +n=m.b +if(q==null?o==null:q===o)n.b=r +else n.b=new P.Z(t,s) +n.a=!0}}} +P.bg.prototype={} +P.cz.prototype={ +gj:function(a){var u={},t=$.i +u.a=0 +W.d3(this.a,this.b,new P.cC(u,this),!1) +return new P.v(t,[P.B])}} +P.cC.prototype={ +$1:function(a){++this.a.a}, +$S:function(){return{func:1,ret:P.t,args:[H.w(this.b,0)]}}} +P.cA.prototype={} +P.cB.prototype={} +P.dC.prototype={} +P.Z.prototype={ +h:function(a){return H.b(this.a)}, +$iM:1} +P.dO.prototype={} +P.dW.prototype={ +$0:function(){var u,t=this.a,s=t.a +t=s==null?t.a=new P.aB():s +s=this.b +if(s==null)throw H.e(t) +u=H.e(t) +u.stack=s.h(0) +throw u}} +P.du.prototype={ +bz:function(a){var u,t,s,r=null +try{if(C.c===$.i){a.$0() +return}P.fk(r,r,this,a)}catch(s){u=H.p(s) +t=H.X(s) +P.dV(r,r,this,u,t)}}, +bB:function(a,b){var u,t,s,r=null +try{if(C.c===$.i){a.$1(b) +return}P.fl(r,r,this,a,b)}catch(s){u=H.p(s) +t=H.X(s) +P.dV(r,r,this,u,t)}}, +bC:function(a,b){return this.bB(a,b,null)}, +bf:function(a){return new P.dw(this,a)}, +be:function(a){return this.bf(a,null)}, +ar:function(a){return new P.dv(this,a)}, +bg:function(a,b){return new P.dx(this,a,b)}, +i:function(a,b){return}, +bw:function(a){if($.i===C.c)return a.$0() +return P.fk(null,null,this,a)}, +aE:function(a){return this.bw(a,null)}, +bA:function(a,b){if($.i===C.c)return a.$1(b) +return P.fl(null,null,this,a,b)}, +ac:function(a,b){return this.bA(a,b,null,null)}, +by:function(a,b,c){if($.i===C.c)return a.$2(b,c) +return P.hZ(null,null,this,a,b,c)}, +bx:function(a,b,c){return this.by(a,b,c,null,null,null)}, +bu:function(a){return a}, +aD:function(a){return this.bu(a,null,null,null)}} +P.dw.prototype={ +$0:function(){return this.a.aE(this.b)}} +P.dv.prototype={ +$0:function(){return this.a.bz(this.b)}} +P.dx.prototype={ +$1:function(a){return this.a.bC(this.b,a)}, +$S:function(){return{func:1,ret:-1,args:[this.c]}}} +P.dk.prototype={ +gj:function(a){return this.a}, +gp:function(){return new P.dl(this,[H.w(this,0)])}, +S:function(a){var u,t +if(typeof a==="string"&&a!=="__proto__"){u=this.b +return u==null?!1:u[a]!=null}else if(typeof a==="number"&&(a&1073741823)===a){t=this.c +return t==null?!1:t[a]!=null}else return this.b1(a)}, +b1:function(a){var u=this.d +if(u==null)return!1 +return this.L(this.an(u,a),a)>=0}, +i:function(a,b){var u,t,s +if(typeof b==="string"&&b!=="__proto__"){u=this.b +t=u==null?null:P.f4(u,b) +return t}else if(typeof b==="number"&&(b&1073741823)===b){s=this.c +t=s==null?null:P.f4(s,b) +return t}else return this.b5(b)}, +b5:function(a){var u,t,s=this.d +if(s==null)return +u=this.an(s,a) +t=this.L(u,a) +return t<0?null:u[t+1]}, +C:function(a,b,c){var u,t,s,r=this,q=r.d +if(q==null)q=r.d=P.hz() +u=H.fv(b)&1073741823 +t=q[u] +if(t==null){P.f5(q,u,[b,c]);++r.a +r.e=null}else{s=r.L(t,b) +if(s>=0)t[s+1]=c +else{t.push(b,c);++r.a +r.e=null}}}, +u:function(a,b){var u,t,s,r=this,q=r.al() +for(u=q.length,t=0;t=t.length){u.d=null +return!1}else{u.d=t[s] +u.c=s+1 +return!0}}} +P.dr.prototype={ +gm:function(a){var u=new P.dt(this,this.r) +u.c=this.e +return u}, +gj:function(a){return this.a}, +t:function(a,b){var u,t +if(typeof b==="string"&&b!=="__proto__"){u=this.b +if(u==null)return!1 +return u[b]!=null}else{t=this.b0(b) +return t}}, +b0:function(a){var u=this.d +if(u==null)return!1 +return this.L(u[this.ak(a)],a)>=0}, +M:function(a,b){var u,t,s=this +if(typeof b==="string"&&b!=="__proto__"){u=s.b +return s.ah(u==null?s.b=P.el():u,b)}else if(typeof b==="number"&&(b&1073741823)===b){t=s.c +return s.ah(t==null?s.c=P.el():t,b)}else return s.aV(b)}, +aV:function(a){var u,t,s=this,r=s.d +if(r==null)r=s.d=P.el() +u=s.ak(a) +t=r[u] +if(t==null)r[u]=[s.a7(a)] +else{if(s.L(t,a)>=0)return!1 +t.push(s.a7(a))}return!0}, +ah:function(a,b){if(a[b]!=null)return!1 +a[b]=this.a7(b) +return!0}, +a7:function(a){var u=this,t=new P.ds(a) +if(u.e==null)u.e=u.f=t +else u.f=u.f.b=t;++u.a +u.r=1073741823&u.r+1 +return t}, +ak:function(a){return J.Y(a)&1073741823}, +L:function(a,b){var u,t +if(a==null)return-1 +u=a.length +for(t=0;t>>18 +r=t.b=q+1 +s[q]=128|u>>>12&63 +q=t.b=r+1 +s[r]=128|u>>>6&63 +t.b=q+1 +s[q]=128|u&63 +return!0}else{t.b=q +s[r]=224|a>>>12 +r=t.b=q+1 +s[q]=128|a>>>6&63 +t.b=r+1 +s[r]=128|a&63 +return!1}}, +b4:function(a,b,c){var u,t,s,r,q,p,o,n=this +if(b!==c&&(C.a.H(a,c-1)&64512)===55296)--c +for(u=n.c,t=u.length,s=b;s=t)break +n.b=q+1 +u[q]=r}else if((r&64512)===55296){if(n.b+3>=t)break +p=s+1 +if(n.ap(r,C.a.D(a,p)))s=p}else if(r<=2047){q=n.b +o=q+1 +if(o>=t)break +n.b=o +u[q]=192|r>>>6 +n.b=o+1 +u[o]=128|r&63}else{q=n.b +if(q+2>=t)break +o=n.b=q+1 +u[q]=224|r>>>12 +q=n.b=o+1 +u[o]=128|r>>>6&63 +n.b=q+1 +u[q]=128|r&63}}return s}} +P.co.prototype={ +$2:function(a,b){var u,t=this.b,s=this.a +t.a+=s.a +u=t.a+=H.b(a.a) +t.a=u+": " +t.a+=P.aq(b) +s.a=", "}} +P.K.prototype={} +P.ao.prototype={ +B:function(a,b){if(b==null)return!1 +return b instanceof P.ao&&this.a===b.a&&!0}, +gn:function(a){var u=this.a +return(u^C.d.a9(u,30))&1073741823}, +h:function(a){var u=this,t=P.h_(H.hn(u)),s=P.aY(H.hl(u)),r=P.aY(H.hh(u)),q=P.aY(H.hi(u)),p=P.aY(H.hk(u)),o=P.aY(H.hm(u)),n=P.h0(H.hj(u)),m=t+"-"+s+"-"+r+" "+q+":"+p+":"+o+"."+n +return m}} +P.ag.prototype={} +P.M.prototype={} +P.aB.prototype={ +h:function(a){return"Throw of null."}} +P.y.prototype={ +ga4:function(){return"Invalid argument"+(!this.a?"(s)":"")}, +ga3:function(){return""}, +h:function(a){var u,t,s,r,q=this,p=q.c,o=p!=null?" ("+p+")":"" +p=q.d +u=p==null?"":": "+H.b(p) +t=q.ga4()+o+u +if(!q.a)return t +s=q.ga3() +r=P.aq(q.b) +return t+s+": "+r}} +P.a9.prototype={ +ga4:function(){return"RangeError"}, +ga3:function(){var u,t,s=this.e +if(s==null){s=this.f +u=s!=null?": Not less than or equal to "+H.b(s):""}else{t=this.f +if(t==null)u=": Not greater than or equal to "+H.b(s) +else if(t>s)u=": Not in range "+H.b(s)+".."+H.b(t)+", inclusive" +else u=tf.length +else i=!1 +if(i)g=null +if(g==null){u=f.length>78?C.a.K(f,0,75)+"...":f +return h+"\n"+u}for(t=1,s=0,r=!1,q=0;q1?h+(" (at line "+t+", character "+(g-s+1)+")\n"):h+(" (at character "+(g+1)+")\n") +o=f.length +for(q=g;q78)if(g-s<75){n=s+75 +m=s +l="" +k="..."}else{if(o-g<75){m=o-75 +n=o +k=""}else{m=g-36 +n=g+36 +k="..."}l="..."}else{n=o +m=s +l="" +k=""}j=C.a.K(f,m,n) +return h+l+j+k+"\n"+C.a.aJ(" ",g-m+l.length)+"^\n"}else return g!=null?h+(" (at offset "+H.b(g)+")"):h}} +P.N.prototype={} +P.B.prototype={} +P.l.prototype={ +I:function(a,b,c){return H.hd(this,b,H.ez(this,"l",0),c)}, +a_:function(a,b){return new H.aJ(this,b,[H.ez(this,"l",0)])}, +T:function(a,b){var u,t=this.gm(this) +if(!t.k())return"" +if(b===""){u="" +do u+=H.b(t.gl()) +while(t.k())}else{u=H.b(t.gl()) +for(;t.k();)u=u+b+H.b(t.gl())}return u.charCodeAt(0)==0?u:u}, +gj:function(a){var u,t=this.gm(this) +for(u=0;t.k();)++u +return u}, +gJ:function(a){var u,t=this.gm(this) +if(!t.k())throw H.e(H.eT()) +u=t.gl() +if(t.k())throw H.e(H.h6()) +return u}, +A:function(a,b){var u,t,s +P.hp(b,"index") +for(u=this.gm(this),t=0;u.k();){s=u.gl() +if(b===t)return s;++t}throw H.e(P.bV(b,this,"index",null,t))}, +h:function(a){return P.h5(this,"(",")")}} +P.bW.prototype={} +P.c8.prototype={$in:1,$il:1} +P.t.prototype={ +gn:function(a){return P.h.prototype.gn.call(this,this)}, +h:function(a){return"null"}} +P.aV.prototype={} +P.h.prototype={constructor:P.h,$ih:1, +B:function(a,b){return this===b}, +gn:function(a){return H.a7(this)}, +h:function(a){return"Instance of '"+H.aC(this)+"'"}, +Y:function(a,b){throw H.e(P.eY(this,b.gay(),b.gaC(),b.gaz()))}, +toString:function(){return this.h(this)}} +P.x.prototype={} +P.f.prototype={} +P.T.prototype={ +gj:function(a){return this.a.length}, +h:function(a){var u=this.a +return u.charCodeAt(0)==0?u:u}} +P.aa.prototype={} +P.dJ.prototype={ +gav:function(a){var u=this.c +if(u==null)return"" +if(C.a.P(u,"["))return C.a.K(u,1,u.length-1) +return u}, +gaB:function(a){var u=P.hE(this.a) +return u}, +h:function(a){var u,t,s,r=this,q=r.y +if(q==null){q=r.a +u=q.length!==0?q+":":"" +t=r.c +s=t==null +if(!s||q==="file"){q=u+"//" +u=r.b +if(u.length!==0)q=q+u+"@" +if(!s)q+=t}else q=u +q+=r.e +u=r.f +if(u!=null)q=q+"?"+u +u=r.r +if(u!=null)q=q+"#"+u +q=r.y=q.charCodeAt(0)==0?q:q}return q}, +B:function(a,b){var u,t,s,r,q=this +if(b==null)return!1 +if(q===b)return!0 +if(!!J.k(b).$iht)if(q.a===b.a)if(q.c!=null===(b.c!=null))if(q.b===b.b)if(q.gav(q)==b.gav(b))if(q.gaB(q)==b.gaB(b))if(q.e===b.e){u=q.f +t=u==null +s=b.f +r=s==null +if(!t===!r){if(t)u="" +if(u===(r?"":s)){u=q.r +t=u==null +s=b.r +r=s==null +if(!t===!r){if(t)u="" +u=u===(r?"":s)}else u=!1}else u=!1}else u=!1}else u=!1 +else u=!1 +else u=!1 +else u=!1 +else u=!1 +else u=!1 +else u=!1 +return u}, +gn:function(a){var u=this.z +return u==null?this.z=C.a.gn(this.h(0)):u}, +$iht:1} +P.dL.prototype={ +$2:function(a,b){var u=this.b,t=this.a +u.a+=t.a +t.a="&" +t=u.a+=H.b(P.fc(C.o,a,C.e,!0)) +if(b!=null&&b.length!==0){u.a=t+"=" +u.a+=H.b(P.fc(C.o,b,C.e,!0))}}} +P.dK.prototype={ +$2:function(a,b){var u,t +if(b==null||typeof b==="string")this.a.$2(a,b) +else for(u=J.F(b),t=this.a;u.k();)t.$2(a,u.gl())}} +W.d.prototype={} +W.bC.prototype={ +h:function(a){return String(a)}} +W.bD.prototype={ +h:function(a){return String(a)}} +W.a_.prototype={$ia_:1} +W.a0.prototype={$ia0:1} +W.L.prototype={ +gj:function(a){return a.length}} +W.bN.prototype={ +h:function(a){return String(a)}} +W.D.prototype={ +gbd:function(a){return new W.d0(a)}, +h:function(a){return a.localName}, +v:function(a,b,c,d){var u,t,s,r,q +if(c==null){u=$.eS +if(u==null){u=H.m([],[W.I]) +t=new W.bc(u) +u.push(W.f6(null)) +u.push(W.f7()) +$.eS=t +d=t}else d=u +u=$.eR +if(u==null){u=new W.bt(d) +$.eR=u +c=u}else{u.a=d +c=u}}if($.H==null){u=document +t=u.implementation.createHTMLDocument("") +$.H=t +$.ee=t.createRange() +s=$.H.createElement("base") +s.href=u.baseURI +$.H.head.appendChild(s)}u=$.H +if(u.body==null){t=u.createElement("body") +u.body=t}u=$.H +if(!!this.$ia0)r=u.body +else{r=u.createElement(a.tagName) +$.H.body.appendChild(r)}if("createContextualFragment" in window.Range.prototype&&!C.b.t(C.I,a.tagName)){$.ee.selectNodeContents(r) +q=$.ee.createContextualFragment(b)}else{r.innerHTML=b +q=$.H.createDocumentFragment() +for(;u=r.firstChild,u!=null;)q.appendChild(u)}u=$.H.body +if(r==null?u!=null:r!==u)J.eJ(r) +c.ae(q) +document.adoptNode(q) +return q}, +bk:function(a,b,c){return this.v(a,b,c,null)}, +saw:function(a,b){this.a0(a,b)}, +a0:function(a,b){a.textContent=null +a.appendChild(this.v(a,b,null,null))}, +gaA:function(a){return new W.bi(a,"submit",!1,[W.a])}, +$iD:1, +gaF:function(a){return a.tagName}} +W.bO.prototype={ +$1:function(a){return!!J.k(a).$iD}} +W.a.prototype={$ia:1} +W.b_.prototype={ +aW:function(a,b,c,d){return a.addEventListener(b,H.bx(c,1),!1)}} +W.bQ.prototype={ +gj:function(a){return a.length}} +W.O.prototype={ +bt:function(a,b,c,d){return a.open(b,c,!0)}, +$iO:1} +W.bS.prototype={ +$1:function(a){return a.responseText}} +W.bT.prototype={ +$1:function(a){var u,t=this.a,s=t.status,r=s>=200&&s<300,q=s>307&&s<400 +s=r||s===0||s===304||q +u=this.b +if(s)u.F(0,t) +else u.au(a)}} +W.b2.prototype={} +W.as.prototype={$ias:1} +W.a1.prototype={$ia1:1} +W.ca.prototype={ +h:function(a){return String(a)}} +W.u.prototype={ +gJ:function(a){var u=this.a,t=u.childNodes.length +if(t===0)throw H.e(P.aF("No elements")) +if(t>1)throw H.e(P.aF("More than one element")) +return u.firstChild}, +q:function(a,b){var u,t,s=b.a,r=this.a +if(s!==r)for(u=s.childNodes.length,t=0;t>>0!==b||b>=a.length)throw H.e(P.bV(b,a,null,null,null)) +return a[b]}, +A:function(a,b){return a[b]}, +$in:1, +$an:function(){return[W.j]}, +$ia3:1, +$aa3:function(){return[W.j]}, +$aq:function(){return[W.j]}, +$il:1, +$al:function(){return[W.j]}} +W.a8.prototype={$ia8:1} +W.cx.prototype={ +gj:function(a){return a.length}} +W.bf.prototype={ +v:function(a,b,c,d){var u,t +if("createContextualFragment" in window.Range.prototype)return this.a1(a,b,c,d) +u=W.h1(""+b+"
",c,d) +t=document.createDocumentFragment() +t.toString +u.toString +new W.u(t).q(0,new W.u(u)) +return t}} +W.cD.prototype={ +v:function(a,b,c,d){var u,t,s,r +if("createContextualFragment" in window.Range.prototype)return this.a1(a,b,c,d) +u=document +t=u.createDocumentFragment() +u=C.r.v(u.createElement("table"),b,c,d) +u.toString +u=new W.u(u) +s=u.gJ(u) +s.toString +u=new W.u(s) +r=u.gJ(u) +t.toString +r.toString +new W.u(t).q(0,new W.u(r)) +return t}} +W.cE.prototype={ +v:function(a,b,c,d){var u,t,s +if("createContextualFragment" in window.Range.prototype)return this.a1(a,b,c,d) +u=document +t=u.createDocumentFragment() +u=C.r.v(u.createElement("table"),b,c,d) +u.toString +u=new W.u(u) +s=u.gJ(u) +t.toString +s.toString +new W.u(t).q(0,new W.u(s)) +return t}} +W.aH.prototype={ +a0:function(a,b){var u +a.textContent=null +u=this.v(a,b,null,null) +a.content.appendChild(u)}, +$iaH:1} +W.ab.prototype={$iab:1} +W.J.prototype={$iJ:1} +W.bm.prototype={ +gj:function(a){return a.length}, +i:function(a,b){if(b>>>0!==b||b>=a.length)throw H.e(P.bV(b,a,null,null,null)) +return a[b]}, +A:function(a,b){return a[b]}, +$in:1, +$an:function(){return[W.j]}, +$ia3:1, +$aa3:function(){return[W.j]}, +$aq:function(){return[W.j]}, +$il:1, +$al:function(){return[W.j]}} +W.cY.prototype={ +u:function(a,b){var u,t,s,r,q +for(u=this.gp(),t=u.length,s=this.a,r=0;r" +if(typeof console!="undefined")window.console.warn(u) +return}if(!p.a.N(a)){p.R(a,b) +window +u="Removing disallowed element <"+H.b(e)+"> from "+H.b(b) +if(typeof console!="undefined")window.console.warn(u) +return}if(g!=null)if(!p.a.E(a,"is",g)){p.R(a,b) +window +u="Removing disallowed type extension <"+H.b(e)+' is="'+g+'">' +if(typeof console!="undefined")window.console.warn(u) +return}u=f.gp() +t=H.m(u.slice(0),[H.w(u,0)]) +for(s=f.gp().length-1,u=f.a;s>=0;--s){r=t[s] +if(!p.a.E(a,J.fU(r),u.getAttribute(r))){window +q="Removing disallowed attribute <"+H.b(e)+" "+r+'="'+H.b(u.getAttribute(r))+'">' +if(typeof console!="undefined")window.console.warn(q) +u.removeAttribute(r)}}if(!!J.k(a).$iaH)p.ae(a.content)}} +W.dN.prototype={ +$2:function(a,b){var u,t,s,r,q,p=this.a +switch(a.nodeType){case 1:p.b9(a,b) +break +case 8:case 11:case 3:case 4:break +default:p.R(a,b)}u=a.lastChild +for(p=a==null;null!=u;){t=null +try{t=u.previousSibling}catch(s){H.p(s) +r=u +if(p){q=r.parentNode +if(q!=null)q.removeChild(r)}else a.removeChild(r) +u=null +t=a.lastChild}if(u!=null)this.$2(u,a) +u=t}}} +W.bn.prototype={} +W.bo.prototype={} +W.bu.prototype={} +W.bv.prototype={} +P.aw.prototype={$iaw:1} +P.z.prototype={ +i:function(a,b){if(typeof b!=="string"&&typeof b!=="number")throw H.e(P.eL("property is not a String or num")) +return P.em(this.a[b])}, +gn:function(a){return 0}, +B:function(a,b){if(b==null)return!1 +return b instanceof P.z&&this.a===b.a}, +h:function(a){var u,t +try{u=String(this.a) +return u}catch(t){H.p(t) +u=this.aQ(this) +return u}}, +as:function(a,b){var u=this.a,t=b==null?null:P.ek(new H.R(b,P.im(),[H.w(b,0),null]),!0,null) +return P.em(u[a].apply(u,t))}} +P.c2.prototype={ +$1:function(a){var u,t,s,r,q=this.a +if(q.S(a))return q.i(0,a) +u=J.k(a) +if(!!u.$ia5){t={} +q.C(0,a,t) +for(q=J.F(a.gp());q.k();){s=q.gl() +t[s]=this.$1(a.i(0,s))}return t}else if(!!u.$il){r=[] +q.C(0,a,r) +C.b.q(r,u.I(a,this,null)) +return r}else return P.en(a)}, +$S:0} +P.au.prototype={} +P.at.prototype={ +b_:function(a){var u=this,t=a<0||a>=u.gj(u) +if(t)throw H.e(P.bd(a,0,u.gj(u),null,null))}, +i:function(a,b){if(typeof b==="number"&&b===C.d.bD(b))this.b_(b) +return this.aP(0,b)}, +gj:function(a){var u=this.a.length +if(typeof u==="number"&&u>>>0===u)return u +throw H.e(P.aF("Bad JsArray length"))}, +$in:1, +$il:1} +P.dS.prototype={ +$1:function(a){var u=function(b,c,d){return function(){return b(c,d,this,Array.prototype.slice.apply(arguments))}}(P.hQ,a,!1) +P.eo(u,$.ec(),a) +return u}, +$S:0} +P.dT.prototype={ +$1:function(a){return new this.a(a)}, +$S:0} +P.dY.prototype={ +$1:function(a){return new P.au(a)}, +$S:11} +P.dZ.prototype={ +$1:function(a){return new P.at(a,[null])}, +$S:12} +P.e_.prototype={ +$1:function(a){return new P.z(a)}, +$S:13} +P.bk.prototype={} +P.aD.prototype={$iaD:1} +P.c.prototype={ +saw:function(a,b){this.a0(a,b)}, +v:function(a,b,c,d){var u,t,s,r,q,p=H.m([],[W.I]) +p.push(W.f6(null)) +p.push(W.f7()) +p.push(new W.dD()) +c=new W.bt(new W.bc(p)) +u=''+b+"" +p=document +t=p.body +s=(t&&C.j).bk(t,u,c) +r=p.createDocumentFragment() +s.toString +p=new W.u(s) +q=p.gJ(p) +for(;p=q.firstChild,p!=null;)r.appendChild(p) +return r}, +gaA:function(a){return new W.bi(a,"submit",!1,[W.a])}, +$ic:1} +F.e9.prototype={ +$1:function(a){var u,t +a.preventDefault() +u=J.fV(this.a.value) +t=this.b.value +F.aP(u,t.length!==0?t:null) +return}} +F.dU.prototype={ +$1:function(a){return a!=null}, +$S:14};(function aliases(){var u=J.r.prototype +u.aM=u.h +u.aL=u.Y +u=J.b6.prototype +u.aO=u.h +u=P.l.prototype +u.aN=u.a_ +u=P.h.prototype +u.aQ=u.h +u=W.D.prototype +u.a1=u.v +u=W.bp.prototype +u.aR=u.E +u=P.z.prototype +u.aP=u.i})();(function installTearOffs(){var u=hunkHelpers._static_1,t=hunkHelpers._static_0,s=hunkHelpers.installInstanceTearOff,r=hunkHelpers.installStaticTearOff +u(P,"i3","hv",1) +u(P,"i4","hw",1) +u(P,"i5","hx",1) +t(P,"fq","i0",15) +s(P.bh.prototype,"gat",0,1,function(){return[null]},["$2","$1"],["O","au"],6,0) +s(P.br.prototype,"gbh",1,0,null,["$1","$0"],["F","bi"],7,0) +r(W,"id",4,null,["$4"],["hA"],3,0) +r(W,"ie",4,null,["$4"],["hB"],3,0) +u(P,"im","en",0) +u(P,"il","em",16) +r(F,"ic",1,function(){return{filter:null}},["$2$filter","$1"],["aP",function(a){return F.aP(a,null)}],17,0)})();(function inheritance(){var u=hunkHelpers.mixin,t=hunkHelpers.inherit,s=hunkHelpers.inheritMany +t(P.h,null) +s(P.h,[H.ei,J.r,J.ak,P.l,H.b7,P.bW,H.b0,H.aG,P.cf,H.bI,H.bZ,H.an,H.cG,P.M,H.ar,H.bq,P.ce,H.c5,H.c6,H.c0,P.dG,P.cQ,P.o,P.bh,P.d6,P.v,P.bg,P.cz,P.cA,P.cB,P.dC,P.Z,P.dO,P.dm,P.dz,P.ds,P.dt,P.bl,P.q,P.dI,P.bG,P.dM,P.K,P.ao,P.aV,P.cs,P.be,P.d5,P.bR,P.N,P.c8,P.t,P.x,P.f,P.T,P.aa,P.dJ,W.aK,W.b3,W.bc,W.bp,W.dD,W.b1,W.d_,W.I,W.dy,W.bt,P.z]) +s(J.r,[J.bX,J.b5,J.b6,J.P,J.c_,J.a2,H.aA,W.b_,W.a_,W.bN,W.a,W.as,W.ca,W.bn,W.bu,P.aw]) +s(J.b6,[J.ct,J.aI,J.Q]) +t(J.eh,J.P) +s(J.c_,[J.b4,J.bY]) +s(P.l,[H.n,H.ay,H.aJ,H.cZ]) +s(H.n,[H.a4,H.ax,P.dl]) +t(H.aZ,H.ay) +s(P.bW,[H.cg,H.cP]) +s(H.a4,[H.R,P.dq]) +t(P.bs,P.cf) +t(P.cK,P.bs) +t(H.bJ,P.cK) +t(H.bK,H.bI) +s(H.an,[H.cu,H.eb,H.cF,H.e4,H.e5,H.e6,P.cV,P.cU,P.cW,P.cX,P.dH,P.cS,P.cR,P.dP,P.dQ,P.dX,P.d7,P.df,P.db,P.dc,P.dd,P.d9,P.de,P.d8,P.di,P.dj,P.dh,P.dg,P.cC,P.dW,P.dw,P.dv,P.dx,P.cd,P.co,P.dL,P.dK,W.bO,W.bS,W.bT,W.d4,W.cq,W.cp,W.dA,W.dB,W.dF,W.dN,P.c2,P.dS,P.dT,P.dY,P.dZ,P.e_,F.e9,F.dU]) +s(P.M,[H.cr,H.c1,H.cJ,H.bF,H.cw,P.aB,P.y,P.cn,P.cL,P.cI,P.aE,P.bH,P.bM]) +s(H.cF,[H.cy,H.al]) +t(P.cb,P.ce) +s(P.cb,[H.av,P.dk,P.dp,W.cY]) +t(H.b8,H.aA) +s(H.b8,[H.aL,H.aN]) +t(H.aM,H.aL) +t(H.az,H.aM) +t(H.aO,H.aN) +t(H.b9,H.aO) +s(H.b9,[H.ch,H.ci,H.cj,H.ck,H.cl,H.ba,H.cm]) +s(P.bh,[P.cT,P.br]) +t(P.du,P.dO) +t(P.dn,P.dk) +t(P.dr,P.dz) +t(P.c9,P.bl) +t(P.bL,P.cB) +s(P.bG,[P.bP,P.c3]) +s(P.bL,[P.c4,P.cO]) +t(P.cN,P.bP) +s(P.aV,[P.ag,P.B]) +s(P.y,[P.a9,P.bU]) +s(W.b_,[W.j,W.b2,W.ab,W.J]) +s(W.j,[W.D,W.L]) +s(W.D,[W.d,P.c]) +s(W.d,[W.bC,W.bD,W.a0,W.bQ,W.a1,W.cx,W.bf,W.cD,W.cE,W.aH]) +t(W.O,W.b2) +t(W.u,P.c9) +t(W.bo,W.bn) +t(W.bb,W.bo) +t(W.a8,W.a) +t(W.bv,W.bu) +t(W.bm,W.bv) +t(W.d0,W.cY) +t(W.d1,P.cz) +t(W.bi,W.d1) +t(W.d2,P.cA) +t(W.dE,W.bp) +s(P.z,[P.au,P.bk]) +t(P.at,P.bk) +t(P.aD,P.c) +u(H.aL,P.q) +u(H.aM,H.b0) +u(H.aN,P.q) +u(H.aO,H.b0) +u(P.bl,P.q) +u(P.bs,P.dI) +u(W.bn,P.q) +u(W.bo,W.b3) +u(W.bu,P.q) +u(W.bv,W.b3) +u(P.bk,P.q)})();(function constants(){var u=hunkHelpers.makeConstList +C.j=W.a0.prototype +C.C=W.O.prototype +C.D=J.r.prototype +C.b=J.P.prototype +C.d=J.b4.prototype +C.E=J.b5.prototype +C.a=J.a2.prototype +C.F=J.Q.prototype +C.q=J.ct.prototype +C.r=W.bf.prototype +C.i=J.aI.prototype +C.k=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +C.t=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +C.y=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +C.u=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +C.v=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +C.x=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +C.w=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +C.l=function(hooks) { return hooks; } + +C.z=new P.c3() +C.A=new P.cs() +C.e=new P.cN() +C.B=new P.cO() +C.c=new P.du() +C.G=new P.c4(null) +C.H=H.m(u(["*::class","*::dir","*::draggable","*::hidden","*::id","*::inert","*::itemprop","*::itemref","*::itemscope","*::lang","*::spellcheck","*::title","*::translate","A::accesskey","A::coords","A::hreflang","A::name","A::shape","A::tabindex","A::target","A::type","AREA::accesskey","AREA::alt","AREA::coords","AREA::nohref","AREA::shape","AREA::tabindex","AREA::target","AUDIO::controls","AUDIO::loop","AUDIO::mediagroup","AUDIO::muted","AUDIO::preload","BDO::dir","BODY::alink","BODY::bgcolor","BODY::link","BODY::text","BODY::vlink","BR::clear","BUTTON::accesskey","BUTTON::disabled","BUTTON::name","BUTTON::tabindex","BUTTON::type","BUTTON::value","CANVAS::height","CANVAS::width","CAPTION::align","COL::align","COL::char","COL::charoff","COL::span","COL::valign","COL::width","COLGROUP::align","COLGROUP::char","COLGROUP::charoff","COLGROUP::span","COLGROUP::valign","COLGROUP::width","COMMAND::checked","COMMAND::command","COMMAND::disabled","COMMAND::label","COMMAND::radiogroup","COMMAND::type","DATA::value","DEL::datetime","DETAILS::open","DIR::compact","DIV::align","DL::compact","FIELDSET::disabled","FONT::color","FONT::face","FONT::size","FORM::accept","FORM::autocomplete","FORM::enctype","FORM::method","FORM::name","FORM::novalidate","FORM::target","FRAME::name","H1::align","H2::align","H3::align","H4::align","H5::align","H6::align","HR::align","HR::noshade","HR::size","HR::width","HTML::version","IFRAME::align","IFRAME::frameborder","IFRAME::height","IFRAME::marginheight","IFRAME::marginwidth","IFRAME::width","IMG::align","IMG::alt","IMG::border","IMG::height","IMG::hspace","IMG::ismap","IMG::name","IMG::usemap","IMG::vspace","IMG::width","INPUT::accept","INPUT::accesskey","INPUT::align","INPUT::alt","INPUT::autocomplete","INPUT::autofocus","INPUT::checked","INPUT::disabled","INPUT::inputmode","INPUT::ismap","INPUT::list","INPUT::max","INPUT::maxlength","INPUT::min","INPUT::multiple","INPUT::name","INPUT::placeholder","INPUT::readonly","INPUT::required","INPUT::size","INPUT::step","INPUT::tabindex","INPUT::type","INPUT::usemap","INPUT::value","INS::datetime","KEYGEN::disabled","KEYGEN::keytype","KEYGEN::name","LABEL::accesskey","LABEL::for","LEGEND::accesskey","LEGEND::align","LI::type","LI::value","LINK::sizes","MAP::name","MENU::compact","MENU::label","MENU::type","METER::high","METER::low","METER::max","METER::min","METER::value","OBJECT::typemustmatch","OL::compact","OL::reversed","OL::start","OL::type","OPTGROUP::disabled","OPTGROUP::label","OPTION::disabled","OPTION::label","OPTION::selected","OPTION::value","OUTPUT::for","OUTPUT::name","P::align","PRE::width","PROGRESS::max","PROGRESS::min","PROGRESS::value","SELECT::autocomplete","SELECT::disabled","SELECT::multiple","SELECT::name","SELECT::required","SELECT::size","SELECT::tabindex","SOURCE::type","TABLE::align","TABLE::bgcolor","TABLE::border","TABLE::cellpadding","TABLE::cellspacing","TABLE::frame","TABLE::rules","TABLE::summary","TABLE::width","TBODY::align","TBODY::char","TBODY::charoff","TBODY::valign","TD::abbr","TD::align","TD::axis","TD::bgcolor","TD::char","TD::charoff","TD::colspan","TD::headers","TD::height","TD::nowrap","TD::rowspan","TD::scope","TD::valign","TD::width","TEXTAREA::accesskey","TEXTAREA::autocomplete","TEXTAREA::cols","TEXTAREA::disabled","TEXTAREA::inputmode","TEXTAREA::name","TEXTAREA::placeholder","TEXTAREA::readonly","TEXTAREA::required","TEXTAREA::rows","TEXTAREA::tabindex","TEXTAREA::wrap","TFOOT::align","TFOOT::char","TFOOT::charoff","TFOOT::valign","TH::abbr","TH::align","TH::axis","TH::bgcolor","TH::char","TH::charoff","TH::colspan","TH::headers","TH::height","TH::nowrap","TH::rowspan","TH::scope","TH::valign","TH::width","THEAD::align","THEAD::char","THEAD::charoff","THEAD::valign","TR::align","TR::bgcolor","TR::char","TR::charoff","TR::valign","TRACK::default","TRACK::kind","TRACK::label","TRACK::srclang","UL::compact","UL::type","VIDEO::controls","VIDEO::height","VIDEO::loop","VIDEO::mediagroup","VIDEO::muted","VIDEO::preload","VIDEO::width"]),[P.f]) +C.m=H.m(u([0,0,26624,1023,65534,2047,65534,2047]),[P.B]) +C.I=H.m(u(["HEAD","AREA","BASE","BASEFONT","BR","COL","COLGROUP","EMBED","FRAME","FRAMESET","HR","IMAGE","IMG","INPUT","ISINDEX","LINK","META","PARAM","SOURCE","STYLE","TITLE","WBR"]),[P.f]) +C.J=H.m(u([]),[P.f]) +C.n=u([]) +C.o=H.m(u([0,0,24576,1023,65534,34815,65534,18431]),[P.B]) +C.f=H.m(u(["bind","if","ref","repeat","syntax"]),[P.f]) +C.h=H.m(u(["A::href","AREA::href","BLOCKQUOTE::cite","BODY::background","COMMAND::icon","DEL::cite","FORM::action","IMG::src","INPUT::src","INS::cite","Q::cite","VIDEO::poster"]),[P.f]) +C.K=H.m(u([]),[P.aa]) +C.p=new H.bK(0,{},C.K,[P.aa,null]) +C.L=new H.aG("call")})() +var v={mangledGlobalNames:{B:"int",ag:"double",aV:"num",f:"String",K:"bool",t:"Null",c8:"List"},mangledNames:{},getTypeFromName:getGlobalFromName,metadata:[],types:[{func:1,args:[,]},{func:1,ret:-1,args:[{func:1,ret:-1}]},{func:1,ret:P.t,args:[,]},{func:1,ret:P.K,args:[W.D,P.f,P.f,W.aK]},{func:1,ret:-1,args:[,]},{func:1,ret:P.t,args:[,P.x]},{func:1,ret:-1,args:[P.h],opt:[P.x]},{func:1,ret:-1,opt:[P.h]},{func:1,ret:P.t,args:[,],opt:[P.x]},{func:1,ret:[P.v,,],args:[,]},{func:1,ret:P.t,args:[,,]},{func:1,ret:P.au,args:[,]},{func:1,ret:[P.at,,],args:[,]},{func:1,ret:P.z,args:[,]},{func:1,ret:P.K,args:[P.h]},{func:1,ret:-1},{func:1,ret:P.h,args:[,]},{func:1,ret:[P.o,,],args:[P.f],named:{filter:P.f}}],interceptorsByTag:null,leafTags:null};(function staticFields(){$.C=0 +$.am=null +$.eN=null +$.fs=null +$.fo=null +$.fx=null +$.e0=null +$.e7=null +$.eA=null +$.ad=null +$.aQ=null +$.aR=null +$.er=!1 +$.i=C.c +$.W=[] +$.H=null +$.ee=null +$.eS=null +$.eR=null +$.bj=P.hc(P.f,P.N)})();(function lazyInitializers(){var u=hunkHelpers.lazy +u($,"iw","ec",function(){return H.ey("_$dart_dartClosure")}) +u($,"ix","eD",function(){return H.ey("_$dart_js")}) +u($,"iz","fz",function(){return H.E(H.cH({ +toString:function(){return"$receiver$"}}))}) +u($,"iA","fA",function(){return H.E(H.cH({$method$:null, +toString:function(){return"$receiver$"}}))}) +u($,"iB","fB",function(){return H.E(H.cH(null))}) +u($,"iC","fC",function(){return H.E(function(){var $argumentsExpr$='$arguments$' +try{null.$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"iF","fF",function(){return H.E(H.cH(void 0))}) +u($,"iG","fG",function(){return H.E(function(){var $argumentsExpr$='$arguments$' +try{(void 0).$method$($argumentsExpr$)}catch(t){return t.message}}())}) +u($,"iE","fE",function(){return H.E(H.f0(null))}) +u($,"iD","fD",function(){return H.E(function(){try{null.$method$}catch(t){return t.message}}())}) +u($,"iI","fI",function(){return H.E(H.f0(void 0))}) +u($,"iH","fH",function(){return H.E(function(){try{(void 0).$method$}catch(t){return t.message}}())}) +u($,"iJ","eE",function(){return P.hu()}) +u($,"iM","fK",function(){return P.hr("^[\\-\\.0-9A-Z_a-z~]*$")}) +u($,"iL","fJ",function(){return P.eX(["A","ABBR","ACRONYM","ADDRESS","AREA","ARTICLE","ASIDE","AUDIO","B","BDI","BDO","BIG","BLOCKQUOTE","BR","BUTTON","CANVAS","CAPTION","CENTER","CITE","CODE","COL","COLGROUP","COMMAND","DATA","DATALIST","DD","DEL","DETAILS","DFN","DIR","DIV","DL","DT","EM","FIELDSET","FIGCAPTION","FIGURE","FONT","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","LEGEND","LI","MAP","MARK","MENU","METER","NAV","NOBR","OL","OPTGROUP","OPTION","OUTPUT","P","PRE","PROGRESS","Q","S","SAMP","SECTION","SELECT","SMALL","SOURCE","SPAN","STRIKE","STRONG","SUB","SUMMARY","SUP","TABLE","TBODY","TD","TEXTAREA","TFOOT","TH","THEAD","TIME","TR","TRACK","TT","U","UL","VAR","VIDEO","WBR"],P.f)}) +u($,"iR","fL",function(){return P.eu(self)}) +u($,"iK","eF",function(){return H.ey("_$dart_dartObject")}) +u($,"iN","eG",function(){return function DartObject(a){this.o=a}}) +u($,"iP","eI",function(){return $.fL().i(0,"$build")}) +u($,"iO","eH",function(){return W.i7().getElementById("details")})})();(function nativeSupport(){!function(){var u=function(a){var o={} +o[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(o))[0]} +v.getIsolateTag=function(a){return u("___dart_"+a+v.isolateTag)} +var t="___dart_isolate_tags_" +var s=Object[t]||(Object[t]=Object.create(null)) +var r="_ZxYxX" +for(var q=0;;q++){var p=u(r+"_"+q+"_") +if(!(p in s)){s[p]=1 +v.isolateTag=p +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({DOMError:J.r,DOMImplementation:J.r,MediaError:J.r,NavigatorUserMediaError:J.r,OverconstrainedError:J.r,PositionError:J.r,Range:J.r,SQLError:J.r,DataView:H.aA,ArrayBufferView:H.aA,Float32Array:H.az,Float64Array:H.az,Int16Array:H.ch,Int32Array:H.ci,Int8Array:H.cj,Uint16Array:H.ck,Uint32Array:H.cl,Uint8ClampedArray:H.ba,CanvasPixelArray:H.ba,Uint8Array:H.cm,HTMLAudioElement:W.d,HTMLBRElement:W.d,HTMLBaseElement:W.d,HTMLButtonElement:W.d,HTMLCanvasElement:W.d,HTMLContentElement:W.d,HTMLDListElement:W.d,HTMLDataElement:W.d,HTMLDataListElement:W.d,HTMLDetailsElement:W.d,HTMLDialogElement:W.d,HTMLDivElement:W.d,HTMLEmbedElement:W.d,HTMLFieldSetElement:W.d,HTMLHRElement:W.d,HTMLHeadElement:W.d,HTMLHeadingElement:W.d,HTMLHtmlElement:W.d,HTMLIFrameElement:W.d,HTMLImageElement:W.d,HTMLLIElement:W.d,HTMLLabelElement:W.d,HTMLLegendElement:W.d,HTMLLinkElement:W.d,HTMLMapElement:W.d,HTMLMediaElement:W.d,HTMLMenuElement:W.d,HTMLMetaElement:W.d,HTMLMeterElement:W.d,HTMLModElement:W.d,HTMLOListElement:W.d,HTMLObjectElement:W.d,HTMLOptGroupElement:W.d,HTMLOptionElement:W.d,HTMLOutputElement:W.d,HTMLParagraphElement:W.d,HTMLParamElement:W.d,HTMLPictureElement:W.d,HTMLPreElement:W.d,HTMLProgressElement:W.d,HTMLQuoteElement:W.d,HTMLScriptElement:W.d,HTMLShadowElement:W.d,HTMLSlotElement:W.d,HTMLSourceElement:W.d,HTMLSpanElement:W.d,HTMLStyleElement:W.d,HTMLTableCaptionElement:W.d,HTMLTableCellElement:W.d,HTMLTableDataCellElement:W.d,HTMLTableHeaderCellElement:W.d,HTMLTableColElement:W.d,HTMLTextAreaElement:W.d,HTMLTimeElement:W.d,HTMLTitleElement:W.d,HTMLTrackElement:W.d,HTMLUListElement:W.d,HTMLUnknownElement:W.d,HTMLVideoElement:W.d,HTMLDirectoryElement:W.d,HTMLFontElement:W.d,HTMLFrameElement:W.d,HTMLFrameSetElement:W.d,HTMLMarqueeElement:W.d,HTMLElement:W.d,HTMLAnchorElement:W.bC,HTMLAreaElement:W.bD,Blob:W.a_,File:W.a_,HTMLBodyElement:W.a0,CDATASection:W.L,CharacterData:W.L,Comment:W.L,ProcessingInstruction:W.L,Text:W.L,DOMException:W.bN,Element:W.D,AbortPaymentEvent:W.a,AnimationEvent:W.a,AnimationPlaybackEvent:W.a,ApplicationCacheErrorEvent:W.a,BackgroundFetchClickEvent:W.a,BackgroundFetchEvent:W.a,BackgroundFetchFailEvent:W.a,BackgroundFetchedEvent:W.a,BeforeInstallPromptEvent:W.a,BeforeUnloadEvent:W.a,BlobEvent:W.a,CanMakePaymentEvent:W.a,ClipboardEvent:W.a,CloseEvent:W.a,CompositionEvent:W.a,CustomEvent:W.a,DeviceMotionEvent:W.a,DeviceOrientationEvent:W.a,ErrorEvent:W.a,ExtendableEvent:W.a,ExtendableMessageEvent:W.a,FetchEvent:W.a,FocusEvent:W.a,FontFaceSetLoadEvent:W.a,ForeignFetchEvent:W.a,GamepadEvent:W.a,HashChangeEvent:W.a,InstallEvent:W.a,KeyboardEvent:W.a,MediaEncryptedEvent:W.a,MediaKeyMessageEvent:W.a,MediaQueryListEvent:W.a,MediaStreamEvent:W.a,MediaStreamTrackEvent:W.a,MessageEvent:W.a,MIDIConnectionEvent:W.a,MIDIMessageEvent:W.a,MouseEvent:W.a,DragEvent:W.a,MutationEvent:W.a,NotificationEvent:W.a,PageTransitionEvent:W.a,PaymentRequestEvent:W.a,PaymentRequestUpdateEvent:W.a,PointerEvent:W.a,PopStateEvent:W.a,PresentationConnectionAvailableEvent:W.a,PresentationConnectionCloseEvent:W.a,PromiseRejectionEvent:W.a,PushEvent:W.a,RTCDataChannelEvent:W.a,RTCDTMFToneChangeEvent:W.a,RTCPeerConnectionIceEvent:W.a,RTCTrackEvent:W.a,SecurityPolicyViolationEvent:W.a,SensorErrorEvent:W.a,SpeechRecognitionError:W.a,SpeechRecognitionEvent:W.a,SpeechSynthesisEvent:W.a,StorageEvent:W.a,SyncEvent:W.a,TextEvent:W.a,TouchEvent:W.a,TrackEvent:W.a,TransitionEvent:W.a,WebKitTransitionEvent:W.a,UIEvent:W.a,VRDeviceEvent:W.a,VRDisplayEvent:W.a,VRSessionEvent:W.a,WheelEvent:W.a,MojoInterfaceRequestEvent:W.a,USBConnectionEvent:W.a,IDBVersionChangeEvent:W.a,AudioProcessingEvent:W.a,OfflineAudioCompletionEvent:W.a,WebGLContextEvent:W.a,Event:W.a,InputEvent:W.a,EventTarget:W.b_,HTMLFormElement:W.bQ,XMLHttpRequest:W.O,XMLHttpRequestEventTarget:W.b2,ImageData:W.as,HTMLInputElement:W.a1,Location:W.ca,Document:W.j,DocumentFragment:W.j,HTMLDocument:W.j,ShadowRoot:W.j,XMLDocument:W.j,Attr:W.j,DocumentType:W.j,Node:W.j,NodeList:W.bb,RadioNodeList:W.bb,ProgressEvent:W.a8,ResourceProgressEvent:W.a8,HTMLSelectElement:W.cx,HTMLTableElement:W.bf,HTMLTableRowElement:W.cD,HTMLTableSectionElement:W.cE,HTMLTemplateElement:W.aH,Window:W.ab,DOMWindow:W.ab,DedicatedWorkerGlobalScope:W.J,ServiceWorkerGlobalScope:W.J,SharedWorkerGlobalScope:W.J,WorkerGlobalScope:W.J,NamedNodeMap:W.bm,MozNamedAttrMap:W.bm,IDBKeyRange:P.aw,SVGScriptElement:P.aD,SVGAElement:P.c,SVGAnimateElement:P.c,SVGAnimateMotionElement:P.c,SVGAnimateTransformElement:P.c,SVGAnimationElement:P.c,SVGCircleElement:P.c,SVGClipPathElement:P.c,SVGDefsElement:P.c,SVGDescElement:P.c,SVGDiscardElement:P.c,SVGEllipseElement:P.c,SVGFEBlendElement:P.c,SVGFEColorMatrixElement:P.c,SVGFEComponentTransferElement:P.c,SVGFECompositeElement:P.c,SVGFEConvolveMatrixElement:P.c,SVGFEDiffuseLightingElement:P.c,SVGFEDisplacementMapElement:P.c,SVGFEDistantLightElement:P.c,SVGFEFloodElement:P.c,SVGFEFuncAElement:P.c,SVGFEFuncBElement:P.c,SVGFEFuncGElement:P.c,SVGFEFuncRElement:P.c,SVGFEGaussianBlurElement:P.c,SVGFEImageElement:P.c,SVGFEMergeElement:P.c,SVGFEMergeNodeElement:P.c,SVGFEMorphologyElement:P.c,SVGFEOffsetElement:P.c,SVGFEPointLightElement:P.c,SVGFESpecularLightingElement:P.c,SVGFESpotLightElement:P.c,SVGFETileElement:P.c,SVGFETurbulenceElement:P.c,SVGFilterElement:P.c,SVGForeignObjectElement:P.c,SVGGElement:P.c,SVGGeometryElement:P.c,SVGGraphicsElement:P.c,SVGImageElement:P.c,SVGLineElement:P.c,SVGLinearGradientElement:P.c,SVGMarkerElement:P.c,SVGMaskElement:P.c,SVGMetadataElement:P.c,SVGPathElement:P.c,SVGPatternElement:P.c,SVGPolygonElement:P.c,SVGPolylineElement:P.c,SVGRadialGradientElement:P.c,SVGRectElement:P.c,SVGSetElement:P.c,SVGStopElement:P.c,SVGStyleElement:P.c,SVGSVGElement:P.c,SVGSwitchElement:P.c,SVGSymbolElement:P.c,SVGTSpanElement:P.c,SVGTextContentElement:P.c,SVGTextElement:P.c,SVGTextPathElement:P.c,SVGTextPositioningElement:P.c,SVGTitleElement:P.c,SVGUseElement:P.c,SVGViewElement:P.c,SVGGradientElement:P.c,SVGComponentTransferFunctionElement:P.c,SVGFEDropShadowElement:P.c,SVGMPathElement:P.c,SVGElement:P.c}) +hunkHelpers.setOrUpdateLeafTags({DOMError:true,DOMImplementation:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,Range:true,SQLError:true,DataView:true,ArrayBufferView:false,Float32Array:true,Float64Array:true,Int16Array:true,Int32Array:true,Int8Array:true,Uint16Array:true,Uint32Array:true,Uint8ClampedArray:true,CanvasPixelArray:true,Uint8Array:false,HTMLAudioElement:true,HTMLBRElement:true,HTMLBaseElement:true,HTMLButtonElement:true,HTMLCanvasElement:true,HTMLContentElement:true,HTMLDListElement:true,HTMLDataElement:true,HTMLDataListElement:true,HTMLDetailsElement:true,HTMLDialogElement:true,HTMLDivElement:true,HTMLEmbedElement:true,HTMLFieldSetElement:true,HTMLHRElement:true,HTMLHeadElement:true,HTMLHeadingElement:true,HTMLHtmlElement:true,HTMLIFrameElement:true,HTMLImageElement:true,HTMLLIElement:true,HTMLLabelElement:true,HTMLLegendElement:true,HTMLLinkElement:true,HTMLMapElement:true,HTMLMediaElement:true,HTMLMenuElement:true,HTMLMetaElement:true,HTMLMeterElement:true,HTMLModElement:true,HTMLOListElement:true,HTMLObjectElement:true,HTMLOptGroupElement:true,HTMLOptionElement:true,HTMLOutputElement:true,HTMLParagraphElement:true,HTMLParamElement:true,HTMLPictureElement:true,HTMLPreElement:true,HTMLProgressElement:true,HTMLQuoteElement:true,HTMLScriptElement:true,HTMLShadowElement:true,HTMLSlotElement:true,HTMLSourceElement:true,HTMLSpanElement:true,HTMLStyleElement:true,HTMLTableCaptionElement:true,HTMLTableCellElement:true,HTMLTableDataCellElement:true,HTMLTableHeaderCellElement:true,HTMLTableColElement:true,HTMLTextAreaElement:true,HTMLTimeElement:true,HTMLTitleElement:true,HTMLTrackElement:true,HTMLUListElement:true,HTMLUnknownElement:true,HTMLVideoElement:true,HTMLDirectoryElement:true,HTMLFontElement:true,HTMLFrameElement:true,HTMLFrameSetElement:true,HTMLMarqueeElement:true,HTMLElement:false,HTMLAnchorElement:true,HTMLAreaElement:true,Blob:true,File:true,HTMLBodyElement:true,CDATASection:true,CharacterData:true,Comment:true,ProcessingInstruction:true,Text:true,DOMException:true,Element:false,AbortPaymentEvent:true,AnimationEvent:true,AnimationPlaybackEvent:true,ApplicationCacheErrorEvent:true,BackgroundFetchClickEvent:true,BackgroundFetchEvent:true,BackgroundFetchFailEvent:true,BackgroundFetchedEvent:true,BeforeInstallPromptEvent:true,BeforeUnloadEvent:true,BlobEvent:true,CanMakePaymentEvent:true,ClipboardEvent:true,CloseEvent:true,CompositionEvent:true,CustomEvent:true,DeviceMotionEvent:true,DeviceOrientationEvent:true,ErrorEvent:true,ExtendableEvent:true,ExtendableMessageEvent:true,FetchEvent:true,FocusEvent:true,FontFaceSetLoadEvent:true,ForeignFetchEvent:true,GamepadEvent:true,HashChangeEvent:true,InstallEvent:true,KeyboardEvent:true,MediaEncryptedEvent:true,MediaKeyMessageEvent:true,MediaQueryListEvent:true,MediaStreamEvent:true,MediaStreamTrackEvent:true,MessageEvent:true,MIDIConnectionEvent:true,MIDIMessageEvent:true,MouseEvent:true,DragEvent:true,MutationEvent:true,NotificationEvent:true,PageTransitionEvent:true,PaymentRequestEvent:true,PaymentRequestUpdateEvent:true,PointerEvent:true,PopStateEvent:true,PresentationConnectionAvailableEvent:true,PresentationConnectionCloseEvent:true,PromiseRejectionEvent:true,PushEvent:true,RTCDataChannelEvent:true,RTCDTMFToneChangeEvent:true,RTCPeerConnectionIceEvent:true,RTCTrackEvent:true,SecurityPolicyViolationEvent:true,SensorErrorEvent:true,SpeechRecognitionError:true,SpeechRecognitionEvent:true,SpeechSynthesisEvent:true,StorageEvent:true,SyncEvent:true,TextEvent:true,TouchEvent:true,TrackEvent:true,TransitionEvent:true,WebKitTransitionEvent:true,UIEvent:true,VRDeviceEvent:true,VRDisplayEvent:true,VRSessionEvent:true,WheelEvent:true,MojoInterfaceRequestEvent:true,USBConnectionEvent:true,IDBVersionChangeEvent:true,AudioProcessingEvent:true,OfflineAudioCompletionEvent:true,WebGLContextEvent:true,Event:false,InputEvent:false,EventTarget:false,HTMLFormElement:true,XMLHttpRequest:true,XMLHttpRequestEventTarget:false,ImageData:true,HTMLInputElement:true,Location:true,Document:true,DocumentFragment:true,HTMLDocument:true,ShadowRoot:true,XMLDocument:true,Attr:true,DocumentType:true,Node:false,NodeList:true,RadioNodeList:true,ProgressEvent:true,ResourceProgressEvent:true,HTMLSelectElement:true,HTMLTableElement:true,HTMLTableRowElement:true,HTMLTableSectionElement:true,HTMLTemplateElement:true,Window:true,DOMWindow:true,DedicatedWorkerGlobalScope:true,ServiceWorkerGlobalScope:true,SharedWorkerGlobalScope:true,WorkerGlobalScope:true,NamedNodeMap:true,MozNamedAttrMap:true,IDBKeyRange:true,SVGScriptElement:true,SVGAElement:true,SVGAnimateElement:true,SVGAnimateMotionElement:true,SVGAnimateTransformElement:true,SVGAnimationElement:true,SVGCircleElement:true,SVGClipPathElement:true,SVGDefsElement:true,SVGDescElement:true,SVGDiscardElement:true,SVGEllipseElement:true,SVGFEBlendElement:true,SVGFEColorMatrixElement:true,SVGFEComponentTransferElement:true,SVGFECompositeElement:true,SVGFEConvolveMatrixElement:true,SVGFEDiffuseLightingElement:true,SVGFEDisplacementMapElement:true,SVGFEDistantLightElement:true,SVGFEFloodElement:true,SVGFEFuncAElement:true,SVGFEFuncBElement:true,SVGFEFuncGElement:true,SVGFEFuncRElement:true,SVGFEGaussianBlurElement:true,SVGFEImageElement:true,SVGFEMergeElement:true,SVGFEMergeNodeElement:true,SVGFEMorphologyElement:true,SVGFEOffsetElement:true,SVGFEPointLightElement:true,SVGFESpecularLightingElement:true,SVGFESpotLightElement:true,SVGFETileElement:true,SVGFETurbulenceElement:true,SVGFilterElement:true,SVGForeignObjectElement:true,SVGGElement:true,SVGGeometryElement:true,SVGGraphicsElement:true,SVGImageElement:true,SVGLineElement:true,SVGLinearGradientElement:true,SVGMarkerElement:true,SVGMaskElement:true,SVGMetadataElement:true,SVGPathElement:true,SVGPatternElement:true,SVGPolygonElement:true,SVGPolylineElement:true,SVGRadialGradientElement:true,SVGRectElement:true,SVGSetElement:true,SVGStopElement:true,SVGStyleElement:true,SVGSVGElement:true,SVGSwitchElement:true,SVGSymbolElement:true,SVGTSpanElement:true,SVGTextContentElement:true,SVGTextElement:true,SVGTextPathElement:true,SVGTextPositioningElement:true,SVGTitleElement:true,SVGUseElement:true,SVGViewElement:true,SVGGradientElement:true,SVGComponentTransferFunctionElement:true,SVGFEDropShadowElement:true,SVGMPathElement:true,SVGElement:false}) +H.b8.$nativeSuperclassTag="ArrayBufferView" +H.aL.$nativeSuperclassTag="ArrayBufferView" +H.aM.$nativeSuperclassTag="ArrayBufferView" +H.az.$nativeSuperclassTag="ArrayBufferView" +H.aN.$nativeSuperclassTag="ArrayBufferView" +H.aO.$nativeSuperclassTag="ArrayBufferView" +H.b9.$nativeSuperclassTag="ArrayBufferView"})() +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!='undefined'){a(document.currentScript) +return}var u=document.scripts +function onLoad(b){for(var s=0;s=0)return true +if(typeof version=="function"&&version.length==0){var q=version() +if(/^\d+\.\d+\.\d+\.\d+$/.test(q))return true}}catch(p){}return false}() +function inherit(a,b){a.prototype.constructor=a +a.prototype["$i"+a.name]=a +if(b!=null){if(z){Object.setPrototypeOf(a.prototype,b.prototype) +return}var s=Object.create(b.prototype) +copyProperties(a.prototype,s) +a.prototype=s}}function inheritMany(a,b){for(var s=0;s").b(a))return new A.bD(a,b.i("@<0>").H(c).i("bD<1,2>")) +return new A.ar(a,b.i("@<0>").H(c).i("ar<1,2>"))}, +eG(a){var s,r=a^48 +if(r<=9)return r +s=a|32 +if(97<=s&&s<=102)return s-87 +return-1}, +cH(a,b){a=a+b&536870911 +a=a+((a&524287)<<10)&536870911 +return a^a>>>6}, +h9(a){a=a+((a&67108863)<<3)&536870911 +a^=a>>>11 +return a+((a&16383)<<15)&536870911}, +fr(a){var s,r +for(s=$.aI.length,r=0;rc)A.z(A.u(b,0,c,"start",null))}return new A.aC(a,b,c,d.i("aC<0>"))}, +cm(a,b,c,d){if(t.X.b(a))return new A.ba(a,b,c.i("@<0>").H(d).i("ba<1,2>")) +return new A.P(a,b,c.i("@<0>").H(d).i("P<1,2>"))}, +jE(a,b,c){var s="takeCount" +A.aK(b,s) +A.T(b,s) +if(t.X.b(a))return new A.bb(a,b,c.i("bb<0>")) +return new A.aD(a,b,c.i("aD<0>"))}, +jB(a,b,c){var s="count" +if(t.X.b(a)){A.aK(b,s) +A.T(b,s) +return new A.aM(a,b,c.i("aM<0>"))}A.aK(b,s) +A.T(b,s) +return new A.a9(a,b,c.i("a9<0>"))}, +ca(){return new A.aB("No element")}, +jl(){return new A.aB("Too few elements")}, +ao:function ao(){}, +c1:function c1(a,b){this.a=a +this.$ti=b}, +ar:function ar(a,b){this.a=a +this.$ti=b}, +bD:function bD(a,b){this.a=a +this.$ti=b}, +bC:function bC(){}, +a4:function a4(a,b){this.a=a +this.$ti=b}, +as:function as(a,b){this.a=a +this.$ti=b}, +dc:function dc(a,b){this.a=a +this.b=b}, +bk:function bk(a){this.a=a}, +aL:function aL(a){this.a=a}, +dM:function dM(){}, +h:function h(){}, +H:function H(){}, +aC:function aC(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.$ti=d}, +a7:function a7(a,b){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null}, +P:function P(a,b,c){this.a=a +this.b=b +this.$ti=c}, +ba:function ba(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bm:function bm(a,b){this.a=null +this.b=a +this.c=b}, +j:function j(a,b,c){this.a=a +this.b=b +this.$ti=c}, +D:function D(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bA:function bA(a,b){this.a=a +this.b=b}, +be:function be(a,b,c){this.a=a +this.b=b +this.$ti=c}, +c6:function c6(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +aD:function aD(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bb:function bb(a,b,c){this.a=a +this.b=b +this.$ti=c}, +cI:function cI(a,b){this.a=a +this.b=b}, +a9:function a9(a,b,c){this.a=a +this.b=b +this.$ti=c}, +aM:function aM(a,b,c){this.a=a +this.b=b +this.$ti=c}, +cA:function cA(a,b){this.a=a +this.b=b}, +bt:function bt(a,b,c){this.a=a +this.b=b +this.$ti=c}, +cB:function cB(a,b){this.a=a +this.b=b +this.c=!1}, +bc:function bc(a){this.$ti=a}, +c4:function c4(){}, +bB:function bB(a,b){this.a=a +this.$ti=b}, +cS:function cS(a,b){this.a=a +this.$ti=b}, +c7:function c7(){}, +cM:function cM(){}, +aU:function aU(){}, +aA:function aA(a,b){this.a=a +this.$ti=b}, +aR:function aR(a){this.a=a}, +bP:function bP(){}, +jb(){throw A.a(A.q("Cannot modify unmodifiable Map"))}, +ig(a){var s=v.mangledGlobalNames[a] +if(s!=null)return s +return"minified:"+a}, +i6(a,b){var s +if(b!=null){s=b.x +if(s!=null)return s}return t.D.b(a)}, +d(a){var s +if(typeof a=="string")return a +if(typeof a=="number"){if(a!==0)return""+a}else if(!0===a)return"true" +else if(!1===a)return"false" +else if(a==null)return"null" +s=J.b4(a) +return s}, +cx(a){var s,r=$.h0 +if(r==null)r=$.h0=Symbol("identityHashCode") +s=a[r] +if(s==null){s=Math.random()*0x3fffffff|0 +a[r]=s}return s}, +h1(a,b){var s,r,q,p,o,n=null,m=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a) +if(m==null)return n +s=m[3] +if(b==null){if(s!=null)return parseInt(a,10) +if(m[2]!=null)return parseInt(a,16) +return n}if(b<2||b>36)throw A.a(A.u(b,2,36,"radix",n)) +if(b===10&&s!=null)return parseInt(a,10) +if(b<10||s==null){r=b<=10?47+b:86+b +q=m[1] +for(p=q.length,o=0;or)return n}return parseInt(a,b)}, +dL(a){return A.jt(a)}, +jt(a){var s,r,q,p +if(a instanceof A.t)return A.O(A.a3(a),null) +s=J.a2(a) +if(s===B.Q||s===B.T||t.cr.b(a)){r=B.t(a) +if(r!=="Object"&&r!=="")return r +q=a.constructor +if(typeof q=="function"){p=q.name +if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.O(A.a3(a),null)}, +jw(a){if(typeof a=="number"||A.fi(a))return J.b4(a) +if(typeof a=="string")return JSON.stringify(a) +if(a instanceof A.au)return a.h(0) +return"Instance of '"+A.dL(a)+"'"}, +jv(){if(!!self.location)return self.location.href +return null}, +h_(a){var s,r,q,p,o=a.length +if(o<=500)return String.fromCharCode.apply(null,a) +for(s="",r=0;r65535)return A.jx(a)}return A.h_(a)}, +jy(a,b,c){var s,r,q,p +if(c<=500&&b===0&&c===a.length)return String.fromCharCode.apply(null,a) +for(s=b,r="";s>>0,s&1023|56320)}}throw A.a(A.u(a,0,1114111,null,null))}, +am(a,b,c){var s,r,q={} +q.a=0 +s=[] +r=[] +q.a=b.length +B.b.aE(s,b) +q.b="" +if(c!=null&&c.a!==0)c.O(0,new A.dK(q,r,s)) +return J.iZ(a,new A.dz(B.a1,0,s,r,0))}, +ju(a,b,c){var s,r,q +if(Array.isArray(b))s=c==null||c.a===0 +else s=!1 +if(s){r=b.length +if(r===0){if(!!a.$0)return a.$0()}else if(r===1){if(!!a.$1)return a.$1(b[0])}else if(r===2){if(!!a.$2)return a.$2(b[0],b[1])}else if(r===3){if(!!a.$3)return a.$3(b[0],b[1],b[2])}else if(r===4){if(!!a.$4)return a.$4(b[0],b[1],b[2],b[3])}else if(r===5)if(!!a.$5)return a.$5(b[0],b[1],b[2],b[3],b[4]) +q=a[""+"$"+r] +if(q!=null)return q.apply(a,b)}return A.js(a,b,c)}, +js(a,b,c){var s,r,q,p,o,n,m,l,k,j,i,h,g=Array.isArray(b)?b:A.ak(b,!0,t.z),f=g.length,e=a.$R +if(fn)return A.am(a,g,null) +if(fe)return A.am(a,g,c) +if(g===b)g=A.ak(g,!0,t.z) +l=Object.keys(q) +if(c==null)for(r=l.length,k=0;k=s)return A.eX(b,s,a,r) +return A.f2(b,r)}, +l0(a,b,c){if(a>c)return A.u(a,0,c,"start",null) +if(b!=null)if(bc)return A.u(b,a,c,"end",null) +return new A.W(!0,b,"end",null)}, +d7(a){return new A.W(!0,a,null,null)}, +a(a){return A.i3(new Error(),a)}, +i3(a,b){var s +if(b==null)b=new A.by() +a.dartException=b +s=A.lw +if("defineProperty" in Object){Object.defineProperty(a,"message",{get:s}) +a.name=""}else a.toString=s +return a}, +lw(){return J.b4(this.dartException)}, +z(a){throw A.a(a)}, +ie(a,b){throw A.i3(b,a)}, +aH(a){throw A.a(A.S(a))}, +aa(a){var s,r,q,p,o,n +a=A.id(a.replace(String({}),"$receiver$")) +s=a.match(/\\\$[a-zA-Z]+\\\$/g) +if(s==null)s=A.b([],t.s) +r=s.indexOf("\\$arguments\\$") +q=s.indexOf("\\$argumentsExpr\\$") +p=s.indexOf("\\$expr\\$") +o=s.indexOf("\\$method\\$") +n=s.indexOf("\\$receiver\\$") +return new A.e4(a.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,q,p,o,n)}, +e5(a){return function($expr$){var $argumentsExpr$="$arguments$" +try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(a)}, +hc(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +f_(a,b){var s=b==null,r=s?null:b.method +return new A.ce(a,r,s?null:b.receiver)}, +b2(a){if(a==null)return new A.cu(a) +if(typeof a!=="object")return a +if("dartException" in a)return A.aG(a,a.dartException) +return A.kW(a)}, +aG(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +return b}, +kW(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null +if(!("message" in a))return a +s=a.message +if("number" in a&&typeof a.number=="number"){r=a.number +q=r&65535 +if((B.c.a7(r,16)&8191)===10)switch(q){case 438:return A.aG(a,A.f_(A.d(s)+" (Error "+q+")",e)) +case 445:case 5007:p=A.d(s) +return A.aG(a,new A.bq(p+" (Error "+q+")",e))}}if(a instanceof TypeError){o=$.ik() +n=$.il() +m=$.im() +l=$.io() +k=$.ir() +j=$.is() +i=$.iq() +$.ip() +h=$.iu() +g=$.it() +f=o.X(s) +if(f!=null)return A.aG(a,A.f_(s,f)) +else{f=n.X(s) +if(f!=null){f.method="call" +return A.aG(a,A.f_(s,f))}else{f=m.X(s) +if(f==null){f=l.X(s) +if(f==null){f=k.X(s) +if(f==null){f=j.X(s) +if(f==null){f=i.X(s) +if(f==null){f=l.X(s) +if(f==null){f=h.X(s) +if(f==null){f=g.X(s) +p=f!=null}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0}else p=!0 +if(p)return A.aG(a,new A.bq(s,f==null?e:f.method))}}return A.aG(a,new A.cL(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.bv() +s=function(b){try{return String(b)}catch(d){}return null}(a) +return A.aG(a,new A.W(!1,e,e,typeof s=="string"?s.replace(/^RangeError:\s*/,""):s))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof s=="string"&&s==="too much recursion")return new A.bv() +return a}, +i8(a){if(a==null)return J.aJ(a) +if(typeof a=="object")return A.cx(a) +return J.aJ(a)}, +l2(a,b){var s,r,q,p=a.length +for(s=0;s=0 +else if(b instanceof A.ax){s=B.a.A(a,c) +return b.b.test(s)}else{s=J.eS(b,B.a.A(a,c)) +return!s.gC(s)}}, +fn(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") +return a}, +ls(a,b,c,d){var s=b.bq(a,d) +if(s==null)return a +return A.fu(a,s.b.index,s.gR(),c)}, +id(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return a}, +R(a,b,c){var s +if(typeof b=="string")return A.lr(a,b,c) +if(b instanceof A.ax){s=b.gbw() +s.lastIndex=0 +return a.replace(s,A.fn(c))}return A.lq(a,b,c)}, +lq(a,b,c){var s,r,q,p +for(s=J.eS(b,a),s=s.gq(s),r=0,q="";s.l();){p=s.gm() +q=q+a.substring(r,p.gM())+c +r=p.gR()}s=q+a.substring(r) +return s.charCodeAt(0)==0?s:s}, +lr(a,b,c){var s,r,q +if(b===""){if(a==="")return c +s=a.length +r=""+c +for(q=0;q=0)return a.split(b).join(c) +return a.replace(new RegExp(A.id(b),"g"),A.fn(c))}, +hX(a){return a}, +lp(a,b,c,d){var s,r,q,p,o,n,m +for(s=b.aF(0,a),s=new A.cU(s.a,s.b,s.c),r=t.d,q=0,p="";s.l();){o=s.d +if(o==null)o=r.a(o) +n=o.b +m=n.index +p=p+A.d(A.hX(B.a.j(a,q,m)))+A.d(c.$1(o)) +q=m+n[0].length}s=p+A.d(A.hX(B.a.A(a,q))) +return s.charCodeAt(0)==0?s:s}, +lt(a,b,c,d){var s,r,q,p +if(typeof b=="string"){s=a.indexOf(b,d) +if(s<0)return a +return A.fu(a,s,s+b.length,c)}if(b instanceof A.ax)return d===0?a.replace(b.b,A.fn(c)):A.ls(a,b,c,d) +r=J.iT(b,a,d) +q=r.gq(r) +if(!q.l())return a +p=q.gm() +return B.a.Y(a,p.gM(),p.gR(),c)}, +fu(a,b,c,d){return a.substring(0,b)+d+a.substring(c)}, +b8:function b8(a,b){this.a=a +this.$ti=b}, +b7:function b7(){}, +b9:function b9(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bE:function bE(a,b){this.a=a +this.$ti=b}, +d0:function d0(a,b){var _=this +_.a=a +_.b=b +_.c=0 +_.d=null}, +dw:function dw(){}, +bg:function bg(a,b){this.a=a +this.$ti=b}, +dz:function dz(a,b,c,d,e){var _=this +_.a=a +_.c=b +_.d=c +_.e=d +_.f=e}, +dK:function dK(a,b,c){this.a=a +this.b=b +this.c=c}, +e4:function e4(a,b,c,d,e,f){var _=this +_.a=a +_.b=b +_.c=c +_.d=d +_.e=e +_.f=f}, +bq:function bq(a,b){this.a=a +this.b=b}, +ce:function ce(a,b,c){this.a=a +this.b=b +this.c=c}, +cL:function cL(a){this.a=a}, +cu:function cu(a){this.a=a}, +au:function au(){}, +dj:function dj(){}, +dk:function dk(){}, +dV:function dV(){}, +dS:function dS(){}, +b6:function b6(a,b){this.a=a +this.b=b}, +cV:function cV(a){this.a=a}, +cz:function cz(a){this.a=a}, +ej:function ej(){}, +a5:function a5(a){var _=this +_.a=0 +_.f=_.e=_.d=_.c=_.b=null +_.r=0 +_.$ti=a}, +dB:function dB(a){this.a=a}, +dC:function dC(a,b){this.a=a +this.b=b +this.c=null}, +a6:function a6(a,b){this.a=a +this.$ti=b}, +cl:function cl(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +eH:function eH(a){this.a=a}, +eI:function eI(a){this.a=a}, +eJ:function eJ(a){this.a=a}, +ax:function ax(a,b){var _=this +_.a=a +_.b=b +_.d=_.c=null}, +aV:function aV(a){this.b=a}, +cT:function cT(a,b,c){this.a=a +this.b=b +this.c=c}, +cU:function cU(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +bw:function bw(a,b){this.a=a +this.c=b}, +d1:function d1(a,b,c){this.a=a +this.b=b +this.c=c}, +ek:function ek(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +hP(a){return a}, +es(a,b,c){if(a>>>0!==a||a>=c)throw A.a(A.bR(b,a))}, +kt(a,b,c){var s +if(!(a>>>0!==a))if(b==null)s=a>c +else s=b>>>0!==b||a>b||b>c +else s=!0 +if(s)throw A.a(A.l0(a,b,c)) +if(b==null)return c +return b}, +cp:function cp(){}, +cr:function cr(){}, +aP:function aP(){}, +bo:function bo(){}, +cq:function cq(){}, +cs:function cs(){}, +ay:function ay(){}, +bF:function bF(){}, +bG:function bG(){}, +h4(a,b){var s=b.c +return s==null?b.c=A.f9(a,b.y,!0):s}, +f3(a,b){var s=b.c +return s==null?b.c=A.bJ(a,"fN",[b.y]):s}, +h5(a){var s=a.x +if(s===6||s===7||s===8)return A.h5(a.y) +return s===12||s===13}, +jz(a){return a.at}, +eE(a){return A.d4(v.typeUniverse,a,!1)}, +ld(a,b){var s,r,q,p,o +if(a==null)return null +s=b.z +r=a.as +if(r==null)r=a.as=new Map() +q=b.at +p=r.get(q) +if(p!=null)return p +o=A.ae(v.typeUniverse,a.y,s,0) +r.set(q,o) +return o}, +ae(a,b,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.x +switch(c){case 5:case 1:case 2:case 3:case 4:return b +case 6:s=b.y +r=A.ae(a,s,a0,a1) +if(r===s)return b +return A.hs(a,r,!0) +case 7:s=b.y +r=A.ae(a,s,a0,a1) +if(r===s)return b +return A.f9(a,r,!0) +case 8:s=b.y +r=A.ae(a,s,a0,a1) +if(r===s)return b +return A.hr(a,r,!0) +case 9:q=b.z +p=A.bQ(a,q,a0,a1) +if(p===q)return b +return A.bJ(a,b.y,p) +case 10:o=b.y +n=A.ae(a,o,a0,a1) +m=b.z +l=A.bQ(a,m,a0,a1) +if(n===o&&l===m)return b +return A.f7(a,n,l) +case 12:k=b.y +j=A.ae(a,k,a0,a1) +i=b.z +h=A.kS(a,i,a0,a1) +if(j===k&&h===i)return b +return A.hq(a,j,h) +case 13:g=b.z +a1+=g.length +f=A.bQ(a,g,a0,a1) +o=b.y +n=A.ae(a,o,a0,a1) +if(f===g&&n===o)return b +return A.f8(a,n,f,!0) +case 14:e=b.y +if(e=0)p+=" "+r[q];++q}return p+"})"}, +hR(a3,a4,a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2=", " +if(a5!=null){s=a5.length +if(a4==null){a4=A.b([],t.s) +r=null}else r=a4.length +q=a4.length +for(p=s;p>0;--p)a4.push("T"+(q+p)) +for(o=t.O,n=t._,m="<",l="",p=0;p0){a0+=a1+"[" +for(a1="",p=0;p0){a0+=a1+"{" +for(a1="",p=0;p "+a}, +O(a,b){var s,r,q,p,o,n,m=a.x +if(m===5)return"erased" +if(m===2)return"dynamic" +if(m===3)return"void" +if(m===1)return"Never" +if(m===4)return"any" +if(m===6){s=A.O(a.y,b) +return s}if(m===7){r=a.y +s=A.O(r,b) +q=r.x +return(q===12||q===13?"("+s+")":s)+"?"}if(m===8)return"FutureOr<"+A.O(a.y,b)+">" +if(m===9){p=A.kV(a.y) +o=a.z +return o.length>0?p+("<"+A.hU(o,b)+">"):p}if(m===11)return A.kQ(a,b) +if(m===12)return A.hR(a,b,null) +if(m===13)return A.hR(a.y,b,a.z) +if(m===14){n=a.y +return b[b.length-1-n]}return"?"}, +kV(a){var s=v.mangledGlobalNames[a] +if(s!=null)return s +return"minified:"+a}, +kd(a,b){var s=a.tR[b] +for(;typeof s=="string";)s=a.tR[s] +return s}, +kc(a,b){var s,r,q,p,o,n=a.eT,m=n[b] +if(m==null)return A.d4(a,b,!1) +else if(typeof m=="number"){s=m +r=A.bK(a,5,"#") +q=A.er(s) +for(p=0;p0)p+="<"+A.bI(c)+">" +s=a.eC.get(p) +if(s!=null)return s +r=new A.U(null,null) +r.x=9 +r.y=b +r.z=c +if(c.length>0)r.c=c[0] +r.at=p +q=A.ab(a,r) +a.eC.set(p,q) +return q}, +f7(a,b,c){var s,r,q,p,o,n +if(b.x===10){s=b.y +r=b.z.concat(c)}else{r=c +s=b}q=s.at+(";<"+A.bI(r)+">") +p=a.eC.get(q) +if(p!=null)return p +o=new A.U(null,null) +o.x=10 +o.y=s +o.z=r +o.at=q +n=A.ab(a,o) +a.eC.set(q,n) +return n}, +k8(a,b,c){var s,r,q="+"+(b+"("+A.bI(c)+")"),p=a.eC.get(q) +if(p!=null)return p +s=new A.U(null,null) +s.x=11 +s.y=b +s.z=c +s.at=q +r=A.ab(a,s) +a.eC.set(q,r) +return r}, +hq(a,b,c){var s,r,q,p,o,n=b.at,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+A.bI(m) +if(j>0){s=l>0?",":"" +g+=s+"["+A.bI(k)+"]"}if(h>0){s=l>0?",":"" +g+=s+"{"+A.k2(i)+"}"}r=n+(g+")") +q=a.eC.get(r) +if(q!=null)return q +p=new A.U(null,null) +p.x=12 +p.y=b +p.z=c +p.at=r +o=A.ab(a,p) +a.eC.set(r,o) +return o}, +f8(a,b,c,d){var s,r=b.at+("<"+A.bI(c)+">"),q=a.eC.get(r) +if(q!=null)return q +s=A.k4(a,b,c,r,d) +a.eC.set(r,s) +return s}, +k4(a,b,c,d,e){var s,r,q,p,o,n,m,l +if(e){s=c.length +r=A.er(s) +for(q=0,p=0;p0){n=A.ae(a,b,r,0) +m=A.bQ(a,c,r,0) +return A.f8(a,n,m,c!==m)}}l=new A.U(null,null) +l.x=13 +l.y=b +l.z=c +l.at=d +return A.ab(a,l)}, +hk(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +hm(a){var s,r,q,p,o,n,m,l=a.r,k=a.s +for(s=l.length,r=0;r=48&&q<=57)r=A.jX(r+1,q,l,k) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.hl(a,r,l,k,!1) +else if(q===46)r=A.hl(a,r,l,k,!0) +else{++r +switch(q){case 44:break +case 58:k.push(!1) +break +case 33:k.push(!0) +break +case 59:k.push(A.ap(a.u,a.e,k.pop())) +break +case 94:k.push(A.k7(a.u,k.pop())) +break +case 35:k.push(A.bK(a.u,5,"#")) +break +case 64:k.push(A.bK(a.u,2,"@")) +break +case 126:k.push(A.bK(a.u,3,"~")) +break +case 60:k.push(a.p) +a.p=k.length +break +case 62:A.jZ(a,k) +break +case 38:A.jY(a,k) +break +case 42:p=a.u +k.push(A.hs(p,A.ap(p,a.e,k.pop()),a.n)) +break +case 63:p=a.u +k.push(A.f9(p,A.ap(p,a.e,k.pop()),a.n)) +break +case 47:p=a.u +k.push(A.hr(p,A.ap(p,a.e,k.pop()),a.n)) +break +case 40:k.push(-3) +k.push(a.p) +a.p=k.length +break +case 41:A.jW(a,k) +break +case 91:k.push(a.p) +a.p=k.length +break +case 93:o=k.splice(a.p) +A.hn(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-1) +break +case 123:k.push(a.p) +a.p=k.length +break +case 125:o=k.splice(a.p) +A.k0(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-2) +break +case 43:n=l.indexOf("(",r) +k.push(l.substring(r,n)) +k.push(-4) +k.push(a.p) +a.p=k.length +r=n+1 +break +default:throw"Bad character "+q}}}m=k.pop() +return A.ap(a.u,a.e,m)}, +jX(a,b,c,d){var s,r,q=b-48 +for(s=c.length;a=48&&r<=57))break +q=q*10+(r-48)}d.push(q) +return a}, +hl(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +for(s=c.length;m>>0)-97&65535)<26||r===95||r===36||r===124))q=r>=48&&r<=57 +else q=!0 +if(!q)break}}p=c.substring(b,m) +if(e){s=a.u +o=a.e +if(o.x===10)o=o.y +n=A.kd(s,o.y)[p] +if(n==null)A.z('No "'+p+'" in "'+A.jz(o)+'"') +d.push(A.em(s,o,n))}else d.push(p) +return m}, +jZ(a,b){var s,r=a.u,q=A.hj(a,b),p=b.pop() +if(typeof p=="string")b.push(A.bJ(r,p,q)) +else{s=A.ap(r,a.e,p) +switch(s.x){case 12:b.push(A.f8(r,s,q,a.n)) +break +default:b.push(A.f7(r,s,q)) +break}}}, +jW(a,b){var s,r,q,p,o,n=null,m=a.u,l=b.pop() +if(typeof l=="number")switch(l){case-1:s=b.pop() +r=n +break +case-2:r=b.pop() +s=n +break +default:b.push(l) +r=n +s=r +break}else{b.push(l) +r=n +s=r}q=A.hj(a,b) +l=b.pop() +switch(l){case-3:l=b.pop() +if(s==null)s=m.sEA +if(r==null)r=m.sEA +p=A.ap(m,a.e,l) +o=new A.cY() +o.a=q +o.b=s +o.c=r +b.push(A.hq(m,p,o)) +return +case-4:b.push(A.k8(m,b.pop(),q)) +return +default:throw A.a(A.bZ("Unexpected state under `()`: "+A.d(l)))}}, +jY(a,b){var s=b.pop() +if(0===s){b.push(A.bK(a.u,1,"0&")) +return}if(1===s){b.push(A.bK(a.u,4,"1&")) +return}throw A.a(A.bZ("Unexpected extended operation "+A.d(s)))}, +hj(a,b){var s=b.splice(a.p) +A.hn(a.u,a.e,s) +a.p=b.pop() +return s}, +ap(a,b,c){if(typeof c=="string")return A.bJ(a,c,a.sEA) +else if(typeof c=="number"){b.toString +return A.k_(a,b,c)}else return c}, +hn(a,b,c){var s,r=c.length +for(s=0;sn)return!1 +m=n-o +l=s.b +k=r.b +j=l.length +i=k.length +if(o+j=d)return!1 +a1=f[b] +b+=3 +if(a00?new Array(q):v.typeUniverse.sEA +for(o=0;o0?new Array(a):v.typeUniverse.sEA}, +U:function U(a,b){var _=this +_.a=a +_.b=b +_.w=_.r=_.c=null +_.x=0 +_.at=_.as=_.Q=_.z=_.y=null}, +cY:function cY(){this.c=this.b=this.a=null}, +el:function el(a){this.a=a}, +cX:function cX(){}, +bH:function bH(a){this.a=a}, +hp(a,b,c){return 0}, +d2:function d2(a){var _=this +_.a=a +_.e=_.d=_.c=_.b=null}, +aY:function aY(a,b){this.a=a +this.$ti=b}, +jr(a,b,c){return A.l2(a,new A.a5(b.i("@<0>").H(c).i("a5<1,2>")))}, +dD(a,b){return new A.a5(a.i("@<0>").H(b).i("a5<1,2>"))}, +f0(a){var s,r={} +if(A.fr(a))return"{...}" +s=new A.w("") +try{$.aI.push(a) +s.a+="{" +r.a=!0 +a.O(0,new A.dF(r,s)) +s.a+="}"}finally{$.aI.pop()}r=s.a +return r.charCodeAt(0)==0?r:r}, +p:function p(){}, +I:function I(){}, +dF:function dF(a,b){this.a=a +this.b=b}, +d5:function d5(){}, +bl:function bl(){}, +aE:function aE(a,b){this.a=a +this.$ti=b}, +bL:function bL(){}, +kO(a,b){var s,r,q,p=null +try{p=JSON.parse(a)}catch(r){s=A.b2(r) +q=A.n(String(s),null,null) +throw A.a(q)}q=A.et(p) +return q}, +et(a){var s +if(a==null)return null +if(typeof a!="object")return a +if(Object.getPrototypeOf(a)!==Array.prototype)return new A.cZ(a,Object.create(null)) +for(s=0;s=0)return null +return r}return null}, +jT(a,b,c,d){var s=a?$.iw():$.iv() +if(s==null)return null +if(0===c&&d===b.length)return A.hh(s,b) +return A.hh(s,b.subarray(c,A.a1(c,d,b.length)))}, +hh(a,b){var s,r +try{s=a.decode(b) +return s}catch(r){}return null}, +fG(a,b,c,d,e,f){if(B.c.aT(f,4)!==0)throw A.a(A.n("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw A.a(A.n("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw A.a(A.n("Invalid base64 padding, more than two '=' characters",a,b))}, +fU(a,b,c){return new A.bj(a,b)}, +kw(a){return a.aB()}, +jU(a,b){return new A.ef(a,[],A.kY())}, +jV(a,b,c){var s,r=new A.w(""),q=A.jU(r,b) +q.aR(a) +s=r.a +return s.charCodeAt(0)==0?s:s}, +ko(a){switch(a){case 65:return"Missing extension byte" +case 67:return"Unexpected extension byte" +case 69:return"Invalid UTF-8 byte" +case 71:return"Overlong encoding" +case 73:return"Out of unicode range" +case 75:return"Encoded surrogate" +case 77:return"Unfinished UTF-8 octet sequence" +default:return""}}, +kn(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) +for(s=J.Z(a),r=0;r>>0!==0?255:q}return o}, +cZ:function cZ(a,b){this.a=a +this.b=b +this.c=null}, +d_:function d_(a){this.a=a}, +eb:function eb(){}, +ea:function ea(){}, +bW:function bW(){}, +d3:function d3(){}, +bX:function bX(a){this.a=a}, +c_:function c_(){}, +c0:function c0(){}, +ah:function ah(){}, +a_:function a_(){}, +c5:function c5(){}, +bj:function bj(a,b){this.a=a +this.b=b}, +cg:function cg(a,b){this.a=a +this.b=b}, +cf:function cf(){}, +ci:function ci(a){this.b=a}, +ch:function ch(a){this.a=a}, +eg:function eg(){}, +eh:function eh(a,b){this.a=a +this.b=b}, +ef:function ef(a,b,c){this.c=a +this.a=b +this.b=c}, +cP:function cP(){}, +cR:function cR(){}, +eq:function eq(a){this.b=0 +this.c=a}, +cQ:function cQ(a){this.a=a}, +ep:function ep(a){this.a=a +this.b=16 +this.c=0}, +Q(a,b){var s=A.h1(a,b) +if(s!=null)return s +throw A.a(A.n(a,null,null))}, +a0(a,b,c,d){var s,r=c?J.fR(a,d):J.fQ(a,d) +if(a!==0&&b!=null)for(s=0;s")) +for(s=J.E(a);s.l();)r.push(s.gm()) +if(b)return r +return J.dy(r)}, +ak(a,b,c){var s +if(b)return A.fV(a,c) +s=J.dy(A.fV(a,c)) +return s}, +fV(a,b){var s,r +if(Array.isArray(a))return A.b(a.slice(0),b.i("o<0>")) +s=A.b([],b.i("o<0>")) +for(r=J.E(a);r.l();)s.push(r.gm()) +return s}, +X(a,b){return J.fS(A.dE(a,!1,b))}, +h8(a,b,c){var s,r +if(Array.isArray(a)){s=a +r=s.length +c=A.a1(b,c,r) +return A.h2(b>0||c>>4]&1<<(o&15))!==0)p+=A.J(o) +else p=d&&o===32?p+"+":p+"%"+n[o>>>4&15]+n[o&15]}return p.charCodeAt(0)==0?p:p}, +av(a){if(typeof a=="number"||A.fi(a)||a==null)return J.b4(a) +if(typeof a=="string")return JSON.stringify(a) +return A.jw(a)}, +bZ(a){return new A.bY(a)}, +G(a){return new A.W(!1,null,null,a)}, +bV(a,b,c){return new A.W(!0,a,b,c)}, +j2(a){return new A.W(!1,null,a,"Must not be null")}, +aK(a,b){return a==null?A.z(A.j2(b)):a}, +f1(a){var s=null +return new A.a8(s,s,!1,s,s,a)}, +f2(a,b){return new A.a8(null,null,!0,a,b,"Value not in range")}, +u(a,b,c,d,e){return new A.a8(b,c,!0,a,d,"Invalid value")}, +h3(a,b,c,d){if(ac)throw A.a(A.u(a,b,c,d,null)) +return a}, +a1(a,b,c){if(0>a||a>c)throw A.a(A.u(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw A.a(A.u(b,a,c,"end",null)) +return b}return c}, +T(a,b){if(a<0)throw A.a(A.u(a,0,null,b,null)) +return a}, +eX(a,b,c,d){return new A.bf(b,!0,a,d,"Index out of range")}, +q(a){return new A.cN(a)}, +hd(a){return new A.cK(a)}, +cG(a){return new A.aB(a)}, +S(a){return new A.c2(a)}, +n(a,b,c){return new A.aN(a,b,c)}, +jn(a,b,c){var s,r +if(A.fr(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=A.b([],t.s) +$.aI.push(a) +try{A.kN(a,s)}finally{$.aI.pop()}r=A.an(b,s,", ")+c +return r.charCodeAt(0)==0?r:r}, +fP(a,b,c){var s,r +if(A.fr(a))return b+"..."+c +s=new A.w(b) +$.aI.push(a) +try{r=s +r.a=A.an(r.a,a,", ")}finally{$.aI.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +kN(a,b){var s,r,q,p,o,n,m,l=a.gq(a),k=0,j=0 +while(!0){if(!(k<80||j<3))break +if(!l.l())return +s=A.d(l.gm()) +b.push(s) +k+=s.length+2;++j}if(!l.l()){if(j<=5)return +r=b.pop() +q=b.pop()}else{p=l.gm();++j +if(!l.l()){if(j<=4){b.push(A.d(p)) +return}r=A.d(p) +q=b.pop() +k+=r.length+2}else{o=l.gm();++j +for(;l.l();p=o,o=n){n=l.gm();++j +if(j>100){while(!0){if(!(k>75&&j>3))break +k-=b.pop().length+2;--j}b.push("...") +return}}q=A.d(p) +r=A.d(o) +k+=r.length+q.length+4}}if(j>b.length+2){k+=5 +m="..."}else m=null +while(!0){if(!(k>80&&b.length>3))break +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)b.push(m) +b.push(q) +b.push(r)}, +fW(a,b,c,d,e){return new A.as(a,b.i("@<0>").H(c).H(d).H(e).i("as<1,2,3,4>"))}, +fY(a,b,c){var s +if(B.l===c){s=J.aJ(a) +b=J.aJ(b) +return A.h9(A.cH(A.cH($.fy(),s),b))}s=J.aJ(a) +b=J.aJ(b) +c=c.gD(c) +c=A.h9(A.cH(A.cH(A.cH($.fy(),s),b),c)) +return c}, +hf(a){var s,r=null,q=new A.w(""),p=A.b([-1],t.t) +A.jP(r,r,r,q,p) +p.push(q.a.length) +q.a+="," +A.jN(B.h,B.G.cw(a),q) +s=q.a +return new A.cO(s.charCodeAt(0)==0?s:s,p,r).ga6()}, +L(a5){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3=null,a4=a5.length +if(a4>=5){s=((a5.charCodeAt(4)^58)*3|a5.charCodeAt(0)^100|a5.charCodeAt(1)^97|a5.charCodeAt(2)^116|a5.charCodeAt(3)^97)>>>0 +if(s===0)return A.he(a4=14)r[7]=a4 +q=r[1] +if(q>=0)if(A.hV(a5,0,q,20,r)===20)r[7]=q +p=r[2]+1 +o=r[3] +n=r[4] +m=r[5] +l=r[6] +if(lq+3){j=a3 +k=!1}else{i=o>0 +if(i&&o+1===n){j=a3 +k=!1}else{if(!B.a.u(a5,"\\",n))if(p>0)h=B.a.u(a5,"\\",p-1)||B.a.u(a5,"\\",p-2) +else h=!1 +else h=!0 +if(h){j=a3 +k=!1}else{if(!(mn+2&&B.a.u(a5,"/..",m-3) +else h=!0 +if(h){j=a3 +k=!1}else{if(q===4)if(B.a.u(a5,"file",0)){if(p<=0){if(!B.a.u(a5,"/",n)){g="file:///" +s=3}else{g="file://" +s=2}a5=g+B.a.j(a5,n,a4) +q-=0 +i=s-0 +m+=i +l+=i +a4=a5.length +p=7 +o=7 +n=7}else if(n===m){++l +f=m+1 +a5=B.a.Y(a5,n,m,"/");++a4 +m=f}j="file"}else if(B.a.u(a5,"http",0)){if(i&&o+3===n&&B.a.u(a5,"80",o+1)){l-=3 +e=n-3 +m-=3 +a5=B.a.Y(a5,o,n,"") +a4-=3 +n=e}j="http"}else j=a3 +else if(q===5&&B.a.u(a5,"https",0)){if(i&&o+4===n&&B.a.u(a5,"443",o+1)){l-=4 +e=n-4 +m-=4 +a5=B.a.Y(a5,o,n,"") +a4-=3 +n=e}j="https"}else j=a3 +k=!0}}}}else j=a3 +if(k){if(a40)j=A.hC(a5,0,q) +else{if(q===0)A.b_(a5,0,"Invalid empty scheme") +j=""}if(p>0){d=q+3 +c=d9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) +o=A.Q(B.a.j(a,r,s),null) +if(o>255)k.$2(l,r) +n=q+1 +j[q]=o +r=s+1 +q=n}}if(q!==3)k.$2(m,c) +o=A.Q(B.a.j(a,r,c),null) +if(o>255)k.$2(l,r) +j[q]=o +return j}, +hg(a,b,a0){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null,d=new A.e7(a),c=new A.e8(d,a) +if(a.length<2)d.$2("address is too short",e) +s=A.b([],t.t) +for(r=b,q=r,p=!1,o=!1;r>>0) +s.push((k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)d.$2("an address with a wildcard must have less than 7 parts",e)}else if(s.length!==8)d.$2("an address without a wildcard must contain exactly 8 parts",e) +j=new Uint8Array(16) +for(l=s.length,i=9-l,r=0,h=0;r?\\\\|]',!1)))if(b)throw A.a(A.G("Illegal character in path")) +else throw A.a(A.q("Illegal character in path: "+q))}}, +hu(a,b){var s,r="Illegal drive letter " +if(!(65<=a&&a<=90))s=97<=a&&a<=122 +else s=!0 +if(s)return +if(b)throw A.a(A.G(r+A.h7(a))) +else throw A.a(A.q(r+A.h7(a)))}, +ki(a,b){var s=null,r=A.b(a.split("/"),t.s) +if(B.a.p(a,"/"))return A.x(s,s,r,"file") +else return A.x(s,s,r,s)}, +kj(a,b){var s,r,q,p,o="\\",n=null,m="file" +if(B.a.p(a,"\\\\?\\"))if(B.a.u(a,"UNC\\",4))a=B.a.Y(a,0,7,o) +else{a=B.a.A(a,4) +if(a.length<3||a.charCodeAt(1)!==58||a.charCodeAt(2)!==92)throw A.a(A.bV(a,"path","Windows paths with \\\\?\\ prefix must be absolute"))}else a=A.R(a,"/",o) +s=a.length +if(s>1&&a.charCodeAt(1)===58){A.hu(a.charCodeAt(0),!0) +if(s===2||a.charCodeAt(2)!==92)throw A.a(A.bV(a,"path","Windows paths with drive letter must be absolute")) +r=A.b(a.split(o),t.s) +A.bN(r,!0,1) +return A.x(n,n,r,m)}if(B.a.p(a,o))if(B.a.u(a,o,1)){q=B.a.a5(a,o,2) +s=q<0 +p=s?B.a.A(a,2):B.a.j(a,2,q) +r=A.b((s?"":B.a.A(a,q+1)).split(o),t.s) +A.bN(r,!0,0) +return A.x(p,n,r,m)}else{r=A.b(a.split(o),t.s) +A.bN(r,!0,0) +return A.x(n,n,r,m)}else{r=A.b(a.split(o),t.s) +A.bN(r,!0,0) +return A.x(n,n,r,n)}}, +fb(a,b){if(a!=null&&a===A.hv(b))return null +return a}, +hz(a,b,c,d){var s,r,q,p,o,n +if(a==null)return null +if(b===c)return"" +if(a.charCodeAt(b)===91){s=c-1 +if(a.charCodeAt(s)!==93)A.b_(a,b,"Missing end `]` to match `[` in host") +r=b+1 +q=A.kg(a,r,s) +if(q=b&&q=b&&s>>4]&1<<(p&15))!==0){if(q&&65<=p&&90>=p){if(i==null)i=new A.w("") +if(r>>4]&1<<(o&15))!==0){if(p&&65<=o&&90>=o){if(q==null)q=new A.w("") +if(r>>4]&1<<(o&15))!==0)A.b_(a,s,"Invalid character") +else{if((o&64512)===55296&&s+1>>4]&1<<(q&15))!==0))A.b_(a,s,"Illegal scheme character") +if(65<=q&&q<=90)r=!0}a=B.a.j(a,b,c) +return A.ke(r?a.toLowerCase():a)}, +ke(a){if(a==="http")return"http" +if(a==="file")return"file" +if(a==="https")return"https" +if(a==="package")return"package" +return a}, +hD(a,b,c){if(a==null)return"" +return A.bO(a,b,c,B.W,!1,!1)}, +hA(a,b,c,d,e,f){var s,r=e==="file",q=r||f +if(a==null){if(d==null)return r?"/":"" +s=new A.j(d,new A.eo(),A.y(d).i("j<1,e>")).a0(0,"/")}else if(d!=null)throw A.a(A.G("Both path and pathSegments specified")) +else s=A.bO(a,b,c,B.y,!0,!0) +if(s.length===0){if(r)return"/"}else if(q&&!B.a.p(s,"/"))s="/"+s +return A.kk(s,e,f)}, +kk(a,b,c){var s=b.length===0 +if(s&&!c&&!B.a.p(a,"/")&&!B.a.p(a,"\\"))return A.fd(a,!s||c) +return A.ac(a)}, +hB(a,b,c,d){if(a!=null)return A.bO(a,b,c,B.h,!0,!1) +return null}, +hy(a,b,c){if(a==null)return null +return A.bO(a,b,c,B.h,!0,!1)}, +fc(a,b,c){var s,r,q,p,o,n=b+2 +if(n>=a.length)return"%" +s=a.charCodeAt(b+1) +r=a.charCodeAt(n) +q=A.eG(s) +p=A.eG(r) +if(q<0||p<0)return"%" +o=q*16+p +if(o<127&&(B.w[B.c.a7(o,4)]&1<<(o&15))!==0)return A.J(c&&65<=o&&90>=o?(o|32)>>>0:o) +if(s>=97||r>=97)return B.a.j(a,b,b+3).toUpperCase() +return null}, +fa(a){var s,r,q,p,o,n="0123456789ABCDEF" +if(a<128){s=new Uint8Array(3) +s[0]=37 +s[1]=n.charCodeAt(a>>>4) +s[2]=n.charCodeAt(a&15)}else{if(a>2047)if(a>65535){r=240 +q=4}else{r=224 +q=3}else{r=192 +q=2}s=new Uint8Array(3*q) +for(p=0;--q,q>=0;r=128){o=B.c.ck(a,6*q)&63|r +s[p]=37 +s[p+1]=n.charCodeAt(o>>>4) +s[p+2]=n.charCodeAt(o&15) +p+=3}}return A.h8(s,0,null)}, +bO(a,b,c,d,e,f){var s=A.hF(a,b,c,d,e,f) +return s==null?B.a.j(a,b,c):s}, +hF(a,b,c,d,e,f){var s,r,q,p,o,n,m,l,k,j,i=null +for(s=!e,r=b,q=r,p=i;r>>4]&1<<(o&15))!==0)++r +else{if(o===37){n=A.fc(a,r,!1) +if(n==null){r+=3 +continue}if("%"===n){n="%25" +m=1}else m=3}else if(o===92&&f){n="/" +m=1}else if(s&&o<=93&&(B.z[o>>>4]&1<<(o&15))!==0){A.b_(a,r,"Invalid character") +m=i +n=m}else{if((o&64512)===55296){l=r+1 +if(l=2&&A.hx(a.charCodeAt(0)))for(s=1;s127||(B.x[r>>>4]&1<<(r&15))===0)break}return a}, +km(a,b){if(a.cF("package")&&a.c==null)return A.hW(b,0,b.length) +return-1}, +hH(a){var s,r,q,p=a.gaa(),o=p.length +if(o>0&&J.F(p[0])===2&&J.eT(p[0],1)===58){A.hu(J.eT(p[0],0),!1) +A.bN(p,!1,1) +s=!0}else{A.bN(p,!1,0) +s=!1}r=a.gaL()&&!s?""+"\\":"" +if(a.gaq()){q=a.gV() +if(q.length!==0)r=r+"\\"+q+"\\"}r=A.an(r,p,"\\") +o=s&&o===1?r+"\\":r +return o.charCodeAt(0)==0?o:o}, +kh(a,b){var s,r,q +for(s=0,r=0;r<2;++r){q=a.charCodeAt(b+r) +if(48<=q&&q<=57)s=s*16+q-48 +else{q|=32 +if(97<=q&&q<=102)s=s*16+q-87 +else throw A.a(A.G("Invalid URL encoding"))}}return s}, +fe(a,b,c,d,e){var s,r,q,p,o=b +while(!0){if(!(o127)throw A.a(A.G("Illegal percent encoding in URI")) +if(r===37){if(o+3>q)throw A.a(A.G("Truncated URI")) +p.push(A.kh(a,o+1)) +o+=2}else p.push(r)}}return B.a7.ap(p)}, +hx(a){var s=a|32 +return 97<=s&&s<=122}, +jP(a,b,c,d,e){var s,r +if(!0)d.a=d.a +else{s=A.jO("") +if(s<0)throw A.a(A.bV("","mimeType","Invalid MIME type")) +r=d.a+=A.ff(B.C,B.a.j("",0,s),B.e,!1) +d.a=r+"/" +d.a+=A.ff(B.C,B.a.A("",s+1),B.e,!1)}}, +jO(a){var s,r,q +for(s=a.length,r=-1,q=0;qb)throw A.a(A.n(k,a,r)) +for(;p!==44;){j.push(r);++r +for(o=-1;r=0)j.push(o) +else{n=B.b.gL(j) +if(p!==44||r!==n+7||!B.a.u(a,"base64",n+1))throw A.a(A.n("Expecting '='",a,r)) +break}}j.push(r) +m=r+1 +if((j.length&1)===1)a=B.H.cJ(a,m,s) +else{l=A.hF(a,m,s,B.h,!0,!1) +if(l!=null)a=B.a.Y(a,m,s,l)}return new A.cO(a,j,c)}, +jN(a,b,c){var s,r,q,p,o="0123456789ABCDEF" +for(s=J.Z(b),r=0,q=0;q>>0!==0)for(q=0;q255)throw A.a(A.bV(p,"non-byte value",null))}}, +kv(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="\\",i="?",h="#",g="/\\",f=A.b(new Array(22),t.h) +for(s=0;s<22;++s)f[s]=new Uint8Array(96) +r=new A.eu(f) +q=new A.ev() +p=new A.ew() +o=r.$2(0,225) +q.$3(o,n,1) +q.$3(o,m,14) +q.$3(o,l,34) +q.$3(o,k,3) +q.$3(o,j,227) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(14,225) +q.$3(o,n,1) +q.$3(o,m,15) +q.$3(o,l,34) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(15,225) +q.$3(o,n,1) +q.$3(o,"%",225) +q.$3(o,l,34) +q.$3(o,k,9) +q.$3(o,j,233) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(1,225) +q.$3(o,n,1) +q.$3(o,l,34) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(2,235) +q.$3(o,n,139) +q.$3(o,k,131) +q.$3(o,j,131) +q.$3(o,m,146) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(3,235) +q.$3(o,n,11) +q.$3(o,k,68) +q.$3(o,j,68) +q.$3(o,m,18) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(4,229) +q.$3(o,n,5) +p.$3(o,"AZ",229) +q.$3(o,l,102) +q.$3(o,"@",68) +q.$3(o,"[",232) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(5,229) +q.$3(o,n,5) +p.$3(o,"AZ",229) +q.$3(o,l,102) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(6,231) +p.$3(o,"19",7) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(7,231) +p.$3(o,"09",7) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +q.$3(r.$2(8,8),"]",5) +o=r.$2(9,235) +q.$3(o,n,11) +q.$3(o,m,16) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(16,235) +q.$3(o,n,11) +q.$3(o,m,17) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(17,235) +q.$3(o,n,11) +q.$3(o,k,9) +q.$3(o,j,233) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(10,235) +q.$3(o,n,11) +q.$3(o,m,18) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(18,235) +q.$3(o,n,11) +q.$3(o,m,19) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(19,235) +q.$3(o,n,11) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(11,235) +q.$3(o,n,11) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(12,236) +q.$3(o,n,12) +q.$3(o,i,12) +q.$3(o,h,205) +o=r.$2(13,237) +q.$3(o,n,13) +q.$3(o,i,13) +p.$3(r.$2(20,245),"az",21) +o=r.$2(21,245) +p.$3(o,"az",21) +p.$3(o,"09",21) +q.$3(o,"+-.",21) +return f}, +hV(a,b,c,d,e){var s,r,q,p,o=$.iI() +for(s=b;s95?31:q] +d=p&31 +e[p>>>5]=s}return d}, +ho(a){if(a.b===7&&B.a.p(a.a,"package")&&a.c<=0)return A.hW(a.a,a.e,a.f) +return-1}, +hW(a,b,c){var s,r,q +for(s=b,r=0;s=1;s=q){q=s-1 +if(b[q]!=null)break}p=new A.w("") +o=""+(a+"(") +p.a=o +n=A.y(b) +m=n.i("aC<1>") +l=new A.aC(b,0,s,m) +l.c5(b,0,s,n.c) +m=o+new A.j(l,new A.eB(),m.i("j")).a0(0,", ") +p.a=m +p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") +throw A.a(A.G(p.h(0)))}}, +c3:function c3(a,b){this.a=a +this.b=b}, +dl:function dl(){}, +dm:function dm(){}, +eB:function eB(){}, +aW:function aW(a){this.a=a}, +aX:function aX(a){this.a=a}, +dx:function dx(){}, +az(a,b){var s,r,q,p,o,n=b.bX(a) +b.T(a) +if(n!=null)a=B.a.A(a,n.length) +s=t.s +r=A.b([],s) +q=A.b([],s) +s=a.length +if(s!==0&&b.v(a.charCodeAt(0))){q.push(a[0]) +p=1}else{q.push("") +p=0}for(o=p;o$.fz())throw A.a(A.G("expected 32 bit int, got: "+a)) +s=A.b([],t.s) +if(a<0){a=-a +r=1}else r=0 +a=a<<1|r +do{q=a&31 +a=a>>>5 +p=a>0 +s.push(u.n[p?q|32:q])}while(p) +return s}, +d8(a){var s,r,q,p,o,n,m,l=null +for(s=a.b,r=0,q=!1,p=0;!q;){if(++a.c>=s)throw A.a(A.cG("incomplete VLQ value")) +o=a.gm() +n=$.iA().n(0,o) +if(n==null)throw A.a(A.n("invalid character in VLQ encoding: "+o,l,l)) +q=(n&32)===0 +r+=B.c.cj(n&31,p) +p+=5}m=r>>>1 +r=(r&1)===1?-m:m +if(r<$.fA()||r>$.fz())throw A.a(A.n("expected an encoded 32 bit int, but we got: "+r,l,l)) +return r}, +ey:function ey(){}, +cC:function cC(a,b,c){var _=this +_.a=a +_.b=b +_.c=c +_.d=null}, +f4(a,b,c,d){var s=typeof d=="string"?A.L(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)A.z(A.f1("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)A.z(A.f1("Line may not be negative, was "+A.d(c)+".")) +else if(!p&&b<0)A.z(A.f1("Column may not be negative, was "+A.d(b)+".")) +return new A.cD(s,a,q,o)}, +cD:function cD(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +cE:function cE(){}, +cF:function cF(){}, +j5(a){var s,r,q=u.a +if(a.length===0)return new A.at(A.X(A.b([],t.J),t.a)) +s=$.fB() +if(B.a.t(a,s)){s=B.a.am(a,s) +r=A.y(s) +return new A.at(A.X(new A.P(new A.D(s,new A.dd(),r.i("D<1>")),A.ly(),r.i("P<1,K>")),t.a))}if(!B.a.t(a,q))return new A.at(A.X(A.b([A.f5(a)],t.J),t.a)) +return new A.at(A.X(new A.j(A.b(a.split(q),t.s),A.lx(),t.k),t.a))}, +at:function at(a){this.a=a}, +dd:function dd(){}, +di:function di(){}, +dh:function dh(){}, +df:function df(){}, +dg:function dg(a){this.a=a}, +de:function de(a){this.a=a}, +jj(a){return A.fM(a)}, +fM(a){return A.c8(a,new A.dv(a))}, +ji(a){return A.jf(a)}, +jf(a){return A.c8(a,new A.dt(a))}, +jc(a){return A.c8(a,new A.dq(a))}, +jg(a){return A.jd(a)}, +jd(a){return A.c8(a,new A.dr(a))}, +jh(a){return A.je(a)}, +je(a){return A.c8(a,new A.ds(a))}, +eW(a){if(B.a.t(a,$.ih()))return A.L(a) +else if(B.a.t(a,$.ii()))return A.ht(a,!0) +else if(B.a.p(a,"/"))return A.ht(a,!1) +if(B.a.t(a,"\\"))return $.iQ().bR(a) +return A.L(a)}, +c8(a,b){var s,r +try{s=b.$0() +return s}catch(r){if(A.b2(r) instanceof A.aN)return new A.Y(A.x(null,"unparsed",null,null),a) +else throw r}}, +v:function v(a,b,c,d){var _=this +_.a=a +_.b=b +_.c=c +_.d=d}, +dv:function dv(a){this.a=a}, +dt:function dt(a){this.a=a}, +du:function du(a){this.a=a}, +dq:function dq(a){this.a=a}, +dr:function dr(a){this.a=a}, +ds:function ds(a){this.a=a}, +ck:function ck(a){this.a=a +this.b=$}, +jI(a){if(t.a.b(a))return a +if(a instanceof A.at)return a.bQ() +return new A.ck(new A.e0(a))}, +f5(a){var s,r,q +try{if(a.length===0){r=A.dW(A.b([],t.F),null) +return r}if(B.a.t(a,$.iL())){r=A.jH(a) +return r}if(B.a.t(a,"\tat ")){r=A.jG(a) +return r}if(B.a.t(a,$.iE())||B.a.t(a,$.iC())){r=A.jF(a) +return r}if(B.a.t(a,u.a)){r=A.j5(a).bQ() +return r}if(B.a.t(a,$.iG())){r=A.ha(a) +return r}r=A.hb(a) +return r}catch(q){r=A.b2(q) +if(r instanceof A.aN){s=r +throw A.a(A.n(s.a+"\nStack trace:\n"+a,null,null))}else throw q}}, +jK(a){return A.hb(a)}, +hb(a){var s=A.X(A.jL(a),t.B) +return new A.K(s,new A.aq(a))}, +jL(a){var s,r=B.a.bl(a),q=$.fB(),p=t.U,o=new A.D(A.b(A.R(r,q,"").split("\n"),t.s),new A.e1(),p) +if(!o.gq(o).l())return A.b([],t.F) +r=A.jE(o,o.gk(o)-1,p.i("c.E")) +r=A.cm(r,A.l6(),A.i(r).i("c.E"),t.B) +s=A.ak(r,!0,A.i(r).i("c.E")) +if(!J.iU(o.gL(o),".da"))B.b.a3(s,A.fM(o.gL(o))) +return s}, +jH(a){var s=A.aQ(A.b(a.split("\n"),t.s),1,null,t.N).c0(0,new A.e_()),r=t.B +r=A.X(A.cm(s,A.i1(),s.$ti.i("c.E"),r),r) +return new A.K(r,new A.aq(a))}, +jG(a){var s=A.X(new A.P(new A.D(A.b(a.split("\n"),t.s),new A.dZ(),t.U),A.i1(),t.L),t.B) +return new A.K(s,new A.aq(a))}, +jF(a){var s=A.X(new A.P(new A.D(A.b(B.a.bl(a).split("\n"),t.s),new A.dX(),t.U),A.l4(),t.L),t.B) +return new A.K(s,new A.aq(a))}, +jJ(a){return A.ha(a)}, +ha(a){var s=a.length===0?A.b([],t.F):new A.P(new A.D(A.b(B.a.bl(a).split("\n"),t.s),new A.dY(),t.U),A.l5(),t.L) +s=A.X(s,t.B) +return new A.K(s,new A.aq(a))}, +dW(a,b){var s=A.X(a,t.B) +return new A.K(s,new A.aq(b==null?"":b))}, +K:function K(a,b){this.a=a +this.b=b}, +e0:function e0(a){this.a=a}, +e1:function e1(){}, +e_:function e_(){}, +dZ:function dZ(){}, +dX:function dX(){}, +dY:function dY(){}, +e3:function e3(){}, +e2:function e2(a){this.a=a}, +Y:function Y(a,b){this.a=a +this.w=b}, +li(a,b,c){var s=A.jI(b).gad() +return A.dW(A.fO(new A.j(s,new A.eM(a,c),A.y(s).i("j<1,v?>")),t.B),null).cC(new A.eN())}, +kP(a){var s,r,q,p,o,n,m,l=B.a.bJ(a,".") +if(l<0)return a +s=B.a.A(a,l+1) +a=s==="fn"?a:s +a=A.R(a,"$124","|") +if(B.a.t(a,"|")){r=B.a.au(a,"|") +q=B.a.au(a," ") +p=B.a.au(a,"escapedPound") +if(q>=0){o=B.a.j(a,0,q)==="set" +a=B.a.j(a,q+1,a.length)}else{n=r+1 +if(p>=0){o=B.a.j(a,n,p)==="set" +a=B.a.Y(a,n,p+3,"")}else{m=B.a.j(a,n,a.length) +if(B.a.p(m,"unary")||B.a.p(m,"$"))a=A.kU(a) +o=!1}}a=A.R(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +kU(a){return A.lp(a,A.l("\\$[0-9]+",!1),new A.eA(a),null)}, +eM:function eM(a,b){this.a=a +this.b=b}, +eN:function eN(){}, +eA:function eA(a){this.a=a}, +l3(a){var s=a.$ti.i("j") +return A.ak(new A.j(a,new A.eF(),s),!0,s.i("H.E"))}, +lj(a){var s,r +if($.fj==null)throw A.a(A.cG("Source maps are not done loading.")) +s=A.f5(a) +r=$.fj +r.toString +return A.li(r,s,$.iP()).h(0)}, +ll(a){$.fj=new A.cj(new A.cn(A.dD(t.N,t.E)),a)}, +lg(){self.$dartStackTraceUtility={mapper:A.hZ(A.lm()),setSourceMapProvider:A.hZ(A.ln())}}, +eF:function eF(){}, +dn:function dn(){}, +cj:function cj(a,b){this.a=a +this.b=b}, +eO:function eO(){}, +lv(a){A.ie(new A.bk("Field '"+a+"' has been assigned during initialization."),new Error())}, +eP(){A.ie(new A.bk("Field '' has been assigned during initialization."),new Error())}, +ku(a){var s,r=a.$dart_jsFunction +if(r!=null)return r +s=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(A.kr,a) +s[$.fv()]=a +a.$dart_jsFunction=s +return s}, +kr(a,b){return A.ju(a,b,null)}, +hZ(a){if(typeof a=="function")return a +else return A.ku(a)}, +i7(a,b){return Math.max(a,b)}, +ib(a,b){return Math.pow(a,b)}, +fO(a,b){return new A.aY(A.jm(a,b),b.i("aY<0>"))}, +jm(a,b){return function(){var s=a,r=b +var q=0,p=1,o,n,m,l +return function $async$fO(c,d,e){if(d===1){o=e +q=p}while(true)switch(q){case 0:n=new A.a7(s,s.gk(s)),m=A.i(n).c +case 2:if(!n.l()){q=3 +break}l=n.d +if(l==null)l=m.a(l) +q=l!=null?4:5 +break +case 4:q=6 +return c.b=l,1 +case 6:case 5:q=2 +break +case 3:return 0 +case 1:return c.c=o,3}}}}, +fm(){var s,r,q,p,o=null +try{o=A.f6()}catch(s){if(t.M.b(A.b2(s))){r=$.ex +if(r!=null)return r +throw s}else throw s}if(J.A(o,$.hO)){r=$.ex +r.toString +return r}$.hO=o +if($.fw()===$.b3())r=$.ex=o.bj(".").h(0) +else{q=o.bk() +p=q.length-1 +r=$.ex=p===0?q:B.a.j(q,0,p)}return r}, +i4(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +i5(a,b){var s=a.length,r=b+2 +if(s4294967295)throw A.a(A.u(a,0,4294967295,"length",null)) +return J.jo(new Array(a),b)}, +fR(a,b){if(a<0)throw A.a(A.G("Length must be a non-negative integer: "+a)) +return A.b(new Array(a),b.i("o<0>"))}, +jo(a,b){return J.dy(A.b(a,b.i("o<0>")))}, +dy(a){a.fixed$length=Array +return a}, +fS(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fT(a){if(a<256)switch(a){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0 +default:return!1}switch(a){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0 +default:return!1}}, +jp(a,b){var s,r +for(s=a.length;b0;b=s){s=b-1 +r=a.charCodeAt(s) +if(r!==32&&r!==13&&!J.fT(r))break}return b}, +a2(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bh.prototype +return J.cc.prototype}if(typeof a=="string")return J.aw.prototype +if(a==null)return J.bi.prototype +if(typeof a=="boolean")return J.cb.prototype +if(Array.isArray(a))return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ai.prototype +return a}if(a instanceof A.t)return a +return J.fo(a)}, +Z(a){if(typeof a=="string")return J.aw.prototype +if(a==null)return a +if(Array.isArray(a))return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ai.prototype +return a}if(a instanceof A.t)return a +return J.fo(a)}, +aF(a){if(a==null)return a +if(Array.isArray(a))return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ai.prototype +return a}if(a instanceof A.t)return a +return J.fo(a)}, +bS(a){if(typeof a=="string")return J.aw.prototype +if(a==null)return a +if(!(a instanceof A.t))return J.aT.prototype +return a}, +A(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.a2(a).G(a,b)}, +iR(a,b){if(typeof b==="number")if(Array.isArray(a)||typeof a=="string"||A.i6(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b>>0===b&&b").H(b).i("a4<1,2>"))}, +a3(a,b){if(!!a.fixed$length)A.z(A.q("add")) +a.push(b)}, +aP(a,b){var s +if(!!a.fixed$length)A.z(A.q("removeAt")) +s=a.length +if(b>=s)throw A.a(A.f2(b,null)) +return a.splice(b,1)[0]}, +b9(a,b,c){var s +if(!!a.fixed$length)A.z(A.q("insert")) +s=a.length +if(b>s)throw A.a(A.f2(b,null)) +a.splice(b,0,c)}, +ba(a,b,c){var s,r +if(!!a.fixed$length)A.z(A.q("insertAll")) +A.h3(b,0,a.length,"index") +if(!t.X.b(c))c=J.j0(c) +s=J.F(c) +a.length=a.length+s +r=b+s +this.bn(a,r,a.length,a,b) +this.bY(a,b,r,c)}, +bi(a){if(!!a.fixed$length)A.z(A.q("removeLast")) +if(a.length===0)throw A.a(A.bR(a,-1)) +return a.pop()}, +bT(a,b){return new A.D(a,b,A.y(a).i("D<1>"))}, +aE(a,b){var s +if(!!a.fixed$length)A.z(A.q("addAll")) +if(Array.isArray(b)){this.c6(a,b) +return}for(s=J.E(b);s.l();)a.push(s.gm())}, +c6(a,b){var s,r=b.length +if(r===0)return +if(a===b)throw A.a(A.S(a)) +for(s=0;s").H(c).i("j<1,2>"))}, +a0(a,b){var s,r=A.a0(a.length,"",!1,t.N) +for(s=0;s0)return a[0] +throw A.a(A.ca())}, +gL(a){var s=a.length +if(s>0)return a[s-1] +throw A.a(A.ca())}, +bn(a,b,c,d,e){var s,r,q,p,o +if(!!a.immutable$list)A.z(A.q("setRange")) +A.a1(b,c,a.length) +s=c-b +if(s===0)return +A.T(e,"skipCount") +if(t.j.b(d)){r=d +q=e}else{r=J.fF(d,e).a1(0,!1) +q=0}p=J.Z(r) +if(q+s>p.gk(r))throw A.a(A.jl()) +if(q=0;--o)a[b+o]=p.n(r,q+o) +else for(o=0;o=0&&b=0&&b=p){r.d=null +return!1}r.d=q[s] +r.c=s+1 +return!0}} +J.cd.prototype={ +h(a){if(a===0&&1/a<0)return"-0.0" +else return""+a}, +gD(a){var s,r,q,p,o=a|0 +if(a===o)return o&536870911 +s=Math.abs(a) +r=Math.log(s)/0.6931471805599453|0 +q=Math.pow(2,r) +p=s<1?s/q:q/s +return((p*9007199254740992|0)+(p*3542243181176521|0))*599197+r*1259&536870911}, +aT(a,b){var s=a%b +if(s===0)return 0 +if(s>0)return s +return s+b}, +bz(a,b){return(a|0)===a?a/b|0:this.cn(a,b)}, +cn(a,b){var s=a/b +if(s>=-2147483648&&s<=2147483647)return s|0 +if(s>0){if(s!==1/0)return Math.floor(s)}else if(s>-1/0)return Math.ceil(s) +throw A.a(A.q("Result of truncating division is "+A.d(s)+": "+A.d(a)+" ~/ "+b))}, +cj(a,b){return b>31?0:a<>>0}, +a7(a,b){var s +if(a>0)s=this.by(a,b) +else{s=b>31?31:b +s=a>>s>>>0}return s}, +ck(a,b){if(0>b)throw A.a(A.d7(b)) +return this.by(a,b)}, +by(a,b){return b>31?0:a>>>b}, +gU(a){return A.af(t.H)}} +J.bh.prototype={ +gU(a){return A.af(t.S)}, +$iC:1, +$if:1} +J.cc.prototype={ +gU(a){return A.af(t.i)}, +$iC:1} +J.aw.prototype={ +cr(a,b){if(b<0)throw A.a(A.bR(a,b)) +if(b>=a.length)A.z(A.bR(a,b)) +return a.charCodeAt(b)}, +aG(a,b,c){var s=b.length +if(c>s)throw A.a(A.u(c,0,s,null,null)) +return new A.d1(b,a,c)}, +aF(a,b){return this.aG(a,b,0)}, +bL(a,b,c){var s,r,q=null +if(c<0||c>b.length)throw A.a(A.u(c,0,b.length,q,q)) +s=a.length +if(c+s>b.length)return q +for(r=0;rr)return!1 +return b===this.A(a,r-s)}, +bP(a,b,c){A.h3(0,0,a.length,"startIndex") +return A.lt(a,b,c,0)}, +am(a,b){if(typeof b=="string")return A.b(a.split(b),t.s) +else if(b instanceof A.ax&&b.gbv().exec("").length-2===0)return A.b(a.split(b.b),t.s) +else return this.c8(a,b)}, +Y(a,b,c,d){var s=A.a1(b,c,a.length) +return A.fu(a,b,s,d)}, +c8(a,b){var s,r,q,p,o,n,m=A.b([],t.s) +for(s=J.eS(b,a),s=s.gq(s),r=0,q=1;s.l();){p=s.gm() +o=p.gM() +n=p.gR() +q=n-o +if(q===0&&r===o)continue +m.push(this.j(a,r,o)) +r=n}if(r0)m.push(this.A(a,r)) +return m}, +u(a,b,c){var s +if(c<0||c>a.length)throw A.a(A.u(c,0,a.length,null,null)) +if(typeof b=="string"){s=c+b.length +if(s>a.length)return!1 +return b===a.substring(c,s)}return J.iY(b,a,c)!=null}, +p(a,b){return this.u(a,b,0)}, +j(a,b,c){return a.substring(b,A.a1(b,c,a.length))}, +A(a,b){return this.j(a,b,null)}, +bl(a){var s,r,q,p=a.trim(),o=p.length +if(o===0)return p +if(p.charCodeAt(0)===133){s=J.jp(p,1) +if(s===o)return""}else s=0 +r=o-1 +q=p.charCodeAt(r)===133?J.jq(p,r):o +if(s===0&&q===o)return p +return p.substring(s,q)}, +bm(a,b){var s,r +if(0>=b)return"" +if(b===1||a.length===0)return a +if(b!==b>>>0)throw A.a(B.O) +for(s=a,r="";!0;){if((b&1)===1)r=s+r +b=b>>>1 +if(b===0)break +s+=s}return r}, +bN(a,b){var s=b-a.length +if(s<=0)return a +return a+this.bm(" ",s)}, +a5(a,b,c){var s +if(c<0||c>a.length)throw A.a(A.u(c,0,a.length,null,null)) +s=a.indexOf(b,c) +return s}, +au(a,b){return this.a5(a,b,0)}, +bK(a,b,c){var s,r +if(c==null)c=a.length +else if(c<0||c>a.length)throw A.a(A.u(c,0,a.length,null,null)) +s=b.length +r=a.length +if(c+s>r)c=r-s +return a.lastIndexOf(b,c)}, +bJ(a,b){return this.bK(a,b,null)}, +t(a,b){return A.lo(a,b,0)}, +h(a){return a}, +gD(a){var s,r,q +for(s=a.length,r=0,q=0;q>6}r=r+((r&67108863)<<3)&536870911 +r^=r>>11 +return r+((r&16383)<<15)&536870911}, +gU(a){return A.af(t.N)}, +gk(a){return a.length}, +$iC:1, +$ie:1} +A.ao.prototype={ +gq(a){var s=A.i(this) +return new A.c1(J.E(this.ga_()),s.i("@<1>").H(s.z[1]).i("c1<1,2>"))}, +gk(a){return J.F(this.ga_())}, +gC(a){return J.fE(this.ga_())}, +gaf(a){return J.iV(this.ga_())}, +Z(a,b){var s=A.i(this) +return A.eU(J.fF(this.ga_(),b),s.c,s.z[1])}, +E(a,b){return A.i(this).z[1].a(J.db(this.ga_(),b))}, +t(a,b){return J.fD(this.ga_(),b)}, +h(a){return J.b4(this.ga_())}} +A.c1.prototype={ +l(){return this.a.l()}, +gm(){return this.$ti.z[1].a(this.a.gm())}} +A.ar.prototype={ +ga_(){return this.a}} +A.bD.prototype={$ih:1} +A.bC.prototype={ +n(a,b){return this.$ti.z[1].a(J.iR(this.a,b))}, +B(a,b,c){J.iS(this.a,b,this.$ti.c.a(c))}, +$ih:1, +$ik:1} +A.a4.prototype={ +aH(a,b){return new A.a4(this.a,this.$ti.i("@<1>").H(b).i("a4<1,2>"))}, +ga_(){return this.a}} +A.as.prototype={ +a8(a,b,c){var s=this.$ti +return new A.as(this.a,s.i("@<1>").H(s.z[1]).H(b).H(c).i("as<1,2,3,4>"))}, +K(a){return this.a.K(a)}, +n(a,b){return this.$ti.i("4?").a(this.a.n(0,b))}, +B(a,b,c){var s=this.$ti +this.a.B(0,s.c.a(b),s.z[1].a(c))}, +O(a,b){this.a.O(0,new A.dc(this,b))}, +gW(){var s=this.$ti +return A.eU(this.a.gW(),s.c,s.z[2])}, +gk(a){var s=this.a +return s.gk(s)}, +gC(a){var s=this.a +return s.gC(s)}} +A.dc.prototype={ +$2(a,b){var s=this.a.$ti +this.b.$2(s.z[2].a(a),s.z[3].a(b))}} +A.bk.prototype={ +h(a){return"LateInitializationError: "+this.a}} +A.aL.prototype={ +gk(a){return this.a.length}, +n(a,b){return this.a.charCodeAt(b)}} +A.dM.prototype={} +A.h.prototype={} +A.H.prototype={ +gq(a){return new A.a7(this,this.gk(this))}, +gC(a){return this.gk(this)===0}, +t(a,b){var s,r=this,q=r.gk(r) +for(s=0;ss)throw A.a(A.u(r,0,s,"start",null))}}, +gc9(){var s=J.F(this.a),r=this.c +if(r==null||r>s)return s +return r}, +gcm(){var s=J.F(this.a),r=this.b +if(r>s)return s +return r}, +gk(a){var s,r=J.F(this.a),q=this.b +if(q>=r)return 0 +s=this.c +if(s==null||s>=r)return r-q +return s-q}, +E(a,b){var s=this,r=s.gcm()+b +if(b<0||r>=s.gc9())throw A.a(A.eX(b,s.gk(s),s,"index")) +return J.db(s.a,r)}, +Z(a,b){var s,r,q=this +A.T(b,"count") +s=q.b+b +r=q.c +if(r!=null&&s>=r)return new A.bc(q.$ti.i("bc<1>")) +return A.aQ(q.a,s,r,q.$ti.c)}, +a1(a,b){var s,r,q,p=this,o=p.b,n=p.a,m=J.Z(n),l=m.gk(n),k=p.c +if(k!=null&&k=o){r.d=null +return!1}r.d=p.E(q,s);++r.c +return!0}} +A.P.prototype={ +gq(a){return new A.bm(J.E(this.a),this.b)}, +gk(a){return J.F(this.a)}, +gC(a){return J.fE(this.a)}, +E(a,b){return this.b.$1(J.db(this.a,b))}} +A.ba.prototype={$ih:1} +A.bm.prototype={ +l(){var s=this,r=s.b +if(r.l()){s.a=s.c.$1(r.gm()) +return!0}s.a=null +return!1}, +gm(){var s=this.a +return s==null?A.i(this).z[1].a(s):s}} +A.j.prototype={ +gk(a){return J.F(this.a)}, +E(a,b){return this.b.$1(J.db(this.a,b))}} +A.D.prototype={ +gq(a){return new A.bA(J.E(this.a),this.b)}} +A.bA.prototype={ +l(){var s,r +for(s=this.a,r=this.b;s.l();)if(r.$1(s.gm()))return!0 +return!1}, +gm(){return this.a.gm()}} +A.be.prototype={ +gq(a){return new A.c6(J.E(this.a),this.b,B.r)}} +A.c6.prototype={ +gm(){var s=this.d +return s==null?A.i(this).z[1].a(s):s}, +l(){var s,r,q=this,p=q.c +if(p==null)return!1 +for(s=q.a,r=q.b;!p.l();){q.d=null +if(s.l()){q.c=null +p=J.E(r.$1(s.gm())) +q.c=p}else return!1}q.d=q.c.gm() +return!0}} +A.aD.prototype={ +gq(a){return new A.cI(J.E(this.a),this.b)}} +A.bb.prototype={ +gk(a){var s=J.F(this.a),r=this.b +if(s>r)return r +return s}, +$ih:1} +A.cI.prototype={ +l(){if(--this.b>=0)return this.a.l() +this.b=-1 +return!1}, +gm(){if(this.b<0){A.i(this).c.a(null) +return null}return this.a.gm()}} +A.a9.prototype={ +Z(a,b){A.aK(b,"count") +A.T(b,"count") +return new A.a9(this.a,this.b+b,A.i(this).i("a9<1>"))}, +gq(a){return new A.cA(J.E(this.a),this.b)}} +A.aM.prototype={ +gk(a){var s=J.F(this.a)-this.b +if(s>=0)return s +return 0}, +Z(a,b){A.aK(b,"count") +A.T(b,"count") +return new A.aM(this.a,this.b+b,this.$ti)}, +$ih:1} +A.cA.prototype={ +l(){var s,r +for(s=this.a,r=0;r"))}} +A.cS.prototype={ +l(){var s,r +for(s=this.a,r=this.$ti.c;s.l();)if(r.b(s.gm()))return!0 +return!1}, +gm(){return this.$ti.c.a(this.a.gm())}} +A.c7.prototype={} +A.cM.prototype={ +B(a,b,c){throw A.a(A.q("Cannot modify an unmodifiable list"))}} +A.aU.prototype={} +A.aA.prototype={ +gk(a){return J.F(this.a)}, +E(a,b){var s=this.a,r=J.Z(s) +return r.E(s,r.gk(s)-1-b)}} +A.aR.prototype={ +gD(a){var s=this._hashCode +if(s!=null)return s +s=664597*B.a.gD(this.a)&536870911 +this._hashCode=s +return s}, +h(a){return'Symbol("'+this.a+'")'}, +G(a,b){if(b==null)return!1 +return b instanceof A.aR&&this.a===b.a}, +$idU:1} +A.bP.prototype={} +A.b8.prototype={} +A.b7.prototype={ +a8(a,b,c){var s=A.i(this) +return A.fW(this,s.c,s.z[1],b,c)}, +gC(a){return this.gk(this)===0}, +h(a){return A.f0(this)}, +B(a,b,c){A.jb()}, +$iN:1} +A.b9.prototype={ +gk(a){return this.b.length}, +gbt(){var s=this.$keys +if(s==null){s=Object.keys(this.a) +this.$keys=s}return s}, +K(a){if(typeof a!="string")return!1 +if("__proto__"===a)return!1 +return this.a.hasOwnProperty(a)}, +n(a,b){if(!this.K(b))return null +return this.b[this.a[b]]}, +O(a,b){var s,r,q=this.gbt(),p=this.b +for(s=q.length,r=0;r"))}} +A.bE.prototype={ +gk(a){return this.a.length}, +gC(a){return 0===this.a.length}, +gaf(a){return 0!==this.a.length}, +gq(a){var s=this.a +return new A.d0(s,s.length)}} +A.d0.prototype={ +gm(){var s=this.d +return s==null?A.i(this).c.a(s):s}, +l(){var s=this,r=s.c +if(r>=s.b){s.d=null +return!1}s.d=s.a[r] +s.c=r+1 +return!0}} +A.dw.prototype={ +G(a,b){if(b==null)return!1 +return b instanceof A.bg&&this.a.G(0,b.a)&&A.fp(this)===A.fp(b)}, +gD(a){return A.fY(this.a,A.fp(this),B.l)}, +h(a){var s=B.b.a0([A.af(this.$ti.c)],", ") +return this.a.h(0)+" with "+("<"+s+">")}} +A.bg.prototype={ +$2(a,b){return this.a.$1$2(a,b,this.$ti.z[0])}, +$S(){return A.ld(A.eC(this.a),this.$ti)}} +A.dz.prototype={ +gcH(){var s=this.a +return s}, +gcK(){var s,r,q,p,o=this +if(o.c===1)return B.B +s=o.d +r=s.length-o.e.length-o.f +if(r===0)return B.B +q=[] +for(p=0;p>>0}, +h(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.dL(this.a)+"'")}} +A.cV.prototype={ +h(a){return"Reading static variable '"+this.a+"' during its initialization"}} +A.cz.prototype={ +h(a){return"RuntimeError: "+this.a}} +A.ej.prototype={} +A.a5.prototype={ +gk(a){return this.a}, +gC(a){return this.a===0}, +gW(){return new A.a6(this,A.i(this).i("a6<1>"))}, +gbS(){var s=A.i(this) +return A.cm(new A.a6(this,s.i("a6<1>")),new A.dB(this),s.c,s.z[1])}, +K(a){var s=this.b +if(s==null)return!1 +return s[a]!=null}, +n(a,b){var s,r,q,p,o=null +if(typeof b=="string"){s=this.b +if(s==null)return o +r=s[b] +q=r==null?o:r.b +return q}else if(typeof b=="number"&&(b&0x3fffffff)===b){p=this.c +if(p==null)return o +r=p[b] +q=r==null?o:r.b +return q}else return this.cE(b)}, +cE(a){var s,r,q=this.d +if(q==null)return null +s=q[this.bF(a)] +r=this.bG(s,a) +if(r<0)return null +return s[r].b}, +B(a,b,c){var s,r,q,p,o,n,m=this +if(typeof b=="string"){s=m.b +m.bp(s==null?m.b=m.aY():s,b,c)}else if(typeof b=="number"&&(b&0x3fffffff)===b){r=m.c +m.bp(r==null?m.c=m.aY():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aY() +p=m.bF(b) +o=q[p] +if(o==null)q[p]=[m.aZ(b,c)] +else{n=m.bG(o,b) +if(n>=0)o[n].b=c +else o.push(m.aZ(b,c))}}}, +O(a,b){var s=this,r=s.e,q=s.r +for(;r!=null;){b.$2(r.a,r.b) +if(q!==s.r)throw A.a(A.S(s)) +r=r.c}}, +bp(a,b,c){var s=a[b] +if(s==null)a[b]=this.aZ(b,c) +else s.b=c}, +aZ(a,b){var s=this,r=new A.dC(a,b) +if(s.e==null)s.e=s.f=r +else s.f=s.f.c=r;++s.a +s.r=s.r+1&1073741823 +return r}, +bF(a){return J.aJ(a)&1073741823}, +bG(a,b){var s,r +if(a==null)return-1 +s=a.length +for(r=0;r"]=s +delete s[""] +return s}} +A.dB.prototype={ +$1(a){var s=this.a,r=s.n(0,a) +return r==null?A.i(s).z[1].a(r):r}} +A.dC.prototype={} +A.a6.prototype={ +gk(a){return this.a.a}, +gC(a){return this.a.a===0}, +gq(a){var s=this.a,r=new A.cl(s,s.r) +r.c=s.e +return r}, +t(a,b){return this.a.K(b)}} +A.cl.prototype={ +gm(){return this.d}, +l(){var s,r=this,q=r.a +if(r.b!==q.r)throw A.a(A.S(q)) +s=r.c +if(s==null){r.d=null +return!1}else{r.d=s.a +r.c=s.c +return!0}}} +A.eH.prototype={ +$1(a){return this.a(a)}} +A.eI.prototype={ +$2(a,b){return this.a(a,b)}} +A.eJ.prototype={ +$1(a){return this.a(a)}} +A.ax.prototype={ +h(a){return"RegExp/"+this.a+"/"+this.b.flags}, +gbw(){var s=this,r=s.c +if(r!=null)return r +r=s.b +return s.c=A.eY(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +gbv(){var s=this,r=s.d +if(r!=null)return r +r=s.b +return s.d=A.eY(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +a4(a){var s=this.b.exec(a) +if(s==null)return null +return new A.aV(s)}, +aG(a,b,c){var s=b.length +if(c>s)throw A.a(A.u(c,0,s,null,null)) +return new A.cT(this,b,c)}, +aF(a,b){return this.aG(a,b,0)}, +bq(a,b){var s,r=this.gbw() +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +return new A.aV(s)}, +ca(a,b){var s,r=this.gbv() +r.lastIndex=b +s=r.exec(a) +if(s==null)return null +if(s.pop()!=null)return null +return new A.aV(s)}, +bL(a,b,c){if(c<0||c>b.length)throw A.a(A.u(c,0,b.length,null,null)) +return this.ca(b,c)}} +A.aV.prototype={ +gM(){return this.b.index}, +gR(){var s=this.b +return s.index+s[0].length}, +$ibn:1, +$icy:1} +A.cT.prototype={ +gq(a){return new A.cU(this.a,this.b,this.c)}} +A.cU.prototype={ +gm(){var s=this.d +return s==null?t.d.a(s):s}, +l(){var s,r,q,p,o,n=this,m=n.b +if(m==null)return!1 +s=n.c +r=m.length +if(s<=r){q=n.a +p=q.bq(m,s) +if(p!=null){n.d=p +o=p.gR() +if(p.b.index===o){if(q.b.unicode){s=n.c +q=s+1 +if(q=55296&&s<=56319){s=m.charCodeAt(q) +s=s>=56320&&s<=57343}else s=!1}else s=!1}else s=!1 +o=(s?o+1:o)+1}n.c=o +return!0}}n.b=n.d=null +return!1}} +A.bw.prototype={ +gR(){return this.a+this.c.length}, +$ibn:1, +gM(){return this.a}} +A.d1.prototype={ +gq(a){return new A.ek(this.a,this.b,this.c)}} +A.ek.prototype={ +l(){var s,r,q=this,p=q.c,o=q.b,n=o.length,m=q.a,l=m.length +if(p+n>l){q.d=null +return!1}s=m.indexOf(o,p) +if(s<0){q.c=l+1 +q.d=null +return!1}r=s+n +q.d=new A.bw(s,o) +q.c=r===q.c?r+1:r +return!0}, +gm(){var s=this.d +s.toString +return s}} +A.cp.prototype={ +gU(a){return B.a2}, +$iC:1} +A.cr.prototype={} +A.aP.prototype={ +gk(a){return a.length}, +$iaO:1} +A.bo.prototype={ +B(a,b,c){A.es(b,a,a.length) +a[b]=c}, +$ih:1, +$ik:1} +A.cq.prototype={ +gU(a){return B.a3}, +n(a,b){A.es(b,a,a.length) +return a[b]}, +$iC:1} +A.cs.prototype={ +gU(a){return B.a5}, +n(a,b){A.es(b,a,a.length) +return a[b]}, +$iC:1} +A.ay.prototype={ +gU(a){return B.a6}, +gk(a){return a.length}, +n(a,b){A.es(b,a,a.length) +return a[b]}, +$iC:1, +$iay:1, +$icJ:1} +A.bF.prototype={} +A.bG.prototype={} +A.U.prototype={ +i(a){return A.em(v.typeUniverse,this,a)}, +H(a){return A.kb(v.typeUniverse,this,a)}} +A.cY.prototype={} +A.el.prototype={ +h(a){return A.O(this.a,null)}} +A.cX.prototype={ +h(a){return this.a}} +A.bH.prototype={} +A.d2.prototype={ +gm(){return this.b}, +ci(a,b){var s,r,q +a=a +b=b +s=this.a +for(;!0;)try{r=s(this,a,b) +return r}catch(q){b=q +a=1}}, +l(){var s,r,q,p,o=this,n=null,m=0 +for(;!0;){s=o.d +if(s!=null)try{if(s.l()){o.b=s.gm() +return!0}else o.d=null}catch(r){n=r +m=1 +o.d=null}q=o.ci(m,n) +if(1===q)return!0 +if(0===q){o.b=null +p=o.e +if(p==null||p.length===0){o.a=A.hp +return!1}o.a=p.pop() +m=0 +n=null +continue}if(2===q){m=0 +n=null +continue}if(3===q){n=o.c +o.c=null +p=o.e +if(p==null||p.length===0){o.b=null +o.a=A.hp +throw n +return!1}o.a=p.pop() +m=1 +continue}throw A.a(A.cG("sync*"))}return!1}, +cT(a){var s,r,q=this +if(a instanceof A.aY){s=a.a() +r=q.e +if(r==null)r=q.e=[] +r.push(q.a) +q.a=s +return 2}else{q.d=J.E(a) +return 2}}} +A.aY.prototype={ +gq(a){return new A.d2(this.a())}} +A.p.prototype={ +gq(a){return new A.a7(a,this.gk(a))}, +E(a,b){return this.n(a,b)}, +gC(a){return this.gk(a)===0}, +gaf(a){return!this.gC(a)}, +t(a,b){var s,r=this.gk(a) +for(s=0;s").H(c).i("j<1,2>"))}, +Z(a,b){return A.aQ(a,b,null,A.a3(a).i("p.E"))}, +a1(a,b){var s,r,q,p,o=this +if(o.gC(a)){s=J.fR(0,A.a3(a).i("p.E")) +return s}r=o.n(a,0) +q=A.a0(o.gk(a),r,!0,A.a3(a).i("p.E")) +for(p=1;p").H(b).i("a4<1,2>"))}, +cA(a,b,c,d){var s +A.a1(b,c,this.gk(a)) +for(s=b;s").H(c).i("aE<1,2>"))}} +A.bL.prototype={} +A.cZ.prototype={ +n(a,b){var s,r=this.b +if(r==null)return this.c.n(0,b) +else if(typeof b!="string")return null +else{s=r[b] +return typeof s=="undefined"?this.cg(b):s}}, +gk(a){return this.b==null?this.c.a:this.an().length}, +gC(a){return this.gk(this)===0}, +gW(){if(this.b==null){var s=this.c +return new A.a6(s,A.i(s).i("a6<1>"))}return new A.d_(this)}, +B(a,b,c){var s,r,q=this +if(q.b==null)q.c.B(0,b,c) +else if(q.K(b)){s=q.b +s[b]=c +r=q.a +if(r==null?s!=null:r!==s)r[b]=null}else q.co().B(0,b,c)}, +K(a){if(this.b==null)return this.c.K(a) +return Object.prototype.hasOwnProperty.call(this.a,a)}, +O(a,b){var s,r,q,p,o=this +if(o.b==null)return o.c.O(0,b) +s=o.an() +for(r=0;r=0){g=u.n.charCodeAt(f) +if(g===k)continue +k=g}else{if(f===-1){if(o<0){e=p==null?null:p.a.length +if(e==null)e=0 +o=e+(r-q) +n=r}++m +if(k===61)continue}k=g}if(f!==-2){if(p==null){p=new A.w("") +e=p}else e=p +e.a+=B.a.j(a0,q,r) +e.a+=A.J(k) +q=l +continue}}throw A.a(A.n("Invalid base64 data",a0,r))}if(p!=null){e=p.a+=B.a.j(a0,q,a2) +d=e.length +if(o>=0)A.fG(a0,n,a2,o,m,d) +else{c=B.c.aT(d-1,4)+1 +if(c===1)throw A.a(A.n(a,a0,a2)) +for(;c<4;){e+="=" +p.a=e;++c}}e=p.a +return B.a.Y(a0,a1,a2,e.charCodeAt(0)==0?e:e)}b=a2-a1 +if(o>=0)A.fG(a0,n,a2,o,m,b) +else{c=B.c.aT(b,4) +if(c===1)throw A.a(A.n(a,a0,a2)) +if(c>1)a0=B.a.Y(a0,a2,a2,c===2?"==":"=")}return a0}} +A.c0.prototype={} +A.ah.prototype={} +A.a_.prototype={} +A.c5.prototype={} +A.bj.prototype={ +h(a){var s=A.av(this.a) +return(this.b!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+s}} +A.cg.prototype={ +h(a){return"Cyclic error in JSON stringify"}} +A.cf.prototype={ +bD(a,b){var s=A.kO(a,this.gcu().a) +return s}, +cz(a,b){var s=A.jV(a,this.gb4().b,null) +return s}, +gb4(){return B.V}, +gcu(){return B.U}} +A.ci.prototype={} +A.ch.prototype={} +A.eg.prototype={ +bV(a){var s,r,q,p,o,n=this,m=a.length +for(s=0,r=0;r92){if(q>=55296){p=q&64512 +if(p===55296){o=r+1 +o=!(o=0&&(a.charCodeAt(p)&64512)===55296)}else p=!1 +else p=!0 +if(p){if(r>s)n.aS(a,s,r) +s=r+1 +n.I(92) +n.I(117) +n.I(100) +p=q>>>8&15 +n.I(p<10?48+p:87+p) +p=q>>>4&15 +n.I(p<10?48+p:87+p) +p=q&15 +n.I(p<10?48+p:87+p)}}continue}if(q<32){if(r>s)n.aS(a,s,r) +s=r+1 +n.I(92) +switch(q){case 8:n.I(98) +break +case 9:n.I(116) +break +case 10:n.I(110) +break +case 12:n.I(102) +break +case 13:n.I(114) +break +default:n.I(117) +n.I(48) +n.I(48) +p=q>>>4&15 +n.I(p<10?48+p:87+p) +p=q&15 +n.I(p<10?48+p:87+p) +break}}else if(q===34||q===92){if(r>s)n.aS(a,s,r) +s=r+1 +n.I(92) +n.I(q)}}if(s===0)n.P(a) +else if(s>>18|240 +q=o.b=p+1 +r[p]=s>>>12&63|128 +p=o.b=q+1 +r[q]=s>>>6&63|128 +o.b=p+1 +r[p]=s&63|128 +return!0}else{o.b1() +return!1}}, +cb(a,b,c){var s,r,q,p,o,n,m,l=this +if(b!==c&&(a.charCodeAt(c-1)&64512)===55296)--c +for(s=l.c,r=s.length,q=b;q=r)break +l.b=o+1 +s[o]=p}else{o=p&64512 +if(o===55296){if(l.b+4>r)break +n=q+1 +if(l.cp(p,a.charCodeAt(n)))q=n}else if(o===56320){if(l.b+3>r)break +l.b1()}else if(p<=2047){o=l.b +m=o+1 +if(m>=r)break +l.b=m +s[o]=p>>>6|192 +l.b=m+1 +s[m]=p&63|128}else{o=l.b +if(o+2>=r)break +m=l.b=o+1 +s[o]=p>>>12|224 +o=l.b=m+1 +s[m]=p>>>6&63|128 +l.b=o+1 +s[o]=p&63|128}}}return q}} +A.cQ.prototype={ +ap(a){var s=this.a,r=A.jS(s,a,0,null) +if(r!=null)return r +return new A.ep(s).cs(a,0,null,!0)}} +A.ep.prototype={ +cs(a,b,c,d){var s,r,q,p,o,n=this,m=A.a1(b,c,J.F(a)) +if(b===m)return"" +if(t.x.b(a)){s=a +r=0}else{s=A.kn(a,b,m) +m-=b +r=b +b=0}q=n.aV(s,b,m,!0) +p=n.b +if((p&1)!==0){o=A.ko(p) +n.b=0 +throw A.a(A.n(o,a,r+n.c))}return q}, +aV(a,b,c,d){var s,r,q=this +if(c-b>1000){s=B.c.bz(b+c,2) +r=q.aV(a,b,s,!1) +if((q.b&1)!==0)return r +return r+q.aV(a,s,c,d)}return q.ct(a,b,c,d)}, +ct(a,b,c,d){var s,r,q,p,o,n,m,l=this,k=65533,j=l.b,i=l.c,h=new A.w(""),g=b+1,f=a[b] +$label0$0:for(s=l.a;!0;){for(;!0;g=p){r="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(f)&31 +i=j<=32?f&61694>>>r:(f&63|i<<6)>>>0 +j=" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(j+r) +if(j===0){h.a+=A.J(i) +if(g===c)break $label0$0 +break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=A.J(k) +break +case 65:h.a+=A.J(k);--g +break +default:q=h.a+=A.J(k) +h.a=q+A.J(k) +break}else{l.b=j +l.c=g-1 +return""}j=0}if(g===c)break $label0$0 +p=g+1 +f=a[g]}p=g+1 +f=a[g] +if(f<128){while(!0){if(!(p=128){o=n-1 +p=n +break}p=n}if(o-g<20)for(m=g;m32)if(s)h.a+=A.J(k) +else{l.b=77 +l.c=c +return""}l.b=j +l.c=i +s=h.a +return s.charCodeAt(0)==0?s:s}} +A.dH.prototype={ +$2(a,b){var s=this.b,r=this.a,q=s.a+=r.a +q+=a.a +s.a=q +s.a=q+": " +s.a+=A.av(b) +r.a=", "}} +A.m.prototype={} +A.bY.prototype={ +h(a){var s=this.a +if(s!=null)return"Assertion failed: "+A.av(s) +return"Assertion failed"}} +A.by.prototype={} +A.W.prototype={ +gaX(){return"Invalid argument"+(!this.a?"(s)":"")}, +gaW(){return""}, +h(a){var s=this,r=s.c,q=r==null?"":" ("+r+")",p=s.d,o=p==null?"":": "+A.d(p),n=s.gaX()+q+o +if(!s.a)return n +return n+s.gaW()+": "+A.av(s.gbb())}, +gbb(){return this.b}} +A.a8.prototype={ +gbb(){return this.b}, +gaX(){return"RangeError"}, +gaW(){var s,r=this.e,q=this.f +if(r==null)s=q!=null?": Not less than or equal to "+A.d(q):"" +else if(q==null)s=": Not greater than or equal to "+A.d(r) +else if(q>r)s=": Not in inclusive range "+A.d(r)+".."+A.d(q) +else s=qe.length +else s=!1 +if(s)f=null +if(f==null){if(e.length>78)e=B.a.j(e,0,75)+"..." +return g+"\n"+e}for(r=1,q=0,p=!1,o=0;o1?g+(" (at line "+r+", character "+(f-q+1)+")\n"):g+(" (at character "+(f+1)+")\n") +m=e.length +for(o=f;o78)if(f-q<75){l=q+75 +k=q +j="" +i="..."}else{if(m-f<75){k=m-75 +l=m +i=""}else{k=f-36 +l=f+36 +i="..."}j="..."}else{l=m +k=q +j="" +i=""}return g+j+B.a.j(e,k,l)+i+"\n"+B.a.bm(" ",f-k+j.length)+"^\n"}else return f!=null?g+(" (at offset "+A.d(f)+")"):g}, +$ibd:1} +A.c.prototype={ +aH(a,b){return A.eU(this,A.i(this).i("c.E"),b)}, +bd(a,b,c){return A.cm(this,b,A.i(this).i("c.E"),c)}, +bT(a,b){return new A.D(this,b,A.i(this).i("D"))}, +t(a,b){var s +for(s=this.gq(this);s.l();)if(J.A(s.gm(),b))return!0 +return!1}, +a1(a,b){return A.ak(this,b,A.i(this).i("c.E"))}, +ak(a){return this.a1(a,!0)}, +gk(a){var s,r=this.gq(this) +for(s=0;r.l();)++s +return s}, +gC(a){return!this.gq(this).l()}, +gaf(a){return!this.gC(this)}, +Z(a,b){return A.jB(this,b,A.i(this).i("c.E"))}, +bZ(a,b){return new A.bt(this,b,A.i(this).i("bt"))}, +gaJ(a){var s=this.gq(this) +if(!s.l())throw A.a(A.ca()) +return s.gm()}, +gL(a){var s,r=this.gq(this) +if(!r.l())throw A.a(A.ca()) +do s=r.gm() +while(r.l()) +return s}, +E(a,b){var s,r +A.T(b,"index") +s=this.gq(this) +for(r=b;s.l();){if(r===0)return s.gm();--r}throw A.a(A.eX(b,b-r,this,"index"))}, +h(a){return A.jn(this,"(",")")}} +A.bp.prototype={ +gD(a){return A.t.prototype.gD.call(this,this)}, +h(a){return"null"}} +A.t.prototype={$it:1, +G(a,b){return this===b}, +gD(a){return A.cx(this)}, +h(a){return"Instance of '"+A.dL(this)+"'"}, +bM(a,b){throw A.a(A.fX(this,b))}, +gU(a){return A.b1(this)}, +toString(){return this.h(this)}} +A.aq.prototype={ +h(a){return this.a}} +A.w.prototype={ +gk(a){return this.a.length}, +h(a){var s=this.a +return s.charCodeAt(0)==0?s:s}} +A.e6.prototype={ +$2(a,b){throw A.a(A.n("Illegal IPv4 address, "+a,this.a,b))}} +A.e7.prototype={ +$2(a,b){throw A.a(A.n("Illegal IPv6 address, "+a,this.a,b))}} +A.e8.prototype={ +$2(a,b){var s +if(b-a>4)this.a.$2("an IPv6 part can only contain a maximum of 4 hex digits",a) +s=A.Q(B.a.j(this.b,a,b),16) +if(s<0||s>65535)this.a.$2("each part must be in the range of `0x0..0xFFFF`",a) +return s}} +A.bM.prototype={ +gb0(){var s,r,q,p,o=this,n=o.w +if(n===$){s=o.a +r=s.length!==0?""+s+":":"" +q=o.c +p=q==null +if(!p||s==="file"){s=r+"//" +r=o.b +if(r.length!==0)s=s+r+"@" +if(!p)s+=q +r=o.d +if(r!=null)s=s+":"+A.d(r)}else s=r +s+=o.e +r=o.f +if(r!=null)s=s+"?"+r +r=o.r +if(r!=null)s=s+"#"+r +n!==$&&A.eP() +n=o.w=s.charCodeAt(0)==0?s:s}return n}, +gaa(){var s,r,q=this,p=q.x +if(p===$){s=q.e +if(s.length!==0&&s.charCodeAt(0)===47)s=B.a.A(s,1) +r=s.length===0?B.A:A.X(new A.j(A.b(s.split("/"),t.s),A.kZ(),t.r),t.N) +q.x!==$&&A.eP() +p=q.x=r}return p}, +gD(a){var s,r=this,q=r.y +if(q===$){s=B.a.gD(r.gb0()) +r.y!==$&&A.eP() +r.y=s +q=s}return q}, +gaC(){return this.b}, +gV(){var s=this.c +if(s==null)return"" +if(B.a.p(s,"["))return B.a.j(s,1,s.length-1) +return s}, +gai(){var s=this.d +return s==null?A.hv(this.a):s}, +gab(){var s=this.f +return s==null?"":s}, +gaK(){var s=this.r +return s==null?"":s}, +cF(a){var s=this.a +if(a.length!==s.length)return!1 +return A.ks(a,s,0)>=0}, +bu(a,b){var s,r,q,p,o,n +for(s=0,r=0;B.a.u(b,"../",r);){r+=3;++s}q=B.a.bJ(a,"/") +while(!0){if(!(q>0&&s>0))break +p=B.a.bK(a,"/",q-1) +if(p<0)break +o=q-p +n=o!==2 +if(!n||o===3)if(a.charCodeAt(p+1)===46)n=!n||a.charCodeAt(p+2)===46 +else n=!1 +else n=!1 +if(n)break;--s +q=p}return B.a.Y(a,q+1,null,B.a.A(b,r-3*s))}, +bj(a){return this.aA(A.L(a))}, +aA(a){var s,r,q,p,o,n,m,l,k,j,i=this,h=null +if(a.gJ().length!==0){s=a.gJ() +if(a.gaq()){r=a.gaC() +q=a.gV() +p=a.gar()?a.gai():h}else{p=h +q=p +r=""}o=A.ac(a.gN(a)) +n=a.gae()?a.gab():h}else{s=i.a +if(a.gaq()){r=a.gaC() +q=a.gV() +p=A.fb(a.gar()?a.gai():h,s) +o=A.ac(a.gN(a)) +n=a.gae()?a.gab():h}else{r=i.b +q=i.c +p=i.d +o=i.e +if(a.gN(a)==="")n=a.gae()?a.gab():i.f +else{m=A.km(i,o) +if(m>0){l=B.a.j(o,0,m) +o=a.gaL()?l+A.ac(a.gN(a)):l+A.ac(i.bu(B.a.A(o,l.length),a.gN(a)))}else if(a.gaL())o=A.ac(a.gN(a)) +else if(o.length===0)if(q==null)o=s.length===0?a.gN(a):A.ac(a.gN(a)) +else o=A.ac("/"+a.gN(a)) +else{k=i.bu(o,a.gN(a)) +j=s.length===0 +if(!j||q!=null||B.a.p(o,"/"))o=A.ac(k) +else o=A.fd(k,!j||q!=null)}n=a.gae()?a.gab():h}}}return A.en(s,r,q,p,o,n,a.gb7()?a.gaK():h)}, +gaq(){return this.c!=null}, +gar(){return this.d!=null}, +gae(){return this.f!=null}, +gb7(){return this.r!=null}, +gaL(){return B.a.p(this.e,"/")}, +bk(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw A.a(A.q("Cannot extract a file path from a "+q+" URI")) +q=r.f +if((q==null?"":q)!=="")throw A.a(A.q(u.i)) +q=r.r +if((q==null?"":q)!=="")throw A.a(A.q(u.l)) +q=$.fx() +if(q)q=A.hH(r) +else{if(r.c!=null&&r.gV()!=="")A.z(A.q(u.j)) +s=r.gaa() +A.kf(s,!1) +q=A.an(B.a.p(r.e,"/")?""+"/":"",s,"/") +q=q.charCodeAt(0)==0?q:q}return q}, +h(a){return this.gb0()}, +G(a,b){var s,r,q=this +if(b==null)return!1 +if(q===b)return!0 +if(t.R.b(b))if(q.a===b.gJ())if(q.c!=null===b.gaq())if(q.b===b.gaC())if(q.gV()===b.gV())if(q.gai()===b.gai())if(q.e===b.gN(b)){s=q.f +r=s==null +if(!r===b.gae()){if(r)s="" +if(s===b.gab()){s=q.r +r=s==null +if(!r===b.gb7()){if(r)s="" +s=s===b.gaK()}else s=!1}else s=!1}else s=!1}else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +else s=!1 +return s}, +$ibz:1, +gJ(){return this.a}, +gN(a){return this.e}} +A.eo.prototype={ +$1(a){return A.ff(B.X,a,B.e,!1)}} +A.cO.prototype={ +ga6(){var s,r,q,p,o=this,n=null,m=o.c +if(m==null){m=o.a +s=o.b[0]+1 +r=B.a.a5(m,"?",s) +q=m.length +if(r>=0){p=A.bO(m,r+1,q,B.h,!1,!1) +q=r}else p=n +m=o.c=new A.cW("data","",n,n,A.bO(m,s,q,B.y,!1,!1),p,n)}return m}, +h(a){var s=this.a +return this.b[0]===-1?"data:"+s:s}} +A.eu.prototype={ +$2(a,b){var s=this.a[a] +B.a_.cA(s,0,96,b) +return s}} +A.ev.prototype={ +$3(a,b,c){var s,r +for(s=b.length,r=0;r>>0]=c}} +A.V.prototype={ +gaq(){return this.c>0}, +gar(){return this.c>0&&this.d+1r?B.a.j(this.a,r,s-1):""}, +gV(){var s=this.c +return s>0?B.a.j(this.a,s,this.d):""}, +gai(){var s,r=this +if(r.gar())return A.Q(B.a.j(r.a,r.d+1,r.e),null) +s=r.b +if(s===4&&B.a.p(r.a,"http"))return 80 +if(s===5&&B.a.p(r.a,"https"))return 443 +return 0}, +gN(a){return B.a.j(this.a,this.e,this.f)}, +gab(){var s=this.f,r=this.r +return s=q.length)return s +return new A.V(B.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.w)}, +bj(a){return this.aA(A.L(a))}, +aA(a){if(a instanceof A.V)return this.cl(this,a) +return this.bA().aA(a)}, +cl(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c=b.b +if(c>0)return b +s=b.c +if(s>0){r=a.b +if(r<=0)return b +q=r===4 +if(q&&B.a.p(a.a,"file"))p=b.e!==b.f +else if(q&&B.a.p(a.a,"http"))p=!b.br("80") +else p=!(r===5&&B.a.p(a.a,"https"))||!b.br("443") +if(p){o=r+1 +return new A.V(B.a.j(a.a,0,o)+B.a.A(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.w)}else return this.bA().aA(b)}n=b.e +c=b.f +if(n===c){s=b.r +if(c0?l:m +o=k-n +return new A.V(B.a.j(a.a,0,k)+B.a.A(s,n),a.b,a.c,a.d,m,c+o,b.r+o,a.w)}j=a.e +i=a.f +if(j===i&&a.c>0){for(;B.a.u(s,"../",n);)n+=3 +o=j-n+1 +return new A.V(B.a.j(a.a,0,j)+"/"+B.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}h=a.a +l=A.ho(this) +if(l>=0)g=l +else for(g=j;B.a.u(h,"../",g);)g+=3 +f=0 +while(!0){e=n+3 +if(!(e<=c&&B.a.u(s,"../",n)))break;++f +n=e}for(d="";i>g;){--i +if(h.charCodeAt(i)===47){if(f===0){d="/" +break}--f +d="/"}}if(i===g&&a.b<=0&&!B.a.u(h,"/",j)){n-=f*3 +d=""}o=i-n+d.length +return new A.V(B.a.j(h,0,i)+d+B.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}, +bk(){var s,r,q=this,p=q.b +if(p>=0){s=!(p===4&&B.a.p(q.a,"file")) +p=s}else p=!1 +if(p)throw A.a(A.q("Cannot extract a file path from a "+q.gJ()+" URI")) +p=q.f +s=q.a +if(p0?s.gV():r,n=s.gar()?s.gai():r,m=s.a,l=s.f,k=B.a.j(m,s.e,l),j=s.r +l=l0&&!s.T(a) +if(s)return a +s=this.b +return this.bH(0,s==null?A.fm():s,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)}, +a2(a){return this.bC(a,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +cv(a){var s,r,q=A.az(a,this.a) +q.aQ() +s=q.d +r=s.length +if(r===0){s=q.b +return s==null?".":s}if(r===1){s=q.b +return s==null?".":s}B.b.bi(s) +q.e.pop() +q.aQ() +return q.h(0)}, +bH(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var s=A.b([b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q],t.m) +A.hY("join",s) +return this.bI(new A.bB(s,t.ab))}, +cG(a,b,c){return this.bH(a,b,c,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +bI(a){var s,r,q,p,o,n,m,l,k +for(s=J.j1(a,new A.dl()),r=J.E(s.a),s=new A.bA(r,s.b),q=this.a,p=!1,o=!1,n="";s.l();){m=r.gm() +if(q.T(m)&&o){l=A.az(m,q) +k=n.charCodeAt(0)==0?n:n +n=B.a.j(k,0,q.aj(k,!0)) +l.b=n +if(q.az(n))l.e[0]=q.gac() +n=""+l.h(0)}else if(q.F(m)>0){o=!q.T(m) +n=""+m}else{if(!(m.length!==0&&q.b3(m[0])))if(p)n+=q.gac() +n+=m}p=q.az(m)}return n.charCodeAt(0)==0?n:n}, +am(a,b){var s=A.az(b,this.a),r=s.d,q=A.y(r).i("D<1>") +q=A.ak(new A.D(r,new A.dm(),q),!0,q.i("c.E")) +s.d=q +r=s.b +if(r!=null)B.b.b9(q,0,r) +return s.d}, +bg(a){var s +if(!this.cf(a))return a +s=A.az(a,this.a) +s.bf() +return s.h(0)}, +cf(a){var s,r,q,p,o,n,m,l,k=this.a,j=k.F(a) +if(j!==0){if(k===$.bU())for(s=0;s0)return o.bg(a) +if(m.F(a)<=0||m.T(a))a=o.a2(a) +if(m.F(a)<=0&&m.F(b)>0)throw A.a(A.fZ(n+a+'" from "'+b+'".')) +s=A.az(b,m) +s.bf() +r=A.az(a,m) +r.bf() +q=s.d +if(q.length!==0&&J.A(q[0],"."))return r.h(0) +q=s.b +p=r.b +if(q!=p)q=q==null||p==null||!m.bh(q,p) +else q=!1 +if(q)return r.h(0) +while(!0){q=s.d +if(q.length!==0){p=r.d +q=p.length!==0&&m.bh(q[0],p[0])}else q=!1 +if(!q)break +B.b.aP(s.d,0) +B.b.aP(s.e,1) +B.b.aP(r.d,0) +B.b.aP(r.e,1)}q=s.d +if(q.length!==0&&J.A(q[0],".."))throw A.a(A.fZ(n+a+'" from "'+b+'".')) +q=t.N +B.b.ba(r.d,0,A.a0(s.d.length,"..",!1,q)) +p=r.e +p[0]="" +B.b.ba(p,1,A.a0(s.d.length,m.gac(),!1,q)) +m=r.d +q=m.length +if(q===0)return"." +if(q>1&&J.A(B.b.gL(m),".")){B.b.bi(r.d) +m=r.e +m.pop() +m.pop() +m.push("")}r.b="" +r.aQ() +return r.h(0)}, +cM(a){return this.aO(a,null)}, +bs(a,b){var s,r,q,p,o,n,m,l,k=this +a=a +b=b +r=k.a +q=r.F(a)>0 +p=r.F(b)>0 +if(q&&!p){b=k.a2(b) +if(r.T(a))a=k.a2(a)}else if(p&&!q){a=k.a2(a) +if(r.T(b))b=k.a2(b)}else if(p&&q){o=r.T(b) +n=r.T(a) +if(o&&!n)b=k.a2(b) +else if(n&&!o)a=k.a2(a)}m=k.ce(a,b) +if(m!==B.f)return m +s=null +try{s=k.aO(b,a)}catch(l){if(A.b2(l) instanceof A.br)return B.d +else throw l}if(r.F(s)>0)return B.d +if(J.A(s,"."))return B.q +if(J.A(s,".."))return B.d +return J.F(s)>=3&&J.j_(s,"..")&&r.v(J.eT(s,2))?B.d:B.i}, +ce(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=this +if(a===".")a="" +s=e.a +r=s.F(a) +q=s.F(b) +if(r!==q)return B.d +for(p=0;pq.am(0,s).length?s:r}} +A.dl.prototype={ +$1(a){return a!==""}} +A.dm.prototype={ +$1(a){return a.length!==0}} +A.eB.prototype={ +$1(a){return a==null?"null":'"'+a+'"'}} +A.aW.prototype={ +h(a){return this.a}} +A.aX.prototype={ +h(a){return this.a}} +A.dx.prototype={ +bX(a){var s=this.F(a) +if(s>0)return B.a.j(a,0,s) +return this.T(a)?a[0]:null}, +bO(a){var s,r=null,q=a.length +if(q===0)return A.x(r,r,r,r) +s=A.eV(this).am(0,a) +if(this.v(a.charCodeAt(q-1)))B.b.a3(s,"") +return A.x(r,r,s,r)}, +aI(a,b){return a===b}, +bh(a,b){return a===b}} +A.dI.prototype={ +gb8(){var s=this.d +if(s.length!==0)s=J.A(B.b.gL(s),"")||!J.A(B.b.gL(this.e),"") +else s=!1 +return s}, +aQ(){var s,r,q=this +while(!0){s=q.d +if(!(s.length!==0&&J.A(B.b.gL(s),"")))break +B.b.bi(q.d) +q.e.pop()}s=q.e +r=s.length +if(r!==0)s[r-1]=""}, +bf(){var s,r,q,p,o,n,m=this,l=A.b([],t.s) +for(s=m.d,r=s.length,q=0,p=0;p0){s=B.a.a5(a,"\\",s+1) +if(s>0)return s}return r}if(r<3)return 0 +if(!A.i4(a.charCodeAt(0)))return 0 +if(a.charCodeAt(1)!==58)return 0 +r=a.charCodeAt(2) +if(!(r===47||r===92))return 0 +return 3}, +F(a){return this.aj(a,!1)}, +T(a){return this.F(a)===1}, +aN(a){var s,r +if(a.gJ()!==""&&a.gJ()!=="file")throw A.a(A.G("Uri "+a.h(0)+" must have scheme 'file:'.")) +s=a.gN(a) +if(a.gV()===""){if(s.length>=3&&B.a.p(s,"/")&&A.i5(s,1))s=B.a.bP(s,"/","")}else s="\\\\"+a.gV()+s +r=A.R(s,"/","\\") +return A.fe(r,0,r.length,B.e,!1)}, +b2(a){var s,r,q=A.az(a,this),p=q.b +p.toString +if(B.a.p(p,"\\\\")){s=new A.D(A.b(p.split("\\"),t.s),new A.ed(),t.U) +B.b.b9(q.d,0,s.gL(s)) +if(q.gb8())B.b.a3(q.d,"") +return A.x(s.gaJ(s),null,q.d,"file")}else{if(q.d.length===0||q.gb8())B.b.a3(q.d,"") +p=q.d +r=q.b +r.toString +r=A.R(r,"/","") +B.b.b9(p,0,A.R(r,"\\","")) +return A.x(null,null,q.d,"file")}}, +aI(a,b){var s +if(a===b)return!0 +if(a===47)return b===92 +if(a===92)return b===47 +if((a^b)!==32)return!1 +s=a|32 +return s>=97&&s<=122}, +bh(a,b){var s,r +if(a===b)return!0 +s=a.length +if(s!==b.length)return!1 +for(r=0;r0 +q=f.d +l=0 +k=0 +j=0 +i=0 +h=0 +g=0 +while(!0){if(!(n.c=a0.length)throw A.a(A.cG("Invalid source url id. "+A.d(f.e)+", "+l+", "+j)) +p=n.ga9() +if(!(!p.a&&!p.b&&!p.c))throw A.a(f.b_(2,l)) +i+=A.d8(n) +p=n.ga9() +if(!(!p.a&&!p.b&&!p.c))throw A.a(f.b_(3,l)) +h+=A.d8(n) +p=n.ga9() +if(!(!p.a&&!p.b&&!p.c))m.push(new A.aS(k,j,i,h,d)) +else{g+=A.d8(n) +if(g>=a1.length)throw A.a(A.cG("Invalid name id: "+A.d(f.e)+", "+l+", "+g)) +m.push(new A.aS(k,j,i,h,g))}}if(n.ga9().b)++n.c}}if(m.length!==0)q.push(new A.bx(l,m)) +a3.O(0,new A.dN(f))}, +aB(){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,a0,a1,a2,a3,a4,a5=this,a6=new A.w("") +for(s=a5.d,r=s.length,q=0,p=0,o=0,n=0,m=0,l=0,k=!0,j=0;jq){for(g=q;gthis.a}} +A.dO.prototype={ +$1(a){return a.a>this.a}} +A.bx.prototype={ +h(a){return A.b1(this).h(0)+": "+this.a+" "+A.d(this.b)}} +A.aS.prototype={ +h(a){var s=this +return A.b1(s).h(0)+": ("+s.a+", "+A.d(s.b)+", "+A.d(s.c)+", "+A.d(s.d)+", "+A.d(s.e)+")"}} +A.ei.prototype={ +l(){return++this.c=0&&s0}, +ga9(){if(!this.gcD())return B.aa +var s=this.a[this.c+1] +if(s===";")return B.ac +if(s===",")return B.ab +return B.a9}, +h(a){var s,r,q,p,o=this,n=new A.w("") +for(s=o.a,r=0;r=r||s[n]!==10)o=10}if(o===10)q.push(p+1)}}} +A.cD.prototype={ +bE(a){var s=this.a +if(!s.G(0,a.gS()))throw A.a(A.G('Source URLs "'+s.h(0)+'" and "'+a.gS().h(0)+"\" don't match.")) +return Math.abs(this.b-a.gah())}, +G(a,b){if(b==null)return!1 +return t.q.b(b)&&this.a.G(0,b.gS())&&this.b===b.gah()}, +gD(a){var s=this.a +s=s.gD(s) +return s+this.b}, +h(a){var s=this,r=A.b1(s).h(0) +return"<"+r+": "+s.b+" "+(s.a.h(0)+":"+(s.c+1)+":"+(s.d+1))+">"}, +gS(){return this.a}, +gah(){return this.b}, +gav(){return this.c}, +gao(){return this.d}} +A.cE.prototype={ +bo(a,b,c){var s,r=this.b,q=this.a +if(!r.gS().G(0,q.gS()))throw A.a(A.G('Source URLs "'+q.gS().h(0)+'" and "'+r.gS().h(0)+"\" don't match.")) +else if(r.gah()'}, +$idR:1} +A.at.prototype={ +bQ(){var s=this.a +return A.dW(new A.be(s,new A.di(),A.y(s).i("be<1,v>")),null)}, +h(a){var s=this.a,r=A.y(s) +return new A.j(s,new A.dg(new A.j(s,new A.dh(),r.i("j<1,f>")).b6(0,0,B.j)),r.i("j<1,e>")).a0(0,u.a)}} +A.dd.prototype={ +$1(a){return a.length!==0}} +A.di.prototype={ +$1(a){return a.gad()}} +A.dh.prototype={ +$1(a){var s=a.gad() +return new A.j(s,new A.df(),A.y(s).i("j<1,f>")).b6(0,0,B.j)}} +A.df.prototype={ +$1(a){return a.gag().length}} +A.dg.prototype={ +$1(a){var s=a.gad() +return new A.j(s,new A.de(this.a),A.y(s).i("j<1,e>")).aM(0)}} +A.de.prototype={ +$1(a){return B.a.bN(a.gag(),this.a)+" "+A.d(a.gaw())+"\n"}} +A.v.prototype={ +gbc(){var s=this.a +if(s.gJ()==="data")return"data:..." +return $.eQ().cL(s)}, +gag(){var s,r=this,q=r.b +if(q==null)return r.gbc() +s=r.c +if(s==null)return r.gbc()+" "+A.d(q) +return r.gbc()+" "+A.d(q)+":"+A.d(s)}, +h(a){return this.gag()+" in "+A.d(this.d)}, +ga6(){return this.a}, +gav(){return this.b}, +gao(){return this.c}, +gaw(){return this.d}} +A.dv.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a +if(k==="...")return new A.v(A.x(l,l,l,l),l,l,"...") +s=$.iO().a4(k) +if(s==null)return new A.Y(A.x(l,"unparsed",l,l),k) +k=s.b +r=k[1] +r.toString +q=$.iz() +r=A.R(r,q,"") +p=A.R(r,"","") +r=k[2] +q=r +q.toString +if(B.a.p(q,"1?A.Q(n[1],l):l +return new A.v(o,m,k>2?A.Q(n[2],l):l,p)}} +A.dt.prototype={ +$0(){var s,r,q="",p=this.a,o=$.iK().a4(p) +if(o==null)return new A.Y(A.x(null,"unparsed",null,null),p) +p=new A.du(p) +s=o.b +r=s[2] +if(r!=null){r=r +r.toString +s=s[1] +s.toString +s=A.R(s,"",q) +s=A.R(s,"Anonymous function",q) +return p.$2(r,A.R(s,"(anonymous function)",q))}else{s=s[3] +s.toString +return p.$2(s,q)}}} +A.du.prototype={ +$2(a,b){var s,r,q,p,o,n=null,m=$.iJ(),l=m.a4(a) +for(;l!=null;a=s){s=l.b[1] +s.toString +l=m.a4(s)}if(a==="native")return new A.v(A.L("native"),n,n,b) +r=$.iN().a4(a) +if(r==null)return new A.Y(A.x(n,"unparsed",n,n),this.a) +m=r.b +s=m[1] +s.toString +q=A.eW(s) +s=m[2] +s.toString +p=A.Q(s,n) +o=m[3] +return new A.v(q,p,o!=null?A.Q(o,n):n,b)}} +A.dq.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iB().a4(n) +if(m==null)return new A.Y(A.x(o,"unparsed",o,o),n) +n=m.b +s=n[1] +s.toString +r=A.R(s,"/<","") +s=n[2] +s.toString +q=A.eW(s) +n=n[3] +n.toString +p=A.Q(n,o) +return new A.v(q,p,o,r.length===0||r==="anonymous"?"":r)}} +A.dr.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.iD().a4(k) +if(j==null)return new A.Y(A.x(l,"unparsed",l,l),k) +s=j.b +r=s[3] +q=r +q.toString +if(B.a.t(q," line "))return A.jc(k) +k=r +k.toString +p=A.eW(k) +o=s[1] +if(o!=null){k=s[2] +k.toString +k=B.a.aF("/",k) +o+=B.b.aM(A.a0(k.gk(k),".",!1,t.N)) +if(o==="")o="" +o=B.a.bP(o,$.iH(),"")}else o="" +k=s[4] +if(k==="")n=l +else{k=k +k.toString +n=A.Q(k,l)}k=s[5] +if(k==null||k==="")m=l +else{k=k +k.toString +m=A.Q(k,l)}return new A.v(p,n,m,o)}} +A.ds.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iF().a4(n) +if(m==null)throw A.a(A.n("Couldn't parse package:stack_trace stack trace line '"+n+"'.",o,o)) +n=m.b +s=n[1] +if(s==="data:...")r=A.hf("") +else{s=s +s.toString +r=A.L(s)}if(r.gJ()===""){s=$.eQ() +r=s.bR(s.bC(s.a.aN(A.fk(r)),o,o,o,o,o,o,o,o,o,o,o,o,o,o))}s=n[2] +if(s==null)q=o +else{s=s +s.toString +q=A.Q(s,o)}s=n[3] +if(s==null)p=o +else{s=s +s.toString +p=A.Q(s,o)}return new A.v(r,q,p,n[4])}} +A.ck.prototype={ +gbB(){var s,r=this,q=r.b +if(q===$){s=r.a.$0() +r.b!==$&&A.eP() +r.b=s +q=s}return q}, +gad(){return this.gbB().gad()}, +h(a){return this.gbB().h(0)}, +$iK:1} +A.K.prototype={ +cC(a){var s,r,q,p,o={} +o.a=a +s=A.b([],t.F) +for(r=this.a,r=new A.aA(r,A.y(r).i("aA<1>")),r=new A.a7(r,r.gk(r)),q=A.i(r).c;r.l();){p=r.d +if(p==null)p=q.a(p) +if(p instanceof A.Y||!o.a.$1(p))s.push(p) +else if(s.length===0||!o.a.$1(B.b.gL(s)))s.push(new A.v(p.ga6(),p.gav(),p.gao(),p.gaw()))}return A.dW(new A.aA(s,t.n),this.b.a)}, +h(a){var s=this.a,r=A.y(s) +return new A.j(s,new A.e2(new A.j(s,new A.e3(),r.i("j<1,f>")).b6(0,0,B.j)),r.i("j<1,e>")).aM(0)}, +gad(){return this.a}} +A.e0.prototype={ +$0(){return A.f5(this.a.h(0))}} +A.e1.prototype={ +$1(a){return a.length!==0}} +A.e_.prototype={ +$1(a){return!B.a.p(a,$.iM())}} +A.dZ.prototype={ +$1(a){return a!=="\tat "}} +A.dX.prototype={ +$1(a){return a.length!==0&&a!=="[native code]"}} +A.dY.prototype={ +$1(a){return!B.a.p(a,"=====")}} +A.e3.prototype={ +$1(a){return a.gag().length}} +A.e2.prototype={ +$1(a){if(a instanceof A.Y)return a.h(0)+"\n" +return B.a.bN(a.gag(),this.a)+" "+A.d(a.gaw())+"\n"}} +A.Y.prototype={ +h(a){return this.w}, +$iv:1, +ga6(){return this.a}, +gav(){return null}, +gao(){return null}, +gag(){return"unparsed"}, +gaw(){return this.w}} +A.eM.prototype={ +$1(a){var s,r,q,p,o,n,m,l,k,j,i,h,g="dart:",f=a.gav() +if(f==null)return null +s=a.gao() +if(s==null)s=0 +r=this.a.c_(f-1,s-1,a.ga6().h(0)) +if(r==null)return null +q=r.gS().h(0) +for(p=this.b,o=p.length,n=0;n"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")} +A.ka(v.typeUniverse,JSON.parse('{"cw":"aj","aT":"aj","ai":"aj","dn":"aj","cb":{"C":[]},"bi":{"C":[]},"o":{"k":["1"],"h":["1"]},"dA":{"o":["1"],"k":["1"],"h":["1"]},"bh":{"f":[],"C":[]},"cc":{"C":[]},"aw":{"e":[],"C":[]},"ao":{"c":["2"]},"ar":{"ao":["1","2"],"c":["2"],"c.E":"2"},"bD":{"ar":["1","2"],"ao":["1","2"],"h":["2"],"c":["2"],"c.E":"2"},"bC":{"p":["2"],"k":["2"],"ao":["1","2"],"h":["2"],"c":["2"]},"a4":{"bC":["1","2"],"p":["2"],"k":["2"],"ao":["1","2"],"h":["2"],"c":["2"],"c.E":"2","p.E":"2"},"as":{"I":["3","4"],"N":["3","4"],"I.V":"4","I.K":"3"},"bk":{"m":[]},"aL":{"p":["f"],"k":["f"],"h":["f"],"p.E":"f"},"h":{"c":["1"]},"H":{"h":["1"],"c":["1"]},"aC":{"H":["1"],"h":["1"],"c":["1"],"c.E":"1","H.E":"1"},"P":{"c":["2"],"c.E":"2"},"ba":{"P":["1","2"],"h":["2"],"c":["2"],"c.E":"2"},"j":{"H":["2"],"h":["2"],"c":["2"],"c.E":"2","H.E":"2"},"D":{"c":["1"],"c.E":"1"},"be":{"c":["2"],"c.E":"2"},"aD":{"c":["1"],"c.E":"1"},"bb":{"aD":["1"],"h":["1"],"c":["1"],"c.E":"1"},"a9":{"c":["1"],"c.E":"1"},"aM":{"a9":["1"],"h":["1"],"c":["1"],"c.E":"1"},"bt":{"c":["1"],"c.E":"1"},"bc":{"h":["1"],"c":["1"],"c.E":"1"},"bB":{"c":["1"],"c.E":"1"},"aU":{"p":["1"],"k":["1"],"h":["1"]},"aA":{"H":["1"],"h":["1"],"c":["1"],"c.E":"1","H.E":"1"},"aR":{"dU":[]},"b8":{"aE":["1","2"],"N":["1","2"]},"b7":{"N":["1","2"]},"b9":{"b7":["1","2"],"N":["1","2"]},"bE":{"c":["1"],"c.E":"1"},"bq":{"m":[]},"ce":{"m":[]},"cL":{"m":[]},"cu":{"bd":[]},"cV":{"m":[]},"cz":{"m":[]},"a5":{"I":["1","2"],"N":["1","2"],"I.V":"2","I.K":"1"},"a6":{"h":["1"],"c":["1"],"c.E":"1"},"aV":{"cy":[],"bn":[]},"cT":{"c":["cy"],"c.E":"cy"},"bw":{"bn":[]},"d1":{"c":["bn"],"c.E":"bn"},"cp":{"C":[]},"aP":{"aO":["1"]},"bo":{"p":["f"],"aO":["f"],"k":["f"],"h":["f"]},"cq":{"p":["f"],"aO":["f"],"k":["f"],"h":["f"],"C":[],"p.E":"f"},"cs":{"p":["f"],"aO":["f"],"k":["f"],"h":["f"],"C":[],"p.E":"f"},"ay":{"p":["f"],"cJ":[],"aO":["f"],"k":["f"],"h":["f"],"C":[],"p.E":"f"},"cX":{"m":[]},"bH":{"m":[]},"aY":{"c":["1"],"c.E":"1"},"p":{"k":["1"],"h":["1"]},"I":{"N":["1","2"]},"bl":{"N":["1","2"]},"aE":{"N":["1","2"]},"cZ":{"I":["e","@"],"N":["e","@"],"I.V":"@","I.K":"e"},"d_":{"H":["e"],"h":["e"],"c":["e"],"c.E":"e","H.E":"e"},"bW":{"ah":["e","k"]},"d3":{"a_":["e","k"]},"bX":{"a_":["e","k"]},"c_":{"ah":["k","e"]},"c0":{"a_":["k","e"]},"c5":{"ah":["e","k"]},"bj":{"m":[]},"cg":{"m":[]},"cf":{"ah":["t?","e"]},"ci":{"a_":["t?","e"]},"ch":{"a_":["e","t?"]},"cP":{"ah":["e","k"]},"cR":{"a_":["e","k"]},"cQ":{"a_":["k","e"]},"k":{"h":["1"]},"cy":{"bn":[]},"bY":{"m":[]},"by":{"m":[]},"W":{"m":[]},"a8":{"m":[]},"bf":{"a8":[],"m":[]},"ct":{"m":[]},"cN":{"m":[]},"cK":{"m":[]},"aB":{"m":[]},"c2":{"m":[]},"cv":{"m":[]},"bv":{"m":[]},"aN":{"bd":[]},"bM":{"bz":[]},"V":{"bz":[]},"cW":{"bz":[]},"br":{"bd":[]},"bs":{"al":[]},"co":{"al":[]},"cn":{"al":[]},"bu":{"dR":[]},"cE":{"dR":[]},"cF":{"dR":[]},"ck":{"K":[]},"Y":{"v":[]},"cj":{"al":[]},"jk":{"k":["f"],"h":["f"]},"cJ":{"k":["f"],"h":["f"]},"jM":{"k":["f"],"h":["f"]}}')) +A.k9(v.typeUniverse,JSON.parse('{"b5":1,"a7":1,"bm":2,"bA":1,"c6":2,"cI":1,"cA":1,"cB":1,"c4":1,"c7":1,"cM":1,"aU":1,"bP":2,"d0":1,"cl":1,"aP":1,"d2":1,"d5":2,"bl":2,"bL":2}')) +var u={a:"===== asynchronous gap ===========================\n",n:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l:"Cannot extract a file path from a URI with a fragment component",i:"Cannot extract a file path from a URI with a query component",j:"Cannot extract a non-Windows file path from a file URI with an authority"} +var t=(function rtii(){var s=A.eE +return{Z:s("b8"),X:s("h<@>"),C:s("m"),M:s("bd"),B:s("v"),c:s("lD"),F:s("o"),o:s("o"),s:s("o"),p:s("o"),Q:s("o"),J:s("o"),h:s("o"),b:s("o<@>"),t:s("o"),m:s("o"),T:s("bi"),g:s("ai"),D:s("aO<@>"),V:s("a5"),j:s("k<@>"),e:s("N"),f:s("N<@,@>"),L:s("P"),k:s("j"),r:s("j"),l:s("ay"),P:s("bp"),K:s("t"),G:s("a8"),W:s("lE"),d:s("cy"),n:s("aA"),E:s("bs"),q:s("cD"),u:s("dR"),N:s("e"),a:s("K"),v:s("C"),x:s("cJ"),cr:s("aT"),R:s("bz"),U:s("D"),ab:s("bB"),y:s("kX"),i:s("l1"),z:s("@"),S:s("f"),A:s("0&*"),_:s("t*"),bc:s("fN?"),aL:s("k<@>?"),Y:s("N<@,@>?"),ar:s("N?"),O:s("t?"),w:s("cC?"),aD:s("e?"),I:s("bz?"),H:s("ft")}})();(function constants(){var s=hunkHelpers.makeConstList +B.Q=J.c9.prototype +B.b=J.o.prototype +B.c=J.bh.prototype +B.R=J.cd.prototype +B.a=J.aw.prototype +B.S=J.ai.prototype +B.T=J.B.prototype +B.a_=A.ay.prototype +B.E=J.cw.prototype +B.m=J.aT.prototype +B.F=new A.bX(127) +B.j=new A.bg(A.lk(),A.eE("bg")) +B.G=new A.bW() +B.ad=new A.c0() +B.H=new A.c_() +B.r=new A.c4() +B.t=function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +} +B.I=function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +} +B.N=function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +} +B.J=function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +} +B.K=function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +} +B.M=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +} +B.L=function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +} +B.u=function(hooks) { return hooks; } + +B.k=new A.cf() +B.O=new A.cv() +B.l=new A.dM() +B.e=new A.cP() +B.P=new A.cR() +B.v=new A.ej() +B.U=new A.ch(null) +B.V=new A.ci(null) +B.w=A.b(s([0,0,24576,1023,65534,34815,65534,18431]),t.t) +B.x=A.b(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) +B.W=A.b(s([0,0,32722,12287,65534,34815,65534,18431]),t.t) +B.X=A.b(s([0,0,32722,12287,65535,34815,65534,18431]),t.t) +B.y=A.b(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) +B.z=A.b(s([0,0,32776,33792,1,10240,0,0]),t.t) +B.Y=A.b(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) +B.A=A.b(s([]),t.s) +B.B=A.b(s([]),t.b) +B.Z=A.b(s([]),t.m) +B.h=A.b(s([0,0,65490,45055,65535,34815,65534,18431]),t.t) +B.C=A.b(s([0,0,27858,1023,65534,51199,65535,32767]),t.t) +B.a0={} +B.D=new A.b9(B.a0,[],A.eE("b9")) +B.a1=new A.aR("call") +B.a2=A.da("lz") +B.a3=A.da("jk") +B.a4=A.da("t") +B.a5=A.da("jM") +B.a6=A.da("cJ") +B.a7=new A.cQ(!1) +B.n=new A.aW("at root") +B.o=new A.aW("below root") +B.a8=new A.aW("reaches root") +B.p=new A.aW("above root") +B.d=new A.aX("different") +B.q=new A.aX("equal") +B.f=new A.aX("inconclusive") +B.i=new A.aX("within") +B.a9=new A.aZ(!1,!1,!1) +B.aa=new A.aZ(!1,!1,!0) +B.ab=new A.aZ(!1,!0,!1) +B.ac=new A.aZ(!0,!1,!1)})();(function staticFields(){$.ee=null +$.aI=A.b([],A.eE("o")) +$.h0=null +$.fJ=null +$.fI=null +$.i2=null +$.i_=null +$.ic=null +$.eD=null +$.eK=null +$.fq=null +$.hO=null +$.ex=null +$.fj=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal +s($,"lA","fv",()=>A.l7("_$dart_dartClosure")) +s($,"lJ","ik",()=>A.aa(A.e5({ +toString:function(){return"$receiver$"}}))) +s($,"lK","il",()=>A.aa(A.e5({$method$:null, +toString:function(){return"$receiver$"}}))) +s($,"lL","im",()=>A.aa(A.e5(null))) +s($,"lM","io",()=>A.aa(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(r){return r.message}}())) +s($,"lP","ir",()=>A.aa(A.e5(void 0))) +s($,"lQ","is",()=>A.aa(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(r){return r.message}}())) +s($,"lO","iq",()=>A.aa(A.hc(null))) +s($,"lN","ip",()=>A.aa(function(){try{null.$method$}catch(r){return r.message}}())) +s($,"lS","iu",()=>A.aa(A.hc(void 0))) +s($,"lR","it",()=>A.aa(function(){try{(void 0).$method$}catch(r){return r.message}}())) +s($,"lT","iv",()=>new A.eb().$0()) +s($,"lU","iw",()=>new A.ea().$0()) +s($,"lV","ix",()=>new Int8Array(A.hP(A.b([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],t.t)))) +s($,"lW","fx",()=>typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32") +s($,"lX","iy",()=>A.l("^[\\-\\.0-9A-Z_a-z~]*$",!1)) +s($,"mg","fy",()=>A.i8(B.a4)) +s($,"mi","iI",()=>A.kv()) +s($,"mw","iQ",()=>A.eV($.bU())) +s($,"mu","eR",()=>A.eV($.b3())) +s($,"mp","eQ",()=>new A.c3($.fw(),null)) +s($,"lG","ij",()=>new A.dJ(A.l("/",!1),A.l("[^/]$",!1),A.l("^/",!1))) +s($,"lI","bU",()=>new A.ec(A.l("[/\\\\]",!1),A.l("[^/\\\\]$",!1),A.l("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),A.l("^[/\\\\](?![/\\\\])",!1))) +s($,"lH","b3",()=>new A.e9(A.l("/",!1),A.l("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),A.l("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),A.l("^/",!1))) +s($,"lF","fw",()=>A.jD()) +s($,"m9","iA",()=>new A.ey().$0()) +s($,"mr","fz",()=>A.hK(A.ib(2,31))-1) +s($,"ms","fA",()=>-A.hK(A.ib(2,31))) +s($,"mo","iO",()=>A.l("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)) +s($,"mk","iK",()=>A.l("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)) +s($,"mn","iN",()=>A.l("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)) +s($,"mj","iJ",()=>A.l("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)) +s($,"ma","iB",()=>A.l("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)) +s($,"mc","iD",()=>A.l("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)) +s($,"me","iF",()=>A.l("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)) +s($,"m8","iz",()=>A.l("<(|[^>]+)_async_body>",!1)) +s($,"mh","iH",()=>A.l("^\\.",!1)) +s($,"lB","ih",()=>A.l("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)) +s($,"lC","ii",()=>A.l("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)) +s($,"ml","iL",()=>A.l("\\n ?at ",!1)) +s($,"mm","iM",()=>A.l(" ?at ",!1)) +s($,"mb","iC",()=>A.l("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)) +s($,"md","iE",()=>A.l("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)) +s($,"mf","iG",()=>A.l("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)) +s($,"mv","fB",()=>A.l("^\\n?$",!0)) +s($,"mt","iP",()=>J.iX(self.$dartLoader.rootDirectories,new A.eO(),t.N).ak(0))})();(function nativeSupport(){!function(){var s=function(a){var m={} +m[a]=1 +return Object.keys(hunkHelpers.convertToFastObject(m))[0]} +v.getIsolateTag=function(a){return s("___dart_"+a+v.isolateTag)} +var r="___dart_isolate_tags_" +var q=Object[r]||(Object[r]=Object.create(null)) +var p="_ZxYxX" +for(var o=0;;o++){var n=s(p+"_"+o+"_") +if(!(n in q)){q[n]=1 +v.isolateTag=n +break}}v.dispatchPropertyName=v.getIsolateTag("dispatch_record")}() +hunkHelpers.setOrUpdateInterceptorsByTag({ApplicationCacheErrorEvent:J.B,DOMError:J.B,ErrorEvent:J.B,Event:J.B,InputEvent:J.B,SubmitEvent:J.B,MediaError:J.B,NavigatorUserMediaError:J.B,OverconstrainedError:J.B,PositionError:J.B,GeolocationPositionError:J.B,SensorErrorEvent:J.B,SpeechRecognitionError:J.B,ArrayBuffer:A.cp,ArrayBufferView:A.cr,Int8Array:A.cq,Uint32Array:A.cs,Uint8Array:A.ay,DOMException:A.dp}) +hunkHelpers.setOrUpdateLeafTags({ApplicationCacheErrorEvent:true,DOMError:true,ErrorEvent:true,Event:true,InputEvent:true,SubmitEvent:true,MediaError:true,NavigatorUserMediaError:true,OverconstrainedError:true,PositionError:true,GeolocationPositionError:true,SensorErrorEvent:true,SpeechRecognitionError:true,ArrayBuffer:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) +A.aP.$nativeSuperclassTag="ArrayBufferView" +A.bF.$nativeSuperclassTag="ArrayBufferView" +A.bG.$nativeSuperclassTag="ArrayBufferView" +A.bo.$nativeSuperclassTag="ArrayBufferView"})() +Function.prototype.$0=function(){return this()} +Function.prototype.$1=function(a){return this(a)} +Function.prototype.$2=function(a,b){return this(a,b)} +Function.prototype.$3=function(a,b,c){return this(a,b,c)} +Function.prototype.$1$0=function(){return this()} +Function.prototype.$2$0=function(){return this()} +Function.prototype.$1$1=function(a){return this(a)} +convertAllToFastObject(w) +convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) +return}if(typeof document.currentScript!="undefined"){a(document.currentScript) +return}var s=document.scripts +function onLoad(b){for(var q=0;q. +var links = document.getElementsByTagName("link"); +var testLinks = []; +var length = links.length; +for (var i = 0; i < length; ++i) { + if (links[i].rel == "x-dart-test") testLinks.push(links[i]); +} + +if (testLinks.length != 1) { + sendLoadException( + 'Expected exactly 1 in ' + name + ', found ' + + testLinks.length + '.'); + return; +} + +var link = testLinks[0]; + +if (link.href == '') { + sendLoadException( + 'Expected in ' + name + ' to have an "href" ' + + 'attribute.'); + return; +} + +var script = document.createElement('script'); + +if (typeof trustedTypes !== 'undefined') { + const sanitizer = trustedTypes.createPolicy('dart#test', { + createScriptURL: (input) => input + '.browser_test.dart.js' + }); + script.src = sanitizer.createScriptURL(link.href); +} else { + script.src = link.href + '.browser_test.dart.js'; +} + +script.onerror = function(event) { + var message = "Failed to load script at " + script.src + + (event.message ? ": " + event.message : "."); + sendLoadException(message); +}; + +Array.from(document.querySelectorAll('script')).some(currentScript => { + if (currentScript.nonce) { + script.nonce = currentScript.nonce; + return true; + } +}); + +var parent = link.parentNode; +document.currentScript = script; +parent.replaceChild(script, link); + +}; diff --git a/packages/test/src/runner/browser/static/default.html.tpl b/packages/test/src/runner/browser/static/default.html.tpl new file mode 100644 index 0000000..a92f529 --- /dev/null +++ b/packages/test/src/runner/browser/static/default.html.tpl @@ -0,0 +1,8 @@ + + + + {{testName}} Test + {{testScript}} + + + diff --git a/packages/test/src/runner/browser/static/favicon.ico b/packages/test/src/runner/browser/static/favicon.ico new file mode 100644 index 0000000..7ba349b Binary files /dev/null and b/packages/test/src/runner/browser/static/favicon.ico differ diff --git a/packages/test/src/runner/browser/static/host.css b/packages/test/src/runner/browser/static/host.css new file mode 100644 index 0000000..b8e0352 --- /dev/null +++ b/packages/test/src/runner/browser/static/host.css @@ -0,0 +1,316 @@ +/* Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file + * for details. All rights reserved. Use of this source code is governed by a + * BSD-style license that can be found in the LICENSE file. */ + +iframe { + /* We would use display: none here, but then Firefox fails to properly compute + * styles. See #274 */ + visibility: hidden; + width: 1024px; + height: 768px; +} + +#play { + display: none; + cursor: pointer; +} + +#dark { + display: none; +} + +.paused #play { + display: block; + z-index: 1; +} + +.paused #dark { + display: block; + position: absolute; + width: 100%; + height: 100%; + top: 0; + right: 0; + background-color: rgba(0, 0, 0, 0.5); +} + +.paused #right-flank, .paused #right-ear, .paused #right-paw, +.paused #left-flank, .paused #left-ear, .paused #left-paw { + -webkit-animation-play-state: paused; + animation-play-state: paused; +} + +.debug body { + margin: 0; + padding: 0; +} + +.debug iframe { + visibility: visible; + border: none; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +/* Compiled output from + * http://codepen.io/mknadler/pen/11b75cb014a3c382f54abf527655af21. */ + +svg { + position: absolute; + margin: auto; + left: 0; + right: 0; + bottom: 0; + top: 0; +} + +#right-flank { + fill: #0074C1; + stroke-color: #0074C1; + -webkit-animation: right-flank 8s ease infinite alternate; + animation: right-flank 8s ease infinite alternate; +} + +#right-ear { + fill: #00B5AB; + stroke-color: #00B5AB; + -webkit-animation: right-ear 8s ease-in infinite alternate; + animation: right-ear 8s ease-in infinite alternate; +} + +#right-paw { + fill: #00A6E4; + stroke-color: #00A6E4; + -webkit-animation: right-paw 8s ease-out infinite alternate; + animation: right-paw 8s ease-out infinite alternate; +} + +#left-flank { + fill: #00B5AB; + stroke-color: #00B5AB; + -webkit-animation: left-flank 8s ease-in-out infinite alternate; + animation: left-flank 8s ease-in-out infinite alternate; +} + +#left-ear { + fill: #0074C1; + stroke-color: #0074C1; + -webkit-animation: left-ear 8s linear infinite alternate; + animation: left-ear 8s linear infinite alternate; +} + +#left-paw { + fill: #41C1BC; + stroke-color: #41C1BC; + -webkit-animation: left-paw 8s ease infinite alternate; + animation: left-paw 8s ease infinite alternate; +} + +@-webkit-keyframes left-ear { + 20% { + -webkit-transform: translate(250px, 150px) rotateY(180deg) scale(0.6); + transform: translate(250px, 150px) rotateY(180deg) scale(0.6); + fill: #00A6E4; + } + 50% { + -webkit-transform: translate(100px, 75px) rotateY(80deg) scale(1.1); + transform: translate(100px, 75px) rotateY(80deg) scale(1.1); + fill: #41C1BC; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #0074C1; + } +} + +@keyframes left-ear { + 20% { + -webkit-transform: translate(250px, 150px) rotateY(180deg) scale(0.6); + transform: translate(250px, 150px) rotateY(180deg) scale(0.6); + fill: #00A6E4; + } + 50% { + -webkit-transform: translate(100px, 75px) rotateY(80deg) scale(1.1); + transform: translate(100px, 75px) rotateY(80deg) scale(1.1); + fill: #41C1BC; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #0074C1; + } +} +@-webkit-keyframes right-ear { + 20% { + -webkit-transform: translate(200px, 250px) rotateX(180deg) scale(0.6); + transform: translate(200px, 250px) rotateX(180deg) scale(0.6); + fill: #41C1BC; + } + 50% { + -webkit-transform: translate(75px, 100px) rotateX(80deg) scale(1.1); + transform: translate(75px, 100px) rotateX(80deg) scale(1.1); + fill: #00A6E4; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #00B5AB; + } +} +@keyframes right-ear { + 20% { + -webkit-transform: translate(200px, 250px) rotateX(180deg) scale(0.6); + transform: translate(200px, 250px) rotateX(180deg) scale(0.6); + fill: #41C1BC; + } + 50% { + -webkit-transform: translate(75px, 100px) rotateX(80deg) scale(1.1); + transform: translate(75px, 100px) rotateX(80deg) scale(1.1); + fill: #00A6E4; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #00B5AB; + } +} +@-webkit-keyframes left-paw { + 20% { + -webkit-transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, 60deg) scale(0.6); + transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, 60deg) scale(0.6); + fill: #00B5AB; + } + 50% { + -webkit-transform: translate(150px, 250px) rotate3d(-1, 0, 0.5, 90deg) scale(0.6); + transform: translate(150px, 250px) rotate3d(-1, 0, 0.5, 90deg) scale(0.6); + fill: #00B5AB; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #41C1BC; + } +} +@keyframes left-paw { + 20% { + -webkit-transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, 60deg) scale(0.6); + transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, 60deg) scale(0.6); + fill: #00B5AB; + } + 50% { + -webkit-transform: translate(150px, 250px) rotate3d(-1, 0, 0.5, 90deg) scale(0.6); + transform: translate(150px, 250px) rotate3d(-1, 0, 0.5, 90deg) scale(0.6); + fill: #00B5AB; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #41C1BC; + } +} +@-webkit-keyframes right-paw { + 20% { + -webkit-transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, -60deg) scale(0.6); + transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, -60deg) scale(0.6); + fill: #41C1BC; + } + 50% { + -webkit-transform: translate(100px, 250px) rotate3d(-1, 0, 0.5, -90deg) scale(0.6); + transform: translate(100px, 250px) rotate3d(-1, 0, 0.5, -90deg) scale(0.6); + fill: #41C1BC; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #00A6E4; + } +} +@keyframes right-paw { + 20% { + -webkit-transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, -60deg) scale(0.6); + transform: translate(200px, 200px) rotate3d(-1, 0, 0.5, -60deg) scale(0.6); + fill: #41C1BC; + } + 50% { + -webkit-transform: translate(100px, 250px) rotate3d(-1, 0, 0.5, -90deg) scale(0.6); + transform: translate(100px, 250px) rotate3d(-1, 0, 0.5, -90deg) scale(0.6); + fill: #41C1BC; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #00A6E4; + } +} +@-webkit-keyframes left-flank { + 20% { + -webkit-transform: translate(0px, 100px) scale(0.6); + transform: translate(0px, 100px) scale(0.6); + fill: #00A6E4; + } + 50% { + -webkit-transform: translate(0px, 100px) scale(0.4); + transform: translate(0px, 100px) scale(0.4); + fill: #00A6E4; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #00B5AB; + } +} +@keyframes left-flank { + 20% { + -webkit-transform: translate(0px, 100px) scale(0.6); + transform: translate(0px, 100px) scale(0.6); + fill: #00A6E4; + } + 50% { + -webkit-transform: translate(0px, 100px) scale(0.4); + transform: translate(0px, 100px) scale(0.4); + fill: #00A6E4; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #00B5AB; + } +} +@-webkit-keyframes right-flank { + 20% { + -webkit-transform: translate(100px, -25px) scale(0.6); + transform: translate(100px, -25px) scale(0.6); + fill: #41C1BC; + } + 50% { + -webkit-transform: translate(110px, 0px) scale(0.4); + transform: translate(110px, 0px) scale(0.4); + fill: #00A6E4; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #0074C1; + } +} +@keyframes right-flank { + 20% { + -webkit-transform: translate(100px, -25px) scale(0.6); + transform: translate(100px, -25px) scale(0.6); + fill: #41C1BC; + } + 50% { + -webkit-transform: translate(110px, 0px) scale(0.4); + transform: translate(110px, 0px) scale(0.4); + fill: #00A6E4; + } + 80% { + -webkit-transform: translate(0px, 0px) scale(1); + transform: translate(0px, 0px) scale(1); + fill: #0074C1; + } +} diff --git a/packages/test/src/runner/browser/static/host.dart.js b/packages/test/src/runner/browser/static/host.dart.js new file mode 100644 index 0000000..fd3ef38 --- /dev/null +++ b/packages/test/src/runner/browser/static/host.dart.js @@ -0,0 +1,18333 @@ +// Generated by dart2js (NullSafetyMode.sound, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.2.0-228.0.dev. +// The code supports the following hooks: +// dartPrint(message): +// if this function is defined it is called instead of the Dart [print] +// method. +// +// dartMainRunner(main, args): +// if this function is defined, the Dart [main] method will not be invoked +// directly. Instead, a closure that will invoke [main], and its arguments +// [args] is passed to [dartMainRunner]. +// +// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority): +// if this function is defined, it will be called when a deferred library +// is loaded. It should load and eval the javascript of `uri`, and call +// successCallback. If it fails to do so, it should call errorCallback with +// an error. The loadId argument is the deferred import that resulted in +// this uri being loaded. The loadPriority argument is the priority the +// library should be loaded with as specified in the code via the +// load-priority annotation (0: normal, 1: high). +// +// dartCallInstrumentation(id, qualifiedName): +// if this function is defined, it will be called at each entry of a +// method or constructor. Used only when compiling programs with +// --experiment-call-instrumentation. +(function dartProgram() { + function copyProperties(from, to) { + var keys = Object.keys(from); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + to[key] = from[key]; + } + } + function mixinPropertiesHard(from, to) { + var keys = Object.keys(from); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!to.hasOwnProperty(key)) + to[key] = from[key]; + } + } + function mixinPropertiesEasy(from, to) { + Object.assign(to, from); + } + var supportsDirectProtoAccess = function() { + var cls = function() { + }; + cls.prototype = {p: {}}; + var object = new cls(); + if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p)) + return false; + try { + if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0) + return true; + if (typeof version == "function" && version.length == 0) { + var v = version(); + if (/^\d+\.\d+\.\d+\.\d+$/.test(v)) + return true; + } + } catch (_) { + } + return false; + }(); + function inherit(cls, sup) { + cls.prototype.constructor = cls; + cls.prototype["$is" + cls.name] = cls; + if (sup != null) { + if (supportsDirectProtoAccess) { + Object.setPrototypeOf(cls.prototype, sup.prototype); + return; + } + var clsPrototype = Object.create(sup.prototype); + copyProperties(cls.prototype, clsPrototype); + cls.prototype = clsPrototype; + } + } + function inheritMany(sup, classes) { + for (var i = 0; i < classes.length; i++) + inherit(classes[i], sup); + } + function mixinEasy(cls, mixin) { + mixinPropertiesEasy(mixin.prototype, cls.prototype); + cls.prototype.constructor = cls; + } + function mixinHard(cls, mixin) { + mixinPropertiesHard(mixin.prototype, cls.prototype); + cls.prototype.constructor = cls; + } + function lazyOld(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + holder[getterName] = function() { + A.throwCyclicInit(name); + }; + var result; + var sentinelInProgress = initializer; + try { + if (holder[name] === uninitializedSentinel) { + result = holder[name] = sentinelInProgress; + result = holder[name] = initializer(); + } else + result = holder[name]; + } finally { + if (result === sentinelInProgress) + holder[name] = null; + holder[getterName] = function() { + return this[name]; + }; + } + return result; + }; + } + function lazy(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + if (holder[name] === uninitializedSentinel) + holder[name] = initializer(); + holder[getterName] = function() { + return this[name]; + }; + return holder[name]; + }; + } + function lazyFinal(holder, name, getterName, initializer) { + var uninitializedSentinel = holder; + holder[name] = uninitializedSentinel; + holder[getterName] = function() { + if (holder[name] === uninitializedSentinel) { + var value = initializer(); + if (holder[name] !== uninitializedSentinel) + A.throwLateFieldADI(name); + holder[name] = value; + } + var finalValue = holder[name]; + holder[getterName] = function() { + return finalValue; + }; + return finalValue; + }; + } + function makeConstList(list) { + list.immutable$list = Array; + list.fixed$length = Array; + return list; + } + function convertToFastObject(properties) { + function t() { + } + t.prototype = properties; + new t(); + return properties; + } + function convertAllToFastObject(arrayOfObjects) { + for (var i = 0; i < arrayOfObjects.length; ++i) + convertToFastObject(arrayOfObjects[i]); + } + var functionCounter = 0; + function instanceTearOffGetter(isIntercepted, parameters) { + var cache = null; + return isIntercepted ? function(receiver) { + if (cache === null) + cache = A.closureFromTearOff(parameters); + return new cache(receiver, this); + } : function() { + if (cache === null) + cache = A.closureFromTearOff(parameters); + return new cache(this, null); + }; + } + function staticTearOffGetter(parameters) { + var cache = null; + return function() { + if (cache === null) + cache = A.closureFromTearOff(parameters).prototype; + return cache; + }; + } + var typesOffset = 0; + function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { + if (typeof funType == "number") + funType += typesOffset; + return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess}; + } + function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { + var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false); + var getterFunction = staticTearOffGetter(parameters); + holder[getterName] = getterFunction; + } + function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { + isIntercepted = !!isIntercepted; + var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess); + var getterFunction = instanceTearOffGetter(isIntercepted, parameters); + prototype[getterName] = getterFunction; + } + function setOrUpdateInterceptorsByTag(newTags) { + var tags = init.interceptorsByTag; + if (!tags) { + init.interceptorsByTag = newTags; + return; + } + copyProperties(newTags, tags); + } + function setOrUpdateLeafTags(newTags) { + var tags = init.leafTags; + if (!tags) { + init.leafTags = newTags; + return; + } + copyProperties(newTags, tags); + } + function updateTypes(newTypes) { + var types = init.types; + var length = types.length; + types.push.apply(types, newTypes); + return length; + } + function updateHolder(holder, newHolder) { + copyProperties(newHolder, holder); + return holder; + } + var hunkHelpers = function() { + var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { + return function(container, getterName, name, funType) { + return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false); + }; + }, + mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) { + return function(container, getterName, name, funType) { + return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); + }; + }; + return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, ["call$0"], 0), _instance_1u: mkInstance(0, 1, null, ["call$1"], 0), _instance_2u: mkInstance(0, 2, null, ["call$2"], 0), _instance_0i: mkInstance(1, 0, null, ["call$0"], 0), _instance_1i: mkInstance(1, 1, null, ["call$1"], 0), _instance_2i: mkInstance(1, 2, null, ["call$2"], 0), _static_0: mkStatic(0, null, ["call$0"], 0), _static_1: mkStatic(1, null, ["call$1"], 0), _static_2: mkStatic(2, null, ["call$2"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, lazyOld: lazyOld, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; + }(); + function initializeDeferredHunk(hunk) { + typesOffset = init.types.length; + hunk(hunkHelpers, init, holders, $); + } + var J = { + makeDispatchRecord(interceptor, proto, extension, indexability) { + return {i: interceptor, p: proto, e: extension, x: indexability}; + }, + getNativeInterceptor(object) { + var proto, objectProto, $constructor, interceptor, t1, + record = object[init.dispatchPropertyName]; + if (record == null) + if ($.initNativeDispatchFlag == null) { + A.initNativeDispatch(); + record = object[init.dispatchPropertyName]; + } + if (record != null) { + proto = record.p; + if (false === proto) + return record.i; + if (true === proto) + return object; + objectProto = Object.getPrototypeOf(object); + if (proto === objectProto) + return record.i; + if (record.e === objectProto) + throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record)))); + } + $constructor = object.constructor; + if ($constructor == null) + interceptor = null; + else { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + interceptor = $constructor[t1]; + } + if (interceptor != null) + return interceptor; + interceptor = A.lookupAndCacheInterceptor(object); + if (interceptor != null) + return interceptor; + if (typeof object == "function") + return B.JavaScriptFunction_methods; + proto = Object.getPrototypeOf(object); + if (proto == null) + return B.PlainJavaScriptObject_methods; + if (proto === Object.prototype) + return B.PlainJavaScriptObject_methods; + if (typeof $constructor == "function") { + t1 = $._JS_INTEROP_INTERCEPTOR_TAG; + if (t1 == null) + t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js"); + Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); + return B.UnknownJavaScriptObject_methods; + } + return B.UnknownJavaScriptObject_methods; + }, + JSArray_JSArray$fixed($length, $E) { + if ($length < 0 || $length > 4294967295) + throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null)); + return J.JSArray_JSArray$markFixed(new Array($length), $E); + }, + JSArray_JSArray$growable($length, $E) { + if ($length < 0) + throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null)); + return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>")); + }, + JSArray_JSArray$markFixed(allocation, $E) { + return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")), $E); + }, + JSArray_markFixedList(list, $T) { + list.fixed$length = Array; + return list; + }, + JSArray_markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + return list; + }, + JSString__isWhitespace(codeUnit) { + if (codeUnit < 256) + switch (codeUnit) { + case 9: + case 10: + case 11: + case 12: + case 13: + case 32: + case 133: + case 160: + return true; + default: + return false; + } + switch (codeUnit) { + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8232: + case 8233: + case 8239: + case 8287: + case 12288: + case 65279: + return true; + default: + return false; + } + }, + JSString__skipLeadingWhitespace(string, index) { + var t1, codeUnit; + for (t1 = string.length; index < t1;) { + codeUnit = string.charCodeAt(index); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + ++index; + } + return index; + }, + JSString__skipTrailingWhitespace(string, index) { + var t1, index0, codeUnit; + for (t1 = string.length; index > 0; index = index0) { + index0 = index - 1; + if (!(index0 < t1)) + return A.ioore(string, index0); + codeUnit = string.charCodeAt(index0); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + } + return index; + }, + getInterceptor$(receiver) { + if (typeof receiver == "number") { + if (Math.floor(receiver) == receiver) + return J.JSInt.prototype; + return J.JSNumNotInt.prototype; + } + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return J.JSNull.prototype; + if (typeof receiver == "boolean") + return J.JSBool.prototype; + if (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$asx(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$ax(receiver) { + if (receiver == null) + return receiver; + if (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$n(receiver) { + if (typeof receiver == "number") + return J.JSNumber.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + getInterceptor$s(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + getInterceptor$x(receiver) { + if (receiver == null) + return receiver; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$z(receiver) { + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; + }, + get$hashCode$(receiver) { + return J.getInterceptor$(receiver).get$hashCode(receiver); + }, + get$isEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isEmpty(receiver); + }, + get$isNotEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); + }, + get$iterator$ax(receiver) { + return J.getInterceptor$ax(receiver).get$iterator(receiver); + }, + get$keys$x(receiver) { + return J.getInterceptor$x(receiver).get$keys(receiver); + }, + get$length$asx(receiver) { + return J.getInterceptor$asx(receiver).get$length(receiver); + }, + get$parent$z(receiver) { + return J.getInterceptor$z(receiver).get$parent(receiver); + }, + get$runtimeType$(receiver) { + return J.getInterceptor$(receiver).get$runtimeType(receiver); + }, + $eq$(receiver, a0) { + if (receiver == null) + return a0 == null; + if (typeof receiver != "object") + return a0 != null && receiver === a0; + return J.getInterceptor$(receiver).$eq(receiver, a0); + }, + $index$asx(receiver, a0) { + if (typeof a0 === "number") + if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) + if (a0 >>> 0 === a0 && a0 < receiver.length) + return receiver[a0]; + return J.getInterceptor$asx(receiver).$index(receiver, a0); + }, + $indexSet$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); + }, + allMatches$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); + }, + allMatches$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); + }, + cancel$0$z(receiver) { + return J.getInterceptor$z(receiver).cancel$0(receiver); + }, + cast$1$0$ax(receiver, $T1) { + return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); + }, + codeUnitAt$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); + }, + contains$1$asx(receiver, a0) { + return J.getInterceptor$asx(receiver).contains$1(receiver, a0); + }, + containsKey$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); + }, + elementAt$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); + }, + endsWith$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); + }, + forEach$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).forEach$1(receiver, a0); + }, + map$1$1$ax(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); + }, + matchAsPrefix$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); + }, + noSuchMethod$1$(receiver, a0) { + return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); + }, + skip$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).skip$1(receiver, a0); + }, + toInt$0$n(receiver) { + return J.getInterceptor$n(receiver).toInt$0(receiver); + }, + toList$0$ax(receiver) { + return J.getInterceptor$ax(receiver).toList$0(receiver); + }, + toString$0$(receiver) { + return J.getInterceptor$(receiver).toString$0(receiver); + }, + Interceptor: function Interceptor() { + }, + JSBool: function JSBool() { + }, + JSNull: function JSNull() { + }, + JavaScriptObject: function JavaScriptObject() { + }, + LegacyJavaScriptObject: function LegacyJavaScriptObject() { + }, + PlainJavaScriptObject: function PlainJavaScriptObject() { + }, + UnknownJavaScriptObject: function UnknownJavaScriptObject() { + }, + JavaScriptFunction: function JavaScriptFunction() { + }, + JavaScriptBigInt: function JavaScriptBigInt() { + }, + JavaScriptSymbol: function JavaScriptSymbol() { + }, + JSArray: function JSArray(t0) { + this.$ti = t0; + }, + JSUnmodifiableArray: function JSUnmodifiableArray(t0) { + this.$ti = t0; + }, + ArrayIterator: function ArrayIterator(t0, t1, t2) { + var _ = this; + _._iterable = t0; + _.__interceptors$_length = t1; + _._index = 0; + _._current = null; + _.$ti = t2; + }, + JSNumber: function JSNumber() { + }, + JSInt: function JSInt() { + }, + JSNumNotInt: function JSNumNotInt() { + }, + JSString: function JSString() { + } + }, + A = {JS_CONST: function JS_CONST() { + }, + CastIterable_CastIterable(source, $S, $T) { + if ($S._eval$1("EfficientLengthIterable<0>")._is(source)) + return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>")); + return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>")); + }, + hexDigitValue(char) { + var letter, + digit = char ^ 48; + if (digit <= 9) + return digit; + letter = char | 32; + if (97 <= letter && letter <= 102) + return letter - 87; + return -1; + }, + SystemHash_combine(hash, value) { + hash = hash + value & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + return hash ^ hash >>> 6; + }, + SystemHash_finish(hash) { + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >>> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + checkNotNullable(value, $name, $T) { + return value; + }, + isToStringVisiting(object) { + var t1, i; + for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i) + if (object === $.toStringVisiting[i]) + return true; + return false; + }, + SubListIterable$(_iterable, _start, _endOrLength, $E) { + A.RangeError_checkNotNegative(_start, "start"); + if (_endOrLength != null) { + A.RangeError_checkNotNegative(_endOrLength, "end"); + if (_start > _endOrLength) + A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null)); + } + return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); + }, + MappedIterable_MappedIterable(iterable, $function, $S, $T) { + if (type$.EfficientLengthIterable_dynamic._is(iterable)) + return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + }, + TakeIterable_TakeIterable(iterable, takeCount, $E) { + var _s9_ = "takeCount"; + A.ArgumentError_checkNotNull(takeCount, _s9_, type$.int); + A.RangeError_checkNotNegative(takeCount, _s9_); + if (type$.EfficientLengthIterable_dynamic._is(iterable)) + return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>")); + return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>")); + }, + SkipIterable_SkipIterable(iterable, count, $E) { + var _s5_ = "count"; + if (type$.EfficientLengthIterable_dynamic._is(iterable)) { + A.ArgumentError_checkNotNull(count, _s5_, type$.int); + A.RangeError_checkNotNegative(count, _s5_); + return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>")); + } + A.ArgumentError_checkNotNull(count, _s5_, type$.int); + A.RangeError_checkNotNegative(count, _s5_); + return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>")); + }, + IterableElementError_noElement() { + return new A.StateError("No element"); + }, + IterableElementError_tooFew() { + return new A.StateError("Too few elements"); + }, + CastStream: function CastStream(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) { + var _ = this; + _._source = t0; + _.__internal$_zone = t1; + _._handleError = _._handleData = null; + _.$ti = t2; + }, + _CastIterableBase: function _CastIterableBase() { + }, + CastIterator: function CastIterator(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastIterable: function CastIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + _CastListBase: function _CastListBase() { + }, + CastList: function CastList(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + LateError: function LateError(t0) { + this._message = t0; + }, + CodeUnits: function CodeUnits(t0) { + this._string = t0; + }, + nullFuture_closure: function nullFuture_closure() { + }, + SentinelValue: function SentinelValue() { + }, + EfficientLengthIterable: function EfficientLengthIterable() { + }, + ListIterable: function ListIterable() { + }, + SubListIterable: function SubListIterable(t0, t1, t2, t3) { + var _ = this; + _.__internal$_iterable = t0; + _._start = t1; + _._endOrLength = t2; + _.$ti = t3; + }, + ListIterator: function ListIterator(t0, t1, t2) { + var _ = this; + _.__internal$_iterable = t0; + _.__internal$_length = t1; + _.__internal$_index = 0; + _.__internal$_current = null; + _.$ti = t2; + }, + MappedIterable: function MappedIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + MappedIterator: function MappedIterator(t0, t1, t2) { + var _ = this; + _.__internal$_current = null; + _._iterator = t0; + _._f = t1; + _.$ti = t2; + }, + MappedListIterable: function MappedListIterable(t0, t1, t2) { + this._source = t0; + this._f = t1; + this.$ti = t2; + }, + WhereIterable: function WhereIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + WhereIterator: function WhereIterator(t0, t1, t2) { + this._iterator = t0; + this._f = t1; + this.$ti = t2; + }, + ExpandIterable: function ExpandIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + ExpandIterator: function ExpandIterator(t0, t1, t2, t3) { + var _ = this; + _._iterator = t0; + _._f = t1; + _._currentExpansion = t2; + _.__internal$_current = null; + _.$ti = t3; + }, + TakeIterable: function TakeIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._takeCount = t1; + this.$ti = t2; + }, + EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._takeCount = t1; + this.$ti = t2; + }, + TakeIterator: function TakeIterator(t0, t1, t2) { + this._iterator = t0; + this._remaining = t1; + this.$ti = t2; + }, + SkipIterable: function SkipIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._skipCount = t1; + this.$ti = t2; + }, + EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._skipCount = t1; + this.$ti = t2; + }, + SkipIterator: function SkipIterator(t0, t1, t2) { + this._iterator = t0; + this._skipCount = t1; + this.$ti = t2; + }, + SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._f = t1; + this.$ti = t2; + }, + SkipWhileIterator: function SkipWhileIterator(t0, t1, t2) { + var _ = this; + _._iterator = t0; + _._f = t1; + _._hasSkipped = false; + _.$ti = t2; + }, + EmptyIterable: function EmptyIterable(t0) { + this.$ti = t0; + }, + EmptyIterator: function EmptyIterator(t0) { + this.$ti = t0; + }, + WhereTypeIterable: function WhereTypeIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + WhereTypeIterator: function WhereTypeIterator(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + FixedLengthListMixin: function FixedLengthListMixin() { + }, + UnmodifiableListMixin: function UnmodifiableListMixin() { + }, + UnmodifiableListBase: function UnmodifiableListBase() { + }, + ReversedListIterable: function ReversedListIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + Symbol: function Symbol(t0) { + this._name = t0; + }, + __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { + }, + ConstantMap__throwUnmodifiable() { + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map")); + }, + unminifyOrTag(rawClassName) { + var preserved = init.mangledGlobalNames[rawClassName]; + if (preserved != null) + return preserved; + return rawClassName; + }, + isJsIndexable(object, record) { + var result; + if (record != null) { + result = record.x; + if (result != null) + return result; + } + return type$.JavaScriptIndexingBehavior_dynamic._is(object); + }, + S(value) { + var result; + if (typeof value == "string") + return value; + if (typeof value == "number") { + if (value !== 0) + return "" + value; + } else if (true === value) + return "true"; + else if (false === value) + return "false"; + else if (value == null) + return "null"; + result = J.toString$0$(value); + return result; + }, + Primitives_objectHashCode(object) { + var hash, + property = $.Primitives__identityHashCodeProperty; + if (property == null) + property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode"); + hash = object[property]; + if (hash == null) { + hash = Math.random() * 0x3fffffff | 0; + object[property] = hash; + } + return hash; + }, + Primitives_parseInt(source, radix) { + var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null, + match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); + if (match == null) + return _null; + if (3 >= match.length) + return A.ioore(match, 3); + decimalMatch = match[3]; + if (radix == null) { + if (decimalMatch != null) + return parseInt(source, 10); + if (match[2] != null) + return parseInt(source, 16); + return _null; + } + if (radix < 2 || radix > 36) + throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null)); + if (radix === 10 && decimalMatch != null) + return parseInt(source, 10); + if (radix < 10 || decimalMatch == null) { + maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; + digitsPart = match[1]; + for (t1 = digitsPart.length, i = 0; i < t1; ++i) + if ((digitsPart.charCodeAt(i) | 32) > maxCharCode) + return _null; + } + return parseInt(source, radix); + }, + Primitives_objectTypeName(object) { + return A.Primitives__objectTypeNameNewRti(object); + }, + Primitives__objectTypeNameNewRti(object) { + var interceptor, dispatchName, $constructor, constructorName; + if (object instanceof A.Object) + return A._rtiToString(A.instanceType(object), null); + interceptor = J.getInterceptor$(object); + if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) { + dispatchName = B.C_JS_CONST(object); + if (dispatchName !== "Object" && dispatchName !== "") + return dispatchName; + $constructor = object.constructor; + if (typeof $constructor == "function") { + constructorName = $constructor.name; + if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "") + return constructorName; + } + } + return A._rtiToString(A.instanceType(object), null); + }, + Primitives_safeToString(object) { + if (typeof object == "number" || A._isBool(object)) + return J.toString$0$(object); + if (typeof object == "string") + return JSON.stringify(object); + if (object instanceof A.Closure) + return object.toString$0(0); + return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; + }, + Primitives_currentUri() { + if (!!self.location) + return self.location.href; + return null; + }, + Primitives__fromCharCodeApply(array) { + var result, i, i0, chunkEnd, + end = array.length; + if (end <= 500) + return String.fromCharCode.apply(null, array); + for (result = "", i = 0; i < end; i = i0) { + i0 = i + 500; + chunkEnd = i0 < end ? i0 : end; + result += String.fromCharCode.apply(null, array.slice(i, chunkEnd)); + } + return result; + }, + Primitives_stringFromCodePoints(codePoints) { + var t1, _i, i, + a = A._setArrayType([], type$.JSArray_int); + for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) { + i = codePoints[_i]; + if (!A._isInt(i)) + throw A.wrapException(A.argumentErrorValue(i)); + if (i <= 65535) + B.JSArray_methods.add$1(a, i); + else if (i <= 1114111) { + B.JSArray_methods.add$1(a, 55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); + B.JSArray_methods.add$1(a, 56320 + (i & 1023)); + } else + throw A.wrapException(A.argumentErrorValue(i)); + } + return A.Primitives__fromCharCodeApply(a); + }, + Primitives_stringFromCharCodes(charCodes) { + var t1, _i, i; + for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) { + i = charCodes[_i]; + if (!A._isInt(i)) + throw A.wrapException(A.argumentErrorValue(i)); + if (i < 0) + throw A.wrapException(A.argumentErrorValue(i)); + if (i > 65535) + return A.Primitives_stringFromCodePoints(charCodes); + } + return A.Primitives__fromCharCodeApply(charCodes); + }, + Primitives_stringFromNativeUint8List(charCodes, start, end) { + var i, result, i0, chunkEnd; + if (end <= 500 && start === 0 && end === charCodes.length) + return String.fromCharCode.apply(null, charCodes); + for (i = start, result = ""; i < end; i = i0) { + i0 = i + 500; + chunkEnd = i0 < end ? i0 : end; + result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); + } + return result; + }, + Primitives_stringFromCharCode(charCode) { + var bits; + if (0 <= charCode) { + if (charCode <= 65535) + return String.fromCharCode(charCode); + if (charCode <= 1114111) { + bits = charCode - 65536; + return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320); + } + } + throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null)); + }, + Primitives_lazyAsJsDate(receiver) { + if (receiver.date === void 0) + receiver.date = new Date(receiver._core$_value); + return receiver.date; + }, + Primitives_getYear(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0; + return t1; + }, + Primitives_getMonth(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1; + return t1; + }, + Primitives_getDay(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0; + return t1; + }, + Primitives_getHours(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0; + return t1; + }, + Primitives_getMinutes(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0; + return t1; + }, + Primitives_getSeconds(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0; + return t1; + }, + Primitives_getMilliseconds(receiver) { + var t1 = A.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0; + return t1; + }, + Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) { + var $arguments, namedArgumentList, t1 = {}; + t1.argumentCount = 0; + $arguments = []; + namedArgumentList = []; + t1.argumentCount = positionalArguments.length; + B.JSArray_methods.addAll$1($arguments, positionalArguments); + t1.names = ""; + if (namedArguments != null && namedArguments._length !== 0) + namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); + return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0)); + }, + Primitives_applyFunction($function, positionalArguments, namedArguments) { + var t1, argumentCount, jsStub; + if (Array.isArray(positionalArguments)) + t1 = namedArguments == null || namedArguments._length === 0; + else + t1 = false; + if (t1) { + argumentCount = positionalArguments.length; + if (argumentCount === 0) { + if (!!$function.call$0) + return $function.call$0(); + } else if (argumentCount === 1) { + if (!!$function.call$1) + return $function.call$1(positionalArguments[0]); + } else if (argumentCount === 2) { + if (!!$function.call$2) + return $function.call$2(positionalArguments[0], positionalArguments[1]); + } else if (argumentCount === 3) { + if (!!$function.call$3) + return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]); + } else if (argumentCount === 4) { + if (!!$function.call$4) + return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]); + } else if (argumentCount === 5) + if (!!$function.call$5) + return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]); + jsStub = $function["call" + "$" + argumentCount]; + if (jsStub != null) + return jsStub.apply($function, positionalArguments); + } + return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments); + }, + Primitives__generalApplyFunction($function, positionalArguments, namedArguments) { + var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, key, + $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic), + argumentCount = $arguments.length, + requiredParameterCount = $function.$requiredArgCount; + if (argumentCount < requiredParameterCount) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + defaultValuesClosure = $function.$defaultValues; + t1 = defaultValuesClosure == null; + defaultValues = !t1 ? defaultValuesClosure() : null; + interceptor = J.getInterceptor$($function); + jsFunction = interceptor["call*"]; + if (typeof jsFunction == "string") + jsFunction = interceptor[jsFunction]; + if (t1) { + if (namedArguments != null && namedArguments._length !== 0) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if (argumentCount === requiredParameterCount) + return jsFunction.apply($function, $arguments); + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + } + if (Array.isArray(defaultValues)) { + if (namedArguments != null && namedArguments._length !== 0) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + maxArguments = requiredParameterCount + defaultValues.length; + if (argumentCount > maxArguments) + return A.Primitives_functionNoSuchMethod($function, $arguments, null); + if (argumentCount < maxArguments) { + missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount); + if ($arguments === positionalArguments) + $arguments = A.List_List$of($arguments, true, type$.dynamic); + B.JSArray_methods.addAll$1($arguments, missingDefaults); + } + return jsFunction.apply($function, $arguments); + } else { + if (argumentCount > requiredParameterCount) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + if ($arguments === positionalArguments) + $arguments = A.List_List$of($arguments, true, type$.dynamic); + keys = Object.keys(defaultValues); + if (namedArguments == null) + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + defaultValue = defaultValues[A._asString(keys[_i])]; + if (B.C__Required === defaultValue) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + B.JSArray_methods.add$1($arguments, defaultValue); + } + else { + for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + key = A._asString(keys[_i]); + if (namedArguments.containsKey$1(0, key)) { + ++used; + B.JSArray_methods.add$1($arguments, namedArguments.$index(0, key)); + } else { + defaultValue = defaultValues[key]; + if (B.C__Required === defaultValue) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + B.JSArray_methods.add$1($arguments, defaultValue); + } + } + if (used !== namedArguments._length) + return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); + } + return jsFunction.apply($function, $arguments); + } + }, + iae(argument) { + throw A.wrapException(A.argumentErrorValue(argument)); + }, + ioore(receiver, index) { + if (receiver == null) + J.get$length$asx(receiver); + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + }, + diagnoseIndexError(indexable, index) { + var $length, _s5_ = "index"; + if (!A._isInt(index)) + return new A.ArgumentError(true, index, _s5_, null); + $length = A._asInt(J.get$length$asx(indexable)); + if (index < 0 || index >= $length) + return A.IndexError$withLength(index, $length, indexable, _s5_); + return A.RangeError$value(index, _s5_); + }, + diagnoseRangeError(start, end, $length) { + if (start > $length) + return A.RangeError$range(start, 0, $length, "start", null); + if (end != null) + if (end < start || end > $length) + return A.RangeError$range(end, start, $length, "end", null); + return new A.ArgumentError(true, end, "end", null); + }, + argumentErrorValue(object) { + return new A.ArgumentError(true, object, null, null); + }, + wrapException(ex) { + return A.initializeExceptionWrapper(new Error(), ex); + }, + initializeExceptionWrapper(wrapper, ex) { + var t1; + if (ex == null) + ex = new A.TypeError(); + wrapper.dartException = ex; + t1 = A.toStringWrapper; + if ("defineProperty" in Object) { + Object.defineProperty(wrapper, "message", {get: t1}); + wrapper.name = ""; + } else + wrapper.toString = t1; + return wrapper; + }, + toStringWrapper() { + return J.toString$0$(this.dartException); + }, + throwExpression(ex) { + throw A.wrapException(ex); + }, + throwExpressionWithWrapper(ex, wrapper) { + throw A.initializeExceptionWrapper(wrapper, ex); + }, + throwConcurrentModificationError(collection) { + throw A.wrapException(A.ConcurrentModificationError$(collection)); + }, + TypeErrorDecoder_extractPattern(message) { + var match, $arguments, argumentsExpr, expr, method, receiver; + message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$")); + match = message.match(/\\\$[a-zA-Z]+\\\$/g); + if (match == null) + match = A._setArrayType([], type$.JSArray_String); + $arguments = match.indexOf("\\$arguments\\$"); + argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); + expr = match.indexOf("\\$expr\\$"); + method = match.indexOf("\\$method\\$"); + receiver = match.indexOf("\\$receiver\\$"); + return new A.TypeErrorDecoder(message.replace(new RegExp("\\\\\\$arguments\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$", "g"), "((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$", "g"), "((?:x|[^x])*)"), $arguments, argumentsExpr, expr, method, receiver); + }, + TypeErrorDecoder_provokeCallErrorOn(expression) { + return function($expr$) { + var $argumentsExpr$ = "$arguments$"; + try { + $expr$.$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }(expression); + }, + TypeErrorDecoder_provokePropertyErrorOn(expression) { + return function($expr$) { + try { + $expr$.$method$; + } catch (e) { + return e.message; + } + }(expression); + }, + JsNoSuchMethodError$(_message, match) { + var t1 = match == null, + t2 = t1 ? null : match.method; + return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); + }, + unwrapException(ex) { + if (ex == null) + return new A.NullThrownFromJavaScriptException(ex); + if (typeof ex !== "object") + return ex; + if ("dartException" in ex) + return A.saveStackTrace(ex, ex.dartException); + return A._unwrapNonDartException(ex); + }, + saveStackTrace(ex, error) { + if (type$.Error._is(error)) + if (error.$thrownJsError == null) + error.$thrownJsError = ex; + return error; + }, + _unwrapNonDartException(ex) { + var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match; + if (!("message" in ex)) + return ex; + message = ex.message; + if ("number" in ex && typeof ex.number == "number") { + number = ex.number; + ieErrorCode = number & 65535; + if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) + switch (ieErrorCode) { + case 438: + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null)); + case 445: + case 5007: + A.S(message); + return A.saveStackTrace(ex, new A.NullError()); + } + } + if (ex instanceof TypeError) { + nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern(); + notClosure = $.$get$TypeErrorDecoder_notClosurePattern(); + nullCall = $.$get$TypeErrorDecoder_nullCallPattern(); + nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern(); + undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern(); + undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern(); + nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern(); + $.$get$TypeErrorDecoder_nullLiteralPropertyPattern(); + undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern(); + undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); + match = nsme.matchTypeError$1(message); + if (match != null) + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); + else { + match = notClosure.matchTypeError$1(message); + if (match != null) { + match.method = "call"; + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); + } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null) { + A._asString(message); + return A.saveStackTrace(ex, new A.NullError()); + } + } + return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : "")); + } + if (ex instanceof RangeError) { + if (typeof message == "string" && message.indexOf("call stack") !== -1) + return new A.StackOverflowError(); + message = function(ex) { + try { + return String(ex); + } catch (e) { + } + return null; + }(ex); + return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message)); + } + if (typeof InternalError == "function" && ex instanceof InternalError) + if (typeof message == "string" && message === "too much recursion") + return new A.StackOverflowError(); + return ex; + }, + getTraceFromException(exception) { + var trace; + if (exception == null) + return new A._StackTrace(exception); + trace = exception.$cachedTrace; + if (trace != null) + return trace; + trace = new A._StackTrace(exception); + if (typeof exception === "object") + exception.$cachedTrace = trace; + return trace; + }, + objectHashCode(object) { + if (object == null) + return J.get$hashCode$(object); + if (typeof object == "object") + return A.Primitives_objectHashCode(object); + return J.get$hashCode$(object); + }, + fillLiteralMap(keyValuePairs, result) { + var index, index0, index1, + $length = keyValuePairs.length; + for (index = 0; index < $length; index = index1) { + index0 = index + 1; + index1 = index0 + 1; + result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]); + } + return result; + }, + _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { + type$.Function._as(closure); + switch (A._asInt(numberOfArguments)) { + case 0: + return closure.call$0(); + case 1: + return closure.call$1(arg1); + case 2: + return closure.call$2(arg1, arg2); + case 3: + return closure.call$3(arg1, arg2, arg3); + case 4: + return closure.call$4(arg1, arg2, arg3, arg4); + } + throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure")); + }, + convertDartClosureToJS(closure, arity) { + var $function = closure.$identity; + if (!!$function) + return $function; + $function = A.convertDartClosureToJSUncached(closure, arity); + closure.$identity = $function; + return $function; + }, + convertDartClosureToJSUncached(closure, arity) { + var entry; + switch (arity) { + case 0: + entry = closure.call$0; + break; + case 1: + entry = closure.call$1; + break; + case 2: + entry = closure.call$2; + break; + case 3: + entry = closure.call$3; + break; + case 4: + entry = closure.call$4; + break; + default: + entry = null; + } + if (entry != null) + return entry.bind(closure); + return function(closure, arity, invoke) { + return function(a1, a2, a3, a4) { + return invoke(closure, arity, a1, a2, a3, a4); + }; + }(closure, arity, A._invokeClosure); + }, + Closure_fromTearOff(parameters) { + var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName, + container = parameters.co, + isStatic = parameters.iS, + isIntercepted = parameters.iI, + needsDirectAccess = parameters.nDA, + applyTrampolineIndex = parameters.aI, + funsOrNames = parameters.fs, + callNames = parameters.cs, + $name = funsOrNames[0], + callName = callNames[0], + $function = container[$name], + t1 = parameters.fT; + t1.toString; + $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype); + $prototype.$initialize = $prototype.constructor; + if (isStatic) + $constructor = function static_tear_off() { + this.$initialize(); + }; + else + $constructor = function tear_off(a, b) { + this.$initialize(a, b); + }; + $prototype.constructor = $constructor; + $constructor.prototype = $prototype; + $prototype.$_name = $name; + $prototype.$_target = $function; + t2 = !isStatic; + if (t2) + trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess); + else { + $prototype.$static_name = $name; + trampoline = $function; + } + $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted); + $prototype[callName] = trampoline; + for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) { + stub = funsOrNames[i]; + if (typeof stub == "string") { + stub0 = container[stub]; + stubName = stub; + stub = stub0; + } else + stubName = ""; + stubCallName = callNames[i]; + if (stubCallName != null) { + if (t2) + stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess); + $prototype[stubCallName] = stub; + } + if (i === applyTrampolineIndex) + applyTrampoline = stub; + } + $prototype["call*"] = applyTrampoline; + $prototype.$requiredArgCount = parameters.rC; + $prototype.$defaultValues = parameters.dV; + return $constructor; + }, + Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) { + if (typeof functionType == "number") + return functionType; + if (typeof functionType == "string") { + if (isStatic) + throw A.wrapException("Cannot compute signature for static tearoff."); + return function(recipe, evalOnReceiver) { + return function() { + return evalOnReceiver(this, recipe); + }; + }(functionType, A.BoundClosure_evalRecipe); + } + throw A.wrapException("Error in functionType of tearoff"); + }, + Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) { + var getReceiver = A.BoundClosure_receiverOf; + switch (needsDirectAccess ? -1 : arity) { + case 0: + return function(entry, receiverOf) { + return function() { + return receiverOf(this)[entry](); + }; + }(stubName, getReceiver); + case 1: + return function(entry, receiverOf) { + return function(a) { + return receiverOf(this)[entry](a); + }; + }(stubName, getReceiver); + case 2: + return function(entry, receiverOf) { + return function(a, b) { + return receiverOf(this)[entry](a, b); + }; + }(stubName, getReceiver); + case 3: + return function(entry, receiverOf) { + return function(a, b, c) { + return receiverOf(this)[entry](a, b, c); + }; + }(stubName, getReceiver); + case 4: + return function(entry, receiverOf) { + return function(a, b, c, d) { + return receiverOf(this)[entry](a, b, c, d); + }; + }(stubName, getReceiver); + case 5: + return function(entry, receiverOf) { + return function(a, b, c, d, e) { + return receiverOf(this)[entry](a, b, c, d, e); + }; + }(stubName, getReceiver); + default: + return function(f, receiverOf) { + return function() { + return f.apply(receiverOf(this), arguments); + }; + }($function, getReceiver); + } + }, + Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) { + var arity, t1; + if (isIntercepted) + return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); + arity = $function.length; + t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function); + return t1; + }, + Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) { + var getReceiver = A.BoundClosure_receiverOf, + getInterceptor = A.BoundClosure_interceptorOf; + switch (needsDirectAccess ? -1 : arity) { + case 0: + throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments.")); + case 1: + return function(entry, interceptorOf, receiverOf) { + return function() { + return interceptorOf(this)[entry](receiverOf(this)); + }; + }(stubName, getInterceptor, getReceiver); + case 2: + return function(entry, interceptorOf, receiverOf) { + return function(a) { + return interceptorOf(this)[entry](receiverOf(this), a); + }; + }(stubName, getInterceptor, getReceiver); + case 3: + return function(entry, interceptorOf, receiverOf) { + return function(a, b) { + return interceptorOf(this)[entry](receiverOf(this), a, b); + }; + }(stubName, getInterceptor, getReceiver); + case 4: + return function(entry, interceptorOf, receiverOf) { + return function(a, b, c) { + return interceptorOf(this)[entry](receiverOf(this), a, b, c); + }; + }(stubName, getInterceptor, getReceiver); + case 5: + return function(entry, interceptorOf, receiverOf) { + return function(a, b, c, d) { + return interceptorOf(this)[entry](receiverOf(this), a, b, c, d); + }; + }(stubName, getInterceptor, getReceiver); + case 6: + return function(entry, interceptorOf, receiverOf) { + return function(a, b, c, d, e) { + return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e); + }; + }(stubName, getInterceptor, getReceiver); + default: + return function(f, interceptorOf, receiverOf) { + return function() { + var a = [receiverOf(this)]; + Array.prototype.push.apply(a, arguments); + return f.apply(interceptorOf(this), a); + }; + }($function, getInterceptor, getReceiver); + } + }, + Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) { + var arity, t1; + if ($.BoundClosure__interceptorFieldNameCache == null) + $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor"); + if ($.BoundClosure__receiverFieldNameCache == null) + $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver"); + arity = $function.length; + t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function); + return t1; + }, + closureFromTearOff(parameters) { + return A.Closure_fromTearOff(parameters); + }, + BoundClosure_evalRecipe(closure, recipe) { + return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe); + }, + BoundClosure_receiverOf(closure) { + return closure._receiver; + }, + BoundClosure_interceptorOf(closure) { + return closure._interceptor; + }, + BoundClosure__computeFieldNamed(fieldName) { + var t1, i, $name, + template = new A.BoundClosure("receiver", "interceptor"), + names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template), type$.nullable_Object); + for (t1 = names.length, i = 0; i < t1; ++i) { + $name = names[i]; + if (template[$name] === fieldName) + return $name; + } + throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null)); + }, + boolConversionCheck(value) { + if (value == null) + A.assertThrow("boolean expression must not be null"); + return value; + }, + assertThrow(message) { + throw A.wrapException(new A._AssertionError(message)); + }, + throwCyclicInit(staticName) { + throw A.wrapException(new A._CyclicInitializationError(staticName)); + }, + getIsolateAffinityTag($name) { + return init.getIsolateTag($name); + }, + defineProperty(obj, property, value) { + Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true}); + }, + lookupAndCacheInterceptor(obj) { + var interceptor, interceptorClass, altTag, mark, t1, + tag = A._asString($.getTagFunction.call$1(obj)), + record = $.dispatchRecordsForInstanceTags[tag]; + if (record != null) { + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + interceptor = $.interceptorsForUncacheableTags[tag]; + if (interceptor != null) + return interceptor; + interceptorClass = init.interceptorsByTag[tag]; + if (interceptorClass == null) { + altTag = A._asStringQ($.alternateTagFunction.call$2(obj, tag)); + if (altTag != null) { + record = $.dispatchRecordsForInstanceTags[altTag]; + if (record != null) { + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + interceptor = $.interceptorsForUncacheableTags[altTag]; + if (interceptor != null) + return interceptor; + interceptorClass = init.interceptorsByTag[altTag]; + tag = altTag; + } + } + if (interceptorClass == null) + return null; + interceptor = interceptorClass.prototype; + mark = tag[0]; + if (mark === "!") { + record = A.makeLeafDispatchRecord(interceptor); + $.dispatchRecordsForInstanceTags[tag] = record; + Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + return record.i; + } + if (mark === "~") { + $.interceptorsForUncacheableTags[tag] = interceptor; + return interceptor; + } + if (mark === "-") { + t1 = A.makeLeafDispatchRecord(interceptor); + Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); + return t1.i; + } + if (mark === "+") + return A.patchInteriorProto(obj, interceptor); + if (mark === "*") + throw A.wrapException(A.UnimplementedError$(tag)); + if (init.leafTags[tag] === true) { + t1 = A.makeLeafDispatchRecord(interceptor); + Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); + return t1.i; + } else + return A.patchInteriorProto(obj, interceptor); + }, + patchInteriorProto(obj, interceptor) { + var proto = Object.getPrototypeOf(obj); + Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true}); + return interceptor; + }, + makeLeafDispatchRecord(interceptor) { + return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); + }, + makeDefaultDispatchRecord(tag, interceptorClass, proto) { + var interceptor = interceptorClass.prototype; + if (init.leafTags[tag] === true) + return A.makeLeafDispatchRecord(interceptor); + else + return J.makeDispatchRecord(interceptor, proto, null, null); + }, + initNativeDispatch() { + if (true === $.initNativeDispatchFlag) + return; + $.initNativeDispatchFlag = true; + A.initNativeDispatchContinue(); + }, + initNativeDispatchContinue() { + var map, tags, fun, i, tag, proto, record, interceptorClass; + $.dispatchRecordsForInstanceTags = Object.create(null); + $.interceptorsForUncacheableTags = Object.create(null); + A.initHooks(); + map = init.interceptorsByTag; + tags = Object.getOwnPropertyNames(map); + if (typeof window != "undefined") { + window; + fun = function() { + }; + for (i = 0; i < tags.length; ++i) { + tag = tags[i]; + proto = $.prototypeForTagFunction.call$1(tag); + if (proto != null) { + record = A.makeDefaultDispatchRecord(tag, map[tag], proto); + if (record != null) { + Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true}); + fun.prototype = proto; + } + } + } + } + for (i = 0; i < tags.length; ++i) { + tag = tags[i]; + if (/^[A-Za-z_]/.test(tag)) { + interceptorClass = map[tag]; + map["!" + tag] = interceptorClass; + map["~" + tag] = interceptorClass; + map["-" + tag] = interceptorClass; + map["+" + tag] = interceptorClass; + map["*" + tag] = interceptorClass; + } + } + }, + initHooks() { + var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag, + hooks = B.C_JS_CONST0(); + hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks))))))); + if (typeof dartNativeDispatchHooksTransformer != "undefined") { + transformers = dartNativeDispatchHooksTransformer; + if (typeof transformers == "function") + transformers = [transformers]; + if (Array.isArray(transformers)) + for (i = 0; i < transformers.length; ++i) { + transformer = transformers[i]; + if (typeof transformer == "function") + hooks = transformer(hooks) || hooks; + } + } + getTag = hooks.getTag; + getUnknownTag = hooks.getUnknownTag; + prototypeForTag = hooks.prototypeForTag; + $.getTagFunction = new A.initHooks_closure(getTag); + $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag); + $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag); + }, + applyHooksTransformer(transformer, hooks) { + return transformer(hooks) || hooks; + }, + createRecordTypePredicate(shape, fieldRtis) { + var $length = fieldRtis.length, + $function = init.rttc["" + $length + ";" + shape]; + if ($function == null) + return null; + if ($length === 0) + return $function; + if ($length === $function.length) + return $function.apply(null, fieldRtis); + return $function(fieldRtis); + }, + JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { + var m = multiLine ? "m" : "", + i = caseSensitive ? "" : "i", + u = unicode ? "u" : "", + s = dotAll ? "s" : "", + g = global ? "g" : "", + regexp = function(source, modifiers) { + try { + return new RegExp(source, modifiers); + } catch (e) { + return e; + } + }(source, m + i + u + s + g); + if (regexp instanceof RegExp) + return regexp; + throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); + }, + stringContainsUnchecked(receiver, other, startIndex) { + var t1; + if (typeof other == "string") + return receiver.indexOf(other, startIndex) >= 0; + else if (other instanceof A.JSSyntaxRegExp) { + t1 = B.JSString_methods.substring$1(receiver, startIndex); + return other._nativeRegExp.test(t1); + } else { + t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)); + return !t1.get$isEmpty(t1); + } + }, + escapeReplacement(replacement) { + if (replacement.indexOf("$", 0) >= 0) + return replacement.replace(/\$/g, "$$$$"); + return replacement; + }, + stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { + var match = regexp._execGlobal$2(receiver, startIndex); + if (match == null) + return receiver; + return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement); + }, + quoteStringForRegExp(string) { + if (/[[\]{}()*+?.\\^$|]/.test(string)) + return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); + return string; + }, + stringReplaceAllUnchecked(receiver, pattern, replacement) { + var nativeRegexp; + if (typeof pattern == "string") + return A.stringReplaceAllUncheckedString(receiver, pattern, replacement); + if (pattern instanceof A.JSSyntaxRegExp) { + nativeRegexp = pattern.get$_nativeGlobalVersion(); + nativeRegexp.lastIndex = 0; + return receiver.replace(nativeRegexp, A.escapeReplacement(replacement)); + } + return A.stringReplaceAllGeneral(receiver, pattern, replacement); + }, + stringReplaceAllGeneral(receiver, pattern, replacement) { + var t1, startIndex, t2, match; + for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) { + match = t1.get$current(t1); + t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement; + startIndex = match.get$end(match); + } + t1 = t2 + receiver.substring(startIndex); + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + stringReplaceAllUncheckedString(receiver, pattern, replacement) { + var $length, t1, i; + if (pattern === "") { + if (receiver === "") + return replacement; + $length = receiver.length; + t1 = "" + replacement; + for (i = 0; i < $length; ++i) + t1 = t1 + receiver[i] + replacement; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + if (receiver.indexOf(pattern, 0) < 0) + return receiver; + if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) + return receiver.split(pattern).join(replacement); + return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement)); + }, + stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { + var index, t1, matches, match; + if (typeof pattern == "string") { + index = receiver.indexOf(pattern, startIndex); + if (index < 0) + return receiver; + return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); + } + if (pattern instanceof A.JSSyntaxRegExp) + return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); + t1 = J.allMatches$2$s(pattern, receiver, startIndex); + matches = t1.get$iterator(t1); + if (!matches.moveNext$0()) + return receiver; + match = matches.get$current(matches); + return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement); + }, + stringReplaceRangeUnchecked(receiver, start, end, replacement) { + return receiver.substring(0, start) + replacement + receiver.substring(end); + }, + ConstantMapView: function ConstantMapView(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + ConstantMap: function ConstantMap() { + }, + ConstantStringMap: function ConstantStringMap(t0, t1, t2) { + this._jsIndex = t0; + this._values = t1; + this.$ti = t2; + }, + _KeysOrValues: function _KeysOrValues(t0, t1) { + this._elements = t0; + this.$ti = t1; + }, + _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) { + var _ = this; + _._elements = t0; + _._length = t1; + _.__js_helper$_index = 0; + _.__js_helper$_current = null; + _.$ti = t2; + }, + Instantiation: function Instantiation() { + }, + Instantiation1: function Instantiation1(t0, t1) { + this._genericClosure = t0; + this.$ti = t1; + }, + JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) { + var _ = this; + _._memberName = t0; + _.__js_helper$_kind = t1; + _._arguments = t2; + _._namedArgumentNames = t3; + _._typeArgumentCount = t4; + }, + Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) { + this._box_0 = t0; + this.namedArgumentList = t1; + this.$arguments = t2; + }, + TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._pattern = t0; + _._arguments = t1; + _._argumentsExpr = t2; + _._expr = t3; + _._method = t4; + _._receiver = t5; + }, + NullError: function NullError() { + }, + JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) { + this.__js_helper$_message = t0; + this._method = t1; + this._receiver = t2; + }, + UnknownJsTypeError: function UnknownJsTypeError(t0) { + this.__js_helper$_message = t0; + }, + NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) { + this._irritant = t0; + }, + _StackTrace: function _StackTrace(t0) { + this._exception = t0; + this._trace = null; + }, + Closure: function Closure() { + }, + Closure0Args: function Closure0Args() { + }, + Closure2Args: function Closure2Args() { + }, + TearOffClosure: function TearOffClosure() { + }, + StaticClosure: function StaticClosure() { + }, + BoundClosure: function BoundClosure(t0, t1) { + this._receiver = t0; + this._interceptor = t1; + }, + _CyclicInitializationError: function _CyclicInitializationError(t0) { + this.variableName = t0; + }, + RuntimeError: function RuntimeError(t0) { + this.message = t0; + }, + _AssertionError: function _AssertionError(t0) { + this.message = t0; + }, + _Required: function _Required() { + }, + JsLinkedHashMap: function JsLinkedHashMap(t0) { + var _ = this; + _._length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; + _._modifications = 0; + _.$ti = t0; + }, + JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) { + this.$this = t0; + }, + LinkedHashMapCell: function LinkedHashMapCell(t0, t1) { + var _ = this; + _.hashMapCellKey = t0; + _.hashMapCellValue = t1; + _._previous = _._next = null; + }, + LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) { + this._map = t0; + this.$ti = t1; + }, + LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) { + var _ = this; + _._map = t0; + _._modifications = t1; + _.__js_helper$_current = _._cell = null; + _.$ti = t2; + }, + initHooks_closure: function initHooks_closure(t0) { + this.getTag = t0; + }, + initHooks_closure0: function initHooks_closure0(t0) { + this.getUnknownTag = t0; + }, + initHooks_closure1: function initHooks_closure1(t0) { + this.prototypeForTag = t0; + }, + JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) { + var _ = this; + _.pattern = t0; + _._nativeRegExp = t1; + _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null; + }, + _MatchImplementation: function _MatchImplementation(t0) { + this._match = t0; + }, + _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) { + this._re = t0; + this.__js_helper$_string = t1; + this.__js_helper$_start = t2; + }, + _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) { + var _ = this; + _._regExp = t0; + _.__js_helper$_string = t1; + _._nextIndex = t2; + _.__js_helper$_current = null; + }, + StringMatch: function StringMatch(t0, t1) { + this.start = t0; + this.pattern = t1; + }, + _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) { + this._input = t0; + this._pattern = t1; + this.__js_helper$_index = t2; + }, + _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) { + var _ = this; + _._input = t0; + _._pattern = t1; + _.__js_helper$_index = t2; + _.__js_helper$_current = null; + }, + throwLateFieldNI(fieldName) { + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has not been initialized."), new Error()); + }, + throwLateFieldAI(fieldName) { + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has already been initialized."), new Error()); + }, + throwLateFieldADI(fieldName) { + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + string$.x27_has_), new Error()); + }, + _Cell$named(_name) { + var t1 = new A._Cell(_name); + return t1._value = t1; + }, + _InitializedCell$named(_name, _initializer) { + var t1 = new A._InitializedCell(_name, _initializer); + return t1._value = t1; + }, + _Cell: function _Cell(t0) { + this.__late_helper$_name = t0; + this._value = null; + }, + _InitializedCell: function _InitializedCell(t0, t1) { + this.__late_helper$_name = t0; + this._value = null; + this._initializer = t1; + }, + _ensureNativeList(list) { + return list; + }, + NativeInt8List__create1(arg) { + return new Int8Array(arg); + }, + _checkValidIndex(index, list, $length) { + if (index >>> 0 !== index || index >= $length) + throw A.wrapException(A.diagnoseIndexError(list, index)); + }, + _checkValidRange(start, end, $length) { + var t1; + if (!(start >>> 0 !== start)) + t1 = end >>> 0 !== end || start > end || end > $length; + else + t1 = true; + if (t1) + throw A.wrapException(A.diagnoseRangeError(start, end, $length)); + return end; + }, + NativeByteBuffer: function NativeByteBuffer() { + }, + NativeTypedData: function NativeTypedData() { + }, + NativeByteData: function NativeByteData() { + }, + NativeTypedArray: function NativeTypedArray() { + }, + NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() { + }, + NativeTypedArrayOfInt: function NativeTypedArrayOfInt() { + }, + NativeFloat32List: function NativeFloat32List() { + }, + NativeFloat64List: function NativeFloat64List() { + }, + NativeInt16List: function NativeInt16List() { + }, + NativeInt32List: function NativeInt32List() { + }, + NativeInt8List: function NativeInt8List() { + }, + NativeUint16List: function NativeUint16List() { + }, + NativeUint32List: function NativeUint32List() { + }, + NativeUint8ClampedList: function NativeUint8ClampedList() { + }, + NativeUint8List: function NativeUint8List() { + }, + _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() { + }, + _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() { + }, + _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() { + }, + _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() { + }, + Rti__getQuestionFromStar(universe, rti) { + var question = rti._precomputed1; + return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question; + }, + Rti__getFutureFromFutureOr(universe, rti) { + var future = rti._precomputed1; + return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; + }, + Rti__getIsSubtypeCache(rti) { + var probe = rti._isSubtypeCache; + if (probe != null) + return probe; + return rti._isSubtypeCache = new Map(); + }, + Rti__isUnionOfFunctionType(rti) { + var kind = rti._kind; + if (kind === 6 || kind === 7 || kind === 8) + return A.Rti__isUnionOfFunctionType(rti._primary); + return kind === 12 || kind === 13; + }, + Rti__getCanonicalRecipe(rti) { + return rti._canonicalRecipe; + }, + findType(recipe) { + return A._Universe_eval(init.typeUniverse, recipe, false); + }, + instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) { + var t1, cache, key, probe, rti; + if (genericFunctionRti == null) + return null; + t1 = instantiationRti._rest; + cache = genericFunctionRti._bindCache; + if (cache == null) + cache = genericFunctionRti._bindCache = new Map(); + key = instantiationRti._canonicalRecipe; + probe = cache.get(key); + if (probe != null) + return probe; + rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0); + cache.set(key, rti); + return rti; + }, + _substitute(universe, rti, typeArguments, depth) { + var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument, + kind = rti._kind; + switch (kind) { + case 5: + case 1: + case 2: + case 3: + case 4: + return rti; + case 6: + baseType = rti._primary; + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return A._Universe__lookupStarRti(universe, substitutedBaseType, true); + case 7: + baseType = rti._primary; + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true); + case 8: + baseType = rti._primary; + substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); + if (substitutedBaseType === baseType) + return rti; + return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true); + case 9: + interfaceTypeArguments = rti._rest; + substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth); + if (substitutedInterfaceTypeArguments === interfaceTypeArguments) + return rti; + return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments); + case 10: + base = rti._primary; + substitutedBase = A._substitute(universe, base, typeArguments, depth); + $arguments = rti._rest; + substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth); + if (substitutedBase === base && substitutedArguments === $arguments) + return rti; + return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); + case 12: + returnType = rti._primary; + substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth); + functionParameters = rti._rest; + substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth); + if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters) + return rti; + return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); + case 13: + bounds = rti._rest; + depth += bounds.length; + substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth); + base = rti._primary; + substitutedBase = A._substitute(universe, base, typeArguments, depth); + if (substitutedBounds === bounds && substitutedBase === base) + return rti; + return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); + case 14: + index = rti._primary; + if (index < depth) + return rti; + argument = typeArguments[index - depth]; + if (argument == null) + return rti; + return argument; + default: + throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind)); + } + }, + _substituteArray(universe, rtiArray, typeArguments, depth) { + var changed, i, rti, substitutedRti, + $length = rtiArray.length, + result = A._Utils_newArrayOrEmpty($length); + for (changed = false, i = 0; i < $length; ++i) { + rti = rtiArray[i]; + substitutedRti = A._substitute(universe, rti, typeArguments, depth); + if (substitutedRti !== rti) + changed = true; + result[i] = substitutedRti; + } + return changed ? result : rtiArray; + }, + _substituteNamed(universe, namedArray, typeArguments, depth) { + var changed, i, t1, t2, rti, substitutedRti, + $length = namedArray.length, + result = A._Utils_newArrayOrEmpty($length); + for (changed = false, i = 0; i < $length; i += 3) { + t1 = namedArray[i]; + t2 = namedArray[i + 1]; + rti = namedArray[i + 2]; + substitutedRti = A._substitute(universe, rti, typeArguments, depth); + if (substitutedRti !== rti) + changed = true; + result.splice(i, 3, t1, t2, substitutedRti); + } + return changed ? result : namedArray; + }, + _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) { + var result, + requiredPositional = functionParameters._requiredPositional, + substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth), + optionalPositional = functionParameters._optionalPositional, + substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth), + named = functionParameters._named, + substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth); + if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named) + return functionParameters; + result = new A._FunctionParameters(); + result._requiredPositional = substitutedRequiredPositional; + result._optionalPositional = substitutedOptionalPositional; + result._named = substitutedNamed; + return result; + }, + _setArrayType(target, rti) { + target[init.arrayRti] = rti; + return target; + }, + closureFunctionType(closure) { + var t1, + signature = closure.$signature; + if (signature != null) { + if (typeof signature == "number") + return A.getTypeFromTypesTable(signature); + t1 = closure.$signature(); + return t1; + } + return null; + }, + instanceOrFunctionType(object, testRti) { + var rti; + if (A.Rti__isUnionOfFunctionType(testRti)) + if (object instanceof A.Closure) { + rti = A.closureFunctionType(object); + if (rti != null) + return rti; + } + return A.instanceType(object); + }, + instanceType(object) { + if (object instanceof A.Object) + return A._instanceType(object); + if (Array.isArray(object)) + return A._arrayInstanceType(object); + return A._instanceTypeFromConstructor(J.getInterceptor$(object)); + }, + _arrayInstanceType(object) { + var rti = object[init.arrayRti], + defaultRti = type$.JSArray_dynamic; + if (rti == null) + return defaultRti; + if (rti.constructor !== defaultRti.constructor) + return defaultRti; + return rti; + }, + _instanceType(object) { + var rti = object.$ti; + return rti != null ? rti : A._instanceTypeFromConstructor(object); + }, + _instanceTypeFromConstructor(instance) { + var $constructor = instance.constructor, + probe = $constructor.$ccache; + if (probe != null) + return probe; + return A._instanceTypeFromConstructorMiss(instance, $constructor); + }, + _instanceTypeFromConstructorMiss(instance, $constructor) { + var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor, + rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); + $constructor.$ccache = rti; + return rti; + }, + getTypeFromTypesTable(index) { + var rti, + table = init.types, + type = table[index]; + if (typeof type == "string") { + rti = A._Universe_eval(init.typeUniverse, type, false); + table[index] = rti; + return rti; + } + return type; + }, + getRuntimeTypeOfDartObject(object) { + return A.createRuntimeType(A._instanceType(object)); + }, + getRuntimeTypeOfClosure(closure) { + var rti = A.closureFunctionType(closure); + return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti); + }, + _structuralTypeOf(object) { + var functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null; + if (functionRti != null) + return functionRti; + if (type$.TrustedGetRuntimeType._is(object)) + return J.get$runtimeType$(object)._rti; + if (Array.isArray(object)) + return A._arrayInstanceType(object); + return A.instanceType(object); + }, + createRuntimeType(rti) { + var t1 = rti._cachedRuntimeType; + return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1; + }, + _createRuntimeType(rti) { + var starErasedRti, t1, + s = rti._canonicalRecipe, + starErasedRecipe = s.replace(/\*/g, ""); + if (starErasedRecipe === s) + return rti._cachedRuntimeType = new A._Type(rti); + starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true); + t1 = starErasedRti._cachedRuntimeType; + return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1; + }, + typeLiteral(recipe) { + return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); + }, + _installSpecializedIsTest(object) { + var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this; + if (testRti === type$.Object) + return A._finishIsFn(testRti, object, A._isObject); + if (!A.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + if (t1) + return A._finishIsFn(testRti, object, A._isTop); + t1 = testRti._kind; + if (t1 === 7) + return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); + if (t1 === 1) + return A._finishIsFn(testRti, object, A._isNever); + unstarred = t1 === 6 ? testRti._primary : testRti; + unstarredKind = unstarred._kind; + if (unstarredKind === 8) + return A._finishIsFn(testRti, object, A._isFutureOr); + if (unstarred === type$.int) + isFn = A._isInt; + else if (unstarred === type$.double || unstarred === type$.num) + isFn = A._isNum; + else if (unstarred === type$.String) + isFn = A._isString; + else + isFn = unstarred === type$.bool ? A._isBool : null; + if (isFn != null) + return A._finishIsFn(testRti, object, isFn); + if (unstarredKind === 9) { + $name = unstarred._primary; + if (unstarred._rest.every(A.isTopType)) { + testRti._specializedTestResource = "$is" + $name; + if ($name === "List") + return A._finishIsFn(testRti, object, A._isListTestViaProperty); + return A._finishIsFn(testRti, object, A._isTestViaProperty); + } + } else if (unstarredKind === 11) { + predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest); + return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate); + } + return A._finishIsFn(testRti, object, A._generalIsTestImplementation); + }, + _finishIsFn(testRti, object, isFn) { + testRti._is = isFn; + return testRti._is(object); + }, + _installSpecializedAsCheck(object) { + var t1, testRti = this, + asFn = A._generalAsCheckImplementation; + if (!A.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + if (t1) + asFn = A._asTop; + else if (testRti === type$.Object) + asFn = A._asObject; + else { + t1 = A.isNullable(testRti); + if (t1) + asFn = A._generalNullableAsCheckImplementation; + } + testRti._as = asFn; + return testRti._as(object); + }, + _nullIs(testRti) { + var t1, + kind = testRti._kind; + if (!A.isStrongTopType(testRti)) + if (!(testRti === type$.legacy_Object)) + if (!(testRti === type$.legacy_Never)) + if (kind !== 7) + if (!(kind === 6 && A._nullIs(testRti._primary))) + t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull; + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + return t1; + }, + _generalIsTestImplementation(object) { + var testRti = this; + if (object == null) + return A._nullIs(testRti); + return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti); + }, + _generalNullableIsTestImplementation(object) { + if (object == null) + return true; + return this._primary._is(object); + }, + _isTestViaProperty(object) { + var tag, testRti = this; + if (object == null) + return A._nullIs(testRti); + tag = testRti._specializedTestResource; + if (object instanceof A.Object) + return !!object[tag]; + return !!J.getInterceptor$(object)[tag]; + }, + _isListTestViaProperty(object) { + var tag, testRti = this; + if (object == null) + return A._nullIs(testRti); + if (typeof object != "object") + return false; + if (Array.isArray(object)) + return true; + tag = testRti._specializedTestResource; + if (object instanceof A.Object) + return !!object[tag]; + return !!J.getInterceptor$(object)[tag]; + }, + _generalAsCheckImplementation(object) { + var t1, testRti = this; + if (object == null) { + t1 = A.isNullable(testRti); + if (t1) + return object; + } else if (testRti._is(object)) + return object; + A._failedAsCheck(object, testRti); + }, + _generalNullableAsCheckImplementation(object) { + var testRti = this; + if (object == null) + return object; + else if (testRti._is(object)) + return object; + A._failedAsCheck(object, testRti); + }, + _failedAsCheck(object, testRti) { + throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null)))); + }, + checkTypeBound(type, bound, variable, methodName) { + if (A.isSubtype(init.typeUniverse, type, bound)) + return type; + throw A.wrapException(A._TypeError$fromMessage("The type argument '" + A._rtiToString(type, null) + "' is not a subtype of the type variable bound '" + A._rtiToString(bound, null) + "' of type variable '" + variable + "' in '" + methodName + "'.")); + }, + _Error_compose(object, checkedTypeDescription) { + return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'"; + }, + _TypeError$fromMessage(message) { + return new A._TypeError("TypeError: " + message); + }, + _TypeError__TypeError$forType(object, type) { + return new A._TypeError("TypeError: " + A._Error_compose(object, type)); + }, + _isFutureOr(object) { + var testRti = this, + unstarred = testRti._kind === 6 ? testRti._primary : testRti; + return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object); + }, + _isObject(object) { + return object != null; + }, + _asObject(object) { + if (object != null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "Object")); + }, + _isTop(object) { + return true; + }, + _asTop(object) { + return object; + }, + _isNever(object) { + return false; + }, + _isBool(object) { + return true === object || false === object; + }, + _asBool(object) { + if (true === object) + return true; + if (false === object) + return false; + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); + }, + _asBoolS(object) { + if (true === object) + return true; + if (false === object) + return false; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); + }, + _asBoolQ(object) { + if (true === object) + return true; + if (false === object) + return false; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?")); + }, + _asDouble(object) { + if (typeof object == "number") + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); + }, + _asDoubleS(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); + }, + _asDoubleQ(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "double?")); + }, + _isInt(object) { + return typeof object == "number" && Math.floor(object) === object; + }, + _asInt(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); + }, + _asIntS(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); + }, + _asIntQ(object) { + if (typeof object == "number" && Math.floor(object) === object) + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "int?")); + }, + _isNum(object) { + return typeof object == "number"; + }, + _asNum(object) { + if (typeof object == "number") + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); + }, + _asNumS(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); + }, + _asNumQ(object) { + if (typeof object == "number") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "num?")); + }, + _isString(object) { + return typeof object == "string"; + }, + _asString(object) { + if (typeof object == "string") + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); + }, + _asStringS(object) { + if (typeof object == "string") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); + }, + _asStringQ(object) { + if (typeof object == "string") + return object; + if (object == null) + return object; + throw A.wrapException(A._TypeError__TypeError$forType(object, "String?")); + }, + _rtiArrayToString(array, genericContext) { + var s, sep, i; + for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ") + s += sep + A._rtiToString(array[i], genericContext); + return s; + }, + _recordRtiToString(recordType, genericContext) { + var fieldCount, names, namesIndex, s, comma, i, + partialShape = recordType._primary, + fields = recordType._rest; + if ("" === partialShape) + return "(" + A._rtiArrayToString(fields, genericContext) + ")"; + fieldCount = fields.length; + names = partialShape.split(","); + namesIndex = names.length - fieldCount; + for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") { + s += comma; + if (namesIndex === 0) + s += "{"; + s += A._rtiToString(fields[i], genericContext); + if (namesIndex >= 0) + s += " " + names[namesIndex]; + ++namesIndex; + } + return s + "})"; + }, + _functionRtiToString(functionType, genericContext, bounds) { + var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, t3, t4, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; + if (bounds != null) { + boundsLength = bounds.length; + if (genericContext == null) { + genericContext = A._setArrayType([], type$.JSArray_String); + outerContextLength = null; + } else + outerContextLength = genericContext.length; + offset = genericContext.length; + for (i = boundsLength; i > 0; --i) + B.JSArray_methods.add$1(genericContext, "T" + (offset + i)); + for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { + t3 = genericContext.length; + t4 = t3 - 1 - i; + if (!(t4 >= 0)) + return A.ioore(genericContext, t4); + typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[t4]); + boundRti = bounds[i]; + kind = boundRti._kind; + if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1)) + if (!(boundRti === t2)) + t3 = false; + else + t3 = true; + else + t3 = true; + if (!t3) + typeParametersText += " extends " + A._rtiToString(boundRti, genericContext); + } + typeParametersText += ">"; + } else { + typeParametersText = ""; + outerContextLength = null; + } + t1 = functionType._primary; + parameters = functionType._rest; + requiredPositional = parameters._requiredPositional; + requiredPositionalLength = requiredPositional.length; + optionalPositional = parameters._optionalPositional; + optionalPositionalLength = optionalPositional.length; + named = parameters._named; + namedLength = named.length; + returnTypeText = A._rtiToString(t1, genericContext); + for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_) + argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext); + if (optionalPositionalLength > 0) { + argumentsText += sep + "["; + for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_) + argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext); + argumentsText += "]"; + } + if (namedLength > 0) { + argumentsText += sep + "{"; + for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) { + argumentsText += sep; + if (named[i + 1]) + argumentsText += "required "; + argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i]; + } + argumentsText += "}"; + } + if (outerContextLength != null) { + genericContext.toString; + genericContext.length = outerContextLength; + } + return typeParametersText + "(" + argumentsText + ") => " + returnTypeText; + }, + _rtiToString(rti, genericContext) { + var s, questionArgument, argumentKind, $name, $arguments, t1, t2, + kind = rti._kind; + if (kind === 5) + return "erased"; + if (kind === 2) + return "dynamic"; + if (kind === 3) + return "void"; + if (kind === 1) + return "Never"; + if (kind === 4) + return "any"; + if (kind === 6) { + s = A._rtiToString(rti._primary, genericContext); + return s; + } + if (kind === 7) { + questionArgument = rti._primary; + s = A._rtiToString(questionArgument, genericContext); + argumentKind = questionArgument._kind; + return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?"; + } + if (kind === 8) + return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">"; + if (kind === 9) { + $name = A._unminifyOrTag(rti._primary); + $arguments = rti._rest; + return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name; + } + if (kind === 11) + return A._recordRtiToString(rti, genericContext); + if (kind === 12) + return A._functionRtiToString(rti, genericContext, null); + if (kind === 13) + return A._functionRtiToString(rti._primary, genericContext, rti._rest); + if (kind === 14) { + t1 = rti._primary; + t2 = genericContext.length; + t1 = t2 - 1 - t1; + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(genericContext, t1); + return genericContext[t1]; + } + return "?"; + }, + _unminifyOrTag(rawClassName) { + var preserved = init.mangledGlobalNames[rawClassName]; + if (preserved != null) + return preserved; + return rawClassName; + }, + _Universe_findRule(universe, targetType) { + var rule = universe.tR[targetType]; + for (; typeof rule == "string";) + rule = universe.tR[rule]; + return rule; + }, + _Universe_findErasedType(universe, cls) { + var $length, erased, $arguments, i, $interface, + t1 = universe.eT, + probe = t1[cls]; + if (probe == null) + return A._Universe_eval(universe, cls, false); + else if (typeof probe == "number") { + $length = probe; + erased = A._Universe__lookupTerminalRti(universe, 5, "#"); + $arguments = A._Utils_newArrayOrEmpty($length); + for (i = 0; i < $length; ++i) + $arguments[i] = erased; + $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments); + t1[cls] = $interface; + return $interface; + } else + return probe; + }, + _Universe_addRules(universe, rules) { + return A._Utils_objectAssign(universe.tR, rules); + }, + _Universe_addErasedTypes(universe, types) { + return A._Utils_objectAssign(universe.eT, types); + }, + _Universe_eval(universe, recipe, normalize) { + var rti, + t1 = universe.eC, + probe = t1.get(recipe); + if (probe != null) + return probe; + rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize)); + t1.set(recipe, rti); + return rti; + }, + _Universe_evalInEnvironment(universe, environment, recipe) { + var probe, rti, + cache = environment._evalCache; + if (cache == null) + cache = environment._evalCache = new Map(); + probe = cache.get(recipe); + if (probe != null) + return probe; + rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true)); + cache.set(recipe, rti); + return rti; + }, + _Universe_bind(universe, environment, argumentsRti) { + var argumentsRecipe, probe, rti, + cache = environment._bindCache; + if (cache == null) + cache = environment._bindCache = new Map(); + argumentsRecipe = argumentsRti._canonicalRecipe; + probe = cache.get(argumentsRecipe); + if (probe != null) + return probe; + rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]); + cache.set(argumentsRecipe, rti); + return rti; + }, + _Universe__installTypeTests(universe, rti) { + rti._as = A._installSpecializedAsCheck; + rti._is = A._installSpecializedIsTest; + return rti; + }, + _Universe__lookupTerminalRti(universe, kind, key) { + var rti, t1, + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = kind; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupStarRti(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "*", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createStarRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createStarRti(universe, baseType, key, normalize) { + var baseKind, t1, rti; + if (normalize) { + baseKind = baseType._kind; + if (!A.isStrongTopType(baseType)) + t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6; + else + t1 = true; + if (t1) + return baseType; + } + rti = new A.Rti(null, null); + rti._kind = 6; + rti._primary = baseType; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupQuestionRti(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "?", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createQuestionRti(universe, baseType, key, normalize) { + var baseKind, t1, starArgument, rti; + if (normalize) { + baseKind = baseType._kind; + if (!A.isStrongTopType(baseType)) + if (!(baseType === type$.Null || baseType === type$.JSNull)) + if (baseKind !== 7) + t1 = baseKind === 8 && A.isNullable(baseType._primary); + else + t1 = true; + else + t1 = true; + else + t1 = true; + if (t1) + return baseType; + else if (baseKind === 1 || baseType === type$.legacy_Never) + return type$.Null; + else if (baseKind === 6) { + starArgument = baseType._primary; + if (starArgument._kind === 8 && A.isNullable(starArgument._primary)) + return starArgument; + else + return A.Rti__getQuestionFromStar(universe, baseType); + } + } + rti = new A.Rti(null, null); + rti._kind = 7; + rti._primary = baseType; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupFutureOrRti(universe, baseType, normalize) { + var t1, + key = baseType._canonicalRecipe + "/", + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createFutureOrRti(universe, baseType, key, normalize) { + var t1, t2, rti; + if (normalize) { + t1 = baseType._kind; + if (!A.isStrongTopType(baseType)) + if (!(baseType === type$.legacy_Object)) + t2 = false; + else + t2 = true; + else + t2 = true; + if (t2 || baseType === type$.Object) + return baseType; + else if (t1 === 1) + return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]); + else if (baseType === type$.Null || baseType === type$.JSNull) + return type$.nullable_Future_Null; + } + rti = new A.Rti(null, null); + rti._kind = 8; + rti._primary = baseType; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Universe__lookupGenericFunctionParameterRti(universe, index) { + var rti, t1, + key = "" + index + "^", + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 14; + rti._primary = index; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__canonicalRecipeJoin($arguments) { + var s, sep, i, + $length = $arguments.length; + for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",") + s += sep + $arguments[i]._canonicalRecipe; + return s; + }, + _Universe__canonicalRecipeJoinNamed($arguments) { + var s, sep, i, t1, nameSep, + $length = $arguments.length; + for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") { + t1 = $arguments[i]; + nameSep = $arguments[i + 1] ? "!" : ":"; + s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe; + } + return s; + }, + _Universe__lookupInterfaceRti(universe, $name, $arguments) { + var probe, rti, t1, + s = $name; + if ($arguments.length > 0) + s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">"; + probe = universe.eC.get(s); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 9; + rti._primary = $name; + rti._rest = $arguments; + if ($arguments.length > 0) + rti._precomputed1 = $arguments[0]; + rti._canonicalRecipe = s; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(s, t1); + return t1; + }, + _Universe__lookupBindingRti(universe, base, $arguments) { + var newBase, newArguments, key, probe, rti, t1; + if (base._kind === 10) { + newBase = base._primary; + newArguments = base._rest.concat($arguments); + } else { + newArguments = $arguments; + newBase = base; + } + key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">"); + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 10; + rti._primary = newBase; + rti._rest = newArguments; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupRecordRti(universe, partialShapeTag, fields) { + var rti, t1, + key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"), + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 11; + rti._primary = partialShapeTag; + rti._rest = fields; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupFunctionRti(universe, returnType, parameters) { + var sep, key, probe, rti, t1, + s = returnType._canonicalRecipe, + requiredPositional = parameters._requiredPositional, + requiredPositionalLength = requiredPositional.length, + optionalPositional = parameters._optionalPositional, + optionalPositionalLength = optionalPositional.length, + named = parameters._named, + namedLength = named.length, + recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional); + if (optionalPositionalLength > 0) { + sep = requiredPositionalLength > 0 ? "," : ""; + recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]"; + } + if (namedLength > 0) { + sep = requiredPositionalLength > 0 ? "," : ""; + recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}"; + } + key = s + (recipe + ")"); + probe = universe.eC.get(key); + if (probe != null) + return probe; + rti = new A.Rti(null, null); + rti._kind = 12; + rti._primary = returnType; + rti._rest = parameters; + rti._canonicalRecipe = key; + t1 = A._Universe__installTypeTests(universe, rti); + universe.eC.set(key, t1); + return t1; + }, + _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) { + var t1, + key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"), + probe = universe.eC.get(key); + if (probe != null) + return probe; + t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize); + universe.eC.set(key, t1); + return t1; + }, + _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) { + var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti; + if (normalize) { + $length = bounds.length; + typeArguments = A._Utils_newArrayOrEmpty($length); + for (count = 0, i = 0; i < $length; ++i) { + bound = bounds[i]; + if (bound._kind === 1) { + typeArguments[i] = bound; + ++count; + } + } + if (count > 0) { + substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0); + substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0); + return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds); + } + } + rti = new A.Rti(null, null); + rti._kind = 13; + rti._primary = baseFunctionType; + rti._rest = bounds; + rti._canonicalRecipe = key; + return A._Universe__installTypeTests(universe, rti); + }, + _Parser_create(universe, environment, recipe, normalize) { + return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; + }, + _Parser_parse(parser) { + var t2, i, ch, t3, array, end, item, + source = parser.r, + t1 = parser.s; + for (t2 = source.length, i = 0; i < t2;) { + ch = source.charCodeAt(i); + if (ch >= 48 && ch <= 57) + i = A._Parser_handleDigit(i + 1, ch, source, t1); + else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124) + i = A._Parser_handleIdentifier(parser, i, source, t1, false); + else if (ch === 46) + i = A._Parser_handleIdentifier(parser, i, source, t1, true); + else { + ++i; + switch (ch) { + case 44: + break; + case 58: + t1.push(false); + break; + case 33: + t1.push(true); + break; + case 59: + t1.push(A._Parser_toType(parser.u, parser.e, t1.pop())); + break; + case 94: + t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop())); + break; + case 35: + t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#")); + break; + case 64: + t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@")); + break; + case 126: + t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~")); + break; + case 60: + t1.push(parser.p); + parser.p = t1.length; + break; + case 62: + A._Parser_handleTypeArguments(parser, t1); + break; + case 38: + A._Parser_handleExtendedOperations(parser, t1); + break; + case 42: + t3 = parser.u; + t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); + break; + case 63: + t3 = parser.u; + t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); + break; + case 47: + t3 = parser.u; + t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); + break; + case 40: + t1.push(-3); + t1.push(parser.p); + parser.p = t1.length; + break; + case 41: + A._Parser_handleArguments(parser, t1); + break; + case 91: + t1.push(parser.p); + parser.p = t1.length; + break; + case 93: + array = t1.splice(parser.p); + A._Parser_toTypes(parser.u, parser.e, array); + parser.p = t1.pop(); + t1.push(array); + t1.push(-1); + break; + case 123: + t1.push(parser.p); + parser.p = t1.length; + break; + case 125: + array = t1.splice(parser.p); + A._Parser_toTypesNamed(parser.u, parser.e, array); + parser.p = t1.pop(); + t1.push(array); + t1.push(-2); + break; + case 43: + end = source.indexOf("(", i); + t1.push(source.substring(i, end)); + t1.push(-4); + t1.push(parser.p); + parser.p = t1.length; + i = end + 1; + break; + default: + throw "Bad character " + ch; + } + } + } + item = t1.pop(); + return A._Parser_toType(parser.u, parser.e, item); + }, + _Parser_handleDigit(i, digit, source, stack) { + var t1, ch, + value = digit - 48; + for (t1 = source.length; i < t1; ++i) { + ch = source.charCodeAt(i); + if (!(ch >= 48 && ch <= 57)) + break; + value = value * 10 + (ch - 48); + } + stack.push(value); + return i; + }, + _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) { + var t1, ch, t2, string, environment, recipe, + i = start + 1; + for (t1 = source.length; i < t1; ++i) { + ch = source.charCodeAt(i); + if (ch === 46) { + if (hasPeriod) + break; + hasPeriod = true; + } else { + if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)) + t2 = ch >= 48 && ch <= 57; + else + t2 = true; + if (!t2) + break; + } + } + string = source.substring(start, i); + if (hasPeriod) { + t1 = parser.u; + environment = parser.e; + if (environment._kind === 10) + environment = environment._primary; + recipe = A._Universe_findRule(t1, environment._primary)[string]; + if (recipe == null) + A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"'); + stack.push(A._Universe_evalInEnvironment(t1, environment, recipe)); + } else + stack.push(string); + return i; + }, + _Parser_handleTypeArguments(parser, stack) { + var base, + t1 = parser.u, + $arguments = A._Parser_collectArray(parser, stack), + head = stack.pop(); + if (typeof head == "string") + stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments)); + else { + base = A._Parser_toType(t1, parser.e, head); + switch (base._kind) { + case 12: + stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n)); + break; + default: + stack.push(A._Universe__lookupBindingRti(t1, base, $arguments)); + break; + } + } + }, + _Parser_handleArguments(parser, stack) { + var optionalPositional, named, requiredPositional, returnType, parameters, _null = null, + t1 = parser.u, + head = stack.pop(); + if (typeof head == "number") + switch (head) { + case -1: + optionalPositional = stack.pop(); + named = _null; + break; + case -2: + named = stack.pop(); + optionalPositional = _null; + break; + default: + stack.push(head); + named = _null; + optionalPositional = named; + break; + } + else { + stack.push(head); + named = _null; + optionalPositional = named; + } + requiredPositional = A._Parser_collectArray(parser, stack); + head = stack.pop(); + switch (head) { + case -3: + head = stack.pop(); + if (optionalPositional == null) + optionalPositional = t1.sEA; + if (named == null) + named = t1.sEA; + returnType = A._Parser_toType(t1, parser.e, head); + parameters = new A._FunctionParameters(); + parameters._requiredPositional = requiredPositional; + parameters._optionalPositional = optionalPositional; + parameters._named = named; + stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters)); + return; + case -4: + stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional)); + return; + default: + throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head))); + } + }, + _Parser_handleExtendedOperations(parser, stack) { + var $top = stack.pop(); + if (0 === $top) { + stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&")); + return; + } + if (1 === $top) { + stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&")); + return; + } + throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top))); + }, + _Parser_collectArray(parser, stack) { + var array = stack.splice(parser.p); + A._Parser_toTypes(parser.u, parser.e, array); + parser.p = stack.pop(); + return array; + }, + _Parser_toType(universe, environment, item) { + if (typeof item == "string") + return A._Universe__lookupInterfaceRti(universe, item, universe.sEA); + else if (typeof item == "number") { + environment.toString; + return A._Parser_indexToType(universe, environment, item); + } else + return item; + }, + _Parser_toTypes(universe, environment, items) { + var i, + $length = items.length; + for (i = 0; i < $length; ++i) + items[i] = A._Parser_toType(universe, environment, items[i]); + }, + _Parser_toTypesNamed(universe, environment, items) { + var i, + $length = items.length; + for (i = 2; i < $length; i += 3) + items[i] = A._Parser_toType(universe, environment, items[i]); + }, + _Parser_indexToType(universe, environment, index) { + var typeArguments, len, + kind = environment._kind; + if (kind === 10) { + if (index === 0) + return environment._primary; + typeArguments = environment._rest; + len = typeArguments.length; + if (index <= len) + return typeArguments[index - 1]; + index -= len; + environment = environment._primary; + kind = environment._kind; + } else if (index === 0) + return environment; + if (kind !== 9) + throw A.wrapException(A.AssertionError$("Indexed base must be an interface type")); + typeArguments = environment._rest; + if (index <= typeArguments.length) + return typeArguments[index - 1]; + throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); + }, + isSubtype(universe, s, t) { + var result, + sCache = A.Rti__getIsSubtypeCache(s), + probe = sCache.get(t); + if (probe != null) + return probe; + result = A._isSubtype(universe, s, null, t, null); + sCache.set(t, result); + return result; + }, + _isSubtype(universe, s, sEnv, t, tEnv) { + var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound; + if (s === t) + return true; + if (!A.isStrongTopType(t)) + if (!(t === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + if (t1) + return true; + sKind = s._kind; + if (sKind === 4) + return true; + if (A.isStrongTopType(s)) + return false; + if (s._kind !== 1) + t1 = false; + else + t1 = true; + if (t1) + return true; + leftTypeVariable = sKind === 14; + if (leftTypeVariable) + if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) + return true; + tKind = t._kind; + t1 = s === type$.Null || s === type$.JSNull; + if (t1) { + if (tKind === 8) + return A._isSubtype(universe, s, sEnv, t._primary, tEnv); + return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6; + } + if (t === type$.Object) { + if (sKind === 8) + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + if (sKind === 6) + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + return sKind !== 7; + } + if (sKind === 6) + return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + if (tKind === 6) { + t1 = A.Rti__getQuestionFromStar(universe, t); + return A._isSubtype(universe, s, sEnv, t1, tEnv); + } + if (sKind === 8) { + if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv)) + return false; + return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); + } + if (sKind === 7) { + t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv); + return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv); + } + if (tKind === 8) { + if (A._isSubtype(universe, s, sEnv, t._primary, tEnv)) + return true; + return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv); + } + if (tKind === 7) { + t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv); + return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv); + } + if (leftTypeVariable) + return false; + t1 = sKind !== 12; + if ((!t1 || sKind === 13) && t === type$.Function) + return true; + t2 = sKind === 11; + if (t2 && t === type$.Record) + return true; + if (tKind === 13) { + if (s === type$.JavaScriptFunction) + return true; + if (sKind !== 13) + return false; + sBounds = s._rest; + tBounds = t._rest; + sLength = sBounds.length; + if (sLength !== tBounds.length) + return false; + sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv); + tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv); + for (i = 0; i < sLength; ++i) { + sBound = sBounds[i]; + tBound = tBounds[i]; + if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv)) + return false; + } + return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); + } + if (tKind === 12) { + if (s === type$.JavaScriptFunction) + return true; + if (t1) + return false; + return A._isFunctionSubtype(universe, s, sEnv, t, tEnv); + } + if (sKind === 9) { + if (tKind !== 9) + return false; + return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv); + } + if (t2 && tKind === 11) + return A._isRecordSubtype(universe, s, sEnv, t, tEnv); + return false; + }, + _isFunctionSubtype(universe, s, sEnv, t, tEnv) { + var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired; + if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) + return false; + sParameters = s._rest; + tParameters = t._rest; + sRequiredPositional = sParameters._requiredPositional; + tRequiredPositional = tParameters._requiredPositional; + sRequiredPositionalLength = sRequiredPositional.length; + tRequiredPositionalLength = tRequiredPositional.length; + if (sRequiredPositionalLength > tRequiredPositionalLength) + return false; + requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength; + sOptionalPositional = sParameters._optionalPositional; + tOptionalPositional = tParameters._optionalPositional; + sOptionalPositionalLength = sOptionalPositional.length; + tOptionalPositionalLength = tOptionalPositional.length; + if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength) + return false; + for (i = 0; i < sRequiredPositionalLength; ++i) { + t1 = sRequiredPositional[i]; + if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) + return false; + } + for (i = 0; i < requiredPositionalDelta; ++i) { + t1 = sOptionalPositional[i]; + if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) + return false; + } + for (i = 0; i < tOptionalPositionalLength; ++i) { + t1 = sOptionalPositional[requiredPositionalDelta + i]; + if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) + return false; + } + sNamed = sParameters._named; + tNamed = tParameters._named; + sNamedLength = sNamed.length; + tNamedLength = tNamed.length; + for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) { + tName = tNamed[tIndex]; + for (; true;) { + if (sIndex >= sNamedLength) + return false; + sName = sNamed[sIndex]; + sIndex += 3; + if (tName < sName) + return false; + sIsRequired = sNamed[sIndex - 2]; + if (sName < tName) { + if (sIsRequired) + return false; + continue; + } + t1 = tNamed[tIndex + 1]; + if (sIsRequired && !t1) + return false; + t1 = sNamed[sIndex - 1]; + if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) + return false; + break; + } + } + for (; sIndex < sNamedLength;) { + if (sNamed[sIndex + 1]) + return false; + sIndex += 3; + } + return true; + }, + _isInterfaceSubtype(universe, s, sEnv, t, tEnv) { + var rule, recipes, $length, supertypeArgs, i, t1, t2, + sName = s._primary, + tName = t._primary; + for (; sName !== tName;) { + rule = universe.tR[sName]; + if (rule == null) + return false; + if (typeof rule == "string") { + sName = rule; + continue; + } + recipes = rule[tName]; + if (recipes == null) + return false; + $length = recipes.length; + supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA; + for (i = 0; i < $length; ++i) + supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]); + return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv); + } + t1 = s._rest; + t2 = t._rest; + return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv); + }, + _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) { + var i, t1, t2, + $length = sArgs.length; + for (i = 0; i < $length; ++i) { + t1 = sArgs[i]; + t2 = tArgs[i]; + if (!A._isSubtype(universe, t1, sEnv, t2, tEnv)) + return false; + } + return true; + }, + _isRecordSubtype(universe, s, sEnv, t, tEnv) { + var i, + sFields = s._rest, + tFields = t._rest, + sCount = sFields.length; + if (sCount !== tFields.length) + return false; + if (s._primary !== t._primary) + return false; + for (i = 0; i < sCount; ++i) + if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv)) + return false; + return true; + }, + isNullable(t) { + var t1, + kind = t._kind; + if (!(t === type$.Null || t === type$.JSNull)) + if (!A.isStrongTopType(t)) + if (kind !== 7) + if (!(kind === 6 && A.isNullable(t._primary))) + t1 = kind === 8 && A.isNullable(t._primary); + else + t1 = true; + else + t1 = true; + else + t1 = true; + else + t1 = true; + return t1; + }, + isTopType(t) { + var t1; + if (!A.isStrongTopType(t)) + if (!(t === type$.legacy_Object)) + t1 = false; + else + t1 = true; + else + t1 = true; + return t1; + }, + isStrongTopType(t) { + var kind = t._kind; + return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object; + }, + _Utils_objectAssign(o, other) { + var i, key, + keys = Object.keys(other), + $length = keys.length; + for (i = 0; i < $length; ++i) { + key = keys[i]; + o[key] = other[key]; + } + }, + _Utils_newArrayOrEmpty($length) { + return $length > 0 ? new Array($length) : init.typeUniverse.sEA; + }, + Rti: function Rti(t0, t1) { + var _ = this; + _._as = t0; + _._is = t1; + _._cachedRuntimeType = _._specializedTestResource = _._unsoundIsSubtypeCache = _._isSubtypeCache = _._precomputed1 = null; + _._kind = 0; + _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null; + }, + _FunctionParameters: function _FunctionParameters() { + this._named = this._optionalPositional = this._requiredPositional = null; + }, + _Type: function _Type(t0) { + this._rti = t0; + }, + _Error: function _Error() { + }, + _TypeError: function _TypeError(t0) { + this.__rti$_message = t0; + }, + _AsyncRun__initializeScheduleImmediate() { + var div, span, t1 = {}; + if (self.scheduleImmediate != null) + return A.async__AsyncRun__scheduleImmediateJsOverride$closure(); + if (self.MutationObserver != null && self.document != null) { + div = self.document.createElement("div"); + span = self.document.createElement("span"); + t1.storedCallback = null; + new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); + return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); + } else if (self.setImmediate != null) + return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); + return A.async__AsyncRun__scheduleImmediateWithTimer$closure(); + }, + _AsyncRun__scheduleImmediateJsOverride(callback) { + self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(type$.void_Function._as(callback)), 0)); + }, + _AsyncRun__scheduleImmediateWithSetImmediate(callback) { + self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(type$.void_Function._as(callback)), 0)); + }, + _AsyncRun__scheduleImmediateWithTimer(callback) { + A.Timer__createTimer(B.Duration_0, type$.void_Function._as(callback)); + }, + Timer__createTimer(duration, callback) { + var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); + return A._TimerImpl$(milliseconds, callback); + }, + Timer__createPeriodicTimer(duration, callback) { + var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); + return A._TimerImpl$periodic(milliseconds, callback); + }, + _TimerImpl$(milliseconds, callback) { + var t1 = new A._TimerImpl(); + t1._TimerImpl$2(milliseconds, callback); + return t1; + }, + _TimerImpl$periodic(milliseconds, callback) { + var t1 = new A._TimerImpl(); + t1._TimerImpl$periodic$2(milliseconds, callback); + return t1; + }, + AsyncError$(error, stackTrace) { + var t1 = A.checkNotNullable(error, "error", type$.Object); + return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace); + }, + AsyncError_defaultStackTrace(error) { + var stackTrace; + if (type$.Error._is(error)) { + stackTrace = error.get$stackTrace(); + if (stackTrace != null) + return stackTrace; + } + return B._StringStackTrace_3uE; + }, + Future_Future$value(value, $T) { + var t1; + $T._as(value); + t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncComplete$1(value); + return t1; + }, + _Future__chainCoreFutureSync(source, target) { + var t1, t2, listeners; + for (t1 = type$._Future_dynamic; t2 = source._async$_state, (t2 & 4) !== 0;) + source = t1._as(source._resultOrListeners); + if ((t2 & 24) !== 0) { + listeners = target._removeListeners$0(); + target._cloneResult$1(source); + A._Future__propagateToListeners(target, listeners); + } else { + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._setChained$1(source); + source._prependListeners$1(listeners); + } + }, + _Future__chainCoreFutureAsync(source, target) { + var t2, t3, listeners, _box_0 = {}, + t1 = _box_0.source = source; + for (t2 = type$._Future_dynamic; t3 = t1._async$_state, (t3 & 4) !== 0; t1 = source) { + source = t2._as(t1._resultOrListeners); + _box_0.source = source; + } + if ((t3 & 24) === 0) { + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._setChained$1(t1); + _box_0.source._prependListeners$1(listeners); + return; + } + if ((t3 & 16) === 0 && target._resultOrListeners == null) { + target._cloneResult$1(t1); + return; + } + target._async$_state ^= 2; + target._zone.scheduleMicrotask$1(new A._Future__chainCoreFutureAsync_closure(_box_0, target)); + }, + _Future__propagateToListeners(source, listeners) { + var t2, t3, t4, _box_0, t5, t6, hasError, asyncError, nextListener, nextListener0, sourceResult, t7, zone, oldZone, result, current, _box_1 = {}, + t1 = _box_1.source = source; + for (t2 = type$.AsyncError, t3 = type$.nullable__FutureListener_dynamic_dynamic, t4 = type$.Future_dynamic; true;) { + _box_0 = {}; + t5 = t1._async$_state; + t6 = (t5 & 16) === 0; + hasError = !t6; + if (listeners == null) { + if (hasError && (t5 & 1) === 0) { + asyncError = t2._as(t1._resultOrListeners); + t1._zone.handleUncaughtError$2(asyncError.error, asyncError.stackTrace); + } + return; + } + _box_0.listener = listeners; + nextListener = listeners._nextListener; + for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) { + t1._nextListener = null; + A._Future__propagateToListeners(_box_1.source, t1); + _box_0.listener = nextListener; + nextListener0 = nextListener._nextListener; + } + t5 = _box_1.source; + sourceResult = t5._resultOrListeners; + _box_0.listenerHasError = hasError; + _box_0.listenerValueOrError = sourceResult; + if (t6) { + t7 = t1.state; + t7 = (t7 & 1) !== 0 || (t7 & 15) === 8; + } else + t7 = true; + if (t7) { + zone = t1.result._zone; + if (hasError) { + t1 = t5._zone; + t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone()); + } else + t1 = false; + if (t1) { + t1 = _box_1.source; + asyncError = t2._as(t1._resultOrListeners); + t1._zone.handleUncaughtError$2(asyncError.error, asyncError.stackTrace); + return; + } + oldZone = $.Zone__current; + if (oldZone !== zone) + $.Zone__current = zone; + else + oldZone = null; + t1 = _box_0.listener.state; + if ((t1 & 15) === 8) + new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0(); + else if (t6) { + if ((t1 & 1) !== 0) + new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0(); + } else if ((t1 & 2) !== 0) + new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0(); + if (oldZone != null) + $.Zone__current = oldZone; + t1 = _box_0.listenerValueOrError; + if (t1 instanceof A._Future) { + t5 = _box_0.listener.$ti; + t5 = t5._eval$1("Future<2>")._is(t1) || !t5._rest[1]._is(t1); + } else + t5 = false; + if (t5) { + t4._as(t1); + result = _box_0.listener.result; + if ((t1._async$_state & 24) !== 0) { + current = t3._as(result._resultOrListeners); + result._resultOrListeners = null; + listeners = result._reverseListeners$1(current); + result._async$_state = t1._async$_state & 30 | result._async$_state & 1; + result._resultOrListeners = t1._resultOrListeners; + _box_1.source = t1; + continue; + } else + A._Future__chainCoreFutureSync(t1, result); + return; + } + } + result = _box_0.listener.result; + current = t3._as(result._resultOrListeners); + result._resultOrListeners = null; + listeners = result._reverseListeners$1(current); + t1 = _box_0.listenerHasError; + t5 = _box_0.listenerValueOrError; + if (!t1) { + result.$ti._precomputed1._as(t5); + result._async$_state = 8; + result._resultOrListeners = t5; + } else { + t2._as(t5); + result._async$_state = result._async$_state & 1 | 16; + result._resultOrListeners = t5; + } + _box_1.source = result; + t1 = result; + } + }, + _registerErrorHandler(errorHandler, zone) { + if (type$.dynamic_Function_Object_StackTrace._is(errorHandler)) + return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace); + if (type$.dynamic_Function_Object._is(errorHandler)) + return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object); + throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_)); + }, + _microtaskLoop() { + var entry, next; + for (entry = $._nextCallback; entry != null; entry = $._nextCallback) { + $._lastPriorityCallback = null; + next = entry.next; + $._nextCallback = next; + if (next == null) + $._lastCallback = null; + entry.callback.call$0(); + } + }, + _startMicrotaskLoop() { + $._isInCallbackLoop = true; + try { + A._microtaskLoop(); + } finally { + $._lastPriorityCallback = null; + $._isInCallbackLoop = false; + if ($._nextCallback != null) + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); + } + }, + _scheduleAsyncCallback(callback) { + var newEntry = new A._AsyncCallbackEntry(callback), + lastCallback = $._lastCallback; + if (lastCallback == null) { + $._nextCallback = $._lastCallback = newEntry; + if (!$._isInCallbackLoop) + $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); + } else + $._lastCallback = lastCallback.next = newEntry; + }, + _schedulePriorityAsyncCallback(callback) { + var entry, lastPriorityCallback, next, + t1 = $._nextCallback; + if (t1 == null) { + A._scheduleAsyncCallback(callback); + $._lastPriorityCallback = $._lastCallback; + return; + } + entry = new A._AsyncCallbackEntry(callback); + lastPriorityCallback = $._lastPriorityCallback; + if (lastPriorityCallback == null) { + entry.next = t1; + $._nextCallback = $._lastPriorityCallback = entry; + } else { + next = lastPriorityCallback.next; + entry.next = next; + $._lastPriorityCallback = lastPriorityCallback.next = entry; + if (next == null) + $._lastCallback = entry; + } + }, + scheduleMicrotask(callback) { + var t1, _null = null, + currentZone = $.Zone__current; + if (B.C__RootZone === currentZone) { + A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback); + return; + } + if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone) + t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone(); + else + t1 = false; + if (t1) { + A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void)); + return; + } + t1 = $.Zone__current; + t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback)); + }, + StreamController_StreamController(onCancel, onListen, sync, $T) { + return new A._SyncStreamController(onListen, null, null, onCancel, $T._eval$1("_SyncStreamController<0>")); + }, + _runGuarded(notificationHandler) { + var e, s, exception; + if (notificationHandler == null) + return; + try { + notificationHandler.call$0(); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + $.Zone__current.handleUncaughtError$2(e, s); + } + }, + _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) { + var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData; + return zone.registerUnaryCallback$2$1(t1, type$.void, $T); + }, + _BufferingStreamSubscription__registerErrorHandler(zone, handleError) { + if (handleError == null) + handleError = A.async___nullErrorHandler$closure(); + if (type$.void_Function_Object_StackTrace._is(handleError)) + return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); + if (type$.void_Function_Object._is(handleError)) + return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object); + throw A.wrapException(A.ArgumentError$(string$.handle, null)); + }, + _nullDataHandler(value) { + }, + _nullErrorHandler(error, stackTrace) { + type$.Object._as(error); + type$.StackTrace._as(stackTrace); + $.Zone__current.handleUncaughtError$2(error, stackTrace); + }, + _nullDoneHandler() { + }, + Timer_Timer$periodic(duration, callback) { + var boundCallback, + t1 = $.Zone__current; + if (t1 === B.C__RootZone) + return t1.createPeriodicTimer$2(duration, callback); + boundCallback = t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer); + return $.Zone__current.createPeriodicTimer$2(duration, boundCallback); + }, + ZoneSpecification_ZoneSpecification$from(other, handleUncaughtError) { + var t1 = handleUncaughtError == null ? other.handleUncaughtError : handleUncaughtError; + return new A._ZoneSpecification(t1, other.run, other.runUnary, other.runBinary, other.registerCallback, other.registerUnaryCallback, other.registerBinaryCallback, other.errorCallback, other.scheduleMicrotask, other.createTimer, other.createPeriodicTimer, other.print, other.fork); + }, + _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) { + A._rootHandleError(error, type$.StackTrace._as(stackTrace)); + }, + _rootHandleError(error, stackTrace) { + A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace)); + }, + _rootRun($self, $parent, zone, f, $R) { + var old, t1; + type$.nullable_Zone._as($self); + type$.nullable_ZoneDelegate._as($parent); + type$.Zone._as(zone); + $R._eval$1("0()")._as(f); + t1 = $.Zone__current; + if (t1 === zone) + return f.call$0(); + $.Zone__current = zone; + old = t1; + try { + t1 = f.call$0(); + return t1; + } finally { + $.Zone__current = old; + } + }, + _rootRunUnary($self, $parent, zone, f, arg, $R, $T) { + var old, t1; + type$.nullable_Zone._as($self); + type$.nullable_ZoneDelegate._as($parent); + type$.Zone._as(zone); + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + t1 = $.Zone__current; + if (t1 === zone) + return f.call$1(arg); + $.Zone__current = zone; + old = t1; + try { + t1 = f.call$1(arg); + return t1; + } finally { + $.Zone__current = old; + } + }, + _rootRunBinary($self, $parent, zone, f, arg1, arg2, $R, T1, T2) { + var old, t1; + type$.nullable_Zone._as($self); + type$.nullable_ZoneDelegate._as($parent); + type$.Zone._as(zone); + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + t1 = $.Zone__current; + if (t1 === zone) + return f.call$2(arg1, arg2); + $.Zone__current = zone; + old = t1; + try { + t1 = f.call$2(arg1, arg2); + return t1; + } finally { + $.Zone__current = old; + } + }, + _rootRegisterCallback($self, $parent, zone, f, $R) { + return $R._eval$1("0()")._as(f); + }, + _rootRegisterUnaryCallback($self, $parent, zone, f, $R, $T) { + return $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + }, + _rootRegisterBinaryCallback($self, $parent, zone, f, $R, T1, T2) { + return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + }, + _rootErrorCallback($self, $parent, zone, error, stackTrace) { + type$.nullable_StackTrace._as(stackTrace); + return null; + }, + _rootScheduleMicrotask($self, $parent, zone, f) { + var t1, t2; + type$.void_Function._as(f); + if (B.C__RootZone !== zone) { + t1 = B.C__RootZone.get$errorZone(); + t2 = zone.get$errorZone(); + f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void); + } + A._scheduleAsyncCallback(f); + }, + _rootCreateTimer($self, $parent, zone, duration, callback) { + type$.Duration._as(duration); + type$.void_Function._as(callback); + return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback); + }, + _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) { + type$.Duration._as(duration); + type$.void_Function_Timer._as(callback); + return A.Timer__createPeriodicTimer(duration, B.C__RootZone !== zone ? zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer) : callback); + }, + _rootPrint($self, $parent, zone, line) { + A.printString(A.S(A._asString(line))); + }, + _rootFork($self, $parent, zone, specification, zoneValues) { + var valueMap, t1, handleUncaughtError; + type$.nullable_ZoneSpecification._as(specification); + type$.nullable_Map_of_nullable_Object_and_nullable_Object._as(zoneValues); + valueMap = zone.get$_async$_map(); + t1 = new A._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap); + handleUncaughtError = specification.handleUncaughtError; + if (handleUncaughtError != null) + t1.set$_handleUncaughtError(new A._ZoneFunction(t1, handleUncaughtError, type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace)); + return t1; + }, + runZonedGuarded(body, onError, $R) { + var error, stackTrace, parentZone, errorHandler, t1, exception, _null = null, zoneSpecification = null, zoneValues = null; + A.checkNotNullable(body, "body", $R._eval$1("0()")); + A.checkNotNullable(onError, "onError", type$.void_Function_Object_StackTrace); + parentZone = $.Zone__current; + errorHandler = new A.runZonedGuarded_closure(parentZone, onError); + if (zoneSpecification == null) + zoneSpecification = new A._ZoneSpecification(errorHandler, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); + else + zoneSpecification = A.ZoneSpecification_ZoneSpecification$from(zoneSpecification, errorHandler); + try { + t1 = parentZone.fork$2$specification$zoneValues(zoneSpecification, zoneValues).run$1$1(body, $R); + return t1; + } catch (exception) { + error = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + onError.call$2(error, stackTrace); + } + return _null; + }, + _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) { + this._box_0 = t0; + }, + _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) { + this._box_0 = t0; + this.div = t1; + this.span = t2; + }, + _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) { + this.callback = t0; + }, + _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) { + this.callback = t0; + }, + _TimerImpl: function _TimerImpl() { + this._tick = 0; + }, + _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) { + this.$this = t0; + this.callback = t1; + }, + _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.milliseconds = t1; + _.start = t2; + _.callback = t3; + }, + AsyncError: function AsyncError(t0, t1) { + this.error = t0; + this.stackTrace = t1; + }, + _Completer: function _Completer() { + }, + _AsyncCompleter: function _AsyncCompleter(t0, t1) { + this.future = t0; + this.$ti = t1; + }, + _SyncCompleter: function _SyncCompleter(t0, t1) { + this.future = t0; + this.$ti = t1; + }, + _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) { + var _ = this; + _._nextListener = null; + _.result = t0; + _.state = t1; + _.callback = t2; + _.errorCallback = t3; + _.$ti = t4; + }, + _Future: function _Future(t0, t1) { + var _ = this; + _._async$_state = 0; + _._zone = t0; + _._resultOrListeners = null; + _.$ti = t1; + }, + _Future__addListener_closure: function _Future__addListener_closure(t0, t1) { + this.$this = t0; + this.listener = t1; + }, + _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) { + this.$this = t0; + }, + _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) { + this.$this = t0; + }, + _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) { + this.$this = t0; + this.e = t1; + this.s = t2; + }, + _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) { + this._box_0 = t0; + this.target = t1; + }, + _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { + this.$this = t0; + this.value = t1; + }, + _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) { + this.$this = t0; + this.error = t1; + this.stackTrace = t2; + }, + _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) { + this._box_0 = t0; + this._box_1 = t1; + this.hasError = t2; + }, + _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) { + this.originalSource = t0; + }, + _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) { + this._box_0 = t0; + this.sourceResult = t1; + }, + _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) { + this._box_1 = t0; + this._box_0 = t1; + }, + _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) { + this.callback = t0; + this.next = null; + }, + Stream: function Stream() { + }, + Stream_pipe_closure: function Stream_pipe_closure(t0) { + this.streamConsumer = t0; + }, + Stream_length_closure: function Stream_length_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + Stream_length_closure0: function Stream_length_closure0(t0, t1) { + this._box_0 = t0; + this.future = t1; + }, + _StreamController: function _StreamController() { + }, + _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) { + this.$this = t0; + }, + _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) { + this.$this = t0; + }, + _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() { + }, + _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) { + var _ = this; + _._varData = null; + _._async$_state = 0; + _._doneFuture = null; + _.onListen = t0; + _.onPause = t1; + _.onResume = t2; + _.onCancel = t3; + _.$ti = t4; + }, + _ControllerStream: function _ControllerStream(t0, t1) { + this._controller = t0; + this.$ti = t1; + }, + _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _._controller = t0; + _._onData = t1; + _._onError = t2; + _._onDone = t3; + _._zone = t4; + _._async$_state = t5; + _._pending = _._cancelFuture = null; + _.$ti = t6; + }, + _StreamSinkWrapper: function _StreamSinkWrapper(t0, t1) { + this._target = t0; + this.$ti = t1; + }, + _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) { + this.$this = t0; + }, + _BufferingStreamSubscription: function _BufferingStreamSubscription() { + }, + _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) { + this.$this = t0; + this.error = t1; + this.stackTrace = t2; + }, + _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) { + this.$this = t0; + }, + _StreamImpl: function _StreamImpl() { + }, + _DelayedEvent: function _DelayedEvent() { + }, + _DelayedData: function _DelayedData(t0, t1) { + this.value = t0; + this.next = null; + this.$ti = t1; + }, + _DelayedError: function _DelayedError(t0, t1) { + this.error = t0; + this.stackTrace = t1; + this.next = null; + }, + _DelayedDone: function _DelayedDone() { + }, + _PendingEvents: function _PendingEvents(t0) { + var _ = this; + _._async$_state = 0; + _.lastPendingEvent = _.firstPendingEvent = null; + _.$ti = t0; + }, + _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { + this.$this = t0; + this.dispatch = t1; + }, + _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1) { + var _ = this; + _._async$_state = 1; + _._zone = t0; + _._onDone = null; + _.$ti = t1; + }, + _EmptyStream: function _EmptyStream(t0) { + this.$ti = t0; + }, + _ZoneFunction: function _ZoneFunction(t0, t1, t2) { + this.zone = t0; + this.$function = t1; + this.$ti = t2; + }, + _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { + var _ = this; + _.handleUncaughtError = t0; + _.run = t1; + _.runUnary = t2; + _.runBinary = t3; + _.registerCallback = t4; + _.registerUnaryCallback = t5; + _.registerBinaryCallback = t6; + _.errorCallback = t7; + _.scheduleMicrotask = t8; + _.createTimer = t9; + _.createPeriodicTimer = t10; + _.print = t11; + _.fork = t12; + }, + _ZoneDelegate: function _ZoneDelegate(t0) { + this._delegationTarget = t0; + }, + _Zone: function _Zone() { + }, + _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { + var _ = this; + _._run = t0; + _._runUnary = t1; + _._runBinary = t2; + _._registerCallback = t3; + _._registerUnaryCallback = t4; + _._registerBinaryCallback = t5; + _._errorCallback = t6; + _._scheduleMicrotask = t7; + _._createTimer = t8; + _._createPeriodicTimer = t9; + _._print = t10; + _._fork = t11; + _._handleUncaughtError = t12; + _._delegateCache = null; + _.parent = t13; + _._async$_map = t14; + }, + _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) { + this.$this = t0; + this.registered = t1; + this.R = t2; + }, + _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.registered = t1; + _.T = t2; + _.R = t3; + }, + _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) { + this.$this = t0; + this.registered = t1; + }, + _CustomZone_bindUnaryCallbackGuarded_closure: function _CustomZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) { + this.$this = t0; + this.registered = t1; + this.T = t2; + }, + _rootHandleError_closure: function _rootHandleError_closure(t0, t1) { + this.error = t0; + this.stackTrace = t1; + }, + _RootZone: function _RootZone() { + }, + _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) { + this.$this = t0; + this.f = t1; + this.R = t2; + }, + _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) { + var _ = this; + _.$this = t0; + _.f = t1; + _.T = t2; + _.R = t3; + }, + _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) { + this.$this = t0; + this.f = t1; + }, + _RootZone_bindUnaryCallbackGuarded_closure: function _RootZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) { + this.$this = t0; + this.f = t1; + this.T = t2; + }, + runZonedGuarded_closure: function runZonedGuarded_closure(t0, t1) { + this.parentZone = t0; + this.onError = t1; + }, + HashMap_HashMap($K, $V) { + return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>")); + }, + _HashMap__getTableEntry(table, key) { + var entry = table[key]; + return entry === table ? null : entry; + }, + _HashMap__setTableEntry(table, key, value) { + if (value == null) + table[key] = table; + else + table[key] = value; + }, + _HashMap__newHashTable() { + var table = Object.create(null); + A._HashMap__setTableEntry(table, "", table); + delete table[""]; + return table; + }, + LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) { + return $K._eval$1("@<0>")._bind$1($V)._eval$1("LinkedHashMap<1,2>")._as(A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")))); + }, + LinkedHashMap_LinkedHashMap$_empty($K, $V) { + return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); + }, + LinkedHashSet_LinkedHashSet$_empty($E) { + return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); + }, + _LinkedHashSet__newHashTable() { + var table = Object.create(null); + table[""] = table; + delete table[""]; + return table; + }, + _LinkedHashSetIterator$(_set, _modifications, $E) { + var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>")); + t1._collection$_cell = _set._collection$_first; + return t1; + }, + MapBase_mapToString(m) { + var result, t1 = {}; + if (A.isToStringVisiting(m)) + return "{...}"; + result = new A.StringBuffer(""); + try { + B.JSArray_methods.add$1($.toStringVisiting, m); + result._contents += "{"; + t1.first = true; + J.forEach$1$x(m, new A.MapBase_mapToString_closure(t1, result)); + result._contents += "}"; + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + t1 = result._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _HashMap: function _HashMap(t0) { + var _ = this; + _._collection$_length = 0; + _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; + }, + _IdentityHashMap: function _IdentityHashMap(t0) { + var _ = this; + _._collection$_length = 0; + _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; + }, + _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) { + var _ = this; + _._collection$_map = t0; + _._keys = t1; + _._offset = 0; + _._collection$_current = null; + _.$ti = t2; + }, + _LinkedHashSet: function _LinkedHashSet(t0) { + var _ = this; + _._collection$_length = 0; + _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _._collection$_modifications = 0; + _.$ti = t0; + }, + _LinkedHashSetCell: function _LinkedHashSetCell(t0) { + this._element = t0; + this._collection$_previous = this._collection$_next = null; + }, + _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) { + var _ = this; + _._set = t0; + _._collection$_modifications = t1; + _._collection$_current = _._collection$_cell = null; + _.$ti = t2; + }, + ListBase: function ListBase() { + }, + MapBase: function MapBase() { + }, + MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { + this._box_0 = t0; + this.result = t1; + }, + _UnmodifiableMapMixin: function _UnmodifiableMapMixin() { + }, + MapView: function MapView() { + }, + UnmodifiableMapView: function UnmodifiableMapView(t0, t1) { + this._collection$_map = t0; + this.$ti = t1; + }, + SetBase: function SetBase() { + }, + _SetBase: function _SetBase() { + }, + _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { + }, + _parseJson(source, reviver) { + var e, exception, t1, parsed = null; + try { + parsed = JSON.parse(source); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.FormatException$(String(e), null, null); + throw A.wrapException(t1); + } + t1 = A._convertJsonToDartLazy(parsed); + return t1; + }, + _convertJsonToDartLazy(object) { + var i; + if (object == null) + return null; + if (typeof object != "object") + return object; + if (Object.getPrototypeOf(object) !== Array.prototype) + return new A._JsonMap(object, Object.create(null)); + for (i = 0; i < object.length; ++i) + object[i] = A._convertJsonToDartLazy(object[i]); + return object; + }, + Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) { + var casted, result; + if (codeUnits instanceof Uint8Array) { + casted = codeUnits; + end = casted.length; + if (end - start < 15) + return null; + result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end); + if (result != null && allowMalformed) + if (result.indexOf("\ufffd") >= 0) + return null; + return result; + } + return null; + }, + Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { + var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder(); + if (decoder == null) + return null; + if (0 === start && end === codeUnits.length) + return A.Utf8Decoder__useTextDecoder(decoder, codeUnits); + return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length))); + }, + Utf8Decoder__useTextDecoder(decoder, codeUnits) { + var t1, exception; + try { + t1 = decoder.decode(codeUnits); + return t1; + } catch (exception) { + } + return null; + }, + Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { + if (B.JSInt_methods.$mod($length, 4) !== 0) + throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); + if (firstPadding + paddingCount !== $length) + throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); + if (paddingCount > 2) + throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); + }, + JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) { + return new A.JsonUnsupportedObjectError(unsupportedObject, cause); + }, + _defaultToEncodable(object) { + return object.toJson$0(); + }, + _JsonStringStringifier$(_sink, _toEncodable) { + return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure()); + }, + _JsonStringStringifier_stringify(object, toEncodable, indent) { + var t1, + output = new A.StringBuffer(""); + A._JsonStringStringifier_printOn(object, output, toEncodable, indent); + t1 = output._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _JsonStringStringifier_printOn(object, output, toEncodable, indent) { + var stringifier = A._JsonStringStringifier$(output, toEncodable); + stringifier.writeObject$1(object); + }, + _Utf8Decoder_errorDescription(state) { + switch (state) { + case 65: + return "Missing extension byte"; + case 67: + return "Unexpected extension byte"; + case 69: + return "Invalid UTF-8 byte"; + case 71: + return "Overlong encoding"; + case 73: + return "Out of unicode range"; + case 75: + return "Encoded surrogate"; + case 77: + return "Unfinished UTF-8 octet sequence"; + default: + return ""; + } + }, + _Utf8Decoder__makeUint8List(codeUnits, start, end) { + var t1, i, b, + $length = end - start, + bytes = new Uint8Array($length); + for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) { + b = t1.$index(codeUnits, start + i); + if ((b & 4294967040) >>> 0 !== 0) + b = 255; + if (!(i < $length)) + return A.ioore(bytes, i); + bytes[i] = b; + } + return bytes; + }, + _JsonMap: function _JsonMap(t0, t1) { + this._original = t0; + this._processed = t1; + this._data = null; + }, + _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) { + this._convert$_parent = t0; + }, + Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() { + }, + Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() { + }, + AsciiCodec: function AsciiCodec() { + }, + _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() { + }, + AsciiEncoder: function AsciiEncoder(t0) { + this._subsetMask = t0; + }, + Base64Codec: function Base64Codec() { + }, + Base64Encoder: function Base64Encoder() { + }, + Codec: function Codec() { + }, + _FusedCodec: function _FusedCodec(t0, t1, t2) { + this._convert$_first = t0; + this._second = t1; + this.$ti = t2; + }, + Converter: function Converter() { + }, + Encoding: function Encoding() { + }, + JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) { + this.unsupportedObject = t0; + this.cause = t1; + }, + JsonCyclicError: function JsonCyclicError(t0, t1) { + this.unsupportedObject = t0; + this.cause = t1; + }, + JsonCodec: function JsonCodec() { + }, + JsonEncoder: function JsonEncoder(t0) { + this._toEncodable = t0; + }, + JsonDecoder: function JsonDecoder(t0) { + this._reviver = t0; + }, + _JsonStringifier: function _JsonStringifier() { + }, + _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) { + this._box_0 = t0; + this.keyValueList = t1; + }, + _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) { + this._sink = t0; + this._seen = t1; + this._toEncodable = t2; + }, + Utf8Codec: function Utf8Codec() { + }, + Utf8Encoder: function Utf8Encoder() { + }, + _Utf8Encoder: function _Utf8Encoder(t0) { + this._bufferIndex = this._carry = 0; + this._buffer = t0; + }, + Utf8Decoder: function Utf8Decoder(t0) { + this._allowMalformed = t0; + }, + _Utf8Decoder: function _Utf8Decoder(t0) { + this.allowMalformed = t0; + this._state = 16; + this._charOrIndex = 0; + }, + int_parse(source, radix) { + var value = A.Primitives_parseInt(source, radix); + if (value != null) + return value; + throw A.wrapException(A.FormatException$(source, null, null)); + }, + Error__throw(error, stackTrace) { + error = A.wrapException(error); + if (error == null) + error = type$.Object._as(error); + error.stack = stackTrace.toString$0(0); + throw error; + throw A.wrapException("unreachable"); + }, + List_List$filled($length, fill, growable, $E) { + var i, + result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E); + if ($length !== 0 && fill != null) + for (i = 0; i < result.length; ++i) + result[i] = fill; + return result; + }, + List_List$from(elements, growable, $E) { + var t1, + list = A._setArrayType([], $E._eval$1("JSArray<0>")); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + B.JSArray_methods.add$1(list, $E._as(t1.get$current(t1))); + if (growable) + return list; + return J.JSArray_markFixedList(list, $E); + }, + List_List$of(elements, growable, $E) { + var t1; + if (growable) + return A.List_List$_of(elements, $E); + t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E), $E); + return t1; + }, + List_List$_of(elements, $E) { + var list, t1; + if (Array.isArray(elements)) + return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>")); + list = A._setArrayType([], $E._eval$1("JSArray<0>")); + for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) + B.JSArray_methods.add$1(list, t1.get$current(t1)); + return list; + }, + List_List$unmodifiable(elements, $E) { + return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E)); + }, + String_String$fromCharCodes(charCodes, start, end) { + var array, len; + if (Array.isArray(charCodes)) { + array = charCodes; + len = array.length; + end = A.RangeError_checkValidRange(start, end, len); + return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array); + } + if (type$.NativeUint8List._is(charCodes)) + return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length)); + return A.String__stringFromIterable(charCodes, start, end); + }, + String_String$fromCharCode(charCode) { + return A.Primitives_stringFromCharCode(charCode); + }, + String__stringFromIterable(charCodes, start, end) { + var t1, it, i, list, _null = null; + if (start < 0) + throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); + t1 = end == null; + if (!t1 && end < start) + throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null)); + it = J.get$iterator$ax(charCodes); + for (i = 0; i < start; ++i) + if (!it.moveNext$0()) + throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null)); + list = []; + if (t1) + for (; it.moveNext$0();) + list.push(it.get$current(it)); + else + for (i = start; i < end; ++i) { + if (!it.moveNext$0()) + throw A.wrapException(A.RangeError$range(end, start, i, _null, _null)); + list.push(it.get$current(it)); + } + return A.Primitives_stringFromCharCodes(list); + }, + RegExp_RegExp(source, multiLine) { + return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false)); + }, + StringBuffer__writeAll(string, objects, separator) { + var iterator = J.get$iterator$ax(objects); + if (!iterator.moveNext$0()) + return string; + if (separator.length === 0) { + do + string += A.S(iterator.get$current(iterator)); + while (iterator.moveNext$0()); + } else { + string += A.S(iterator.get$current(iterator)); + for (; iterator.moveNext$0();) + string = string + separator + A.S(iterator.get$current(iterator)); + } + return string; + }, + NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) { + return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()); + }, + Uri_base() { + var cachedUri, uri, + current = A.Primitives_currentUri(); + if (current == null) + throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); + cachedUri = $.Uri__cachedBaseUri; + if (cachedUri != null && current === $.Uri__cachedBaseString) + return cachedUri; + uri = A.Uri_parse(current); + $.Uri__cachedBaseUri = uri; + $.Uri__cachedBaseString = current; + return uri; + }, + _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) { + var t1, bytes, i, t2, byte, t3, + _s16_ = "0123456789ABCDEF"; + if (encoding === B.C_Utf8Codec) { + t1 = $.$get$_Uri__needsNoEncoding(); + t1 = t1._nativeRegExp.test(text); + } else + t1 = false; + if (t1) + return text; + bytes = B.C_Utf8Encoder.convert$1(text); + for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) { + byte = bytes[i]; + if (byte < 128) { + t3 = byte >>> 4; + if (!(t3 < 8)) + return A.ioore(canonicalTable, t3); + t3 = (canonicalTable[t3] & 1 << (byte & 15)) !== 0; + } else + t3 = false; + if (t3) + t2 += A.Primitives_stringFromCharCode(byte); + else + t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15]; + } + return t2.charCodeAt(0) == 0 ? t2 : t2; + }, + DateTime__fourDigits(n) { + var absN = Math.abs(n), + sign = n < 0 ? "-" : ""; + if (absN >= 1000) + return "" + n; + if (absN >= 100) + return sign + "0" + absN; + if (absN >= 10) + return sign + "00" + absN; + return sign + "000" + absN; + }, + DateTime__threeDigits(n) { + if (n >= 100) + return "" + n; + if (n >= 10) + return "0" + n; + return "00" + n; + }, + DateTime__twoDigits(n) { + if (n >= 10) + return "" + n; + return "0" + n; + }, + Error_safeToString(object) { + if (typeof object == "number" || A._isBool(object) || object == null) + return J.toString$0$(object); + if (typeof object == "string") + return JSON.stringify(object); + return A.Primitives_safeToString(object); + }, + Error_throwWithStackTrace(error, stackTrace) { + A.checkNotNullable(error, "error", type$.Object); + A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace); + A.Error__throw(error, stackTrace); + }, + AssertionError$(message) { + return new A.AssertionError(message); + }, + ArgumentError$(message, $name) { + return new A.ArgumentError(false, null, $name, message); + }, + ArgumentError$value(value, $name, message) { + return new A.ArgumentError(true, value, $name, message); + }, + ArgumentError_checkNotNull(argument, $name, $T) { + return argument; + }, + RangeError$value(value, $name) { + return new A.RangeError(null, null, true, value, $name, "Value not in range"); + }, + RangeError$range(invalidValue, minValue, maxValue, $name, message) { + return new A.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); + }, + RangeError_checkValueInInterval(value, minValue, maxValue, $name) { + if (value < minValue || value > maxValue) + throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null)); + return value; + }, + RangeError_checkValidRange(start, end, $length) { + if (0 > start || start > $length) + throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null)); + if (end != null) { + if (start > end || end > $length) + throw A.wrapException(A.RangeError$range(end, start, $length, "end", null)); + return end; + } + return $length; + }, + RangeError_checkNotNegative(value, $name) { + if (value < 0) + throw A.wrapException(A.RangeError$range(value, 0, null, $name, null)); + return value; + }, + IndexError$withLength(invalidValue, $length, indexable, $name) { + return new A.IndexError($length, true, invalidValue, $name, "Index out of range"); + }, + UnsupportedError$(message) { + return new A.UnsupportedError(message); + }, + UnimplementedError$(message) { + return new A.UnimplementedError(message); + }, + StateError$(message) { + return new A.StateError(message); + }, + ConcurrentModificationError$(modifiedObject) { + return new A.ConcurrentModificationError(modifiedObject); + }, + FormatException$(message, source, offset) { + return new A.FormatException(message, source, offset); + }, + Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { + var parts, t1; + if (A.isToStringVisiting(iterable)) { + if (leftDelimiter === "(" && rightDelimiter === ")") + return "(...)"; + return leftDelimiter + "..." + rightDelimiter; + } + parts = A._setArrayType([], type$.JSArray_String); + B.JSArray_methods.add$1($.toStringVisiting, iterable); + try { + A._iterablePartsToStrings(iterable, parts); + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { + var buffer, t1; + if (A.isToStringVisiting(iterable)) + return leftDelimiter + "..." + rightDelimiter; + buffer = new A.StringBuffer(leftDelimiter); + B.JSArray_methods.add$1($.toStringVisiting, iterable); + try { + t1 = buffer; + t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + buffer._contents += rightDelimiter; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _iterablePartsToStrings(iterable, parts) { + var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision, + it = iterable.get$iterator(iterable), + $length = 0, count = 0; + while (true) { + if (!($length < 80 || count < 3)) + break; + if (!it.moveNext$0()) + return; + next = A.S(it.get$current(it)); + B.JSArray_methods.add$1(parts, next); + $length += next.length + 2; + ++count; + } + if (!it.moveNext$0()) { + if (count <= 5) + return; + if (0 >= parts.length) + return A.ioore(parts, -1); + ultimateString = parts.pop(); + if (0 >= parts.length) + return A.ioore(parts, -1); + penultimateString = parts.pop(); + } else { + penultimate = it.get$current(it); + ++count; + if (!it.moveNext$0()) { + if (count <= 4) { + B.JSArray_methods.add$1(parts, A.S(penultimate)); + return; + } + ultimateString = A.S(penultimate); + if (0 >= parts.length) + return A.ioore(parts, -1); + penultimateString = parts.pop(); + $length += ultimateString.length + 2; + } else { + ultimate = it.get$current(it); + ++count; + for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { + ultimate0 = it.get$current(it); + ++count; + if (count > 100) { + while (true) { + if (!($length > 75 && count > 3)) + break; + if (0 >= parts.length) + return A.ioore(parts, -1); + $length -= parts.pop().length + 2; + --count; + } + B.JSArray_methods.add$1(parts, "..."); + return; + } + } + penultimateString = A.S(penultimate); + ultimateString = A.S(ultimate); + $length += ultimateString.length + penultimateString.length + 4; + } + } + if (count > parts.length + 2) { + $length += 5; + elision = "..."; + } else + elision = null; + while (true) { + if (!($length > 80 && parts.length > 3)) + break; + if (0 >= parts.length) + return A.ioore(parts, -1); + $length -= parts.pop().length + 2; + if (elision == null) { + $length += 5; + elision = "..."; + } + } + if (elision != null) + B.JSArray_methods.add$1(parts, elision); + B.JSArray_methods.add$1(parts, penultimateString); + B.JSArray_methods.add$1(parts, ultimateString); + }, + Object_hash(object1, object2, object3, object4) { + var t1; + if (B.C_SentinelValue === object3) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2)); + } + if (B.C_SentinelValue === object4) { + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3)); + } + t1 = J.get$hashCode$(object1); + object2 = J.get$hashCode$(object2); + object3 = J.get$hashCode$(object3); + object4 = J.get$hashCode$(object4); + object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4)); + return object4; + }, + Uri_Uri$dataFromString($content) { + var t1, _null = null, + buffer = new A.StringBuffer(""), + indices = A._setArrayType([-1], type$.JSArray_int); + A.UriData__writeUri(_null, _null, _null, buffer, indices); + B.JSArray_methods.add$1(indices, buffer._contents.length); + buffer._contents += ","; + A.UriData__uriEncodeBytes(B.List_oFp, B.C_AsciiCodec.encode$1($content), buffer); + t1 = buffer._contents; + return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri(); + }, + Uri_parse(uri) { + var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null, + end = uri.length; + if (end >= 5) { + if (4 >= end) + return A.ioore(uri, 4); + delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0; + if (delta === 0) + return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); + else if (delta === 32) + return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri(); + } + indices = A.List_List$filled(8, 0, false, type$.int); + B.JSArray_methods.$indexSet(indices, 0, 0); + B.JSArray_methods.$indexSet(indices, 1, -1); + B.JSArray_methods.$indexSet(indices, 2, -1); + B.JSArray_methods.$indexSet(indices, 7, -1); + B.JSArray_methods.$indexSet(indices, 3, 0); + B.JSArray_methods.$indexSet(indices, 4, 0); + B.JSArray_methods.$indexSet(indices, 5, end); + B.JSArray_methods.$indexSet(indices, 6, end); + if (A._scan(uri, 0, end, 0, indices) >= 14) + B.JSArray_methods.$indexSet(indices, 7, end); + schemeEnd = indices[1]; + if (schemeEnd >= 0) + if (A._scan(uri, 0, schemeEnd, 20, indices) === 20) + indices[7] = schemeEnd; + hostStart = indices[2] + 1; + portStart = indices[3]; + pathStart = indices[4]; + queryStart = indices[5]; + fragmentStart = indices[6]; + if (fragmentStart < queryStart) + queryStart = fragmentStart; + if (pathStart < hostStart) + pathStart = queryStart; + else if (pathStart <= schemeEnd) + pathStart = schemeEnd + 1; + if (portStart < hostStart) + portStart = pathStart; + isSimple = indices[7] < 0; + if (isSimple) + if (hostStart > schemeEnd + 3) { + scheme = _null; + isSimple = false; + } else { + t1 = portStart > 0; + if (t1 && portStart + 1 === pathStart) { + scheme = _null; + isSimple = false; + } else { + if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart)) + if (hostStart > 0) + t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2); + else + t2 = false; + else + t2 = true; + if (t2) { + scheme = _null; + isSimple = false; + } else { + if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart))) + t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3); + else + t2 = true; + if (t2) { + scheme = _null; + isSimple = false; + } else { + if (schemeEnd === 4) + if (B.JSString_methods.startsWith$2(uri, "file", 0)) { + if (hostStart <= 0) { + if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) { + schemeAuth = "file:///"; + delta = 3; + } else { + schemeAuth = "file://"; + delta = 2; + } + uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end); + schemeEnd -= 0; + t1 = delta - 0; + queryStart += t1; + fragmentStart += t1; + end = uri.length; + hostStart = 7; + portStart = 7; + pathStart = 7; + } else if (pathStart === queryStart) { + ++fragmentStart; + queryStart0 = queryStart + 1; + uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); + ++end; + queryStart = queryStart0; + } + scheme = "file"; + } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) { + if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) { + fragmentStart -= 3; + pathStart0 = pathStart - 3; + queryStart -= 3; + uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + end -= 3; + pathStart = pathStart0; + } + scheme = "http"; + } else + scheme = _null; + else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) { + if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) { + fragmentStart -= 4; + pathStart0 = pathStart - 4; + queryStart -= 4; + uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); + end -= 3; + pathStart = pathStart0; + } + scheme = "https"; + } else + scheme = _null; + isSimple = true; + } + } + } + } + else + scheme = _null; + if (isSimple) { + if (end < uri.length) { + uri = B.JSString_methods.substring$2(uri, 0, end); + schemeEnd -= 0; + hostStart -= 0; + portStart -= 0; + pathStart -= 0; + queryStart -= 0; + fragmentStart -= 0; + } + return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); + } + if (scheme == null) + if (schemeEnd > 0) + scheme = A._Uri__makeScheme(uri, 0, schemeEnd); + else { + if (schemeEnd === 0) + A._Uri__fail(uri, 0, "Invalid empty scheme"); + scheme = ""; + } + if (hostStart > 0) { + userInfoStart = schemeEnd + 3; + userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; + host = A._Uri__makeHost(uri, hostStart, portStart, false); + t1 = portStart + 1; + if (t1 < pathStart) { + portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null); + port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme); + } else + port = _null; + } else { + port = _null; + host = port; + userInfo = ""; + } + path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); + query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null; + return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null); + }, + Uri_decodeComponent(encodedComponent) { + A._asString(encodedComponent); + return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false); + }, + Uri_splitQueryString(query) { + var t1 = type$.String; + return B.JSArray_methods.fold$1$2(A._setArrayType(query.split("&"), type$.JSArray_String), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.Uri_splitQueryString_closure(B.C_Utf8Codec), type$.Map_String_String); + }, + Uri__parseIPv4Address(host, start, end) { + var t1, i, partStart, partIndex, char, part, partIndex0, + _s43_ = "IPv4 address should contain exactly 4 parts", + _s37_ = "each part must be in the range 0..255", + error = new A.Uri__parseIPv4Address_error(host), + result = new Uint8Array(4); + for (t1 = host.length, i = start, partStart = i, partIndex = 0; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(host, i); + char = host.charCodeAt(i); + if (char !== 46) { + if ((char ^ 48) > 9) + error.call$2("invalid character", i); + } else { + if (partIndex === 3) + error.call$2(_s43_, i); + part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null); + if (part > 255) + error.call$2(_s37_, partStart); + partIndex0 = partIndex + 1; + if (!(partIndex < 4)) + return A.ioore(result, partIndex); + result[partIndex] = part; + partStart = i + 1; + partIndex = partIndex0; + } + } + if (partIndex !== 3) + error.call$2(_s43_, end); + part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null); + if (part > 255) + error.call$2(_s37_, partStart); + if (!(partIndex < 4)) + return A.ioore(result, partIndex); + result[partIndex] = part; + return result; + }, + Uri_parseIPv6Address(host, start, end) { + var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, last, bytes, wildCardLength, index, value, j, t2, _null = null, + error = new A.Uri_parseIPv6Address_error(host), + parseHex = new A.Uri_parseIPv6Address_parseHex(error, host), + t1 = host.length; + if (t1 < 2) + error.call$2("address is too short", _null); + parts = A._setArrayType([], type$.JSArray_int); + for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(host, i); + char = host.charCodeAt(i); + if (char === 58) { + if (i === start) { + ++i; + if (!(i < t1)) + return A.ioore(host, i); + if (host.charCodeAt(i) !== 58) + error.call$2("invalid start colon.", i); + partStart = i; + } + if (i === partStart) { + if (wildcardSeen) + error.call$2("only one wildcard `::` is allowed", i); + B.JSArray_methods.add$1(parts, -1); + wildcardSeen = true; + } else + B.JSArray_methods.add$1(parts, parseHex.call$2(partStart, i)); + partStart = i + 1; + } else if (char === 46) + seenDot = true; + } + if (parts.length === 0) + error.call$2("too few parts", _null); + atEnd = partStart === end; + t1 = B.JSArray_methods.get$last(parts); + if (atEnd && t1 !== -1) + error.call$2("expected a part after last `:`", end); + if (!atEnd) + if (!seenDot) + B.JSArray_methods.add$1(parts, parseHex.call$2(partStart, end)); + else { + last = A.Uri__parseIPv4Address(host, partStart, end); + B.JSArray_methods.add$1(parts, (last[0] << 8 | last[1]) >>> 0); + B.JSArray_methods.add$1(parts, (last[2] << 8 | last[3]) >>> 0); + } + if (wildcardSeen) { + if (parts.length > 7) + error.call$2("an address with a wildcard must have less than 7 parts", _null); + } else if (parts.length !== 8) + error.call$2("an address without a wildcard must contain exactly 8 parts", _null); + bytes = new Uint8Array(16); + for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) { + value = parts[i]; + if (value === -1) + for (j = 0; j < wildCardLength; ++j) { + if (!(index >= 0 && index < 16)) + return A.ioore(bytes, index); + bytes[index] = 0; + t2 = index + 1; + if (!(t2 < 16)) + return A.ioore(bytes, t2); + bytes[t2] = 0; + index += 2; + } + else { + t2 = B.JSInt_methods._shrOtherPositive$1(value, 8); + if (!(index >= 0 && index < 16)) + return A.ioore(bytes, index); + bytes[index] = t2; + t2 = index + 1; + if (!(t2 < 16)) + return A.ioore(bytes, t2); + bytes[t2] = value & 255; + index += 2; + } + } + return bytes; + }, + _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) { + return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment); + }, + _Uri__Uri(host, path, pathSegments, scheme) { + var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null; + scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length); + userInfo = A._Uri__makeUserInfo(_null, 0, 0); + host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false); + query = A._Uri__makeQuery(_null, 0, 0, _null); + fragment = A._Uri__makeFragment(_null, 0, 0); + port = A._Uri__makePort(_null, scheme); + isFile = scheme === "file"; + if (host == null) + t1 = userInfo.length !== 0 || port != null || isFile; + else + t1 = false; + if (t1) + host = ""; + t1 = host == null; + hasAuthority = !t1; + path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority); + t2 = scheme.length === 0; + if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/")) + path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority); + else + path = A._Uri__removeDotSegments(path); + return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment); + }, + _Uri__defaultPort(scheme) { + if (scheme === "http") + return 80; + if (scheme === "https") + return 443; + return 0; + }, + _Uri__fail(uri, index, message) { + throw A.wrapException(A.FormatException$(message, uri, index)); + }, + _Uri__Uri$file(path, windows) { + return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false); + }, + _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) { + var t1, _i, segment; + for (t1 = segments.length, _i = 0; _i < t1; ++_i) { + segment = segments[_i]; + if (J.contains$1$asx(segment, "/")) { + t1 = A.UnsupportedError$("Illegal path character " + A.S(segment)); + throw A.wrapException(t1); + } + } + }, + _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) { + var t1, t2, t3; + for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { + t3 = t1.__internal$_current; + if (t3 == null) + t3 = t2._as(t3); + if (B.JSString_methods.contains$1(t3, A.RegExp_RegExp('["*/:<>?\\\\|]', false))) + if (argumentError) + throw A.wrapException(A.ArgumentError$("Illegal character in path", null)); + else + throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3)); + } + }, + _Uri__checkWindowsDriveLetter(charCode, argumentError) { + var t1, + _s21_ = "Illegal drive letter "; + if (!(65 <= charCode && charCode <= 90)) + t1 = 97 <= charCode && charCode <= 122; + else + t1 = true; + if (t1) + return; + if (argumentError) + throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null)); + else + throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode))); + }, + _Uri__makeFileUri(path, slashTerminated) { + var _null = null, + segments = A._setArrayType(path.split("/"), type$.JSArray_String); + if (B.JSString_methods.startsWith$1(path, "/")) + return A._Uri__Uri(_null, _null, segments, "file"); + else + return A._Uri__Uri(_null, _null, segments, _null); + }, + _Uri__makeWindowsFileUrl(path, slashTerminated) { + var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file"; + if (B.JSString_methods.startsWith$1(path, "\\\\?\\")) + if (B.JSString_methods.startsWith$2(path, "UNC\\", 4)) + path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_); + else { + path = B.JSString_methods.substring$1(path, 4); + t1 = path.length; + if (t1 >= 3) { + if (1 >= t1) + return A.ioore(path, 1); + if (path.charCodeAt(1) === 58) { + if (2 >= t1) + return A.ioore(path, 2); + t1 = path.charCodeAt(2) !== 92; + } else + t1 = true; + } else + t1 = true; + if (t1) + throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute")); + } + else + path = A.stringReplaceAllUnchecked(path, "/", _s1_); + t1 = path.length; + if (t1 > 1 && path.charCodeAt(1) === 58) { + if (0 >= t1) + return A.ioore(path, 0); + A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true); + if (t1 !== 2) { + if (2 >= t1) + return A.ioore(path, 2); + t1 = path.charCodeAt(2) !== 92; + } else + t1 = true; + if (t1) + throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute")); + pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1); + return A._Uri__Uri(_null, _null, pathSegments, _s4_); + } + if (B.JSString_methods.startsWith$1(path, _s1_)) + if (B.JSString_methods.startsWith$2(path, _s1_, 1)) { + pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2); + t1 = pathStart < 0; + hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart); + pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); + return A._Uri__Uri(hostPart, _null, pathSegments, _s4_); + } else { + pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); + return A._Uri__Uri(_null, _null, pathSegments, _s4_); + } + else { + pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); + A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0); + return A._Uri__Uri(_null, _null, pathSegments, _null); + } + }, + _Uri__makePort(port, scheme) { + if (port != null && port === A._Uri__defaultPort(scheme)) + return null; + return port; + }, + _Uri__makeHost(host, start, end, strictIPv6) { + var t1, t2, index, zoneIDstart, zoneID, i; + if (host == null) + return null; + if (start === end) + return ""; + t1 = host.length; + if (!(start >= 0 && start < t1)) + return A.ioore(host, start); + if (host.charCodeAt(start) === 91) { + t2 = end - 1; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(host, t2); + if (host.charCodeAt(t2) !== 93) + A._Uri__fail(host, start, "Missing end `]` to match `[` in host"); + t1 = start + 1; + index = A._Uri__checkZoneID(host, t1, t2); + if (index < t2) { + zoneIDstart = index + 1; + zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t2, "%25"); + } else + zoneID = ""; + A.Uri_parseIPv6Address(host, t1, index); + return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]"; + } + for (i = start; i < end; ++i) { + if (!(i < t1)) + return A.ioore(host, i); + if (host.charCodeAt(i) === 58) { + index = B.JSString_methods.indexOf$2(host, "%", start); + index = index >= start && index < end ? index : end; + if (index < end) { + zoneIDstart = index + 1; + zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25"); + } else + zoneID = ""; + A.Uri_parseIPv6Address(host, start, index); + return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]"; + } + } + return A._Uri__normalizeRegName(host, start, end); + }, + _Uri__checkZoneID(host, start, end) { + var index = B.JSString_methods.indexOf$2(host, "%", start); + return index >= start && index < end ? index : end; + }, + _Uri__normalizeZoneID(host, start, end, prefix) { + var t1, index, sectionStart, isNormalized, char, replacement, t2, t3, tail, sourceLength, slice, + buffer = prefix !== "" ? new A.StringBuffer(prefix) : null; + for (t1 = host.length, index = start, sectionStart = index, isNormalized = true; index < end;) { + if (!(index >= 0 && index < t1)) + return A.ioore(host, index); + char = host.charCodeAt(index); + if (char === 37) { + replacement = A._Uri__normalizeEscape(host, index, true); + t2 = replacement == null; + if (t2 && isNormalized) { + index += 3; + continue; + } + if (buffer == null) + buffer = new A.StringBuffer(""); + t3 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + if (t2) + replacement = B.JSString_methods.substring$2(host, index, index + 3); + else if (replacement === "%") + A._Uri__fail(host, index, "ZoneID should not contain % anymore"); + buffer._contents = t3 + replacement; + index += 3; + sectionStart = index; + isNormalized = true; + } else { + if (char < 127) { + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_M1A, t2); + t2 = (B.List_M1A[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + if (t2) { + if (isNormalized && 65 <= char && 90 >= char) { + if (buffer == null) + buffer = new A.StringBuffer(""); + if (sectionStart < index) { + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + sectionStart = index; + } + isNormalized = false; + } + ++index; + } else { + if ((char & 64512) === 55296 && index + 1 < end) { + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(host, t2); + tail = host.charCodeAt(t2); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + slice = B.JSString_methods.substring$2(host, sectionStart, index); + if (buffer == null) { + buffer = new A.StringBuffer(""); + t2 = buffer; + } else + t2 = buffer; + t2._contents += slice; + t2._contents += A._Uri__escapeChar(char); + index += sourceLength; + sectionStart = index; + } + } + } + if (buffer == null) + return B.JSString_methods.substring$2(host, start, end); + if (sectionStart < end) + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__normalizeRegName(host, start, end) { + var t1, index, sectionStart, buffer, isNormalized, char, replacement, t2, slice, t3, sourceLength, tail; + for (t1 = host.length, index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) { + if (!(index >= 0 && index < t1)) + return A.ioore(host, index); + char = host.charCodeAt(index); + if (char === 37) { + replacement = A._Uri__normalizeEscape(host, index, true); + t2 = replacement == null; + if (t2 && isNormalized) { + index += 3; + continue; + } + if (buffer == null) + buffer = new A.StringBuffer(""); + slice = B.JSString_methods.substring$2(host, sectionStart, index); + t3 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; + if (t2) { + replacement = B.JSString_methods.substring$2(host, index, index + 3); + sourceLength = 3; + } else if (replacement === "%") { + replacement = "%25"; + sourceLength = 1; + } else + sourceLength = 3; + buffer._contents = t3 + replacement; + index += sourceLength; + sectionStart = index; + isNormalized = true; + } else { + if (char < 127) { + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_ejq, t2); + t2 = (B.List_ejq[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + if (t2) { + if (isNormalized && 65 <= char && 90 >= char) { + if (buffer == null) + buffer = new A.StringBuffer(""); + if (sectionStart < index) { + buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + sectionStart = index; + } + isNormalized = false; + } + ++index; + } else { + if (char <= 93) { + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_YmH, t2); + t2 = (B.List_YmH[t2] & 1 << (char & 15)) !== 0; + } else + t2 = false; + if (t2) + A._Uri__fail(host, index, "Invalid character"); + else { + if ((char & 64512) === 55296 && index + 1 < end) { + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(host, t2); + tail = host.charCodeAt(t2); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + slice = B.JSString_methods.substring$2(host, sectionStart, index); + if (!isNormalized) + slice = slice.toLowerCase(); + if (buffer == null) { + buffer = new A.StringBuffer(""); + t2 = buffer; + } else + t2 = buffer; + t2._contents += slice; + t2._contents += A._Uri__escapeChar(char); + index += sourceLength; + sectionStart = index; + } + } + } + } + if (buffer == null) + return B.JSString_methods.substring$2(host, start, end); + if (sectionStart < end) { + slice = B.JSString_methods.substring$2(host, sectionStart, end); + buffer._contents += !isNormalized ? slice.toLowerCase() : slice; + } + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__makeScheme(scheme, start, end) { + var t1, i, containsUpperCase, codeUnit, t2; + if (start === end) + return ""; + t1 = scheme.length; + if (!(start < t1)) + return A.ioore(scheme, start); + if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start))) + A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); + for (i = start, containsUpperCase = false; i < end; ++i) { + if (!(i < t1)) + return A.ioore(scheme, i); + codeUnit = scheme.charCodeAt(i); + if (codeUnit < 128) { + t2 = codeUnit >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_MMm, t2); + t2 = (B.List_MMm[t2] & 1 << (codeUnit & 15)) !== 0; + } else + t2 = false; + if (!t2) + A._Uri__fail(scheme, i, "Illegal scheme character"); + if (65 <= codeUnit && codeUnit <= 90) + containsUpperCase = true; + } + scheme = B.JSString_methods.substring$2(scheme, start, end); + return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); + }, + _Uri__canonicalizeScheme(scheme) { + if (scheme === "http") + return "http"; + if (scheme === "file") + return "file"; + if (scheme === "https") + return "https"; + if (scheme === "package") + return "package"; + return scheme; + }, + _Uri__makeUserInfo(userInfo, start, end) { + if (userInfo == null) + return ""; + return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_OL3, false, false); + }, + _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { + var t1, result, + isFile = scheme === "file", + ensureLeadingSlash = isFile || hasAuthority; + if (path == null) { + if (pathSegments == null) + return isFile ? "/" : ""; + t1 = A._arrayInstanceType(pathSegments); + result = new A.MappedListIterable(pathSegments, t1._eval$1("String(1)")._as(new A._Uri__makePath_closure()), t1._eval$1("MappedListIterable<1,String>")).join$1(0, "/"); + } else if (pathSegments != null) + throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null)); + else + result = A._Uri__normalizeOrSubstring(path, start, end, B.List_XRg, true, true); + if (result.length === 0) { + if (isFile) + return "/"; + } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/")) + result = "/" + result; + return A._Uri__normalizePath(result, scheme, hasAuthority); + }, + _Uri__normalizePath(path, scheme, hasAuthority) { + var t1 = scheme.length === 0; + if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\")) + return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority); + return A._Uri__removeDotSegments(path); + }, + _Uri__makeQuery(query, start, end, queryParameters) { + if (query != null) + return A._Uri__normalizeOrSubstring(query, start, end, B.List_oFp, true, false); + return null; + }, + _Uri__makeFragment(fragment, start, end) { + if (fragment == null) + return null; + return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_oFp, true, false); + }, + _Uri__normalizeEscape(source, index, lowerCase) { + var t3, firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, + t1 = index + 2, + t2 = source.length; + if (t1 >= t2) + return "%"; + t3 = index + 1; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(source, t3); + firstDigit = source.charCodeAt(t3); + if (!(t1 >= 0)) + return A.ioore(source, t1); + secondDigit = source.charCodeAt(t1); + firstDigitValue = A.hexDigitValue(firstDigit); + secondDigitValue = A.hexDigitValue(secondDigit); + if (firstDigitValue < 0 || secondDigitValue < 0) + return "%"; + value = firstDigitValue * 16 + secondDigitValue; + if (value < 127) { + t1 = B.JSInt_methods._shrOtherPositive$1(value, 4); + if (!(t1 < 8)) + return A.ioore(B.List_M1A, t1); + t1 = (B.List_M1A[t1] & 1 << (value & 15)) !== 0; + } else + t1 = false; + if (t1) + return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); + if (firstDigit >= 97 || secondDigit >= 97) + return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); + return null; + }, + _Uri__escapeChar(char) { + var codeUnits, t1, flag, encodedBytes, index, byte, t2, t3, + _s16_ = "0123456789ABCDEF"; + if (char < 128) { + codeUnits = new Uint8Array(3); + codeUnits[0] = 37; + t1 = char >>> 4; + if (!(t1 < 16)) + return A.ioore(_s16_, t1); + codeUnits[1] = _s16_.charCodeAt(t1); + codeUnits[2] = _s16_.charCodeAt(char & 15); + } else { + if (char > 2047) + if (char > 65535) { + flag = 240; + encodedBytes = 4; + } else { + flag = 224; + encodedBytes = 3; + } + else { + flag = 192; + encodedBytes = 2; + } + t1 = 3 * encodedBytes; + codeUnits = new Uint8Array(t1); + for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) { + byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; + if (!(index < t1)) + return A.ioore(codeUnits, index); + codeUnits[index] = 37; + t2 = index + 1; + t3 = byte >>> 4; + if (!(t3 < 16)) + return A.ioore(_s16_, t3); + if (!(t2 < t1)) + return A.ioore(codeUnits, t2); + codeUnits[t2] = _s16_.charCodeAt(t3); + t3 = index + 2; + if (!(t3 < t1)) + return A.ioore(codeUnits, t3); + codeUnits[t3] = _s16_.charCodeAt(byte & 15); + index += 3; + } + } + return A.String_String$fromCharCodes(codeUnits, 0, null); + }, + _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) { + var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash); + return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1; + }, + _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) { + var t1, t2, index, sectionStart, buffer, char, t3, replacement, sourceLength, tail, t4, _null = null; + for (t1 = !escapeDelimiters, t2 = component.length, index = start, sectionStart = index, buffer = _null; index < end;) { + if (!(index >= 0 && index < t2)) + return A.ioore(component, index); + char = component.charCodeAt(index); + if (char < 127) { + t3 = char >>> 4; + if (!(t3 < 8)) + return A.ioore(charTable, t3); + t3 = (charTable[t3] & 1 << (char & 15)) !== 0; + } else + t3 = false; + if (t3) + ++index; + else { + if (char === 37) { + replacement = A._Uri__normalizeEscape(component, index, false); + if (replacement == null) { + index += 3; + continue; + } + if ("%" === replacement) { + replacement = "%25"; + sourceLength = 1; + } else + sourceLength = 3; + } else if (char === 92 && replaceBackslash) { + replacement = "/"; + sourceLength = 1; + } else { + if (t1) + if (char <= 93) { + t3 = char >>> 4; + if (!(t3 < 8)) + return A.ioore(B.List_YmH, t3); + t3 = (B.List_YmH[t3] & 1 << (char & 15)) !== 0; + } else + t3 = false; + else + t3 = false; + if (t3) { + A._Uri__fail(component, index, "Invalid character"); + sourceLength = _null; + replacement = sourceLength; + } else { + if ((char & 64512) === 55296) { + t3 = index + 1; + if (t3 < end) { + if (!(t3 < t2)) + return A.ioore(component, t3); + tail = component.charCodeAt(t3); + if ((tail & 64512) === 56320) { + char = (char & 1023) << 10 | tail & 1023 | 65536; + sourceLength = 2; + } else + sourceLength = 1; + } else + sourceLength = 1; + } else + sourceLength = 1; + replacement = A._Uri__escapeChar(char); + } + } + if (buffer == null) { + buffer = new A.StringBuffer(""); + t3 = buffer; + } else + t3 = buffer; + t4 = t3._contents += B.JSString_methods.substring$2(component, sectionStart, index); + t3._contents = t4 + A.S(replacement); + if (typeof sourceLength !== "number") + return A.iae(sourceLength); + index += sourceLength; + sectionStart = index; + } + } + if (buffer == null) + return _null; + if (sectionStart < end) + buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end); + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__mayContainDotSegments(path) { + if (B.JSString_methods.startsWith$1(path, ".")) + return true; + return B.JSString_methods.indexOf$1(path, "/.") !== -1; + }, + _Uri__removeDotSegments(path) { + var output, t1, t2, appendSlash, _i, segment, t3; + if (!A._Uri__mayContainDotSegments(path)) + return path; + output = A._setArrayType([], type$.JSArray_String); + for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { + segment = t1[_i]; + if (J.$eq$(segment, "..")) { + t3 = output.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(output, -1); + output.pop(); + if (output.length === 0) + B.JSArray_methods.add$1(output, ""); + } + appendSlash = true; + } else if ("." === segment) + appendSlash = true; + else { + B.JSArray_methods.add$1(output, segment); + appendSlash = false; + } + } + if (appendSlash) + B.JSArray_methods.add$1(output, ""); + return B.JSArray_methods.join$1(output, "/"); + }, + _Uri__normalizeRelativePath(path, allowScheme) { + var output, t1, t2, appendSlash, _i, segment; + if (!A._Uri__mayContainDotSegments(path)) + return !allowScheme ? A._Uri__escapeScheme(path) : path; + output = A._setArrayType([], type$.JSArray_String); + for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) { + segment = t1[_i]; + if (".." === segment) + if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") { + if (0 >= output.length) + return A.ioore(output, -1); + output.pop(); + appendSlash = true; + } else { + B.JSArray_methods.add$1(output, ".."); + appendSlash = false; + } + else if ("." === segment) + appendSlash = true; + else { + B.JSArray_methods.add$1(output, segment); + appendSlash = false; + } + } + t1 = output.length; + if (t1 !== 0) + if (t1 === 1) { + if (0 >= t1) + return A.ioore(output, 0); + t1 = output[0].length === 0; + } else + t1 = false; + else + t1 = true; + if (t1) + return "./"; + if (appendSlash || B.JSArray_methods.get$last(output) === "..") + B.JSArray_methods.add$1(output, ""); + if (!allowScheme) { + if (0 >= output.length) + return A.ioore(output, 0); + B.JSArray_methods.$indexSet(output, 0, A._Uri__escapeScheme(output[0])); + } + return B.JSArray_methods.join$1(output, "/"); + }, + _Uri__escapeScheme(path) { + var i, char, t2, + t1 = path.length; + if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0))) + for (i = 1; i < t1; ++i) { + char = path.charCodeAt(i); + if (char === 58) + return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1); + if (char <= 127) { + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_MMm, t2); + t2 = (B.List_MMm[t2] & 1 << (char & 15)) === 0; + } else + t2 = true; + if (t2) + break; + } + return path; + }, + _Uri__packageNameEnd(uri, path) { + if (uri.isScheme$1("package") && uri._host == null) + return A._skipPackageNameChars(path, 0, path.length); + return -1; + }, + _Uri__toWindowsFilePath(uri) { + var hasDriveLetter, t2, host, + segments = uri.get$pathSegments(), + t1 = segments.length; + if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) { + if (0 >= t1) + return A.ioore(segments, 0); + A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false); + A._Uri__checkWindowsPathReservedCharacters(segments, false, 1); + hasDriveLetter = true; + } else { + A._Uri__checkWindowsPathReservedCharacters(segments, false, 0); + hasDriveLetter = false; + } + t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : ""; + if (uri.get$hasAuthority()) { + host = uri.get$host(uri); + if (host.length !== 0) + t2 = t2 + "\\" + host + "\\"; + } + t2 = A.StringBuffer__writeAll(t2, segments, "\\"); + t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _Uri__hexCharPairToByte(s, pos) { + var t1, byte, i, t2, charCode; + for (t1 = s.length, byte = 0, i = 0; i < 2; ++i) { + t2 = pos + i; + if (!(t2 < t1)) + return A.ioore(s, t2); + charCode = s.charCodeAt(t2); + if (48 <= charCode && charCode <= 57) + byte = byte * 16 + charCode - 48; + else { + charCode |= 32; + if (97 <= charCode && charCode <= 102) + byte = byte * 16 + charCode - 87; + else + throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null)); + } + } + return byte; + }, + _Uri__uriDecode(text, start, end, encoding, plusToSpace) { + var simple, codeUnit, t2, bytes, + t1 = text.length, + i = start; + while (true) { + if (!(i < end)) { + simple = true; + break; + } + if (!(i < t1)) + return A.ioore(text, i); + codeUnit = text.charCodeAt(i); + if (codeUnit <= 127) + if (codeUnit !== 37) + t2 = plusToSpace && codeUnit === 43; + else + t2 = true; + else + t2 = true; + if (t2) { + simple = false; + break; + } + ++i; + } + if (simple) { + if (B.C_Utf8Codec !== encoding) + t1 = false; + else + t1 = true; + if (t1) + return B.JSString_methods.substring$2(text, start, end); + else + bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end)); + } else { + bytes = A._setArrayType([], type$.JSArray_int); + for (i = start; i < end; ++i) { + if (!(i < t1)) + return A.ioore(text, i); + codeUnit = text.charCodeAt(i); + if (codeUnit > 127) + throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null)); + if (codeUnit === 37) { + if (i + 3 > t1) + throw A.wrapException(A.ArgumentError$("Truncated URI", null)); + B.JSArray_methods.add$1(bytes, A._Uri__hexCharPairToByte(text, i + 1)); + i += 2; + } else if (plusToSpace && codeUnit === 43) + B.JSArray_methods.add$1(bytes, 32); + else + B.JSArray_methods.add$1(bytes, codeUnit); + } + } + type$.List_int._as(bytes); + return B.Utf8Decoder_false.convert$1(bytes); + }, + _Uri__isAlphabeticCharacter(codeUnit) { + var lowerCase = codeUnit | 32; + return 97 <= lowerCase && lowerCase <= 122; + }, + UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) { + var slashIndex, t1; + if (true) + buffer._contents = buffer._contents; + else { + slashIndex = A.UriData__validateMimeType(""); + if (slashIndex < 0) + throw A.wrapException(A.ArgumentError$value("", "mimeType", "Invalid MIME type")); + t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$2("", 0, slashIndex), B.C_Utf8Codec, false); + buffer._contents = t1 + "/"; + buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$1("", slashIndex + 1), B.C_Utf8Codec, false); + } + }, + UriData__validateMimeType(mimeType) { + var t1, slashIndex, i; + for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) { + if (mimeType.charCodeAt(i) !== 47) + continue; + if (slashIndex < 0) { + slashIndex = i; + continue; + } + return -1; + } + return slashIndex; + }, + UriData__parse(text, start, sourceUri) { + var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data, + _s17_ = "Invalid MIME type", + indices = A._setArrayType([start - 1], type$.JSArray_int); + for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) { + char = text.charCodeAt(i); + if (char === 44 || char === 59) + break; + if (char === 47) { + if (slashIndex < 0) { + slashIndex = i; + continue; + } + throw A.wrapException(A.FormatException$(_s17_, text, i)); + } + } + if (slashIndex < 0 && i > start) + throw A.wrapException(A.FormatException$(_s17_, text, i)); + for (; char !== 44;) { + B.JSArray_methods.add$1(indices, i); + ++i; + for (equalsIndex = -1; i < t1; ++i) { + if (!(i >= 0)) + return A.ioore(text, i); + char = text.charCodeAt(i); + if (char === 61) { + if (equalsIndex < 0) + equalsIndex = i; + } else if (char === 59 || char === 44) + break; + } + if (equalsIndex >= 0) + B.JSArray_methods.add$1(indices, equalsIndex); + else { + lastSeparator = B.JSArray_methods.get$last(indices); + if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) + throw A.wrapException(A.FormatException$("Expecting '='", text, i)); + break; + } + } + B.JSArray_methods.add$1(indices, i); + t2 = i + 1; + if ((indices.length & 1) === 1) + text = B.C_Base64Codec.normalize$3(0, text, t2, t1); + else { + data = A._Uri__normalize(text, t2, t1, B.List_oFp, true, false); + if (data != null) + text = B.JSString_methods.replaceRange$3(text, t2, t1, data); + } + return new A.UriData(text, indices, sourceUri); + }, + UriData__uriEncodeBytes(canonicalTable, bytes, buffer) { + var t1, byteOr, i, byte, t2, + _s16_ = "0123456789ABCDEF"; + for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) { + byte = bytes[i]; + byteOr |= byte; + if (byte < 128) { + t2 = byte >>> 4; + if (!(t2 < 8)) + return A.ioore(canonicalTable, t2); + t2 = (canonicalTable[t2] & 1 << (byte & 15)) !== 0; + } else + t2 = false; + if (t2) + buffer._contents += A.Primitives_stringFromCharCode(byte); + else { + buffer._contents += A.Primitives_stringFromCharCode(37); + t2 = byte >>> 4; + if (!(t2 < 16)) + return A.ioore(_s16_, t2); + buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(t2)); + buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15)); + } + } + if ((byteOr & 4294967040) !== 0) + for (i = 0; i < t1; ++i) { + byte = bytes[i]; + if (byte > 255) + throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null)); + } + }, + _createTables() { + var _i, t1, t2, t3, b, + _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", + _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\", + tables = A._setArrayType(new Array(22), type$.JSArray_Uint8List); + for (_i = 0; _i < 22; ++_i) + tables[_i] = new Uint8Array(96); + t1 = new A._createTables_build(tables); + t2 = new A._createTables_setChars(); + t3 = new A._createTables_setRange(); + b = t1.call$2(0, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_, 14); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 3); + t2.call$3(b, _s1_2, 227); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(14, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_, 15); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(15, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, "%", 225); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 9); + t2.call$3(b, _s1_2, 233); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(1, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 10); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(2, 235); + t2.call$3(b, _s77_, 139); + t2.call$3(b, _s1_1, 131); + t2.call$3(b, _s1_2, 131); + t2.call$3(b, _s1_, 146); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(3, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 68); + t2.call$3(b, _s1_2, 68); + t2.call$3(b, _s1_, 18); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(4, 229); + t2.call$3(b, _s77_, 5); + t3.call$3(b, "AZ", 229); + t2.call$3(b, _s1_0, 102); + t2.call$3(b, "@", 68); + t2.call$3(b, "[", 232); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(5, 229); + t2.call$3(b, _s77_, 5); + t3.call$3(b, "AZ", 229); + t2.call$3(b, _s1_0, 102); + t2.call$3(b, "@", 68); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(6, 231); + t3.call$3(b, "19", 7); + t2.call$3(b, "@", 68); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(7, 231); + t3.call$3(b, "09", 7); + t2.call$3(b, "@", 68); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + t2.call$3(t1.call$2(8, 8), "]", 5); + b = t1.call$2(9, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 16); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(16, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 17); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(17, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 9); + t2.call$3(b, _s1_2, 233); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(10, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 18); + t2.call$3(b, _s1_1, 10); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(18, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 19); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(19, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(11, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_1, 10); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(12, 236); + t2.call$3(b, _s77_, 12); + t2.call$3(b, _s1_3, 12); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(13, 237); + t2.call$3(b, _s77_, 13); + t2.call$3(b, _s1_3, 13); + t3.call$3(t1.call$2(20, 245), "az", 21); + b = t1.call$2(21, 245); + t3.call$3(b, "az", 21); + t3.call$3(b, "09", 21); + t2.call$3(b, "+-.", 21); + return tables; + }, + _scan(uri, start, end, state, indices) { + var t1, i, table, char, transition, + tables = $.$get$_scannerTables(); + for (t1 = uri.length, i = start; i < end; ++i) { + if (!(state >= 0 && state < tables.length)) + return A.ioore(tables, state); + table = tables[state]; + if (!(i < t1)) + return A.ioore(uri, i); + char = uri.charCodeAt(i) ^ 96; + transition = table[char > 95 ? 31 : char]; + state = transition & 31; + B.JSArray_methods.$indexSet(indices, transition >>> 5, i); + } + return state; + }, + _SimpleUri__packageNameEnd(uri) { + if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0) + return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart); + return -1; + }, + _skipPackageNameChars(source, start, end) { + var t1, i, dots, char; + for (t1 = source.length, i = start, dots = 0; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(source, i); + char = source.charCodeAt(i); + if (char === 47) + return dots !== 0 ? i : -1; + if (char === 37 || char === 58) + return -1; + dots |= char ^ 46; + } + return -1; + }, + _caseInsensitiveCompareStart(prefix, string, start) { + var t1, t2, result, i, t3, stringChar, delta, lowerChar; + for (t1 = prefix.length, t2 = string.length, result = 0, i = 0; i < t1; ++i) { + t3 = start + i; + if (!(t3 < t2)) + return A.ioore(string, t3); + stringChar = string.charCodeAt(t3); + delta = prefix.charCodeAt(i) ^ stringChar; + if (delta !== 0) { + if (delta === 32) { + lowerChar = stringChar | delta; + if (97 <= lowerChar && lowerChar <= 122) { + result = 32; + continue; + } + } + return -1; + } + } + return result; + }, + NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { + this._box_0 = t0; + this.sb = t1; + }, + DateTime: function DateTime(t0, t1) { + this._core$_value = t0; + this.isUtc = t1; + }, + Duration: function Duration(t0) { + this._duration = t0; + }, + Error: function Error() { + }, + AssertionError: function AssertionError(t0) { + this.message = t0; + }, + TypeError: function TypeError() { + }, + ArgumentError: function ArgumentError(t0, t1, t2, t3) { + var _ = this; + _._hasValue = t0; + _.invalidValue = t1; + _.name = t2; + _.message = t3; + }, + RangeError: function RangeError(t0, t1, t2, t3, t4, t5) { + var _ = this; + _.start = t0; + _.end = t1; + _._hasValue = t2; + _.invalidValue = t3; + _.name = t4; + _.message = t5; + }, + IndexError: function IndexError(t0, t1, t2, t3, t4) { + var _ = this; + _.length = t0; + _._hasValue = t1; + _.invalidValue = t2; + _.name = t3; + _.message = t4; + }, + NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) { + var _ = this; + _._core$_receiver = t0; + _._core$_memberName = t1; + _._core$_arguments = t2; + _._namedArguments = t3; + }, + UnsupportedError: function UnsupportedError(t0) { + this.message = t0; + }, + UnimplementedError: function UnimplementedError(t0) { + this.message = t0; + }, + StateError: function StateError(t0) { + this.message = t0; + }, + ConcurrentModificationError: function ConcurrentModificationError(t0) { + this.modifiedObject = t0; + }, + OutOfMemoryError: function OutOfMemoryError() { + }, + StackOverflowError: function StackOverflowError() { + }, + _Exception: function _Exception(t0) { + this.message = t0; + }, + FormatException: function FormatException(t0, t1, t2) { + this.message = t0; + this.source = t1; + this.offset = t2; + }, + Iterable: function Iterable() { + }, + Null: function Null() { + }, + Object: function Object() { + }, + _StringStackTrace: function _StringStackTrace(t0) { + this._stackTrace = t0; + }, + StringBuffer: function StringBuffer(t0) { + this._contents = t0; + }, + Uri_splitQueryString_closure: function Uri_splitQueryString_closure(t0) { + this.encoding = t0; + }, + Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) { + this.host = t0; + }, + Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) { + this.host = t0; + }, + Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) { + this.error = t0; + this.host = t1; + }, + _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.scheme = t0; + _._userInfo = t1; + _._host = t2; + _._port = t3; + _.path = t4; + _._query = t5; + _._fragment = t6; + _.___Uri_queryParameters_FI = _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; + }, + _Uri__makePath_closure: function _Uri__makePath_closure() { + }, + UriData: function UriData(t0, t1, t2) { + this._text = t0; + this._separatorIndices = t1; + this._uriCache = t2; + }, + _createTables_build: function _createTables_build(t0) { + this.tables = t0; + }, + _createTables_setChars: function _createTables_setChars() { + }, + _createTables_setRange: function _createTables_setRange() { + }, + _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) { + var _ = this; + _._uri = t0; + _._schemeEnd = t1; + _._hostStart = t2; + _._portStart = t3; + _._pathStart = t4; + _._queryStart = t5; + _._fragmentStart = t6; + _._schemeCache = t7; + _._hashCodeCache = null; + }, + _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) { + var _ = this; + _.scheme = t0; + _._userInfo = t1; + _._host = t2; + _._port = t3; + _.path = t4; + _._query = t5; + _._fragment = t6; + _.___Uri_queryParameters_FI = _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; + }, + HtmlElement: function HtmlElement() { + }, + AccessibleNodeList: function AccessibleNodeList() { + }, + AnchorElement: function AnchorElement() { + }, + AreaElement: function AreaElement() { + }, + Blob: function Blob() { + }, + CharacterData: function CharacterData() { + }, + CssPerspective: function CssPerspective() { + }, + CssRule: function CssRule() { + }, + CssStyleDeclaration: function CssStyleDeclaration() { + }, + CssStyleDeclarationBase: function CssStyleDeclarationBase() { + }, + CssStyleValue: function CssStyleValue() { + }, + CssTransformComponent: function CssTransformComponent() { + }, + CssTransformValue: function CssTransformValue() { + }, + CssUnparsedValue: function CssUnparsedValue() { + }, + DataTransferItemList: function DataTransferItemList() { + }, + DomException: function DomException() { + }, + DomRectList: function DomRectList() { + }, + DomRectReadOnly: function DomRectReadOnly() { + }, + DomStringList: function DomStringList() { + }, + DomTokenList: function DomTokenList() { + }, + Element: function Element() { + }, + EventTarget: function EventTarget() { + }, + File: function File() { + }, + FileList: function FileList() { + }, + FileWriter: function FileWriter() { + }, + FormElement: function FormElement() { + }, + Gamepad: function Gamepad() { + }, + History: function History() { + }, + HtmlCollection: function HtmlCollection() { + }, + Location: function Location() { + }, + MediaList: function MediaList() { + }, + MidiInputMap: function MidiInputMap() { + }, + MidiInputMap_keys_closure: function MidiInputMap_keys_closure(t0) { + this.keys = t0; + }, + MidiOutputMap: function MidiOutputMap() { + }, + MidiOutputMap_keys_closure: function MidiOutputMap_keys_closure(t0) { + this.keys = t0; + }, + MimeType: function MimeType() { + }, + MimeTypeArray: function MimeTypeArray() { + }, + Node: function Node() { + }, + NodeList: function NodeList() { + }, + Plugin: function Plugin() { + }, + PluginArray: function PluginArray() { + }, + RtcStatsReport: function RtcStatsReport() { + }, + RtcStatsReport_keys_closure: function RtcStatsReport_keys_closure(t0) { + this.keys = t0; + }, + SelectElement: function SelectElement() { + }, + SourceBuffer: function SourceBuffer() { + }, + SourceBufferList: function SourceBufferList() { + }, + SpeechGrammar: function SpeechGrammar() { + }, + SpeechGrammarList: function SpeechGrammarList() { + }, + SpeechRecognitionResult: function SpeechRecognitionResult() { + }, + Storage: function Storage() { + }, + Storage_keys_closure: function Storage_keys_closure(t0) { + this.keys = t0; + }, + StyleSheet: function StyleSheet() { + }, + TextTrack: function TextTrack() { + }, + TextTrackCue: function TextTrackCue() { + }, + TextTrackCueList: function TextTrackCueList() { + }, + TextTrackList: function TextTrackList() { + }, + TimeRanges: function TimeRanges() { + }, + Touch: function Touch() { + }, + TouchList: function TouchList() { + }, + TrackDefaultList: function TrackDefaultList() { + }, + Url: function Url() { + }, + VideoTrackList: function VideoTrackList() { + }, + _CssRuleList: function _CssRuleList() { + }, + _DomRect: function _DomRect() { + }, + _GamepadList: function _GamepadList() { + }, + _NamedNodeMap: function _NamedNodeMap() { + }, + _SpeechRecognitionResultList: function _SpeechRecognitionResultList() { + }, + _StyleSheetList: function _StyleSheetList() { + }, + ImmutableListMixin: function ImmutableListMixin() { + }, + FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { + var _ = this; + _._array = t0; + _._html$_length = t1; + _._position = -1; + _._html$_current = null; + _.$ti = t2; + }, + _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase: function _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase() { + }, + _DomRectList_JavaScriptObject_ListMixin: function _DomRectList_JavaScriptObject_ListMixin() { + }, + _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _DomStringList_JavaScriptObject_ListMixin: function _DomStringList_JavaScriptObject_ListMixin() { + }, + _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _FileList_JavaScriptObject_ListMixin: function _FileList_JavaScriptObject_ListMixin() { + }, + _FileList_JavaScriptObject_ListMixin_ImmutableListMixin: function _FileList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _HtmlCollection_JavaScriptObject_ListMixin: function _HtmlCollection_JavaScriptObject_ListMixin() { + }, + _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin: function _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _MidiInputMap_JavaScriptObject_MapMixin: function _MidiInputMap_JavaScriptObject_MapMixin() { + }, + _MidiOutputMap_JavaScriptObject_MapMixin: function _MidiOutputMap_JavaScriptObject_MapMixin() { + }, + _MimeTypeArray_JavaScriptObject_ListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin() { + }, + _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _NodeList_JavaScriptObject_ListMixin: function _NodeList_JavaScriptObject_ListMixin() { + }, + _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _PluginArray_JavaScriptObject_ListMixin: function _PluginArray_JavaScriptObject_ListMixin() { + }, + _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _RtcStatsReport_JavaScriptObject_MapMixin: function _RtcStatsReport_JavaScriptObject_MapMixin() { + }, + _SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() { + }, + _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() { + }, + _SpeechGrammarList_JavaScriptObject_ListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin() { + }, + _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _Storage_JavaScriptObject_MapMixin: function _Storage_JavaScriptObject_MapMixin() { + }, + _TextTrackCueList_JavaScriptObject_ListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin() { + }, + _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() { + }, + _TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() { + }, + _TouchList_JavaScriptObject_ListMixin: function _TouchList_JavaScriptObject_ListMixin() { + }, + _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __CssRuleList_JavaScriptObject_ListMixin: function __CssRuleList_JavaScriptObject_ListMixin() { + }, + __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin: function __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __GamepadList_JavaScriptObject_ListMixin: function __GamepadList_JavaScriptObject_ListMixin() { + }, + __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin: function __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __NamedNodeMap_JavaScriptObject_ListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin() { + }, + __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __SpeechRecognitionResultList_JavaScriptObject_ListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin() { + }, + __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + __StyleSheetList_JavaScriptObject_ListMixin: function __StyleSheetList_JavaScriptObject_ListMixin() { + }, + __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin: function __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _convertDartFunctionFast(f) { + var ret, + existing = f.$dart_jsFunction; + if (existing != null) + return existing; + ret = function(_call, f) { + return function() { + return _call(f, Array.prototype.slice.apply(arguments)); + }; + }(A._callDartFunctionFast, f); + ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; + f.$dart_jsFunction = ret; + return ret; + }, + _callDartFunctionFast(callback, $arguments) { + type$.List_dynamic._as($arguments); + type$.Function._as(callback); + return A.Primitives_applyFunction(callback, $arguments, null); + }, + allowInterop(f, $F) { + if (typeof f == "function") + return f; + else + return $F._as(A._convertDartFunctionFast(f)); + }, + _noJsifyRequired(o) { + return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o); + }, + jsify(object) { + if (A._noJsifyRequired(object)) + return object; + return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object); + }, + getProperty(o, $name, $T) { + return $T._as(o[$name]); + }, + callMethod(o, method, args, $T) { + return $T._as(o[method].apply(o, args)); + }, + callConstructor(constr, $arguments, $T) { + var args, factoryFunction; + if ($arguments instanceof Array) + switch ($arguments.length) { + case 0: + return $T._as(new constr()); + case 1: + return $T._as(new constr($arguments[0])); + case 2: + return $T._as(new constr($arguments[0], $arguments[1])); + case 3: + return $T._as(new constr($arguments[0], $arguments[1], $arguments[2])); + case 4: + return $T._as(new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3])); + } + args = [null]; + B.JSArray_methods.addAll$1(args, $arguments); + factoryFunction = constr.bind.apply(constr, args); + String(factoryFunction); + return $T._as(new factoryFunction()); + }, + promiseToFuture(jsPromise, $T) { + var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), + completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); + jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer, $T), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1)); + return t1; + }, + _noDartifyRequired(o) { + return o == null || typeof o === "boolean" || typeof o === "number" || typeof o === "string" || o instanceof Int8Array || o instanceof Uint8Array || o instanceof Uint8ClampedArray || o instanceof Int16Array || o instanceof Uint16Array || o instanceof Int32Array || o instanceof Uint32Array || o instanceof Float32Array || o instanceof Float64Array || o instanceof ArrayBuffer || o instanceof DataView; + }, + dartify(o) { + if (A._noDartifyRequired(o)) + return o; + return new A.dartify_convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(o); + }, + jsify__convert: function jsify__convert(t0) { + this._convertedObjects = t0; + }, + promiseToFuture_closure: function promiseToFuture_closure(t0, t1) { + this.completer = t0; + this.T = t1; + }, + promiseToFuture_closure0: function promiseToFuture_closure0(t0) { + this.completer = t0; + }, + dartify_convert: function dartify_convert(t0) { + this._convertedObjects = t0; + }, + NullRejectionException: function NullRejectionException(t0) { + this.isUndefined = t0; + }, + Length: function Length() { + }, + LengthList: function LengthList() { + }, + Number: function Number() { + }, + NumberList: function NumberList() { + }, + PointList: function PointList() { + }, + StringList: function StringList() { + }, + Transform: function Transform() { + }, + TransformList: function TransformList() { + }, + _LengthList_JavaScriptObject_ListMixin: function _LengthList_JavaScriptObject_ListMixin() { + }, + _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin: function _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _NumberList_JavaScriptObject_ListMixin: function _NumberList_JavaScriptObject_ListMixin() { + }, + _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _StringList_JavaScriptObject_ListMixin: function _StringList_JavaScriptObject_ListMixin() { + }, + _StringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _StringList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + _TransformList_JavaScriptObject_ListMixin: function _TransformList_JavaScriptObject_ListMixin() { + }, + _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin() { + }, + AudioBuffer: function AudioBuffer() { + }, + AudioParamMap: function AudioParamMap() { + }, + AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) { + this.keys = t0; + }, + AudioTrackList: function AudioTrackList() { + }, + BaseAudioContext: function BaseAudioContext() { + }, + OfflineAudioContext: function OfflineAudioContext() { + }, + _AudioParamMap_JavaScriptObject_MapMixin: function _AudioParamMap_JavaScriptObject_MapMixin() { + }, + NullStreamSink: function NullStreamSink(t0, t1) { + var _ = this; + _.done = t0; + _._addingStream = _._null_stream_sink$_closed = false; + _.$ti = t1; + }, + NullStreamSink_addStream_closure: function NullStreamSink_addStream_closure(t0) { + this.$this = t0; + }, + Context_Context(style) { + return new A.Context(style, "."); + }, + _parseUri(uri) { + return uri; + }, + _validateArgList(method, args) { + var numArgs, i, numArgs0, message, t1, t2, t3, t4; + for (numArgs = args.length, i = 1; i < numArgs; ++i) { + if (args[i] == null || args[i - 1] != null) + continue; + for (; numArgs >= 1; numArgs = numArgs0) { + numArgs0 = numArgs - 1; + if (args[numArgs0] != null) + break; + } + message = new A.StringBuffer(""); + t1 = "" + (method + "("); + message._contents = t1; + t2 = A._arrayInstanceType(args); + t3 = t2._eval$1("SubListIterable<1>"); + t4 = new A.SubListIterable(args, 0, numArgs, t3); + t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1); + t3 = t1 + new A.MappedListIterable(t4, t3._eval$1("String(ListIterable.E)")._as(new A._validateArgList_closure()), t3._eval$1("MappedListIterable")).join$1(0, ", "); + message._contents = t3; + message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); + throw A.wrapException(A.ArgumentError$(message.toString$0(0), null)); + } + }, + Context: function Context(t0, t1) { + this.style = t0; + this._context$_current = t1; + }, + Context_joinAll_closure: function Context_joinAll_closure() { + }, + Context_split_closure: function Context_split_closure() { + }, + _validateArgList_closure: function _validateArgList_closure() { + }, + InternalStyle: function InternalStyle() { + }, + ParsedPath_ParsedPath$parse(path, style) { + var t1, parts, separators, t2, start, i, + root = style.getRoot$1(path); + style.isRootRelative$1(path); + if (root != null) + path = B.JSString_methods.substring$1(path, root.length); + t1 = type$.JSArray_String; + parts = A._setArrayType([], t1); + separators = A._setArrayType([], t1); + t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t2 = style.isSeparator$1(path.charCodeAt(0)); + } else + t2 = false; + if (t2) { + if (0 >= t1) + return A.ioore(path, 0); + B.JSArray_methods.add$1(separators, path[0]); + start = 1; + } else { + B.JSArray_methods.add$1(separators, ""); + start = 0; + } + for (i = start; i < t1; ++i) + if (style.isSeparator$1(path.charCodeAt(i))) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(path, start, i)); + B.JSArray_methods.add$1(separators, path[i]); + start = i + 1; + } + if (start < t1) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$1(path, start)); + B.JSArray_methods.add$1(separators, ""); + } + return new A.ParsedPath(style, root, parts, separators); + }, + ParsedPath: function ParsedPath(t0, t1, t2, t3) { + var _ = this; + _.style = t0; + _.root = t1; + _.parts = t2; + _.separators = t3; + }, + PathException$(message) { + return new A.PathException(message); + }, + PathException: function PathException(t0) { + this.message = t0; + }, + Style__getPlatformStyle() { + if (A.Uri_base().get$scheme() !== "file") + return $.$get$Style_url(); + var t1 = A.Uri_base(); + if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/")) + return $.$get$Style_url(); + if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b") + return $.$get$Style_windows(); + return $.$get$Style_posix(); + }, + Style: function Style() { + }, + PosixStyle: function PosixStyle(t0, t1, t2) { + this.separatorPattern = t0; + this.needsSeparatorPattern = t1; + this.rootPattern = t2; + }, + UrlStyle: function UrlStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; + }, + WindowsStyle: function WindowsStyle(t0, t1, t2, t3) { + var _ = this; + _.separatorPattern = t0; + _.needsSeparatorPattern = t1; + _.rootPattern = t2; + _.relativeRootPattern = t3; + }, + WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() { + }, + Chain_Chain$parse(chain) { + var t1, t2, + _s51_ = string$.x3d_____; + if (chain.length === 0) + return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace)); + t1 = $.$get$vmChainGap(); + if (B.JSString_methods.contains$1(chain, t1)) { + t1 = B.JSString_methods.split$1(chain, t1); + t2 = A._arrayInstanceType(t1); + return new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Chain_Chain$parse_closure()), t2._eval$1("WhereIterable<1>")), t2._eval$1("Trace(1)")._as(A.trace_Trace___parseVM_tearOff$closure()), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace)); + } + if (!B.JSString_methods.contains$1(chain, _s51_)) + return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace)); + return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), type$.Trace_Function_String._as(A.trace_Trace___parseFriendly_tearOff$closure()), type$.MappedListIterable_String_Trace), type$.Trace)); + }, + Chain: function Chain(t0) { + this.traces = t0; + }, + Chain_Chain$parse_closure: function Chain_Chain$parse_closure() { + }, + Chain_toTrace_closure: function Chain_toTrace_closure() { + }, + Chain_toString_closure0: function Chain_toString_closure0() { + }, + Chain_toString__closure0: function Chain_toString__closure0() { + }, + Chain_toString_closure: function Chain_toString_closure(t0) { + this.longest = t0; + }, + Chain_toString__closure: function Chain_toString__closure(t0) { + this.longest = t0; + }, + Frame___parseVM_tearOff(frame) { + return A.Frame_Frame$parseVM(A._asString(frame)); + }, + Frame_Frame$parseVM(frame) { + return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame)); + }, + Frame___parseV8_tearOff(frame) { + return A.Frame_Frame$parseV8(A._asString(frame)); + }, + Frame_Frame$parseV8(frame) { + return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame)); + }, + Frame_Frame$_parseFirefoxEval(frame) { + return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame)); + }, + Frame___parseFirefox_tearOff(frame) { + return A.Frame_Frame$parseFirefox(A._asString(frame)); + }, + Frame_Frame$parseFirefox(frame) { + return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame)); + }, + Frame___parseFriendly_tearOff(frame) { + return A.Frame_Frame$parseFriendly(A._asString(frame)); + }, + Frame_Frame$parseFriendly(frame) { + return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame)); + }, + Frame__uriOrPathToUri(uriOrPath) { + if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp())) + return A.Uri_parse(uriOrPath); + else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp())) + return A._Uri__Uri$file(uriOrPath, true); + else if (B.JSString_methods.startsWith$1(uriOrPath, "/")) + return A._Uri__Uri$file(uriOrPath, false); + if (B.JSString_methods.contains$1(uriOrPath, "\\")) + return $.$get$windows().toUri$1(uriOrPath); + return A.Uri_parse(uriOrPath); + }, + Frame__catchFormatException(text, body) { + var t1, exception; + try { + t1 = body.call$0(); + return t1; + } catch (exception) { + if (A.unwrapException(exception) instanceof A.FormatException) + return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text); + else + throw exception; + } + }, + Frame: function Frame(t0, t1, t2, t3) { + var _ = this; + _.uri = t0; + _.line = t1; + _.column = t2; + _.member = t3; + }, + Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) { + this.frame = t0; + }, + Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) { + this.frame = t0; + }, + Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) { + this.frame = t0; + }, + Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) { + this.frame = t0; + }, + Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) { + this.frame = t0; + }, + Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) { + this.frame = t0; + }, + LazyTrace: function LazyTrace(t0) { + this._thunk = t0; + this.__LazyTrace__trace_FI = $; + }, + LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) { + this.$this = t0; + }, + Trace_Trace$from(trace) { + if (type$.Trace._is(trace)) + return trace; + if (trace instanceof A.Chain) + return trace.toTrace$0(); + return new A.LazyTrace(new A.Trace_Trace$from_closure(trace)); + }, + Trace_Trace$parse(trace) { + var error, t1, exception; + try { + if (trace.length === 0) { + t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null); + return t1; + } + if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) { + t1 = A.Trace$parseV8(trace); + return t1; + } + if (B.JSString_methods.contains$1(trace, "\tat ")) { + t1 = A.Trace$parseJSCore(trace); + return t1; + } + if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) { + t1 = A.Trace$parseFirefox(trace); + return t1; + } + if (B.JSString_methods.contains$1(trace, string$.x3d_____)) { + t1 = A.Chain_Chain$parse(trace).toTrace$0(); + return t1; + } + if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) { + t1 = A.Trace$parseFriendly(trace); + return t1; + } + t1 = A.Trace$parseVM(trace); + return t1; + } catch (exception) { + t1 = A.unwrapException(exception); + if (t1 instanceof A.FormatException) { + error = t1; + throw A.wrapException(A.FormatException$(error.message + "\nStack trace:\n" + trace, null, null)); + } else + throw exception; + } + }, + Trace___parseVM_tearOff(trace) { + return A.Trace$parseVM(A._asString(trace)); + }, + Trace$parseVM(trace) { + var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace__parseVM(trace) { + var $frames, + t1 = B.JSString_methods.trim$0(trace), + t2 = $.$get$vmChainGap(), + t3 = type$.WhereIterable_String, + lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace__parseVM_closure()), t3); + if (!lines.get$iterator(lines).moveNext$0()) + return A._setArrayType([], type$.JSArray_Frame); + t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E")); + t2 = A._instanceType(t1); + t2 = A.MappedIterable_MappedIterable(t1, t2._eval$1("Frame(Iterable.E)")._as(A.frame_Frame___parseVM_tearOff$closure()), t2._eval$1("Iterable.E"), type$.Frame); + $frames = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); + if (!J.endsWith$1$s(lines.get$last(lines), ".da")) + B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines))); + return $frames; + }, + Trace$parseV8(trace) { + var t2, t3, + t1 = A.SubListIterable$(A._setArrayType(trace.split("\n"), type$.JSArray_String), 1, null, type$.String); + t1 = t1.super$Iterable$skipWhile(0, t1.$ti._eval$1("bool(ListIterable.E)")._as(new A.Trace$parseV8_closure())); + t2 = type$.Frame; + t3 = t1.$ti; + t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, t3._eval$1("Frame(Iterable.E)")._as(A.frame_Frame___parseV8_tearOff$closure()), t3._eval$1("Iterable.E"), t2), t2); + return new A.Trace(t2, new A._StringStackTrace(trace)); + }, + Trace$parseJSCore(trace) { + var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(trace.split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace$parseJSCore_closure()), type$.WhereIterable_String), type$.Frame_Function_String._as(A.frame_Frame___parseV8_tearOff$closure()), type$.MappedIterable_String_Frame), type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace$parseFirefox(trace) { + var t1 = A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace$parseFirefox_closure()), type$.WhereIterable_String), type$.Frame_Function_String._as(A.frame_Frame___parseFirefox_tearOff$closure()), type$.MappedIterable_String_Frame), type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace___parseFriendly_tearOff(trace) { + return A.Trace$parseFriendly(A._asString(trace)); + }, + Trace$parseFriendly(trace) { + var t1 = trace.length === 0 ? A._setArrayType([], type$.JSArray_Frame) : new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(trace).split("\n"), type$.JSArray_String), type$.bool_Function_String._as(new A.Trace$parseFriendly_closure()), type$.WhereIterable_String), type$.Frame_Function_String._as(A.frame_Frame___parseFriendly_tearOff$closure()), type$.MappedIterable_String_Frame); + t1 = A.List_List$unmodifiable(t1, type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(trace)); + }, + Trace$($frames, original) { + var t1 = A.List_List$unmodifiable($frames, type$.Frame); + return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original)); + }, + Trace: function Trace(t0, t1) { + this.frames = t0; + this.original = t1; + }, + Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) { + this.trace = t0; + }, + Trace__parseVM_closure: function Trace__parseVM_closure() { + }, + Trace$parseV8_closure: function Trace$parseV8_closure() { + }, + Trace$parseJSCore_closure: function Trace$parseJSCore_closure() { + }, + Trace$parseFirefox_closure: function Trace$parseFirefox_closure() { + }, + Trace$parseFriendly_closure: function Trace$parseFriendly_closure() { + }, + Trace_terse_closure: function Trace_terse_closure() { + }, + Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) { + this.oldPredicate = t0; + }, + Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) { + this._box_0 = t0; + }, + Trace_toString_closure0: function Trace_toString_closure0() { + }, + Trace_toString_closure: function Trace_toString_closure(t0) { + this.longest = t0; + }, + UnparsedFrame: function UnparsedFrame(t0, t1) { + this.uri = t0; + this.member = t1; + }, + GuaranteeChannel$(innerStream, innerSink, allowSinkErrors, $T) { + var t2, t1 = {}; + t1.innerStream = innerStream; + t2 = new A.GuaranteeChannel($T._eval$1("GuaranteeChannel<0>")); + t2.GuaranteeChannel$3$allowSinkErrors(innerSink, true, t1, $T); + return t2; + }, + GuaranteeChannel: function GuaranteeChannel(t0) { + var _ = this; + _.__GuaranteeChannel__streamController_F = _.__GuaranteeChannel__sink_F = $; + _._subscription = null; + _._disconnected = false; + _.$ti = t0; + }, + GuaranteeChannel_closure: function GuaranteeChannel_closure(t0, t1, t2) { + this._box_0 = t0; + this.$this = t1; + this.T = t2; + }, + GuaranteeChannel__closure: function GuaranteeChannel__closure(t0) { + this.$this = t0; + }, + _GuaranteeSink: function _GuaranteeSink(t0, t1, t2, t3, t4) { + var _ = this; + _._inner = t0; + _._channel = t1; + _._doneCompleter = t2; + _._closed = _._disconnected = false; + _._addStreamCompleter = _._addStreamSubscription = null; + _._allowErrors = t3; + _.$ti = t4; + }, + _GuaranteeSink_addStream_closure: function _GuaranteeSink_addStream_closure(t0) { + this.$this = t0; + }, + _MultiChannel$(inner, $T) { + var t1 = type$.int; + t1 = new A._MultiChannel(inner, A.StreamChannelController$(true, $T), A.LinkedHashMap_LinkedHashMap$_empty(t1, $T._eval$1("StreamChannelController<0>")), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), $T._eval$1("_MultiChannel<0>")); + t1._MultiChannel$1(inner, $T); + return t1; + }, + _MultiChannel: function _MultiChannel(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._multi_channel$_inner = t0; + _._innerStreamSubscription = null; + _._mainController = t1; + _._controllers = t2; + _._pendingIds = t3; + _._closedIds = t4; + _._nextId = 1; + _.$ti = t5; + }, + _MultiChannel_closure: function _MultiChannel_closure(t0, t1) { + this.$this = t0; + this.T = t1; + }, + _MultiChannel_closure0: function _MultiChannel_closure0(t0) { + this.$this = t0; + }, + _MultiChannel_closure1: function _MultiChannel_closure1(t0, t1) { + this.$this = t0; + this.T = t1; + }, + _MultiChannel__closure: function _MultiChannel__closure(t0, t1, t2) { + this.$this = t0; + this.id = t1; + this.T = t2; + }, + _MultiChannel_virtualChannel_closure: function _MultiChannel_virtualChannel_closure(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + _MultiChannel_virtualChannel_closure0: function _MultiChannel_virtualChannel_closure0(t0, t1) { + this._box_0 = t0; + this.$this = t1; + }, + VirtualChannel: function VirtualChannel(t0, t1, t2, t3) { + var _ = this; + _._parent = t0; + _.stream = t1; + _.sink = t2; + _.$ti = t3; + }, + StreamChannelController$(sync, $T) { + var _null = null, + t1 = new A.StreamChannelController($T._eval$1("StreamChannelController<0>")), + localToForeignController = A.StreamController_StreamController(_null, _null, true, $T), + foreignToLocalController = A.StreamController_StreamController(_null, _null, true, $T), + t2 = A._instanceType(foreignToLocalController), + t3 = A._instanceType(localToForeignController), + t4 = $T._eval$1("StreamChannel<0>"); + t1.set$__StreamChannelController__local_F(t4._as(A.GuaranteeChannel$(new A._ControllerStream(foreignToLocalController, t2._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(localToForeignController, t3._eval$1("_StreamSinkWrapper<1>")), true, $T))); + t2 = t4._as(A.GuaranteeChannel$(new A._ControllerStream(localToForeignController, t3._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(foreignToLocalController, t2._eval$1("_StreamSinkWrapper<1>")), true, $T)); + t1.__StreamChannelController__foreign_F !== $ && A.throwLateFieldAI("_foreign"); + t1.set$__StreamChannelController__foreign_F(t2); + return t1; + }, + StreamChannelController: function StreamChannelController(t0) { + this.__StreamChannelController__foreign_F = this.__StreamChannelController__local_F = $; + this.$ti = t0; + }, + StreamChannelMixin: function StreamChannelMixin() { + }, + EventTargetExtension_addEventListener(_this, type, listener) { + var t1 = A._setArrayType([type, listener], type$.JSArray_Object); + A.callMethod(_this, "addEventListener", t1, type$.dynamic); + }, + EventTargetExtension_removeEventListener(_this, type, listener) { + var t1 = A._setArrayType([type, listener], type$.JSArray_Object); + A.callMethod(_this, "removeEventListener", t1, type$.dynamic); + }, + MessagePortExtension_get_postMessage(_this) { + return new A.MessagePortExtension_get_postMessage_closure(_this); + }, + _callConstructor(constructorName, args) { + var $constructor = self.window[constructorName]; + if ($constructor == null) + return null; + return A.callConstructor($constructor, args, type$.nullable_Object); + }, + Subscription$(target, type, listener) { + A.EventTargetExtension_addEventListener(target, type, listener); + return new A.Subscription(type, target, listener); + }, + MessagePortExtension_get_postMessage_closure: function MessagePortExtension_get_postMessage_closure(t0) { + this._this = t0; + }, + Subscription: function Subscription(t0, t1, t2) { + this.type = t0; + this.target = t1; + this.listener = t2; + }, + main() { + var t1 = type$.JavaScriptObject; + t1._as(self.window.console).log("Dart test runner browser host running"); + if (J.$eq$($.$get$_currentUrl().get$queryParameters().$index(0, "debug"), "true")) + t1._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).add("debug"); + A.runZonedGuarded(new A.main_closure(), new A.main_closure0(), type$.Null); + }, + _connectToServer() { + var t2, controller, t3, + t1 = $.$get$_currentUrl().get$queryParameters().$index(0, "managerUrl"); + t1.toString; + t1 = A._callConstructor("WebSocket", A._setArrayType([t1], type$.JSArray_Object)); + t1.toString; + type$.JavaScriptObject._as(t1); + t2 = type$.dynamic; + controller = A.StreamChannelController$(true, t2); + A.EventTargetExtension_addEventListener(t1, "message", A.allowInterop(new A._connectToServer_closure(controller), type$.void_Function_JavaScriptObject)); + t3 = controller.__StreamChannelController__local_F; + t3 === $ && A.throwLateFieldNI("_local"); + t3 = t3.__GuaranteeChannel__streamController_F; + t3 === $ && A.throwLateFieldNI("_streamController"); + new A._ControllerStream(t3, A._instanceType(t3)._eval$1("_ControllerStream<1>")).listen$1(new A._connectToServer_closure0(t1)); + t1 = controller.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + return A._MultiChannel$(t1, t2); + }, + _connectToIframe(url, id) { + var t2, t3, t4, iframe, controller, windowSubscription, + suiteUrl = A.Uri_parse(url).removeFragment$0(), + t1 = type$.JavaScriptObject; + t1._as(self.window.console).log("Starting suite " + suiteUrl.toString$0(0)); + t2 = self.document; + t3 = A._setArrayType(["iframe"], type$.JSArray_Object); + t4 = type$.dynamic; + iframe = t1._as(A.callMethod(t2, "createElement", t3, t4)); + $._iframes.$indexSet(0, id, iframe); + controller = A.StreamChannelController$(true, t4); + windowSubscription = A._Cell$named("windowSubscription"); + windowSubscription._value = A.Subscription$(self.window, "message", A.allowInterop(new A._connectToIframe_closure(iframe, windowSubscription, suiteUrl, id, controller), type$.void_Function_JavaScriptObject)); + iframe.src = url; + t1._as(type$.nullable_JavaScriptObject._as(self.document.body).appendChild(iframe)); + t1 = controller.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + return t1; + }, + main_closure: function main_closure() { + }, + main__closure: function main__closure(t0) { + this.serverChannel = t0; + }, + main___closure: function main___closure(t0) { + this._0_0 = t0; + }, + main___closure0: function main___closure0(t0) { + this._0_0 = t0; + }, + main___closure1: function main___closure1(t0) { + this._0_0 = t0; + }, + main___closure2: function main___closure2(t0) { + this._0_0 = t0; + }, + main___closure3: function main___closure3(t0) { + this._0_0 = t0; + }, + main___closure4: function main___closure4(t0) { + this._0_0 = t0; + }, + main__closure0: function main__closure0(t0) { + this.serverChannel = t0; + }, + main__closure1: function main__closure1(t0) { + this.serverChannel = t0; + }, + main__closure2: function main__closure2(t0) { + this.serverChannel = t0; + }, + main__closure3: function main__closure3(t0) { + this.serverChannel = t0; + }, + main_closure0: function main_closure0() { + }, + _connectToServer_closure: function _connectToServer_closure(t0) { + this.controller = t0; + }, + _connectToServer_closure0: function _connectToServer_closure0(t0) { + this.webSocket = t0; + }, + _connectToIframe_closure: function _connectToIframe_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.iframe = t0; + _.windowSubscription = t1; + _.suiteUrl = t2; + _.id = t3; + _.controller = t4; + }, + _connectToIframe__closure1: function _connectToIframe__closure1(t0) { + this.controller = t0; + }, + _connectToIframe__closure: function _connectToIframe__closure(t0) { + this._0_0 = t0; + }, + _connectToIframe__closure0: function _connectToIframe__closure0(t0) { + this._0_0 = t0; + }, + max(a, b, $T) { + A.checkTypeBound($T, type$.num, "T", "max"); + return Math.max($T._as(a), $T._as(b)); + }, + printString(string) { + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); + }, + _convertNativeToDart_Value(value) { + var proto, t1, values, i; + if (value == null) + return value; + if (typeof value == "string" || typeof value == "number" || A._isBool(value)) + return value; + proto = Object.getPrototypeOf(value); + t1 = proto === Object.prototype; + t1.toString; + if (!t1) { + t1 = proto === null; + t1.toString; + } else + t1 = true; + if (t1) + return A.convertNativeToDart_Dictionary(value); + t1 = Array.isArray(value); + t1.toString; + if (t1) { + values = []; + i = 0; + while (true) { + t1 = value.length; + t1.toString; + if (!(i < t1)) + break; + values.push(A._convertNativeToDart_Value(value[i])); + ++i; + } + return values; + } + return value; + }, + convertNativeToDart_Dictionary(object) { + var dict, keys, t1, _i, key, t2; + if (object == null) + return null; + dict = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = Object.getOwnPropertyNames(object); + for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { + key = keys[_i]; + t2 = key; + t2.toString; + dict.$indexSet(0, t2, A._convertNativeToDart_Value(object[key])); + } + return dict; + }, + current() { + var exception, t1, path, lastIndex, uri = null; + try { + uri = A.Uri_base(); + } catch (exception) { + if (type$.Exception._is(A.unwrapException(exception))) { + t1 = $._current; + if (t1 != null) + return t1; + throw exception; + } else + throw exception; + } + if (J.$eq$(uri, $._currentUriBase)) { + t1 = $._current; + t1.toString; + return t1; + } + $._currentUriBase = uri; + if ($.$get$Style_platform() === $.$get$Style_url()) + t1 = $._current = uri.resolve$1(".").toString$0(0); + else { + path = uri.toFilePath$0(); + lastIndex = path.length - 1; + t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex); + } + return t1; + }, + isAlphabetic(char) { + var t1; + if (!(char >= 65 && char <= 90)) + t1 = char >= 97 && char <= 122; + else + t1 = true; + return t1; + }, + isDriveLetter(path, index) { + var t3, + t1 = path.length, + t2 = index + 2; + if (t1 < t2) + return false; + if (!(index >= 0 && index < t1)) + return A.ioore(path, index); + if (!A.isAlphabetic(path.charCodeAt(index))) + return false; + t3 = index + 1; + if (!(t3 < t1)) + return A.ioore(path, t3); + if (path.charCodeAt(t3) !== 58) + return false; + if (t1 === t2) + return true; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(path, t2); + return path.charCodeAt(t2) === 47; + } + }, + B = {}; + var holders = [A, J, B]; + var $ = {}; + A.JS_CONST.prototype = {}; + J.Interceptor.prototype = { + $eq(receiver, other) { + return receiver === other; + }, + get$hashCode(receiver) { + return A.Primitives_objectHashCode(receiver); + }, + toString$0(receiver) { + return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'"; + }, + noSuchMethod$1(receiver, invocation) { + throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, type$.Invocation._as(invocation))); + }, + get$runtimeType(receiver) { + return A.createRuntimeType(A._instanceTypeFromConstructor(this)); + } + }; + J.JSBool.prototype = { + toString$0(receiver) { + return String(receiver); + }, + get$hashCode(receiver) { + return receiver ? 519018 : 218159; + }, + get$runtimeType(receiver) { + return A.createRuntimeType(type$.bool); + }, + $isTrustedGetRuntimeType: 1, + $isbool: 1 + }; + J.JSNull.prototype = { + $eq(receiver, other) { + return null == other; + }, + toString$0(receiver) { + return "null"; + }, + get$hashCode(receiver) { + return 0; + }, + $isTrustedGetRuntimeType: 1, + $isNull: 1 + }; + J.JavaScriptObject.prototype = {}; + J.LegacyJavaScriptObject.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; + J.PlainJavaScriptObject.prototype = {}; + J.UnknownJavaScriptObject.prototype = {}; + J.JavaScriptFunction.prototype = { + toString$0(receiver) { + var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; + if (dartClosure == null) + return this.super$LegacyJavaScriptObject$toString(receiver); + return "JavaScript function for " + J.toString$0$(dartClosure); + }, + $isFunction: 1 + }; + J.JavaScriptBigInt.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; + J.JavaScriptSymbol.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; + J.JSArray.prototype = { + cast$1$0(receiver, $R) { + return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); + }, + add$1(receiver, value) { + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("add")); + receiver.push(value); + }, + removeAt$1(receiver, index) { + var t1; + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeAt")); + t1 = receiver.length; + if (index >= t1) + throw A.wrapException(A.RangeError$value(index, null)); + return receiver.splice(index, 1)[0]; + }, + insert$2(receiver, index, value) { + var t1; + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("insert")); + t1 = receiver.length; + if (index > t1) + throw A.wrapException(A.RangeError$value(index, null)); + receiver.splice(index, 0, value); + }, + insertAll$2(receiver, index, iterable) { + var insertionLength, end; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("insertAll")); + A.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); + if (!type$.EfficientLengthIterable_dynamic._is(iterable)) + iterable = J.toList$0$ax(iterable); + insertionLength = J.get$length$asx(iterable); + receiver.length = receiver.length + insertionLength; + end = index + insertionLength; + this.setRange$4(receiver, end, receiver.length, receiver, index); + this.setRange$3(receiver, index, end, iterable); + }, + removeLast$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("removeLast")); + if (receiver.length === 0) + throw A.wrapException(A.diagnoseIndexError(receiver, -1)); + return receiver.pop(); + }, + addAll$1(receiver, collection) { + var t1; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(collection); + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("addAll")); + if (Array.isArray(collection)) { + this._addAllFromArray$1(receiver, collection); + return; + } + for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) + receiver.push(t1.get$current(t1)); + }, + _addAllFromArray$1(receiver, array) { + var len, i; + type$.JSArray_dynamic._as(array); + len = array.length; + if (len === 0) + return; + if (receiver === array) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + for (i = 0; i < len; ++i) + receiver.push(array[i]); + }, + clear$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("clear")); + receiver.length = 0; + }, + map$1$1(receiver, f, $T) { + var t1 = A._arrayInstanceType(receiver); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + join$1(receiver, separator) { + var i, + list = A.List_List$filled(receiver.length, "", false, type$.String); + for (i = 0; i < receiver.length; ++i) + this.$indexSet(list, i, A.S(receiver[i])); + return list.join(separator); + }, + join$0($receiver) { + return this.join$1($receiver, ""); + }, + skip$1(receiver, n) { + return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1); + }, + fold$1$2(receiver, initialValue, combine, $T) { + var $length, value, i; + $T._as(initialValue); + A._arrayInstanceType(receiver)._bind$1($T)._eval$1("1(1,2)")._as(combine); + $length = receiver.length; + for (value = initialValue, i = 0; i < $length; ++i) { + value = combine.call$2(value, receiver[i]); + if (receiver.length !== $length) + throw A.wrapException(A.ConcurrentModificationError$(receiver)); + } + return value; + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + get$first(receiver) { + if (receiver.length > 0) + return receiver[0]; + throw A.wrapException(A.IterableElementError_noElement()); + }, + get$last(receiver) { + var t1 = receiver.length; + if (t1 > 0) + return receiver[t1 - 1]; + throw A.wrapException(A.IterableElementError_noElement()); + }, + setRange$4(receiver, start, end, iterable, skipCount) { + var $length, otherList, otherStart, t1, i; + A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("setRange")); + A.RangeError_checkValidRange(start, end, receiver.length); + $length = end - start; + if ($length === 0) + return; + A.RangeError_checkNotNegative(skipCount, "skipCount"); + if (type$.List_dynamic._is(iterable)) { + otherList = iterable; + otherStart = skipCount; + } else { + otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); + otherStart = 0; + } + t1 = J.getInterceptor$asx(otherList); + if (otherStart + $length > t1.get$length(otherList)) + throw A.wrapException(A.IterableElementError_tooFew()); + if (otherStart < start) + for (i = $length - 1; i >= 0; --i) + receiver[start + i] = t1.$index(otherList, otherStart + i); + else + for (i = 0; i < $length; ++i) + receiver[start + i] = t1.$index(otherList, otherStart + i); + }, + setRange$3($receiver, start, end, iterable) { + return this.setRange$4($receiver, start, end, iterable, 0); + }, + contains$1(receiver, other) { + var i; + for (i = 0; i < receiver.length; ++i) + if (J.$eq$(receiver[i], other)) + return true; + return false; + }, + get$isEmpty(receiver) { + return receiver.length === 0; + }, + get$isNotEmpty(receiver) { + return receiver.length !== 0; + }, + toString$0(receiver) { + return A.Iterable_iterableToFullString(receiver, "[", "]"); + }, + toList$1$growable(receiver, growable) { + var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver)); + return t1; + }, + toList$0($receiver) { + return this.toList$1$growable($receiver, true); + }, + get$iterator(receiver) { + return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); + }, + get$hashCode(receiver) { + return A.Primitives_objectHashCode(receiver); + }, + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._arrayInstanceType(receiver)._precomputed1._as(value); + if (!!receiver.immutable$list) + A.throwExpression(A.UnsupportedError$("indexed set")); + if (!(index >= 0 && index < receiver.length)) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + receiver[index] = value; + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + J.JSUnmodifiableArray.prototype = {}; + J.ArrayIterator.prototype = { + get$current(_) { + var t1 = this._current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var t2, _this = this, + t1 = _this._iterable, + $length = t1.length; + if (_this.__interceptors$_length !== $length) { + t1 = A.throwConcurrentModificationError(t1); + throw A.wrapException(t1); + } + t2 = _this._index; + if (t2 >= $length) { + _this.set$_current(null); + return false; + } + _this.set$_current(t1[t2]); + ++_this._index; + return true; + }, + set$_current(_current) { + this._current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + J.JSNumber.prototype = { + toInt$0(receiver) { + var t1; + if (receiver >= -2147483648 && receiver <= 2147483647) + return receiver | 0; + if (isFinite(receiver)) { + t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); + return t1 + 0; + } + throw A.wrapException(A.UnsupportedError$("" + receiver + ".toInt()")); + }, + toString$0(receiver) { + if (receiver === 0 && 1 / receiver < 0) + return "-0.0"; + else + return "" + receiver; + }, + get$hashCode(receiver) { + var absolute, floorLog2, factor, scaled, + intValue = receiver | 0; + if (receiver === intValue) + return intValue & 536870911; + absolute = Math.abs(receiver); + floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; + factor = Math.pow(2, floorLog2); + scaled = absolute < 1 ? absolute / factor : factor / absolute; + return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911; + }, + $mod(receiver, other) { + var result = receiver % other; + if (result === 0) + return 0; + if (result > 0) + return result; + return result + other; + }, + $tdiv(receiver, other) { + if ((receiver | 0) === receiver) + if (other >= 1 || false) + return receiver / other | 0; + return this._tdivSlow$1(receiver, other); + }, + _tdivFast$1(receiver, other) { + return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); + }, + _tdivSlow$1(receiver, other) { + var quotient = receiver / other; + if (quotient >= -2147483648 && quotient <= 2147483647) + return quotient | 0; + if (quotient > 0) { + if (quotient !== 1 / 0) + return Math.floor(quotient); + } else if (quotient > -1 / 0) + return Math.ceil(quotient); + throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other)); + }, + _shrOtherPositive$1(receiver, other) { + var t1; + if (receiver > 0) + t1 = this._shrBothPositive$1(receiver, other); + else { + t1 = other > 31 ? 31 : other; + t1 = receiver >> t1 >>> 0; + } + return t1; + }, + _shrReceiverPositive$1(receiver, other) { + if (0 > other) + throw A.wrapException(A.argumentErrorValue(other)); + return this._shrBothPositive$1(receiver, other); + }, + _shrBothPositive$1(receiver, other) { + return other > 31 ? 0 : receiver >>> other; + }, + get$runtimeType(receiver) { + return A.createRuntimeType(type$.num); + }, + $isdouble: 1, + $isnum: 1 + }; + J.JSInt.prototype = { + get$runtimeType(receiver) { + return A.createRuntimeType(type$.int); + }, + $isTrustedGetRuntimeType: 1, + $isint: 1 + }; + J.JSNumNotInt.prototype = { + get$runtimeType(receiver) { + return A.createRuntimeType(type$.double); + }, + $isTrustedGetRuntimeType: 1 + }; + J.JSString.prototype = { + codeUnitAt$1(receiver, index) { + if (index < 0) + throw A.wrapException(A.diagnoseIndexError(receiver, index)); + if (index >= receiver.length) + A.throwExpression(A.diagnoseIndexError(receiver, index)); + return receiver.charCodeAt(index); + }, + allMatches$2(receiver, string, start) { + var t1 = string.length; + if (start > t1) + throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); + return new A._StringAllMatchesIterable(string, receiver, start); + }, + allMatches$1($receiver, string) { + return this.allMatches$2($receiver, string, 0); + }, + matchAsPrefix$2(receiver, string, start) { + var t1, t2, i, t3, _null = null; + if (start < 0 || start > string.length) + throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null)); + t1 = receiver.length; + t2 = string.length; + if (start + t1 > t2) + return _null; + for (i = 0; i < t1; ++i) { + t3 = start + i; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(string, t3); + if (string.charCodeAt(t3) !== receiver.charCodeAt(i)) + return _null; + } + return new A.StringMatch(start, receiver); + }, + $add(receiver, other) { + return receiver + other; + }, + endsWith$1(receiver, other) { + var otherLength = other.length, + t1 = receiver.length; + if (otherLength > t1) + return false; + return other === this.substring$1(receiver, t1 - otherLength); + }, + replaceFirst$2(receiver, from, to) { + A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); + return A.stringReplaceFirstUnchecked(receiver, from, to, 0); + }, + split$1(receiver, pattern) { + if (typeof pattern == "string") + return A._setArrayType(receiver.split(pattern), type$.JSArray_String); + else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0) + return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String); + else + return this._defaultSplit$1(receiver, pattern); + }, + replaceRange$3(receiver, start, end, replacement) { + var e = A.RangeError_checkValidRange(start, end, receiver.length); + return A.stringReplaceRangeUnchecked(receiver, start, e, replacement); + }, + _defaultSplit$1(receiver, pattern) { + var t1, start, $length, match, matchStart, matchEnd, + result = A._setArrayType([], type$.JSArray_String); + for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) { + match = t1.get$current(t1); + matchStart = match.get$start(match); + matchEnd = match.get$end(match); + $length = matchEnd - matchStart; + if ($length === 0 && start === matchStart) + continue; + B.JSArray_methods.add$1(result, this.substring$2(receiver, start, matchStart)); + start = matchEnd; + } + if (start < receiver.length || $length > 0) + B.JSArray_methods.add$1(result, this.substring$1(receiver, start)); + return result; + }, + startsWith$2(receiver, pattern, index) { + var endIndex; + if (index < 0 || index > receiver.length) + throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null)); + if (typeof pattern == "string") { + endIndex = index + pattern.length; + if (endIndex > receiver.length) + return false; + return pattern === receiver.substring(index, endIndex); + } + return J.matchAsPrefix$2$s(pattern, receiver, index) != null; + }, + startsWith$1($receiver, pattern) { + return this.startsWith$2($receiver, pattern, 0); + }, + substring$2(receiver, start, end) { + return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length)); + }, + substring$1($receiver, start) { + return this.substring$2($receiver, start, null); + }, + trim$0(receiver) { + var startIndex, t1, endIndex0, + result = receiver.trim(), + endIndex = result.length; + if (endIndex === 0) + return result; + if (0 >= endIndex) + return A.ioore(result, 0); + if (result.charCodeAt(0) === 133) { + startIndex = J.JSString__skipLeadingWhitespace(result, 1); + if (startIndex === endIndex) + return ""; + } else + startIndex = 0; + t1 = endIndex - 1; + if (!(t1 >= 0)) + return A.ioore(result, t1); + endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; + if (startIndex === 0 && endIndex0 === endIndex) + return result; + return result.substring(startIndex, endIndex0); + }, + $mul(receiver, times) { + var s, result; + if (0 >= times) + return ""; + if (times === 1 || receiver.length === 0) + return receiver; + if (times !== times >>> 0) + throw A.wrapException(B.C_OutOfMemoryError); + for (s = receiver, result = ""; true;) { + if ((times & 1) === 1) + result = s + result; + times = times >>> 1; + if (times === 0) + break; + s += s; + } + return result; + }, + padLeft$2(receiver, width, padding) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return this.$mul(padding, delta) + receiver; + }, + padRight$1(receiver, width) { + var delta = width - receiver.length; + if (delta <= 0) + return receiver; + return receiver + this.$mul(" ", delta); + }, + indexOf$2(receiver, pattern, start) { + var t1; + if (start < 0 || start > receiver.length) + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); + t1 = receiver.indexOf(pattern, start); + return t1; + }, + indexOf$1($receiver, pattern) { + return this.indexOf$2($receiver, pattern, 0); + }, + lastIndexOf$2(receiver, pattern, start) { + var t1, t2; + if (start == null) + start = receiver.length; + else if (start < 0 || start > receiver.length) + throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); + t1 = pattern.length; + t2 = receiver.length; + if (start + t1 > t2) + start = t2 - t1; + return receiver.lastIndexOf(pattern, start); + }, + lastIndexOf$1($receiver, pattern) { + return this.lastIndexOf$2($receiver, pattern, null); + }, + contains$1(receiver, other) { + return A.stringContainsUnchecked(receiver, other, 0); + }, + toString$0(receiver) { + return receiver; + }, + get$hashCode(receiver) { + var t1, hash, i; + for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { + hash = hash + receiver.charCodeAt(i) & 536870911; + hash = hash + ((hash & 524287) << 10) & 536870911; + hash ^= hash >> 6; + } + hash = hash + ((hash & 67108863) << 3) & 536870911; + hash ^= hash >> 11; + return hash + ((hash & 16383) << 15) & 536870911; + }, + get$runtimeType(receiver) { + return A.createRuntimeType(type$.String); + }, + get$length(receiver) { + return receiver.length; + }, + $isTrustedGetRuntimeType: 1, + $isPattern: 1, + $isString: 1 + }; + A.CastStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t2, + t1 = this.$ti; + t1._eval$1("~(2)?")._as(onData); + t2 = this._source.listen$3$cancelOnError$onDone(null, cancelOnError, type$.nullable_void_Function._as(onDone)); + t1 = new A.CastStreamSubscription(t2, $.Zone__current, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastStreamSubscription<1,2>")); + t2.onData$1(t1.get$__internal$_onData()); + t1.onData$1(onData); + t1.onError$1(0, onError); + return t1; + }, + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } + }; + A.CastStreamSubscription.prototype = { + cancel$0(_) { + return this._source.cancel$0(0); + }, + onData$1(handleData) { + var t1 = this.$ti; + t1._eval$1("~(2)?")._as(handleData); + this.set$_handleData(handleData == null ? null : this.__internal$_zone.registerUnaryCallback$2$1(handleData, type$.dynamic, t1._rest[1])); + }, + onError$1(_, handleError) { + var _this = this; + _this._source.onError$1(0, handleError); + if (handleError == null) + _this._handleError = null; + else if (type$.void_Function_Object_StackTrace._is(handleError)) + _this._handleError = _this.__internal$_zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); + else if (type$.void_Function_Object._is(handleError)) + _this._handleError = _this.__internal$_zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object); + else + throw A.wrapException(A.ArgumentError$(string$.handle, null)); + }, + __internal$_onData$1(data) { + var targetData, error, stack, handleError, t2, exception, _this = this, + t1 = _this.$ti; + t1._precomputed1._as(data); + t2 = _this._handleData; + if (t2 == null) + return; + targetData = null; + try { + targetData = t1._rest[1]._as(data); + } catch (exception) { + error = A.unwrapException(exception); + stack = A.getTraceFromException(exception); + handleError = _this._handleError; + if (handleError == null) + _this.__internal$_zone.handleUncaughtError$2(error, stack); + else { + t1 = type$.Object; + t2 = _this.__internal$_zone; + if (type$.void_Function_Object_StackTrace._is(handleError)) + t2.runBinaryGuarded$2$3(handleError, error, stack, t1, type$.StackTrace); + else + t2.runUnaryGuarded$1$2(type$.void_Function_Object._as(handleError), error, t1); + } + return; + } + _this.__internal$_zone.runUnaryGuarded$1$2(t2, targetData, t1._rest[1]); + }, + set$_handleData(_handleData) { + this._handleData = this.$ti._eval$1("~(2)?")._as(_handleData); + }, + $isStreamSubscription: 1 + }; + A._CastIterableBase.prototype = { + get$iterator(_) { + var t1 = A._instanceType(this); + return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>")); + }, + get$length(_) { + return J.get$length$asx(this.get$_source()); + }, + get$isEmpty(_) { + return J.get$isEmpty$asx(this.get$_source()); + }, + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this.get$_source()); + }, + skip$1(_, count) { + var t1 = A._instanceType(this); + return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); + }, + elementAt$1(_, index) { + return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index)); + }, + toString$0(_) { + return J.toString$0$(this.get$_source()); + } + }; + A.CastIterator.prototype = { + moveNext$0() { + return this._source.moveNext$0(); + }, + get$current(_) { + var t1 = this._source; + return this.$ti._rest[1]._as(t1.get$current(t1)); + }, + $isIterator: 1 + }; + A.CastIterable.prototype = { + get$_source() { + return this._source; + } + }; + A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1}; + A._CastListBase.prototype = { + $index(_, index) { + return this.$ti._rest[1]._as(J.$index$asx(this._source, index)); + }, + $indexSet(_, index, value) { + var t1 = this.$ti; + J.$indexSet$ax(this._source, index, t1._precomputed1._as(t1._rest[1]._as(value))); + }, + $isEfficientLengthIterable: 1, + $isList: 1 + }; + A.CastList.prototype = { + cast$1$0(_, $R) { + return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); + }, + get$_source() { + return this._source; + } + }; + A.LateError.prototype = { + toString$0(_) { + return "LateInitializationError: " + this._message; + } + }; + A.CodeUnits.prototype = { + get$length(_) { + return this._string.length; + }, + $index(_, i) { + var t1 = this._string; + if (!(i >= 0 && i < t1.length)) + return A.ioore(t1, i); + return t1.charCodeAt(i); + } + }; + A.nullFuture_closure.prototype = { + call$0() { + return A.Future_Future$value(null, type$.Null); + }, + $signature: 60 + }; + A.SentinelValue.prototype = {}; + A.EfficientLengthIterable.prototype = {}; + A.ListIterable.prototype = { + get$iterator(_) { + var _this = this; + return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator")); + }, + get$isEmpty(_) { + return this.get$length(this) === 0; + }, + join$1(_, separator) { + var first, t1, i, _this = this, + $length = _this.get$length(_this); + if (separator.length !== 0) { + if ($length === 0) + return ""; + first = A.S(_this.elementAt$1(0, 0)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + for (t1 = first, i = 1; i < $length; ++i) { + t1 = t1 + separator + A.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; + } else { + for (i = 0, t1 = ""; i < $length; ++i) { + t1 += A.S(_this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }, + join$0($receiver) { + return this.join$1($receiver, ""); + }, + map$1$1(_, toElement, $T) { + var t1 = A._instanceType(this); + return new A.MappedListIterable(this, t1._bind$1($T)._eval$1("1(ListIterable.E)")._as(toElement), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + fold$1$2(_, initialValue, combine, $T) { + var $length, value, i, _this = this; + $T._as(initialValue); + A._instanceType(_this)._bind$1($T)._eval$1("1(1,ListIterable.E)")._as(combine); + $length = _this.get$length(_this); + for (value = initialValue, i = 0; i < $length; ++i) { + value = combine.call$2(value, _this.elementAt$1(0, i)); + if ($length !== _this.get$length(_this)) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return value; + }, + skip$1(_, count) { + return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E")); + } + }; + A.SubListIterable.prototype = { + SubListIterable$3(_iterable, _start, _endOrLength, $E) { + var endOrLength, + t1 = this._start; + A.RangeError_checkNotNegative(t1, "start"); + endOrLength = this._endOrLength; + if (endOrLength != null) { + A.RangeError_checkNotNegative(endOrLength, "end"); + if (t1 > endOrLength) + throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null)); + } + }, + get$_endIndex() { + var $length = J.get$length$asx(this.__internal$_iterable), + endOrLength = this._endOrLength; + if (endOrLength == null || endOrLength > $length) + return $length; + return endOrLength; + }, + get$_startIndex() { + var $length = J.get$length$asx(this.__internal$_iterable), + t1 = this._start; + if (t1 > $length) + return $length; + return t1; + }, + get$length(_) { + var endOrLength, + $length = J.get$length$asx(this.__internal$_iterable), + t1 = this._start; + if (t1 >= $length) + return 0; + endOrLength = this._endOrLength; + if (endOrLength == null || endOrLength >= $length) + return $length - t1; + if (typeof endOrLength !== "number") + return endOrLength.$sub(); + return endOrLength - t1; + }, + elementAt$1(_, index) { + var _this = this, + realIndex = _this.get$_startIndex() + index; + if (index < 0 || realIndex >= _this.get$_endIndex()) + throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, "index")); + return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); + }, + skip$1(_, count) { + var newStart, endOrLength, _this = this; + A.RangeError_checkNotNegative(count, "count"); + newStart = _this._start + count; + endOrLength = _this._endOrLength; + if (endOrLength != null && newStart >= endOrLength) + return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>")); + return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1); + }, + toList$1$growable(_, growable) { + var $length, result, i, _this = this, + start = _this._start, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + end = t2.get$length(t1), + endOrLength = _this._endOrLength; + if (endOrLength != null && endOrLength < end) + end = endOrLength; + $length = end - start; + if ($length <= 0) { + t1 = J.JSArray_JSArray$fixed(0, _this.$ti._precomputed1); + return t1; + } + result = A.List_List$filled($length, t2.elementAt$1(t1, start), false, _this.$ti._precomputed1); + for (i = 1; i < $length; ++i) { + B.JSArray_methods.$indexSet(result, i, t2.elementAt$1(t1, start + i)); + if (t2.get$length(t1) < end) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return result; + } + }; + A.ListIterator.prototype = { + get$current(_) { + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var t3, _this = this, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + $length = t2.get$length(t1); + if (_this.__internal$_length !== $length) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + t3 = _this.__internal$_index; + if (t3 >= $length) { + _this.set$__internal$_current(null); + return false; + } + _this.set$__internal$_current(t2.elementAt$1(t1, t3)); + ++_this.__internal$_index; + return true; + }, + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + A.MappedIterable.prototype = { + get$iterator(_) { + var t1 = A._instanceType(this); + return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); + }, + get$length(_) { + return J.get$length$asx(this.__internal$_iterable); + }, + get$isEmpty(_) { + return J.get$isEmpty$asx(this.__internal$_iterable); + }, + elementAt$1(_, index) { + return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index)); + } + }; + A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; + A.MappedIterator.prototype = { + moveNext$0() { + var _this = this, + t1 = _this._iterator; + if (t1.moveNext$0()) { + _this.set$__internal$_current(_this._f.call$1(t1.get$current(t1))); + return true; + } + _this.set$__internal$_current(null); + return false; + }, + get$current(_) { + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._rest[1]._as(t1) : t1; + }, + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); + }, + $isIterator: 1 + }; + A.MappedListIterable.prototype = { + get$length(_) { + return J.get$length$asx(this._source); + }, + elementAt$1(_, index) { + return this._f.call$1(J.elementAt$1$ax(this._source, index)); + } + }; + A.WhereIterable.prototype = { + get$iterator(_) { + return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("WhereIterator<1>")); + }, + map$1$1(_, toElement, $T) { + var t1 = this.$ti; + return new A.MappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(toElement), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>")); + } + }; + A.WhereIterator.prototype = { + moveNext$0() { + var t1, t2; + for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) + if (A.boolConversionCheck(t2.call$1(t1.get$current(t1)))) + return true; + return false; + }, + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); + }, + $isIterator: 1 + }; + A.ExpandIterable.prototype = { + get$iterator(_) { + var t1 = this.$ti; + return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>")); + } + }; + A.ExpandIterator.prototype = { + get$current(_) { + var t1 = this.__internal$_current; + return t1 == null ? this.$ti._rest[1]._as(t1) : t1; + }, + moveNext$0() { + var t1, t2, _this = this; + if (_this._currentExpansion == null) + return false; + for (t1 = _this._iterator, t2 = _this._f; !_this._currentExpansion.moveNext$0();) { + _this.set$__internal$_current(null); + if (t1.moveNext$0()) { + _this.set$_currentExpansion(null); + _this.set$_currentExpansion(J.get$iterator$ax(t2.call$1(t1.get$current(t1)))); + } else + return false; + } + t1 = _this._currentExpansion; + _this.set$__internal$_current(t1.get$current(t1)); + return true; + }, + set$_currentExpansion(_currentExpansion) { + this._currentExpansion = this.$ti._eval$1("Iterator<2>?")._as(_currentExpansion); + }, + set$__internal$_current(_current) { + this.__internal$_current = this.$ti._eval$1("2?")._as(_current); + }, + $isIterator: 1 + }; + A.TakeIterable.prototype = { + get$iterator(_) { + return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>")); + } + }; + A.EfficientLengthTakeIterable.prototype = { + get$length(_) { + var iterableLength = J.get$length$asx(this.__internal$_iterable), + t1 = this._takeCount; + if (iterableLength > t1) + return t1; + return iterableLength; + }, + $isEfficientLengthIterable: 1 + }; + A.TakeIterator.prototype = { + moveNext$0() { + if (--this._remaining >= 0) + return this._iterator.moveNext$0(); + this._remaining = -1; + return false; + }, + get$current(_) { + var t1; + if (this._remaining < 0) { + this.$ti._precomputed1._as(null); + return null; + } + t1 = this._iterator; + return t1.get$current(t1); + }, + $isIterator: 1 + }; + A.SkipIterable.prototype = { + skip$1(_, count) { + A.ArgumentError_checkNotNull(count, "count", type$.int); + A.RangeError_checkNotNegative(count, "count"); + return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>")); + }, + get$iterator(_) { + return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount, A._instanceType(this)._eval$1("SkipIterator<1>")); + } + }; + A.EfficientLengthSkipIterable.prototype = { + get$length(_) { + var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount; + if ($length >= 0) + return $length; + return 0; + }, + skip$1(_, count) { + A.ArgumentError_checkNotNull(count, "count", type$.int); + A.RangeError_checkNotNegative(count, "count"); + return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti); + }, + $isEfficientLengthIterable: 1 + }; + A.SkipIterator.prototype = { + moveNext$0() { + var t1, i; + for (t1 = this._iterator, i = 0; i < this._skipCount; ++i) + t1.moveNext$0(); + this._skipCount = 0; + return t1.moveNext$0(); + }, + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); + }, + $isIterator: 1 + }; + A.SkipWhileIterable.prototype = { + get$iterator(_) { + return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); + } + }; + A.SkipWhileIterator.prototype = { + moveNext$0() { + var t1, t2, _this = this; + if (!_this._hasSkipped) { + _this._hasSkipped = true; + for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();) + if (!A.boolConversionCheck(t2.call$1(t1.get$current(t1)))) + return true; + } + return _this._iterator.moveNext$0(); + }, + get$current(_) { + var t1 = this._iterator; + return t1.get$current(t1); + }, + $isIterator: 1 + }; + A.EmptyIterable.prototype = { + get$iterator(_) { + return B.C_EmptyIterator; + }, + get$isEmpty(_) { + return true; + }, + get$length(_) { + return 0; + }, + elementAt$1(_, index) { + throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null)); + }, + map$1$1(_, toElement, $T) { + this.$ti._bind$1($T)._eval$1("1(2)")._as(toElement); + return new A.EmptyIterable($T._eval$1("EmptyIterable<0>")); + }, + skip$1(_, count) { + A.RangeError_checkNotNegative(count, "count"); + return this; + } + }; + A.EmptyIterator.prototype = { + moveNext$0() { + return false; + }, + get$current(_) { + throw A.wrapException(A.IterableElementError_noElement()); + }, + $isIterator: 1 + }; + A.WhereTypeIterable.prototype = { + get$iterator(_) { + return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>")); + } + }; + A.WhereTypeIterator.prototype = { + moveNext$0() { + var t1, t2; + for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();) + if (t2._is(t1.get$current(t1))) + return true; + return false; + }, + get$current(_) { + var t1 = this._source; + return this.$ti._precomputed1._as(t1.get$current(t1)); + }, + $isIterator: 1 + }; + A.FixedLengthListMixin.prototype = {}; + A.UnmodifiableListMixin.prototype = { + $indexSet(_, index, value) { + A._instanceType(this)._eval$1("UnmodifiableListMixin.E")._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); + } + }; + A.UnmodifiableListBase.prototype = {}; + A.ReversedListIterable.prototype = { + get$length(_) { + return J.get$length$asx(this._source); + }, + elementAt$1(_, index) { + var t1 = this._source, + t2 = J.getInterceptor$asx(t1); + return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); + } + }; + A.Symbol.prototype = { + get$hashCode(_) { + var hash = this._hashCode; + if (hash != null) + return hash; + hash = 664597 * B.JSString_methods.get$hashCode(this._name) & 536870911; + this._hashCode = hash; + return hash; + }, + toString$0(_) { + return 'Symbol("' + this._name + '")'; + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Symbol && this._name === other._name; + }, + $isSymbol0: 1 + }; + A.__CastListBase__CastIterableBase_ListMixin.prototype = {}; + A.ConstantMapView.prototype = {}; + A.ConstantMap.prototype = { + get$isEmpty(_) { + return this.get$length(this) === 0; + }, + toString$0(_) { + return A.MapBase_mapToString(this); + }, + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + A.ConstantMap__throwUnmodifiable(); + }, + $isMap: 1 + }; + A.ConstantStringMap.prototype = { + get$length(_) { + return this._values.length; + }, + get$__js_helper$_keys() { + var keys = this.$keys; + if (keys == null) { + keys = Object.keys(this._jsIndex); + this.$keys = keys; + } + return keys; + }, + containsKey$1(_, key) { + if (typeof key != "string") + return false; + if ("__proto__" === key) + return false; + return this._jsIndex.hasOwnProperty(key); + }, + $index(_, key) { + if (!this.containsKey$1(0, key)) + return null; + return this._values[this._jsIndex[key]]; + }, + forEach$1(_, f) { + var keys, values, t1, i; + this.$ti._eval$1("~(1,2)")._as(f); + keys = this.get$__js_helper$_keys(); + values = this._values; + for (t1 = keys.length, i = 0; i < t1; ++i) + f.call$2(keys[i], values[i]); + }, + get$keys(_) { + return new A._KeysOrValues(this.get$__js_helper$_keys(), this.$ti._eval$1("_KeysOrValues<1>")); + } + }; + A._KeysOrValues.prototype = { + get$length(_) { + return this._elements.length; + }, + get$isEmpty(_) { + return 0 === this._elements.length; + }, + get$isNotEmpty(_) { + return 0 !== this._elements.length; + }, + get$iterator(_) { + var t1 = this._elements; + return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); + } + }; + A._KeysOrValuesOrElementsIterator.prototype = { + get$current(_) { + var t1 = this.__js_helper$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var _this = this, + t1 = _this.__js_helper$_index; + if (t1 >= _this._length) { + _this.set$__js_helper$_current(null); + return false; + } + _this.set$__js_helper$_current(_this._elements[t1]); + ++_this.__js_helper$_index; + return true; + }, + set$__js_helper$_current(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + A.Instantiation.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other); + }, + get$hashCode(_) { + return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue); + }, + toString$0(_) { + var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", "); + return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">"); + } + }; + A.Instantiation1.prototype = { + call$2(a0, a1) { + return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]); + }, + call$4(a0, a1, a2, a3) { + return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]); + }, + $signature() { + return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti); + } + }; + A.JSInvocationMirror.prototype = { + get$memberName() { + var t1 = this._memberName; + return t1; + }, + get$positionalArguments() { + var t1, argumentCount, list, index, _this = this; + if (_this.__js_helper$_kind === 1) + return B.List_empty0; + t1 = _this._arguments; + argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount; + if (argumentCount === 0) + return B.List_empty0; + list = []; + for (index = 0; index < argumentCount; ++index) { + if (!(index < t1.length)) + return A.ioore(t1, index); + list.push(t1[index]); + } + return J.JSArray_markUnmodifiableList(list); + }, + get$namedArguments() { + var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4, _this = this; + if (_this.__js_helper$_kind !== 0) + return B.Map_empty0; + t1 = _this._namedArgumentNames; + namedArgumentCount = t1.length; + t2 = _this._arguments; + namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount; + if (namedArgumentCount === 0) + return B.Map_empty0; + map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic); + for (i = 0; i < namedArgumentCount; ++i) { + if (!(i < t1.length)) + return A.ioore(t1, i); + t3 = t1[i]; + t4 = namedArgumentsStartIndex + i; + if (!(t4 >= 0 && t4 < t2.length)) + return A.ioore(t2, t4); + map.$indexSet(0, new A.Symbol(t3), t2[t4]); + } + return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); + }, + $isInvocation: 1 + }; + A.Primitives_functionNoSuchMethod_closure.prototype = { + call$2($name, argument) { + var t1; + A._asString($name); + t1 = this._box_0; + t1.names = t1.names + "$" + $name; + B.JSArray_methods.add$1(this.namedArgumentList, $name); + B.JSArray_methods.add$1(this.$arguments, argument); + ++t1.argumentCount; + }, + $signature: 4 + }; + A.TypeErrorDecoder.prototype = { + matchTypeError$1(message) { + var result, t1, _this = this, + match = new RegExp(_this._pattern).exec(message); + if (match == null) + return null; + result = Object.create(null); + t1 = _this._arguments; + if (t1 !== -1) + result.arguments = match[t1 + 1]; + t1 = _this._argumentsExpr; + if (t1 !== -1) + result.argumentsExpr = match[t1 + 1]; + t1 = _this._expr; + if (t1 !== -1) + result.expr = match[t1 + 1]; + t1 = _this._method; + if (t1 !== -1) + result.method = match[t1 + 1]; + t1 = _this._receiver; + if (t1 !== -1) + result.receiver = match[t1 + 1]; + return result; + } + }; + A.NullError.prototype = { + toString$0(_) { + return "Null check operator used on a null value"; + } + }; + A.JsNoSuchMethodError.prototype = { + toString$0(_) { + var t2, _this = this, + _s38_ = "NoSuchMethodError: method not found: '", + t1 = _this._method; + if (t1 == null) + return "NoSuchMethodError: " + _this.__js_helper$_message; + t2 = _this._receiver; + if (t2 == null) + return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")"; + return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")"; + } + }; + A.UnknownJsTypeError.prototype = { + toString$0(_) { + var t1 = this.__js_helper$_message; + return t1.length === 0 ? "Error" : "Error: " + t1; + } + }; + A.NullThrownFromJavaScriptException.prototype = { + toString$0(_) { + return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)"; + }, + $isException: 1 + }; + A._StackTrace.prototype = { + toString$0(_) { + var trace, + t1 = this._trace; + if (t1 != null) + return t1; + t1 = this._exception; + trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; + return this._trace = trace == null ? "" : trace; + }, + $isStackTrace: 1 + }; + A.Closure.prototype = { + toString$0(_) { + var $constructor = this.constructor, + $name = $constructor == null ? null : $constructor.name; + return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'"; + }, + $isFunction: 1, + get$$call() { + return this; + }, + "call*": "call$1", + $requiredArgCount: 1, + $defaultValues: null + }; + A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0}; + A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2}; + A.TearOffClosure.prototype = {}; + A.StaticClosure.prototype = { + toString$0(_) { + var $name = this.$static_name; + if ($name == null) + return "Closure of unknown static method"; + return "Closure '" + A.unminifyOrTag($name) + "'"; + } + }; + A.BoundClosure.prototype = { + $eq(_, other) { + if (other == null) + return false; + if (this === other) + return true; + if (!(other instanceof A.BoundClosure)) + return false; + return this.$_target === other.$_target && this._receiver === other._receiver; + }, + get$hashCode(_) { + return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0; + }, + toString$0(_) { + return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'"); + } + }; + A._CyclicInitializationError.prototype = { + toString$0(_) { + return "Reading static variable '" + this.variableName + "' during its initialization"; + } + }; + A.RuntimeError.prototype = { + toString$0(_) { + return "RuntimeError: " + this.message; + } + }; + A._AssertionError.prototype = { + toString$0(_) { + return "Assertion failed: " + A.Error_safeToString(this.message); + } + }; + A._Required.prototype = {}; + A.JsLinkedHashMap.prototype = { + get$length(_) { + return this._length; + }, + get$isEmpty(_) { + return this._length === 0; + }, + get$keys(_) { + return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); + }, + get$values(_) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]); + }, + containsKey$1(_, key) { + var strings, nums; + if (typeof key == "string") { + strings = this._strings; + if (strings == null) + return false; + return strings[key] != null; + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = this._nums; + if (nums == null) + return false; + return nums[key] != null; + } else + return this.internalContainsKey$1(key); + }, + internalContainsKey$1(key) { + var rest = this.__js_helper$_rest; + if (rest == null) + return false; + return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0; + }, + $index(_, key) { + var strings, cell, t1, nums, _null = null; + if (typeof key == "string") { + strings = this._strings; + if (strings == null) + return _null; + cell = strings[key]; + t1 = cell == null ? _null : cell.hashMapCellValue; + return t1; + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = this._nums; + if (nums == null) + return _null; + cell = nums[key]; + t1 = cell == null ? _null : cell.hashMapCellValue; + return t1; + } else + return this.internalGet$1(key); + }, + internalGet$1(key) { + var bucket, index, + rest = this.__js_helper$_rest; + if (rest == null) + return null; + bucket = rest[this.internalComputeHashCode$1(key)]; + index = this.internalFindBucketIndex$2(bucket, key); + if (index < 0) + return null; + return bucket[index].hashMapCellValue; + }, + $indexSet(_, key, value) { + var strings, nums, rest, hash, bucket, index, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string") { + strings = _this._strings; + _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value); + } else if (typeof key == "number" && (key & 0x3fffffff) === key) { + nums = _this._nums; + _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value); + } else { + rest = _this.__js_helper$_rest; + if (rest == null) + rest = _this.__js_helper$_rest = _this._newHashTable$0(); + hash = _this.internalComputeHashCode$1(key); + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [_this._newLinkedCell$2(key, value)]; + else { + index = _this.internalFindBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index].hashMapCellValue = value; + else + bucket.push(_this._newLinkedCell$2(key, value)); + } + } + }, + putIfAbsent$2(_, key, ifAbsent) { + var t2, value, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._eval$1("2()")._as(ifAbsent); + if (_this.containsKey$1(0, key)) { + t2 = _this.$index(0, key); + return t2 == null ? t1._rest[1]._as(t2) : t2; + } + value = ifAbsent.call$0(); + _this.$indexSet(0, key, value); + return value; + }, + remove$1(_, key) { + var _this = this; + if (typeof key == "string") + return _this._removeHashTableEntry$2(_this._strings, key); + else if (typeof key == "number" && (key & 0x3fffffff) === key) + return _this._removeHashTableEntry$2(_this._nums, key); + else + return _this.internalRemove$1(key); + }, + internalRemove$1(key) { + var hash, bucket, index, cell, _this = this, + rest = _this.__js_helper$_rest; + if (rest == null) + return null; + hash = _this.internalComputeHashCode$1(key); + bucket = rest[hash]; + index = _this.internalFindBucketIndex$2(bucket, key); + if (index < 0) + return null; + cell = bucket.splice(index, 1)[0]; + _this._unlinkCell$1(cell); + if (bucket.length === 0) + delete rest[hash]; + return cell.hashMapCellValue; + }, + clear$0(_) { + var _this = this; + if (_this._length > 0) { + _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; + _this._length = 0; + _this._modified$0(); + } + }, + forEach$1(_, action) { + var cell, modifications, _this = this; + A._instanceType(_this)._eval$1("~(1,2)")._as(action); + cell = _this._first; + modifications = _this._modifications; + for (; cell != null;) { + action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); + if (modifications !== _this._modifications) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + cell = cell._next; + } + }, + _addHashTableEntry$3(table, key, value) { + var cell, + t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + cell = table[key]; + if (cell == null) + table[key] = this._newLinkedCell$2(key, value); + else + cell.hashMapCellValue = value; + }, + _removeHashTableEntry$2(table, key) { + var cell; + if (table == null) + return null; + cell = table[key]; + if (cell == null) + return null; + this._unlinkCell$1(cell); + delete table[key]; + return cell.hashMapCellValue; + }, + _modified$0() { + this._modifications = this._modifications + 1 & 1073741823; + }, + _newLinkedCell$2(key, value) { + var _this = this, + t1 = A._instanceType(_this), + cell = new A.LinkedHashMapCell(t1._precomputed1._as(key), t1._rest[1]._as(value)); + if (_this._first == null) + _this._first = _this._last = cell; + else { + t1 = _this._last; + t1.toString; + cell._previous = t1; + _this._last = t1._next = cell; + } + ++_this._length; + _this._modified$0(); + return cell; + }, + _unlinkCell$1(cell) { + var _this = this, + previous = cell._previous, + next = cell._next; + if (previous == null) + _this._first = next; + else + previous._next = next; + if (next == null) + _this._last = previous; + else + next._previous = previous; + --_this._length; + _this._modified$0(); + }, + internalComputeHashCode$1(key) { + return J.get$hashCode$(key) & 1073741823; + }, + internalFindBucketIndex$2(bucket, key) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i].hashMapCellKey, key)) + return i; + return -1; + }, + toString$0(_) { + return A.MapBase_mapToString(this); + }, + _newHashTable$0() { + var table = Object.create(null); + table[""] = table; + delete table[""]; + return table; + }, + $isLinkedHashMap: 1 + }; + A.JsLinkedHashMap_values_closure.prototype = { + call$1(each) { + var t1 = this.$this, + t2 = A._instanceType(t1); + t1 = t1.$index(0, t2._precomputed1._as(each)); + return t1 == null ? t2._rest[1]._as(t1) : t1; + }, + $signature() { + return A._instanceType(this.$this)._eval$1("2(1)"); + } + }; + A.LinkedHashMapCell.prototype = {}; + A.LinkedHashMapKeyIterable.prototype = { + get$length(_) { + return this._map._length; + }, + get$isEmpty(_) { + return this._map._length === 0; + }, + get$iterator(_) { + var t1 = this._map, + t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti._eval$1("LinkedHashMapKeyIterator<1>")); + t2._cell = t1._first; + return t2; + }, + contains$1(_, element) { + return this._map.containsKey$1(0, element); + } + }; + A.LinkedHashMapKeyIterator.prototype = { + get$current(_) { + return this.__js_helper$_current; + }, + moveNext$0() { + var cell, _this = this, + t1 = _this._map; + if (_this._modifications !== t1._modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + cell = _this._cell; + if (cell == null) { + _this.set$__js_helper$_current(null); + return false; + } else { + _this.set$__js_helper$_current(cell.hashMapCellKey); + _this._cell = cell._next; + return true; + } + }, + set$__js_helper$_current(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + A.initHooks_closure.prototype = { + call$1(o) { + return this.getTag(o); + }, + $signature: 15 + }; + A.initHooks_closure0.prototype = { + call$2(o, tag) { + return this.getUnknownTag(o, tag); + }, + $signature: 36 + }; + A.initHooks_closure1.prototype = { + call$1(tag) { + return this.prototypeForTag(A._asString(tag)); + }, + $signature: 37 + }; + A.JSSyntaxRegExp.prototype = { + toString$0(_) { + return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags; + }, + get$_nativeGlobalVersion() { + var _this = this, + t1 = _this._nativeGlobalRegExp; + if (t1 != null) + return t1; + t1 = _this._nativeRegExp; + return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); + }, + get$_nativeAnchoredVersion() { + var _this = this, + t1 = _this._nativeAnchoredRegExp; + if (t1 != null) + return t1; + t1 = _this._nativeRegExp; + return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); + }, + firstMatch$1(string) { + var m = this._nativeRegExp.exec(string); + if (m == null) + return null; + return new A._MatchImplementation(m); + }, + allMatches$2(_, string, start) { + var t1 = string.length; + if (start > t1) + throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); + return new A._AllMatchesIterable(this, string, start); + }, + allMatches$1($receiver, string) { + return this.allMatches$2($receiver, string, 0); + }, + _execGlobal$2(string, start) { + var match, + regexp = this.get$_nativeGlobalVersion(); + if (regexp == null) + regexp = type$.Object._as(regexp); + regexp.lastIndex = start; + match = regexp.exec(string); + if (match == null) + return null; + return new A._MatchImplementation(match); + }, + _execAnchored$2(string, start) { + var match, + regexp = this.get$_nativeAnchoredVersion(); + if (regexp == null) + regexp = type$.Object._as(regexp); + regexp.lastIndex = start; + match = regexp.exec(string); + if (match == null) + return null; + if (0 >= match.length) + return A.ioore(match, -1); + if (match.pop() != null) + return null; + return new A._MatchImplementation(match); + }, + matchAsPrefix$2(_, string, start) { + if (start < 0 || start > string.length) + throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null)); + return this._execAnchored$2(string, start); + }, + $isPattern: 1, + $isRegExp: 1 + }; + A._MatchImplementation.prototype = { + get$start(_) { + return this._match.index; + }, + get$end(_) { + var t1 = this._match; + return t1.index + t1[0].length; + }, + $isMatch: 1, + $isRegExpMatch: 1 + }; + A._AllMatchesIterable.prototype = { + get$iterator(_) { + return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start); + } + }; + A._AllMatchesIterator.prototype = { + get$current(_) { + var t1 = this.__js_helper$_current; + return t1 == null ? type$.RegExpMatch._as(t1) : t1; + }, + moveNext$0() { + var t1, t2, t3, match, nextIndex, _this = this, + string = _this.__js_helper$_string; + if (string == null) + return false; + t1 = _this._nextIndex; + t2 = string.length; + if (t1 <= t2) { + t3 = _this._regExp; + match = t3._execGlobal$2(string, t1); + if (match != null) { + _this.__js_helper$_current = match; + nextIndex = match.get$end(match); + if (match._match.index === nextIndex) { + if (t3._nativeRegExp.unicode) { + t1 = _this._nextIndex; + t3 = t1 + 1; + if (t3 < t2) { + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(string, t1); + t1 = string.charCodeAt(t1); + if (t1 >= 55296 && t1 <= 56319) { + if (!(t3 >= 0)) + return A.ioore(string, t3); + t1 = string.charCodeAt(t3); + t1 = t1 >= 56320 && t1 <= 57343; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; + } + _this._nextIndex = nextIndex; + return true; + } + } + _this.__js_helper$_string = _this.__js_helper$_current = null; + return false; + }, + $isIterator: 1 + }; + A.StringMatch.prototype = { + get$end(_) { + return this.start + this.pattern.length; + }, + $isMatch: 1, + get$start(receiver) { + return this.start; + } + }; + A._StringAllMatchesIterable.prototype = { + get$iterator(_) { + return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); + } + }; + A._StringAllMatchesIterator.prototype = { + moveNext$0() { + var index, end, _this = this, + t1 = _this.__js_helper$_index, + t2 = _this._pattern, + t3 = t2.length, + t4 = _this._input, + t5 = t4.length; + if (t1 + t3 > t5) { + _this.__js_helper$_current = null; + return false; + } + index = t4.indexOf(t2, t1); + if (index < 0) { + _this.__js_helper$_index = t5 + 1; + _this.__js_helper$_current = null; + return false; + } + end = index + t3; + _this.__js_helper$_current = new A.StringMatch(index, t2); + _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end; + return true; + }, + get$current(_) { + var t1 = this.__js_helper$_current; + t1.toString; + return t1; + }, + $isIterator: 1 + }; + A._Cell.prototype = { + _readLocal$0() { + var t1 = this._value; + if (t1 === this) + throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); + return t1; + } + }; + A._InitializedCell.prototype = { + _readFinal$0() { + var result, _this = this, + t1 = _this._value; + if (t1 === _this) { + result = _this._initializer.call$0(); + if (_this._value !== _this) + throw A.wrapException(new A.LateError("Local '" + _this.__late_helper$_name + string$.x27_has_)); + _this._value = result; + t1 = result; + } + return t1; + } + }; + A.NativeByteBuffer.prototype = { + get$runtimeType(receiver) { + return B.Type_ByteBuffer_RkP; + }, + $isTrustedGetRuntimeType: 1, + $isByteBuffer: 1 + }; + A.NativeTypedData.prototype = {}; + A.NativeByteData.prototype = { + get$runtimeType(receiver) { + return B.Type_ByteData_zNC; + }, + $isTrustedGetRuntimeType: 1, + $isByteData: 1 + }; + A.NativeTypedArray.prototype = { + get$length(receiver) { + return receiver.length; + }, + $isJavaScriptIndexingBehavior: 1 + }; + A.NativeTypedArrayOfDouble.prototype = { + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + A._asDouble(value); + A._checkValidIndex(index, receiver, receiver.length); + receiver[index] = value; + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.NativeTypedArrayOfInt.prototype = { + $indexSet(receiver, index, value) { + A._asInt(value); + A._checkValidIndex(index, receiver, receiver.length); + receiver[index] = value; + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.NativeFloat32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Float32List_LB7; + }, + $isTrustedGetRuntimeType: 1, + $isFloat32List: 1 + }; + A.NativeFloat64List.prototype = { + get$runtimeType(receiver) { + return B.Type_Float64List_LB7; + }, + $isTrustedGetRuntimeType: 1, + $isFloat64List: 1 + }; + A.NativeInt16List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int16List_uXf; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $isTrustedGetRuntimeType: 1, + $isInt16List: 1 + }; + A.NativeInt32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int32List_O50; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $isTrustedGetRuntimeType: 1, + $isInt32List: 1 + }; + A.NativeInt8List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int8List_ekJ; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $isTrustedGetRuntimeType: 1, + $isInt8List: 1 + }; + A.NativeUint16List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint16List_2bx; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $isTrustedGetRuntimeType: 1, + $isUint16List: 1 + }; + A.NativeUint32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint32List_2bx; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $isTrustedGetRuntimeType: 1, + $isUint32List: 1 + }; + A.NativeUint8ClampedList.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint8ClampedList_Jik; + }, + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + $isTrustedGetRuntimeType: 1, + $isUint8ClampedList: 1 + }; + A.NativeUint8List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint8List_WLA; + }, + get$length(receiver) { + return receiver.length; + }, + $index(receiver, index) { + A._checkValidIndex(index, receiver, receiver.length); + return receiver[index]; + }, + sublist$2(receiver, start, end) { + return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); + }, + $isTrustedGetRuntimeType: 1, + $isNativeUint8List: 1, + $isUint8List: 1 + }; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; + A.Rti.prototype = { + _eval$1(recipe) { + return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe); + }, + _bind$1(typeOrTuple) { + return A._Universe_bind(init.typeUniverse, this, typeOrTuple); + } + }; + A._FunctionParameters.prototype = {}; + A._Type.prototype = { + toString$0(_) { + return A._rtiToString(this._rti, null); + } + }; + A._Error.prototype = { + toString$0(_) { + return this.__rti$_message; + } + }; + A._TypeError.prototype = {$isTypeError: 1}; + A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { + call$1(_) { + var t1 = this._box_0, + f = t1.storedCallback; + t1.storedCallback = null; + f.call$0(); + }, + $signature: 10 + }; + A._AsyncRun__initializeScheduleImmediate_closure.prototype = { + call$1(callback) { + var t1, t2; + this._box_0.storedCallback = type$.void_Function._as(callback); + t1 = this.div; + t2 = this.span; + t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); + }, + $signature: 30 + }; + A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { + call$0() { + this.callback.call$0(); + }, + $signature: 3 + }; + A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { + call$0() { + this.callback.call$0(); + }, + $signature: 3 + }; + A._TimerImpl.prototype = { + _TimerImpl$2(milliseconds, callback) { + if (self.setTimeout != null) + self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds); + else + throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found.")); + }, + _TimerImpl$periodic$2(milliseconds, callback) { + if (self.setTimeout != null) + self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); + else + throw A.wrapException(A.UnsupportedError$("Periodic timer.")); + }, + $isTimer: 1 + }; + A._TimerImpl_internalCallback.prototype = { + call$0() { + this.$this._tick = 1; + this.callback.call$0(); + }, + $signature: 0 + }; + A._TimerImpl$periodic_closure.prototype = { + call$0() { + var duration, _this = this, + t1 = _this.$this, + tick = t1._tick + 1, + t2 = _this.milliseconds; + if (t2 > 0) { + duration = Date.now() - _this.start; + if (duration > (tick + 1) * t2) + tick = B.JSInt_methods.$tdiv(duration, t2); + } + t1._tick = tick; + _this.callback.call$1(t1); + }, + $signature: 3 + }; + A.AsyncError.prototype = { + toString$0(_) { + return A.S(this.error); + }, + $isError: 1, + get$stackTrace() { + return this.stackTrace; + } + }; + A._Completer.prototype = { + completeError$2(error, stackTrace) { + var replacement; + A.checkNotNullable(error, "error", type$.Object); + if ((this.future._async$_state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + replacement = $.Zone__current.errorCallback$2(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + this._completeError$2(error, stackTrace); + }, + completeError$1(error) { + return this.completeError$2(error, null); + }, + $isCompleter: 1 + }; + A._AsyncCompleter.prototype = { + complete$1(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if ((t2._async$_state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + t2._asyncComplete$1(t1._eval$1("1/")._as(value)); + }, + complete$0($receiver) { + return this.complete$1($receiver, null); + }, + _completeError$2(error, stackTrace) { + this.future._asyncCompleteError$2(error, stackTrace); + } + }; + A._SyncCompleter.prototype = { + complete$1(_, value) { + var t2, + t1 = this.$ti; + t1._eval$1("1/?")._as(value); + t2 = this.future; + if ((t2._async$_state & 30) !== 0) + throw A.wrapException(A.StateError$("Future already completed")); + t2._complete$1(t1._eval$1("1/")._as(value)); + }, + complete$0($receiver) { + return this.complete$1($receiver, null); + }, + _completeError$2(error, stackTrace) { + this.future._completeError$2(error, stackTrace); + } + }; + A._FutureListener.prototype = { + matchesErrorTest$1(asyncError) { + if ((this.state & 15) !== 6) + return true; + return this.result._zone.runUnary$2$2(type$.bool_Function_Object._as(this.callback), asyncError.error, type$.bool, type$.Object); + }, + handleError$1(asyncError) { + var exception, _this = this, + errorCallback = _this.errorCallback, + result = null, + t1 = type$.dynamic, + t2 = type$.Object, + t3 = asyncError.error, + t4 = _this.result._zone; + if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) + result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace); + else + result = t4.runUnary$2$2(type$.dynamic_Function_Object._as(errorCallback), t3, t1, t2); + try { + t1 = _this.$ti._eval$1("2/")._as(result); + return t1; + } catch (exception) { + if (type$.TypeError._is(A.unwrapException(exception))) { + if ((_this.state & 1) !== 0) + throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError")); + throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError")); + } else + throw exception; + } + } + }; + A._Future.prototype = { + _setChained$1(source) { + this._async$_state = this._async$_state & 1 | 4; + this._resultOrListeners = source; + }, + then$1$2$onError(f, onError, $R) { + var currentZone, result, t2, + t1 = this.$ti; + t1._bind$1($R)._eval$1("1/(2)")._as(f); + currentZone = $.Zone__current; + if (currentZone === B.C__RootZone) { + if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError)) + throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_)); + } else { + f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), t1._precomputed1); + if (onError != null) + onError = A._registerErrorHandler(onError, currentZone); + } + result = new A._Future($.Zone__current, $R._eval$1("_Future<0>")); + t2 = onError == null ? 1 : 3; + this._addListener$1(new A._FutureListener(result, t2, f, onError, t1._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>"))); + return result; + }, + then$1$1(f, $R) { + return this.then$1$2$onError(f, null, $R); + }, + whenComplete$1(action) { + var t1, t2, result; + type$.dynamic_Function._as(action); + t1 = this.$ti; + t2 = $.Zone__current; + result = new A._Future(t2, t1); + if (t2 !== B.C__RootZone) + action = t2.registerCallback$1$1(action, type$.dynamic); + this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); + return result; + }, + _setErrorObject$1(error) { + this._async$_state = this._async$_state & 1 | 16; + this._resultOrListeners = error; + }, + _cloneResult$1(source) { + this._async$_state = source._async$_state & 30 | this._async$_state & 1; + this._resultOrListeners = source._resultOrListeners; + }, + _addListener$1(listener) { + var source, _this = this, + t1 = _this._async$_state; + if (t1 <= 3) { + listener._nextListener = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listener; + } else { + if ((t1 & 4) !== 0) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + if ((source._async$_state & 24) === 0) { + source._addListener$1(listener); + return; + } + _this._cloneResult$1(source); + } + _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener)); + } + }, + _prependListeners$1(listeners) { + var t1, existingListeners, next, cursor, next0, source, _this = this, _box_0 = {}; + _box_0.listeners = listeners; + if (listeners == null) + return; + t1 = _this._async$_state; + if (t1 <= 3) { + existingListeners = type$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners); + _this._resultOrListeners = listeners; + if (existingListeners != null) { + next = listeners._nextListener; + for (cursor = listeners; next != null; cursor = next, next = next0) + next0 = next._nextListener; + cursor._nextListener = existingListeners; + } + } else { + if ((t1 & 4) !== 0) { + source = type$._Future_dynamic._as(_this._resultOrListeners); + if ((source._async$_state & 24) === 0) { + source._prependListeners$1(listeners); + return; + } + _this._cloneResult$1(source); + } + _box_0.listeners = _this._reverseListeners$1(listeners); + _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this)); + } + }, + _removeListeners$0() { + var current = type$.nullable__FutureListener_dynamic_dynamic._as(this._resultOrListeners); + this._resultOrListeners = null; + return this._reverseListeners$1(current); + }, + _reverseListeners$1(listeners) { + var current, prev, next; + for (current = listeners, prev = null; current != null; prev = current, current = next) { + next = current._nextListener; + current._nextListener = prev; + } + return prev; + }, + _chainForeignFuture$1(source) { + var e, s, exception, _this = this; + _this._async$_state ^= 2; + try { + source.then$1$2$onError(new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s)); + } + }, + _complete$1(value) { + var listeners, _this = this, + t1 = _this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) + if (t1._is(value)) + A._Future__chainCoreFutureSync(value, _this); + else + _this._chainForeignFuture$1(value); + else { + listeners = _this._removeListeners$0(); + t1._precomputed1._as(value); + _this._async$_state = 8; + _this._resultOrListeners = value; + A._Future__propagateToListeners(_this, listeners); + } + }, + _completeWithValue$1(value) { + var listeners, _this = this; + _this.$ti._precomputed1._as(value); + listeners = _this._removeListeners$0(); + _this._async$_state = 8; + _this._resultOrListeners = value; + A._Future__propagateToListeners(_this, listeners); + }, + _completeError$2(error, stackTrace) { + var listeners; + type$.Object._as(error); + type$.StackTrace._as(stackTrace); + listeners = this._removeListeners$0(); + this._setErrorObject$1(A.AsyncError$(error, stackTrace)); + A._Future__propagateToListeners(this, listeners); + }, + _asyncComplete$1(value) { + var t1 = this.$ti; + t1._eval$1("1/")._as(value); + if (t1._eval$1("Future<1>")._is(value)) { + this._chainFuture$1(value); + return; + } + this._asyncCompleteWithValue$1(value); + }, + _asyncCompleteWithValue$1(value) { + var _this = this; + _this.$ti._precomputed1._as(value); + _this._async$_state ^= 2; + _this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(_this, value)); + }, + _chainFuture$1(value) { + var t1 = this.$ti; + t1._eval$1("Future<1>")._as(value); + if (t1._is(value)) { + A._Future__chainCoreFutureAsync(value, this); + return; + } + this._chainForeignFuture$1(value); + }, + _asyncCompleteError$2(error, stackTrace) { + type$.StackTrace._as(stackTrace); + this._async$_state ^= 2; + this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace)); + }, + $isFuture: 1 + }; + A._Future__addListener_closure.prototype = { + call$0() { + A._Future__propagateToListeners(this.$this, this.listener); + }, + $signature: 0 + }; + A._Future__prependListeners_closure.prototype = { + call$0() { + A._Future__propagateToListeners(this.$this, this._box_0.listeners); + }, + $signature: 0 + }; + A._Future__chainForeignFuture_closure.prototype = { + call$1(value) { + var error, stackTrace, exception, + t1 = this.$this; + t1._async$_state ^= 2; + try { + t1._completeWithValue$1(t1.$ti._precomputed1._as(value)); + } catch (exception) { + error = A.unwrapException(exception); + stackTrace = A.getTraceFromException(exception); + t1._completeError$2(error, stackTrace); + } + }, + $signature: 10 + }; + A._Future__chainForeignFuture_closure0.prototype = { + call$2(error, stackTrace) { + this.$this._completeError$2(type$.Object._as(error), type$.StackTrace._as(stackTrace)); + }, + $signature: 26 + }; + A._Future__chainForeignFuture_closure1.prototype = { + call$0() { + this.$this._completeError$2(this.e, this.s); + }, + $signature: 0 + }; + A._Future__chainCoreFutureAsync_closure.prototype = { + call$0() { + A._Future__chainCoreFutureSync(this._box_0.source, this.target); + }, + $signature: 0 + }; + A._Future__asyncCompleteWithValue_closure.prototype = { + call$0() { + this.$this._completeWithValue$1(this.value); + }, + $signature: 0 + }; + A._Future__asyncCompleteError_closure.prototype = { + call$0() { + this.$this._completeError$2(this.error, this.stackTrace); + }, + $signature: 0 + }; + A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { + call$0() { + var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null; + try { + t1 = _this._box_0.listener; + completeResult = t1.result._zone.run$1$1(type$.dynamic_Function._as(t1.callback), type$.dynamic); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = _this.hasError && type$.AsyncError._as(_this._box_1.source._resultOrListeners).error === e; + t2 = _this._box_0; + if (t1) + t2.listenerValueOrError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + else + t2.listenerValueOrError = A.AsyncError$(e, s); + t2.listenerHasError = true; + return; + } + if (completeResult instanceof A._Future && (completeResult._async$_state & 24) !== 0) { + if ((completeResult._async$_state & 16) !== 0) { + t1 = _this._box_0; + t1.listenerValueOrError = type$.AsyncError._as(completeResult._resultOrListeners); + t1.listenerHasError = true; + } + return; + } + if (completeResult instanceof A._Future) { + originalSource = _this._box_1.source; + t1 = _this._box_0; + t1.listenerValueOrError = completeResult.then$1$1(new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); + t1.listenerHasError = false; + } + }, + $signature: 0 + }; + A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { + call$1(_) { + return this.originalSource; + }, + $signature: 28 + }; + A._Future__propagateToListeners_handleValueCallback.prototype = { + call$0() { + var e, s, t1, t2, t3, t4, t5, exception; + try { + t1 = this._box_0; + t2 = t1.listener; + t3 = t2.$ti; + t4 = t3._precomputed1; + t5 = t4._as(this.sourceResult); + t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t3._eval$1("2/(1)")._as(t2.callback), t5, t3._eval$1("2/"), t4); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = this._box_0; + t1.listenerValueOrError = A.AsyncError$(e, s); + t1.listenerHasError = true; + } + }, + $signature: 0 + }; + A._Future__propagateToListeners_handleError.prototype = { + call$0() { + var asyncError, e, s, t1, exception, t2, _this = this; + try { + asyncError = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t1 = _this._box_0; + if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) { + t1.listenerValueOrError = t1.listener.handleError$1(asyncError); + t1.listenerHasError = false; + } + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t1 = type$.AsyncError._as(_this._box_1.source._resultOrListeners); + t2 = _this._box_0; + if (t1.error === e) + t2.listenerValueOrError = t1; + else + t2.listenerValueOrError = A.AsyncError$(e, s); + t2.listenerHasError = true; + } + }, + $signature: 0 + }; + A._AsyncCallbackEntry.prototype = {}; + A.Stream.prototype = { + pipe$1(streamConsumer) { + A._instanceType(this)._eval$1("StreamConsumer")._as(streamConsumer); + return streamConsumer.addStream$1(0, this).then$1$1(new A.Stream_pipe_closure(streamConsumer), type$.dynamic); + }, + get$length(_) { + var t1 = {}, + future = new A._Future($.Zone__current, type$._Future_int); + t1.count = 0; + this.listen$4$cancelOnError$onDone$onError(new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError()); + return future; + } + }; + A.Stream_pipe_closure.prototype = { + call$1(_) { + return this.streamConsumer.close$0(0); + }, + $signature: 29 + }; + A.Stream_length_closure.prototype = { + call$1(_) { + A._instanceType(this.$this)._eval$1("Stream.T")._as(_); + ++this._box_0.count; + }, + $signature() { + return A._instanceType(this.$this)._eval$1("~(Stream.T)"); + } + }; + A.Stream_length_closure0.prototype = { + call$0() { + this.future._complete$1(this._box_0.count); + }, + $signature: 0 + }; + A._StreamController.prototype = { + get$_pendingEvents() { + var t1, _this = this; + if ((_this._async$_state & 8) === 0) + return A._instanceType(_this)._eval$1("_PendingEvents<1>?")._as(_this._varData); + t1 = A._instanceType(_this); + return t1._eval$1("_PendingEvents<1>?")._as(t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).varData); + }, + _ensurePendingEvents$0() { + var events, t1, state, _this = this; + if ((_this._async$_state & 8) === 0) { + events = _this._varData; + if (events == null) + events = _this._varData = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<1>")); + return A._instanceType(_this)._eval$1("_PendingEvents<1>")._as(events); + } + t1 = A._instanceType(_this); + state = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); + events = state.varData; + if (events == null) + events = state.varData = new A._PendingEvents(t1._eval$1("_PendingEvents<1>")); + return t1._eval$1("_PendingEvents<1>")._as(events); + }, + get$_async$_subscription() { + var varData = this._varData; + if ((this._async$_state & 8) !== 0) + varData = type$._StreamControllerAddStreamState_nullable_Object._as(varData).varData; + return A._instanceType(this)._eval$1("_ControllerSubscription<1>")._as(varData); + }, + _badEventState$0() { + if ((this._async$_state & 4) !== 0) + return new A.StateError("Cannot add event after closing"); + return new A.StateError("Cannot add event while adding a stream"); + }, + _ensureDoneFuture$0() { + var t1 = this._doneFuture; + if (t1 == null) + t1 = this._doneFuture = (this._async$_state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void); + return t1; + }, + add$1(_, value) { + var _this = this; + A._instanceType(_this)._precomputed1._as(value); + if (_this._async$_state >= 4) + throw A.wrapException(_this._badEventState$0()); + _this._add$1(0, value); + }, + addError$2(error, stackTrace) { + var replacement, + t1 = type$.Object; + t1._as(error); + type$.nullable_StackTrace._as(stackTrace); + A.checkNotNullable(error, "error", t1); + if (this._async$_state >= 4) + throw A.wrapException(this._badEventState$0()); + replacement = $.Zone__current.errorCallback$2(error, stackTrace); + if (replacement != null) { + error = replacement.error; + stackTrace = replacement.stackTrace; + } else if (stackTrace == null) + stackTrace = A.AsyncError_defaultStackTrace(error); + this._async$_addError$2(error, stackTrace); + }, + addError$1(error) { + return this.addError$2(error, null); + }, + close$0(_) { + var _this = this, + t1 = _this._async$_state; + if ((t1 & 4) !== 0) + return _this._ensureDoneFuture$0(); + if (t1 >= 4) + throw A.wrapException(_this._badEventState$0()); + t1 = _this._async$_state = t1 | 4; + if ((t1 & 1) !== 0) + _this._sendDone$0(); + else if ((t1 & 3) === 0) + _this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone); + return _this._ensureDoneFuture$0(); + }, + _add$1(_, value) { + var t2, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(value); + t2 = _this._async$_state; + if ((t2 & 1) !== 0) + _this._sendData$1(value); + else if ((t2 & 3) === 0) + _this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value, t1._eval$1("_DelayedData<1>"))); + }, + _async$_addError$2(error, stackTrace) { + var t1 = this._async$_state; + if ((t1 & 1) !== 0) + this._sendError$2(error, stackTrace); + else if ((t1 & 3) === 0) + this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace)); + }, + _subscribe$4(onData, onError, onDone, cancelOnError) { + var t2, t3, t4, t5, t6, subscription, pendingEvents, addState, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + if ((_this._async$_state & 3) !== 0) + throw A.wrapException(A.StateError$("Stream has already been listened to.")); + t2 = $.Zone__current; + t3 = cancelOnError ? 1 : 0; + t4 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1); + t5 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError); + t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; + subscription = new A._ControllerSubscription(_this, t4, t5, t2.registerCallback$1$1(t6, type$.void), t2, t3, t1._eval$1("_ControllerSubscription<1>")); + pendingEvents = _this.get$_pendingEvents(); + t3 = _this._async$_state |= 1; + if ((t3 & 8) !== 0) { + addState = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); + addState.varData = subscription; + addState.addSubscription.resume$0(0); + } else + _this._varData = subscription; + subscription._setPendingEvents$1(pendingEvents); + subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this)); + return subscription; + }, + _recordCancel$1(subscription) { + var result, onCancel, cancelResult, e, s, exception, result0, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("StreamSubscription<1>")._as(subscription); + result = null; + if ((_this._async$_state & 8) !== 0) + result = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).cancel$0(0); + _this._varData = null; + _this._async$_state = _this._async$_state & 4294967286 | 2; + onCancel = _this.onCancel; + if (onCancel != null) + if (result == null) + try { + cancelResult = onCancel.call$0(); + if (cancelResult instanceof A._Future) + result = cancelResult; + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + result0 = new A._Future($.Zone__current, type$._Future_void); + result0._asyncCompleteError$2(e, s); + result = result0; + } + else + result = result.whenComplete$1(onCancel); + t1 = new A._StreamController__recordCancel_complete(_this); + if (result != null) + result = result.whenComplete$1(t1); + else + t1.call$0(); + return result; + }, + $isStreamConsumer: 1, + $isStreamSink: 1, + $isStreamController: 1, + $is_StreamControllerLifecycle: 1, + $is_EventDispatch: 1 + }; + A._StreamController__subscribe_closure.prototype = { + call$0() { + A._runGuarded(this.$this.onListen); + }, + $signature: 0 + }; + A._StreamController__recordCancel_complete.prototype = { + call$0() { + var doneFuture = this.$this._doneFuture; + if (doneFuture != null && (doneFuture._async$_state & 30) === 0) + doneFuture._asyncComplete$1(null); + }, + $signature: 0 + }; + A._SyncStreamControllerDispatch.prototype = { + _sendData$1(data) { + this.$ti._precomputed1._as(data); + this.get$_async$_subscription()._add$1(0, data); + }, + _sendError$2(error, stackTrace) { + this.get$_async$_subscription()._async$_addError$2(error, stackTrace); + }, + _sendDone$0() { + this.get$_async$_subscription()._close$0(); + } + }; + A._SyncStreamController.prototype = {}; + A._ControllerStream.prototype = { + get$hashCode(_) { + return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0; + }, + $eq(_, other) { + if (other == null) + return false; + if (this === other) + return true; + return other instanceof A._ControllerStream && other._controller === this._controller; + } + }; + A._ControllerSubscription.prototype = { + _onCancel$0() { + return this._controller._recordCancel$1(this); + }, + _onPause$0() { + var t1 = this._controller, + t2 = A._instanceType(t1); + t2._eval$1("StreamSubscription<1>")._as(this); + if ((t1._async$_state & 8) !== 0) + t2._eval$1("_StreamControllerAddStreamState<1>")._as(t1._varData).addSubscription.pause$0(0); + A._runGuarded(t1.onPause); + }, + _onResume$0() { + var t1 = this._controller, + t2 = A._instanceType(t1); + t2._eval$1("StreamSubscription<1>")._as(this); + if ((t1._async$_state & 8) !== 0) + t2._eval$1("_StreamControllerAddStreamState<1>")._as(t1._varData).addSubscription.resume$0(0); + A._runGuarded(t1.onResume); + } + }; + A._StreamSinkWrapper.prototype = { + add$1(_, data) { + this._target.add$1(0, this.$ti._precomputed1._as(data)); + }, + $isStreamConsumer: 1, + $isStreamSink: 1 + }; + A._AddStreamState_cancel_closure.prototype = { + call$0() { + this.$this.addStreamFuture._asyncComplete$1(null); + }, + $signature: 3 + }; + A._BufferingStreamSubscription.prototype = { + _setPendingEvents$1(pendingEvents) { + var _this = this; + A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(pendingEvents); + if (pendingEvents == null) + return; + _this.set$_pending(pendingEvents); + if (pendingEvents.lastPendingEvent != null) { + _this._async$_state = (_this._async$_state | 64) >>> 0; + pendingEvents.schedule$1(_this); + } + }, + onData$1(handleData) { + var t1 = A._instanceType(this); + this.set$_onData(A._BufferingStreamSubscription__registerDataHandler(this._zone, t1._eval$1("~(_BufferingStreamSubscription.T)?")._as(handleData), t1._eval$1("_BufferingStreamSubscription.T"))); + }, + onError$1(_, handleError) { + this._onError = A._BufferingStreamSubscription__registerErrorHandler(this._zone, handleError); + }, + cancel$0(_) { + var _this = this, + t1 = (_this._async$_state & 4294967279) >>> 0; + _this._async$_state = t1; + if ((t1 & 8) === 0) + _this._cancel$0(); + t1 = _this._cancelFuture; + return t1 == null ? $.$get$Future__nullFuture() : t1; + }, + _cancel$0() { + var t2, _this = this, + t1 = _this._async$_state = (_this._async$_state | 8) >>> 0; + if ((t1 & 64) !== 0) { + t2 = _this._pending; + if (t2._async$_state === 1) + t2._async$_state = 3; + } + if ((t1 & 32) === 0) + _this.set$_pending(null); + _this._cancelFuture = _this._onCancel$0(); + }, + _add$1(_, data) { + var t2, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("_BufferingStreamSubscription.T")._as(data); + t2 = _this._async$_state; + if ((t2 & 8) !== 0) + return; + if (t2 < 32) + _this._sendData$1(data); + else + _this._addPending$1(new A._DelayedData(data, t1._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); + }, + _async$_addError$2(error, stackTrace) { + var t1 = this._async$_state; + if ((t1 & 8) !== 0) + return; + if (t1 < 32) + this._sendError$2(error, stackTrace); + else + this._addPending$1(new A._DelayedError(error, stackTrace)); + }, + _close$0() { + var _this = this, + t1 = _this._async$_state; + if ((t1 & 8) !== 0) + return; + t1 = (t1 | 2) >>> 0; + _this._async$_state = t1; + if (t1 < 32) + _this._sendDone$0(); + else + _this._addPending$1(B.C__DelayedDone); + }, + _onPause$0() { + }, + _onResume$0() { + }, + _onCancel$0() { + return null; + }, + _addPending$1($event) { + var t1, _this = this, + pending = _this._pending; + if (pending == null) { + pending = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>")); + _this.set$_pending(pending); + } + pending.add$1(0, $event); + t1 = _this._async$_state; + if ((t1 & 64) === 0) { + t1 = (t1 | 64) >>> 0; + _this._async$_state = t1; + if (t1 < 128) + pending.schedule$1(_this); + } + }, + _sendData$1(data) { + var t2, _this = this, + t1 = A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"); + t1._as(data); + t2 = _this._async$_state; + _this._async$_state = (t2 | 32) >>> 0; + _this._zone.runUnaryGuarded$1$2(_this._onData, data, t1); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + _this._checkState$1((t2 & 4) !== 0); + }, + _sendError$2(error, stackTrace) { + var cancelFuture, _this = this, + t1 = _this._async$_state, + t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace); + if ((t1 & 1) !== 0) { + _this._async$_state = (t1 | 16) >>> 0; + _this._cancel$0(); + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t2); + else + t2.call$0(); + } else { + t2.call$0(); + _this._checkState$1((t1 & 4) !== 0); + } + }, + _sendDone$0() { + var cancelFuture, _this = this, + t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this); + _this._cancel$0(); + _this._async$_state = (_this._async$_state | 16) >>> 0; + cancelFuture = _this._cancelFuture; + if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) + cancelFuture.whenComplete$1(t1); + else + t1.call$0(); + }, + _guardCallback$1(callback) { + var t1, _this = this; + type$.void_Function._as(callback); + t1 = _this._async$_state; + _this._async$_state = (t1 | 32) >>> 0; + callback.call$0(); + _this._async$_state = (_this._async$_state & 4294967263) >>> 0; + _this._checkState$1((t1 & 4) !== 0); + }, + _checkState$1(wasInputPaused) { + var t2, isInputPaused, _this = this, + t1 = _this._async$_state; + if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) { + t1 = _this._async$_state = (t1 & 4294967231) >>> 0; + if ((t1 & 4) !== 0) + if (t1 < 128) { + t2 = _this._pending; + t2 = t2 == null ? null : t2.lastPendingEvent == null; + t2 = t2 !== false; + } else + t2 = false; + else + t2 = false; + if (t2) { + t1 = (t1 & 4294967291) >>> 0; + _this._async$_state = t1; + } + } + for (; true; wasInputPaused = isInputPaused) { + if ((t1 & 8) !== 0) { + _this.set$_pending(null); + return; + } + isInputPaused = (t1 & 4) !== 0; + if (wasInputPaused === isInputPaused) + break; + _this._async$_state = (t1 ^ 32) >>> 0; + if (isInputPaused) + _this._onPause$0(); + else + _this._onResume$0(); + t1 = (_this._async$_state & 4294967263) >>> 0; + _this._async$_state = t1; + } + if ((t1 & 64) !== 0 && t1 < 128) + _this._pending.schedule$1(_this); + }, + set$_onData(_onData) { + this._onData = A._instanceType(this)._eval$1("~(_BufferingStreamSubscription.T)")._as(_onData); + }, + set$_pending(_pending) { + this._pending = A._instanceType(this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>?")._as(_pending); + }, + $isStreamSubscription: 1, + $is_EventDispatch: 1 + }; + A._BufferingStreamSubscription__sendError_sendError.prototype = { + call$0() { + var onError, t3, t4, + t1 = this.$this, + t2 = t1._async$_state; + if ((t2 & 8) !== 0 && (t2 & 16) === 0) + return; + t1._async$_state = (t2 | 32) >>> 0; + onError = t1._onError; + t2 = this.error; + t3 = type$.Object; + t4 = t1._zone; + if (type$.void_Function_Object_StackTrace._is(onError)) + t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace); + else + t4.runUnaryGuarded$1$2(type$.void_Function_Object._as(onError), t2, t3); + t1._async$_state = (t1._async$_state & 4294967263) >>> 0; + }, + $signature: 0 + }; + A._BufferingStreamSubscription__sendDone_sendDone.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1._async$_state; + if ((t2 & 16) === 0) + return; + t1._async$_state = (t2 | 42) >>> 0; + t1._zone.runGuarded$1(t1._onDone); + t1._async$_state = (t1._async$_state & 4294967263) >>> 0; + }, + $signature: 0 + }; + A._StreamImpl.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t1 = this.$ti; + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + return this._controller._subscribe$4(t1._eval$1("~(1)?")._as(onData), onError, onDone, cancelOnError === true); + }, + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$2$onDone(onData, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, null); + }, + listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } + }; + A._DelayedEvent.prototype = { + set$next(_, next) { + this.next = type$.nullable__DelayedEvent_dynamic._as(next); + }, + get$next(receiver) { + return this.next; + } + }; + A._DelayedData.prototype = { + perform$1(dispatch) { + this.$ti._eval$1("_EventDispatch<1>")._as(dispatch)._sendData$1(this.value); + } + }; + A._DelayedError.prototype = { + perform$1(dispatch) { + dispatch._sendError$2(this.error, this.stackTrace); + } + }; + A._DelayedDone.prototype = { + perform$1(dispatch) { + dispatch._sendDone$0(); + }, + get$next(_) { + return null; + }, + set$next(_, _0) { + throw A.wrapException(A.StateError$("No events after a done.")); + }, + $is_DelayedEvent: 1 + }; + A._PendingEvents.prototype = { + schedule$1(dispatch) { + var t1, _this = this; + _this.$ti._eval$1("_EventDispatch<1>")._as(dispatch); + t1 = _this._async$_state; + if (t1 === 1) + return; + if (t1 >= 1) { + _this._async$_state = 1; + return; + } + A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch)); + _this._async$_state = 1; + }, + add$1(_, $event) { + var _this = this, + lastEvent = _this.lastPendingEvent; + if (lastEvent == null) + _this.firstPendingEvent = _this.lastPendingEvent = $event; + else { + lastEvent.set$next(0, $event); + _this.lastPendingEvent = $event; + } + } + }; + A._PendingEvents_schedule_closure.prototype = { + call$0() { + var t2, $event, nextEvent, + t1 = this.$this, + oldState = t1._async$_state; + t1._async$_state = 0; + if (oldState === 3) + return; + t2 = t1.$ti._eval$1("_EventDispatch<1>")._as(this.dispatch); + $event = t1.firstPendingEvent; + nextEvent = $event.get$next($event); + t1.firstPendingEvent = nextEvent; + if (nextEvent == null) + t1.lastPendingEvent = null; + $event.perform$1(t2); + }, + $signature: 0 + }; + A._DoneStreamSubscription.prototype = { + onData$1(handleData) { + this.$ti._eval$1("~(1)?")._as(handleData); + }, + onError$1(_, handleError) { + }, + cancel$0(_) { + this._async$_state = -1; + this.set$_onDone(null); + return $.$get$Future__nullFuture(); + }, + _onMicrotask$0() { + var _0_0, doneHandler, t1, _this = this, + unscheduledState = _this._async$_state - 1; + if (unscheduledState === 0) { + _this._async$_state = -1; + _0_0 = _this._onDone; + if (_0_0 != null) { + doneHandler = _0_0; + t1 = true; + } else { + doneHandler = null; + t1 = false; + } + if (t1) { + _this.set$_onDone(null); + _this._zone.runGuarded$1(doneHandler); + } + } else + _this._async$_state = unscheduledState; + }, + set$_onDone(_onDone) { + this._onDone = type$.nullable_void_Function._as(_onDone); + }, + $isStreamSubscription: 1 + }; + A._EmptyStream.prototype = { + listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { + var t2, + t1 = this.$ti; + t1._eval$1("~(1)?")._as(onData); + type$.nullable_void_Function._as(onDone); + t2 = $.Zone__current; + t1 = new A._DoneStreamSubscription(t2, t1._eval$1("_DoneStreamSubscription<1>")); + A.scheduleMicrotask(t1.get$_onMicrotask()); + if (onDone != null) + t1.set$_onDone(t2.registerCallback$1$1(onDone, type$.void)); + return t1; + }, + listen$1(onData) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + }, + listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { + return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); + } + }; + A._ZoneFunction.prototype = {}; + A._ZoneSpecification.prototype = {$isZoneSpecification: 1}; + A._ZoneDelegate.prototype = {$isZoneDelegate: 1}; + A._Zone.prototype = { + _processUncaughtError$3(zone, error, stackTrace) { + var implZone, handler, parentDelegate, parentZone, currentZone, e, s, implementation, t1, exception; + type$.StackTrace._as(stackTrace); + implementation = this.get$_handleUncaughtError(); + implZone = implementation.zone; + if (implZone === B.C__RootZone) { + A._rootHandleError(error, stackTrace); + return; + } + handler = implementation.$function; + parentDelegate = implZone.get$_parentDelegate(); + t1 = J.get$parent$z(implZone); + t1.toString; + parentZone = t1; + currentZone = $.Zone__current; + try { + $.Zone__current = parentZone; + handler.call$5(implZone, parentDelegate, zone, error, stackTrace); + $.Zone__current = currentZone; + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + $.Zone__current = currentZone; + t1 = error === e ? stackTrace : s; + parentZone._processUncaughtError$3(implZone, e, t1); + } + }, + $isZone: 1 + }; + A._CustomZone.prototype = { + get$_delegate() { + var t1 = this._delegateCache; + return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1; + }, + get$_parentDelegate() { + return this.parent.get$_delegate(); + }, + get$errorZone() { + return this._handleUncaughtError.zone; + }, + runGuarded$1(f) { + var e, s, exception; + type$.void_Function._as(f); + try { + this.run$1$1(f, type$.void); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + runUnaryGuarded$1$2(f, arg, $T) { + var e, s, exception; + $T._eval$1("~(0)")._as(f); + $T._as(arg); + try { + this.runUnary$2$2(f, arg, type$.void, $T); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { + var e, s, exception; + T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); + T1._as(arg1); + T2._as(arg2); + try { + this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + this._processUncaughtError$3(this, type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + bindCallback$1$1(f, $R) { + return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1($R._eval$1("0()")._as(f), $R), $R); + }, + bindUnaryCallback$2$1(f, $R, $T) { + return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1($R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f), $R, $T), $T, $R); + }, + bindCallbackGuarded$1(f) { + return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(type$.void_Function._as(f), type$.void)); + }, + bindUnaryCallbackGuarded$1$1(f, $T) { + return new A._CustomZone_bindUnaryCallbackGuarded_closure(this, this.registerUnaryCallback$2$1($T._eval$1("~(0)")._as(f), type$.void, $T), $T); + }, + handleUncaughtError$2(error, stackTrace) { + this._processUncaughtError$3(this, error, type$.StackTrace._as(stackTrace)); + }, + fork$2$specification$zoneValues(specification, zoneValues) { + var implementation = this._fork, + t1 = implementation.zone; + return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues); + }, + run$1$1(f, $R) { + var implementation, t1; + $R._eval$1("0()")._as(f); + implementation = this._run; + t1 = implementation.zone; + return implementation.$function.call$1$4(t1, t1.get$_parentDelegate(), this, f, $R); + }, + runUnary$2$2(f, arg, $R, $T) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + implementation = this._runUnary; + t1 = implementation.zone; + return implementation.$function.call$2$5(t1, t1.get$_parentDelegate(), this, f, arg, $R, $T); + }, + runBinary$3$3(f, arg1, arg2, $R, T1, T2) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + implementation = this._runBinary; + t1 = implementation.zone; + return implementation.$function.call$3$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2, $R, T1, T2); + }, + registerCallback$1$1(callback, $R) { + var implementation, t1; + $R._eval$1("0()")._as(callback); + implementation = this._registerCallback; + t1 = implementation.zone; + return implementation.$function.call$1$4(t1, t1.get$_parentDelegate(), this, callback, $R); + }, + registerUnaryCallback$2$1(callback, $R, $T) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(callback); + implementation = this._registerUnaryCallback; + t1 = implementation.zone; + return implementation.$function.call$2$4(t1, t1.get$_parentDelegate(), this, callback, $R, $T); + }, + registerBinaryCallback$3$1(callback, $R, T1, T2) { + var implementation, t1; + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(callback); + implementation = this._registerBinaryCallback; + t1 = implementation.zone; + return implementation.$function.call$3$4(t1, t1.get$_parentDelegate(), this, callback, $R, T1, T2); + }, + errorCallback$2(error, stackTrace) { + var implementation, implementationZone; + A.checkNotNullable(error, "error", type$.Object); + implementation = this._errorCallback; + implementationZone = implementation.zone; + if (implementationZone === B.C__RootZone) + return null; + return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace); + }, + scheduleMicrotask$1(f) { + var implementation, t1; + type$.void_Function._as(f); + implementation = this._scheduleMicrotask; + t1 = implementation.zone; + return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f); + }, + createPeriodicTimer$2(duration, f) { + var implementation, t1; + type$.void_Function_Timer._as(f); + implementation = this._createPeriodicTimer; + t1 = implementation.zone; + return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f); + }, + set$_handleUncaughtError(_handleUncaughtError) { + this._handleUncaughtError = type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace._as(_handleUncaughtError); + }, + get$_run() { + return this._run; + }, + get$_runUnary() { + return this._runUnary; + }, + get$_runBinary() { + return this._runBinary; + }, + get$_registerCallback() { + return this._registerCallback; + }, + get$_registerUnaryCallback() { + return this._registerUnaryCallback; + }, + get$_registerBinaryCallback() { + return this._registerBinaryCallback; + }, + get$_errorCallback() { + return this._errorCallback; + }, + get$_scheduleMicrotask() { + return this._scheduleMicrotask; + }, + get$_createTimer() { + return this._createTimer; + }, + get$_createPeriodicTimer() { + return this._createPeriodicTimer; + }, + get$_print() { + return this._print; + }, + get$_fork() { + return this._fork; + }, + get$_handleUncaughtError() { + return this._handleUncaughtError; + }, + get$parent(receiver) { + return this.parent; + }, + get$_async$_map() { + return this._async$_map; + } + }; + A._CustomZone_bindCallback_closure.prototype = { + call$0() { + return this.$this.run$1$1(this.registered, this.R); + }, + $signature() { + return this.R._eval$1("0()"); + } + }; + A._CustomZone_bindUnaryCallback_closure.prototype = { + call$1(arg) { + var _this = this, + t1 = _this.T; + return _this.$this.runUnary$2$2(_this.registered, t1._as(arg), _this.R, t1); + }, + $signature() { + return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)"); + } + }; + A._CustomZone_bindCallbackGuarded_closure.prototype = { + call$0() { + return this.$this.runGuarded$1(this.registered); + }, + $signature: 0 + }; + A._CustomZone_bindUnaryCallbackGuarded_closure.prototype = { + call$1(arg) { + var t1 = this.T; + return this.$this.runUnaryGuarded$1$2(this.registered, t1._as(arg), t1); + }, + $signature() { + return this.T._eval$1("~(0)"); + } + }; + A._rootHandleError_closure.prototype = { + call$0() { + A.Error_throwWithStackTrace(this.error, this.stackTrace); + }, + $signature: 0 + }; + A._RootZone.prototype = { + get$_run() { + return B._ZoneFunction__RootZone__rootRun; + }, + get$_runUnary() { + return B._ZoneFunction__RootZone__rootRunUnary; + }, + get$_runBinary() { + return B._ZoneFunction__RootZone__rootRunBinary; + }, + get$_registerCallback() { + return B._ZoneFunction__RootZone__rootRegisterCallback; + }, + get$_registerUnaryCallback() { + return B._ZoneFunction_Eeh; + }, + get$_registerBinaryCallback() { + return B._ZoneFunction_7G2; + }, + get$_errorCallback() { + return B._ZoneFunction__RootZone__rootErrorCallback; + }, + get$_scheduleMicrotask() { + return B._ZoneFunction__RootZone__rootScheduleMicrotask; + }, + get$_createTimer() { + return B._ZoneFunction__RootZone__rootCreateTimer; + }, + get$_createPeriodicTimer() { + return B._ZoneFunction_3bB; + }, + get$_print() { + return B._ZoneFunction__RootZone__rootPrint; + }, + get$_fork() { + return B._ZoneFunction__RootZone__rootFork; + }, + get$_handleUncaughtError() { + return B._ZoneFunction_NMc; + }, + get$parent(_) { + return null; + }, + get$_async$_map() { + return $.$get$_RootZone__rootMap(); + }, + get$_delegate() { + var t1 = $._RootZone__rootDelegate; + return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1; + }, + get$_parentDelegate() { + var t1 = $._RootZone__rootDelegate; + return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1; + }, + get$errorZone() { + return this; + }, + runGuarded$1(f) { + var e, s, exception; + type$.void_Function._as(f); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$0(); + return; + } + A._rootRun(null, null, this, f, type$.void); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + runUnaryGuarded$1$2(f, arg, $T) { + var e, s, exception; + $T._eval$1("~(0)")._as(f); + $T._as(arg); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$1(arg); + return; + } + A._rootRunUnary(null, null, this, f, arg, type$.void, $T); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { + var e, s, exception; + T1._eval$1("@<0>")._bind$1(T2)._eval$1("~(1,2)")._as(f); + T1._as(arg1); + T2._as(arg2); + try { + if (B.C__RootZone === $.Zone__current) { + f.call$2(arg1, arg2); + return; + } + A._rootRunBinary(null, null, this, f, arg1, arg2, type$.void, T1, T2); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + A._rootHandleError(type$.Object._as(e), type$.StackTrace._as(s)); + } + }, + bindCallback$1$1(f, $R) { + return new A._RootZone_bindCallback_closure(this, $R._eval$1("0()")._as(f), $R); + }, + bindUnaryCallback$2$1(f, $R, $T) { + return new A._RootZone_bindUnaryCallback_closure(this, $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f), $T, $R); + }, + bindCallbackGuarded$1(f) { + return new A._RootZone_bindCallbackGuarded_closure(this, type$.void_Function._as(f)); + }, + bindUnaryCallbackGuarded$1$1(f, $T) { + return new A._RootZone_bindUnaryCallbackGuarded_closure(this, $T._eval$1("~(0)")._as(f), $T); + }, + handleUncaughtError$2(error, stackTrace) { + A._rootHandleError(error, type$.StackTrace._as(stackTrace)); + }, + fork$2$specification$zoneValues(specification, zoneValues) { + return A._rootFork(null, null, this, specification, zoneValues); + }, + run$1$1(f, $R) { + $R._eval$1("0()")._as(f); + if ($.Zone__current === B.C__RootZone) + return f.call$0(); + return A._rootRun(null, null, this, f, $R); + }, + runUnary$2$2(f, arg, $R, $T) { + $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + $T._as(arg); + if ($.Zone__current === B.C__RootZone) + return f.call$1(arg); + return A._rootRunUnary(null, null, this, f, arg, $R, $T); + }, + runBinary$3$3(f, arg1, arg2, $R, T1, T2) { + $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + T1._as(arg1); + T2._as(arg2); + if ($.Zone__current === B.C__RootZone) + return f.call$2(arg1, arg2); + return A._rootRunBinary(null, null, this, f, arg1, arg2, $R, T1, T2); + }, + registerCallback$1$1(f, $R) { + return $R._eval$1("0()")._as(f); + }, + registerUnaryCallback$2$1(f, $R, $T) { + return $R._eval$1("@<0>")._bind$1($T)._eval$1("1(2)")._as(f); + }, + registerBinaryCallback$3$1(f, $R, T1, T2) { + return $R._eval$1("@<0>")._bind$1(T1)._bind$1(T2)._eval$1("1(2,3)")._as(f); + }, + errorCallback$2(error, stackTrace) { + return null; + }, + scheduleMicrotask$1(f) { + A._rootScheduleMicrotask(null, null, this, type$.void_Function._as(f)); + }, + createPeriodicTimer$2(duration, f) { + return A.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(f)); + } + }; + A._RootZone_bindCallback_closure.prototype = { + call$0() { + return this.$this.run$1$1(this.f, this.R); + }, + $signature() { + return this.R._eval$1("0()"); + } + }; + A._RootZone_bindUnaryCallback_closure.prototype = { + call$1(arg) { + var _this = this, + t1 = _this.T; + return _this.$this.runUnary$2$2(_this.f, t1._as(arg), _this.R, t1); + }, + $signature() { + return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)"); + } + }; + A._RootZone_bindCallbackGuarded_closure.prototype = { + call$0() { + return this.$this.runGuarded$1(this.f); + }, + $signature: 0 + }; + A._RootZone_bindUnaryCallbackGuarded_closure.prototype = { + call$1(arg) { + var t1 = this.T; + return this.$this.runUnaryGuarded$1$2(this.f, t1._as(arg), t1); + }, + $signature() { + return this.T._eval$1("~(0)"); + } + }; + A.runZonedGuarded_closure.prototype = { + call$5($self, $parent, zone, error, stackTrace) { + var e, s, exception, t2, + t1 = type$.StackTrace; + t1._as(stackTrace); + try { + this.parentZone.runBinary$3$3(this.onError, error, stackTrace, type$.void, type$.Object, t1); + } catch (exception) { + e = A.unwrapException(exception); + s = A.getTraceFromException(exception); + t2 = $parent._delegationTarget; + if (e === error) + t2._processUncaughtError$3(zone, error, stackTrace); + else + t2._processUncaughtError$3(zone, type$.Object._as(e), t1._as(s)); + } + }, + $signature: 34 + }; + A._HashMap.prototype = { + get$length(_) { + return this._collection$_length; + }, + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$keys(_) { + return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>")); + }, + containsKey$1(_, key) { + var strings, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + return strings == null ? false : strings[key] != null; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + return nums == null ? false : nums[key] != null; + } else + return this._containsKey$1(key); + }, + _containsKey$1(key) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; + }, + $index(_, key) { + var strings, t1, nums; + if (typeof key == "string" && key !== "__proto__") { + strings = this._collection$_strings; + t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key); + return t1; + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = this._collection$_nums; + t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key); + return t1; + } else + return this._get$1(0, key); + }, + _get$1(_, key) { + var bucket, index, + rest = this._collection$_rest; + if (rest == null) + return null; + bucket = this._getBucket$2(rest, key); + index = this._findBucketIndex$2(bucket, key); + return index < 0 ? null : bucket[index + 1]; + }, + $indexSet(_, key, value) { + var strings, nums, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (typeof key == "string" && key !== "__proto__") { + strings = _this._collection$_strings; + _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value); + } else if (typeof key == "number" && (key & 1073741823) === key) { + nums = _this._collection$_nums; + _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value); + } else + _this._set$2(key, value); + }, + _set$2(key, value) { + var rest, hash, bucket, index, _this = this, + t1 = A._instanceType(_this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._HashMap__newHashTable(); + hash = _this._computeHashCode$1(key); + bucket = rest[hash]; + if (bucket == null) { + A._HashMap__setTableEntry(rest, hash, [key, value]); + ++_this._collection$_length; + _this._keys = null; + } else { + index = _this._findBucketIndex$2(bucket, key); + if (index >= 0) + bucket[index + 1] = value; + else { + bucket.push(key, value); + ++_this._collection$_length; + _this._keys = null; + } + } + }, + forEach$1(_, action) { + var keys, $length, t2, i, key, t3, _this = this, + t1 = A._instanceType(_this); + t1._eval$1("~(1,2)")._as(action); + keys = _this._computeKeys$0(); + for ($length = keys.length, t2 = t1._precomputed1, t1 = t1._rest[1], i = 0; i < $length; ++i) { + key = keys[i]; + t2._as(key); + t3 = _this.$index(0, key); + action.call$2(key, t3 == null ? t1._as(t3) : t3); + if (keys !== _this._keys) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + }, + _computeKeys$0() { + var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._keys; + if (result != null) + return result; + result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); + strings = _this._collection$_strings; + if (strings != null) { + names = Object.getOwnPropertyNames(strings); + entries = names.length; + for (index = 0, i = 0; i < entries; ++i) { + result[index] = names[i]; + ++index; + } + } else + index = 0; + nums = _this._collection$_nums; + if (nums != null) { + names = Object.getOwnPropertyNames(nums); + entries = names.length; + for (i = 0; i < entries; ++i) { + result[index] = +names[i]; + ++index; + } + } + rest = _this._collection$_rest; + if (rest != null) { + names = Object.getOwnPropertyNames(rest); + entries = names.length; + for (i = 0; i < entries; ++i) { + bucket = rest[names[i]]; + $length = bucket.length; + for (i0 = 0; i0 < $length; i0 += 2) { + result[index] = bucket[i0]; + ++index; + } + } + } + return _this._keys = result; + }, + _collection$_addHashTableEntry$3(table, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + if (table[key] == null) { + ++this._collection$_length; + this._keys = null; + } + A._HashMap__setTableEntry(table, key, value); + }, + _computeHashCode$1(key) { + return J.get$hashCode$(key) & 1073741823; + }, + _getBucket$2(table, key) { + return table[this._computeHashCode$1(key)]; + }, + _findBucketIndex$2(bucket, key) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) + if (J.$eq$(bucket[i], key)) + return i; + return -1; + } + }; + A._IdentityHashMap.prototype = { + _computeHashCode$1(key) { + return A.objectHashCode(key) & 1073741823; + }, + _findBucketIndex$2(bucket, key) { + var $length, i, t1; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; i += 2) { + t1 = bucket[i]; + if (t1 == null ? key == null : t1 === key) + return i; + } + return -1; + } + }; + A._HashMapKeyIterable.prototype = { + get$length(_) { + return this._collection$_map._collection$_length; + }, + get$isEmpty(_) { + return this._collection$_map._collection$_length === 0; + }, + get$isNotEmpty(_) { + return this._collection$_map._collection$_length !== 0; + }, + get$iterator(_) { + var t1 = this._collection$_map; + return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); + }, + contains$1(_, element) { + return this._collection$_map.containsKey$1(0, element); + } + }; + A._HashMapKeyIterator.prototype = { + get$current(_) { + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var _this = this, + keys = _this._keys, + offset = _this._offset, + t1 = _this._collection$_map; + if (keys !== t1._keys) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (offset >= keys.length) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(keys[offset]); + _this._offset = offset + 1; + return true; + } + }, + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + A._LinkedHashSet.prototype = { + get$iterator(_) { + var _this = this, + t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, _this.$ti._eval$1("_LinkedHashSetIterator<1>")); + t1._collection$_cell = _this._collection$_first; + return t1; + }, + get$length(_) { + return this._collection$_length; + }, + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty(_) { + return this._collection$_length !== 0; + }, + contains$1(_, object) { + var nums; + if ((object & 1073741823) === object) { + nums = this._collection$_nums; + if (nums == null) + return false; + return type$.nullable__LinkedHashSetCell._as(nums[object]) != null; + } else + return this._contains$1(object); + }, + _contains$1(object) { + var rest = this._collection$_rest; + if (rest == null) + return false; + return this._findBucketIndex$2(rest[B.JSInt_methods.get$hashCode(object) & 1073741823], object) >= 0; + }, + add$1(_, element) { + var strings, nums, _this = this; + _this.$ti._precomputed1._as(element); + if (typeof element == "string" && element !== "__proto__") { + strings = _this._collection$_strings; + return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element); + } else if (typeof element == "number" && (element & 1073741823) === element) { + nums = _this._collection$_nums; + return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element); + } else + return _this._collection$_add$1(0, element); + }, + _collection$_add$1(_, element) { + var rest, hash, bucket, _this = this; + _this.$ti._precomputed1._as(element); + rest = _this._collection$_rest; + if (rest == null) + rest = _this._collection$_rest = A._LinkedHashSet__newHashTable(); + hash = J.get$hashCode$(element) & 1073741823; + bucket = rest[hash]; + if (bucket == null) + rest[hash] = [_this._collection$_newLinkedCell$1(element)]; + else { + if (_this._findBucketIndex$2(bucket, element) >= 0) + return false; + bucket.push(_this._collection$_newLinkedCell$1(element)); + } + return true; + }, + remove$1(_, object) { + if ((object & 1073741823) === object) + return this._collection$_removeHashTableEntry$2(this._collection$_nums, object); + else + return this._remove$1(0, object); + }, + _remove$1(_, object) { + var hash, bucket, index, cell, + rest = this._collection$_rest; + if (rest == null) + return false; + hash = B.JSInt_methods.get$hashCode(object) & 1073741823; + bucket = rest[hash]; + index = this._findBucketIndex$2(bucket, object); + if (index < 0) + return false; + cell = bucket.splice(index, 1)[0]; + if (0 === bucket.length) + delete rest[hash]; + this._collection$_unlinkCell$1(cell); + return true; + }, + _collection$_addHashTableEntry$2(table, element) { + this.$ti._precomputed1._as(element); + if (type$.nullable__LinkedHashSetCell._as(table[element]) != null) + return false; + table[element] = this._collection$_newLinkedCell$1(element); + return true; + }, + _collection$_removeHashTableEntry$2(table, element) { + var cell; + if (table == null) + return false; + cell = type$.nullable__LinkedHashSetCell._as(table[element]); + if (cell == null) + return false; + this._collection$_unlinkCell$1(cell); + delete table[element]; + return true; + }, + _collection$_modified$0() { + this._collection$_modifications = this._collection$_modifications + 1 & 1073741823; + }, + _collection$_newLinkedCell$1(element) { + var t1, _this = this, + cell = new A._LinkedHashSetCell(_this.$ti._precomputed1._as(element)); + if (_this._collection$_first == null) + _this._collection$_first = _this._collection$_last = cell; + else { + t1 = _this._collection$_last; + t1.toString; + cell._collection$_previous = t1; + _this._collection$_last = t1._collection$_next = cell; + } + ++_this._collection$_length; + _this._collection$_modified$0(); + return cell; + }, + _collection$_unlinkCell$1(cell) { + var _this = this, + previous = cell._collection$_previous, + next = cell._collection$_next; + if (previous == null) + _this._collection$_first = next; + else + previous._collection$_next = next; + if (next == null) + _this._collection$_last = previous; + else + next._collection$_previous = previous; + --_this._collection$_length; + _this._collection$_modified$0(); + }, + _findBucketIndex$2(bucket, element) { + var $length, i; + if (bucket == null) + return -1; + $length = bucket.length; + for (i = 0; i < $length; ++i) + if (J.$eq$(bucket[i]._element, element)) + return i; + return -1; + } + }; + A._LinkedHashSetCell.prototype = {}; + A._LinkedHashSetIterator.prototype = { + get$current(_) { + var t1 = this._collection$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var _this = this, + cell = _this._collection$_cell, + t1 = _this._set; + if (_this._collection$_modifications !== t1._collection$_modifications) + throw A.wrapException(A.ConcurrentModificationError$(t1)); + else if (cell == null) { + _this.set$_collection$_current(null); + return false; + } else { + _this.set$_collection$_current(_this.$ti._eval$1("1?")._as(cell._element)); + _this._collection$_cell = cell._collection$_next; + return true; + } + }, + set$_collection$_current(_current) { + this._collection$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + A.ListBase.prototype = { + get$iterator(receiver) { + return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + get$isEmpty(receiver) { + return this.get$length(receiver) === 0; + }, + get$isNotEmpty(receiver) { + return !this.get$isEmpty(receiver); + }, + get$first(receiver) { + if (this.get$length(receiver) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + return this.$index(receiver, 0); + }, + map$1$1(receiver, f, $T) { + var t1 = A.instanceType(receiver); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListBase.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + skip$1(receiver, count) { + return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E")); + }, + cast$1$0(receiver, $R) { + return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@")._bind$1($R)._eval$1("CastList<1,2>")); + }, + fillRange$3(receiver, start, end, fill) { + var i; + A.instanceType(receiver)._eval$1("ListBase.E?")._as(fill); + A.RangeError_checkValidRange(start, end, this.get$length(receiver)); + for (i = start; i < end; ++i) + this.$indexSet(receiver, i, fill); + }, + toString$0(receiver) { + return A.Iterable_iterableToFullString(receiver, "[", "]"); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.MapBase.prototype = { + forEach$1(receiver, action) { + var t2, key, t3, + t1 = A.instanceType(receiver); + t1._eval$1("~(MapBase.K,MapBase.V)")._as(action); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) { + key = t2.get$current(t2); + t3 = this.$index(receiver, key); + action.call$2(key, t3 == null ? t1._as(t3) : t3); + } + }, + containsKey$1(receiver, key) { + return J.contains$1$asx(this.get$keys(receiver), key); + }, + get$length(receiver) { + return J.get$length$asx(this.get$keys(receiver)); + }, + get$isEmpty(receiver) { + return J.get$isEmpty$asx(this.get$keys(receiver)); + }, + toString$0(receiver) { + return A.MapBase_mapToString(receiver); + }, + $isMap: 1 + }; + A.MapBase_mapToString_closure.prototype = { + call$2(k, v) { + var t2, + t1 = this._box_0; + if (!t1.first) + this.result._contents += ", "; + t1.first = false; + t1 = this.result; + t2 = t1._contents += A.S(k); + t1._contents = t2 + ": "; + t1._contents += A.S(v); + }, + $signature: 16 + }; + A._UnmodifiableMapMixin.prototype = { + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + t1._precomputed1._as(key); + t1._rest[1]._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); + } + }; + A.MapView.prototype = { + $index(_, key) { + return J.$index$asx(this._collection$_map, key); + }, + $indexSet(_, key, value) { + var t1 = A._instanceType(this); + J.$indexSet$ax(this._collection$_map, t1._precomputed1._as(key), t1._rest[1]._as(value)); + }, + containsKey$1(_, key) { + return J.containsKey$1$x(this._collection$_map, key); + }, + forEach$1(_, action) { + J.forEach$1$x(this._collection$_map, A._instanceType(this)._eval$1("~(1,2)")._as(action)); + }, + get$isEmpty(_) { + return J.get$isEmpty$asx(this._collection$_map); + }, + get$length(_) { + return J.get$length$asx(this._collection$_map); + }, + get$keys(_) { + return J.get$keys$x(this._collection$_map); + }, + toString$0(_) { + return J.toString$0$(this._collection$_map); + }, + $isMap: 1 + }; + A.UnmodifiableMapView.prototype = {}; + A.SetBase.prototype = { + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty(_) { + return this._collection$_length !== 0; + }, + map$1$1(_, f, $T) { + var t1 = this.$ti; + return new A.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + toString$0(_) { + return A.Iterable_iterableToFullString(this, "{", "}"); + }, + skip$1(_, n) { + return A.SkipIterable_SkipIterable(this, n, this.$ti._precomputed1); + }, + elementAt$1(_, index) { + var iterator, skipCount, t1, _this = this; + A.RangeError_checkNotNegative(index, "index"); + iterator = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, _this.$ti._precomputed1); + for (skipCount = index; iterator.moveNext$0();) { + if (skipCount === 0) { + t1 = iterator._collection$_current; + return t1 == null ? iterator.$ti._precomputed1._as(t1) : t1; + } + --skipCount; + } + throw A.wrapException(A.IndexError$withLength(index, index - skipCount, _this, "index")); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 + }; + A._SetBase.prototype = {}; + A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; + A._JsonMap.prototype = { + $index(_, key) { + var result, + t1 = this._processed; + if (t1 == null) + return this._data.$index(0, key); + else if (typeof key != "string") + return null; + else { + result = t1[key]; + return typeof result == "undefined" ? this._process$1(key) : result; + } + }, + get$length(_) { + return this._processed == null ? this._data._length : this._convert$_computeKeys$0().length; + }, + get$isEmpty(_) { + return this.get$length(this) === 0; + }, + get$keys(_) { + var t1; + if (this._processed == null) { + t1 = this._data; + return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); + } + return new A._JsonMapKeyIterable(this); + }, + $indexSet(_, key, value) { + var processed, original, _this = this; + if (_this._processed == null) + _this._data.$indexSet(0, key, value); + else if (_this.containsKey$1(0, key)) { + processed = _this._processed; + processed[key] = value; + original = _this._original; + if (original == null ? processed != null : original !== processed) + original[key] = null; + } else + _this._upgrade$0().$indexSet(0, key, value); + }, + containsKey$1(_, key) { + if (this._processed == null) + return this._data.containsKey$1(0, key); + return Object.prototype.hasOwnProperty.call(this._original, key); + }, + forEach$1(_, f) { + var keys, i, key, value, _this = this; + type$.void_Function_String_dynamic._as(f); + if (_this._processed == null) + return _this._data.forEach$1(0, f); + keys = _this._convert$_computeKeys$0(); + for (i = 0; i < keys.length; ++i) { + key = keys[i]; + value = _this._processed[key]; + if (typeof value == "undefined") { + value = A._convertJsonToDartLazy(_this._original[key]); + _this._processed[key] = value; + } + f.call$2(key, value); + if (keys !== _this._data) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + }, + _convert$_computeKeys$0() { + var keys = type$.nullable_List_dynamic._as(this._data); + if (keys == null) + keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String); + return keys; + }, + _upgrade$0() { + var result, keys, i, t1, key, _this = this; + if (_this._processed == null) + return _this._data; + result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); + keys = _this._convert$_computeKeys$0(); + for (i = 0; t1 = keys.length, i < t1; ++i) { + key = keys[i]; + result.$indexSet(0, key, _this.$index(0, key)); + } + if (t1 === 0) + B.JSArray_methods.add$1(keys, ""); + else + B.JSArray_methods.clear$0(keys); + _this._original = _this._processed = null; + return _this._data = result; + }, + _process$1(key) { + var result; + if (!Object.prototype.hasOwnProperty.call(this._original, key)) + return null; + result = A._convertJsonToDartLazy(this._original[key]); + return this._processed[key] = result; + } + }; + A._JsonMapKeyIterable.prototype = { + get$length(_) { + var t1 = this._convert$_parent; + return t1.get$length(t1); + }, + elementAt$1(_, index) { + var t1 = this._convert$_parent; + if (t1._processed == null) + t1 = t1.get$keys(t1).elementAt$1(0, index); + else { + t1 = t1._convert$_computeKeys$0(); + if (!(index >= 0 && index < t1.length)) + return A.ioore(t1, index); + t1 = t1[index]; + } + return t1; + }, + get$iterator(_) { + var t1 = this._convert$_parent; + if (t1._processed == null) { + t1 = t1.get$keys(t1); + t1 = t1.get$iterator(t1); + } else { + t1 = t1._convert$_computeKeys$0(); + t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); + } + return t1; + }, + contains$1(_, key) { + return this._convert$_parent.containsKey$1(0, key); + } + }; + A.Utf8Decoder__decoder_closure.prototype = { + call$0() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: true}); + return t1; + } catch (exception) { + } + return null; + }, + $signature: 2 + }; + A.Utf8Decoder__decoderNonfatal_closure.prototype = { + call$0() { + var t1, exception; + try { + t1 = new TextDecoder("utf-8", {fatal: false}); + return t1; + } catch (exception) { + } + return null; + }, + $signature: 2 + }; + A.AsciiCodec.prototype = { + encode$1(source) { + return B.AsciiEncoder_127.convert$1(source); + } + }; + A._UnicodeSubsetEncoder.prototype = { + convert$1(string) { + var stringLength, $length, result, t1, i, codeUnit; + A._asString(string); + stringLength = string.length; + $length = A.RangeError_checkValidRange(0, null, stringLength) - 0; + result = new Uint8Array($length); + for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) { + if (!(i < stringLength)) + return A.ioore(string, i); + codeUnit = string.charCodeAt(i); + if ((codeUnit & t1) !== 0) + throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); + if (!(i < $length)) + return A.ioore(result, i); + result[i] = codeUnit; + } + return result; + } + }; + A.AsciiEncoder.prototype = {}; + A.Base64Codec.prototype = { + normalize$3(_, source, start, end) { + var inverseAlphabet, t2, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, t3, digit2, char0, value, endLength, $length, + _s64_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", + _s31_ = "Invalid base64 encoding length ", + t1 = source.length; + end = A.RangeError_checkValidRange(start, end, t1); + inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); + for (t2 = inverseAlphabet.length, i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { + i0 = i + 1; + if (!(i < t1)) + return A.ioore(source, i); + char = source.charCodeAt(i); + if (char === 37) { + i1 = i0 + 2; + if (i1 <= end) { + if (!(i0 < t1)) + return A.ioore(source, i0); + digit1 = A.hexDigitValue(source.charCodeAt(i0)); + t3 = i0 + 1; + if (!(t3 < t1)) + return A.ioore(source, t3); + digit2 = A.hexDigitValue(source.charCodeAt(t3)); + char0 = digit1 * 16 + digit2 - (digit2 & 256); + if (char0 === 37) + char0 = -1; + i0 = i1; + } else + char0 = -1; + } else + char0 = char; + if (0 <= char0 && char0 <= 127) { + if (!(char0 >= 0 && char0 < t2)) + return A.ioore(inverseAlphabet, char0); + value = inverseAlphabet[char0]; + if (value >= 0) { + if (!(value < 64)) + return A.ioore(_s64_, value); + char0 = _s64_.charCodeAt(value); + if (char0 === char) + continue; + char = char0; + } else { + if (value === -1) { + if (firstPadding < 0) { + t3 = buffer == null ? null : buffer._contents.length; + if (t3 == null) + t3 = 0; + firstPadding = t3 + (i - sliceStart); + firstPaddingSourceIndex = i; + } + ++paddingCount; + if (char === 61) + continue; + } + char = char0; + } + if (value !== -2) { + if (buffer == null) { + buffer = new A.StringBuffer(""); + t3 = buffer; + } else + t3 = buffer; + t3._contents += B.JSString_methods.substring$2(source, sliceStart, i); + t3._contents += A.Primitives_stringFromCharCode(char); + sliceStart = i0; + continue; + } + } + throw A.wrapException(A.FormatException$("Invalid base64 data", source, i)); + } + if (buffer != null) { + t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end); + t2 = t1.length; + if (firstPadding >= 0) + A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); + else { + endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1; + if (endLength === 1) + throw A.wrapException(A.FormatException$(_s31_, source, end)); + for (; endLength < 4;) { + t1 += "="; + buffer._contents = t1; + ++endLength; + } + } + t1 = buffer._contents; + return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); + } + $length = end - start; + if (firstPadding >= 0) + A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); + else { + endLength = B.JSInt_methods.$mod($length, 4); + if (endLength === 1) + throw A.wrapException(A.FormatException$(_s31_, source, end)); + if (endLength > 1) + source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); + } + return source; + } + }; + A.Base64Encoder.prototype = {}; + A.Codec.prototype = {}; + A._FusedCodec.prototype = {}; + A.Converter.prototype = {$isStreamTransformer: 1}; + A.Encoding.prototype = {}; + A.JsonUnsupportedObjectError.prototype = { + toString$0(_) { + var safeString = A.Error_safeToString(this.unsupportedObject); + return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; + } + }; + A.JsonCyclicError.prototype = { + toString$0(_) { + return "Cyclic error in JSON stringify"; + } + }; + A.JsonCodec.prototype = { + decode$2$reviver(_, source, reviver) { + var t1 = A._parseJson(source, this.get$decoder()._reviver); + return t1; + }, + encode$2$toEncodable(value, toEncodable) { + var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null); + return t1; + }, + get$encoder() { + return B.JsonEncoder_null; + }, + get$decoder() { + return B.JsonDecoder_null; + } + }; + A.JsonEncoder.prototype = {}; + A.JsonDecoder.prototype = {}; + A._JsonStringifier.prototype = { + writeStringContent$1(s) { + var offset, i, charCode, t1, t2, _this = this, + $length = s.length; + for (offset = 0, i = 0; i < $length; ++i) { + charCode = s.charCodeAt(i); + if (charCode > 92) { + if (charCode >= 55296) { + t1 = charCode & 64512; + if (t1 === 55296) { + t2 = i + 1; + t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320); + } else + t2 = false; + if (!t2) + if (t1 === 56320) { + t1 = i - 1; + t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296); + } else + t1 = false; + else + t1 = true; + if (t1) { + if (i > offset) + _this.writeStringSlice$3(s, offset, i); + offset = i + 1; + _this.writeCharCode$1(92); + _this.writeCharCode$1(117); + _this.writeCharCode$1(100); + t1 = charCode >>> 8 & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + t1 = charCode >>> 4 & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + t1 = charCode & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + } + } + continue; + } + if (charCode < 32) { + if (i > offset) + _this.writeStringSlice$3(s, offset, i); + offset = i + 1; + _this.writeCharCode$1(92); + switch (charCode) { + case 8: + _this.writeCharCode$1(98); + break; + case 9: + _this.writeCharCode$1(116); + break; + case 10: + _this.writeCharCode$1(110); + break; + case 12: + _this.writeCharCode$1(102); + break; + case 13: + _this.writeCharCode$1(114); + break; + default: + _this.writeCharCode$1(117); + _this.writeCharCode$1(48); + _this.writeCharCode$1(48); + t1 = charCode >>> 4 & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + t1 = charCode & 15; + _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); + break; + } + } else if (charCode === 34 || charCode === 92) { + if (i > offset) + _this.writeStringSlice$3(s, offset, i); + offset = i + 1; + _this.writeCharCode$1(92); + _this.writeCharCode$1(charCode); + } + } + if (offset === 0) + _this.writeString$1(s); + else if (offset < $length) + _this.writeStringSlice$3(s, offset, $length); + }, + _checkCycle$1(object) { + var t1, t2, i, t3; + for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { + t3 = t1[i]; + if (object == null ? t3 == null : object === t3) + throw A.wrapException(new A.JsonCyclicError(object, null)); + } + B.JSArray_methods.add$1(t1, object); + }, + writeObject$1(object) { + var customJson, e, t1, exception, _this = this; + if (_this.writeJsonValue$1(object)) + return; + _this._checkCycle$1(object); + try { + customJson = _this._toEncodable.call$1(object); + if (!_this.writeJsonValue$1(customJson)) { + t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult()); + throw A.wrapException(t1); + } + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + } catch (exception) { + e = A.unwrapException(exception); + t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult()); + throw A.wrapException(t1); + } + }, + writeJsonValue$1(object) { + var t1, success, _this = this; + if (typeof object == "number") { + if (!isFinite(object)) + return false; + _this.writeNumber$1(object); + return true; + } else if (object === true) { + _this.writeString$1("true"); + return true; + } else if (object === false) { + _this.writeString$1("false"); + return true; + } else if (object == null) { + _this.writeString$1("null"); + return true; + } else if (typeof object == "string") { + _this.writeString$1('"'); + _this.writeStringContent$1(object); + _this.writeString$1('"'); + return true; + } else if (type$.List_dynamic._is(object)) { + _this._checkCycle$1(object); + _this.writeList$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + return true; + } else if (type$.Map_dynamic_dynamic._is(object)) { + _this._checkCycle$1(object); + success = _this.writeMap$1(object); + t1 = _this._seen; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + return success; + } else + return false; + }, + writeList$1(list) { + var t1, i, _this = this; + _this.writeString$1("["); + t1 = J.getInterceptor$asx(list); + if (t1.get$isNotEmpty(list)) { + _this.writeObject$1(t1.$index(list, 0)); + for (i = 1; i < t1.get$length(list); ++i) { + _this.writeString$1(","); + _this.writeObject$1(t1.$index(list, i)); + } + } + _this.writeString$1("]"); + }, + writeMap$1(map) { + var t2, keyValueList, i, separator, _this = this, _box_0 = {}, + t1 = J.getInterceptor$asx(map); + if (t1.get$isEmpty(map)) { + _this.writeString$1("{}"); + return true; + } + t2 = t1.get$length(map) * 2; + keyValueList = A.List_List$filled(t2, null, false, type$.nullable_Object); + i = _box_0.i = 0; + _box_0.allStringKeys = true; + t1.forEach$1(map, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList)); + if (!_box_0.allStringKeys) + return false; + _this.writeString$1("{"); + for (separator = '"'; i < t2; i += 2, separator = ',"') { + _this.writeString$1(separator); + _this.writeStringContent$1(A._asString(keyValueList[i])); + _this.writeString$1('":'); + t1 = i + 1; + if (!(t1 < t2)) + return A.ioore(keyValueList, t1); + _this.writeObject$1(keyValueList[t1]); + } + _this.writeString$1("}"); + return true; + } + }; + A._JsonStringifier_writeMap_closure.prototype = { + call$2(key, value) { + var t1, t2; + if (typeof key != "string") + this._box_0.allStringKeys = false; + t1 = this.keyValueList; + t2 = this._box_0; + B.JSArray_methods.$indexSet(t1, t2.i++, key); + B.JSArray_methods.$indexSet(t1, t2.i++, value); + }, + $signature: 16 + }; + A._JsonStringStringifier.prototype = { + get$_partialResult() { + var t1 = this._sink; + return t1 instanceof A.StringBuffer ? t1.toString$0(0) : null; + }, + writeNumber$1(number) { + this._sink.write$1(0, B.JSNumber_methods.toString$0(number)); + }, + writeString$1(string) { + this._sink.write$1(0, string); + }, + writeStringSlice$3(string, start, end) { + this._sink.write$1(0, B.JSString_methods.substring$2(string, start, end)); + }, + writeCharCode$1(charCode) { + this._sink.writeCharCode$1(charCode); + } + }; + A.Utf8Codec.prototype = {}; + A.Utf8Encoder.prototype = { + convert$1(string) { + var stringLength, end, $length, t1, encoder, t2; + A._asString(string); + stringLength = string.length; + end = A.RangeError_checkValidRange(0, null, stringLength); + $length = end - 0; + if ($length === 0) + return new Uint8Array(0); + t1 = new Uint8Array($length * 3); + encoder = new A._Utf8Encoder(t1); + if (encoder._fillBuffer$3(string, 0, end) !== end) { + t2 = end - 1; + if (!(t2 >= 0 && t2 < stringLength)) + return A.ioore(string, t2); + encoder._writeReplacementCharacter$0(); + } + return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); + } + }; + A._Utf8Encoder.prototype = { + _writeReplacementCharacter$0() { + var _this = this, + t1 = _this._buffer, + t2 = _this._bufferIndex, + t3 = _this._bufferIndex = t2 + 1, + t4 = t1.length; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = 239; + t2 = _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = 191; + _this._bufferIndex = t2 + 1; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = 189; + }, + _writeSurrogate$2(leadingSurrogate, nextCodeUnit) { + var rune, t1, t2, t3, t4, _this = this; + if ((nextCodeUnit & 64512) === 56320) { + rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; + t1 = _this._buffer; + t2 = _this._bufferIndex; + t3 = _this._bufferIndex = t2 + 1; + t4 = t1.length; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = rune >>> 18 | 240; + t2 = _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = rune >>> 12 & 63 | 128; + t3 = _this._bufferIndex = t2 + 1; + if (!(t2 < t4)) + return A.ioore(t1, t2); + t1[t2] = rune >>> 6 & 63 | 128; + _this._bufferIndex = t3 + 1; + if (!(t3 < t4)) + return A.ioore(t1, t3); + t1[t3] = rune & 63 | 128; + return true; + } else { + _this._writeReplacementCharacter$0(); + return false; + } + }, + _fillBuffer$3(str, start, end) { + var t1, t2, t3, stringIndex, codeUnit, t4, t5, _this = this; + if (start !== end) { + t1 = end - 1; + if (!(t1 >= 0 && t1 < str.length)) + return A.ioore(str, t1); + t1 = (str.charCodeAt(t1) & 64512) === 55296; + } else + t1 = false; + if (t1) + --end; + for (t1 = _this._buffer, t2 = t1.length, t3 = str.length, stringIndex = start; stringIndex < end; ++stringIndex) { + if (!(stringIndex < t3)) + return A.ioore(str, stringIndex); + codeUnit = str.charCodeAt(stringIndex); + if (codeUnit <= 127) { + t4 = _this._bufferIndex; + if (t4 >= t2) + break; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit; + } else { + t4 = codeUnit & 64512; + if (t4 === 55296) { + if (_this._bufferIndex + 4 > t2) + break; + t4 = stringIndex + 1; + if (!(t4 < t3)) + return A.ioore(str, t4); + if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(t4))) + stringIndex = t4; + } else if (t4 === 56320) { + if (_this._bufferIndex + 3 > t2) + break; + _this._writeReplacementCharacter$0(); + } else if (codeUnit <= 2047) { + t4 = _this._bufferIndex; + t5 = t4 + 1; + if (t5 >= t2) + break; + _this._bufferIndex = t5; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 6 | 192; + _this._bufferIndex = t5 + 1; + t1[t5] = codeUnit & 63 | 128; + } else { + t4 = _this._bufferIndex; + if (t4 + 2 >= t2) + break; + t5 = _this._bufferIndex = t4 + 1; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 12 | 224; + t4 = _this._bufferIndex = t5 + 1; + if (!(t5 < t2)) + return A.ioore(t1, t5); + t1[t5] = codeUnit >>> 6 & 63 | 128; + _this._bufferIndex = t4 + 1; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit & 63 | 128; + } + } + } + return stringIndex; + } + }; + A.Utf8Decoder.prototype = { + convert$1(codeUnits) { + var t1, result; + type$.List_int._as(codeUnits); + t1 = this._allowMalformed; + result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null); + if (result != null) + return result; + return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true); + } + }; + A._Utf8Decoder.prototype = { + convertGeneral$4(codeUnits, start, maybeEnd, single) { + var end, bytes, errorOffset, result, t1, message, _this = this; + type$.List_int._as(codeUnits); + end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits)); + if (start === end) + return ""; + if (type$.Uint8List._is(codeUnits)) { + bytes = codeUnits; + errorOffset = 0; + } else { + bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end); + end -= start; + errorOffset = start; + start = 0; + } + result = _this._convertRecursive$4(bytes, start, end, single); + t1 = _this._state; + if ((t1 & 1) !== 0) { + message = A._Utf8Decoder_errorDescription(t1); + _this._state = 0; + throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex)); + } + return result; + }, + _convertRecursive$4(bytes, start, end, single) { + var mid, s1, _this = this; + if (end - start > 1000) { + mid = B.JSInt_methods._tdivFast$1(start + end, 2); + s1 = _this._convertRecursive$4(bytes, start, mid, false); + if ((_this._state & 1) !== 0) + return s1; + return s1 + _this._convertRecursive$4(bytes, mid, end, single); + } + return _this.decodeGeneral$4(bytes, start, end, single); + }, + decodeGeneral$4(bytes, start, end, single) { + var byte, t2, type, t3, i0, markEnd, i1, m, _this = this, + _s256_ = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", + _s144_ = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", + _65533 = 65533, + state = _this._state, + char = _this._charOrIndex, + buffer = new A.StringBuffer(""), + i = start + 1, + t1 = bytes.length; + if (!(start >= 0 && start < t1)) + return A.ioore(bytes, start); + byte = bytes[start]; + $label0$0: + for (t2 = _this.allowMalformed; true;) { + for (; true; i = i0) { + if (!(byte >= 0 && byte < 256)) + return A.ioore(_s256_, byte); + type = _s256_.charCodeAt(byte) & 31; + char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; + t3 = state + type; + if (!(t3 >= 0 && t3 < 144)) + return A.ioore(_s144_, t3); + state = _s144_.charCodeAt(t3); + if (state === 0) { + buffer._contents += A.Primitives_stringFromCharCode(char); + if (i === end) + break $label0$0; + break; + } else if ((state & 1) !== 0) { + if (t2) + switch (state) { + case 69: + case 67: + buffer._contents += A.Primitives_stringFromCharCode(_65533); + break; + case 65: + buffer._contents += A.Primitives_stringFromCharCode(_65533); + --i; + break; + default: + t3 = buffer._contents += A.Primitives_stringFromCharCode(_65533); + buffer._contents = t3 + A.Primitives_stringFromCharCode(_65533); + break; + } + else { + _this._state = state; + _this._charOrIndex = i - 1; + return ""; + } + state = 0; + } + if (i === end) + break $label0$0; + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; + } + i0 = i + 1; + if (!(i >= 0 && i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; + if (byte < 128) { + while (true) { + if (!(i0 < end)) { + markEnd = end; + break; + } + i1 = i0 + 1; + if (!(i0 >= 0 && i0 < t1)) + return A.ioore(bytes, i0); + byte = bytes[i0]; + if (byte >= 128) { + markEnd = i1 - 1; + i0 = i1; + break; + } + i0 = i1; + } + if (markEnd - i < 20) + for (m = i; m < markEnd; ++m) { + if (!(m < t1)) + return A.ioore(bytes, m); + buffer._contents += A.Primitives_stringFromCharCode(bytes[m]); + } + else + buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd); + if (markEnd === end) + break $label0$0; + i = i0; + } else + i = i0; + } + if (single && state > 32) + if (t2) + buffer._contents += A.Primitives_stringFromCharCode(_65533); + else { + _this._state = 77; + _this._charOrIndex = end; + return ""; + } + _this._state = state; + _this._charOrIndex = char; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + } + }; + A.NoSuchMethodError_toString_closure.prototype = { + call$2(key, value) { + var t1, t2, t3; + type$.Symbol._as(key); + t1 = this.sb; + t2 = this._box_0; + t3 = t1._contents += t2.comma; + t3 += key._name; + t1._contents = t3; + t1._contents = t3 + ": "; + t1._contents += A.Error_safeToString(value); + t2.comma = ", "; + }, + $signature: 39 + }; + A.DateTime.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.DateTime && this._core$_value === other._core$_value && true; + }, + get$hashCode(_) { + var t1 = this._core$_value; + return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; + }, + toString$0(_) { + var _this = this, + y = A.DateTime__fourDigits(A.Primitives_getYear(_this)), + m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)), + d = A.DateTime__twoDigits(A.Primitives_getDay(_this)), + h = A.DateTime__twoDigits(A.Primitives_getHours(_this)), + min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)), + sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)), + ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)); + return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; + } + }; + A.Duration.prototype = { + $eq(_, other) { + if (other == null) + return false; + return other instanceof A.Duration && this._duration === other._duration; + }, + get$hashCode(_) { + return B.JSInt_methods.get$hashCode(this._duration); + }, + toString$0(_) { + var minutes, minutesPadding, seconds, secondsPadding, + microseconds = this._duration, + hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000); + microseconds %= 3600000000; + minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000); + microseconds %= 60000000; + minutesPadding = minutes < 10 ? "0" : ""; + seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000); + secondsPadding = seconds < 10 ? "0" : ""; + return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); + } + }; + A.Error.prototype = { + get$stackTrace() { + return A.getTraceFromException(this.$thrownJsError); + } + }; + A.AssertionError.prototype = { + toString$0(_) { + var t1 = this.message; + if (t1 != null) + return "Assertion failed: " + A.Error_safeToString(t1); + return "Assertion failed"; + } + }; + A.TypeError.prototype = {}; + A.ArgumentError.prototype = { + get$_errorName() { + return "Invalid argument" + (!this._hasValue ? "(s)" : ""); + }, + get$_errorExplanation() { + return ""; + }, + toString$0(_) { + var _this = this, + $name = _this.name, + nameString = $name == null ? "" : " (" + $name + ")", + message = _this.message, + messageString = message == null ? "" : ": " + A.S(message), + prefix = _this.get$_errorName() + nameString + messageString; + if (!_this._hasValue) + return prefix; + return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue()); + }, + get$invalidValue() { + return this.invalidValue; + } + }; + A.RangeError.prototype = { + get$invalidValue() { + return A._asNumQ(this.invalidValue); + }, + get$_errorName() { + return "RangeError"; + }, + get$_errorExplanation() { + var explanation, + start = this.start, + end = this.end; + if (start == null) + explanation = end != null ? ": Not less than or equal to " + A.S(end) : ""; + else if (end == null) + explanation = ": Not greater than or equal to " + A.S(start); + else if (end > start) + explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end); + else + explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start); + return explanation; + } + }; + A.IndexError.prototype = { + get$invalidValue() { + return A._asInt(this.invalidValue); + }, + get$_errorName() { + return "RangeError"; + }, + get$_errorExplanation() { + if (A._asInt(this.invalidValue) < 0) + return ": index must not be negative"; + var t1 = this.length; + if (t1 === 0) + return ": no indices are valid"; + return ": index should be less than " + t1; + }, + get$length(receiver) { + return this.length; + } + }; + A.NoSuchMethodError.prototype = { + toString$0(_) { + var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {}, + sb = new A.StringBuffer(""); + _box_0.comma = ""; + $arguments = _this._core$_arguments; + for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") { + argument = $arguments[_i]; + sb._contents = t2 + t3; + t2 = sb._contents += A.Error_safeToString(argument); + _box_0.comma = ", "; + } + _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb)); + receiverText = A.Error_safeToString(_this._core$_receiver); + actualParameters = sb.toString$0(0); + return "NoSuchMethodError: method not found: '" + _this._core$_memberName._name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; + } + }; + A.UnsupportedError.prototype = { + toString$0(_) { + return "Unsupported operation: " + this.message; + } + }; + A.UnimplementedError.prototype = { + toString$0(_) { + return "UnimplementedError: " + this.message; + } + }; + A.StateError.prototype = { + toString$0(_) { + return "Bad state: " + this.message; + } + }; + A.ConcurrentModificationError.prototype = { + toString$0(_) { + var t1 = this.modifiedObject; + if (t1 == null) + return "Concurrent modification during iteration."; + return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + "."; + } + }; + A.OutOfMemoryError.prototype = { + toString$0(_) { + return "Out of Memory"; + }, + get$stackTrace() { + return null; + }, + $isError: 1 + }; + A.StackOverflowError.prototype = { + toString$0(_) { + return "Stack Overflow"; + }, + get$stackTrace() { + return null; + }, + $isError: 1 + }; + A._Exception.prototype = { + toString$0(_) { + return "Exception: " + this.message; + }, + $isException: 1 + }; + A.FormatException.prototype = { + toString$0(_) { + var t1, lineEnd, lineNum, lineStart, previousCharWasCR, i, char, end, start, prefix, postfix, + message = this.message, + report = "" !== message ? "FormatException: " + message : "FormatException", + offset = this.offset, + source = this.source; + if (typeof source == "string") { + if (offset != null) + t1 = offset < 0 || offset > source.length; + else + t1 = false; + if (t1) + offset = null; + if (offset == null) { + if (source.length > 78) + source = B.JSString_methods.substring$2(source, 0, 75) + "..."; + return report + "\n" + source; + } + for (lineEnd = source.length, lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { + if (!(i < lineEnd)) + return A.ioore(source, i); + char = source.charCodeAt(i); + if (char === 10) { + if (lineStart !== i || !previousCharWasCR) + ++lineNum; + lineStart = i + 1; + previousCharWasCR = false; + } else if (char === 13) { + ++lineNum; + lineStart = i + 1; + previousCharWasCR = true; + } + } + report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); + for (i = offset; i < lineEnd; ++i) { + if (!(i >= 0)) + return A.ioore(source, i); + char = source.charCodeAt(i); + if (char === 10 || char === 13) { + lineEnd = i; + break; + } + } + if (lineEnd - lineStart > 78) + if (offset - lineStart < 75) { + end = lineStart + 75; + start = lineStart; + prefix = ""; + postfix = "..."; + } else { + if (lineEnd - offset < 75) { + start = lineEnd - 75; + end = lineEnd; + postfix = ""; + } else { + start = offset - 36; + end = offset + 36; + postfix = "..."; + } + prefix = "..."; + } + else { + end = lineEnd; + start = lineStart; + prefix = ""; + postfix = ""; + } + return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; + } else + return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report; + }, + $isException: 1 + }; + A.Iterable.prototype = { + cast$1$0(_, $R) { + return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R); + }, + map$1$1(_, toElement, $T) { + var t1 = A._instanceType(this); + return A.MappedIterable_MappedIterable(this, t1._bind$1($T)._eval$1("1(Iterable.E)")._as(toElement), t1._eval$1("Iterable.E"), $T); + }, + toList$1$growable(_, growable) { + return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E")); + }, + toList$0($receiver) { + return this.toList$1$growable($receiver, true); + }, + get$length(_) { + var count, + it = this.get$iterator(this); + for (count = 0; it.moveNext$0();) + ++count; + return count; + }, + get$isEmpty(_) { + return !this.get$iterator(this).moveNext$0(); + }, + get$isNotEmpty(_) { + return !this.get$isEmpty(this); + }, + skip$1(_, count) { + return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E")); + }, + skipWhile$1(_, test) { + var t1 = A._instanceType(this); + return new A.SkipWhileIterable(this, t1._eval$1("bool(Iterable.E)")._as(test), t1._eval$1("SkipWhileIterable")); + }, + get$first(_) { + var it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + return it.get$current(it); + }, + get$last(_) { + var result, + it = this.get$iterator(this); + if (!it.moveNext$0()) + throw A.wrapException(A.IterableElementError_noElement()); + do + result = it.get$current(it); + while (it.moveNext$0()); + return result; + }, + elementAt$1(_, index) { + var iterator, skipCount; + A.RangeError_checkNotNegative(index, "index"); + iterator = this.get$iterator(this); + for (skipCount = index; iterator.moveNext$0();) { + if (skipCount === 0) + return iterator.get$current(iterator); + --skipCount; + } + throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, "index")); + }, + toString$0(_) { + return A.Iterable_iterableToShortString(this, "(", ")"); + } + }; + A.Null.prototype = { + get$hashCode(_) { + return A.Object.prototype.get$hashCode.call(this, this); + }, + toString$0(_) { + return "null"; + } + }; + A.Object.prototype = {$isObject: 1, + $eq(_, other) { + return this === other; + }, + get$hashCode(_) { + return A.Primitives_objectHashCode(this); + }, + toString$0(_) { + return "Instance of '" + A.Primitives_objectTypeName(this) + "'"; + }, + noSuchMethod$1(_, invocation) { + throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, type$.Invocation._as(invocation))); + }, + get$runtimeType(_) { + return A.getRuntimeTypeOfDartObject(this); + }, + toString() { + return this.toString$0(this); + } + }; + A._StringStackTrace.prototype = { + toString$0(_) { + return this._stackTrace; + }, + $isStackTrace: 1 + }; + A.StringBuffer.prototype = { + get$length(_) { + return this._contents.length; + }, + write$1(_, obj) { + this._contents += A.S(obj); + }, + writeCharCode$1(charCode) { + this._contents += A.Primitives_stringFromCharCode(charCode); + }, + toString$0(_) { + var t1 = this._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + $isStringSink: 1 + }; + A.Uri_splitQueryString_closure.prototype = { + call$2(map, element) { + var index, key, value, t1; + type$.Map_String_String._as(map); + A._asString(element); + index = B.JSString_methods.indexOf$1(element, "="); + if (index === -1) { + if (element !== "") + J.$indexSet$ax(map, A._Uri__uriDecode(element, 0, element.length, this.encoding, true), ""); + } else if (index !== 0) { + key = B.JSString_methods.substring$2(element, 0, index); + value = B.JSString_methods.substring$1(element, index + 1); + t1 = this.encoding; + J.$indexSet$ax(map, A._Uri__uriDecode(key, 0, key.length, t1, true), A._Uri__uriDecode(value, 0, value.length, t1, true)); + } + return map; + }, + $signature: 40 + }; + A.Uri__parseIPv4Address_error.prototype = { + call$2(msg, position) { + throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); + }, + $signature: 25 + }; + A.Uri_parseIPv6Address_error.prototype = { + call$2(msg, position) { + throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); + }, + $signature: 45 + }; + A.Uri_parseIPv6Address_parseHex.prototype = { + call$2(start, end) { + var value; + if (end - start > 4) + this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); + value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16); + if (value < 0 || value > 65535) + this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); + return value; + }, + $signature: 46 + }; + A._Uri.prototype = { + get$_text() { + var t1, t2, t3, t4, _this = this, + value = _this.___Uri__text_FI; + if (value === $) { + t1 = _this.scheme; + t2 = t1.length !== 0 ? "" + t1 + ":" : ""; + t3 = _this._host; + t4 = t3 == null; + if (!t4 || t1 === "file") { + t1 = t2 + "//"; + t2 = _this._userInfo; + if (t2.length !== 0) + t1 = t1 + t2 + "@"; + if (!t4) + t1 += t3; + t2 = _this._port; + if (t2 != null) + t1 = t1 + ":" + A.S(t2); + } else + t1 = t2; + t1 += _this.path; + t2 = _this._query; + if (t2 != null) + t1 = t1 + "?" + t2; + t2 = _this._fragment; + if (t2 != null) + t1 = t1 + "#" + t2; + value !== $ && A.throwLateFieldADI("_text"); + value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1; + } + return value; + }, + get$pathSegments() { + var pathToSplit, t1, result, _this = this, + value = _this.___Uri_pathSegments_FI; + if (value === $) { + pathToSplit = _this.path; + t1 = pathToSplit.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(pathToSplit, 0); + t1 = pathToSplit.charCodeAt(0) === 47; + } else + t1 = false; + if (t1) + pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1); + result = pathToSplit.length === 0 ? B.List_empty : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), type$.dynamic_Function_String._as(A.core_Uri_decodeComponent$closure()), type$.MappedListIterable_String_dynamic), type$.String); + _this.___Uri_pathSegments_FI !== $ && A.throwLateFieldADI("pathSegments"); + _this.set$___Uri_pathSegments_FI(result); + value = result; + } + return value; + }, + get$hashCode(_) { + var result, _this = this, + value = _this.___Uri_hashCode_FI; + if (value === $) { + result = B.JSString_methods.get$hashCode(_this.get$_text()); + _this.___Uri_hashCode_FI !== $ && A.throwLateFieldADI("hashCode"); + _this.___Uri_hashCode_FI = result; + value = result; + } + return value; + }, + get$queryParameters() { + var t1, result, _this = this, + value = _this.___Uri_queryParameters_FI; + if (value === $) { + t1 = _this._query; + result = new A.UnmodifiableMapView(A.Uri_splitQueryString(t1 == null ? "" : t1), type$.UnmodifiableMapView_String_String); + _this.___Uri_queryParameters_FI !== $ && A.throwLateFieldADI("queryParameters"); + _this.set$___Uri_queryParameters_FI(result); + value = result; + } + return value; + }, + get$userInfo() { + return this._userInfo; + }, + get$host(_) { + var host = this._host; + if (host == null) + return ""; + if (B.JSString_methods.startsWith$1(host, "[")) + return B.JSString_methods.substring$2(host, 1, host.length - 1); + return host; + }, + get$port(_) { + var t1 = this._port; + return t1 == null ? A._Uri__defaultPort(this.scheme) : t1; + }, + get$query(_) { + var t1 = this._query; + return t1 == null ? "" : t1; + }, + get$fragment() { + var t1 = this._fragment; + return t1 == null ? "" : t1; + }, + isScheme$1(scheme) { + var thisScheme = this.scheme; + if (scheme.length !== thisScheme.length) + return false; + return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0; + }, + removeFragment$0() { + var _this = this; + if (_this._fragment == null) + return _this; + return A._Uri$_internal(_this.scheme, _this._userInfo, _this._host, _this._port, _this.path, _this._query, null); + }, + _mergePaths$2(base, reference) { + var backCount, refStart, baseEnd, t1, newEnd, delta, t2, t3; + for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) { + refStart += 3; + ++backCount; + } + baseEnd = B.JSString_methods.lastIndexOf$1(base, "/"); + t1 = base.length; + while (true) { + if (!(baseEnd > 0 && backCount > 0)) + break; + newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); + if (newEnd < 0) + break; + delta = baseEnd - newEnd; + t2 = delta !== 2; + if (!t2 || delta === 3) { + t3 = newEnd + 1; + if (!(t3 < t1)) + return A.ioore(base, t3); + if (base.charCodeAt(t3) === 46) + if (t2) { + t2 = newEnd + 2; + if (!(t2 < t1)) + return A.ioore(base, t2); + t2 = base.charCodeAt(t2) === 46; + } else + t2 = true; + else + t2 = false; + } else + t2 = false; + if (t2) + break; + --backCount; + baseEnd = newEnd; + } + return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount)); + }, + resolve$1(reference) { + return this.resolveUri$1(A.Uri_parse(reference)); + }, + resolveUri$1(reference) { + var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null; + if (reference.get$scheme().length !== 0) { + targetScheme = reference.get$scheme(); + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null; + } else { + targetPort = _null; + targetHost = targetPort; + targetUserInfo = ""; + } + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetScheme = _this.scheme; + if (reference.get$hasAuthority()) { + targetUserInfo = reference.get$userInfo(); + targetHost = reference.get$host(reference); + targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme); + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } else { + targetUserInfo = _this._userInfo; + targetHost = _this._host; + targetPort = _this._port; + targetPath = _this.path; + if (reference.get$path(reference) === "") + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; + else { + packageNameEnd = A._Uri__packageNameEnd(_this, targetPath); + if (packageNameEnd > 0) { + packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd); + targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference))); + } else if (reference.get$hasAbsolutePath()) + targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); + else if (targetPath.length === 0) + if (targetHost == null) + targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference)); + else + targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference)); + else { + mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference)); + t1 = targetScheme.length === 0; + if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/")) + targetPath = A._Uri__removeDotSegments(mergedPath); + else + targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); + } + targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; + } + } + } + return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null); + }, + get$hasAuthority() { + return this._host != null; + }, + get$hasPort() { + return this._port != null; + }, + get$hasQuery() { + return this._query != null; + }, + get$hasFragment() { + return this._fragment != null; + }, + get$hasAbsolutePath() { + return B.JSString_methods.startsWith$1(this.path, "/"); + }, + toFilePath$0() { + var pathSegments, _this = this, + t1 = _this.scheme; + if (t1 !== "" && t1 !== "file") + throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI")); + t1 = _this._query; + if ((t1 == null ? "" : t1) !== "") + throw A.wrapException(A.UnsupportedError$(string$.Cannotfq)); + t1 = _this._fragment; + if ((t1 == null ? "" : t1) !== "") + throw A.wrapException(A.UnsupportedError$(string$.Cannotff)); + t1 = $.$get$_Uri__isWindowsCached(); + if (t1) + t1 = A._Uri__toWindowsFilePath(_this); + else { + if (_this._host != null && _this.get$host(_this) !== "") + A.throwExpression(A.UnsupportedError$(string$.Cannotn)); + pathSegments = _this.get$pathSegments(); + A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); + t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/"); + t1 = t1.charCodeAt(0) == 0 ? t1 : t1; + } + return t1; + }, + toString$0(_) { + return this.get$_text(); + }, + $eq(_, other) { + var t1, t2, _this = this; + if (other == null) + return false; + if (_this === other) + return true; + if (type$.Uri._is(other)) + if (_this.scheme === other.get$scheme()) + if (_this._host != null === other.get$hasAuthority()) + if (_this._userInfo === other.get$userInfo()) + if (_this.get$host(_this) === other.get$host(other)) + if (_this.get$port(_this) === other.get$port(other)) + if (_this.path === other.get$path(other)) { + t1 = _this._query; + t2 = t1 == null; + if (!t2 === other.get$hasQuery()) { + if (t2) + t1 = ""; + if (t1 === other.get$query(other)) { + t1 = _this._fragment; + t2 = t1 == null; + if (!t2 === other.get$hasFragment()) { + if (t2) + t1 = ""; + t1 = t1 === other.get$fragment(); + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + else + t1 = false; + return t1; + }, + set$___Uri_pathSegments_FI(___Uri_pathSegments_FI) { + this.___Uri_pathSegments_FI = type$.List_String._as(___Uri_pathSegments_FI); + }, + set$___Uri_queryParameters_FI(___Uri_queryParameters_FI) { + this.___Uri_queryParameters_FI = type$.Map_String_String._as(___Uri_queryParameters_FI); + }, + $isUri: 1, + get$scheme() { + return this.scheme; + }, + get$path(receiver) { + return this.path; + } + }; + A._Uri__makePath_closure.prototype = { + call$1(s) { + return A._Uri__uriEncode(B.List_XRg0, A._asString(s), B.C_Utf8Codec, false); + }, + $signature: 17 + }; + A.UriData.prototype = { + get$uri() { + var t2, queryIndex, end, query, _this = this, _null = null, + t1 = _this._uriCache; + if (t1 == null) { + t1 = _this._separatorIndices; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = _this._text; + t1 = t1[0] + 1; + queryIndex = B.JSString_methods.indexOf$2(t2, "?", t1); + end = t2.length; + if (queryIndex >= 0) { + query = A._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, B.List_oFp, false, false); + end = queryIndex; + } else + query = _null; + t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t2, t1, end, B.List_XRg, false, false), query, _null); + } + return t1; + }, + toString$0(_) { + var t2, + t1 = this._separatorIndices; + if (0 >= t1.length) + return A.ioore(t1, 0); + t2 = this._text; + return t1[0] === -1 ? "data:" + t2 : t2; + } + }; + A._createTables_build.prototype = { + call$2(state, defaultTransition) { + var t1 = this.tables; + if (!(state < t1.length)) + return A.ioore(t1, state); + t1 = t1[state]; + B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); + return t1; + }, + $signature: 61 + }; + A._createTables_setChars.prototype = { + call$3(target, chars, transition) { + var t1, i, t2; + for (t1 = chars.length, i = 0; i < t1; ++i) { + t2 = chars.charCodeAt(i) ^ 96; + if (!(t2 < 96)) + return A.ioore(target, t2); + target[t2] = transition; + } + }, + $signature: 18 + }; + A._createTables_setRange.prototype = { + call$3(target, range, transition) { + var i, n, + t1 = range.length; + if (0 >= t1) + return A.ioore(range, 0); + i = range.charCodeAt(0); + if (1 >= t1) + return A.ioore(range, 1); + n = range.charCodeAt(1); + for (; i <= n; ++i) { + t1 = (i ^ 96) >>> 0; + if (!(t1 < 96)) + return A.ioore(target, t1); + target[t1] = transition; + } + }, + $signature: 18 + }; + A._SimpleUri.prototype = { + get$hasAuthority() { + return this._hostStart > 0; + }, + get$hasPort() { + return this._hostStart > 0 && this._portStart + 1 < this._pathStart; + }, + get$hasQuery() { + return this._queryStart < this._fragmentStart; + }, + get$hasFragment() { + return this._fragmentStart < this._uri.length; + }, + get$hasAbsolutePath() { + return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart); + }, + get$scheme() { + var t1 = this._schemeCache; + return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; + }, + _computeScheme$0() { + var t2, _this = this, + t1 = _this._schemeEnd; + if (t1 <= 0) + return ""; + t2 = t1 === 4; + if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http")) + return "http"; + if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https")) + return "https"; + if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file")) + return "file"; + if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package")) + return "package"; + return B.JSString_methods.substring$2(_this._uri, 0, t1); + }, + get$userInfo() { + var t1 = this._hostStart, + t2 = this._schemeEnd + 3; + return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : ""; + }, + get$host(_) { + var t1 = this._hostStart; + return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : ""; + }, + get$port(_) { + var t1, _this = this; + if (_this.get$hasPort()) + return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null); + t1 = _this._schemeEnd; + if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http")) + return 80; + if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https")) + return 443; + return 0; + }, + get$path(_) { + return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart); + }, + get$query(_) { + var t1 = this._queryStart, + t2 = this._fragmentStart; + return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : ""; + }, + get$fragment() { + var t1 = this._fragmentStart, + t2 = this._uri; + return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : ""; + }, + get$pathSegments() { + var parts, t2, i, + start = this._pathStart, + end = this._queryStart, + t1 = this._uri; + if (B.JSString_methods.startsWith$2(t1, "/", start)) + ++start; + if (start === end) + return B.List_empty; + parts = A._setArrayType([], type$.JSArray_String); + for (t2 = t1.length, i = start; i < end; ++i) { + if (!(i >= 0 && i < t2)) + return A.ioore(t1, i); + if (t1.charCodeAt(i) === 47) { + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(t1, start, i)); + start = i + 1; + } + } + B.JSArray_methods.add$1(parts, B.JSString_methods.substring$2(t1, start, end)); + return A.List_List$unmodifiable(parts, type$.String); + }, + get$queryParameters() { + var _this = this; + if (_this._queryStart >= _this._fragmentStart) + return B.Map_empty; + return new A.UnmodifiableMapView(A.Uri_splitQueryString(_this.get$query(_this)), type$.UnmodifiableMapView_String_String); + }, + _isPort$1(port) { + var portDigitStart = this._portStart + 1; + return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart); + }, + removeFragment$0() { + var _this = this, + t1 = _this._fragmentStart, + t2 = _this._uri; + if (t1 >= t2.length) + return _this; + return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache); + }, + resolve$1(reference) { + return this.resolveUri$1(A.Uri_parse(reference)); + }, + resolveUri$1(reference) { + if (reference instanceof A._SimpleUri) + return this._simpleMerge$2(this, reference); + return this._toNonSimple$0().resolveUri$1(reference); + }, + _simpleMerge$2(base, ref) { + var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert, + t1 = ref._schemeEnd; + if (t1 > 0) + return ref; + t2 = ref._hostStart; + if (t2 > 0) { + t3 = base._schemeEnd; + if (t3 <= 0) + return ref; + t4 = t3 === 4; + if (t4 && B.JSString_methods.startsWith$1(base._uri, "file")) + isSimple = ref._pathStart !== ref._queryStart; + else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http")) + isSimple = !ref._isPort$1("80"); + else + isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443"); + if (isSimple) { + delta = t3 + 1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, delta) + B.JSString_methods.substring$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache); + } else + return this._toNonSimple$0().resolveUri$1(ref); + } + refStart = ref._pathStart; + t1 = ref._queryStart; + if (refStart === t1) { + t2 = ref._fragmentStart; + if (t1 < t2) { + t3 = base._queryStart; + delta = t3 - t1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); + } + t1 = ref._uri; + if (t2 < t1.length) { + t3 = base._fragmentStart; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); + } + return base.removeFragment$0(); + } + t2 = ref._uri; + if (B.JSString_methods.startsWith$2(t2, "/", refStart)) { + basePathStart = base._pathStart; + packageNameEnd = A._SimpleUri__packageNameEnd(this); + basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart; + delta = basePathStart0 - refStart; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseStart = base._pathStart; + baseEnd = base._queryStart; + if (baseStart === baseEnd && base._hostStart > 0) { + for (; B.JSString_methods.startsWith$2(t2, "../", refStart);) + refStart += 3; + delta = baseStart - refStart + 1; + return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + } + baseUri = base._uri; + packageNameEnd = A._SimpleUri__packageNameEnd(this); + if (packageNameEnd >= 0) + baseStart0 = packageNameEnd; + else + for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);) + baseStart0 += 3; + backCount = 0; + while (true) { + refStart0 = refStart + 3; + if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart))) + break; + ++backCount; + refStart = refStart0; + } + for (t3 = baseUri.length, insert = ""; baseEnd > baseStart0;) { + --baseEnd; + if (!(baseEnd >= 0 && baseEnd < t3)) + return A.ioore(baseUri, baseEnd); + if (baseUri.charCodeAt(baseEnd) === 47) { + if (backCount === 0) { + insert = "/"; + break; + } + --backCount; + insert = "/"; + } + } + if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) { + refStart -= backCount * 3; + insert = ""; + } + delta = baseEnd - refStart + insert.length; + return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); + }, + toFilePath$0() { + var t2, t3, _this = this, + t1 = _this._schemeEnd; + if (t1 >= 0) { + t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file")); + t1 = t2; + } else + t1 = false; + if (t1) + throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI")); + t1 = _this._queryStart; + t2 = _this._uri; + if (t1 < t2.length) { + if (t1 < _this._fragmentStart) + throw A.wrapException(A.UnsupportedError$(string$.Cannotfq)); + throw A.wrapException(A.UnsupportedError$(string$.Cannotff)); + } + t3 = $.$get$_Uri__isWindowsCached(); + if (t3) + t1 = A._Uri__toWindowsFilePath(_this); + else { + if (_this._hostStart < _this._portStart) + A.throwExpression(A.UnsupportedError$(string$.Cannotn)); + t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1); + } + return t1; + }, + get$hashCode(_) { + var t1 = this._hashCodeCache; + return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1; + }, + $eq(_, other) { + if (other == null) + return false; + if (this === other) + return true; + return type$.Uri._is(other) && this._uri === other.toString$0(0); + }, + _toNonSimple$0() { + var _this = this, _null = null, + t1 = _this.get$scheme(), + t2 = _this.get$userInfo(), + t3 = _this._hostStart > 0 ? _this.get$host(_this) : _null, + t4 = _this.get$hasPort() ? _this.get$port(_this) : _null, + t5 = _this._uri, + t6 = _this._queryStart, + t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6), + t8 = _this._fragmentStart; + t6 = t6 < t8 ? _this.get$query(_this) : _null; + return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); + }, + toString$0(_) { + return this._uri; + }, + $isUri: 1 + }; + A._DataUri.prototype = {}; + A.HtmlElement.prototype = {}; + A.AccessibleNodeList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.AnchorElement.prototype = { + toString$0(receiver) { + var t1 = String(receiver); + t1.toString; + return t1; + } + }; + A.AreaElement.prototype = { + toString$0(receiver) { + var t1 = String(receiver); + t1.toString; + return t1; + } + }; + A.Blob.prototype = {}; + A.CharacterData.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.CssPerspective.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.CssRule.prototype = {$isCssRule: 1}; + A.CssStyleDeclaration.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + } + }; + A.CssStyleDeclarationBase.prototype = {}; + A.CssStyleValue.prototype = {}; + A.CssTransformComponent.prototype = {}; + A.CssTransformValue.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.CssUnparsedValue.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.DataTransferItemList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.DomException.prototype = { + toString$0(receiver) { + var t1 = String(receiver); + t1.toString; + return t1; + } + }; + A.DomRectList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Rectangle_num._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.DomRectReadOnly.prototype = { + toString$0(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(this.get$width(receiver)) + " x " + A.S(this.get$height(receiver)); + }, + $eq(receiver, other) { + var t1, t2; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = other.left; + t2.toString; + if (t1 === t2) { + t1 = receiver.top; + t1.toString; + t2 = other.top; + t2.toString; + if (t1 === t2) { + t1 = J.getInterceptor$x(other); + t1 = this.get$width(receiver) === t1.get$width(other) && this.get$height(receiver) === t1.get$height(other); + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + get$hashCode(receiver) { + var t2, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + return A.Object_hash(t1, t2, this.get$width(receiver), this.get$height(receiver)); + }, + get$_height(receiver) { + return receiver.height; + }, + get$height(receiver) { + var t1 = this.get$_height(receiver); + t1.toString; + return t1; + }, + get$_width(receiver) { + return receiver.width; + }, + get$width(receiver) { + var t1 = this.get$_width(receiver); + t1.toString; + return t1; + }, + $isRectangle: 1 + }; + A.DomStringList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + A._asString(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.DomTokenList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + } + }; + A.Element.prototype = { + toString$0(receiver) { + var t1 = receiver.localName; + t1.toString; + return t1; + } + }; + A.EventTarget.prototype = {}; + A.File.prototype = {$isFile: 1}; + A.FileList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.File._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.FileWriter.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.FormElement.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.Gamepad.prototype = {$isGamepad: 1}; + A.History.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + } + }; + A.HtmlCollection.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.Location.prototype = { + toString$0(receiver) { + var t1 = String(receiver); + t1.toString; + return t1; + } + }; + A.MediaList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.MidiInputMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry, t1; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + t1 = entry.done; + t1.toString; + if (t1) + return; + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.MidiInputMap_keys_closure(keys)); + return keys; + }, + get$length(receiver) { + var t1 = receiver.size; + t1.toString; + return t1; + }, + get$isEmpty(receiver) { + var t1 = receiver.size; + t1.toString; + return t1 === 0; + }, + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + A.MidiInputMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); + }, + $signature: 4 + }; + A.MidiOutputMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry, t1; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + t1 = entry.done; + t1.toString; + if (t1) + return; + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.MidiOutputMap_keys_closure(keys)); + return keys; + }, + get$length(receiver) { + var t1 = receiver.size; + t1.toString; + return t1; + }, + get$isEmpty(receiver) { + var t1 = receiver.size; + t1.toString; + return t1 === 0; + }, + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + A.MidiOutputMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); + }, + $signature: 4 + }; + A.MimeType.prototype = {$isMimeType: 1}; + A.MimeTypeArray.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.MimeType._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.Node.prototype = { + toString$0(receiver) { + var value = receiver.nodeValue; + return value == null ? this.super$Interceptor$toString(receiver) : value; + }, + $isNode: 1 + }; + A.NodeList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.Plugin.prototype = { + get$length(receiver) { + return receiver.length; + }, + $isPlugin: 1 + }; + A.PluginArray.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Plugin._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.RtcStatsReport.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry, t1; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + t1 = entry.done; + t1.toString; + if (t1) + return; + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.RtcStatsReport_keys_closure(keys)); + return keys; + }, + get$length(receiver) { + var t1 = receiver.size; + t1.toString; + return t1; + }, + get$isEmpty(receiver) { + var t1 = receiver.size; + t1.toString; + return t1 === 0; + }, + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + A.RtcStatsReport_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); + }, + $signature: 4 + }; + A.SelectElement.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.SourceBuffer.prototype = {$isSourceBuffer: 1}; + A.SourceBufferList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.SourceBuffer._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; + A.SpeechGrammarList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.SpeechGrammar._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.SpeechRecognitionResult.prototype = { + get$length(receiver) { + return receiver.length; + }, + $isSpeechRecognitionResult: 1 + }; + A.Storage.prototype = { + containsKey$1(receiver, key) { + return receiver.getItem(key) != null; + }, + $index(receiver, key) { + return receiver.getItem(A._asString(key)); + }, + $indexSet(receiver, key, value) { + receiver.setItem(key, value); + }, + forEach$1(receiver, f) { + var i, key, t1; + type$.void_Function_String_String._as(f); + for (i = 0; true; ++i) { + key = receiver.key(i); + if (key == null) + return; + t1 = receiver.getItem(key); + t1.toString; + f.call$2(key, t1); + } + }, + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.Storage_keys_closure(keys)); + return keys; + }, + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + get$isEmpty(receiver) { + return receiver.key(0) == null; + }, + $isMap: 1 + }; + A.Storage_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); + }, + $signature: 27 + }; + A.StyleSheet.prototype = {$isStyleSheet: 1}; + A.TextTrack.prototype = {$isTextTrack: 1}; + A.TextTrackCue.prototype = {$isTextTrackCue: 1}; + A.TextTrackCueList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.TextTrackCue._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TextTrackList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.TextTrack._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TimeRanges.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + } + }; + A.Touch.prototype = {$isTouch: 1}; + A.TouchList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Touch._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.TrackDefaultList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.Url.prototype = { + toString$0(receiver) { + var t1 = String(receiver); + t1.toString; + return t1; + } + }; + A.VideoTrackList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A._CssRuleList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.CssRule._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A._DomRect.prototype = { + toString$0(receiver) { + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + t3 = receiver.width; + t3.toString; + t4 = receiver.height; + t4.toString; + return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(t3) + " x " + A.S(t4); + }, + $eq(receiver, other) { + var t1, t2; + if (other == null) + return false; + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = other.left; + t2.toString; + if (t1 === t2) { + t1 = receiver.top; + t1.toString; + t2 = other.top; + t2.toString; + if (t1 === t2) { + t1 = receiver.width; + t1.toString; + t2 = J.getInterceptor$x(other); + if (t1 === t2.get$width(other)) { + t1 = receiver.height; + t1.toString; + t2 = t1 === t2.get$height(other); + t1 = t2; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + } else + t1 = false; + return t1; + }, + get$hashCode(receiver) { + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t2 = receiver.top; + t2.toString; + t3 = receiver.width; + t3.toString; + t4 = receiver.height; + t4.toString; + return A.Object_hash(t1, t2, t3, t4); + }, + get$_height(receiver) { + return receiver.height; + }, + get$height(receiver) { + var t1 = receiver.height; + t1.toString; + return t1; + }, + get$_width(receiver) { + return receiver.width; + }, + get$width(receiver) { + var t1 = receiver.width; + t1.toString; + return t1; + } + }; + A._GamepadList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + return receiver[index]; + }, + $indexSet(receiver, index, value) { + type$.nullable_Gamepad._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A._NamedNodeMap.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Node._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A._SpeechRecognitionResultList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.SpeechRecognitionResult._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A._StyleSheetList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.StyleSheet._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + if (!(index >= 0 && index < receiver.length)) + return A.ioore(receiver, index); + return receiver[index]; + }, + $isEfficientLengthIterable: 1, + $isJavaScriptIndexingBehavior: 1, + $isIterable: 1, + $isList: 1 + }; + A.ImmutableListMixin.prototype = { + get$iterator(receiver) { + return new A.FixedSizeListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("FixedSizeListIterator")); + } + }; + A.FixedSizeListIterator.prototype = { + moveNext$0() { + var _this = this, + nextPosition = _this._position + 1, + t1 = _this._html$_length; + if (nextPosition < t1) { + _this.set$_html$_current(J.$index$asx(_this._array, nextPosition)); + _this._position = nextPosition; + return true; + } + _this.set$_html$_current(null); + _this._position = t1; + return false; + }, + get$current(_) { + var t1 = this._html$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + set$_html$_current(_current) { + this._html$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; + A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase.prototype = {}; + A._DomRectList_JavaScriptObject_ListMixin.prototype = {}; + A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._DomStringList_JavaScriptObject_ListMixin.prototype = {}; + A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._FileList_JavaScriptObject_ListMixin.prototype = {}; + A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._HtmlCollection_JavaScriptObject_ListMixin.prototype = {}; + A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._MidiInputMap_JavaScriptObject_MapMixin.prototype = {}; + A._MidiOutputMap_JavaScriptObject_MapMixin.prototype = {}; + A._MimeTypeArray_JavaScriptObject_ListMixin.prototype = {}; + A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._NodeList_JavaScriptObject_ListMixin.prototype = {}; + A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._PluginArray_JavaScriptObject_ListMixin.prototype = {}; + A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._RtcStatsReport_JavaScriptObject_MapMixin.prototype = {}; + A._SourceBufferList_EventTarget_ListMixin.prototype = {}; + A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + A._SpeechGrammarList_JavaScriptObject_ListMixin.prototype = {}; + A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._Storage_JavaScriptObject_MapMixin.prototype = {}; + A._TextTrackCueList_JavaScriptObject_ListMixin.prototype = {}; + A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._TextTrackList_EventTarget_ListMixin.prototype = {}; + A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; + A._TouchList_JavaScriptObject_ListMixin.prototype = {}; + A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__CssRuleList_JavaScriptObject_ListMixin.prototype = {}; + A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__GamepadList_JavaScriptObject_ListMixin.prototype = {}; + A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__NamedNodeMap_JavaScriptObject_ListMixin.prototype = {}; + A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin.prototype = {}; + A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.__StyleSheetList_JavaScriptObject_ListMixin.prototype = {}; + A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.jsify__convert.prototype = { + call$1(o) { + var t1, convertedMap, t2, key, convertedList; + if (A._noJsifyRequired(o)) + return o; + t1 = this._convertedObjects; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) { + convertedMap = {}; + t1.$indexSet(0, o, convertedMap); + for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { + key = t2.get$current(t2); + convertedMap[key] = this.call$1(t1.$index(o, key)); + } + return convertedMap; + } else if (type$.Iterable_nullable_Object._is(o)) { + convertedList = []; + t1.$indexSet(0, o, convertedList); + B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); + return convertedList; + } else + return o; + }, + $signature: 19 + }; + A.promiseToFuture_closure.prototype = { + call$1(r) { + return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); + }, + $signature: 5 + }; + A.promiseToFuture_closure0.prototype = { + call$1(e) { + if (e == null) + return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); + return this.completer.completeError$1(e); + }, + $signature: 5 + }; + A.dartify_convert.prototype = { + call$1(o) { + var t1, millisSinceEpoch, proto, t2, dartObject, originalKeys, dartKeys, i, jsKey, dartKey, l, $length; + if (A._noDartifyRequired(o)) + return o; + t1 = this._convertedObjects; + o.toString; + if (t1.containsKey$1(0, o)) + return t1.$index(0, o); + if (o instanceof Date) { + millisSinceEpoch = o.getTime(); + if (Math.abs(millisSinceEpoch) <= 864e13) + t1 = false; + else + t1 = true; + if (t1) + A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + millisSinceEpoch, null)); + A.checkNotNullable(true, "isUtc", type$.bool); + return new A.DateTime(millisSinceEpoch, true); + } + if (o instanceof RegExp) + throw A.wrapException(A.ArgumentError$("structured clone of RegExp", null)); + if (typeof Promise != "undefined" && o instanceof Promise) + return A.promiseToFuture(o, type$.nullable_Object); + proto = Object.getPrototypeOf(o); + if (proto === Object.prototype || proto === null) { + t2 = type$.nullable_Object; + dartObject = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); + t1.$indexSet(0, o, dartObject); + originalKeys = Object.keys(o); + dartKeys = []; + for (t1 = J.getInterceptor$ax(originalKeys), t2 = t1.get$iterator(originalKeys); t2.moveNext$0();) + dartKeys.push(A.dartify(t2.get$current(t2))); + for (i = 0; i < t1.get$length(originalKeys); ++i) { + jsKey = t1.$index(originalKeys, i); + if (!(i < dartKeys.length)) + return A.ioore(dartKeys, i); + dartKey = dartKeys[i]; + if (jsKey != null) + dartObject.$indexSet(0, dartKey, this.call$1(o[jsKey])); + } + return dartObject; + } + if (o instanceof Array) { + l = o; + dartObject = []; + t1.$indexSet(0, o, dartObject); + $length = A._asInt(o.length); + for (t1 = J.getInterceptor$asx(l), i = 0; i < $length; ++i) + dartObject.push(this.call$1(t1.$index(l, i))); + return dartObject; + } + return o; + }, + $signature: 19 + }; + A.NullRejectionException.prototype = { + toString$0(_) { + return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; + }, + $isException: 1 + }; + A.Length.prototype = {$isLength: 1}; + A.LengthList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Length._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.Number.prototype = {$isNumber: 1}; + A.NumberList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Number._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.PointList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.StringList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + A._asString(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A.Transform.prototype = {$isTransform: 1}; + A.TransformList.prototype = { + get$length(receiver) { + var t1 = receiver.length; + t1.toString; + return t1; + }, + $index(receiver, index) { + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; + }, + $indexSet(receiver, index, value) { + type$.Transform._as(value); + throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); + }, + elementAt$1(receiver, index) { + return this.$index(receiver, index); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 + }; + A._LengthList_JavaScriptObject_ListMixin.prototype = {}; + A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._NumberList_JavaScriptObject_ListMixin.prototype = {}; + A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._StringList_JavaScriptObject_ListMixin.prototype = {}; + A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A._TransformList_JavaScriptObject_ListMixin.prototype = {}; + A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; + A.AudioBuffer.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.AudioParamMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, + $index(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); + }, + forEach$1(receiver, f) { + var entries, entry, t1; + type$.void_Function_String_dynamic._as(f); + entries = receiver.entries(); + for (; true;) { + entry = entries.next(); + t1 = entry.done; + t1.toString; + if (t1) + return; + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); + } + }, + get$keys(receiver) { + var keys = A._setArrayType([], type$.JSArray_String); + this.forEach$1(receiver, new A.AudioParamMap_keys_closure(keys)); + return keys; + }, + get$length(receiver) { + var t1 = receiver.size; + t1.toString; + return t1; + }, + get$isEmpty(receiver) { + var t1 = receiver.size; + t1.toString; + return t1 === 0; + }, + $indexSet(receiver, key, value) { + throw A.wrapException(A.UnsupportedError$("Not supported")); + }, + $isMap: 1 + }; + A.AudioParamMap_keys_closure.prototype = { + call$2(k, v) { + return B.JSArray_methods.add$1(this.keys, k); + }, + $signature: 4 + }; + A.AudioTrackList.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A.BaseAudioContext.prototype = {}; + A.OfflineAudioContext.prototype = { + get$length(receiver) { + return receiver.length; + } + }; + A._AudioParamMap_JavaScriptObject_MapMixin.prototype = {}; + A.NullStreamSink.prototype = { + addStream$1(_, stream) { + var _this = this; + _this.$ti._eval$1("Stream<1>")._as(stream); + _this._checkEventAllowed$0(); + _this._addingStream = true; + return stream.listen$1(null).cancel$0(0).whenComplete$1(new A.NullStreamSink_addStream_closure(_this)); + }, + _checkEventAllowed$0() { + if (this._null_stream_sink$_closed) + throw A.wrapException(A.StateError$("Cannot add to a closed sink.")); + if (this._addingStream) + throw A.wrapException(A.StateError$("Cannot add to a sink while adding a stream.")); + }, + close$0(_) { + this._null_stream_sink$_closed = true; + return this.done; + }, + $isStreamConsumer: 1, + $isStreamSink: 1 + }; + A.NullStreamSink_addStream_closure.prototype = { + call$0() { + this.$this._addingStream = false; + }, + $signature: 3 + }; + A.Context.prototype = { + absolute$15(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) { + var t1; + A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String)); + t1 = this.style; + t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1); + if (t1) + return part1; + t1 = this._context$_current; + return this.join$16(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15); + }, + absolute$1($receiver, part1) { + return this.absolute$15($receiver, part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + }, + join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) { + var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String); + A._validateArgList("join", parts); + return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String)); + }, + join$2($receiver, part1, part2) { + return this.join$16($receiver, part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + }, + joinAll$1(parts) { + var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6; + type$.Iterable_String._as(parts); + for (t1 = parts.$ti, t2 = t1._eval$1("bool(Iterable.E)")._as(new A.Context_joinAll_closure()), t3 = parts.get$iterator(parts), t1 = new A.WhereIterator(t3, t2, t1._eval$1("WhereIterator")), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = ""; t1.moveNext$0();) { + t5 = t3.get$current(t3); + if (t2.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) { + parsed = A.ParsedPath_ParsedPath$parse(t5, t2); + path = t4.charCodeAt(0) == 0 ? t4 : t4; + t4 = B.JSString_methods.substring$2(path, 0, t2.rootLength$2$withDrive(path, true)); + parsed.root = t4; + if (t2.needsSeparator$1(t4)) + B.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator()); + t4 = "" + parsed.toString$0(0); + } else if (t2.rootLength$1(t5) > 0) { + isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(t5); + t4 = "" + t5; + } else { + t6 = t5.length; + if (t6 !== 0) { + if (0 >= t6) + return A.ioore(t5, 0); + t6 = t2.containsSeparator$1(t5[0]); + } else + t6 = false; + if (!t6) + if (needsSeparator) + t4 += t2.get$separator(); + t4 += t5; + } + needsSeparator = t2.needsSeparator$1(t5); + } + return t4.charCodeAt(0) == 0 ? t4 : t4; + }, + split$1(_, path) { + var parsed = A.ParsedPath_ParsedPath$parse(path, this.style), + t1 = parsed.parts, + t2 = A._arrayInstanceType(t1), + t3 = t2._eval$1("WhereIterable<1>"); + parsed.set$parts(A.List_List$of(new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Context_split_closure()), t3), true, t3._eval$1("Iterable.E"))); + t1 = parsed.root; + if (t1 != null) + B.JSArray_methods.insert$2(parsed.parts, 0, t1); + return parsed.parts; + }, + normalize$1(_, path) { + var parsed; + if (!this._needsNormalization$1(path)) + return path; + parsed = A.ParsedPath_ParsedPath$parse(path, this.style); + parsed.normalize$0(0); + return parsed.toString$0(0); + }, + _needsNormalization$1(path) { + var t2, i, start, previous, t3, previousPrevious, codeUnit, t4, + t1 = this.style, + root = t1.rootLength$1(path); + if (root !== 0) { + if (t1 === $.$get$Style_windows()) + for (t2 = path.length, i = 0; i < root; ++i) { + if (!(i < t2)) + return A.ioore(path, i); + if (path.charCodeAt(i) === 47) + return true; + } + start = root; + previous = 47; + } else { + start = 0; + previous = null; + } + for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) { + if (!(i >= 0)) + return A.ioore(t2, i); + codeUnit = t2.charCodeAt(i); + if (t1.isSeparator$1(codeUnit)) { + if (t1 === $.$get$Style_windows() && codeUnit === 47) + return true; + if (previous != null && t1.isSeparator$1(previous)) + return true; + if (previous === 46) + t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious); + else + t4 = false; + if (t4) + return true; + } + } + if (previous == null) + return true; + if (t1.isSeparator$1(previous)) + return true; + if (previous === 46) + t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46; + else + t1 = false; + if (t1) + return true; + return false; + }, + relative$1(path) { + var from, fromParsed, pathParsed, t3, t4, t5, _this = this, + _s26_ = 'Unable to find a path to "', + t1 = _this.style, + t2 = t1.rootLength$1(path); + if (t2 <= 0) + return _this.normalize$1(0, path); + t2 = _this._context$_current; + from = t2 == null ? A.current() : t2; + if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0) + return _this.normalize$1(0, path); + if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path)) + path = _this.absolute$1(0, path); + if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0) + throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".')); + fromParsed = A.ParsedPath_ParsedPath$parse(from, t1); + fromParsed.normalize$0(0); + pathParsed = A.ParsedPath_ParsedPath$parse(path, t1); + pathParsed.normalize$0(0); + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = J.$eq$(t2[0], "."); + } else + t2 = false; + if (t2) + return pathParsed.toString$0(0); + t2 = fromParsed.root; + t3 = pathParsed.root; + if (t2 != t3) + t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3); + else + t2 = false; + if (t2) + return pathParsed.toString$0(0); + while (true) { + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + t4 = pathParsed.parts; + t5 = t4.length; + if (t5 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = t2[0]; + if (0 >= t5) + return A.ioore(t4, 0); + t4 = t1.pathsEqual$2(t2, t4[0]); + t2 = t4; + } else + t2 = false; + } else + t2 = false; + if (!t2) + break; + B.JSArray_methods.removeAt$1(fromParsed.parts, 0); + B.JSArray_methods.removeAt$1(fromParsed.separators, 1); + B.JSArray_methods.removeAt$1(pathParsed.parts, 0); + B.JSArray_methods.removeAt$1(pathParsed.separators, 1); + } + t2 = fromParsed.parts; + t3 = t2.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(t2, 0); + t2 = J.$eq$(t2[0], ".."); + } else + t2 = false; + if (t2) + throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".')); + t2 = type$.String; + B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2)); + B.JSArray_methods.$indexSet(pathParsed.separators, 0, ""); + B.JSArray_methods.insertAll$2(pathParsed.separators, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(), false, t2)); + t1 = pathParsed.parts; + t2 = t1.length; + if (t2 === 0) + return "."; + if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) { + B.JSArray_methods.removeLast$0(pathParsed.parts); + t1 = pathParsed.separators; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + B.JSArray_methods.add$1(t1, ""); + } + pathParsed.root = ""; + pathParsed.removeTrailingSeparators$0(); + return pathParsed.toString$0(0); + }, + toUri$1(path) { + var t2, + t1 = this.style; + if (t1.rootLength$1(path) <= 0) + return t1.relativePathToUri$1(path); + else { + t2 = this._context$_current; + return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path)); + } + }, + prettyUri$1(uri) { + var path, rel, _this = this, + typedUri = A._parseUri(uri); + if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url()) + return typedUri.toString$0(0); + else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url()) + return typedUri.toString$0(0); + path = _this.normalize$1(0, _this.style.pathFromUri$1(A._parseUri(typedUri))); + rel = _this.relative$1(path); + return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel; + } + }; + A.Context_joinAll_closure.prototype = { + call$1(part) { + return A._asString(part) !== ""; + }, + $signature: 1 + }; + A.Context_split_closure.prototype = { + call$1(part) { + return A._asString(part).length !== 0; + }, + $signature: 1 + }; + A._validateArgList_closure.prototype = { + call$1(arg) { + A._asStringQ(arg); + return arg == null ? "null" : '"' + arg + '"'; + }, + $signature: 31 + }; + A.InternalStyle.prototype = { + getRoot$1(path) { + var t1, + $length = this.rootLength$1(path); + if ($length > 0) + return B.JSString_methods.substring$2(path, 0, $length); + if (this.isRootRelative$1(path)) { + if (0 >= path.length) + return A.ioore(path, 0); + t1 = path[0]; + } else + t1 = null; + return t1; + }, + relativePathToUri$1(path) { + var segments, t2, _null = null, + t1 = path.length; + if (t1 === 0) + return A._Uri__Uri(_null, _null, _null, _null); + segments = A.Context_Context(this).split$1(0, path); + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + if (this.isSeparator$1(path.charCodeAt(t2))) + B.JSArray_methods.add$1(segments, ""); + return A._Uri__Uri(_null, _null, segments, _null); + }, + pathsEqual$2(path1, path2) { + return path1 === path2; + } + }; + A.ParsedPath.prototype = { + get$hasTrailingSeparator() { + var t1 = this.parts; + if (t1.length !== 0) + t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), ""); + else + t1 = false; + return t1; + }, + removeTrailingSeparators$0() { + var t1, t2, _this = this; + while (true) { + t1 = _this.parts; + if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), ""))) + break; + B.JSArray_methods.removeLast$0(_this.parts); + t1 = _this.separators; + if (0 >= t1.length) + return A.ioore(t1, -1); + t1.pop(); + } + t1 = _this.separators; + t2 = t1.length; + if (t2 !== 0) + B.JSArray_methods.$indexSet(t1, t2 - 1, ""); + }, + normalize$0(_) { + var t1, t2, leadingDoubles, _i, part, t3, _this = this, + newParts = A._setArrayType([], type$.JSArray_String); + for (t1 = _this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + part = t1[_i]; + t3 = J.getInterceptor$(part); + if (!(t3.$eq(part, ".") || t3.$eq(part, ""))) + if (t3.$eq(part, "..")) { + t3 = newParts.length; + if (t3 !== 0) { + if (0 >= t3) + return A.ioore(newParts, -1); + newParts.pop(); + } else + ++leadingDoubles; + } else + B.JSArray_methods.add$1(newParts, part); + } + if (_this.root == null) + B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String)); + if (newParts.length === 0 && _this.root == null) + B.JSArray_methods.add$1(newParts, "."); + _this.set$parts(newParts); + t1 = _this.style; + _this.set$separators(A.List_List$filled(newParts.length + 1, t1.get$separator(), true, type$.String)); + t2 = _this.root; + if (t2 == null || newParts.length === 0 || !t1.needsSeparator$1(t2)) + B.JSArray_methods.$indexSet(_this.separators, 0, ""); + t2 = _this.root; + if (t2 != null && t1 === $.$get$Style_windows()) { + t2.toString; + _this.root = A.stringReplaceAllUnchecked(t2, "/", "\\"); + } + _this.removeTrailingSeparators$0(); + }, + toString$0(_) { + var i, t2, t3, _this = this, + t1 = _this.root; + t1 = t1 != null ? "" + t1 : ""; + for (i = 0; i < _this.parts.length; ++i, t1 = t3) { + t2 = _this.separators; + if (!(i < t2.length)) + return A.ioore(t2, i); + t2 = A.S(t2[i]); + t3 = _this.parts; + if (!(i < t3.length)) + return A.ioore(t3, i); + t3 = t1 + t2 + A.S(t3[i]); + } + t1 += A.S(B.JSArray_methods.get$last(_this.separators)); + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + set$parts(parts) { + this.parts = type$.List_String._as(parts); + }, + set$separators(separators) { + this.separators = type$.List_String._as(separators); + } + }; + A.PathException.prototype = { + toString$0(_) { + return "PathException: " + this.message; + }, + $isException: 1 + }; + A.Style.prototype = { + toString$0(_) { + return this.get$name(this); + } + }; + A.PosixStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); + }, + isSeparator$1(codeUnit) { + return codeUnit === 47; + }, + needsSeparator$1(path) { + var t2, + t1 = path.length; + if (t1 !== 0) { + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + t2 = path.charCodeAt(t2) !== 47; + t1 = t2; + } else + t1 = false; + return t1; + }, + rootLength$2$withDrive(path, withDrive) { + var t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t1 = path.charCodeAt(0) === 47; + } else + t1 = false; + if (t1) + return 1; + return 0; + }, + rootLength$1(path) { + return this.rootLength$2$withDrive(path, false); + }, + isRootRelative$1(path) { + return false; + }, + pathFromUri$1(uri) { + var t1; + if (uri.get$scheme() === "" || uri.get$scheme() === "file") { + t1 = uri.get$path(uri); + return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false); + } + throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null)); + }, + absolutePathToUri$1(path) { + var parsed = A.ParsedPath_ParsedPath$parse(path, this), + t1 = parsed.parts; + if (t1.length === 0) + B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String)); + else if (parsed.get$hasTrailingSeparator()) + B.JSArray_methods.add$1(parsed.parts, ""); + return A._Uri__Uri(null, null, parsed.parts, "file"); + }, + get$name() { + return "posix"; + }, + get$separator() { + return "/"; + } + }; + A.UrlStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); + }, + isSeparator$1(codeUnit) { + return codeUnit === 47; + }, + needsSeparator$1(path) { + var t2, + t1 = path.length; + if (t1 === 0) + return false; + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + if (path.charCodeAt(t2) !== 47) + return true; + return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; + }, + rootLength$2$withDrive(path, withDrive) { + var i, codeUnit, index, t2, + t1 = path.length; + if (t1 === 0) + return 0; + if (0 >= t1) + return A.ioore(path, 0); + if (path.charCodeAt(0) === 47) + return 1; + for (i = 0; i < t1; ++i) { + codeUnit = path.charCodeAt(i); + if (codeUnit === 47) + return 0; + if (codeUnit === 58) { + if (i === 0) + return 0; + index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i); + if (index <= 0) + return t1; + if (!withDrive || t1 < index + 3) + return index; + if (!B.JSString_methods.startsWith$1(path, "file://")) + return index; + if (!A.isDriveLetter(path, index + 1)) + return index; + t2 = index + 3; + return t1 === t2 ? t2 : index + 4; + } + } + return 0; + }, + rootLength$1(path) { + return this.rootLength$2$withDrive(path, false); + }, + isRootRelative$1(path) { + var t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t1 = path.charCodeAt(0) === 47; + } else + t1 = false; + return t1; + }, + pathFromUri$1(uri) { + return uri.toString$0(0); + }, + relativePathToUri$1(path) { + return A.Uri_parse(path); + }, + absolutePathToUri$1(path) { + return A.Uri_parse(path); + }, + get$name() { + return "url"; + }, + get$separator() { + return "/"; + } + }; + A.WindowsStyle.prototype = { + containsSeparator$1(path) { + return B.JSString_methods.contains$1(path, "/"); + }, + isSeparator$1(codeUnit) { + return codeUnit === 47 || codeUnit === 92; + }, + needsSeparator$1(path) { + var t2, + t1 = path.length; + if (t1 === 0) + return false; + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + t2 = path.charCodeAt(t2); + return !(t2 === 47 || t2 === 92); + }, + rootLength$2$withDrive(path, withDrive) { + var t2, index, + t1 = path.length; + if (t1 === 0) + return 0; + if (0 >= t1) + return A.ioore(path, 0); + if (path.charCodeAt(0) === 47) + return 1; + if (path.charCodeAt(0) === 92) { + if (t1 >= 2) { + if (1 >= t1) + return A.ioore(path, 1); + t2 = path.charCodeAt(1) !== 92; + } else + t2 = true; + if (t2) + return 1; + index = B.JSString_methods.indexOf$2(path, "\\", 2); + if (index > 0) { + index = B.JSString_methods.indexOf$2(path, "\\", index + 1); + if (index > 0) + return index; + } + return t1; + } + if (t1 < 3) + return 0; + if (!A.isAlphabetic(path.charCodeAt(0))) + return 0; + if (path.charCodeAt(1) !== 58) + return 0; + t1 = path.charCodeAt(2); + if (!(t1 === 47 || t1 === 92)) + return 0; + return 3; + }, + rootLength$1(path) { + return this.rootLength$2$withDrive(path, false); + }, + isRootRelative$1(path) { + return this.rootLength$1(path) === 1; + }, + pathFromUri$1(uri) { + var path, t1; + if (uri.get$scheme() !== "" && uri.get$scheme() !== "file") + throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null)); + path = uri.get$path(uri); + if (uri.get$host(uri) === "") { + if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1)) + path = B.JSString_methods.replaceFirst$2(path, "/", ""); + } else + path = "\\\\" + uri.get$host(uri) + path; + t1 = A.stringReplaceAllUnchecked(path, "/", "\\"); + return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false); + }, + absolutePathToUri$1(path) { + var rootParts, t2, + parsed = A.ParsedPath_ParsedPath$parse(path, this), + t1 = parsed.root; + t1.toString; + if (B.JSString_methods.startsWith$1(t1, "\\\\")) { + rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), type$.bool_Function_String._as(new A.WindowsStyle_absolutePathToUri_closure()), type$.WhereIterable_String); + B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts)); + if (parsed.get$hasTrailingSeparator()) + B.JSArray_methods.add$1(parsed.parts, ""); + return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file"); + } else { + if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator()) + B.JSArray_methods.add$1(parsed.parts, ""); + t1 = parsed.parts; + t2 = parsed.root; + t2.toString; + t2 = A.stringReplaceAllUnchecked(t2, "/", ""); + B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", "")); + return A._Uri__Uri(null, null, parsed.parts, "file"); + } + }, + codeUnitsEqual$2(codeUnit1, codeUnit2) { + var upperCase1; + if (codeUnit1 === codeUnit2) + return true; + if (codeUnit1 === 47) + return codeUnit2 === 92; + if (codeUnit1 === 92) + return codeUnit2 === 47; + if ((codeUnit1 ^ codeUnit2) !== 32) + return false; + upperCase1 = codeUnit1 | 32; + return upperCase1 >= 97 && upperCase1 <= 122; + }, + pathsEqual$2(path1, path2) { + var t1, t2, i; + if (path1 === path2) + return true; + t1 = path1.length; + t2 = path2.length; + if (t1 !== t2) + return false; + for (i = 0; i < t1; ++i) { + if (!(i < t2)) + return A.ioore(path2, i); + if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i))) + return false; + } + return true; + }, + get$name() { + return "windows"; + }, + get$separator() { + return "\\"; + } + }; + A.WindowsStyle_absolutePathToUri_closure.prototype = { + call$1(part) { + return A._asString(part) !== ""; + }, + $signature: 1 + }; + A.Chain.prototype = { + toTrace$0() { + var t1 = this.traces, + t2 = A._arrayInstanceType(t1); + return A.Trace$(new A.ExpandIterable(t1, t2._eval$1("Iterable(1)")._as(new A.Chain_toTrace_closure()), t2._eval$1("ExpandIterable<1,Frame>")), null); + }, + toString$0(_) { + var t1 = this.traces, + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.Chain_toString_closure(new A.MappedListIterable(t1, t2._eval$1("int(1)")._as(new A.Chain_toString_closure0()), t2._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, B.CONSTANT, type$.int))), t2._eval$1("MappedListIterable<1,String>")).join$1(0, string$.x3d_____); + }, + $isStackTrace: 1 + }; + A.Chain_Chain$parse_closure.prototype = { + call$1(line) { + return A._asString(line).length !== 0; + }, + $signature: 1 + }; + A.Chain_toTrace_closure.prototype = { + call$1(trace) { + return type$.Trace._as(trace).get$frames(); + }, + $signature: 32 + }; + A.Chain_toString_closure0.prototype = { + call$1(trace) { + var t1 = type$.Trace._as(trace).get$frames(), + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("int(1)")._as(new A.Chain_toString__closure0()), t2._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, B.CONSTANT, type$.int); + }, + $signature: 33 + }; + A.Chain_toString__closure0.prototype = { + call$1(frame) { + type$.Frame._as(frame); + return frame.get$location(frame).length; + }, + $signature: 20 + }; + A.Chain_toString_closure.prototype = { + call$1(trace) { + var t1 = type$.Trace._as(trace).get$frames(), + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.Chain_toString__closure(this.longest)), t2._eval$1("MappedListIterable<1,String>")).join$0(0); + }, + $signature: 35 + }; + A.Chain_toString__closure.prototype = { + call$1(frame) { + type$.Frame._as(frame); + return B.JSString_methods.padRight$1(frame.get$location(frame), this.longest) + " " + A.S(frame.get$member()) + "\n"; + }, + $signature: 21 + }; + A.Frame.prototype = { + get$isCore() { + return this.uri.get$scheme() === "dart"; + }, + get$library() { + var t1 = this.uri; + if (t1.get$scheme() === "data") + return "data:..."; + return $.$get$context().prettyUri$1(t1); + }, + get$$package() { + var t1 = this.uri; + if (t1.get$scheme() !== "package") + return null; + return B.JSArray_methods.get$first(t1.get$path(t1).split("/")); + }, + get$location(_) { + var t2, _this = this, + t1 = _this.line; + if (t1 == null) + return _this.get$library(); + t2 = _this.column; + if (t2 == null) + return _this.get$library() + " " + A.S(t1); + return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2); + }, + toString$0(_) { + return this.get$location(this) + " in " + A.S(this.member); + }, + get$uri() { + return this.uri; + }, + get$line(receiver) { + return this.line; + }, + get$column() { + return this.column; + }, + get$member() { + return this.member; + } + }; + A.Frame_Frame$parseVM_closure.prototype = { + call$0() { + var match, t2, t3, member, uri, lineAndColumn, line, _null = null, + t1 = this.frame; + if (t1 === "...") + return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "..."); + match = $.$get$_vmFrame().firstMatch$1(t1); + if (match == null) + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1); + t1 = match._match; + if (1 >= t1.length) + return A.ioore(t1, 1); + t2 = t1[1]; + t2.toString; + t3 = $.$get$_asyncBody(); + t2 = A.stringReplaceAllUnchecked(t2, t3, ""); + member = A.stringReplaceAllUnchecked(t2, "", ""); + if (2 >= t1.length) + return A.ioore(t1, 2); + t2 = t1[2]; + t3 = t2; + t3.toString; + if (B.JSString_methods.startsWith$1(t3, "= t1.length) + return A.ioore(t1, 3); + lineAndColumn = t1[3].split(":"); + t1 = lineAndColumn.length; + line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null; + return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member); + }, + $signature: 6 + }; + A.Frame_Frame$parseV8_closure.prototype = { + call$0() { + var t2, t3, t4, _s4_ = "", + t1 = this.frame, + match = $.$get$_v8Frame().firstMatch$1(t1); + if (match == null) + return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1); + t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1); + t2 = match._match; + t3 = t2.length; + if (2 >= t3) + return A.ioore(t2, 2); + t4 = t2[2]; + if (t4 != null) { + t3 = t4; + t3.toString; + t2 = t2[1]; + t2.toString; + t2 = A.stringReplaceAllUnchecked(t2, "", _s4_); + t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_); + return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_)); + } else { + if (3 >= t3) + return A.ioore(t2, 3); + t2 = t2[3]; + t2.toString; + return t1.call$2(t2, _s4_); + } + }, + $signature: 6 + }; + A.Frame_Frame$parseV8_closure_parseLocation.prototype = { + call$2($location, member) { + var t2, urlMatch, uri, line, columnMatch, _null = null, + t1 = $.$get$_v8EvalLocation(), + evalMatch = t1.firstMatch$1($location); + for (; evalMatch != null; $location = t2) { + t2 = evalMatch._match; + if (1 >= t2.length) + return A.ioore(t2, 1); + t2 = t2[1]; + t2.toString; + evalMatch = t1.firstMatch$1(t2); + } + if ($location === "native") + return new A.Frame(A.Uri_parse("native"), _null, _null, member); + urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location); + if (urlMatch == null) + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame); + t1 = urlMatch._match; + if (1 >= t1.length) + return A.ioore(t1, 1); + t2 = t1[1]; + t2.toString; + uri = A.Frame__uriOrPathToUri(t2); + if (2 >= t1.length) + return A.ioore(t1, 2); + t2 = t1[2]; + t2.toString; + line = A.int_parse(t2, _null); + if (3 >= t1.length) + return A.ioore(t1, 3); + columnMatch = t1[3]; + return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member); + }, + $signature: 38 + }; + A.Frame_Frame$_parseFirefoxEval_closure.prototype = { + call$0() { + var t2, member, uri, line, _null = null, + t1 = this.frame, + match = $.$get$_firefoxEvalLocation().firstMatch$1(t1); + if (match == null) + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1); + t1 = match._match; + if (1 >= t1.length) + return A.ioore(t1, 1); + t2 = t1[1]; + t2.toString; + member = A.stringReplaceAllUnchecked(t2, "/<", ""); + if (2 >= t1.length) + return A.ioore(t1, 2); + t2 = t1[2]; + t2.toString; + uri = A.Frame__uriOrPathToUri(t2); + if (3 >= t1.length) + return A.ioore(t1, 3); + t1 = t1[3]; + t1.toString; + line = A.int_parse(t1, _null); + return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "" : member); + }, + $signature: 6 + }; + A.Frame_Frame$parseFirefox_closure.prototype = { + call$0() { + var t2, t3, t4, uri, member, line, column, _null = null, + t1 = this.frame, + match = $.$get$_firefoxSafariFrame().firstMatch$1(t1); + if (match == null) + return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1); + t2 = match._match; + if (3 >= t2.length) + return A.ioore(t2, 3); + t3 = t2[3]; + t4 = t3; + t4.toString; + if (B.JSString_methods.contains$1(t4, " line ")) + return A.Frame_Frame$_parseFirefoxEval(t1); + t1 = t3; + t1.toString; + uri = A.Frame__uriOrPathToUri(t1); + t1 = t2.length; + if (1 >= t1) + return A.ioore(t2, 1); + member = t2[1]; + if (member != null) { + if (2 >= t1) + return A.ioore(t2, 2); + t1 = t2[2]; + t1.toString; + t1 = B.JSString_methods.allMatches$1("/", t1); + member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".", false, type$.String)); + if (member === "") + member = ""; + member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), ""); + } else + member = ""; + if (4 >= t2.length) + return A.ioore(t2, 4); + t1 = t2[4]; + if (t1 === "") + line = _null; + else { + t1 = t1; + t1.toString; + line = A.int_parse(t1, _null); + } + if (5 >= t2.length) + return A.ioore(t2, 5); + t1 = t2[5]; + if (t1 == null || t1 === "") + column = _null; + else { + t1 = t1; + t1.toString; + column = A.int_parse(t1, _null); + } + return new A.Frame(uri, line, column, member); + }, + $signature: 6 + }; + A.Frame_Frame$parseFriendly_closure.prototype = { + call$0() { + var t2, uri, line, column, _null = null, + t1 = this.frame, + match = $.$get$_friendlyFrame().firstMatch$1(t1); + if (match == null) + throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null)); + t1 = match._match; + if (1 >= t1.length) + return A.ioore(t1, 1); + t2 = t1[1]; + if (t2 === "data:...") + uri = A.Uri_Uri$dataFromString(""); + else { + t2 = t2; + t2.toString; + uri = A.Uri_parse(t2); + } + if (uri.get$scheme() === "") { + t2 = $.$get$context(); + uri = t2.toUri$1(t2.absolute$15(0, t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); + } + if (2 >= t1.length) + return A.ioore(t1, 2); + t2 = t1[2]; + if (t2 == null) + line = _null; + else { + t2 = t2; + t2.toString; + line = A.int_parse(t2, _null); + } + if (3 >= t1.length) + return A.ioore(t1, 3); + t2 = t1[3]; + if (t2 == null) + column = _null; + else { + t2 = t2; + t2.toString; + column = A.int_parse(t2, _null); + } + if (4 >= t1.length) + return A.ioore(t1, 4); + return new A.Frame(uri, line, column, t1[4]); + }, + $signature: 6 + }; + A.LazyTrace.prototype = { + get$_lazy_trace$_trace() { + var result, _this = this, + value = _this.__LazyTrace__trace_FI; + if (value === $) { + result = _this._thunk.call$0(); + _this.__LazyTrace__trace_FI !== $ && A.throwLateFieldADI("_trace"); + _this.__LazyTrace__trace_FI = result; + value = result; + } + return value; + }, + get$frames() { + return this.get$_lazy_trace$_trace().get$frames(); + }, + get$terse() { + return new A.LazyTrace(new A.LazyTrace_terse_closure(this)); + }, + toString$0(_) { + return this.get$_lazy_trace$_trace().toString$0(0); + }, + $isStackTrace: 1, + $isTrace: 1 + }; + A.LazyTrace_terse_closure.prototype = { + call$0() { + return this.$this.get$_lazy_trace$_trace().get$terse(); + }, + $signature: 22 + }; + A.Trace.prototype = { + get$terse() { + return this.foldFrames$2$terse(new A.Trace_terse_closure(), true); + }, + foldFrames$2$terse(predicate, terse) { + var newFrames, t1, t2, t3, _box_0 = {}; + _box_0.predicate = predicate; + type$.bool_Function_Frame._as(predicate); + _box_0.predicate = predicate; + _box_0.predicate = new A.Trace_foldFrames_closure(predicate); + newFrames = A._setArrayType([], type$.JSArray_Frame); + for (t1 = this.frames, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { + t3 = t1.__internal$_current; + if (t3 == null) + t3 = t2._as(t3); + if (t3 instanceof A.UnparsedFrame || !A.boolConversionCheck(_box_0.predicate.call$1(t3))) + B.JSArray_methods.add$1(newFrames, t3); + else if (newFrames.length === 0 || !A.boolConversionCheck(_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))) + B.JSArray_methods.add$1(newFrames, new A.Frame(t3.get$uri(), t3.get$line(t3), t3.get$column(), t3.get$member())); + } + t1 = type$.MappedListIterable_Frame_Frame; + newFrames = A.List_List$of(new A.MappedListIterable(newFrames, type$.Frame_Function_Frame._as(new A.Trace_foldFrames_closure0(_box_0)), t1), true, t1._eval$1("ListIterable.E")); + if (newFrames.length > 1 && A.boolConversionCheck(_box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))) + B.JSArray_methods.removeAt$1(newFrames, 0); + return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace); + }, + toString$0(_) { + var t1 = this.frames, + t2 = A._arrayInstanceType(t1); + return new A.MappedListIterable(t1, t2._eval$1("String(1)")._as(new A.Trace_toString_closure(new A.MappedListIterable(t1, t2._eval$1("int(1)")._as(new A.Trace_toString_closure0()), t2._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, B.CONSTANT, type$.int))), t2._eval$1("MappedListIterable<1,String>")).join$0(0); + }, + $isStackTrace: 1, + get$frames() { + return this.frames; + } + }; + A.Trace_Trace$from_closure.prototype = { + call$0() { + return A.Trace_Trace$parse(this.trace.toString$0(0)); + }, + $signature: 22 + }; + A.Trace__parseVM_closure.prototype = { + call$1(line) { + return A._asString(line).length !== 0; + }, + $signature: 1 + }; + A.Trace$parseV8_closure.prototype = { + call$1(line) { + return !B.JSString_methods.startsWith$1(A._asString(line), $.$get$_v8TraceLine()); + }, + $signature: 1 + }; + A.Trace$parseJSCore_closure.prototype = { + call$1(line) { + return A._asString(line) !== "\tat "; + }, + $signature: 1 + }; + A.Trace$parseFirefox_closure.prototype = { + call$1(line) { + A._asString(line); + return line.length !== 0 && line !== "[native code]"; + }, + $signature: 1 + }; + A.Trace$parseFriendly_closure.prototype = { + call$1(line) { + return !B.JSString_methods.startsWith$1(A._asString(line), "====="); + }, + $signature: 1 + }; + A.Trace_terse_closure.prototype = { + call$1(_) { + return false; + }, + $signature: 23 + }; + A.Trace_foldFrames_closure.prototype = { + call$1(frame) { + var t1; + if (A.boolConversionCheck(this.oldPredicate.call$1(frame))) + return true; + if (frame.get$isCore()) + return true; + if (frame.get$$package() === "stack_trace") + return true; + t1 = frame.get$member(); + t1.toString; + if (!B.JSString_methods.contains$1(t1, "")) + return false; + return frame.get$line(frame) == null; + }, + $signature: 23 + }; + A.Trace_foldFrames_closure0.prototype = { + call$1(frame) { + var t1, t2; + type$.Frame._as(frame); + if (frame instanceof A.UnparsedFrame || !A.boolConversionCheck(this._box_0.predicate.call$1(frame))) + return frame; + t1 = frame.get$library(); + t2 = $.$get$_terseRegExp(); + return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member()); + }, + $signature: 62 + }; + A.Trace_toString_closure0.prototype = { + call$1(frame) { + type$.Frame._as(frame); + return frame.get$location(frame).length; + }, + $signature: 20 + }; + A.Trace_toString_closure.prototype = { + call$1(frame) { + type$.Frame._as(frame); + if (frame instanceof A.UnparsedFrame) + return frame.toString$0(0) + "\n"; + return B.JSString_methods.padRight$1(frame.get$location(frame), this.longest) + " " + A.S(frame.get$member()) + "\n"; + }, + $signature: 21 + }; + A.UnparsedFrame.prototype = { + toString$0(_) { + return this.member; + }, + $isFrame: 1, + get$uri() { + return this.uri; + }, + get$line() { + return null; + }, + get$column() { + return null; + }, + get$isCore() { + return false; + }, + get$library() { + return "unparsed"; + }, + get$$package() { + return null; + }, + get$location() { + return "unparsed"; + }, + get$member() { + return this.member; + } + }; + A.GuaranteeChannel.prototype = { + GuaranteeChannel$3$allowSinkErrors(innerSink, allowSinkErrors, _box_0, $T) { + var _this = this, + t1 = _this.$ti, + t2 = t1._eval$1("_GuaranteeSink<1>")._as(new A._GuaranteeSink(innerSink, _this, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic), true, $T._eval$1("_GuaranteeSink<0>"))); + _this.__GuaranteeChannel__sink_F !== $ && A.throwLateFieldAI("_sink"); + _this.set$__GuaranteeChannel__sink_F(t2); + t1 = t1._eval$1("StreamController<1>")._as(A.StreamController_StreamController(null, new A.GuaranteeChannel_closure(_box_0, _this, $T), true, $T)); + _this.__GuaranteeChannel__streamController_F !== $ && A.throwLateFieldAI("_streamController"); + _this.set$__GuaranteeChannel__streamController_F(t1); + }, + _onSinkDisconnected$0() { + var subscription, t1; + this._disconnected = true; + subscription = this._subscription; + if (subscription != null) + subscription.cancel$0(0); + t1 = this.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + t1.close$0(0); + }, + set$__GuaranteeChannel__sink_F(__GuaranteeChannel__sink_F) { + this.__GuaranteeChannel__sink_F = this.$ti._eval$1("_GuaranteeSink<1>")._as(__GuaranteeChannel__sink_F); + }, + set$__GuaranteeChannel__streamController_F(__GuaranteeChannel__streamController_F) { + this.__GuaranteeChannel__streamController_F = this.$ti._eval$1("StreamController<1>")._as(__GuaranteeChannel__streamController_F); + }, + set$_subscription(_subscription) { + this._subscription = this.$ti._eval$1("StreamSubscription<1>?")._as(_subscription); + } + }; + A.GuaranteeChannel_closure.prototype = { + call$0() { + var t2, t3, + t1 = this.$this; + if (t1._disconnected) + return; + t2 = this._box_0.innerStream; + t3 = t1.__GuaranteeChannel__streamController_F; + t3 === $ && A.throwLateFieldNI("_streamController"); + t1.set$_subscription(t2.listen$3$onDone$onError(this.T._eval$1("~(0)")._as(t3.get$add(t3)), new A.GuaranteeChannel__closure(t1), t3.get$addError())); + }, + $signature: 0 + }; + A.GuaranteeChannel__closure.prototype = { + call$0() { + var t1 = this.$this, + t2 = t1.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2._onStreamDisconnected$0(); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + t1.close$0(0); + }, + $signature: 0 + }; + A._GuaranteeSink.prototype = { + add$1(_, data) { + var t1, _this = this; + _this.$ti._precomputed1._as(data); + if (_this._closed) + throw A.wrapException(A.StateError$("Cannot add event after closing.")); + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot add event while adding stream.")); + if (_this._disconnected) + return; + t1 = _this._inner; + t1._target.add$1(0, t1.$ti._precomputed1._as(data)); + }, + addError$2(error, stackTrace) { + var _this = this; + type$.Object._as(error); + type$.nullable_StackTrace._as(stackTrace); + if (_this._closed) + throw A.wrapException(A.StateError$("Cannot add event after closing.")); + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot add event while adding stream.")); + if (_this._disconnected) + return; + _this._addError$2(error, stackTrace); + }, + addError$1(error) { + return this.addError$2(error, null); + }, + _addError$2(error, stackTrace) { + this._inner._target.addError$2(type$.Object._as(error), type$.nullable_StackTrace._as(stackTrace)); + return; + }, + _addError$1(error) { + return this._addError$2(error, null); + }, + addStream$1(_, stream) { + var t2, t3, _this = this, + t1 = _this.$ti; + t1._eval$1("Stream<1>")._as(stream); + if (_this._closed) + throw A.wrapException(A.StateError$("Cannot add stream after closing.")); + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot add stream while adding stream.")); + if (_this._disconnected) + return A.Future_Future$value(null, type$.void); + t2 = _this._addStreamCompleter = new A._SyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._SyncCompleter_dynamic); + t3 = _this._inner; + _this.set$_addStreamSubscription(stream.listen$3$onDone$onError(t1._eval$1("~(1)")._as(t3.get$add(t3)), type$.void_Function_$opt_dynamic._as(t2.get$complete(t2)), _this.get$_addError())); + return _this._addStreamCompleter.future.then$1$1(new A._GuaranteeSink_addStream_closure(_this), type$.void); + }, + close$0(_) { + var _this = this; + if (_this._addStreamSubscription != null) + throw A.wrapException(A.StateError$("Cannot close sink while adding stream.")); + if (_this._closed) + return _this._doneCompleter.future; + _this._closed = true; + if (!_this._disconnected) { + _this._channel._onSinkDisconnected$0(); + _this._doneCompleter.complete$1(0, _this._inner._target.close$0(0)); + } + return _this._doneCompleter.future; + }, + _onStreamDisconnected$0() { + var t1, t2, _this = this; + _this._disconnected = true; + t1 = _this._doneCompleter; + if ((t1.future._async$_state & 30) === 0) + t1.complete$0(0); + t1 = _this._addStreamSubscription; + if (t1 == null) + return; + t2 = _this._addStreamCompleter; + t2.toString; + t2.complete$1(0, t1.cancel$0(0)); + _this._addStreamCompleter = null; + _this.set$_addStreamSubscription(null); + }, + set$_addStreamSubscription(_addStreamSubscription) { + this._addStreamSubscription = this.$ti._eval$1("StreamSubscription<1>?")._as(_addStreamSubscription); + }, + $isStreamConsumer: 1, + $isStreamSink: 1 + }; + A._GuaranteeSink_addStream_closure.prototype = { + call$1(_) { + var t1 = this.$this; + t1._addStreamCompleter = null; + t1.set$_addStreamSubscription(null); + }, + $signature: 10 + }; + A._MultiChannel.prototype = { + _MultiChannel$1(inner, $T) { + var t2, t3, _this = this, + _s17_ = "_streamController", + t1 = _this._mainController; + _this._controllers.$indexSet(0, 0, t1); + t1 = t1.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t2 = t1.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI(_s17_); + new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$2$onDone(new A._MultiChannel_closure(_this, $T), new A._MultiChannel_closure0(_this)); + t2 = _this._multi_channel$_inner.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI(_s17_); + t3 = A._instanceType(t2)._eval$1("_ControllerStream<1>"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + _this._innerStreamSubscription = new A.CastStream(new A._ControllerStream(t2, t3), t3._eval$1("CastStream>")).listen$3$onDone$onError(new A._MultiChannel_closure1(_this, $T), _this.get$_closeInnerChannel(), t1.get$addError()); + }, + virtualChannel$1(id) { + var t2, controller, _this = this, + _s17_ = "_streamController", + _s8_ = "_foreign", + t1 = {}; + t1.outputId = t1.inputId = null; + t1.inputId = id; + t1.outputId = id + 1; + if (_this._multi_channel$_inner == null) { + t1 = _this.$ti; + t2 = A.Future_Future$value(null, type$.dynamic); + return new A.VirtualChannel(_this, new A._EmptyStream(t1._eval$1("_EmptyStream<1>")), new A.NullStreamSink(t2, t1._eval$1("NullStreamSink<1>")), t1._eval$1("VirtualChannel<1>")); + } + controller = A._Cell$named("controller"); + if (_this._pendingIds.remove$1(0, id)) { + t2 = _this._controllers.$index(0, id); + t2.toString; + controller._value = t2; + } else { + t2 = _this._controllers; + if (t2.containsKey$1(0, id) || _this._closedIds.contains$1(0, id)) + throw A.wrapException(A.ArgumentError$("A virtual channel with id " + id + " already exists.", null)); + else { + controller._value = A.StreamChannelController$(true, _this.$ti._precomputed1); + t2.$indexSet(0, id, controller._readLocal$0()); + } + } + t2 = controller._readLocal$0().__StreamChannelController__local_F; + t2 === $ && A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI(_s17_); + new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$2$onDone(new A._MultiChannel_virtualChannel_closure(t1, _this), new A._MultiChannel_virtualChannel_closure0(t1, _this)); + t1 = controller._readLocal$0().__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI(_s8_); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI(_s17_); + t2 = controller._readLocal$0().__StreamChannelController__foreign_F; + t2 === $ && A.throwLateFieldNI(_s8_); + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + return new A.VirtualChannel(_this, new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, _this.$ti._eval$1("VirtualChannel<1>")); + }, + _closeChannel$2(inputId, outputId) { + var t1, t2, _this = this; + _this._closedIds.add$1(0, inputId); + t1 = _this._controllers; + t2 = t1.remove$1(0, inputId); + t2.toString; + t2 = t2.__StreamChannelController__local_F; + t2 === $ && A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2.close$0(0); + t2 = _this._multi_channel$_inner; + if (t2 == null) + return; + t2 = t2.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2.add$1(0, A._setArrayType([outputId], type$.JSArray_int)); + if (t1._length === 0) + _this._closeInnerChannel$0(); + }, + _closeInnerChannel$0() { + var t2, t3, _i, t4, _this = this, + t1 = _this._multi_channel$_inner.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.close$0(0); + _this._innerStreamSubscription._source.cancel$0(0); + _this._multi_channel$_inner = null; + for (t1 = _this._controllers, t2 = t1.get$values(t1), t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")), t3 = t2.length, _i = 0; _i < t3; ++_i) { + t4 = t2[_i].__StreamChannelController__local_F; + t4 === $ && A.throwLateFieldNI("_local"); + t4 = t4.__GuaranteeChannel__sink_F; + t4 === $ && A.throwLateFieldNI("_sink"); + t4.close$0(0); + } + t1.clear$0(0); + }, + $isMultiChannel: 1 + }; + A._MultiChannel_closure.prototype = { + call$1(message) { + var t1; + this.T._as(message); + t1 = this.$this._multi_channel$_inner.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + return t1.add$1(0, [0, message]); + }, + $signature() { + return this.T._eval$1("~(0)"); + } + }; + A._MultiChannel_closure0.prototype = { + call$0() { + return this.$this._closeChannel$2(0, 0); + }, + $signature: 0 + }; + A._MultiChannel_closure1.prototype = { + call$1(message) { + var t1, id, t2, t3, controller, t4; + type$.List_dynamic._as(message); + t1 = J.getInterceptor$asx(message); + id = B.JSNumber_methods.toInt$0(A._asNum(t1.$index(message, 0))); + t2 = this.$this; + if (t2._closedIds.contains$1(0, id)) + return; + t3 = this.T; + controller = t2._controllers.putIfAbsent$2(0, id, new A._MultiChannel__closure(t2, id, t3)); + t2 = t1.get$length(message); + t4 = controller.__StreamChannelController__local_F; + if (t2 > 1) { + t4 === $ && A.throwLateFieldNI("_local"); + t2 = t4.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + t2.add$1(0, t3._as(t1.$index(message, 1))); + } else { + t4 === $ && A.throwLateFieldNI("_local"); + t1 = t4.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.close$0(0); + } + }, + $signature: 42 + }; + A._MultiChannel__closure.prototype = { + call$0() { + this.$this._pendingIds.add$1(0, this.id); + return A.StreamChannelController$(true, this.T); + }, + $signature() { + return this.T._eval$1("StreamChannelController<0>()"); + } + }; + A._MultiChannel_virtualChannel_closure.prototype = { + call$1(message) { + var t1 = this.$this; + t1.$ti._precomputed1._as(message); + t1 = t1._multi_channel$_inner.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + return t1.add$1(0, [this._box_0.outputId, message]); + }, + $signature() { + return this.$this.$ti._eval$1("~(1)"); + } + }; + A._MultiChannel_virtualChannel_closure0.prototype = { + call$0() { + var t1 = this._box_0; + return this.$this._closeChannel$2(t1.inputId, t1.outputId); + }, + $signature: 0 + }; + A.VirtualChannel.prototype = {$isMultiChannel: 1}; + A.StreamChannelController.prototype = { + set$__StreamChannelController__local_F(__StreamChannelController__local_F) { + this.__StreamChannelController__local_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__local_F); + }, + set$__StreamChannelController__foreign_F(__StreamChannelController__foreign_F) { + this.__StreamChannelController__foreign_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__foreign_F); + } + }; + A.StreamChannelMixin.prototype = {$isStreamChannel: 1}; + A.MessagePortExtension_get_postMessage_closure.prototype = { + call$1(message) { + var t2, + t1 = A._setArrayType([], type$.JSArray_Object); + if (message != null) { + t2 = A.jsify(message); + t1.push(t2 == null ? type$.Object._as(t2) : t2); + } + return A.callMethod(this._this, "postMessage", t1, type$.void); + }, + $signature: 7 + }; + A.Subscription.prototype = {}; + A.main_closure.prototype = { + call$0() { + var play, + serverChannel = A._connectToServer(), + t1 = serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(new A.main__closure(serverChannel)); + A.Timer_Timer$periodic(new A.Duration(1000000), new A.main__closure0(serverChannel)); + play = type$.nullable_JavaScriptObject._as(self.document.querySelector("#play")); + play.toString; + A.EventTargetExtension_addEventListener(play, "click", A.allowInterop(new A.main__closure1(serverChannel), type$.void_Function_JavaScriptObject)); + t1 = type$.void_Function; + self.dartTest = type$.JavaScriptObject._as({resume: A.allowInterop(new A.main__closure2(serverChannel), t1), restartCurrent: A.allowInterop(new A.main__closure3(serverChannel), t1)}); + }, + $signature: 3 + }; + A.main__closure.prototype = { + call$1(message) { + var _0_4, _0_3, _0_9, _0_12, _0_15, _0_14, t1, t2, channel, url, id, suiteChannel, _null = null; + $label0$0: { + _0_4 = A._InitializedCell$named("#0#4", new A.main___closure(message)); + _0_3 = A._InitializedCell$named("#0#3", new A.main___closure0(message)); + _0_9 = A._InitializedCell$named("#0#9", new A.main___closure1(message)); + _0_12 = A._InitializedCell$named("#0#12", new A.main___closure2(message)); + _0_15 = A._InitializedCell$named("#0#15", new A.main___closure3(message)); + _0_14 = A._InitializedCell$named("#0#14", new A.main___closure4(message)); + t1 = type$.Map_dynamic_dynamic._is(message); + if (t1) { + if (_0_4._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t2 = true; + if (t2) + if ("loadSuite" === _0_4._readFinal$0()) { + if (_0_9._readFinal$0() == null) + t2 = J.containsKey$1$x(message, "channel"); + else + t2 = true; + if (t2) + if (typeof _0_9._readFinal$0() == "number") { + channel = _0_9._readFinal$0(); + if (_0_12._readFinal$0() == null) + t2 = J.containsKey$1$x(message, "url"); + else + t2 = true; + if (t2) + if (typeof _0_12._readFinal$0() == "string") { + url = _0_12._readFinal$0(); + if (_0_15._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_14._readFinal$0()); + else + t2 = true; + if (t2) + if (typeof _0_15._readFinal$0() == "number") { + id = _0_15._readFinal$0(); + t2 = true; + } else { + id = _null; + t2 = false; + } + else { + id = _null; + t2 = false; + } + } else { + id = _null; + url = id; + t2 = false; + } + else { + id = _null; + url = id; + t2 = false; + } + } else { + id = _null; + url = id; + channel = url; + t2 = false; + } + else { + id = _null; + url = id; + channel = url; + t2 = false; + } + } else { + id = _null; + url = id; + channel = url; + t2 = false; + } + else { + id = _null; + url = id; + channel = url; + t2 = false; + } + } else { + id = _null; + url = id; + channel = url; + t2 = false; + } + if (t2) { + suiteChannel = this.serverChannel.virtualChannel$1(J.toInt$0$n(channel)); + t1 = suiteChannel.$ti._eval$1("StreamChannel<1>")._as(A._connectToIframe(url, J.toInt$0$n(id))); + t2 = t1.__GuaranteeChannel__sink_F; + t2 === $ && A.throwLateFieldNI("_sink"); + suiteChannel.stream.pipe$1(t2); + t1 = t1.__GuaranteeChannel__streamController_F; + t1 === $ && A.throwLateFieldNI("_streamController"); + new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).pipe$1(suiteChannel.sink); + break $label0$0; + } + if (t1) { + if (_0_4._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t2 = true; + t2 = t2 && "displayPause" === _0_4._readFinal$0(); + } else + t2 = false; + if (t2) { + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).add("paused"); + break $label0$0; + } + if (t1) { + if (_0_4._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t2 = true; + t2 = t2 && "resume" === _0_4._readFinal$0(); + } else + t2 = false; + if (t2) { + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).remove("paused"); + break $label0$0; + } + if (t1) { + if (_0_4._readFinal$0() == null) + t1 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t1 = true; + if (t1) + if ("closeSuite" === _0_4._readFinal$0()) { + if (_0_15._readFinal$0() == null) + t1 = A.boolConversionCheck(_0_14._readFinal$0()); + else + t1 = true; + if (t1) { + id = _0_15._readFinal$0(); + t1 = true; + } else { + id = _null; + t1 = false; + } + } else { + id = _null; + t1 = false; + } + else { + id = _null; + t1 = false; + } + } else { + id = _null; + t1 = false; + } + if (t1) { + t1 = $._iframes.remove$1(0, id); + t2 = type$.nullable_JavaScriptObject; + if (t2._as(t1.parentNode) != null) + type$.JavaScriptObject._as(t2._as(t1.parentNode).removeChild(t1)); + t1 = $._subscriptions.remove$1(0, id); + if (t1 != null) + J.cancel$0$z(t1); + t1 = $._domSubscriptions.remove$1(0, id); + if (t1 != null) + A.EventTargetExtension_removeEventListener(t1.target, t1.type, t1.listener); + break $label0$0; + } + type$.JavaScriptObject._as(self.window.console).warn("Unhandled message from test runner: " + A.S(message)); + } + }, + $signature: 5 + }; + A.main___closure.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "command"); + }, + $signature: 2 + }; + A.main___closure0.prototype = { + call$0() { + return J.containsKey$1$x(type$.Map_dynamic_dynamic._as(this._0_0), "command"); + }, + $signature: 24 + }; + A.main___closure1.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "channel"); + }, + $signature: 2 + }; + A.main___closure2.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "url"); + }, + $signature: 2 + }; + A.main___closure3.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "id"); + }, + $signature: 2 + }; + A.main___closure4.prototype = { + call$0() { + return J.containsKey$1$x(type$.Map_dynamic_dynamic._as(this._0_0), "id"); + }, + $signature: 24 + }; + A.main__closure0.prototype = { + call$1(_) { + var t1, t2; + type$.Timer._as(_); + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + return t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "ping"], t2, t2)); + }, + $signature: 44 + }; + A.main__closure1.prototype = { + call$1(_) { + var t2, + t1 = type$.JavaScriptObject; + t1._as(_); + t2 = type$.nullable_JavaScriptObject; + if (!A._asBool(t1._as(t2._as(self.document.body).classList).contains("paused"))) + return; + t1._as(t2._as(self.document.body).classList).remove("paused"); + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t2, t2)); + }, + $signature: 8 + }; + A.main__closure2.prototype = { + call$0() { + var t1 = type$.nullable_JavaScriptObject, + t2 = type$.JavaScriptObject; + if (!A._asBool(t2._as(t1._as(self.document.body).classList).contains("paused"))) + return; + t2._as(t1._as(self.document.body).classList).remove("paused"); + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t2, t2)); + }, + $signature: 0 + }; + A.main__closure3.prototype = { + call$0() { + var t2, + t1 = this.serverChannel._mainController.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t2 = type$.String; + t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "restart"], t2, t2)); + }, + $signature: 0 + }; + A.main_closure0.prototype = { + call$2(error, stackTrace) { + type$.Object._as(error); + type$.StackTrace._as(stackTrace); + type$.JavaScriptObject._as(self.window.console).warn(A.S(error) + "\n" + A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)); + }, + $signature: 11 + }; + A._connectToServer_closure.prototype = { + call$1(message) { + var t1; + type$.JavaScriptObject._as(message); + t1 = this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, B.C_JsonCodec.decode$2$reviver(0, A._asString(A.dartify(message.data)), null)); + }, + $signature: 8 + }; + A._connectToServer_closure0.prototype = { + call$1(message) { + return this.webSocket.send(B.C_JsonCodec.encode$2$toEncodable(message, null)); + }, + $signature: 5 + }; + A._connectToIframe_closure.prototype = { + call$1($event) { + var t2, _0_0, _0_6, _0_11, port, data, _this = this, _null = null, + t1 = type$.JavaScriptObject; + t1._as($event); + if (A._asString($event.origin) !== A._asString(t1._as(self.window.location).origin)) + return; + t2 = $event.source.location; + t2 = t2 == null ? _null : A._asStringQ(t2.href); + if (t2 != A._asStringQ(_this.iframe.src)) + return; + $event.stopPropagation(); + t2 = _this.windowSubscription._readLocal$0(); + A.EventTargetExtension_removeEventListener(t2.target, t2.type, t2.listener); + $label0$0: { + _0_0 = A.dartify($event.data); + _0_6 = A._InitializedCell$named("#0#6", new A._connectToIframe__closure(_0_0)); + _0_11 = A._InitializedCell$named("#0#11", new A._connectToIframe__closure0(_0_0)); + if ("port" === _0_0) { + t1._as(self.window.console).log("Connecting channel for suite " + _this.suiteUrl.toString$0(0)); + t1 = J.cast$1$0$ax(type$.List_dynamic._as($event.ports), t1); + port = t1.get$first(t1); + t1 = _this.id; + t2 = _this.controller; + $._domSubscriptions.$indexSet(0, t1, A.Subscription$(port, "message", A.allowInterop(new A._connectToIframe__closure1(t2), type$.void_Function_JavaScriptObject))); + port.start(); + t2 = t2.__StreamChannelController__local_F; + t2 === $ && A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI("_streamController"); + $._subscriptions.$indexSet(0, t1, new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$1(A.MessagePortExtension_get_postMessage(port))); + break $label0$0; + } + if (type$.Map_dynamic_dynamic._is(_0_0)) { + if (_0_6._readFinal$0() == null) + t1 = J.containsKey$1$x(_0_0, "exception"); + else + t1 = true; + if (t1) + if (true === _0_6._readFinal$0()) { + if (_0_11._readFinal$0() == null) + t1 = J.containsKey$1$x(_0_0, "data"); + else + t1 = true; + if (t1) { + data = _0_11._readFinal$0(); + t1 = true; + } else { + data = _null; + t1 = false; + } + } else { + data = _null; + t1 = false; + } + else { + data = _null; + t1 = false; + } + } else { + data = _null; + t1 = false; + } + if (t1) { + t1 = _this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, data); + } + } + }, + $signature: 8 + }; + A._connectToIframe__closure1.prototype = { + call$1($event) { + var t1; + type$.JavaScriptObject._as($event); + t1 = this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, A.dartify($event.data)); + }, + $signature: 8 + }; + A._connectToIframe__closure.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "exception"); + }, + $signature: 2 + }; + A._connectToIframe__closure0.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "data"); + }, + $signature: 2 + }; + (function aliases() { + var _ = J.Interceptor.prototype; + _.super$Interceptor$toString = _.toString$0; + _ = J.LegacyJavaScriptObject.prototype; + _.super$LegacyJavaScriptObject$toString = _.toString$0; + _ = A.Iterable.prototype; + _.super$Iterable$skipWhile = _.skipWhile$1; + })(); + (function installTearOffs() { + var _instance_1_u = hunkHelpers._instance_1u, + _static_1 = hunkHelpers._static_1, + _static_0 = hunkHelpers._static_0, + _static_2 = hunkHelpers._static_2, + _static = hunkHelpers.installStaticTearOff, + _instance = hunkHelpers.installInstanceTearOff, + _instance_2_u = hunkHelpers._instance_2u, + _instance_1_i = hunkHelpers._instance_1i, + _instance_0_u = hunkHelpers._instance_0u; + _instance_1_u(A.CastStreamSubscription.prototype, "get$__internal$_onData", "__internal$_onData$1", 7); + _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 13); + _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 13); + _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 13); + _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); + _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 5); + _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 11); + _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); + _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 47, 0); + _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) { + return A._rootRun($self, $parent, zone, f, type$.dynamic); + }], 48, 1); + _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) { + return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic); + }], 49, 1); + _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) { + return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic); + }], 50, 1); + _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) { + return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic); + }], 51, 0); + _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) { + return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic); + }], 52, 0); + _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) { + return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic); + }], 53, 0); + _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 54, 0); + _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 55, 0); + _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 56, 0); + _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 57, 0); + _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 58, 0); + _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 59, 0); + _instance(A._SyncCompleter.prototype, "get$complete", 1, 0, function() { + return [null]; + }, ["call$1", "call$0"], ["complete$1", "complete$0"], 43, 0, 0); + _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 11); + var _; + _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 7); + _instance(_, "get$addError", 0, 1, function() { + return [null]; + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 12, 0, 0); + _instance_1_i(A._StreamSinkWrapper.prototype, "get$add", "add$1", 7); + _instance_0_u(A._DoneStreamSubscription.prototype, "get$_onMicrotask", "_onMicrotask$0", 0); + _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 15); + _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 17); + _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 9); + _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 9); + _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 9); + _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 9); + _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 14); + _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 14); + _instance(_ = A._GuaranteeSink.prototype, "get$addError", 0, 1, function() { + return [null]; + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 12, 0, 0); + _instance(_, "get$_addError", 0, 1, function() { + return [null]; + }, ["call$2", "call$1"], ["_addError$2", "_addError$1"], 12, 0, 0); + _instance_0_u(A._MultiChannel.prototype, "get$_closeInnerChannel", "_closeInnerChannel$0", 0); + _static(A, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { + return A.max(a, b, type$.num); + }], 41, 0); + })(); + (function inheritance() { + var _mixin = hunkHelpers.mixin, + _inherit = hunkHelpers.inherit, + _inheritMany = hunkHelpers.inheritMany; + _inherit(A.Object, null); + _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Stream, A.CastStreamSubscription, A.Iterable, A.CastIterator, A.Error, A.ListBase, A.Closure, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A._StackTrace, A._Required, A.MapBase, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A._InitializedCell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A._StreamController, A._SyncStreamControllerDispatch, A._BufferingStreamSubscription, A._StreamSinkWrapper, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.SetBase, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._UnmodifiableMapMixin, A.Codec, A.Converter, A._JsonStringifier, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.Null, A._StringStackTrace, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.CssStyleDeclarationBase, A.ImmutableListMixin, A.FixedSizeListIterator, A.NullRejectionException, A.NullStreamSink, A.Context, A.Style, A.ParsedPath, A.PathException, A.Chain, A.Frame, A.LazyTrace, A.Trace, A.UnparsedFrame, A.StreamChannelMixin, A._GuaranteeSink, A.StreamChannelController, A.Subscription]); + _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]); + _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData, A.EventTarget, A.AccessibleNodeList, A.Blob, A.CssTransformComponent, A.CssRule, A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase, A.CssStyleValue, A.DataTransferItemList, A.DomException, A._DomRectList_JavaScriptObject_ListMixin, A.DomRectReadOnly, A._DomStringList_JavaScriptObject_ListMixin, A.DomTokenList, A._FileList_JavaScriptObject_ListMixin, A.Gamepad, A.History, A._HtmlCollection_JavaScriptObject_ListMixin, A.Location, A.MediaList, A._MidiInputMap_JavaScriptObject_MapMixin, A._MidiOutputMap_JavaScriptObject_MapMixin, A.MimeType, A._MimeTypeArray_JavaScriptObject_ListMixin, A._NodeList_JavaScriptObject_ListMixin, A.Plugin, A._PluginArray_JavaScriptObject_ListMixin, A._RtcStatsReport_JavaScriptObject_MapMixin, A.SpeechGrammar, A._SpeechGrammarList_JavaScriptObject_ListMixin, A.SpeechRecognitionResult, A._Storage_JavaScriptObject_MapMixin, A.StyleSheet, A._TextTrackCueList_JavaScriptObject_ListMixin, A.TimeRanges, A.Touch, A._TouchList_JavaScriptObject_ListMixin, A.TrackDefaultList, A.Url, A.__CssRuleList_JavaScriptObject_ListMixin, A.__GamepadList_JavaScriptObject_ListMixin, A.__NamedNodeMap_JavaScriptObject_ListMixin, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.__StyleSheetList_JavaScriptObject_ListMixin, A.Length, A._LengthList_JavaScriptObject_ListMixin, A.Number, A._NumberList_JavaScriptObject_ListMixin, A.PointList, A._StringList_JavaScriptObject_ListMixin, A.Transform, A._TransformList_JavaScriptObject_ListMixin, A.AudioBuffer, A._AudioParamMap_JavaScriptObject_MapMixin]); + _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction]); + _inherit(J.JSUnmodifiableArray, J.JSArray); + _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]); + _inheritMany(A.Stream, [A.CastStream, A._StreamImpl, A._EmptyStream]); + _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable]); + _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin]); + _inherit(A._EfficientLengthCastIterable, A.CastIterable); + _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin); + _inherit(A.CastList, A._CastListBase); + _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]); + _inherit(A.UnmodifiableListBase, A.ListBase); + _inherit(A.CodeUnits, A.UnmodifiableListBase); + _inheritMany(A.Closure, [A.Closure0Args, A.Instantiation, A.Closure2Args, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_pipe_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.dartify_convert, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.WindowsStyle_absolutePathToUri_closure, A.Chain_Chain$parse_closure, A.Chain_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace$parseV8_closure, A.Trace$parseJSCore_closure, A.Trace$parseFirefox_closure, A.Trace$parseFriendly_closure, A.Trace_terse_closure, A.Trace_foldFrames_closure, A.Trace_foldFrames_closure0, A.Trace_toString_closure0, A.Trace_toString_closure, A._GuaranteeSink_addStream_closure, A._MultiChannel_closure, A._MultiChannel_closure1, A._MultiChannel_virtualChannel_closure, A.MessagePortExtension_get_postMessage_closure, A.main__closure, A.main__closure0, A.main__closure1, A._connectToServer_closure, A._connectToServer_closure0, A._connectToIframe_closure, A._connectToIframe__closure1]); + _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl$periodic_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainForeignFuture_closure1, A._Future__chainCoreFutureAsync_closure, A._Future__asyncCompleteWithValue_closure, A._Future__asyncCompleteError_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A.Stream_length_closure0, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._AddStreamState_cancel_closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A.Utf8Decoder__decoder_closure, A.Utf8Decoder__decoderNonfatal_closure, A.NullStreamSink_addStream_closure, A.Frame_Frame$parseVM_closure, A.Frame_Frame$parseV8_closure, A.Frame_Frame$_parseFirefoxEval_closure, A.Frame_Frame$parseFirefox_closure, A.Frame_Frame$parseFriendly_closure, A.LazyTrace_terse_closure, A.Trace_Trace$from_closure, A.GuaranteeChannel_closure, A.GuaranteeChannel__closure, A._MultiChannel_closure0, A._MultiChannel__closure, A._MultiChannel_virtualChannel_closure0, A.main_closure, A.main___closure, A.main___closure0, A.main___closure1, A.main___closure2, A.main___closure3, A.main___closure4, A.main__closure2, A.main__closure3, A._connectToIframe__closure, A._connectToIframe__closure0]); + _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable]); + _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A._JsonMapKeyIterable]); + _inherit(A.EfficientLengthMappedIterable, A.MappedIterable); + _inherit(A.EfficientLengthTakeIterable, A.TakeIterable); + _inherit(A.EfficientLengthSkipIterable, A.SkipIterable); + _inherit(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.MapView); + _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin); + _inherit(A.ConstantMapView, A.UnmodifiableMapView); + _inherit(A.ConstantStringMap, A.ConstantMap); + _inherit(A.Instantiation1, A.Instantiation); + _inheritMany(A.Closure2Args, [A.Primitives_functionNoSuchMethod_closure, A.initHooks_closure0, A._Future__chainForeignFuture_closure0, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri_splitQueryString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.MidiInputMap_keys_closure, A.MidiOutputMap_keys_closure, A.RtcStatsReport_keys_closure, A.Storage_keys_closure, A.AudioParamMap_keys_closure, A.Frame_Frame$parseV8_closure_parseLocation, A.main_closure0]); + _inherit(A.NullError, A.TypeError); + _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]); + _inherit(A._AssertionError, A.AssertionError); + _inheritMany(A.MapBase, [A.JsLinkedHashMap, A._HashMap, A._JsonMap]); + _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]); + _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]); + _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin); + _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin); + _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin); + _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]); + _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]); + _inherit(A._TypeError, A._Error); + _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]); + _inherit(A._SyncStreamController, A._StreamController); + _inherit(A._ControllerStream, A._StreamImpl); + _inherit(A._ControllerSubscription, A._BufferingStreamSubscription); + _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]); + _inheritMany(A._Zone, [A._CustomZone, A._RootZone]); + _inherit(A._IdentityHashMap, A._HashMap); + _inherit(A._SetBase, A.SetBase); + _inherit(A._LinkedHashSet, A._SetBase); + _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A._FusedCodec, A.JsonCodec]); + _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]); + _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]); + _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder); + _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError); + _inherit(A._JsonStringStringifier, A._JsonStringifier); + _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]); + _inherit(A._DataUri, A._Uri); + _inheritMany(A.EventTarget, [A.Node, A.FileWriter, A.SourceBuffer, A._SourceBufferList_EventTarget_ListMixin, A.TextTrack, A.TextTrackCue, A._TextTrackList_EventTarget_ListMixin, A.VideoTrackList, A.AudioTrackList, A.BaseAudioContext]); + _inheritMany(A.Node, [A.Element, A.CharacterData]); + _inherit(A.HtmlElement, A.Element); + _inheritMany(A.HtmlElement, [A.AnchorElement, A.AreaElement, A.FormElement, A.SelectElement]); + _inherit(A.CssPerspective, A.CssTransformComponent); + _inherit(A.CssStyleDeclaration, A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase); + _inheritMany(A.CssStyleValue, [A.CssTransformValue, A.CssUnparsedValue]); + _inherit(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A._DomRectList_JavaScriptObject_ListMixin); + _inherit(A.DomRectList, A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A._DomStringList_JavaScriptObject_ListMixin); + _inherit(A.DomStringList, A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.File, A.Blob); + _inherit(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A._FileList_JavaScriptObject_ListMixin); + _inherit(A.FileList, A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin, A._HtmlCollection_JavaScriptObject_ListMixin); + _inherit(A.HtmlCollection, A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.MidiInputMap, A._MidiInputMap_JavaScriptObject_MapMixin); + _inherit(A.MidiOutputMap, A._MidiOutputMap_JavaScriptObject_MapMixin); + _inherit(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A._MimeTypeArray_JavaScriptObject_ListMixin); + _inherit(A.MimeTypeArray, A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A._NodeList_JavaScriptObject_ListMixin); + _inherit(A.NodeList, A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A._PluginArray_JavaScriptObject_ListMixin); + _inherit(A.PluginArray, A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.RtcStatsReport, A._RtcStatsReport_JavaScriptObject_MapMixin); + _inherit(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A._SourceBufferList_EventTarget_ListMixin); + _inherit(A.SourceBufferList, A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A._SpeechGrammarList_JavaScriptObject_ListMixin); + _inherit(A.SpeechGrammarList, A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.Storage, A._Storage_JavaScriptObject_MapMixin); + _inherit(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TextTrackCueList_JavaScriptObject_ListMixin); + _inherit(A.TextTrackCueList, A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A._TextTrackList_EventTarget_ListMixin); + _inherit(A.TextTrackList, A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin); + _inherit(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TouchList_JavaScriptObject_ListMixin); + _inherit(A.TouchList, A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__CssRuleList_JavaScriptObject_ListMixin); + _inherit(A._CssRuleList, A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._DomRect, A.DomRectReadOnly); + _inherit(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__GamepadList_JavaScriptObject_ListMixin); + _inherit(A._GamepadList, A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.__NamedNodeMap_JavaScriptObject_ListMixin); + _inherit(A._NamedNodeMap, A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin); + _inherit(A._SpeechRecognitionResultList, A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.__StyleSheetList_JavaScriptObject_ListMixin); + _inherit(A._StyleSheetList, A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A._LengthList_JavaScriptObject_ListMixin); + _inherit(A.LengthList, A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A._NumberList_JavaScriptObject_ListMixin); + _inherit(A.NumberList, A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A._StringList_JavaScriptObject_ListMixin); + _inherit(A.StringList, A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A._TransformList_JavaScriptObject_ListMixin); + _inherit(A.TransformList, A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin); + _inherit(A.AudioParamMap, A._AudioParamMap_JavaScriptObject_MapMixin); + _inherit(A.OfflineAudioContext, A.BaseAudioContext); + _inherit(A.InternalStyle, A.Style); + _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]); + _inheritMany(A.StreamChannelMixin, [A.GuaranteeChannel, A._MultiChannel, A.VirtualChannel]); + _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin); + _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); + _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch); + _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin); + _mixin(A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase, A.CssStyleDeclarationBase); + _mixin(A._DomRectList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._MidiInputMap_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._MidiOutputMap_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListBase); + _mixin(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListBase); + _mixin(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListBase); + _mixin(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); + _mixin(A._AudioParamMap_JavaScriptObject_MapMixin, A.MapBase); + })(); + var init = { + typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, + mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, + mangledNames: {}, + types: ["~()", "bool(String)", "@()", "Null()", "~(String,@)", "~(@)", "Frame()", "~(Object?)", "~(JavaScriptObject)", "Frame(String)", "Null(@)", "~(Object,StackTrace)", "~(Object[StackTrace?])", "~(~())", "Trace(String)", "@(@)", "~(Object?,Object?)", "String(String)", "~(Uint8List,String,int)", "Object?(Object?)", "int(Frame)", "String(Frame)", "Trace()", "bool(Frame)", "bool()", "~(String,int)", "Null(Object,StackTrace)", "~(String,String)", "_Future<@>(@)", "Future<@>(@)", "Null(~())", "String(String?)", "List(Trace)", "int(Trace)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "String(Trace)", "@(@,String)", "@(String)", "Frame(String,String)", "~(Symbol0,@)", "Map(Map,String)", "0^(0^,0^)", "~(List<@>)", "~([Object?])", "~(Timer)", "~(String,int?)", "int(int,int)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)", "0^()(Zone,ZoneDelegate,Zone,0^())", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "Future()", "Uint8List(@,@)", "Frame(Frame)"], + interceptorsByTag: null, + leafTags: null, + arrayRti: Symbol("$ti") + }; + A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","AbortPaymentEvent":"JavaScriptObject","ExtendableEvent":"JavaScriptObject","Event":"JavaScriptObject","AudioContext":"BaseAudioContext","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","MathMLElement":"Element","AudioElement":"HtmlElement","MediaElement":"HtmlElement","HtmlDocument":"Node","Document":"Node","VttCue":"TextTrackCue","CDataSection":"CharacterData","Text":"CharacterData","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssMatrixComponent":"CssTransformComponent","CssStyleSheet":"StyleSheet","CssurlImageValue":"CssStyleValue","CssImageValue":"CssStyleValue","CssResourceValue":"CssStyleValue","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"JavaScriptObject":[]},"JSArray":{"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[]},"JSInt":{"double":[],"int":[],"num":[],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Pattern":[],"TrustedGetRuntimeType":[]},"CastStream":{"Stream":["2"],"Stream.T":"2"},"CastStreamSubscription":{"StreamSubscription":["2"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int","UnmodifiableListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"_KeysOrValuesOrElementsIterator":{"Iterator":["1"]},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Closure":[],"Function":[]},"Closure2Args":{"Closure":[],"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"JavaScriptObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JavaScriptObject":[]},"NativeByteData":{"JavaScriptObject":[],"ByteData":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JavaScriptObject":[]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"ListBase":["double"],"Float32List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"ListBase":["double"],"Float64List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"ListBase":["int"],"Int16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"ListBase":["int"],"Int32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"ListBase":["int"],"Int8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"ListBase":["int"],"Uint16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"ListBase":["int"],"Uint32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"ListBase":["int"],"Uint8ClampedList":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"ListBase":["int"],"Uint8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"StreamConsumer":["1"],"_StreamControllerLifecycle":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"StreamConsumer":["1"],"_StreamControllerLifecycle":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"],"StreamConsumer":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_EmptyStream":{"Stream":["1"],"Stream.T":"1"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_HashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedHashSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Codec":["String","List"]},"_UnicodeSubsetEncoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"AsciiEncoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"Base64Codec":{"Codec":["List","String"]},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"_FusedCodec":{"Codec":["1","3"]},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"]},"Utf8Encoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"Utf8Decoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"double":{"num":[]},"int":{"num":[]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"RegExpMatch":{"Match":[]},"String":{"Pattern":[]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"CssRule":{"JavaScriptObject":[]},"File":{"JavaScriptObject":[]},"Gamepad":{"JavaScriptObject":[]},"MimeType":{"JavaScriptObject":[]},"Node":{"JavaScriptObject":[]},"Plugin":{"JavaScriptObject":[]},"SourceBuffer":{"JavaScriptObject":[]},"SpeechGrammar":{"JavaScriptObject":[]},"SpeechRecognitionResult":{"JavaScriptObject":[]},"StyleSheet":{"JavaScriptObject":[]},"TextTrack":{"JavaScriptObject":[]},"TextTrackCue":{"JavaScriptObject":[]},"Touch":{"JavaScriptObject":[]},"HtmlElement":{"Node":[],"JavaScriptObject":[]},"AccessibleNodeList":{"JavaScriptObject":[]},"AnchorElement":{"Node":[],"JavaScriptObject":[]},"AreaElement":{"Node":[],"JavaScriptObject":[]},"Blob":{"JavaScriptObject":[]},"CharacterData":{"Node":[],"JavaScriptObject":[]},"CssPerspective":{"JavaScriptObject":[]},"CssStyleDeclaration":{"JavaScriptObject":[]},"CssStyleValue":{"JavaScriptObject":[]},"CssTransformComponent":{"JavaScriptObject":[]},"CssTransformValue":{"JavaScriptObject":[]},"CssUnparsedValue":{"JavaScriptObject":[]},"DataTransferItemList":{"JavaScriptObject":[]},"DomException":{"JavaScriptObject":[]},"DomRectList":{"ListBase":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"JavaScriptObject":[],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListBase.E":"Rectangle"},"DomRectReadOnly":{"JavaScriptObject":[],"Rectangle":["num"]},"DomStringList":{"ListBase":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"JavaScriptObject":[],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListBase.E":"String"},"DomTokenList":{"JavaScriptObject":[]},"Element":{"Node":[],"JavaScriptObject":[]},"EventTarget":{"JavaScriptObject":[]},"FileList":{"ListBase":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"JavaScriptObject":[],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListBase.E":"File"},"FileWriter":{"JavaScriptObject":[]},"FormElement":{"Node":[],"JavaScriptObject":[]},"History":{"JavaScriptObject":[]},"HtmlCollection":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"Location":{"JavaScriptObject":[]},"MediaList":{"JavaScriptObject":[]},"MidiInputMap":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"MidiOutputMap":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"MimeTypeArray":{"ListBase":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"JavaScriptObject":[],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListBase.E":"MimeType"},"NodeList":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"PluginArray":{"ListBase":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"JavaScriptObject":[],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListBase.E":"Plugin"},"RtcStatsReport":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"SelectElement":{"Node":[],"JavaScriptObject":[]},"SourceBufferList":{"ListBase":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"JavaScriptObject":[],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListBase.E":"SourceBuffer"},"SpeechGrammarList":{"ListBase":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"JavaScriptObject":[],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListBase.E":"SpeechGrammar"},"Storage":{"JavaScriptObject":[],"MapBase":["String","String"],"Map":["String","String"],"MapBase.K":"String","MapBase.V":"String"},"TextTrackCueList":{"ListBase":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"JavaScriptObject":[],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListBase.E":"TextTrackCue"},"TextTrackList":{"ListBase":["TextTrack"],"ImmutableListMixin":["TextTrack"],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"JavaScriptObject":[],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListBase.E":"TextTrack"},"TimeRanges":{"JavaScriptObject":[]},"TouchList":{"ListBase":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"JavaScriptObject":[],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListBase.E":"Touch"},"TrackDefaultList":{"JavaScriptObject":[]},"Url":{"JavaScriptObject":[]},"VideoTrackList":{"JavaScriptObject":[]},"_CssRuleList":{"ListBase":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"JavaScriptObject":[],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListBase.E":"CssRule"},"_DomRect":{"JavaScriptObject":[],"Rectangle":["num"]},"_GamepadList":{"ListBase":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"JavaScriptObject":[],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListBase.E":"Gamepad?"},"_NamedNodeMap":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"_SpeechRecognitionResultList":{"ListBase":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"JavaScriptObject":[],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListBase.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListBase":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"JavaScriptObject":[],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListBase.E":"StyleSheet"},"FixedSizeListIterator":{"Iterator":["1"]},"NullRejectionException":{"Exception":[]},"Length":{"JavaScriptObject":[]},"Number":{"JavaScriptObject":[]},"Transform":{"JavaScriptObject":[]},"LengthList":{"ListBase":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"JavaScriptObject":[],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListBase.E":"Length"},"NumberList":{"ListBase":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"JavaScriptObject":[],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListBase.E":"Number"},"PointList":{"JavaScriptObject":[]},"StringList":{"ListBase":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptObject":[],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListBase.E":"String"},"TransformList":{"ListBase":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"JavaScriptObject":[],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListBase.E":"Transform"},"AudioBuffer":{"JavaScriptObject":[]},"AudioParamMap":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"AudioTrackList":{"JavaScriptObject":[]},"BaseAudioContext":{"JavaScriptObject":[]},"OfflineAudioContext":{"JavaScriptObject":[]},"NullStreamSink":{"StreamSink":["1"],"StreamConsumer":["1"]},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"GuaranteeChannel":{"StreamChannelMixin":["1"],"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"],"StreamConsumer":["1"]},"_MultiChannel":{"StreamChannelMixin":["1"],"MultiChannel":["1"],"StreamChannel":["1"]},"VirtualChannel":{"StreamChannelMixin":["1"],"MultiChannel":["1"],"StreamChannel":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]}}')); + A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"_DelayedEvent":1,"_SetBase":1}')); + var string$ = { + x27_has_: "' has been assigned during initialization.", + x3d_____: "===== asynchronous gap ===========================\n", + Cannotff: "Cannot extract a file path from a URI with a fragment component", + Cannotfq: "Cannot extract a file path from a URI with a query component", + Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority", + Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type", + handle: "handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace." + }; + var type$ = (function rtii() { + var findType = A.findType; + return { + AsyncError: findType("AsyncError"), + ByteBuffer: findType("ByteBuffer"), + ByteData: findType("ByteData"), + ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), + CssRule: findType("CssRule"), + Duration: findType("Duration"), + EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"), + Error: findType("Error"), + Exception: findType("Exception"), + File: findType("File"), + Float32List: findType("Float32List"), + Float64List: findType("Float64List"), + Frame: findType("Frame"), + Frame_Function_Frame: findType("Frame(Frame)"), + Frame_Function_String: findType("Frame(String)"), + Function: findType("Function"), + Future_dynamic: findType("Future<@>"), + Int16List: findType("Int16List"), + Int32List: findType("Int32List"), + Int8List: findType("Int8List"), + Invocation: findType("Invocation"), + Iterable_String: findType("Iterable"), + Iterable_dynamic: findType("Iterable<@>"), + Iterable_nullable_Object: findType("Iterable"), + JSArray_Frame: findType("JSArray"), + JSArray_Object: findType("JSArray"), + JSArray_String: findType("JSArray"), + JSArray_Trace: findType("JSArray"), + JSArray_Uint8List: findType("JSArray"), + JSArray_dynamic: findType("JSArray<@>"), + JSArray_int: findType("JSArray"), + JSArray_nullable_String: findType("JSArray"), + JSNull: findType("JSNull"), + JavaScriptFunction: findType("JavaScriptFunction"), + JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"), + JavaScriptObject: findType("JavaScriptObject"), + JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap"), + Length: findType("Length"), + List_String: findType("List"), + List_dynamic: findType("List<@>"), + List_int: findType("List"), + Map_String_String: findType("Map"), + Map_dynamic_dynamic: findType("Map<@,@>"), + Map_of_nullable_Object_and_nullable_Object: findType("Map"), + MappedIterable_String_Frame: findType("MappedIterable"), + MappedListIterable_Frame_Frame: findType("MappedListIterable"), + MappedListIterable_String_Trace: findType("MappedListIterable"), + MappedListIterable_String_dynamic: findType("MappedListIterable"), + MimeType: findType("MimeType"), + NativeUint8List: findType("NativeUint8List"), + Node: findType("Node"), + Null: findType("Null"), + Number: findType("Number"), + Object: findType("Object"), + Plugin: findType("Plugin"), + Record: findType("Record"), + Rectangle_num: findType("Rectangle"), + RegExpMatch: findType("RegExpMatch"), + SourceBuffer: findType("SourceBuffer"), + SpeechGrammar: findType("SpeechGrammar"), + SpeechRecognitionResult: findType("SpeechRecognitionResult"), + StackTrace: findType("StackTrace"), + String: findType("String"), + StyleSheet: findType("StyleSheet"), + Symbol: findType("Symbol0"), + TextTrack: findType("TextTrack"), + TextTrackCue: findType("TextTrackCue"), + Timer: findType("Timer"), + Touch: findType("Touch"), + Trace: findType("Trace"), + Trace_Function_String: findType("Trace(String)"), + Transform: findType("Transform"), + TrustedGetRuntimeType: findType("TrustedGetRuntimeType"), + TypeError: findType("TypeError"), + Uint16List: findType("Uint16List"), + Uint32List: findType("Uint32List"), + Uint8ClampedList: findType("Uint8ClampedList"), + Uint8List: findType("Uint8List"), + UnknownJavaScriptObject: findType("UnknownJavaScriptObject"), + UnmodifiableMapView_String_String: findType("UnmodifiableMapView"), + Uri: findType("Uri"), + WhereIterable_String: findType("WhereIterable"), + WhereTypeIterable_String: findType("WhereTypeIterable"), + Zone: findType("Zone"), + _AsyncCompleter_dynamic: findType("_AsyncCompleter<@>"), + _Future_dynamic: findType("_Future<@>"), + _Future_int: findType("_Future"), + _Future_void: findType("_Future<~>"), + _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap"), + _StreamControllerAddStreamState_nullable_Object: findType("_StreamControllerAddStreamState"), + _SyncCompleter_dynamic: findType("_SyncCompleter<@>"), + _ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace: findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,Object,StackTrace)>"), + bool: findType("bool"), + bool_Function_Frame: findType("bool(Frame)"), + bool_Function_Object: findType("bool(Object)"), + bool_Function_String: findType("bool(String)"), + double: findType("double"), + dynamic: findType("@"), + dynamic_Function: findType("@()"), + dynamic_Function_Object: findType("@(Object)"), + dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), + dynamic_Function_String: findType("@(String)"), + int: findType("int"), + legacy_Never: findType("0&*"), + legacy_Object: findType("Object*"), + nullable_Future_Null: findType("Future?"), + nullable_Gamepad: findType("Gamepad?"), + nullable_JavaScriptObject: findType("JavaScriptObject?"), + nullable_List_dynamic: findType("List<@>?"), + nullable_Map_of_nullable_Object_and_nullable_Object: findType("Map?"), + nullable_Object: findType("Object?"), + nullable_StackTrace: findType("StackTrace?"), + nullable_Zone: findType("Zone?"), + nullable_ZoneDelegate: findType("ZoneDelegate?"), + nullable_ZoneSpecification: findType("ZoneSpecification?"), + nullable__DelayedEvent_dynamic: findType("_DelayedEvent<@>?"), + nullable__FutureListener_dynamic_dynamic: findType("_FutureListener<@,@>?"), + nullable__LinkedHashSetCell: findType("_LinkedHashSetCell?"), + nullable_void_Function: findType("~()?"), + num: findType("num"), + void: findType("~"), + void_Function: findType("~()"), + void_Function_$opt_dynamic: findType("~([@])"), + void_Function_JavaScriptObject: findType("~(JavaScriptObject)"), + void_Function_Object: findType("~(Object)"), + void_Function_Object_StackTrace: findType("~(Object,StackTrace)"), + void_Function_String_String: findType("~(String,String)"), + void_Function_String_dynamic: findType("~(String,@)"), + void_Function_Timer: findType("~(Timer)") + }; + })(); + (function constants() { + var makeConstList = hunkHelpers.makeConstList; + B.Interceptor_methods = J.Interceptor.prototype; + B.JSArray_methods = J.JSArray.prototype; + B.JSInt_methods = J.JSInt.prototype; + B.JSNumber_methods = J.JSNumber.prototype; + B.JSString_methods = J.JSString.prototype; + B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype; + B.JavaScriptObject_methods = J.JavaScriptObject.prototype; + B.NativeUint8List_methods = A.NativeUint8List.prototype; + B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; + B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; + B.AsciiEncoder_127 = new A.AsciiEncoder(127); + B.CONSTANT = new A.Instantiation1(A.math__max$closure(), A.findType("Instantiation1")); + B.C_AsciiCodec = new A.AsciiCodec(); + B.C_Base64Encoder = new A.Base64Encoder(); + B.C_Base64Codec = new A.Base64Codec(); + B.C_EmptyIterator = new A.EmptyIterator(A.findType("EmptyIterator<0&>")); + B.C_JS_CONST = function getTagFallback(o) { + var s = Object.prototype.toString.call(o); + return s.substring(8, s.length - 1); +}; + B.C_JS_CONST0 = function() { + var toStringFunction = Object.prototype.toString; + function getTag(o) { + var s = toStringFunction.call(o); + return s.substring(8, s.length - 1); + } + function getUnknownTag(object, tag) { + if (/^HTML[A-Z].*Element$/.test(tag)) { + var name = toStringFunction.call(object); + if (name == "[object Object]") return null; + return "HTMLElement"; + } + } + function getUnknownTagGenericBrowser(object, tag) { + if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + return getUnknownTag(object, tag); + } + function prototypeForTag(tag) { + if (typeof window == "undefined") return null; + if (typeof window[tag] == "undefined") return null; + var constructor = window[tag]; + if (typeof constructor != "function") return null; + return constructor.prototype; + } + function discriminator(tag) { return null; } + var isBrowser = typeof navigator == "object"; + return { + getTag: getTag, + getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, + prototypeForTag: prototypeForTag, + discriminator: discriminator }; +}; + B.C_JS_CONST6 = function(getTagFallback) { + return function(hooks) { + if (typeof navigator != "object") return hooks; + var ua = navigator.userAgent; + if (ua.indexOf("DumpRenderTree") >= 0) return hooks; + if (ua.indexOf("Chrome") >= 0) { + function confirm(p) { + return typeof window == "object" && window[p] && window[p].name == p; + } + if (confirm("Window") && confirm("HTMLElement")) return hooks; + } + hooks.getTag = getTagFallback; + }; +}; + B.C_JS_CONST1 = function(hooks) { + if (typeof dartExperimentalFixupGetTag != "function") return hooks; + hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); +}; + B.C_JS_CONST2 = function(hooks) { + var getTag = hooks.getTag; + var prototypeForTag = hooks.prototypeForTag; + function getTagFixed(o) { + var tag = getTag(o); + if (tag == "Document") { + if (!!o.xmlVersion) return "!Document"; + return "!HTMLDocument"; + } + return tag; + } + function prototypeForTagFixed(tag) { + if (tag == "Document") return null; + return prototypeForTag(tag); + } + hooks.getTag = getTagFixed; + hooks.prototypeForTag = prototypeForTagFixed; +}; + B.C_JS_CONST5 = function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Firefox") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "GeoGeolocation": "Geolocation", + "Location": "!Location", + "WorkerMessageEvent": "MessageEvent", + "XMLDocument": "!Document"}; + function getTagFirefox(o) { + var tag = getTag(o); + return quickMap[tag] || tag; + } + hooks.getTag = getTagFirefox; +}; + B.C_JS_CONST4 = function(hooks) { + var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (userAgent.indexOf("Trident/") == -1) return hooks; + var getTag = hooks.getTag; + var quickMap = { + "BeforeUnloadEvent": "Event", + "DataTransfer": "Clipboard", + "HTMLDDElement": "HTMLElement", + "HTMLDTElement": "HTMLElement", + "HTMLPhraseElement": "HTMLElement", + "Position": "Geoposition" + }; + function getTagIE(o) { + var tag = getTag(o); + var newTag = quickMap[tag]; + if (newTag) return newTag; + if (tag == "Object") { + if (window.DataView && (o instanceof window.DataView)) return "DataView"; + } + return tag; + } + function prototypeForTagIE(tag) { + var constructor = window[tag]; + if (constructor == null) return null; + return constructor.prototype; + } + hooks.getTag = getTagIE; + hooks.prototypeForTag = prototypeForTagIE; +}; + B.C_JS_CONST3 = function(hooks) { return hooks; } +; + B.C_JsonCodec = new A.JsonCodec(); + B.C_OutOfMemoryError = new A.OutOfMemoryError(); + B.C_SentinelValue = new A.SentinelValue(); + B.C_Utf8Codec = new A.Utf8Codec(); + B.C_Utf8Encoder = new A.Utf8Encoder(); + B.C__DelayedDone = new A._DelayedDone(); + B.C__Required = new A._Required(); + B.C__RootZone = new A._RootZone(); + B.Duration_0 = new A.Duration(0); + B.JsonDecoder_null = new A.JsonDecoder(null); + B.JsonEncoder_null = new A.JsonEncoder(null); + B.List_M1A = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_MMm = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int); + B.List_OL3 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_XRg0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_XRg = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_YmH = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int); + B.List_ejq = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String); + B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic); + B.List_oFp = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_yzX = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int); + B.Object_empty = {}; + B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); + B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); + B.Symbol_call = new A.Symbol("call"); + B.Type_ByteBuffer_RkP = A.typeLiteral("ByteBuffer"); + B.Type_ByteData_zNC = A.typeLiteral("ByteData"); + B.Type_Float32List_LB7 = A.typeLiteral("Float32List"); + B.Type_Float64List_LB7 = A.typeLiteral("Float64List"); + B.Type_Int16List_uXf = A.typeLiteral("Int16List"); + B.Type_Int32List_O50 = A.typeLiteral("Int32List"); + B.Type_Int8List_ekJ = A.typeLiteral("Int8List"); + B.Type_Object_xQ6 = A.typeLiteral("Object"); + B.Type_Uint16List_2bx = A.typeLiteral("Uint16List"); + B.Type_Uint32List_2bx = A.typeLiteral("Uint32List"); + B.Type_Uint8ClampedList_Jik = A.typeLiteral("Uint8ClampedList"); + B.Type_Uint8List_WLA = A.typeLiteral("Uint8List"); + B.Utf8Decoder_false = new A.Utf8Decoder(false); + B._StringStackTrace_3uE = new A._StringStackTrace(""); + B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure(), A.findType("_ZoneFunction<0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))>")); + B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure(), A.findType("_ZoneFunction<0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))>")); + B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure(), type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace); + B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure(), A.findType("_ZoneFunction")); + B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure(), A.findType("_ZoneFunction?)>")); + B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure(), A.findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,String)>")); + B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure(), A.findType("_ZoneFunction<0^()(Zone,ZoneDelegate,Zone,0^())>")); + B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^())>")); + B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^,2^),1^,2^)>")); + B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure(), A.findType("_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^),1^)>")); + B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure(), A.findType("_ZoneFunction<~(Zone,ZoneDelegate,Zone,~())>")); + })(); + (function staticFields() { + $._JS_INTEROP_INTERCEPTOR_TAG = null; + $.toStringVisiting = A._setArrayType([], type$.JSArray_Object); + $.Primitives__identityHashCodeProperty = null; + $.BoundClosure__receiverFieldNameCache = null; + $.BoundClosure__interceptorFieldNameCache = null; + $.getTagFunction = null; + $.alternateTagFunction = null; + $.prototypeForTagFunction = null; + $.dispatchRecordsForInstanceTags = null; + $.interceptorsForUncacheableTags = null; + $.initNativeDispatchFlag = null; + $._nextCallback = null; + $._lastCallback = null; + $._lastPriorityCallback = null; + $._isInCallbackLoop = false; + $.Zone__current = B.C__RootZone; + $._RootZone__rootDelegate = null; + $.Uri__cachedBaseString = ""; + $.Uri__cachedBaseUri = null; + $._currentUriBase = null; + $._current = null; + $._iframes = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.JavaScriptObject); + $._subscriptions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, A.findType("StreamSubscription<~>")); + $._domSubscriptions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, A.findType("Subscription")); + })(); + (function lazyInitializers() { + var _lazyFinal = hunkHelpers.lazyFinal; + _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure")); + _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(new A.nullFuture_closure(), A.findType("Future"))); + _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({ + toString: function() { + return "$receiver$"; + } + }))); + _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null, + toString: function() { + return "$receiver$"; + } + }))); + _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null))); + _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + null.$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0))); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() { + var $argumentsExpr$ = "$arguments$"; + try { + (void 0).$method$($argumentsExpr$); + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null))); + _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() { + try { + null.$method$; + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0))); + _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() { + try { + (void 0).$method$; + } catch (e) { + return e.message; + } + }())); + _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate()); + _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future")._as($.$get$nullFuture())); + _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => { + var t1 = type$.dynamic; + return A.HashMap_HashMap(t1, t1); + }); + _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0()); + _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0()); + _lazyFinal($, "_Base64Decoder__inverseAlphabet", "$get$_Base64Decoder__inverseAlphabet", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type$.JSArray_int)))); + _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"); + _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false)); + _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6)); + _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables()); + _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows())); + _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null)); + _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false))); + _lazyFinal($, "Style_windows", "$get$Style_windows", () => new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]", false), A.RegExp_RegExp("[^/\\\\]$", false), A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", false), A.RegExp_RegExp("^[/\\\\](?![/\\\\])", false))); + _lazyFinal($, "Style_url", "$get$Style_url", () => new A.UrlStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", false), A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", false), A.RegExp_RegExp("^/", false))); + _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle()); + _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false)); + _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false)); + _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false)); + _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false)); + _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false)); + _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false)); + _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false)); + _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(|[^>]+)_async_body>", false)); + _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false)); + _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false)); + _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false)); + _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false)); + _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false)); + _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false)); + _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false)); + _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true)); + _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true)); + _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^\\n?$", true)); + _lazyFinal($, "_currentUrl", "$get$_currentUrl", () => A.Uri_parse(A.getProperty(A.getProperty(self.window, "location", type$.JavaScriptObject), "href", type$.String))); + })(); + (function nativeSupport() { + !function() { + var intern = function(s) { + var o = {}; + o[s] = 1; + return Object.keys(hunkHelpers.convertToFastObject(o))[0]; + }; + init.getIsolateTag = function(name) { + return intern("___dart_" + name + init.isolateTag); + }; + var tableProperty = "___dart_isolate_tags_"; + var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null)); + var rootProperty = "_ZxYxX"; + for (var i = 0;; i++) { + var property = intern(rootProperty + "_" + i + "_"); + if (!(property in usedProperties)) { + usedProperties[property] = 1; + init.isolateTag = property; + break; + } + } + init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); + }(); + hunkHelpers.setOrUpdateInterceptorsByTag({WebGL: J.Interceptor, AbortPaymentEvent: J.JavaScriptObject, AnimationEffectReadOnly: J.JavaScriptObject, AnimationEffectTiming: J.JavaScriptObject, AnimationEffectTimingReadOnly: J.JavaScriptObject, AnimationEvent: J.JavaScriptObject, AnimationPlaybackEvent: J.JavaScriptObject, AnimationTimeline: J.JavaScriptObject, AnimationWorkletGlobalScope: J.JavaScriptObject, ApplicationCacheErrorEvent: J.JavaScriptObject, AuthenticatorAssertionResponse: J.JavaScriptObject, AuthenticatorAttestationResponse: J.JavaScriptObject, AuthenticatorResponse: J.JavaScriptObject, BackgroundFetchClickEvent: J.JavaScriptObject, BackgroundFetchEvent: J.JavaScriptObject, BackgroundFetchFailEvent: J.JavaScriptObject, BackgroundFetchFetch: J.JavaScriptObject, BackgroundFetchManager: J.JavaScriptObject, BackgroundFetchSettledFetch: J.JavaScriptObject, BackgroundFetchedEvent: J.JavaScriptObject, BarProp: J.JavaScriptObject, BarcodeDetector: J.JavaScriptObject, BeforeInstallPromptEvent: J.JavaScriptObject, BeforeUnloadEvent: J.JavaScriptObject, BlobEvent: J.JavaScriptObject, BluetoothRemoteGATTDescriptor: J.JavaScriptObject, Body: J.JavaScriptObject, BudgetState: J.JavaScriptObject, CacheStorage: J.JavaScriptObject, CanMakePaymentEvent: J.JavaScriptObject, CanvasGradient: J.JavaScriptObject, CanvasPattern: J.JavaScriptObject, CanvasRenderingContext2D: J.JavaScriptObject, Client: J.JavaScriptObject, Clients: J.JavaScriptObject, ClipboardEvent: J.JavaScriptObject, CloseEvent: J.JavaScriptObject, CompositionEvent: J.JavaScriptObject, CookieStore: J.JavaScriptObject, Coordinates: J.JavaScriptObject, Credential: J.JavaScriptObject, CredentialUserData: J.JavaScriptObject, CredentialsContainer: J.JavaScriptObject, Crypto: J.JavaScriptObject, CryptoKey: J.JavaScriptObject, CSS: J.JavaScriptObject, CSSVariableReferenceValue: J.JavaScriptObject, CustomElementRegistry: J.JavaScriptObject, CustomEvent: J.JavaScriptObject, DataTransfer: J.JavaScriptObject, DataTransferItem: J.JavaScriptObject, DeprecatedStorageInfo: J.JavaScriptObject, DeprecatedStorageQuota: J.JavaScriptObject, DeprecationReport: J.JavaScriptObject, DetectedBarcode: J.JavaScriptObject, DetectedFace: J.JavaScriptObject, DetectedText: J.JavaScriptObject, DeviceAcceleration: J.JavaScriptObject, DeviceMotionEvent: J.JavaScriptObject, DeviceOrientationEvent: J.JavaScriptObject, DeviceRotationRate: J.JavaScriptObject, DirectoryEntry: J.JavaScriptObject, webkitFileSystemDirectoryEntry: J.JavaScriptObject, FileSystemDirectoryEntry: J.JavaScriptObject, DirectoryReader: J.JavaScriptObject, WebKitDirectoryReader: J.JavaScriptObject, webkitFileSystemDirectoryReader: J.JavaScriptObject, FileSystemDirectoryReader: J.JavaScriptObject, DocumentOrShadowRoot: J.JavaScriptObject, DocumentTimeline: J.JavaScriptObject, DOMError: J.JavaScriptObject, DOMImplementation: J.JavaScriptObject, Iterator: J.JavaScriptObject, DOMMatrix: J.JavaScriptObject, DOMMatrixReadOnly: J.JavaScriptObject, DOMParser: J.JavaScriptObject, DOMPoint: J.JavaScriptObject, DOMPointReadOnly: J.JavaScriptObject, DOMQuad: J.JavaScriptObject, DOMStringMap: J.JavaScriptObject, Entry: J.JavaScriptObject, webkitFileSystemEntry: J.JavaScriptObject, FileSystemEntry: J.JavaScriptObject, ErrorEvent: J.JavaScriptObject, Event: J.JavaScriptObject, InputEvent: J.JavaScriptObject, SubmitEvent: J.JavaScriptObject, ExtendableEvent: J.JavaScriptObject, ExtendableMessageEvent: J.JavaScriptObject, External: J.JavaScriptObject, FaceDetector: J.JavaScriptObject, FederatedCredential: J.JavaScriptObject, FetchEvent: J.JavaScriptObject, FileEntry: J.JavaScriptObject, webkitFileSystemFileEntry: J.JavaScriptObject, FileSystemFileEntry: J.JavaScriptObject, DOMFileSystem: J.JavaScriptObject, WebKitFileSystem: J.JavaScriptObject, webkitFileSystem: J.JavaScriptObject, FileSystem: J.JavaScriptObject, FocusEvent: J.JavaScriptObject, FontFace: J.JavaScriptObject, FontFaceSetLoadEvent: J.JavaScriptObject, FontFaceSource: J.JavaScriptObject, ForeignFetchEvent: J.JavaScriptObject, FormData: J.JavaScriptObject, GamepadButton: J.JavaScriptObject, GamepadEvent: J.JavaScriptObject, GamepadPose: J.JavaScriptObject, Geolocation: J.JavaScriptObject, Position: J.JavaScriptObject, GeolocationPosition: J.JavaScriptObject, HashChangeEvent: J.JavaScriptObject, Headers: J.JavaScriptObject, HTMLHyperlinkElementUtils: J.JavaScriptObject, IdleDeadline: J.JavaScriptObject, ImageBitmap: J.JavaScriptObject, ImageBitmapRenderingContext: J.JavaScriptObject, ImageCapture: J.JavaScriptObject, ImageData: J.JavaScriptObject, InputDeviceCapabilities: J.JavaScriptObject, InstallEvent: J.JavaScriptObject, IntersectionObserver: J.JavaScriptObject, IntersectionObserverEntry: J.JavaScriptObject, InterventionReport: J.JavaScriptObject, KeyboardEvent: J.JavaScriptObject, KeyframeEffect: J.JavaScriptObject, KeyframeEffectReadOnly: J.JavaScriptObject, MediaCapabilities: J.JavaScriptObject, MediaCapabilitiesInfo: J.JavaScriptObject, MediaDeviceInfo: J.JavaScriptObject, MediaEncryptedEvent: J.JavaScriptObject, MediaError: J.JavaScriptObject, MediaKeyMessageEvent: J.JavaScriptObject, MediaKeyStatusMap: J.JavaScriptObject, MediaKeySystemAccess: J.JavaScriptObject, MediaKeys: J.JavaScriptObject, MediaKeysPolicy: J.JavaScriptObject, MediaMetadata: J.JavaScriptObject, MediaQueryListEvent: J.JavaScriptObject, MediaSession: J.JavaScriptObject, MediaSettingsRange: J.JavaScriptObject, MediaStreamEvent: J.JavaScriptObject, MediaStreamTrackEvent: J.JavaScriptObject, MemoryInfo: J.JavaScriptObject, MessageChannel: J.JavaScriptObject, MessageEvent: J.JavaScriptObject, Metadata: J.JavaScriptObject, MIDIConnectionEvent: J.JavaScriptObject, MIDIMessageEvent: J.JavaScriptObject, MouseEvent: J.JavaScriptObject, DragEvent: J.JavaScriptObject, MutationEvent: J.JavaScriptObject, MutationObserver: J.JavaScriptObject, WebKitMutationObserver: J.JavaScriptObject, MutationRecord: J.JavaScriptObject, NavigationPreloadManager: J.JavaScriptObject, Navigator: J.JavaScriptObject, NavigatorAutomationInformation: J.JavaScriptObject, NavigatorConcurrentHardware: J.JavaScriptObject, NavigatorCookies: J.JavaScriptObject, NavigatorUserMediaError: J.JavaScriptObject, NodeFilter: J.JavaScriptObject, NodeIterator: J.JavaScriptObject, NonDocumentTypeChildNode: J.JavaScriptObject, NonElementParentNode: J.JavaScriptObject, NoncedElement: J.JavaScriptObject, NotificationEvent: J.JavaScriptObject, OffscreenCanvasRenderingContext2D: J.JavaScriptObject, OverconstrainedError: J.JavaScriptObject, PageTransitionEvent: J.JavaScriptObject, PaintRenderingContext2D: J.JavaScriptObject, PaintSize: J.JavaScriptObject, PaintWorkletGlobalScope: J.JavaScriptObject, PasswordCredential: J.JavaScriptObject, Path2D: J.JavaScriptObject, PaymentAddress: J.JavaScriptObject, PaymentInstruments: J.JavaScriptObject, PaymentManager: J.JavaScriptObject, PaymentRequestEvent: J.JavaScriptObject, PaymentRequestUpdateEvent: J.JavaScriptObject, PaymentResponse: J.JavaScriptObject, PerformanceEntry: J.JavaScriptObject, PerformanceLongTaskTiming: J.JavaScriptObject, PerformanceMark: J.JavaScriptObject, PerformanceMeasure: J.JavaScriptObject, PerformanceNavigation: J.JavaScriptObject, PerformanceNavigationTiming: J.JavaScriptObject, PerformanceObserver: J.JavaScriptObject, PerformanceObserverEntryList: J.JavaScriptObject, PerformancePaintTiming: J.JavaScriptObject, PerformanceResourceTiming: J.JavaScriptObject, PerformanceServerTiming: J.JavaScriptObject, PerformanceTiming: J.JavaScriptObject, Permissions: J.JavaScriptObject, PhotoCapabilities: J.JavaScriptObject, PointerEvent: J.JavaScriptObject, PopStateEvent: J.JavaScriptObject, PositionError: J.JavaScriptObject, GeolocationPositionError: J.JavaScriptObject, Presentation: J.JavaScriptObject, PresentationConnectionAvailableEvent: J.JavaScriptObject, PresentationConnectionCloseEvent: J.JavaScriptObject, PresentationReceiver: J.JavaScriptObject, ProgressEvent: J.JavaScriptObject, PromiseRejectionEvent: J.JavaScriptObject, PublicKeyCredential: J.JavaScriptObject, PushEvent: J.JavaScriptObject, PushManager: J.JavaScriptObject, PushMessageData: J.JavaScriptObject, PushSubscription: J.JavaScriptObject, PushSubscriptionOptions: J.JavaScriptObject, Range: J.JavaScriptObject, RelatedApplication: J.JavaScriptObject, ReportBody: J.JavaScriptObject, ReportingObserver: J.JavaScriptObject, ResizeObserver: J.JavaScriptObject, ResizeObserverEntry: J.JavaScriptObject, RTCCertificate: J.JavaScriptObject, RTCDataChannelEvent: J.JavaScriptObject, RTCDTMFToneChangeEvent: J.JavaScriptObject, RTCIceCandidate: J.JavaScriptObject, mozRTCIceCandidate: J.JavaScriptObject, RTCLegacyStatsReport: J.JavaScriptObject, RTCPeerConnectionIceEvent: J.JavaScriptObject, RTCRtpContributingSource: J.JavaScriptObject, RTCRtpReceiver: J.JavaScriptObject, RTCRtpSender: J.JavaScriptObject, RTCSessionDescription: J.JavaScriptObject, mozRTCSessionDescription: J.JavaScriptObject, RTCStatsResponse: J.JavaScriptObject, RTCTrackEvent: J.JavaScriptObject, Screen: J.JavaScriptObject, ScrollState: J.JavaScriptObject, ScrollTimeline: J.JavaScriptObject, SecurityPolicyViolationEvent: J.JavaScriptObject, Selection: J.JavaScriptObject, SensorErrorEvent: J.JavaScriptObject, SharedArrayBuffer: J.JavaScriptObject, SpeechRecognitionAlternative: J.JavaScriptObject, SpeechRecognitionError: J.JavaScriptObject, SpeechRecognitionEvent: J.JavaScriptObject, SpeechSynthesisEvent: J.JavaScriptObject, SpeechSynthesisVoice: J.JavaScriptObject, StaticRange: J.JavaScriptObject, StorageEvent: J.JavaScriptObject, StorageManager: J.JavaScriptObject, StyleMedia: J.JavaScriptObject, StylePropertyMap: J.JavaScriptObject, StylePropertyMapReadonly: J.JavaScriptObject, SyncEvent: J.JavaScriptObject, SyncManager: J.JavaScriptObject, TaskAttributionTiming: J.JavaScriptObject, TextDetector: J.JavaScriptObject, TextEvent: J.JavaScriptObject, TextMetrics: J.JavaScriptObject, TouchEvent: J.JavaScriptObject, TrackDefault: J.JavaScriptObject, TrackEvent: J.JavaScriptObject, TransitionEvent: J.JavaScriptObject, WebKitTransitionEvent: J.JavaScriptObject, TreeWalker: J.JavaScriptObject, TrustedHTML: J.JavaScriptObject, TrustedScriptURL: J.JavaScriptObject, TrustedURL: J.JavaScriptObject, UIEvent: J.JavaScriptObject, UnderlyingSourceBase: J.JavaScriptObject, URLSearchParams: J.JavaScriptObject, VRCoordinateSystem: J.JavaScriptObject, VRDeviceEvent: J.JavaScriptObject, VRDisplayCapabilities: J.JavaScriptObject, VRDisplayEvent: J.JavaScriptObject, VREyeParameters: J.JavaScriptObject, VRFrameData: J.JavaScriptObject, VRFrameOfReference: J.JavaScriptObject, VRPose: J.JavaScriptObject, VRSessionEvent: J.JavaScriptObject, VRStageBounds: J.JavaScriptObject, VRStageBoundsPoint: J.JavaScriptObject, VRStageParameters: J.JavaScriptObject, ValidityState: J.JavaScriptObject, VideoPlaybackQuality: J.JavaScriptObject, VideoTrack: J.JavaScriptObject, VTTRegion: J.JavaScriptObject, WheelEvent: J.JavaScriptObject, WindowClient: J.JavaScriptObject, WorkletAnimation: J.JavaScriptObject, WorkletGlobalScope: J.JavaScriptObject, XPathEvaluator: J.JavaScriptObject, XPathExpression: J.JavaScriptObject, XPathNSResolver: J.JavaScriptObject, XPathResult: J.JavaScriptObject, XMLSerializer: J.JavaScriptObject, XSLTProcessor: J.JavaScriptObject, Bluetooth: J.JavaScriptObject, BluetoothCharacteristicProperties: J.JavaScriptObject, BluetoothRemoteGATTServer: J.JavaScriptObject, BluetoothRemoteGATTService: J.JavaScriptObject, BluetoothUUID: J.JavaScriptObject, BudgetService: J.JavaScriptObject, Cache: J.JavaScriptObject, DOMFileSystemSync: J.JavaScriptObject, DirectoryEntrySync: J.JavaScriptObject, DirectoryReaderSync: J.JavaScriptObject, EntrySync: J.JavaScriptObject, FileEntrySync: J.JavaScriptObject, FileReaderSync: J.JavaScriptObject, FileWriterSync: J.JavaScriptObject, HTMLAllCollection: J.JavaScriptObject, Mojo: J.JavaScriptObject, MojoHandle: J.JavaScriptObject, MojoInterfaceRequestEvent: J.JavaScriptObject, MojoWatcher: J.JavaScriptObject, NFC: J.JavaScriptObject, PagePopupController: J.JavaScriptObject, Report: J.JavaScriptObject, Request: J.JavaScriptObject, ResourceProgressEvent: J.JavaScriptObject, Response: J.JavaScriptObject, SubtleCrypto: J.JavaScriptObject, USBAlternateInterface: J.JavaScriptObject, USBConfiguration: J.JavaScriptObject, USBConnectionEvent: J.JavaScriptObject, USBDevice: J.JavaScriptObject, USBEndpoint: J.JavaScriptObject, USBInTransferResult: J.JavaScriptObject, USBInterface: J.JavaScriptObject, USBIsochronousInTransferPacket: J.JavaScriptObject, USBIsochronousInTransferResult: J.JavaScriptObject, USBIsochronousOutTransferPacket: J.JavaScriptObject, USBIsochronousOutTransferResult: J.JavaScriptObject, USBOutTransferResult: J.JavaScriptObject, WorkerLocation: J.JavaScriptObject, WorkerNavigator: J.JavaScriptObject, Worklet: J.JavaScriptObject, IDBCursor: J.JavaScriptObject, IDBCursorWithValue: J.JavaScriptObject, IDBFactory: J.JavaScriptObject, IDBIndex: J.JavaScriptObject, IDBKeyRange: J.JavaScriptObject, IDBObjectStore: J.JavaScriptObject, IDBObservation: J.JavaScriptObject, IDBObserver: J.JavaScriptObject, IDBObserverChanges: J.JavaScriptObject, IDBVersionChangeEvent: J.JavaScriptObject, SVGAngle: J.JavaScriptObject, SVGAnimatedAngle: J.JavaScriptObject, SVGAnimatedBoolean: J.JavaScriptObject, SVGAnimatedEnumeration: J.JavaScriptObject, SVGAnimatedInteger: J.JavaScriptObject, SVGAnimatedLength: J.JavaScriptObject, SVGAnimatedLengthList: J.JavaScriptObject, SVGAnimatedNumber: J.JavaScriptObject, SVGAnimatedNumberList: J.JavaScriptObject, SVGAnimatedPreserveAspectRatio: J.JavaScriptObject, SVGAnimatedRect: J.JavaScriptObject, SVGAnimatedString: J.JavaScriptObject, SVGAnimatedTransformList: J.JavaScriptObject, SVGMatrix: J.JavaScriptObject, SVGPoint: J.JavaScriptObject, SVGPreserveAspectRatio: J.JavaScriptObject, SVGRect: J.JavaScriptObject, SVGUnitTypes: J.JavaScriptObject, AudioListener: J.JavaScriptObject, AudioParam: J.JavaScriptObject, AudioProcessingEvent: J.JavaScriptObject, AudioTrack: J.JavaScriptObject, AudioWorkletGlobalScope: J.JavaScriptObject, AudioWorkletProcessor: J.JavaScriptObject, OfflineAudioCompletionEvent: J.JavaScriptObject, PeriodicWave: J.JavaScriptObject, WebGLActiveInfo: J.JavaScriptObject, ANGLEInstancedArrays: J.JavaScriptObject, ANGLE_instanced_arrays: J.JavaScriptObject, WebGLBuffer: J.JavaScriptObject, WebGLCanvas: J.JavaScriptObject, WebGLColorBufferFloat: J.JavaScriptObject, WebGLCompressedTextureASTC: J.JavaScriptObject, WebGLCompressedTextureATC: J.JavaScriptObject, WEBGL_compressed_texture_atc: J.JavaScriptObject, WebGLCompressedTextureETC1: J.JavaScriptObject, WEBGL_compressed_texture_etc1: J.JavaScriptObject, WebGLCompressedTextureETC: J.JavaScriptObject, WebGLCompressedTexturePVRTC: J.JavaScriptObject, WEBGL_compressed_texture_pvrtc: J.JavaScriptObject, WebGLCompressedTextureS3TC: J.JavaScriptObject, WEBGL_compressed_texture_s3tc: J.JavaScriptObject, WebGLCompressedTextureS3TCsRGB: J.JavaScriptObject, WebGLContextEvent: J.JavaScriptObject, WebGLDebugRendererInfo: J.JavaScriptObject, WEBGL_debug_renderer_info: J.JavaScriptObject, WebGLDebugShaders: J.JavaScriptObject, WEBGL_debug_shaders: J.JavaScriptObject, WebGLDepthTexture: J.JavaScriptObject, WEBGL_depth_texture: J.JavaScriptObject, WebGLDrawBuffers: J.JavaScriptObject, WEBGL_draw_buffers: J.JavaScriptObject, EXTsRGB: J.JavaScriptObject, EXT_sRGB: J.JavaScriptObject, EXTBlendMinMax: J.JavaScriptObject, EXT_blend_minmax: J.JavaScriptObject, EXTColorBufferFloat: J.JavaScriptObject, EXTColorBufferHalfFloat: J.JavaScriptObject, EXTDisjointTimerQuery: J.JavaScriptObject, EXTDisjointTimerQueryWebGL2: J.JavaScriptObject, EXTFragDepth: J.JavaScriptObject, EXT_frag_depth: J.JavaScriptObject, EXTShaderTextureLOD: J.JavaScriptObject, EXT_shader_texture_lod: J.JavaScriptObject, EXTTextureFilterAnisotropic: J.JavaScriptObject, EXT_texture_filter_anisotropic: J.JavaScriptObject, WebGLFramebuffer: J.JavaScriptObject, WebGLGetBufferSubDataAsync: J.JavaScriptObject, WebGLLoseContext: J.JavaScriptObject, WebGLExtensionLoseContext: J.JavaScriptObject, WEBGL_lose_context: J.JavaScriptObject, OESElementIndexUint: J.JavaScriptObject, OES_element_index_uint: J.JavaScriptObject, OESStandardDerivatives: J.JavaScriptObject, OES_standard_derivatives: J.JavaScriptObject, OESTextureFloat: J.JavaScriptObject, OES_texture_float: J.JavaScriptObject, OESTextureFloatLinear: J.JavaScriptObject, OES_texture_float_linear: J.JavaScriptObject, OESTextureHalfFloat: J.JavaScriptObject, OES_texture_half_float: J.JavaScriptObject, OESTextureHalfFloatLinear: J.JavaScriptObject, OES_texture_half_float_linear: J.JavaScriptObject, OESVertexArrayObject: J.JavaScriptObject, OES_vertex_array_object: J.JavaScriptObject, WebGLProgram: J.JavaScriptObject, WebGLQuery: J.JavaScriptObject, WebGLRenderbuffer: J.JavaScriptObject, WebGLRenderingContext: J.JavaScriptObject, WebGL2RenderingContext: J.JavaScriptObject, WebGLSampler: J.JavaScriptObject, WebGLShader: J.JavaScriptObject, WebGLShaderPrecisionFormat: J.JavaScriptObject, WebGLSync: J.JavaScriptObject, WebGLTexture: J.JavaScriptObject, WebGLTimerQueryEXT: J.JavaScriptObject, WebGLTransformFeedback: J.JavaScriptObject, WebGLUniformLocation: J.JavaScriptObject, WebGLVertexArrayObject: J.JavaScriptObject, WebGLVertexArrayObjectOES: J.JavaScriptObject, WebGL2RenderingContextBase: J.JavaScriptObject, ArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List, HTMLAudioElement: A.HtmlElement, HTMLBRElement: A.HtmlElement, HTMLBaseElement: A.HtmlElement, HTMLBodyElement: A.HtmlElement, HTMLButtonElement: A.HtmlElement, HTMLCanvasElement: A.HtmlElement, HTMLContentElement: A.HtmlElement, HTMLDListElement: A.HtmlElement, HTMLDataElement: A.HtmlElement, HTMLDataListElement: A.HtmlElement, HTMLDetailsElement: A.HtmlElement, HTMLDialogElement: A.HtmlElement, HTMLDivElement: A.HtmlElement, HTMLEmbedElement: A.HtmlElement, HTMLFieldSetElement: A.HtmlElement, HTMLHRElement: A.HtmlElement, HTMLHeadElement: A.HtmlElement, HTMLHeadingElement: A.HtmlElement, HTMLHtmlElement: A.HtmlElement, HTMLIFrameElement: A.HtmlElement, HTMLImageElement: A.HtmlElement, HTMLInputElement: A.HtmlElement, HTMLLIElement: A.HtmlElement, HTMLLabelElement: A.HtmlElement, HTMLLegendElement: A.HtmlElement, HTMLLinkElement: A.HtmlElement, HTMLMapElement: A.HtmlElement, HTMLMediaElement: A.HtmlElement, HTMLMenuElement: A.HtmlElement, HTMLMetaElement: A.HtmlElement, HTMLMeterElement: A.HtmlElement, HTMLModElement: A.HtmlElement, HTMLOListElement: A.HtmlElement, HTMLObjectElement: A.HtmlElement, HTMLOptGroupElement: A.HtmlElement, HTMLOptionElement: A.HtmlElement, HTMLOutputElement: A.HtmlElement, HTMLParagraphElement: A.HtmlElement, HTMLParamElement: A.HtmlElement, HTMLPictureElement: A.HtmlElement, HTMLPreElement: A.HtmlElement, HTMLProgressElement: A.HtmlElement, HTMLQuoteElement: A.HtmlElement, HTMLScriptElement: A.HtmlElement, HTMLShadowElement: A.HtmlElement, HTMLSlotElement: A.HtmlElement, HTMLSourceElement: A.HtmlElement, HTMLSpanElement: A.HtmlElement, HTMLStyleElement: A.HtmlElement, HTMLTableCaptionElement: A.HtmlElement, HTMLTableCellElement: A.HtmlElement, HTMLTableDataCellElement: A.HtmlElement, HTMLTableHeaderCellElement: A.HtmlElement, HTMLTableColElement: A.HtmlElement, HTMLTableElement: A.HtmlElement, HTMLTableRowElement: A.HtmlElement, HTMLTableSectionElement: A.HtmlElement, HTMLTemplateElement: A.HtmlElement, HTMLTextAreaElement: A.HtmlElement, HTMLTimeElement: A.HtmlElement, HTMLTitleElement: A.HtmlElement, HTMLTrackElement: A.HtmlElement, HTMLUListElement: A.HtmlElement, HTMLUnknownElement: A.HtmlElement, HTMLVideoElement: A.HtmlElement, HTMLDirectoryElement: A.HtmlElement, HTMLFontElement: A.HtmlElement, HTMLFrameElement: A.HtmlElement, HTMLFrameSetElement: A.HtmlElement, HTMLMarqueeElement: A.HtmlElement, HTMLElement: A.HtmlElement, AccessibleNodeList: A.AccessibleNodeList, HTMLAnchorElement: A.AnchorElement, HTMLAreaElement: A.AreaElement, Blob: A.Blob, CDATASection: A.CharacterData, CharacterData: A.CharacterData, Comment: A.CharacterData, ProcessingInstruction: A.CharacterData, Text: A.CharacterData, CSSPerspective: A.CssPerspective, CSSCharsetRule: A.CssRule, CSSConditionRule: A.CssRule, CSSFontFaceRule: A.CssRule, CSSGroupingRule: A.CssRule, CSSImportRule: A.CssRule, CSSKeyframeRule: A.CssRule, MozCSSKeyframeRule: A.CssRule, WebKitCSSKeyframeRule: A.CssRule, CSSKeyframesRule: A.CssRule, MozCSSKeyframesRule: A.CssRule, WebKitCSSKeyframesRule: A.CssRule, CSSMediaRule: A.CssRule, CSSNamespaceRule: A.CssRule, CSSPageRule: A.CssRule, CSSRule: A.CssRule, CSSStyleRule: A.CssRule, CSSSupportsRule: A.CssRule, CSSViewportRule: A.CssRule, CSSStyleDeclaration: A.CssStyleDeclaration, MSStyleCSSProperties: A.CssStyleDeclaration, CSS2Properties: A.CssStyleDeclaration, CSSImageValue: A.CssStyleValue, CSSKeywordValue: A.CssStyleValue, CSSNumericValue: A.CssStyleValue, CSSPositionValue: A.CssStyleValue, CSSResourceValue: A.CssStyleValue, CSSUnitValue: A.CssStyleValue, CSSURLImageValue: A.CssStyleValue, CSSStyleValue: A.CssStyleValue, CSSMatrixComponent: A.CssTransformComponent, CSSRotation: A.CssTransformComponent, CSSScale: A.CssTransformComponent, CSSSkew: A.CssTransformComponent, CSSTranslation: A.CssTransformComponent, CSSTransformComponent: A.CssTransformComponent, CSSTransformValue: A.CssTransformValue, CSSUnparsedValue: A.CssUnparsedValue, DataTransferItemList: A.DataTransferItemList, DOMException: A.DomException, ClientRectList: A.DomRectList, DOMRectList: A.DomRectList, DOMRectReadOnly: A.DomRectReadOnly, DOMStringList: A.DomStringList, DOMTokenList: A.DomTokenList, MathMLElement: A.Element, SVGAElement: A.Element, SVGAnimateElement: A.Element, SVGAnimateMotionElement: A.Element, SVGAnimateTransformElement: A.Element, SVGAnimationElement: A.Element, SVGCircleElement: A.Element, SVGClipPathElement: A.Element, SVGDefsElement: A.Element, SVGDescElement: A.Element, SVGDiscardElement: A.Element, SVGEllipseElement: A.Element, SVGFEBlendElement: A.Element, SVGFEColorMatrixElement: A.Element, SVGFEComponentTransferElement: A.Element, SVGFECompositeElement: A.Element, SVGFEConvolveMatrixElement: A.Element, SVGFEDiffuseLightingElement: A.Element, SVGFEDisplacementMapElement: A.Element, SVGFEDistantLightElement: A.Element, SVGFEFloodElement: A.Element, SVGFEFuncAElement: A.Element, SVGFEFuncBElement: A.Element, SVGFEFuncGElement: A.Element, SVGFEFuncRElement: A.Element, SVGFEGaussianBlurElement: A.Element, SVGFEImageElement: A.Element, SVGFEMergeElement: A.Element, SVGFEMergeNodeElement: A.Element, SVGFEMorphologyElement: A.Element, SVGFEOffsetElement: A.Element, SVGFEPointLightElement: A.Element, SVGFESpecularLightingElement: A.Element, SVGFESpotLightElement: A.Element, SVGFETileElement: A.Element, SVGFETurbulenceElement: A.Element, SVGFilterElement: A.Element, SVGForeignObjectElement: A.Element, SVGGElement: A.Element, SVGGeometryElement: A.Element, SVGGraphicsElement: A.Element, SVGImageElement: A.Element, SVGLineElement: A.Element, SVGLinearGradientElement: A.Element, SVGMarkerElement: A.Element, SVGMaskElement: A.Element, SVGMetadataElement: A.Element, SVGPathElement: A.Element, SVGPatternElement: A.Element, SVGPolygonElement: A.Element, SVGPolylineElement: A.Element, SVGRadialGradientElement: A.Element, SVGRectElement: A.Element, SVGScriptElement: A.Element, SVGSetElement: A.Element, SVGStopElement: A.Element, SVGStyleElement: A.Element, SVGElement: A.Element, SVGSVGElement: A.Element, SVGSwitchElement: A.Element, SVGSymbolElement: A.Element, SVGTSpanElement: A.Element, SVGTextContentElement: A.Element, SVGTextElement: A.Element, SVGTextPathElement: A.Element, SVGTextPositioningElement: A.Element, SVGTitleElement: A.Element, SVGUseElement: A.Element, SVGViewElement: A.Element, SVGGradientElement: A.Element, SVGComponentTransferFunctionElement: A.Element, SVGFEDropShadowElement: A.Element, SVGMPathElement: A.Element, Element: A.Element, AbsoluteOrientationSensor: A.EventTarget, Accelerometer: A.EventTarget, AccessibleNode: A.EventTarget, AmbientLightSensor: A.EventTarget, Animation: A.EventTarget, ApplicationCache: A.EventTarget, DOMApplicationCache: A.EventTarget, OfflineResourceList: A.EventTarget, BackgroundFetchRegistration: A.EventTarget, BatteryManager: A.EventTarget, BroadcastChannel: A.EventTarget, CanvasCaptureMediaStreamTrack: A.EventTarget, DedicatedWorkerGlobalScope: A.EventTarget, EventSource: A.EventTarget, FileReader: A.EventTarget, FontFaceSet: A.EventTarget, Gyroscope: A.EventTarget, XMLHttpRequest: A.EventTarget, XMLHttpRequestEventTarget: A.EventTarget, XMLHttpRequestUpload: A.EventTarget, LinearAccelerationSensor: A.EventTarget, Magnetometer: A.EventTarget, MediaDevices: A.EventTarget, MediaKeySession: A.EventTarget, MediaQueryList: A.EventTarget, MediaRecorder: A.EventTarget, MediaSource: A.EventTarget, MediaStream: A.EventTarget, MediaStreamTrack: A.EventTarget, MessagePort: A.EventTarget, MIDIAccess: A.EventTarget, MIDIInput: A.EventTarget, MIDIOutput: A.EventTarget, MIDIPort: A.EventTarget, NetworkInformation: A.EventTarget, Notification: A.EventTarget, OffscreenCanvas: A.EventTarget, OrientationSensor: A.EventTarget, PaymentRequest: A.EventTarget, Performance: A.EventTarget, PermissionStatus: A.EventTarget, PresentationAvailability: A.EventTarget, PresentationConnection: A.EventTarget, PresentationConnectionList: A.EventTarget, PresentationRequest: A.EventTarget, RelativeOrientationSensor: A.EventTarget, RemotePlayback: A.EventTarget, RTCDataChannel: A.EventTarget, DataChannel: A.EventTarget, RTCDTMFSender: A.EventTarget, RTCPeerConnection: A.EventTarget, webkitRTCPeerConnection: A.EventTarget, mozRTCPeerConnection: A.EventTarget, ScreenOrientation: A.EventTarget, Sensor: A.EventTarget, ServiceWorker: A.EventTarget, ServiceWorkerContainer: A.EventTarget, ServiceWorkerGlobalScope: A.EventTarget, ServiceWorkerRegistration: A.EventTarget, SharedWorker: A.EventTarget, SharedWorkerGlobalScope: A.EventTarget, SpeechRecognition: A.EventTarget, webkitSpeechRecognition: A.EventTarget, SpeechSynthesis: A.EventTarget, SpeechSynthesisUtterance: A.EventTarget, VR: A.EventTarget, VRDevice: A.EventTarget, VRDisplay: A.EventTarget, VRSession: A.EventTarget, VisualViewport: A.EventTarget, WebSocket: A.EventTarget, Window: A.EventTarget, DOMWindow: A.EventTarget, Worker: A.EventTarget, WorkerGlobalScope: A.EventTarget, WorkerPerformance: A.EventTarget, BluetoothDevice: A.EventTarget, BluetoothRemoteGATTCharacteristic: A.EventTarget, Clipboard: A.EventTarget, MojoInterfaceInterceptor: A.EventTarget, USB: A.EventTarget, IDBDatabase: A.EventTarget, IDBOpenDBRequest: A.EventTarget, IDBVersionChangeRequest: A.EventTarget, IDBRequest: A.EventTarget, IDBTransaction: A.EventTarget, AnalyserNode: A.EventTarget, RealtimeAnalyserNode: A.EventTarget, AudioBufferSourceNode: A.EventTarget, AudioDestinationNode: A.EventTarget, AudioNode: A.EventTarget, AudioScheduledSourceNode: A.EventTarget, AudioWorkletNode: A.EventTarget, BiquadFilterNode: A.EventTarget, ChannelMergerNode: A.EventTarget, AudioChannelMerger: A.EventTarget, ChannelSplitterNode: A.EventTarget, AudioChannelSplitter: A.EventTarget, ConstantSourceNode: A.EventTarget, ConvolverNode: A.EventTarget, DelayNode: A.EventTarget, DynamicsCompressorNode: A.EventTarget, GainNode: A.EventTarget, AudioGainNode: A.EventTarget, IIRFilterNode: A.EventTarget, MediaElementAudioSourceNode: A.EventTarget, MediaStreamAudioDestinationNode: A.EventTarget, MediaStreamAudioSourceNode: A.EventTarget, OscillatorNode: A.EventTarget, Oscillator: A.EventTarget, PannerNode: A.EventTarget, AudioPannerNode: A.EventTarget, webkitAudioPannerNode: A.EventTarget, ScriptProcessorNode: A.EventTarget, JavaScriptAudioNode: A.EventTarget, StereoPannerNode: A.EventTarget, WaveShaperNode: A.EventTarget, EventTarget: A.EventTarget, File: A.File, FileList: A.FileList, FileWriter: A.FileWriter, HTMLFormElement: A.FormElement, Gamepad: A.Gamepad, History: A.History, HTMLCollection: A.HtmlCollection, HTMLFormControlsCollection: A.HtmlCollection, HTMLOptionsCollection: A.HtmlCollection, Location: A.Location, MediaList: A.MediaList, MIDIInputMap: A.MidiInputMap, MIDIOutputMap: A.MidiOutputMap, MimeType: A.MimeType, MimeTypeArray: A.MimeTypeArray, Document: A.Node, DocumentFragment: A.Node, HTMLDocument: A.Node, ShadowRoot: A.Node, XMLDocument: A.Node, Attr: A.Node, DocumentType: A.Node, Node: A.Node, NodeList: A.NodeList, RadioNodeList: A.NodeList, Plugin: A.Plugin, PluginArray: A.PluginArray, RTCStatsReport: A.RtcStatsReport, HTMLSelectElement: A.SelectElement, SourceBuffer: A.SourceBuffer, SourceBufferList: A.SourceBufferList, SpeechGrammar: A.SpeechGrammar, SpeechGrammarList: A.SpeechGrammarList, SpeechRecognitionResult: A.SpeechRecognitionResult, Storage: A.Storage, CSSStyleSheet: A.StyleSheet, StyleSheet: A.StyleSheet, TextTrack: A.TextTrack, TextTrackCue: A.TextTrackCue, VTTCue: A.TextTrackCue, TextTrackCueList: A.TextTrackCueList, TextTrackList: A.TextTrackList, TimeRanges: A.TimeRanges, Touch: A.Touch, TouchList: A.TouchList, TrackDefaultList: A.TrackDefaultList, URL: A.Url, VideoTrackList: A.VideoTrackList, CSSRuleList: A._CssRuleList, ClientRect: A._DomRect, DOMRect: A._DomRect, GamepadList: A._GamepadList, NamedNodeMap: A._NamedNodeMap, MozNamedAttrMap: A._NamedNodeMap, SpeechRecognitionResultList: A._SpeechRecognitionResultList, StyleSheetList: A._StyleSheetList, SVGLength: A.Length, SVGLengthList: A.LengthList, SVGNumber: A.Number, SVGNumberList: A.NumberList, SVGPointList: A.PointList, SVGStringList: A.StringList, SVGTransform: A.Transform, SVGTransformList: A.TransformList, AudioBuffer: A.AudioBuffer, AudioParamMap: A.AudioParamMap, AudioTrackList: A.AudioTrackList, AudioContext: A.BaseAudioContext, webkitAudioContext: A.BaseAudioContext, BaseAudioContext: A.BaseAudioContext, OfflineAudioContext: A.OfflineAudioContext}); + hunkHelpers.setOrUpdateLeafTags({WebGL: true, AbortPaymentEvent: true, AnimationEffectReadOnly: true, AnimationEffectTiming: true, AnimationEffectTimingReadOnly: true, AnimationEvent: true, AnimationPlaybackEvent: true, AnimationTimeline: true, AnimationWorkletGlobalScope: true, ApplicationCacheErrorEvent: true, AuthenticatorAssertionResponse: true, AuthenticatorAttestationResponse: true, AuthenticatorResponse: true, BackgroundFetchClickEvent: true, BackgroundFetchEvent: true, BackgroundFetchFailEvent: true, BackgroundFetchFetch: true, BackgroundFetchManager: true, BackgroundFetchSettledFetch: true, BackgroundFetchedEvent: true, BarProp: true, BarcodeDetector: true, BeforeInstallPromptEvent: true, BeforeUnloadEvent: true, BlobEvent: true, BluetoothRemoteGATTDescriptor: true, Body: true, BudgetState: true, CacheStorage: true, CanMakePaymentEvent: true, CanvasGradient: true, CanvasPattern: true, CanvasRenderingContext2D: true, Client: true, Clients: true, ClipboardEvent: true, CloseEvent: true, CompositionEvent: true, CookieStore: true, Coordinates: true, Credential: true, CredentialUserData: true, CredentialsContainer: true, Crypto: true, CryptoKey: true, CSS: true, CSSVariableReferenceValue: true, CustomElementRegistry: true, CustomEvent: true, DataTransfer: true, DataTransferItem: true, DeprecatedStorageInfo: true, DeprecatedStorageQuota: true, DeprecationReport: true, DetectedBarcode: true, DetectedFace: true, DetectedText: true, DeviceAcceleration: true, DeviceMotionEvent: true, DeviceOrientationEvent: true, DeviceRotationRate: true, DirectoryEntry: true, webkitFileSystemDirectoryEntry: true, FileSystemDirectoryEntry: true, DirectoryReader: true, WebKitDirectoryReader: true, webkitFileSystemDirectoryReader: true, FileSystemDirectoryReader: true, DocumentOrShadowRoot: true, DocumentTimeline: true, DOMError: true, DOMImplementation: true, Iterator: true, DOMMatrix: true, DOMMatrixReadOnly: true, DOMParser: true, DOMPoint: true, DOMPointReadOnly: true, DOMQuad: true, DOMStringMap: true, Entry: true, webkitFileSystemEntry: true, FileSystemEntry: true, ErrorEvent: true, Event: true, InputEvent: true, SubmitEvent: true, ExtendableEvent: true, ExtendableMessageEvent: true, External: true, FaceDetector: true, FederatedCredential: true, FetchEvent: true, FileEntry: true, webkitFileSystemFileEntry: true, FileSystemFileEntry: true, DOMFileSystem: true, WebKitFileSystem: true, webkitFileSystem: true, FileSystem: true, FocusEvent: true, FontFace: true, FontFaceSetLoadEvent: true, FontFaceSource: true, ForeignFetchEvent: true, FormData: true, GamepadButton: true, GamepadEvent: true, GamepadPose: true, Geolocation: true, Position: true, GeolocationPosition: true, HashChangeEvent: true, Headers: true, HTMLHyperlinkElementUtils: true, IdleDeadline: true, ImageBitmap: true, ImageBitmapRenderingContext: true, ImageCapture: true, ImageData: true, InputDeviceCapabilities: true, InstallEvent: true, IntersectionObserver: true, IntersectionObserverEntry: true, InterventionReport: true, KeyboardEvent: true, KeyframeEffect: true, KeyframeEffectReadOnly: true, MediaCapabilities: true, MediaCapabilitiesInfo: true, MediaDeviceInfo: true, MediaEncryptedEvent: true, MediaError: true, MediaKeyMessageEvent: true, MediaKeyStatusMap: true, MediaKeySystemAccess: true, MediaKeys: true, MediaKeysPolicy: true, MediaMetadata: true, MediaQueryListEvent: true, MediaSession: true, MediaSettingsRange: true, MediaStreamEvent: true, MediaStreamTrackEvent: true, MemoryInfo: true, MessageChannel: true, MessageEvent: true, Metadata: true, MIDIConnectionEvent: true, MIDIMessageEvent: true, MouseEvent: true, DragEvent: true, MutationEvent: true, MutationObserver: true, WebKitMutationObserver: true, MutationRecord: true, NavigationPreloadManager: true, Navigator: true, NavigatorAutomationInformation: true, NavigatorConcurrentHardware: true, NavigatorCookies: true, NavigatorUserMediaError: true, NodeFilter: true, NodeIterator: true, NonDocumentTypeChildNode: true, NonElementParentNode: true, NoncedElement: true, NotificationEvent: true, OffscreenCanvasRenderingContext2D: true, OverconstrainedError: true, PageTransitionEvent: true, PaintRenderingContext2D: true, PaintSize: true, PaintWorkletGlobalScope: true, PasswordCredential: true, Path2D: true, PaymentAddress: true, PaymentInstruments: true, PaymentManager: true, PaymentRequestEvent: true, PaymentRequestUpdateEvent: true, PaymentResponse: true, PerformanceEntry: true, PerformanceLongTaskTiming: true, PerformanceMark: true, PerformanceMeasure: true, PerformanceNavigation: true, PerformanceNavigationTiming: true, PerformanceObserver: true, PerformanceObserverEntryList: true, PerformancePaintTiming: true, PerformanceResourceTiming: true, PerformanceServerTiming: true, PerformanceTiming: true, Permissions: true, PhotoCapabilities: true, PointerEvent: true, PopStateEvent: true, PositionError: true, GeolocationPositionError: true, Presentation: true, PresentationConnectionAvailableEvent: true, PresentationConnectionCloseEvent: true, PresentationReceiver: true, ProgressEvent: true, PromiseRejectionEvent: true, PublicKeyCredential: true, PushEvent: true, PushManager: true, PushMessageData: true, PushSubscription: true, PushSubscriptionOptions: true, Range: true, RelatedApplication: true, ReportBody: true, ReportingObserver: true, ResizeObserver: true, ResizeObserverEntry: true, RTCCertificate: true, RTCDataChannelEvent: true, RTCDTMFToneChangeEvent: true, RTCIceCandidate: true, mozRTCIceCandidate: true, RTCLegacyStatsReport: true, RTCPeerConnectionIceEvent: true, RTCRtpContributingSource: true, RTCRtpReceiver: true, RTCRtpSender: true, RTCSessionDescription: true, mozRTCSessionDescription: true, RTCStatsResponse: true, RTCTrackEvent: true, Screen: true, ScrollState: true, ScrollTimeline: true, SecurityPolicyViolationEvent: true, Selection: true, SensorErrorEvent: true, SharedArrayBuffer: true, SpeechRecognitionAlternative: true, SpeechRecognitionError: true, SpeechRecognitionEvent: true, SpeechSynthesisEvent: true, SpeechSynthesisVoice: true, StaticRange: true, StorageEvent: true, StorageManager: true, StyleMedia: true, StylePropertyMap: true, StylePropertyMapReadonly: true, SyncEvent: true, SyncManager: true, TaskAttributionTiming: true, TextDetector: true, TextEvent: true, TextMetrics: true, TouchEvent: true, TrackDefault: true, TrackEvent: true, TransitionEvent: true, WebKitTransitionEvent: true, TreeWalker: true, TrustedHTML: true, TrustedScriptURL: true, TrustedURL: true, UIEvent: true, UnderlyingSourceBase: true, URLSearchParams: true, VRCoordinateSystem: true, VRDeviceEvent: true, VRDisplayCapabilities: true, VRDisplayEvent: true, VREyeParameters: true, VRFrameData: true, VRFrameOfReference: true, VRPose: true, VRSessionEvent: true, VRStageBounds: true, VRStageBoundsPoint: true, VRStageParameters: true, ValidityState: true, VideoPlaybackQuality: true, VideoTrack: true, VTTRegion: true, WheelEvent: true, WindowClient: true, WorkletAnimation: true, WorkletGlobalScope: true, XPathEvaluator: true, XPathExpression: true, XPathNSResolver: true, XPathResult: true, XMLSerializer: true, XSLTProcessor: true, Bluetooth: true, BluetoothCharacteristicProperties: true, BluetoothRemoteGATTServer: true, BluetoothRemoteGATTService: true, BluetoothUUID: true, BudgetService: true, Cache: true, DOMFileSystemSync: true, DirectoryEntrySync: true, DirectoryReaderSync: true, EntrySync: true, FileEntrySync: true, FileReaderSync: true, FileWriterSync: true, HTMLAllCollection: true, Mojo: true, MojoHandle: true, MojoInterfaceRequestEvent: true, MojoWatcher: true, NFC: true, PagePopupController: true, Report: true, Request: true, ResourceProgressEvent: true, Response: true, SubtleCrypto: true, USBAlternateInterface: true, USBConfiguration: true, USBConnectionEvent: true, USBDevice: true, USBEndpoint: true, USBInTransferResult: true, USBInterface: true, USBIsochronousInTransferPacket: true, USBIsochronousInTransferResult: true, USBIsochronousOutTransferPacket: true, USBIsochronousOutTransferResult: true, USBOutTransferResult: true, WorkerLocation: true, WorkerNavigator: true, Worklet: true, IDBCursor: true, IDBCursorWithValue: true, IDBFactory: true, IDBIndex: true, IDBKeyRange: true, IDBObjectStore: true, IDBObservation: true, IDBObserver: true, IDBObserverChanges: true, IDBVersionChangeEvent: true, SVGAngle: true, SVGAnimatedAngle: true, SVGAnimatedBoolean: true, SVGAnimatedEnumeration: true, SVGAnimatedInteger: true, SVGAnimatedLength: true, SVGAnimatedLengthList: true, SVGAnimatedNumber: true, SVGAnimatedNumberList: true, SVGAnimatedPreserveAspectRatio: true, SVGAnimatedRect: true, SVGAnimatedString: true, SVGAnimatedTransformList: true, SVGMatrix: true, SVGPoint: true, SVGPreserveAspectRatio: true, SVGRect: true, SVGUnitTypes: true, AudioListener: true, AudioParam: true, AudioProcessingEvent: true, AudioTrack: true, AudioWorkletGlobalScope: true, AudioWorkletProcessor: true, OfflineAudioCompletionEvent: true, PeriodicWave: true, WebGLActiveInfo: true, ANGLEInstancedArrays: true, ANGLE_instanced_arrays: true, WebGLBuffer: true, WebGLCanvas: true, WebGLColorBufferFloat: true, WebGLCompressedTextureASTC: true, WebGLCompressedTextureATC: true, WEBGL_compressed_texture_atc: true, WebGLCompressedTextureETC1: true, WEBGL_compressed_texture_etc1: true, WebGLCompressedTextureETC: true, WebGLCompressedTexturePVRTC: true, WEBGL_compressed_texture_pvrtc: true, WebGLCompressedTextureS3TC: true, WEBGL_compressed_texture_s3tc: true, WebGLCompressedTextureS3TCsRGB: true, WebGLContextEvent: true, WebGLDebugRendererInfo: true, WEBGL_debug_renderer_info: true, WebGLDebugShaders: true, WEBGL_debug_shaders: true, WebGLDepthTexture: true, WEBGL_depth_texture: true, WebGLDrawBuffers: true, WEBGL_draw_buffers: true, EXTsRGB: true, EXT_sRGB: true, EXTBlendMinMax: true, EXT_blend_minmax: true, EXTColorBufferFloat: true, EXTColorBufferHalfFloat: true, EXTDisjointTimerQuery: true, EXTDisjointTimerQueryWebGL2: true, EXTFragDepth: true, EXT_frag_depth: true, EXTShaderTextureLOD: true, EXT_shader_texture_lod: true, EXTTextureFilterAnisotropic: true, EXT_texture_filter_anisotropic: true, WebGLFramebuffer: true, WebGLGetBufferSubDataAsync: true, WebGLLoseContext: true, WebGLExtensionLoseContext: true, WEBGL_lose_context: true, OESElementIndexUint: true, OES_element_index_uint: true, OESStandardDerivatives: true, OES_standard_derivatives: true, OESTextureFloat: true, OES_texture_float: true, OESTextureFloatLinear: true, OES_texture_float_linear: true, OESTextureHalfFloat: true, OES_texture_half_float: true, OESTextureHalfFloatLinear: true, OES_texture_half_float_linear: true, OESVertexArrayObject: true, OES_vertex_array_object: true, WebGLProgram: true, WebGLQuery: true, WebGLRenderbuffer: true, WebGLRenderingContext: true, WebGL2RenderingContext: true, WebGLSampler: true, WebGLShader: true, WebGLShaderPrecisionFormat: true, WebGLSync: true, WebGLTexture: true, WebGLTimerQueryEXT: true, WebGLTransformFeedback: true, WebGLUniformLocation: true, WebGLVertexArrayObject: true, WebGLVertexArrayObjectOES: true, WebGL2RenderingContextBase: true, ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false, HTMLAudioElement: true, HTMLBRElement: true, HTMLBaseElement: true, HTMLBodyElement: true, HTMLButtonElement: true, HTMLCanvasElement: true, HTMLContentElement: true, HTMLDListElement: true, HTMLDataElement: true, HTMLDataListElement: true, HTMLDetailsElement: true, HTMLDialogElement: true, HTMLDivElement: true, HTMLEmbedElement: true, HTMLFieldSetElement: true, HTMLHRElement: true, HTMLHeadElement: true, HTMLHeadingElement: true, HTMLHtmlElement: true, HTMLIFrameElement: true, HTMLImageElement: true, HTMLInputElement: true, HTMLLIElement: true, HTMLLabelElement: true, HTMLLegendElement: true, HTMLLinkElement: true, HTMLMapElement: true, HTMLMediaElement: true, HTMLMenuElement: true, HTMLMetaElement: true, HTMLMeterElement: true, HTMLModElement: true, HTMLOListElement: true, HTMLObjectElement: true, HTMLOptGroupElement: true, HTMLOptionElement: true, HTMLOutputElement: true, HTMLParagraphElement: true, HTMLParamElement: true, HTMLPictureElement: true, HTMLPreElement: true, HTMLProgressElement: true, HTMLQuoteElement: true, HTMLScriptElement: true, HTMLShadowElement: true, HTMLSlotElement: true, HTMLSourceElement: true, HTMLSpanElement: true, HTMLStyleElement: true, HTMLTableCaptionElement: true, HTMLTableCellElement: true, HTMLTableDataCellElement: true, HTMLTableHeaderCellElement: true, HTMLTableColElement: true, HTMLTableElement: true, HTMLTableRowElement: true, HTMLTableSectionElement: true, HTMLTemplateElement: true, HTMLTextAreaElement: true, HTMLTimeElement: true, HTMLTitleElement: true, HTMLTrackElement: true, HTMLUListElement: true, HTMLUnknownElement: true, HTMLVideoElement: true, HTMLDirectoryElement: true, HTMLFontElement: true, HTMLFrameElement: true, HTMLFrameSetElement: true, HTMLMarqueeElement: true, HTMLElement: false, AccessibleNodeList: true, HTMLAnchorElement: true, HTMLAreaElement: true, Blob: false, CDATASection: true, CharacterData: true, Comment: true, ProcessingInstruction: true, Text: true, CSSPerspective: true, CSSCharsetRule: true, CSSConditionRule: true, CSSFontFaceRule: true, CSSGroupingRule: true, CSSImportRule: true, CSSKeyframeRule: true, MozCSSKeyframeRule: true, WebKitCSSKeyframeRule: true, CSSKeyframesRule: true, MozCSSKeyframesRule: true, WebKitCSSKeyframesRule: true, CSSMediaRule: true, CSSNamespaceRule: true, CSSPageRule: true, CSSRule: true, CSSStyleRule: true, CSSSupportsRule: true, CSSViewportRule: true, CSSStyleDeclaration: true, MSStyleCSSProperties: true, CSS2Properties: true, CSSImageValue: true, CSSKeywordValue: true, CSSNumericValue: true, CSSPositionValue: true, CSSResourceValue: true, CSSUnitValue: true, CSSURLImageValue: true, CSSStyleValue: false, CSSMatrixComponent: true, CSSRotation: true, CSSScale: true, CSSSkew: true, CSSTranslation: true, CSSTransformComponent: false, CSSTransformValue: true, CSSUnparsedValue: true, DataTransferItemList: true, DOMException: true, ClientRectList: true, DOMRectList: true, DOMRectReadOnly: false, DOMStringList: true, DOMTokenList: true, MathMLElement: true, SVGAElement: true, SVGAnimateElement: true, SVGAnimateMotionElement: true, SVGAnimateTransformElement: true, SVGAnimationElement: true, SVGCircleElement: true, SVGClipPathElement: true, SVGDefsElement: true, SVGDescElement: true, SVGDiscardElement: true, SVGEllipseElement: true, SVGFEBlendElement: true, SVGFEColorMatrixElement: true, SVGFEComponentTransferElement: true, SVGFECompositeElement: true, SVGFEConvolveMatrixElement: true, SVGFEDiffuseLightingElement: true, SVGFEDisplacementMapElement: true, SVGFEDistantLightElement: true, SVGFEFloodElement: true, SVGFEFuncAElement: true, SVGFEFuncBElement: true, SVGFEFuncGElement: true, SVGFEFuncRElement: true, SVGFEGaussianBlurElement: true, SVGFEImageElement: true, SVGFEMergeElement: true, SVGFEMergeNodeElement: true, SVGFEMorphologyElement: true, SVGFEOffsetElement: true, SVGFEPointLightElement: true, SVGFESpecularLightingElement: true, SVGFESpotLightElement: true, SVGFETileElement: true, SVGFETurbulenceElement: true, SVGFilterElement: true, SVGForeignObjectElement: true, SVGGElement: true, SVGGeometryElement: true, SVGGraphicsElement: true, SVGImageElement: true, SVGLineElement: true, SVGLinearGradientElement: true, SVGMarkerElement: true, SVGMaskElement: true, SVGMetadataElement: true, SVGPathElement: true, SVGPatternElement: true, SVGPolygonElement: true, SVGPolylineElement: true, SVGRadialGradientElement: true, SVGRectElement: true, SVGScriptElement: true, SVGSetElement: true, SVGStopElement: true, SVGStyleElement: true, SVGElement: true, SVGSVGElement: true, SVGSwitchElement: true, SVGSymbolElement: true, SVGTSpanElement: true, SVGTextContentElement: true, SVGTextElement: true, SVGTextPathElement: true, SVGTextPositioningElement: true, SVGTitleElement: true, SVGUseElement: true, SVGViewElement: true, SVGGradientElement: true, SVGComponentTransferFunctionElement: true, SVGFEDropShadowElement: true, SVGMPathElement: true, Element: false, AbsoluteOrientationSensor: true, Accelerometer: true, AccessibleNode: true, AmbientLightSensor: true, Animation: true, ApplicationCache: true, DOMApplicationCache: true, OfflineResourceList: true, BackgroundFetchRegistration: true, BatteryManager: true, BroadcastChannel: true, CanvasCaptureMediaStreamTrack: true, DedicatedWorkerGlobalScope: true, EventSource: true, FileReader: true, FontFaceSet: true, Gyroscope: true, XMLHttpRequest: true, XMLHttpRequestEventTarget: true, XMLHttpRequestUpload: true, LinearAccelerationSensor: true, Magnetometer: true, MediaDevices: true, MediaKeySession: true, MediaQueryList: true, MediaRecorder: true, MediaSource: true, MediaStream: true, MediaStreamTrack: true, MessagePort: true, MIDIAccess: true, MIDIInput: true, MIDIOutput: true, MIDIPort: true, NetworkInformation: true, Notification: true, OffscreenCanvas: true, OrientationSensor: true, PaymentRequest: true, Performance: true, PermissionStatus: true, PresentationAvailability: true, PresentationConnection: true, PresentationConnectionList: true, PresentationRequest: true, RelativeOrientationSensor: true, RemotePlayback: true, RTCDataChannel: true, DataChannel: true, RTCDTMFSender: true, RTCPeerConnection: true, webkitRTCPeerConnection: true, mozRTCPeerConnection: true, ScreenOrientation: true, Sensor: true, ServiceWorker: true, ServiceWorkerContainer: true, ServiceWorkerGlobalScope: true, ServiceWorkerRegistration: true, SharedWorker: true, SharedWorkerGlobalScope: true, SpeechRecognition: true, webkitSpeechRecognition: true, SpeechSynthesis: true, SpeechSynthesisUtterance: true, VR: true, VRDevice: true, VRDisplay: true, VRSession: true, VisualViewport: true, WebSocket: true, Window: true, DOMWindow: true, Worker: true, WorkerGlobalScope: true, WorkerPerformance: true, BluetoothDevice: true, BluetoothRemoteGATTCharacteristic: true, Clipboard: true, MojoInterfaceInterceptor: true, USB: true, IDBDatabase: true, IDBOpenDBRequest: true, IDBVersionChangeRequest: true, IDBRequest: true, IDBTransaction: true, AnalyserNode: true, RealtimeAnalyserNode: true, AudioBufferSourceNode: true, AudioDestinationNode: true, AudioNode: true, AudioScheduledSourceNode: true, AudioWorkletNode: true, BiquadFilterNode: true, ChannelMergerNode: true, AudioChannelMerger: true, ChannelSplitterNode: true, AudioChannelSplitter: true, ConstantSourceNode: true, ConvolverNode: true, DelayNode: true, DynamicsCompressorNode: true, GainNode: true, AudioGainNode: true, IIRFilterNode: true, MediaElementAudioSourceNode: true, MediaStreamAudioDestinationNode: true, MediaStreamAudioSourceNode: true, OscillatorNode: true, Oscillator: true, PannerNode: true, AudioPannerNode: true, webkitAudioPannerNode: true, ScriptProcessorNode: true, JavaScriptAudioNode: true, StereoPannerNode: true, WaveShaperNode: true, EventTarget: false, File: true, FileList: true, FileWriter: true, HTMLFormElement: true, Gamepad: true, History: true, HTMLCollection: true, HTMLFormControlsCollection: true, HTMLOptionsCollection: true, Location: true, MediaList: true, MIDIInputMap: true, MIDIOutputMap: true, MimeType: true, MimeTypeArray: true, Document: true, DocumentFragment: true, HTMLDocument: true, ShadowRoot: true, XMLDocument: true, Attr: true, DocumentType: true, Node: false, NodeList: true, RadioNodeList: true, Plugin: true, PluginArray: true, RTCStatsReport: true, HTMLSelectElement: true, SourceBuffer: true, SourceBufferList: true, SpeechGrammar: true, SpeechGrammarList: true, SpeechRecognitionResult: true, Storage: true, CSSStyleSheet: true, StyleSheet: true, TextTrack: true, TextTrackCue: true, VTTCue: true, TextTrackCueList: true, TextTrackList: true, TimeRanges: true, Touch: true, TouchList: true, TrackDefaultList: true, URL: true, VideoTrackList: true, CSSRuleList: true, ClientRect: true, DOMRect: true, GamepadList: true, NamedNodeMap: true, MozNamedAttrMap: true, SpeechRecognitionResultList: true, StyleSheetList: true, SVGLength: true, SVGLengthList: true, SVGNumber: true, SVGNumberList: true, SVGPointList: true, SVGStringList: true, SVGTransform: true, SVGTransformList: true, AudioBuffer: true, AudioParamMap: true, AudioTrackList: true, AudioContext: true, webkitAudioContext: true, BaseAudioContext: false, OfflineAudioContext: true}); + A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView"; + A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView"; + A._SourceBufferList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + A._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; + A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; + })(); + Function.prototype.call$1 = function(a) { + return this(a); + }; + Function.prototype.call$2 = function(a, b) { + return this(a, b); + }; + Function.prototype.call$0 = function() { + return this(); + }; + Function.prototype.call$1$1 = function(a) { + return this(a); + }; + Function.prototype.call$3$3 = function(a, b, c) { + return this(a, b, c); + }; + Function.prototype.call$5 = function(a, b, c, d, e) { + return this(a, b, c, d, e); + }; + Function.prototype.call$3 = function(a, b, c) { + return this(a, b, c); + }; + Function.prototype.call$3$6 = function(a, b, c, d, e, f) { + return this(a, b, c, d, e, f); + }; + Function.prototype.call$1$4 = function(a, b, c, d) { + return this(a, b, c, d); + }; + Function.prototype.call$2$1 = function(a) { + return this(a); + }; + Function.prototype.call$2$5 = function(a, b, c, d, e) { + return this(a, b, c, d, e); + }; + Function.prototype.call$2$4 = function(a, b, c, d) { + return this(a, b, c, d); + }; + Function.prototype.call$4 = function(a, b, c, d) { + return this(a, b, c, d); + }; + Function.prototype.call$2$2 = function(a, b) { + return this(a, b); + }; + Function.prototype.call$3$1 = function(a) { + return this(a); + }; + Function.prototype.call$3$4 = function(a, b, c, d) { + return this(a, b, c, d); + }; + Function.prototype.call$1$2 = function(a, b) { + return this(a, b); + }; + Function.prototype.call$1$0 = function() { + return this(); + }; + Function.prototype.call$2$3 = function(a, b, c) { + return this(a, b, c); + }; + convertAllToFastObject(holders); + convertToFastObject($); + (function(callback) { + if (typeof document === "undefined") { + callback(null); + return; + } + if (typeof document.currentScript != "undefined") { + callback(document.currentScript); + return; + } + var scripts = document.scripts; + function onLoad(event) { + for (var i = 0; i < scripts.length; ++i) + scripts[i].removeEventListener("load", onLoad, false); + callback(event.target); + } + for (var i = 0; i < scripts.length; ++i) + scripts[i].addEventListener("load", onLoad, false); + })(function(currentScript) { + init.currentScript = currentScript; + var callMain = A.main; + if (typeof dartMainRunner === "function") + dartMainRunner(callMain, []); + else + callMain([]); + }); +})(); + +//# sourceMappingURL=host.dart.js.map diff --git a/packages/test/src/runner/browser/static/index.html b/packages/test/src/runner/browser/static/index.html new file mode 100644 index 0000000..69617fa --- /dev/null +++ b/packages/test/src/runner/browser/static/index.html @@ -0,0 +1,24 @@ + + + + test Browser Host + + + + + + + + + + + +
+ + + + + + + + diff --git a/packages/test/src/runner/wasm/static/default.html.tpl b/packages/test/src/runner/wasm/static/default.html.tpl new file mode 100644 index 0000000..3d05040 --- /dev/null +++ b/packages/test/src/runner/wasm/static/default.html.tpl @@ -0,0 +1,9 @@ + + + + {{testName}} Test + {{testScript}} + + + + diff --git a/packages/test/src/runner/wasm/static/run_wasm_chrome.js b/packages/test/src/runner/wasm/static/run_wasm_chrome.js new file mode 100644 index 0000000..d8628b9 --- /dev/null +++ b/packages/test/src/runner/wasm/static/run_wasm_chrome.js @@ -0,0 +1,21 @@ +// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// TODO(joshualitt): Investigate making this a module. Currently, Dart2Wasm is +// broken in D8 with modules because of an issue with async. This may or may not +// affect chrome. +(async () => { + // Fetch and compile Wasm binary. + let data = document.getElementById('WasmBootstrapInfo').dataset; + let modulePromise = WebAssembly.compileStreaming(fetch(data.wasmurl)); + + // Instantiate the Dart module, importing from the global scope. + let dart2wasm = await import('./' + data.jsruntimeurl); + let dartInstance = await dart2wasm.instantiate(modulePromise, {}); + + // Call `main`. If tasks are placed into the event loop (by scheduling tasks + // explicitly or awaiting Futures), these will automatically keep the script + // alive even after `main` returns. + await dart2wasm.invoke(dartInstance); +})(); diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..cc035c9 --- /dev/null +++ b/styles.css @@ -0,0 +1,14 @@ +@import url(https://fonts.googleapis.com/css?family=Roboto); + +html, body { + width: 100%; + height: 100%; + margin: 0; + padding: 0; + font-family: 'Roboto', sans-serif; +} + +#output { + padding: 20px; + text-align: center; +}