今天给出一个例程,像是个小游戏!哈哈
一 html
//anagram.html
<!DOCTYPE HTML>
<html>
<head>
<title>Anagram</title>
</head>
<body>
<h3>Pile:</h3>
<div id="letterpile"></div>
<h3>Word:</h3>
<div id="result"></div>
<div>
<input id="newl" type="button" value="new letters">
</div>
<script type="application/dart" src="anagram.dart"></script>
</body>
</html>
//anagramjs.html
<!DOCTYPE HTML>
<html>
<head>
<title>Anagram</title>
</head>
<body>
<h3>Pile:</h3>
<div id="letterpile"></div>
<h3>Word:</h3>
<div id="result"></div>
<div>
<input id="newl" type="button" value="new letters">
</div>
<script src="anagram.js"></script>
</body>
</html>
二 dart
//anagram.dart
import 'dart:html';
import 'dart:math' show Random;
List<String> alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n"];
List<ButtonElement> buttons = new List();
DivElement letterpile;
DivElement result;
void main() {
letterpile = querySelector('#letterpile');
result = querySelector('#result');
querySelector('#newl').onClick.listen(generateNewLetters);
}
void generateNewLetters(Event e) {
letterpile.children.clear();
result.children.clear();
Random indexGernerator = new Random();
buttons.clear();
for(var i=0; i<6; i++) {
int letterIndex = indexGernerator.nextInt(alphabet.length);
buttons.add(new ButtonElement());
buttons[i].classes.add("letter");
buttons[i].onClick.listen(moveLetter);
buttons[i].text = alphabet[letterIndex%14];
letterpile.children.add(buttons[i]);
}
}
void moveLetter(Event e) {
Element letter = e.target;
if (letter.parent==letterpile) {
result.children.add(letter);
} else {
letterpile.children.add(letter);
}
}
三 anagram.js
(function(){var supportsDirectProtoAccess=function(){var z=function(){}
z.prototype={p:{}}
var y=new z()
if(!(y.__proto__&&y.__proto__.p===z.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 x=version()
if(/^\d+\.\d+\.\d+\.\d+$/.test(x))return true}}catch(w){}return false}()
function map(a){a=Object.create(null)
a.x=0
delete a.x
return a}var A=map()
var B=map()
var C=map()
var D=map()
var E=map()
var F=map()
var G=map()
var H=map()
var J=map()
var K=map()
var L=map()
var M=map()
var N=map()
var O=map()
var P=map()
var Q=map()
var R=map()
var S=map()
var T=map()
var U=map()
var V=map()
var W=map()
var X=map()
var Y=map()
var Z=map()
function I(){}init()
function setupProgram(a,b){"use strict"
function generateAccessor(a9,b0,b1){var g=a9.split("-")
var f=g[0]
var e=f.length
var d=f.charCodeAt(e-1)
var c
if(g.length>1)c=true
else c=false
d=d>=60&&d<=64?d-59:d>=123&&d<=126?d-117:d>=37&&d<=43?d-27:0
if(d){var a0=d&3
var a1=d>>2
var a2=f=f.substring(0,e-1)
var a3=f.indexOf(":")
if(a3>0){a2=f.substring(0,a3)
f=f.substring(a3+1)}if(a0){var a4=a0&2?"r":""
var a5=a0&1?"this":"r"
var a6="return "+a5+"."+f
var a7=b1+".prototype.g"+a2+"="
var a8="function("+a4+"){"+a6+"}"
if(c)b0.push(a7+"$reflectable("+a8+");\n")
else b0.push(a7+a8+";\n")}if(a1){var a4=a1&2?"r,v":"v"
var a5=a1&1?"this":"r"
var a6=a5+"."+f+"=v"
var a7=b1+".prototype.s"+a2+"="
var a8="function("+a4+"){"+a6+"}"
if(c)b0.push(a7+"$reflectable("+a8+");\n")
else b0.push(a7+a8+";\n")}}return f}function defineClass(a2,a3){var g=[]
var f="function "+a2+"("
var e=""
var d=""
for(var c=0;c<a3.length;c++){if(c!=0)f+=", "
var a0=generateAccessor(a3[c],g,a2)
d+="'"+a0+"',"
var a1="p_"+a0
f+=a1
e+="this."+a0+" = "+a1+";\n"}if(supportsDirectProtoAccess)e+="this."+"$deferredAction"+"();"
f+=") {\n"+e+"}\n"
f+=a2+".builtin$cls=\""+a2+"\";\n"
f+="$desc=$collectedClasses."+a2+"[1];\n"
f+=a2+".prototype = $desc;\n"
if(typeof defineClass.name!="string")f+=a2+".name=\""+a2+"\";\n"
f+=a2+"."+"$__fields__"+"=["+d+"];\n"
f+=g.join("")
return f}init.createNewIsolate=function(){return new I()}
init.classIdExtractor=function(c){return c.constructor.name}
init.classFieldsExtractor=function(c){var g=c.constructor.$__fields__
if(!g)return[]
var f=[]
f.length=g.length
for(var e=0;e<g.length;e++)f[e]=c[g[e]]
return f}
init.instanceFromClassId=function(c){return new init.allClasses[c]()}
init.initializeEmptyInstance=function(c,d,e){init.allClasses[c].apply(d,e)
return d}
var z=supportsDirectProtoAccess?function(c,d){var g=c.prototype
g.__proto__=d.prototype
g.constructor=c
g["$is"+c.name]=c
return convertToFastObject(g)}:function(){function tmp(){}return function(a0,a1){tmp.prototype=a1.prototype
var g=new tmp()
convertToSlowObject(g)
var f=a0.prototype
var e=Object.keys(f)
for(var d=0;d<e.length;d++){var c=e[d]
g[c]=f[c]}g["$is"+a0.name]=a0
g.constructor=a0
a0.prototype=g
return g}}()
function finishClasses(a4){var g=init.allClasses
a4.combinedConstructorFunction+="return [\n"+a4.constructorsList.join(",\n ")+"\n]"
var f=new Function("$collectedClasses",a4.combinedConstructorFunction)(a4.collected)
a4.combinedConstructorFunction=null
for(var e=0;e<f.length;e++){var d=f[e]
var c=d.name
var a0=a4.collected[c]
var a1=a0[0]
a0=a0[1]
g[c]=d
a1[c]=d}f=null
var a2=init.finishedClasses
function finishClass(c1){if(a2[c1])return
a2[c1]=true
var a5=a4.pending[c1]
if(a5&&a5.indexOf("+")>0){var a6=a5.split("+")
a5=a6[0]
var a7=a6[1]
finishClass(a7)
var a8=g[a7]
var a9=a8.prototype
var b0=g[c1].prototype
var b1=Object.keys(a9)
for(var b2=0;b2<b1.length;b2++){var b3=b1[b2]
if(!u.call(b0,b3))b0[b3]=a9[b3]}}if(!a5||typeof a5!="string"){var b4=g[c1]
var b5=b4.prototype
b5.constructor=b4
b5.$isb=b4
b5.$deferredAction=function(){}
return}finishClass(a5)
var b6=g[a5]
if(!b6)b6=existingIsolateProperties[a5]
var b4=g[c1]
var b5=z(b4,b6)
if(a9)b5.$deferredAction=mixinDeferredActionHelper(a9,b5)
if(Object.prototype.hasOwnProperty.call(b5,"%")){var b7=b5["%"].split(";")
if(b7[0]){var b8=b7[0].split("|")
for(var b2=0;b2<b8.length;b2++){init.interceptorsByTag[b8[b2]]=b4
init.leafTags[b8[b2]]=true}}if(b7[1]){b8=b7[1].split("|")
if(b7[2]){var b9=b7[2].split("|")
for(var b2=0;b2<b9.length;b2++){var c0=g[b9[b2]]
c0.$nativeSuperclassTag=b8[0]}}for(b2=0;b2<b8.length;b2++){init.interceptorsByTag[b8[b2]]=b4
init.leafTags[b8[b2]]=false}}b5.$deferredAction()}if(b5.$isc)b5.$deferredAction()}var a3=Object.keys(a4.pending)
for(var e=0;e<a3.length;e++)finishClass(a3[e])}function finishAddStubsHelper(){var g=this
while(!g.hasOwnProperty("$deferredAction"))g=g.__proto__
delete g.$deferredAction
var f=Object.keys(g)
for(var e=0;e<f.length;e++){var d=f[e]
var c=d.charCodeAt(0)
var a0
if(d!=="^"&&d!=="$reflectable"&&c!==43&&c!==42&&(a0=g[d])!=null&&a0.constructor===Array&&d!=="<>")addStubs(g,a0,d,false,[])}convertToFastObject(g)
g=g.__proto__
g.$deferredAction()}function mixinDeferredActionHelper(c,d){var g
if(d.hasOwnProperty("$deferredAction"))g=d.$deferredAction
return function foo(){if(!supportsDirectProtoAccess)return
var f=this
while(!f.hasOwnProperty("$deferredAction"))f=f.__proto__
if(g)f.$deferredAction=g
else{delete f.$deferredAction
convertToFastObject(f)}c.$deferredAction()
f.$deferredAction()}}function processClassData(b1,b2,b3){b2=convertToSlowObject(b2)
var g
var f=Object.keys(b2)
var e=false
var d=supportsDirectProtoAccess&&b1!="b"
for(var c=0;c<f.length;c++){var a0=f[c]
var a1=a0.charCodeAt(0)
if(a0==="l"){processStatics(init.statics[b1]=b2.l,b3)
delete b2.l}else if(a1===43){w[g]=a0.substring(1)
var a2=b2[a0]
if(a2>0)b2[g].$reflectable=a2}else if(a1===42){b2[g].$D=b2[a0]
var a3=b2.$methodsWithOptionalArguments
if(!a3)b2.$methodsWithOptionalArguments=a3={}
a3[a0]=g}else{var a4=b2[a0]
if(a0!=="^"&&a4!=null&&a4.constructor===Array&&a0!=="<>")if(d)e=true
else addStubs(b2,a4,a0,false,[])
else g=a0}}if(e)b2.$deferredAction=finishAddStubsHelper
var a5=b2["^"],a6,a7,a8=a5
var a9=a8.split(";")
a8=a9[1]?a9[1].split(","):[]
a7=a9[0]
a6=a7.split(":")
if(a6.length==2){a7=a6[0]
var b0=a6[1]
if(b0)b2.$S=function(b4){return function(){return init.types[b4]}}(b0)}if(a7)b3.pending[b1]=a7
b3.combinedConstructorFunction+=defineClass(b1,a8)
b3.constructorsList.push(b1)
b3.collected[b1]=[m,b2]
i.push(b1)}function processStatics(a3,a4){var g=Object.keys(a3)
for(var f=0;f<g.length;f++){var e=g[f]
if(e==="^")continue
var d=a3[e]
var c=e.charCodeAt(0)
var a0
if(c===43){v[a0]=e.substring(1)
var a1=a3[e]
if(a1>0)a3[a0].$reflectable=a1
if(d&&d.length)init.typeInformation[a0]=d}else if(c===42){m[a0].$D=d
var a2=a3.$methodsWithOptionalArguments
if(!a2)a3.$methodsWithOptionalArguments=a2={}
a2[e]=a0}else if(typeof d==="function"){m[a0=e]=d
h.push(e)
init.globalFunctions[e]=d}else if(d.constructor===Array)addStubs(m,d,e,true,h)
else{a0=e
processClassData(e,d,a4)}}}function addStubs(b2,b3,b4,b5,b6){var g=0,f=b3[g],e
if(typeof f=="string")e=b3[++g]
else{e=f
f=b4}var d=[b2[b4]=b2[f]=e]
e.$stubName=b4
b6.push(b4)
for(g++;g<b3.length;g++){e=b3[g]
if(typeof e!="function")break
if(!b5)e.$stubName=b3[++g]
d.push(e)
if(e.$stubName){b2[e.$stubName]=e
b6.push(e.$stubName)}}for(var c=0;c<d.length;g++,c++)d[c].$callName=b3[g]
var a0=b3[g]
b3=b3.slice(++g)
var a1=b3[0]
var a2=a1>>1
var a3=(a1&1)===1
var a4=a1===3
var a5=a1===1
var a6=b3[1]
var a7=a6>>1
var a8=(a6&1)===1
var a9=a2+a7!=d[0].length
var b0=b3[2]
if(typeof b0=="number")b3[2]=b0+b
var b1=2*a7+a2+3
if(a0){e=tearOff(d,b3,b5,b4,a9)
b2[b4].$getter=e
e.$getterStub=true
if(b5){init.globalFunctions[b4]=e
b6.push(a0)}b2[a0]=e
d.push(e)
e.$stubName=a0
e.$callName=null}}function tearOffGetter(c,d,e,f){return f?new Function("funcs","reflectionInfo","name","H","c","return function tearOff_"+e+y+++"(x) {"+"if (c === null) c = "+"H.bv"+"("+"this, funcs, reflectionInfo, false, [x], name);"+"return new c(this, funcs[0], x, name);"+"}")(c,d,e,H,null):new Function("funcs","reflectionInfo","name","H","c","return function tearOff_"+e+y+++"() {"+"if (c === null) c = "+"H.bv"+"("+"this, funcs, reflectionInfo, false, [], name);"+"return new c(this, funcs[0], null, name);"+"}")(c,d,e,H,null)}function tearOff(c,d,e,f,a0){var g
return e?function(){if(g===void 0)g=H.bv(this,c,d,true,[],f).prototype
return g}:tearOffGetter(c,d,f,a0)}var y=0
if(!init.libraries)init.libraries=[]
if(!init.mangledNames)init.mangledNames=map()
if(!init.mangledGlobalNames)init.mangledGlobalNames=map()
if(!init.statics)init.statics=map()
if(!init.typeInformation)init.typeInformation=map()
if(!init.globalFunctions)init.globalFunctions=map()
var x=init.libraries
var w=init.mangledNames
var v=init.mangledGlobalNames
var u=Object.prototype.hasOwnProperty
var t=a.length
var s=map()
s.collected=map()
s.pending=map()
s.constructorsList=[]
s.combinedConstructorFunction="function $reflectable(fn){fn.$reflectable=1;return fn};\n"+"var $desc;\n"
for(var r=0;r<t;r++){var q=a[r]
var p=q[0]
var o=q[1]
var n=q[2]
var m=q[3]
var l=q[4]
var k=!!q[5]
var j=l&&l["^"]
if(j instanceof Array)j=j[0]
var i=[]
var h=[]
processStatics(l,s)
x.push([p,o,i,h,n,j,k,m])}finishClasses(s)}I.u=function(){}
var dart=[["","",,H,{"^":"",hm:{"^":"b;a"}}],["","",,J,{"^":"",
n:function(a){return void 0},
b1:function(a,b,c,d){return{i:a,p:b,e:c,x:d}},
aZ:function(a){var z,y,x,w,v
z=a[init.dispatchPropertyName]
if(z==null)if($.by==null){H.fw()
z=a[init.dispatchPropertyName]}if(z!=null){y=z.p
if(!1===y)return z.i
if(!0===y)return a
x=Object.getPrototypeOf(a)
if(y===x)return z.i
if(z.e===x)throw H.e(new P.cn("Return interceptor for "+H.f(y(a,z))))}w=a.constructor
v=w==null?null:w[$.$get$b6()]
if(v!=null)return v
v=H.fG(a)
if(v!=null)return v
if(typeof a=="function")return C.v
y=Object.getPrototypeOf(a)
if(y==null)return C.k
if(y===Object.prototype)return C.k
if(typeof w=="function"){Object.defineProperty(w,$.$get$b6(),{value:C.d,enumerable:false,writable:true,configurable:true})
return C.d}return C.d},
c:{"^":"b;",
p:function(a,b){return a===b},
gt:function(a){return H.P(a)},
i:["bA",function(a){return H.aO(a)}],
"%":"Blob|Client|DOMError|File|FileError|MediaError|NavigatorUserMediaError|PositionError|SQLError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedString|WindowClient"},
dC:{"^":"c;",
i:function(a){return String(a)},
gt:function(a){return a?519018:218159},
$isfl:1},
dE:{"^":"c;",
p:function(a,b){return null==b},
i:function(a){return"null"},
gt:function(a){return 0}},
b7:{"^":"c;",
gt:function(a){return 0},
i:["bB",function(a){return String(a)}],
$isdF:1},
dR:{"^":"b7;"},
aS:{"^":"b7;"},
at:{"^":"b7;",
i:function(a){var z=a[$.$get$bL()]
return z==null?this.bB(a):J.S(z)},
$S:function(){return{func:1,opt:[,,,,,,,,,,,,,,,,]}}},
ar:{"^":"c;$ti",
b4:function(a,b){if(!!a.immutable$list)throw H.e(new P.y(b))},
c9:function(a,b){if(!!a.fixed$length)throw H.e(new P.y(b))},
J:function(a,b){return new H.ba(a,b,[H.R(a,0),null])},
v:function(a,b){if(b>>>0!==b||b>=a.length)return H.h(a,b)
return a[b]},
gci:function(a){if(a.length>0)return a[0]
throw H.e(H.bT())},
ay:function(a,b,c,d,e){var z,y,x
this.b4(a,"setRange")
P.c7(b,c,a.length,null,null,null)
z=c-b
if(z===0)return
if(e+z>d.length)throw H.e(H.dB())
if(e<b)for(y=z-1;y>=0;--y){x=e+y
if(x>=d.length)return H.h(d,x)
a[b+y]=d[x]}else for(y=0;y<z;++y){x=e+y
if(x>=d.length)return H.h(d,x)
a[b+y]=d[x]}},
i:function(a){return P.aI(a,"[","]")},
gu:function(a){return new J.b3(a,a.length,0,null)},
gt:function(a){return H.P(a)},
gj:function(a){return a.length},
sj:function(a,b){this.c9(a,"set length")
if(b<0)throw H.e(P.av(b,0,null,"newLength",null))
a.length=b},
h:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.e(H.o(a,b))
if(b>=a.length||b<0)throw H.e(H.o(a,b))
return a[b]},
n:function(a,b,c){this.b4(a,"indexed set")
if(typeof b!=="number"||Math.floor(b)!==b)throw H.e(H.o(a,b))
if(b>=a.length||b<0)throw H.e(H.o(a,b))
a[b]=c},
$isr:1,
$asr:I.u,
$isd:1,
$asd:null,
$isa:1,
$asa:null},
hl:{"^":"ar;$ti"},
b3:{"^":"b;a,b,c,d",
gm:function(){return this.d},
k:function(){var z,y,x
z=this.a
y=z.length
if(this.b!==y)throw H.e(H.fN(z))
x=this.c
if(x>=y){this.d=null
return!1}this.d=z[x]
this.c=x+1
return!0}},
as:{"^":"c;",
i:function(a){if(a===0&&1/a<0)return"-0.0"
else return""+a},
gt:function(a){return a&0x1FFFFFFF},
Z:function(a,b){if(typeof b!=="number")throw H.e(H.a_(b))
return a+b},
bp:function(a,b){var z=a%b
if(z===0)return 0
if(z>0)return z
if(b<0)return z-b
else return z+b},
N:function(a,b){return(a|0)===a?a/b|0:this.c5(a,b)},
c5:function(a,b){var z=a/b
if(z>=-2147483648&&z<=2147483647)return z|0
if(z>0){if(z!==1/0)return Math.floor(z)}else if(z>-1/0)return Math.ceil(z)
throw H.e(new P.y("Result of truncating division is "+H.f(z)+": "+H.f(a)+" ~/ "+b))},
aY:function(a,b){var z
if(a>0)z=b>31?0:a>>>b
else{z=b>31?31:b
z=a>>z>>>0}return z},
a7:function(a,b){if(typeof b!=="number")throw H.e(H.a_(b))
return a<b},
$isaA:1},
bV:{"^":"as;",$isaA:1,$isj:1},
dD:{"^":"as;",$isaA:1},
aJ:{"^":"c;",
bP:function(a,b){if(b>=a.length)throw H.e(H.o(a,b))
return a.charCodeAt(b)},
Z:function(a,b){if(typeof b!=="string")throw H.e(P.bH(b,null,null))
return a+b},
az:function(a,b,c){if(c==null)c=a.length
if(typeof c!=="number"||Math.floor(c)!==c)H.p(H.a_(c))
if(b<0)throw H.e(P.aP(b,null,null))
if(typeof c!=="number")return H.ak(c)
if(b>c)throw H.e(P.aP(b,null,null))
if(c>a.length)throw H.e(P.aP(c,null,null))
return a.substring(b,c)},
bz:function(a,b){return this.az(a,b,null)},
i:function(a){return a},
gt:function(a){var z,y,x
for(z=a.length,y=0,x=0;x<z;++x){y=536870911&y+a.charCodeAt(x)
y=536870911&y+((524287&y)<<10)
y^=y>>6}y=536870911&y+((67108863&y)<<3)
y^=y>>11
return 536870911&y+((16383&y)<<15)},
gj:function(a){return a.length},
h:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.e(H.o(a,b))
if(b>=a.length||b<0)throw H.e(H.o(a,b))
return a[b]},
$isr:1,
$asr:I.u,
$isV:1}}],["","",,H,{"^":"",
bT:function(){return new P.bh("No element")},
dB:function(){return new P.bh("Too few elements")},
a:{"^":"C;$ti",$asa:null},
au:{"^":"a;$ti",
gu:function(a){return new H.bW(this,this.gj(this),0,null)},
J:function(a,b){return new H.ba(this,b,[H.q(this,"au",0),null])},
X:function(a,b){var z,y,x
z=H.I([],[H.q(this,"au",0)])
C.b.sj(z,this.gj(this))
for(y=0;y<this.gj(this);++y){x=this.v(0,y)
if(y>=z.length)return H.h(z,y)
z[y]=x}return z},
W:function(a){return this.X(a,!0)}},
bW:{"^":"b;a,b,c,d",
gm:function(){return this.d},
k:function(){var z,y,x,w
z=this.a
y=J.E(z)
x=y.gj(z)
if(this.b!==x)throw H.e(new P.a5(z))
w=this.c
if(w>=x){this.d=null
return!1}this.d=y.v(z,w);++this.c
return!0}},
aL:{"^":"C;a,b,$ti",
gu:function(a){return new H.dN(null,J.aC(this.a),this.b,this.$ti)},
gj:function(a){return J.a3(this.a)},
v:function(a,b){return this.b.$1(J.aB(this.a,b))},
$asC:function(a,b){return[b]},
l:{
aM:function(a,b,c,d){if(!!a.$isa)return new H.bM(a,b,[c,d])
return new H.aL(a,b,[c,d])}}},
bM:{"^":"aL;a,b,$ti",$isa:1,
$asa:function(a,b){return[b]}},
dN:{"^":"bU;a,b,c,$ti",
k:function(){var z=this.b
if(z.k()){this.a=this.c.$1(z.gm())
return!0}this.a=null
return!1},
gm:function(){return this.a}},
ba:{"^":"au;a,b,$ti",
gj:function(a){return J.a3(this.a)},
v:function(a,b){return this.b.$1(J.aB(this.a,b))},
$asau:function(a,b){return[b]},
$asa:function(a,b){return[b]},
$asC:function(a,b){return[b]}},
ec:{"^":"C;a,b,$ti",
gu:function(a){return new H.ed(J.aC(this.a),this.b,this.$ti)},
J:function(a,b){return new H.aL(this,b,[H.R(this,0),null])}},
ed:{"^":"bU;a,b,$ti",
k:function(){var z,y
for(z=this.a,y=this.b;z.k();)if(y.$1(z.gm())===!0)return!0
return!1},
gm:function(){return this.a.gm()}},
bP:{"^":"b;$ti"}}],["","",,H,{"^":"",
ay:function(a,b){var z=a.P(b)
if(!init.globalState.d.cy)init.globalState.f.V()
return z},
cQ:function(a,b){var z,y,x,w,v,u
z={}
z.a=b
if(b==null){b=[]
z.a=b
y=b}else y=b
if(!J.n(y).$isd)throw H.e(P.bF("Arguments to main must be a List: "+H.f(y)))
init.globalState=new H.eQ(0,0,1,null,null,null,null,null,null,null,null,null,a)
y=init.globalState
x=self.window==null
w=self.Worker
v=x&&!!self.postMessage
y.x=v
v=!v
if(v)w=w!=null&&$.$get$bR()!=null
else w=!0
y.y=w
y.r=x&&v
y.f=new H.es(P.b9(null,H.ax),0)
x=P.j
y.z=new H.U(0,null,null,null,null,null,0,[x,H.bo])
y.ch=new H.U(0,null,null,null,null,null,0,[x,null])
if(y.x===!0){w=new H.eP()
y.Q=w
self.onmessage=function(c,d){return function(e){c(d,e)}}(H.du,w)
self.dartPrint=self.dartPrint||function(c){return function(d){if(self.console&&self.console.log)self.console.log(d)
else self.postMessage(c(d))}}(H.eR)}if(init.globalState.x===!0)return
y=init.globalState.a++
w=P.a9(null,null,null,x)
v=new H.aQ(0,null,!1)
u=new H.bo(y,new H.U(0,null,null,null,null,null,0,[x,H.aQ]),w,init.createNewIsolate(),v,new H.T(H.b2()),new H.T(H.b2()),!1,!1,[],P.a9(null,null,null,null),null,null,!1,!0,P.a9(null,null,null,null))
w.w(0,0)
u.aB(0,v)
init.globalState.e=u
init.globalState.d=u
if(H.a1(a,{func:1,args:[,]}))u.P(new H.fL(z,a))
else if(H.a1(a,{func:1,args:[,,]}))u.P(new H.fM(z,a))
else u.P(a)
init.globalState.f.V()},
dy:function(){var z=init.currentScript
if(z!=null)return String(z.src)
if(init.globalState.x===!0)return H.dz()
return},
dz:function(){var z,y
z=new Error().stack
if(z==null){z=function(){try{throw new Error()}catch(x){return x.stack}}()
if(z==null)throw H.e(new P.y("No stack trace"))}y=z.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","m"))
if(y!=null)return y[1]
y=z.match(new RegExp("^[^@]*@(.*):[0-9]*$","m"))
if(y!=null)return y[1]
throw H.e(new P.y('Cannot extract URI from "'+z+'"'))},
du:function(a,b){var z,y,x,w,v,u,t,s,r,q,p,o,n
z=new H.aU(!0,[]).G(b.data)
y=J.E(z)
switch(y.h(z,"command")){case"start":init.globalState.b=y.h(z,"id")
x=y.h(z,"functionName")
w=x==null?init.globalState.cx:init.globalFunctions[x]()
v=y.h(z,"args")
u=new H.aU(!0,[]).G(y.h(z,"msg"))
t=y.h(z,"isSpawnUri")
s=y.h(z,"startPaused")
r=new H.aU(!0,[]).G(y.h(z,"replyTo"))
y=init.globalState.a++
q=P.j
p=P.a9(null,null,null,q)
o=new H.aQ(0,null,!1)
n=new H.bo(y,new H.U(0,null,null,null,null,null,0,[q,H.aQ]),p,init.createNewIsolate(),o,new H.T(H.b2()),new H.T(H.b2()),!1,!1,[],P.a9(null,null,null,null),null,null,!1,!0,P.a9(null,null,null,null))
p.w(0,0)
n.aB(0,o)
init.globalState.f.a.D(new H.ax(n,new H.dv(w,v,u,t,s,r),"worker-start"))
init.globalState.d=n
init.globalState.f.V()
break
case"spawn-worker":break
case"message":if(y.h(z,"port")!=null)y.h(z,"port").F(y.h(z,"msg"))
init.globalState.f.V()
break
case"close":init.globalState.ch.U(0,$.$get$bS().h(0,a))
a.terminate()
init.globalState.f.V()
break
case"log":H.dt(y.h(z,"msg"))
break
case"print":if(init.globalState.x===!0){y=init.globalState.Q
q=P.a8(["command","print","msg",z])
q=new H.X(!0,P.ae(null,P.j)).A(q)
y.toString
self.postMessage(q)}else P.bA(y.h(z,"msg"))
break
case"error":throw H.e(y.h(z,"msg"))}},
dt:function(a){var z,y,x,w
if(init.globalState.x===!0){y=init.globalState.Q
x=P.a8(["command","log","msg",a])
x=new H.X(!0,P.ae(null,P.j)).A(x)
y.toString
self.postMessage(x)}else try{self.console.log(a)}catch(w){H.B(w)
z=H.A(w)
y=P.aG(z)
throw H.e(y)}},
dw:function(a,b,c,d,e,f){var z,y,x,w
z=init.globalState.d
y=z.a
$.c4=$.c4+("_"+y)
$.c5=$.c5+("_"+y)
y=z.e
x=init.globalState.d.a
w=z.f
f.F(["spawned",new H.aW(y,x),w,z.r])
x=new H.dx(a,b,c,d,z)
if(e===!0){z.b1(w,w)
init.globalState.f.a.D(new H.ax(z,x,"start isolate"))}else x.$0()},
f2:function(a){return new H.aU(!0,[]).G(new H.X(!1,P.ae(null,P.j)).A(a))},
fL:{"^":"i:0;a,b",
$0:function(){this.b.$1(this.a.a)}},
fM:{"^":"i:0;a,b",
$0:function(){this.b.$2(this.a.a,null)}},
eQ:{"^":"b;a,b,c,d,e,f,r,x,y,z,Q,ch,cx",l:{
eR:function(a){var z=P.a8(["command","print","msg",a])
return new H.X(!0,P.ae(null,P.j)).A(z)}}},
bo:{"^":"b;a,b,c,cv:d<,cb:e<,f,r,x,y,z,Q,ch,cx,cy,db,dx",
b1:function(a,b){if(!this.f.p(0,a))return
if(this.Q.w(0,b)&&!this.y)this.y=!0
this.ar()},
cE:function(a){var z,y,x,w,v,u
if(!this.y)return
z=this.Q
z.U(0,a)
if(z.a===0){for(z=this.z;y=z.length,y!==0;){if(0>=y)return H.h(z,-1)
x=z.pop()
y=init.globalState.f.a
w=y.b
v=y.a
u=v.length
w=(w-1&u-1)>>>0
y.b=w
if(w<0||w>=u)return H.h(v,w)
v[w]=x
if(w===y.c)y.aI();++y.d}this.y=!1}this.ar()},
c7:function(a,b){var z,y,x
if(this.ch==null)this.ch=[]
for(z=J.n(a),y=0;x=this.ch,y<x.length;y+=2)if(z.p(a,x[y])){z=this.ch
x=y+1
if(x>=z.length)return H.h(z,x)
z[x]=b
return}x.push(a)
this.ch.push(b)},
cD:function(a){var z,y,x
if(this.ch==null)return
for(z=J.n(a),y=0;x=this.ch,y<x.length;y+=2)if(z.p(a,x[y])){z=this.ch
x=y+2
z.toString
if(typeof z!=="object"||z===null||!!z.fixed$length)H.p(new P.y("removeRange"))
P.c7(y,x,z.length,null,null,null)
z.splice(y,x-y)
return}},
bx:function(a,b){if(!this.r.p(0,a))return
this.db=b},
cm:function(a,b,c){var z=J.n(b)
if(!z.p(b,0))z=z.p(b,1)&&!this.cy
else z=!0
if(z){a.F(c)
return}z=this.cx
if(z==null){z=P.b9(null,null)
this.cx=z}z.D(new H.eK(a,c))},
cl:function(a,b){var z
if(!this.r.p(0,a))return
z=J.n(b)
if(!z.p(b,0))z=z.p(b,1)&&!this.cy
else z=!0
if(z){this.at()
return}z=this.cx
if(z==null){z=P.b9(null,null)
this.cx=z}z.D(this.gcw())},
cn:function(a,b){var z,y,x
z=this.dx
if(z.a===0){if(this.db===!0&&this===init.globalState.e)return
if(self.console&&self.console.error)self.console.error(a,b)
else{P.bA(a)
if(b!=null)P.bA(b)}return}y=new Array(2)
y.fixed$length=Array
y[0]=J.S(a)
y[1]=b==null?null:J.S(b)
for(x=new P.bp(z,z.r,null,null),x.c=z.e;x.k();)x.d.F(y)},
P:function(a){var z,y,x,w,v,u,t
z=init.globalState.d
init.globalState.d=this
$=this.d
y=null
x=this.cy
this.cy=!0
try{y=a.$0()}catch(u){w=H.B(u)
v=H.A(u)
this.cn(w,v)
if(this.db===!0){this.at()
if(this===init.globalState.e)throw u}}finally{this.cy=x
init.globalState.d=z
if(z!=null)$=z.gcv()
if(this.cx!=null)for(;t=this.cx,!t.gE(t);)this.cx.bf().$0()}return y},
bc:function(a){return this.b.h(0,a)},
aB:function(a,b){var z=this.b
if(z.b6(a))throw H.e(P.aG("Registry: ports must be registered only once."))
z.n(0,a,b)},
ar:function(){var z=this.b
if(z.gj(z)-this.c.a>0||this.y||!this.x)init.globalState.z.n(0,this.a,this)
else this.at()},
at:[function(){var z,y,x,w,v
z=this.cx
if(z!=null)z.B(0)
for(z=this.b,y=z.gbm(z),y=y.gu(y);y.k();)y.gm().bO()
z.B(0)
this.c.B(0)
init.globalState.z.U(0,this.a)
this.dx.B(0)
if(this.ch!=null){for(x=0;z=this.ch,y=z.length,x<y;x+=2){w=z[x]
v=x+1
if(v>=y)return H.h(z,v)
w.F(z[v])}this.ch=null}},"$0","gcw",0,0,1]},
eK:{"^":"i:1;a,b",
$0:function(){this.a.F(this.b)}},
es:{"^":"b;a,b",
cc:function(){var z=this.a
if(z.b===z.c)return
return z.bf()},
bj:function(){var z,y,x
z=this.cc()
if(z==null){if(init.globalState.e!=null)if(init.globalState.z.b6(init.globalState.e.a))if(init.globalState.r===!0){y=init.globalState.e.b
y=y.gE(y)}else y=!1
else y=!1
else y=!1
if(y)H.p(P.aG("Program exited with open ReceivePorts."))
y=init.globalState
if(y.x===!0){x=y.z
x=x.gE(x)&&y.f.b===0}else x=!1
if(x){y=y.Q
x=P.a8(["command","close"])
x=new H.X(!0,new P.cv(0,null,null,null,null,null,0,[null,P.j])).A(x)
y.toString
self.postMessage(x)}return!1}z.cC()
return!0},
aU:function(){if(self.window!=null)new H.et(this).$0()
else for(;this.bj(););},
V:function(){var z,y,x,w,v
if(init.globalState.x!==!0)this.aU()
else try{this.aU()}catch(x){z=H.B(x)
y=H.A(x)
w=init.globalState.Q
v=P.a8(["command","error","msg",H.f(z)+"\n"+H.f(y)])
v=new H.X(!0,P.ae(null,P.j)).A(v)
w.toString
self.postMessage(v)}}},
et:{"^":"i:1;a",
$0:function(){if(!this.a.bj())return
P.e9(C.e,this)}},
ax:{"^":"b;a,b,c",
cC:function(){var z=this.a
if(z.y){z.z.push(this)
return}z.P(this.b)}},
eP:{"^":"b;"},
dv:{"^":"i:0;a,b,c,d,e,f",
$0:function(){H.dw(this.a,this.b,this.c,this.d,this.e,this.f)}},
dx:{"^":"i:1;a,b,c,d,e",
$0:function(){var z,y
z=this.e
z.x=!0
if(this.d!==!0)this.a.$1(this.c)
else{y=this.a
if(H.a1(y,{func:1,args:[,,]}))y.$2(this.b,this.c)
else if(H.a1(y,{func:1,args:[,]}))y.$1(this.b)
else y.$0()}z.ar()}},
cp:{"^":"b;"},
aW:{"^":"cp;b,a",
F:function(a){var z,y,x
z=init.globalState.z.h(0,this.a)
if(z==null)return
y=this.b
if(y.gaL())return
x=H.f2(a)
if(z.gcb()===y){y=J.E(x)
switch(y.h(x,0)){case"pause":z.b1(y.h(x,1),y.h(x,2))
break
case"resume":z.cE(y.h(x,1))
break
case"add-ondone":z.c7(y.h(x,1),y.h(x,2))
break
case"remove-ondone":z.cD(y.h(x,1))
break
case"set-errors-fatal":z.bx(y.h(x,1),y.h(x,2))
break
case"ping":z.cm(y.h(x,1),y.h(x,2),y.h(x,3))
break
case"kill":z.cl(y.h(x,1),y.h(x,2))
break
case"getErrors":y=y.h(x,1)
z.dx.w(0,y)
break
case"stopErrors":y=y.h(x,1)
z.dx.U(0,y)
break}return}init.globalState.f.a.D(new H.ax(z,new H.eT(this,x),"receive"))},
p:function(a,b){if(b==null)return!1
return b instanceof H.aW&&J.L(this.b,b.b)},
gt:function(a){return this.b.gak()}},
eT:{"^":"i:0;a,b",
$0:function(){var z=this.a.b
if(!z.gaL())z.bK(this.b)}},
br:{"^":"cp;b,c,a",
F:function(a){var z,y,x
z=P.a8(["command","message","port",this,"msg",a])
y=new H.X(!0,P.ae(null,P.j)).A(z)
if(init.globalState.x===!0){init.globalState.Q.toString
self.postMessage(y)}else{x=init.globalState.ch.h(0,this.b)
if(x!=null)x.postMessage(y)}},
p:function(a,b){if(b==null)return!1
return b instanceof H.br&&J.L(this.b,b.b)&&J.L(this.a,b.a)&&J.L(this.c,b.c)},
gt:function(a){var z,y,x
z=this.b
if(typeof z!=="number")return z.by()
y=this.a
if(typeof y!=="number")return y.by()
x=this.c
if(typeof x!=="number")return H.ak(x)
return(z<<16^y<<8^x)>>>0}},
aQ:{"^":"b;ak:a<,b,aL:c<",
bO:function(){this.c=!0
this.b=null},
bK:function(a){if(this.c)return
this.b.$1(a)},
$isdT:1},
e5:{"^":"b;a,b,c",
bF:function(a,b){var z,y
if(a===0)z=self.setTimeout==null||init.globalState.x===!0
else z=!1
if(z){this.c=1
z=init.globalState.f
y=init.globalState.d
z.a.D(new H.ax(y,new H.e7(this,b),"timer"))
this.b=!0}else if(self.setTimeout!=null){++init.globalState.f.b
this.c=self.setTimeout(H.aj(new H.e8(this,b),0),a)}else throw H.e(new P.y("Timer greater than 0."))},
l:{
e6:function(a,b){var z=new H.e5(!0,!1,null)
z.bF(a,b)
return z}}},
e7:{"^":"i:1;a,b",
$0:function(){this.a.c=null
this.b.$0()}},
e8:{"^":"i:1;a,b",
$0:function(){this.a.c=null;--init.globalState.f.b
this.b.$0()}},
T:{"^":"b;ak:a<",
gt:function(a){var z=this.a
if(typeof z!=="number")return z.cL()
z=C.f.aY(z,0)^C.f.N(z,4294967296)
z=(~z>>>0)+(z<<15>>>0)&4294967295
z=((z^z>>>12)>>>0)*5&4294967295
z=((z^z>>>4)>>>0)*2057&4294967295
return(z^z>>>16)>>>0},
p:function(a,b){var z,y
if(b==null)return!1
if(b===this)return!0
if(b instanceof H.T){z=this.a
y=b.a
return z==null?y==null:z===y}return!1}},
X:{"^":"b;a,b",
A:[function(a){var z,y,x,w,v
if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a
z=this.b
y=z.h(0,a)
if(y!=null)return["ref",y]
z.n(0,a,z.gj(z))
z=J.n(a)
if(!!z.$isbY)return["buffer",a]
if(!!z.$isbd)return["typed",a]
if(!!z.$isr)return this.bt(a)
if(!!z.$isds){x=this.gbq()
w=a.gba()
w=H.aM(w,x,H.q(w,"C",0),null)
w=P.aK(w,!0,H.q(w,"C",0))
z=z.gbm(a)
z=H.aM(z,x,H.q(z,"C",0),null)
return["map",w,P.aK(z,!0,H.q(z,"C",0))]}if(!!z.$isdF)return this.bu(a)
if(!!z.$isc)this.bl(a)
if(!!z.$isdT)this.Y(a,"RawReceivePorts can't be transmitted:")
if(!!z.$isaW)return this.bv(a)
if(!!z.$isbr)return this.bw(a)
if(!!z.$isi){v=a.$static_name
if(v==null)this.Y(a,"Closures can't be transmitted:")
return["function",v]}if(!!z.$isT)return["capability",a.a]
if(!(a instanceof P.b))this.bl(a)
return["dart",init.classIdExtractor(a),this.bs(init.classFieldsExtractor(a))]},"$1","gbq",2,0,2],
Y:function(a,b){throw H.e(new P.y((b==null?"Can't transmit:":b)+" "+H.f(a)))},
bl:function(a){return this.Y(a,null)},
bt:function(a){var z=this.br(a)
if(!!a.fixed$length)return["fixed",z]
if(!a.fixed$length)return["extendable",z]
if(!a.immutable$list)return["mutable",z]
if(a.constructor===Array)return["const",z]
this.Y(a,"Can't serialize indexable: ")},
br:function(a){var z,y,x
z=[]
C.b.sj(z,a.length)
for(y=0;y<a.length;++y){x=this.A(a[y])
if(y>=z.length)return H.h(z,y)
z[y]=x}return z},
bs:function(a){var z
for(z=0;z<a.length;++z)C.b.n(a,z,this.A(a[z]))
return a},
bu:function(a){var z,y,x,w
if(!!a.constructor&&a.constructor!==Object)this.Y(a,"Only plain JS Objects are supported:")
z=Object.keys(a)
y=[]
C.b.sj(y,z.length)
for(x=0;x<z.length;++x){w=this.A(a[z[x]])
if(x>=y.length)return H.h(y,x)
y[x]=w}return["js-object",z,y]},
bw:function(a){if(this.a)return["sendport",a.b,a.a,a.c]
return["raw sendport",a]},
bv:function(a){if(this.a)return["sendport",init.globalState.b,a.a,a.b.gak()]
return["raw sendport",a]}},
aU:{"^":"b;a,b",
G:[function(a){var z,y,x,w,v,u
if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a
if(typeof a!=="object"||a===null||a.constructor!==Array)throw H.e(P.bF("Bad serialized message: "+H.f(a)))
switch(C.b.gci(a)){case"ref":if(1>=a.length)return H.h(a,1)
z=a[1]
y=this.b
if(z>>>0!==z||z>=y.length)return H.h(y,z)
return y[z]
case"buffer":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
return x
case"typed":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
return x
case"fixed":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
y=H.I(this.O(x),[null])
y.fixed$length=Array
return y
case"extendable":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
return H.I(this.O(x),[null])
case"mutable":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
return this.O(x)
case"const":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
y=H.I(this.O(x),[null])
y.fixed$length=Array
return y
case"map":return this.cf(a)
case"sendport":return this.cg(a)
case"raw sendport":if(1>=a.length)return H.h(a,1)
x=a[1]
this.b.push(x)
return x
case"js-object":return this.ce(a)
case"function":if(1>=a.length)return H.h(a,1)
x=init.globalFunctions[a[1]]()
this.b.push(x)
return x
case"capability":if(1>=a.length)return H.h(a,1)
return new H.T(a[1])
case"dart":y=a.length
if(1>=y)return H.h(a,1)
w=a[1]
if(2>=y)return H.h(a,2)
v=a[2]
u=init.instanceFromClassId(w)
this.b.push(u)
this.O(v)
return init.initializeEmptyInstance(w,u,v)
default:throw H.e("couldn't deserialize: "+H.f(a))}},"$1","gcd",2,0,2],
O:function(a){var z,y,x
z=J.E(a)
y=0
while(!0){x=z.gj(a)
if(typeof x!=="number")return H.ak(x)
if(!(y<x))break
z.n(a,y,this.G(z.h(a,y)));++y}return a},
cf:function(a){var z,y,x,w,v,u
z=a.length
if(1>=z)return H.h(a,1)
y=a[1]
if(2>=z)return H.h(a,2)
x=a[2]
w=P.dL()
this.b.push(w)
y=J.cZ(y,this.gcd()).W(0)
for(z=J.E(y),v=J.E(x),u=0;u<z.gj(y);++u){if(u>=y.length)return H.h(y,u)
w.n(0,y[u],this.G(v.h(x,u)))}return w},
cg:function(a){var z,y,x,w,v,u,t
z=a.length
if(1>=z)return H.h(a,1)
y=a[1]
if(2>=z)return H.h(a,2)
x=a[2]
if(3>=z)return H.h(a,3)
w=a[3]
if(J.L(y,init.globalState.b)){v=init.globalState.z.h(0,x)
if(v==null)return
u=v.bc(w)
if(u==null)return
t=new H.aW(u,x)}else t=new H.br(y,w,x)
this.b.push(t)
return t},
ce:function(a){var z,y,x,w,v,u,t
z=a.length
if(1>=z)return H.h(a,1)
y=a[1]
if(2>=z)return H.h(a,2)
x=a[2]
w={}
this.b.push(w)
z=J.E(y)
v=J.E(x)
u=0
while(!0){t=z.gj(y)
if(typeof t!=="number")return H.ak(t)
if(!(u<t))break
w[z.h(y,u)]=this.G(v.h(x,u));++u}return w}}}],["","",,H,{"^":"",
fr:function(a){return init.types[a]},
fF:function(a,b){var z
if(b!=null){z=b.x
if(z!=null)return z}return!!J.n(a).$isv},
f:function(a){var z
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"
z=J.S(a)
if(typeof z!=="string")throw H.e(H.a_(a))
return z},
P:function(a){var z=a.$identityHash
if(z==null){z=Math.random()*0x3fffffff|0
a.$identityHash=z}return z},
bf:function(a){var z,y,x,w,v,u,t,s
z=J.n(a)
y=z.constructor
if(typeof y=="function"){x=y.name
w=typeof x==="string"?x:null}else w=null
if(w==null||z===C.n||!!J.n(a).$isaS){v=C.j(a)
if(v==="Object"){u=a.constructor
if(typeof u=="function"){t=String(u).match(/^\s*function\s*([\w$]*)\s*\(/)
s=t==null?null:t[1]
if(typeof s==="string"&&/^\w+$/.test(s))w=s}if(w==null)w=v}else w=v}w=w
if(w.length>1&&C.h.bP(w,0)===36)w=C.h.bz(w,1)
return function(b,c){return b.replace(/[^<,> ]+/g,function(d){return c[d]||d})}(w+H.cM(H.b_(a),0,null),init.mangledGlobalNames)},
aO:function(a){return"Instance of '"+H.bf(a)+"'"},
be:function(a,b){if(a==null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")throw H.e(H.a_(a))
return a[b]},
c6:function(a,b,c){if(a==null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")throw H.e(H.a_(a))
a[b]=c},
ak:function(a){throw H.e(H.a_(a))},
h:function(a,b){if(a==null)J.a3(a)
throw H.e(H.o(a,b))},
o:function(a,b){var z,y
if(typeof b!=="number"||Math.floor(b)!==b)return new P.N(!0,b,"index",null)
z=J.a3(a)
if(!(b<0)){if(typeof z!=="number")return H.ak(z)
y=b>=z}else y=!0
if(y)return P.K(b,a,"index",null,z)
return P.aP(b,"index",null)},
a_:function(a){return new P.N(!0,a,null,null)},
e:function(a){var z
if(a==null)a=new P.c3()
z=new Error()
z.dartException=a
if("defineProperty" in Object){Object.defineProperty(z,"message",{get:H.cR})
z.name=""}else z.toString=H.cR
return z},
cR:function(){return J.S(this.dartException)},
p:function(a){throw H.e(a)},
fN:function(a){throw H.e(new P.a5(a))},
B:function(a){var z,y,x,w,v,u,t,s,r,q,p,o,n,m,l
z=new H.fP(a)
if(a==null)return
if(typeof a!=="object")return a
if("dartException" in a)return z.$1(a.dartException)
else if(!("message" in a))return a
y=a.message
if("number" in a&&typeof a.number=="number"){x=a.number
w=x&65535
if((C.c.aY(x,16)&8191)===10)switch(w){case 438:return z.$1(H.b8(H.f(y)+" (Error "+w+")",null))
case 445:case 5007:v=H.f(y)+" (Error "+w+")"
return z.$1(new H.c2(v,null))}}if(a instanceof TypeError){u=$.$get$cc()
t=$.$get$cd()
s=$.$get$ce()
r=$.$get$cf()
q=$.$get$cj()
p=$.$get$ck()
o=$.$get$ch()
$.$get$cg()
n=$.$get$cm()
m=$.$get$cl()
l=u.C(y)
if(l!=null)return z.$1(H.b8(y,l))
else{l=t.C(y)
if(l!=null){l.method="call"
return z.$1(H.b8(y,l))}else{l=s.C(y)
if(l==null){l=r.C(y)
if(l==null){l=q.C(y)
if(l==null){l=p.C(y)
if(l==null){l=o.C(y)
if(l==null){l=r.C(y)
if(l==null){l=n.C(y)
if(l==null){l=m.C(y)
v=l!=null}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0
if(v)return z.$1(new H.c2(y,l==null?null:l.method))}}return z.$1(new H.eb(typeof y==="string"?y:""))}if(a instanceof RangeError){if(typeof y==="string"&&y.indexOf("call stack")!==-1)return new P.c9()
y=function(b){try{return String(b)}catch(k){}return null}(a)
return z.$1(new P.N(!1,null,null,typeof y==="string"?y.replace(/^RangeError:\s*/,""):y))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof y==="string"&&y==="too much recursion")return new P.c9()
return a},
A:function(a){var z
if(a==null)return new H.cw(a,null)
z=a.$cachedTrace
if(z!=null)return z
return a.$cachedTrace=new H.cw(a,null)},
fI:function(a){if(a==null||typeof a!='object')return J.M(a)
else return H.P(a)},
fo:function(a,b){var z,y,x,w
z=a.length
for(y=0;y<z;y=w){x=y+1
w=x+1
b.n(0,a[y],a[x])}return b},
fz:function(a,b,c,d,e,f,g){switch(c){case 0:return H.ay(b,new H.fA(a))
case 1:return H.ay(b,new H.fB(a,d))
case 2:return H.ay(b,new H.fC(a,d,e))
case 3:return H.ay(b,new H.fD(a,d,e,f))
case 4:return H.ay(b,new H.fE(a,d,e,f,g))}throw H.e(P.aG("Unsupported number of arguments for wrapped closure"))},
aj:function(a,b){var z
if(a==null)return
z=a.$identity
if(!!z)return z
z=function(c,d,e,f){return function(g,h,i,j){return f(c,e,d,g,h,i,j)}}(a,b,init.globalState.d,H.fz)
a.$identity=z
return z},
d7:function(a,b,c,d,e,f){var z,y,x,w,v,u,t,s,r,q,p,o,n,m
z=b[0]
y=z.$callName
if(!!J.n(c).$isd){z.$reflectionInfo=c
x=H.dV(z).r}else x=c
w=d?Object.create(new H.dZ().constructor.prototype):Object.create(new H.b4(null,null,null,null).constructor.prototype)
w.$initialize=w.constructor
if(d)v=function(){this.$initialize()}
else{u=$.G
$.G=J.al(u,1)
v=new Function("a,b,c,d"+u,"this.$initialize(a,b,c,d"+u+")")}w.constructor=v
v.prototype=w
if(!d){t=e.length==1&&!0
s=H.bK(a,z,t)
s.$reflectionInfo=c}else{w.$static_name=f
s=z
t=!1}if(typeof x=="number")r=function(g,h){return function(){return g(h)}}(H.fr,x)
else if(typeof x=="function")if(d)r=x
else{q=t?H.bJ:H.b5
r=function(g,h){return function(){return g.apply({$receiver:h(this)},arguments)}}(x,q)}else throw H.e("Error in reflectionInfo.")
w.$S=r
w[y]=s
for(u=b.length,p=1;p<u;++p){o=b[p]
n=o.$callName
if(n!=null){m=d?o:H.bK(a,o,t)
w[n]=m}}w["call*"]=s
w.$R=z.$R
w.$D=z.$D
return v},
d4:function(a,b,c,d){var z=H.b5
switch(b?-1:a){case 0:return function(e,f){return function(){return f(this)[e]()}}(c,z)
case 1:return function(e,f){return function(g){return f(this)[e](g)}}(c,z)
case 2:return function(e,f){return function(g,h){return f(this)[e](g,h)}}(c,z)
case 3:return function(e,f){return function(g,h,i){return f(this)[e](g,h,i)}}(c,z)
case 4:return function(e,f){return function(g,h,i,j){return f(this)[e](g,h,i,j)}}(c,z)
case 5:return function(e,f){return function(g,h,i,j,k){return f(this)[e](g,h,i,j,k)}}(c,z)
default:return function(e,f){return function(){return e.apply(f(this),arguments)}}(d,z)}},
bK:function(a,b,c){var z,y,x,w,v,u,t
if(c)return H.d6(a,b)
z=b.$stubName
y=b.length
x=a[z]
w=b==null?x==null:b===x
v=!w||y>=27
if(v)return H.d4(y,!w,z,b)
if(y===0){w=$.G
$.G=J.al(w,1)
u="self"+H.f(w)
w="return function(){var "+u+" = this."
v=$.a4
if(v==null){v=H.aE("self")
$.a4=v}return new Function(w+H.f(v)+";return "+u+"."+H.f(z)+"();}")()}t="abcdefghijklmnopqrstuvwxyz".split("").splice(0,y).join(",")
w=$.G
$.G=J.al(w,1)
t+=H.f(w)
w="return function("+t+"){return this."
v=$.a4
if(v==null){v=H.aE("self")
$.a4=v}return new Function(w+H.f(v)+"."+H.f(z)+"("+t+");}")()},
d5:function(a,b,c,d){var z,y
z=H.b5
y=H.bJ
switch(b?-1:a){case 0:throw H.e(new H.dW("Intercepted function with no arguments."))
case 1:return function(e,f,g){return function(){return f(this)[e](g(this))}}(c,z,y)
case 2:return function(e,f,g){return function(h){return f(this)[e](g(this),h)}}(c,z,y)
case 3:return function(e,f,g){return function(h,i){return f(this)[e](g(this),h,i)}}(c,z,y)
case 4:return function(e,f,g){return function(h,i,j){return f(this)[e](g(this),h,i,j)}}(c,z,y)
case 5:return function(e,f,g){return function(h,i,j,k){return f(this)[e](g(this),h,i,j,k)}}(c,z,y)
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,z,y)
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,z,y)}},
d6:function(a,b){var z,y,x,w,v,u,t,s
z=H.d0()
y=$.bI
if(y==null){y=H.aE("receiver")
$.bI=y}x=b.$stubName
w=b.length
v=a[x]
u=b==null?v==null:b===v
t=!u||w>=28
if(t)return H.d5(w,!u,x,b)
if(w===1){y="return function(){return this."+H.f(z)+"."+H.f(x)+"(this."+H.f(y)+");"
u=$.G
$.G=J.al(u,1)
return new Function(y+H.f(u)+"}")()}s="abcdefghijklmnopqrstuvwxyz".split("").splice(0,w-1).join(",")
y="return function("+s+"){return this."+H.f(z)+"."+H.f(x)+"(this."+H.f(y)+", "+s+");"
u=$.G
$.G=J.al(u,1)
return new Function(y+H.f(u)+"}")()},
bv:function(a,b,c,d,e,f){var z
b.fixed$length=Array
if(!!J.n(c).$isd){c.fixed$length=Array
z=c}else z=c
return H.d7(a,b,z,!!d,e,f)},
fK:function(a,b){var z=J.E(b)
throw H.e(H.d2(H.bf(a),z.az(b,3,z.gj(b))))},
fy:function(a,b){var z
if(a!=null)z=(typeof a==="object"||typeof a==="function")&&J.n(a)[b]
else z=!0
if(z)return a
H.fK(a,b)},
fm:function(a){var z=J.n(a)
return"$S" in z?z.$S():null},
a1:function(a,b){var z
if(a==null)return!1
z=H.fm(a)
return z==null?!1:H.cL(z,b)},
fO:function(a){throw H.e(new P.d8(a))},
b2:function(){return(Math.random()*0x100000000>>>0)+(Math.random()*0x100000000>>>0)*4294967296},
cJ:function(a){return init.getIsolateTag(a)},
I:function(a,b){a.$ti=b
return a},
b_:function(a){if(a==null)return
return a.$ti},
cK:function(a,b){return H.bC(a["$as"+H.f(b)],H.b_(a))},
q:function(a,b,c){var z=H.cK(a,b)
return z==null?null:z[c]},
R:function(a,b){var z=H.b_(a)
return z==null?null:z[b]},
a2:function(a,b){var z
if(a==null)return"dynamic"
if(typeof a==="object"&&a!==null&&a.constructor===Array)return a[0].builtin$cls+H.cM(a,1,b)
if(typeof a=="function")return a.builtin$cls
if(typeof a==="number"&&Math.floor(a)===a)return H.f(a)
if(typeof a.func!="undefined"){z=a.typedef
if(z!=null)return H.a2(z,b)
return H.f5(a,b)}return"unknown-reified-type"},
f5:function(a,b){var z,y,x,w,v,u,t,s,r,q,p
z=!!a.v?"void":H.a2(a.ret,b)
if("args" in a){y=a.args
for(x=y.length,w="",v="",u=0;u<x;++u,v=", "){t=y[u]
w=w+v+H.a2(t,b)}}else{w=""
v=""}if("opt" in a){s=a.opt
w+=v+"["
for(x=s.length,v="",u=0;u<x;++u,v=", "){t=s[u]
w=w+v+H.a2(t,b)}w+="]"}if("named" in a){r=a.named
w+=v+"{"
for(x=H.fn(r),q=x.length,v="",u=0;u<q;++u,v=", "){p=x[u]
w=w+v+H.a2(r[p],b)+(" "+H.f(p))}w+="}"}return"("+w+") => "+z},
cM:function(a,b,c){var z,y,x,w,v,u
if(a==null)return""
z=new P.bi("")
for(y=b,x=!0,w=!0,v="";y<a.length;++y){if(x)x=!1
else z.q=v+", "
u=a[y]
if(u!=null)w=!1
v=z.q+=H.a2(u,c)}return w?"":"<"+z.i(0)+">"},
bC: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},
cH:function(a,b,c,d){var z,y
if(a==null)return!1
z=H.b_(a)
y=J.n(a)
if(y[b]==null)return!1
return H.cF(H.bC(y[d],z),c)},
cF:function(a,b){var z,y
if(a==null||b==null)return!0
z=a.length
for(y=0;y<z;++y)if(!H.z(a[y],b[y]))return!1
return!0},
cI:function(a,b,c){return a.apply(b,H.cK(b,c))},
z:function(a,b){var z,y,x,w,v,u
if(a===b)return!0
if(a==null||b==null)return!0
if(a.builtin$cls==="aN")return!0
if('func' in b)return H.cL(a,b)
if('func' in a)return b.builtin$cls==="hh"||b.builtin$cls==="b"
z=typeof a==="object"&&a!==null&&a.constructor===Array
y=z?a[0]:a
x=typeof b==="object"&&b!==null&&b.constructor===Array
w=x?b[0]:b
if(w!==y){v=H.a2(w,null)
if(!('$is'+v in y.prototype))return!1
u=y.prototype["$as"+v]}else u=null
if(!z&&u==null||!x)return!0
z=z?a.slice(1):null
x=b.slice(1)
return H.cF(H.bC(u,z),x)},
cE:function(a,b,c){var z,y,x,w,v
z=b==null
if(z&&a==null)return!0
if(z)return c
if(a==null)return!1
y=a.length
x=b.length
if(c){if(y<x)return!1}else if(y!==x)return!1
for(w=0;w<x;++w){z=a[w]
v=b[w]
if(!(H.z(z,v)||H.z(v,z)))return!1}return!0},
fe:function(a,b){var z,y,x,w,v,u
if(b==null)return!0
if(a==null)return!1
z=Object.getOwnPropertyNames(b)
z.fixed$length=Array
y=z
for(z=y.length,x=0;x<z;++x){w=y[x]
if(!Object.hasOwnProperty.call(a,w))return!1
v=b[w]
u=a[w]
if(!(H.z(v,u)||H.z(u,v)))return!1}return!0},
cL:function(a,b){var z,y,x,w,v,u,t,s,r,q,p,o,n,m,l
if(!('func' in a))return!1
if("v" in a){if(!("v" in b)&&"ret" in b)return!1}else if(!("v" in b)){z=a.ret
y=b.ret
if(!(H.z(z,y)||H.z(y,z)))return!1}x=a.args
w=b.args
v=a.opt
u=b.opt
t=x!=null?x.length:0
s=w!=null?w.length:0
r=v!=null?v.length:0
q=u!=null?u.length:0
if(t>s)return!1
if(t+r<s+q)return!1
if(t===s){if(!H.cE(x,w,!1))return!1
if(!H.cE(v,u,!0))return!1}else{for(p=0;p<t;++p){o=x[p]
n=w[p]
if(!(H.z(o,n)||H.z(n,o)))return!1}for(m=p,l=0;m<s;++l,++m){o=v[l]
n=w[m]
if(!(H.z(o,n)||H.z(n,o)))return!1}for(m=0;m<q;++l,++m){o=v[l]
n=u[m]
if(!(H.z(o,n)||H.z(n,o)))return!1}}return H.fe(a.named,b.named)},
i7:function(a){var z=$.bx
return"Instance of "+(z==null?"<Unknown>":z.$1(a))},
i4:function(a){return H.P(a)},
i2:function(a,b,c){Object.defineProperty(a,b,{value:c,enumerable:false,writable:true,configurable:true})},
fG:function(a){var z,y,x,w,v,u
z=$.bx.$1(a)
y=$.aY[z]
if(y!=null){Object.defineProperty(a,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true})
return y.i}x=$.b0[z]
if(x!=null)return x
w=init.interceptorsByTag[z]
if(w==null){z=$.cC.$2(a,z)
if(z!=null){y=$.aY[z]
if(y!=null){Object.defineProperty(a,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true})
return y.i}x=$.b0[z]
if(x!=null)return x
w=init.interceptorsByTag[z]}}if(w==null)return
x=w.prototype
v=z[0]
if(v==="!"){y=H.bz(x)
$.aY[z]=y
Object.defineProperty(a,init.dispatchPropertyName,{value:y,enumerable:false,writable:true,configurable:true})
return y.i}if(v==="~"){$.b0[z]=x
return x}if(v==="-"){u=H.bz(x)
Object.defineProperty(Object.getPrototypeOf(a),init.dispatchPropertyName,{value:u,enumerable:false,writable:true,configurable:true})
return u.i}if(v==="+")return H.cN(a,x)
if(v==="*")throw H.e(new P.cn(z))
if(init.leafTags[z]===true){u=H.bz(x)
Object.defineProperty(Object.getPrototypeOf(a),init.dispatchPropertyName,{value:u,enumerable:false,writable:true,configurable:true})
return u.i}else return H.cN(a,x)},
cN:function(a,b){var z=Object.getPrototypeOf(a)
Object.defineProperty(z,init.dispatchPropertyName,{value:J.b1(b,z,null,null),enumerable:false,writable:true,configurable:true})
return b},
bz:function(a){return J.b1(a,!1,null,!!a.$isv)},
fH:function(a,b,c){var z=b.prototype
if(init.leafTags[a]===true)return J.b1(z,!1,null,!!z.$isv)
else return J.b1(z,c,null,null)},
fw:function(){if(!0===$.by)return
$.by=!0
H.fx()},
fx:function(){var z,y,x,w,v,u,t,s
$.aY=Object.create(null)
$.b0=Object.create(null)
H.fs()
z=init.interceptorsByTag
y=Object.getOwnPropertyNames(z)
if(typeof window!="undefined"){window
x=function(){}
for(w=0;w<y.length;++w){v=y[w]
u=$.cO.$1(v)
if(u!=null){t=H.fH(v,z[v],u)
if(t!=null){Object.defineProperty(u,init.dispatchPropertyName,{value:t,enumerable:false,writable:true,configurable:true})
x.prototype=u}}}}for(w=0;w<y.length;++w){v=y[w]
if(/^[A-Za-z_]/.test(v)){s=z[v]
z["!"+v]=s
z["~"+v]=s
z["-"+v]=s
z["+"+v]=s
z["*"+v]=s}}},
fs:function(){var z,y,x,w,v,u,t
z=C.o()
z=H.Z(C.p,H.Z(C.q,H.Z(C.i,H.Z(C.i,H.Z(C.t,H.Z(C.r,H.Z(C.u(C.j),z)))))))
if(typeof dartNativeDispatchHooksTransformer!="undefined"){y=dartNativeDispatchHooksTransformer
if(typeof y=="function")y=[y]
if(y.constructor==Array)for(x=0;x<y.length;++x){w=y[x]
if(typeof w=="function")z=w(z)||z}}v=z.getTag
u=z.getUnknownTag
t=z.prototypeForTag
$.bx=new H.ft(v)
$.cC=new H.fu(u)
$.cO=new H.fv(t)},
Z:function(a,b){return a(b)||b},
dU:{"^":"b;a,b,c,d,e,f,r,x",l:{
dV:function(a){var z,y,x
z=a.$reflectionInfo
if(z==null)return
z.fixed$length=Array
z=z
y=z[0]
x=z[1]
return new H.dU(a,z,(y&1)===1,y>>1,x>>1,(x&1)===1,z[2],null)}}},
ea:{"^":"b;a,b,c,d,e,f",
C:function(a){var z,y,x
z=new RegExp(this.a).exec(a)
if(z==null)return
y=Object.create(null)
x=this.b
if(x!==-1)y.arguments=z[x+1]
x=this.c
if(x!==-1)y.argumentsExpr=z[x+1]
x=this.d
if(x!==-1)y.expr=z[x+1]
x=this.e
if(x!==-1)y.method=z[x+1]
x=this.f
if(x!==-1)y.receiver=z[x+1]
return y},
l:{
H:function(a){var z,y,x,w,v,u
a=a.replace(String({}),'$receiver$').replace(/[[\]{}()*+?.\\^$|]/g,"\\$&")
z=a.match(/\\\$[a-zA-Z]+\\\$/g)
if(z==null)z=[]
y=z.indexOf("\\$arguments\\$")
x=z.indexOf("\\$argumentsExpr\\$")
w=z.indexOf("\\$expr\\$")
v=z.indexOf("\\$method\\$")
u=z.indexOf("\\$receiver\\$")
return new H.ea(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])*)'),y,x,w,v,u)},
aR:function(a){return function($expr$){var $argumentsExpr$='$arguments$'
try{$expr$.$method$($argumentsExpr$)}catch(z){return z.message}}(a)},
ci:function(a){return function($expr$){try{$expr$.$method$}catch(z){return z.message}}(a)}}},
c2:{"^":"t;a,b",
i:function(a){var z=this.b
if(z==null)return"NullError: "+H.f(this.a)
return"NullError: method not found: '"+H.f(z)+"' on null"}},
dH:{"^":"t;a,b,c",
i:function(a){var z,y
z=this.b
if(z==null)return"NoSuchMethodError: "+H.f(this.a)
y=this.c
if(y==null)return"NoSuchMethodError: method not found: '"+z+"' ("+H.f(this.a)+")"
return"NoSuchMethodError: method not found: '"+z+"' on '"+y+"' ("+H.f(this.a)+")"},
l:{
b8:function(a,b){var z,y
z=b==null
y=z?null:b.method
return new H.dH(a,y,z?null:b.receiver)}}},
eb:{"^":"t;a",
i:function(a){var z=this.a
return z.length===0?"Error":"Error: "+z}},
fP:{"^":"i:2;a",
$1:function(a){if(!!J.n(a).$ist)if(a.$thrownJsError==null)a.$thrownJsError=this.a
return a}},
cw:{"^":"b;a,b",
i:function(a){var z,y
z=this.b
if(z!=null)return z
z=this.a
y=z!==null&&typeof z==="object"?z.stack:null
z=y==null?"":y
this.b=z
return z}},
fA:{"^":"i:0;a",
$0:function(){return this.a.$0()}},
fB:{"^":"i:0;a,b",
$0:function(){return this.a.$1(this.b)}},
fC:{"^":"i:0;a,b,c",
$0:function(){return this.a.$2(this.b,this.c)}},
fD:{"^":"i:0;a,b,c,d",
$0:function(){return this.a.$3(this.b,this.c,this.d)}},
fE:{"^":"i:0;a,b,c,d,e",
$0:function(){return this.a.$4(this.b,this.c,this.d,this.e)}},
i:{"^":"b;",
i:function(a){return"Closure '"+H.bf(this).trim()+"'"},
gbo:function(){return this},
gbo:function(){return this}},
cb:{"^":"i;"},
dZ:{"^":"cb;",
i:function(a){var z=this.$static_name
if(z==null)return"Closure of unknown static method"
return"Closure '"+z+"'"}},
b4:{"^":"cb;a,b,c,d",
p:function(a,b){if(b==null)return!1
if(this===b)return!0
if(!(b instanceof H.b4))return!1
return this.a===b.a&&this.b===b.b&&this.c===b.c},
gt:function(a){var z,y
z=this.c
if(z==null)y=H.P(this.a)
else y=typeof z!=="object"?J.M(z):H.P(z)
z=H.P(this.b)
if(typeof y!=="number")return y.cM()
return(y^z)>>>0},
i:function(a){var z=this.c
if(z==null)z=this.a
return"Closure '"+H.f(this.d)+"' of "+H.aO(z)},
l:{
b5:function(a){return a.a},
bJ:function(a){return a.c},
d0:function(){var z=$.a4
if(z==null){z=H.aE("self")
$.a4=z}return z},
aE:function(a){var z,y,x,w,v
z=new H.b4("self","target","receiver","name")
y=Object.getOwnPropertyNames(z)
y.fixed$length=Array
x=y
for(y=x.length,w=0;w<y;++w){v=x[w]
if(z[v]===a)return v}}}},
d1:{"^":"t;a",
i:function(a){return this.a},
l:{
d2:function(a,b){return new H.d1("CastError: Casting value of type '"+a+"' to incompatible type '"+b+"'")}}},
dW:{"^":"t;a",
i:function(a){return"RuntimeError: "+H.f(this.a)}},
U:{"^":"b;a,b,c,d,e,f,r,$ti",
gj:function(a){return this.a},
gE:function(a){return this.a===0},
gba:function(){return new H.dJ(this,[H.R(this,0)])},
gbm:function(a){return H.aM(this.gba(),new H.dG(this),H.R(this,0),H.R(this,1))},
b6:function(a){var z
if((a&0x3ffffff)===a){z=this.c
if(z==null)return!1
return this.bS(z,a)}else return this.cs(a)},
cs:function(a){var z=this.d
if(z==null)return!1
return this.S(this.a1(z,this.R(a)),a)>=0},
h:function(a,b){var z,y,x
if(typeof b==="string"){z=this.b
if(z==null)return
y=this.M(z,b)
return y==null?null:y.gI()}else if(typeof b==="number"&&(b&0x3ffffff)===b){x=this.c
if(x==null)return
y=this.M(x,b)
return y==null?null:y.gI()}else return this.ct(b)},
ct:function(a){var z,y,x
z=this.d
if(z==null)return
y=this.a1(z,this.R(a))
x=this.S(y,a)
if(x<0)return
return y[x].gI()},
n:function(a,b,c){var z,y,x,w,v,u
if(typeof b==="string"){z=this.b
if(z==null){z=this.am()
this.b=z}this.aA(z,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.c
if(y==null){y=this.am()
this.c=y}this.aA(y,b,c)}else{x=this.d
if(x==null){x=this.am()
this.d=x}w=this.R(b)
v=this.a1(x,w)
if(v==null)this.aq(x,w,[this.an(b,c)])
else{u=this.S(v,b)
if(u>=0)v[u].sI(c)
else v.push(this.an(b,c))}}},
U:function(a,b){if(typeof b==="string")return this.aT(this.b,b)
else if(typeof b==="number"&&(b&0x3ffffff)===b)return this.aT(this.c,b)
else return this.cu(b)},
cu:function(a){var z,y,x,w
z=this.d
if(z==null)return
y=this.a1(z,this.R(a))
x=this.S(y,a)
if(x<0)return
w=y.splice(x,1)[0]
this.b_(w)
return w.gI()},
B:function(a){if(this.a>0){this.f=null
this.e=null
this.d=null
this.c=null
this.b=null
this.a=0
this.r=this.r+1&67108863}},
cj:function(a,b){var z,y
z=this.e
y=this.r
for(;z!=null;){b.$2(z.a,z.b)
if(y!==this.r)throw H.e(new P.a5(this))
z=z.c}},
aA:function(a,b,c){var z=this.M(a,b)
if(z==null)this.aq(a,b,this.an(b,c))
else z.sI(c)},
aT:function(a,b){var z
if(a==null)return
z=this.M(a,b)
if(z==null)return
this.b_(z)
this.aG(a,b)
return z.gI()},
an:function(a,b){var z,y
z=new H.dI(a,b,null,null)
if(this.e==null){this.f=z
this.e=z}else{y=this.f
z.d=y
y.c=z
this.f=z}++this.a
this.r=this.r+1&67108863
return z},
b_:function(a){var z,y
z=a.gc0()
y=a.c
if(z==null)this.e=y
else z.c=y
if(y==null)this.f=z
else y.d=z;--this.a
this.r=this.r+1&67108863},
R:function(a){return J.M(a)&0x3ffffff},
S:function(a,b){var z,y
if(a==null)return-1
z=a.length
for(y=0;y<z;++y)if(J.L(a[y].gb9(),b))return y
return-1},
i:function(a){return P.dO(this)},
M:function(a,b){return a[b]},
a1:function(a,b){return a[b]},
aq:function(a,b,c){a[b]=c},
aG:function(a,b){delete a[b]},
bS:function(a,b){return this.M(a,b)!=null},
am:function(){var z=Object.create(null)
this.aq(z,"<non-identifier-key>",z)
this.aG(z,"<non-identifier-key>")
return z},
$isds:1},
dG:{"^":"i:2;a",
$1:function(a){return this.a.h(0,a)}},
dI:{"^":"b;b9:a<,I:[email protected],c,c0:d<"},
dJ:{"^":"a;a,$ti",
gj:function(a){return this.a.a},
gu:function(a){var z,y
z=this.a
y=new H.dK(z,z.r,null,null)
y.c=z.e
return y}},
dK:{"^":"b;a,b,c,d",
gm:function(){return this.d},
k:function(){var z=this.a
if(this.b!==z.r)throw H.e(new P.a5(z))
else{z=this.c
if(z==null){this.d=null
return!1}else{this.d=z.a
this.c=z.c
return!0}}}},
ft:{"^":"i:2;a",
$1:function(a){return this.a(a)}},
fu:{"^":"i:7;a",
$2:function(a,b){return this.a(a,b)}},
fv:{"^":"i:8;a",
$1:function(a){return this.a(a)}}}],["","",,H,{"^":"",
fn:function(a){var z=H.I(a?Object.keys(a):[],[null])
z.fixed$length=Array
return z}}],["","",,H,{"^":"",
fJ:function(a){if(typeof dartPrint=="function"){dartPrint(a)
return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(a)
return}if(typeof window=="object")return
if(typeof print=="function"){print(a)
return}throw"Unable to print message: "+String(a)}}],["","",,H,{"^":"",bY:{"^":"c;",$isbY:1,"%":"ArrayBuffer"},bd:{"^":"c;",$isbd:1,"%":"DataView;ArrayBufferView;bb|bZ|c0|bc|c_|c1|O"},bb:{"^":"bd;",
gj:function(a){return a.length},
$isv:1,
$asv:I.u,
$isr:1,
$asr:I.u},bc:{"^":"c0;",
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
n:function(a,b,c){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
a[b]=c}},bZ:{"^":"bb+D;",$asv:I.u,$asr:I.u,
$asd:function(){return[P.Q]},
$asa:function(){return[P.Q]},
$isd:1,
$isa:1},c0:{"^":"bZ+bP;",$asv:I.u,$asr:I.u,
$asd:function(){return[P.Q]},
$asa:function(){return[P.Q]}},O:{"^":"c1;",
n:function(a,b,c){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
a[b]=c},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]}},c_:{"^":"bb+D;",$asv:I.u,$asr:I.u,
$asd:function(){return[P.j]},
$asa:function(){return[P.j]},
$isd:1,
$isa:1},c1:{"^":"c_+bP;",$asv:I.u,$asr:I.u,
$asd:function(){return[P.j]},
$asa:function(){return[P.j]}},hr:{"^":"bc;",$isd:1,
$asd:function(){return[P.Q]},
$isa:1,
$asa:function(){return[P.Q]},
"%":"Float32Array"},hs:{"^":"bc;",$isd:1,
$asd:function(){return[P.Q]},
$isa:1,
$asa:function(){return[P.Q]},
"%":"Float64Array"},ht:{"^":"O;",
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":"Int16Array"},hu:{"^":"O;",
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":"Int32Array"},hv:{"^":"O;",
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":"Int8Array"},hw:{"^":"O;",
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":"Uint16Array"},hx:{"^":"O;",
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":"Uint32Array"},hy:{"^":"O;",
gj:function(a){return a.length},
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":"CanvasPixelArray|Uint8ClampedArray"},hz:{"^":"O;",
gj:function(a){return a.length},
h:function(a,b){if(b>>>0!==b||b>=a.length)H.p(H.o(a,b))
return a[b]},
$isd:1,
$asd:function(){return[P.j]},
$isa:1,
$asa:function(){return[P.j]},
"%":";Uint8Array"}}],["","",,P,{"^":"",
ef:function(){var z,y,x
z={}
if(self.scheduleImmediate!=null)return P.ff()
if(self.MutationObserver!=null&&self.document!=null){y=self.document.createElement("div")
x=self.document.createElement("span")
z.a=null
new self.MutationObserver(H.aj(new P.eh(z),1)).observe(y,{childList:true})
return new P.eg(z,y,x)}else if(self.setImmediate!=null)return P.fg()
return P.fh()},
hO:[function(a){++init.globalState.f.b
self.scheduleImmediate(H.aj(new P.ei(a),0))},"$1","ff",2,0,3],
hP:[function(a){++init.globalState.f.b
self.setImmediate(H.aj(new P.ej(a),0))}
请发表评论