Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Kb

3 "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.nullFunc_iiiiiiii;var ea=env.nullFunc_iiii;var fa=env.nullFunc_viiiiii;var ga=env.nullFunc_vi;var ha=env.nullFunc_viiiii;var ia=env.nullFunc_dii;var ja=env.nullFunc_vid;var ka=env.nullFunc_di;var la=env.nullFunc_i;var ma=env.nullFunc_iiiiiiiiii;var na=env.nullFunc_vii;var oa=env.nullFunc_iiiiiii;var pa=env.nullFunc_ii;var qa=env.nullFunc_viii;var ra=env.nullFunc_v;var sa=env.nullFunc_iiiiiiiii;var ta=env.nullFunc_iiiii;var ua=env.nullFunc_viiii;var va=env.nullFunc_iii;var wa=env.nullFunc_iiid;var xa=env.nullFunc_iiiiii;var ya=env.invoke_iiiiiiii;var za=env.invoke_iiii;var Aa=env.invoke_viiiiii;var Ba=env.invoke_vi;var Ca=env.invoke_viiiii;var Da=env.invoke_dii;var Ea=env.invoke_vid;var Fa=env.invoke_di;var Ga=env.invoke_i;var Ha=env.invoke_iiiiiiiiii;var Ia=env.invoke_vii;var Ja=env.invoke_iiiiiii;var Ka=env.invoke_ii;var La=env.invoke_viii;var Ma=env.invoke_v;var Na=env.invoke_iiiiiiiii;var Oa=env.invoke_iiiii;var Pa=env.invoke_viiii;var Qa=env.invoke_iii;var Ra=env.invoke_iiid;var Sa=env.invoke_iiiiii;var Ta=env._dlerror;var Ua=env._utimes;var Va=env._getuid;var Wa=env._send;var Xa=env._dlsym;var Ya=env._mknod;var Za=env._chown;var _a=env._lseek;var $a=env._emscripten_set_main_loop_timing;var ab=env._access;var bb=env._fstat;var cb=env._chmod;var db=env._rmdir;var eb=env.___assert_fail;var fb=env._usleep;var gb=env.___buildEnvironment;var hb=env._fflush;var ib=env._pwrite;var jb=env._strerror_r;var kb=env._localtime_r;var lb=env._tzset;var mb=env._open;var nb=env._getpid;var ob=env._sbrk;var pb=env._fcntl;var qb=env._emscripten_memcpy_big;var rb=env._unlink;var sb=env._sysconf;var tb=env._fchmod;var ub=env.___setErrNo;var vb=env._ftruncate;var wb=env._mkdir;var xb=env._pread;var yb=env._mkport;var zb=env._dlopen;var Ab=env._dlclose;var Bb=env._write;var Cb=env._fsync;var Db=env.___errno_location;var Eb=env._stat;var Fb=env._recv;var Gb=env._geteuid;var Hb=env._getenv;var Ib=env._sleep;var Jb=env._emscripten_set_main_loop;var Kb=env._abort;var Lb=env._time;var Mb=env._fchown;var Nb=env._strerror;var Ob=env._gettimeofday;var Pb=env._munmap;var Qb=env._mmap;var Rb=env._localtime;var Sb=env._getcwd;var Tb=env._close;var Ub=env._read;var Vb=env._truncate;var Wb=0.0;
13 function ch(f){f=f|0;var g=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0,A=0.0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,gc=0,jc=0,kc=0,mc=0,oc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,ad=0,bd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0;ke=i;i=i+1040|0;if((i|0)>=(j|0))ba();ge=ke+400|0;Qc=ke+792|0;fd=ke+392|0;ad=ke+788|0;Pd=ke+320|0;jd=ke+784|0;md=ke+780|0;nd=ke+280|0;Kd=ke+680|0;Yc=ke+240|0;Nd=ke+200|0;Xc=ke+676|0;Uc=ke+672|0;Ld=ke+160|0;Rc=ke+644|0;qd=ke+152|0;Gd=ke+112|0;hd=ke+640|0;Id=ke+636|0;Vc=ke+632|0;rd=ke+628|0;xd=ke+624|0;td=ke+604|0;yd=ke+600|0;ld=ke+596|0;ud=ke+576|0;Pc=ke+840|0;zd=ke+572|0;Md=ke+104|0;Ad=ke+568|0;bd=ke+564|0;ed=ke+96|0;Od=ke+88|0;Bd=ke+560|0;Cd=ke+556|0;Dd=ke+552|0;vd=ke+532|0;wd=ke+512|0;gd=ke+508|0;sd=ke+504|0;Wc=ke+488|0;Jd=ke+48|0;Tc=ke+456|0;Oc=ke+444|0;Hd=ke+8|0;pd=ke+440|0;Fd=ke+412|0;Ed=ke;wc=f+4|0;o=c[wc>>2]|0;he=c[f>>2]|0;Gc=a[he+62>>0]|0;Kc=f+8|0;v=c[Kc>>2]|0;je=he+32|0;l=je;m=c[l>>2]|0;l=c[l+4>>2]|0;ie=f+80|0;a:do if((c[ie>>2]|0)==7){u=he+65|0;v=f+44|0;n=m;g=0;p=0;m=0;ee=1317}else{c[ie>>2]=0;$d=f+136|0;c[$d>>2]=0;c[$d+4>>2]=0;$d=f+20|0;c[$d>>2]=0;c[he+452>>2]=0;zc=he+240|0;b:do if(!(c[zc>>2]|0)){Zd=he+292|0;if(c[Zd>>2]|0){n=c[f+124>>2]|0;g=he+300|0;u=c[g>>2]|0;if(!n)vc=g;else{vc=g;u=(n>>>0)%(u>>>0)|0}}else{vc=he+300|0;u=0}de=f+76|0;ce=he+65|0;Vd=he+296|0;pb=f+176|0;qb=f+184|0;rb=f+92|0;sb=he+80|0;tb=he+84|0;ub=Gc&255;vb=Gc<<24>>24==1;wb=he+88|0;xb=f+60|0;Wd=f+144|0;be=f+86|0;fe=f+44|0;yb=f+12|0;zb=Rc+4|0;Ab=Rc+16|0;Bb=Rc+12|0;Cb=Rc+25|0;Db=Rc+20|0;Eb=f+200|0;Fb=f+56|0;Xd=f+72|0;Gb=Gd+16|0;Hb=Gd+8|0;Ib=Gd+24|0;Jb=f+87|0;Yd=he+156|0;Kb=he+500|0;Lb=he+496|0;ae=he+63|0;Mb=he+488|0;Nb=he+504|0;Ob=he+512|0;Pb=he+70|0;Qb=he+24|0;Rb=he+20|0;Td=he+16|0;Sb=he+4|0;Ud=f+88|0;Tb=f+104|0;Ub=f+152|0;Vb=f+160|0;Wb=he+152|0;Xb=he+64|0;_b=td+4|0;$b=td+6|0;ac=td+8|0;bc=ud+4|0;cc=ud+8|0;dc=he+212|0;ec=he+208|0;gc=f+116|0;jc=vd+4|0;kc=vd+6|0;mc=vd+8|0;oc=Yc+8|0;qc=Yc+32|0;rc=Yc+24|0;sc=Yc+16|0;tc=Yc+12|0;uc=wd+4|0;V=wd+6|0;W=wd+8|0;X=nd+8|0;Y=nd+32|0;aa=nd+24|0;ca=nd+12|0;da=nd+16|0;ea=he+164|0;fa=Wc+8|0;ga=Wc+4|0;ha=he+145|0;ia=Wc+12|0;ja=Pd+4|0;ka=Pd+12|0;la=Pd+16|0;ma=Pd+20|0;na=Pd+24|0;oa=Pd+28|0;pa=Pd+8|0;qa=Pd+40|0;ra=Pd+44|0;sa=Pd+48|0;ta=Pd+52|0;ua=Pd+56|0;va=Pd+60|0;wa=Pd+64|0;xa=Pd+65|0;ya=he+128|0;za=f+28|0;Aa=f+36|0;Ba=f+32|0;Ca=f+196|0;Da=Tc+4|0;Ea=Tc+8|0;Fa=Jd+8|0;Ga=Jd+32|0;Ha=Jd+24|0;Ia=Tc+20|0;Ja=Tc+12|0;Ka=Tc+16|0;La=Tc+24|0;Ma=Oc+8|0;Na=Oc+4|0;Oa=he+148|0;Pa=he+176|0;Qa=he+72|0;Ra=he+67|0;Sa=Qc+20|0;Ta=Qc+24|0;Ua=Qc+4|0;Va=Qc+16|0;Wa=he+304|0;Xa=he+328|0;Ya=Hd+32|0;Za=Hd+8|0;_a=Hd+24|0;$a=he+308|0;ab=Fd+20|0;bb=he+69|0;_d=f+168|0;cb=nd+4|0;db=nd+8|0;eb=nd+12|0;fb=nd+16|0;gb=nd+20|0;hb=nd+24|0;ib=nd+25|0;jb=he+180|0;kb=Ld+32|0;lb=Ld+8|0;mb=Ld+12|0;nb=Ld+16|0;ob=Ld+24|0;T=0;U=0;g=0;r=0;p=c[de>>2]|0;t=0;c:while(1){n=m;d:while(1){if(a[ce>>0]|0){u=ce;v=fe;m=t;ee=1317;break a}m=g+1|0;if(!(a[o+(p*20|0)+2>>0]&2))J=r;else{r=c[o+(p*20|0)+8>>2]|0;g=v+(r*40|0)|0;r=v+(r*40|0)+8|0;if(b[r>>1]&9312)rg(g);b[r>>1]=4;J=g}z=o+(p*20|0)|0;G=a[z>>0]|0;r=G&255;e:do switch(r|0){case 20:{g=m;m=n;ee=24;break d}case 21:{g=m;m=n;r=J;ee=25;break d}case 22:{g=m;m=n;r=J;ee=26;break d}case 23:{g=m;m=n;r=J;n=p;ee=27;break d}case 24:{g=m;m=n;r=J;n=p;ee=28;break d}case 29:{g=m;m=n;n=p;ee=65;break d}case 30:{g=m;m=n;r=J;n=p;ee=66;break d}case 28:{g=m;m=n;r=J;n=p;ee=60;break d}case 32:{g=m;m=n;n=p;ee=72;break d}case 17:{g=m;m=n;r=J;ee=22;break d}case 18:{g=m;m=n;r=J;ee=23;break d}case 25:{g=m;m=n;r=J;n=p;ee=44;break d}case 26:{g=m;m=n;r=J;n=p;ee=45;break d}case 133:{g=m;m=n;r=J;n=p;ee=46;break d}case 97:{a[z>>0]=27;z=o+(p*20|0)+16|0;s=c[z>>2]|0;if(!s)g=0;else{g=s;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-s&1073741823}w=o+(p*20|0)+4|0;c[w>>2]=g;if(vb)r=0;else{r=Tg(J,s,-1,1,0)|0;if((r|0)==18){g=m;m=n;q=t;ee=1316;break c}if(Ul(J,ub)|0){u=ce;v=fe;g=m;m=t;ee=1317;break a}c[J+24>>2]=0;g=J+8|0;b[g>>1]=e[g>>1]|2048;g=o+(p*20|0)+1|0;if((a[g>>0]|0)==-1)ig(he,c[z>>2]|0);a[g>>0]=-1;s=c[J+16>>2]|0;c[z>>2]=s;g=c[J+12>>2]|0;c[w>>2]=g}if((g|0)>(c[wb>>2]|0)){g=m;m=n;q=t;ee=1316;break c}else ee=57;break}case 31:{g=m;m=n;r=J;n=p;ee=67;break d}case 34:{g=m;m=n;n=p;ee=79;break d}case 35:{g=m;m=n;q=t;ee=80;break c}case 33:{g=m;m=n;ee=74;break d}case 94:{g=m;m=n;ee=94;break d}case 93:case 92:case 91:case 90:case 89:{g=m;P=z;m=n;n=p;ee=112;break d}case 27:{s=c[o+(p*20|0)+16>>2]|0;g=c[o+(p*20|0)+4>>2]|0;r=0;ee=57;break}case 16:{p=(c[o+(p*20|0)+8>>2]|0)+-1|0;r=0;ee=19;break}case 36:{g=m;m=n;G=J;n=p;ee=166;break d}case 1:{S=a[o+(p*20|0)+3>>0]|0;z=S&255;x=c[yb>>2]|0;g=v+((c[o+(p*20|0)+12>>2]|0)*40|0)|0;c[Rc>>2]=g;if(S<<24>>24){w=0;g=v+((c[o+(p*20|0)+8>>2]|0)*40|0)|0;while(1){c[x+(w<<2)>>2]=g;if((b[g+8>>1]&4096)!=0?(Rl(g)|0)!=0:0){u=ce;v=fe;g=m;m=t;ee=1317;break a}w=w+1|0;if((w|0)>=(z|0))break;else g=g+40|0}g=c[Rc>>2]|0}S=c[o+(p*20|0)+16>>2]|0;c[zb>>2]=S;c[Ab>>2]=p;c[Bb>>2]=f;R=g+8|0;b[R>>1]=e[R>>1]&48640|1;a[Cb>>0]=0;R=je;c[R>>2]=n;c[R+4>>2]=l;ic[c[S+12>>2]&63](Rc,z,x);l=je;n=c[l>>2]|0;l=c[l+4>>2]|0;if(!(a[Cb>>0]|0))g=0;else{if(!(c[Db>>2]|0))g=0;else{c[ge>>2]=Og(c[Rc>>2]|0,1)|0;$g(fe,he,10344,ge);g=c[Db>>2]|0}am(f,p,c[o+(p*20|0)+4>>2]|0)}Ul(c[Rc>>2]|0,ub)|0;s=c[Rc>>2]|0;w=e[s+8>>1]|0;if(w&18){r=c[s+12>>2]|0;if(w&16384)r=(c[s>>2]|0)+r|0;if((r|0)>(c[(c[s+32>>2]|0)+88>>2]|0)){g=m;m=n;q=t;ee=1316;break c}else{z=J;R=p;r=g}}else{z=J;R=p;r=g}break}case 88:case 87:case 86:case 85:{g=m;E=z;m=n;n=p;ee=184;break d}case 39:{g=m;m=n;G=J;n=p;ee=208;break d}case 37:{g=m;m=n;r=J;n=p;ee=202;break d}case 38:{g=m;m=n;G=J;n=p;ee=203;break d}case 83:case 80:case 81:case 82:case 78:case 79:{g=m;F=G;m=n;r=J;ee=213;break d}case 40:{S=c[o+(p*20|0)+4>>2]|0;g=v+(S*40|0)|0;if(!(b[v+(S*40|0)+8>>1]&16384))r=0;else r=Ng(g)|0;cm(g,c[o+(p*20|0)+8>>2]&255,Gc);z=J;R=p;break}case 41:{g=m;m=n;r=J;n=p;ee=248;break d}case 42:{g=m;m=n;r=J;n=p;ee=249;break d}case 43:{g=m;m=n;r=J;ee=256;break d}case 71:case 72:{g=m;m=n;n=p;ee=261;break d}case 76:{g=m;m=n;r=J;n=p;ee=286;break d}case 19:{g=m;m=n;n=p;ee=268;break d}case 96:{g=m;m=n;n=p;ee=273;break d}case 44:{g=m;m=n;r=J;n=p;ee=278;break d}case 46:case 45:{g=m;m=n;r=J;n=p;ee=281;break d}case 77:{g=m;m=n;r=J;n=p;ee=288;break d}case 47:{g=m;m=n;r=J;ee=290;break d}case 48:{g=m;m=n;r=J;n=p;ee=368;break d}case 49:{g=m;m=n;ee=371;break d}case 50:{B=c[c[(c[Fb>>2]|0)+(c[o+(p*20|0)+4>>2]<<2)>>2]>>2]|0;f:do if(c[B+60>>2]|0){g=mm(B)|0;if(!g){K=B+76|0;I=B+44|0;w=B+72|0;s=0;r=0;g:while(1){z=b[K>>1]|0;G=c[B+(z<<16>>16<<2)+120>>2]|0;if(!(a[G+5>>0]|0)){if(!(a[G+2>>0]|0)){s=fw(e[G+18>>1]|0,0,s|0,r|0)|0;r=C}}else{s=fw(e[G+18>>1]|0,0,s|0,r|0)|0;r=C;while(1){if(!(z<<16>>16))break g;if(G){xg(c[G+68>>2]|0);z=b[K>>1]|0}z=z+-1<<16>>16;b[K>>1]=z;b[I>>1]=0;a[w>>0]=d[w>>0]&249;G=z<<16>>16;x=B+(G<<1)+78|0;F=b[x>>1]|0;G=c[B+(G<<2)+120>>2]|0;if((F&65535)<(e[G+18>>1]|0)){z=F;break}}b[x>>1]=z+1<<16>>16;G=b[K>>1]|0;z=G;G=c[B+(G<<16>>16<<2)+120>>2]|0}z=b[B+(z<<16>>16<<1)+78>>1]|0;x=c[G+56>>2]|0;if(z<<16>>16==(b[G+18>>1]|0)){g=d[G+6>>0]|0;g=nm(B,d[x+(g+9)>>0]<<16|d[x+(g+8)>>0]<<24|d[x+(g+10)>>0]<<8|d[x+(g+11)>>0])|0}else{g=(z&65535)<<1;S=c[G+64>>2]|0;g=(d[S+g>>0]<<8|d[S+(g|1)>>0])&e[G+20>>1];g=nm(B,d[x+(g+1)>>0]<<16|d[x+g>>0]<<24|d[x+(g+2)>>0]<<8|d[x+(g+3)>>0])|0}if(g){s=0;r=0;break f}}g=mm(B)|0}else{s=0;r=0}}else{g=0;s=0;r=0}while(0);z=J;c[z>>2]=s;c[z+4>>2]=r;z=J;R=p;r=g;break}case 2:{O=c[o+(p*20|0)+4>>2]|0;s=c[o+(p*20|0)+16>>2]|0;if(!O){g=m;m=n;r=J;n=p;ee=446;break d}w=c[Mb>>2]|0;if(!w){o=s;g=m;m=n;q=t;ee=460;break c}else g=0;while(1){if(!($c(c[w>>2]|0,s)|0)){G=g;break}w=c[w+24>>2]|0;if(!w){o=s;g=m;m=n;q=t;ee=460;break c}else g=g+1|0}K=(O|0)==1;if((c[Yd>>2]|0)>0&K){g=m;m=n;q=t;ee=462;break c}I=w+24|0;if(!(c[I>>2]|0)){x=(a[Pb>>0]|0)!=0;if(x&K){g=pm(f,1)|0;if(g)break a;a[ae>>0]=1;if((Nl(f)|0)==5){g=p;ee=467;break c}a[Pb>>0]=0;x=1;r=c[ie>>2]|0}else ee=469}else{x=0;ee=469}if((ee|0)==469){ee=0;s=(c[Lb>>2]|0)-G+-1|0;if((O|0)==2){z=(c[Qb>>2]|0)>>>1&1;if((c[Rb>>2]|0)>0){G=z^1;F=0;while(1){E=El(c[(c[Td>>2]|0)+(F<<4)+4>>2]|0,516,G)|0;F=F+1|0;if(E){g=m;m=n;q=E;ee=1318;break c}g=c[Rb>>2]|0;if((F|0)>=(g|0)){ee=475;break}}}}else{g=c[Rb>>2]|0;z=0;ee=475}if((ee|0)==475){ee=0;if((g|0)>0){B=0;do{G=qm(c[(c[Td>>2]|0)+(B<<4)+4>>2]|0,O,s)|0;B=B+1|0;if(G){g=m;m=n;q=G;ee=1318;break c}}while((B|0)<(c[Rb>>2]|0))}}if(!z){G=s;r=0}else{z=c[Sb>>2]|0;if(z)do{S=z+88|0;b[S>>1]=b[S>>1]|8;z=c[z+52>>2]|0}while((z|0)!=0);Ag(he);c[Qb>>2]=c[Qb>>2]|2;G=s;r=0}}z=c[Mb>>2]|0;if((z|0)!=(w|0))do{c[Mb>>2]=c[z+24>>2];ig(he,z);c[Lb>>2]=(c[Lb>>2]|0)+-1;z=c[Mb>>2]|0}while((z|0)!=(w|0));if(K){c[Mb>>2]=c[I>>2];ig(he,w);if(x){z=J;R=p;break e}else{g=m;z=O;m=n;x=G;r=J;n=p;ee=486;break d}}else{S=w+8|0;R=c[S+4>>2]|0;Q=Nb;c[Q>>2]=c[S>>2];c[Q+4>>2]=R;Q=w+16|0;R=c[Q+4>>2]|0;S=Ob;c[S>>2]=c[Q>>2];c[S+4>>2]=R;if(x){z=J;R=p;break e}else{z=O;g=m;m=n;x=G;r=J;n=p;ee=488;break d}}}case 3:{q=t;ee=489;break c}case 4:{w=o+(p*20|0)+8|0;g=c[w>>2]|0;if((g|0)!=0?(c[Qb>>2]&33554432|0)!=0:0){g=m;m=n;q=8;ee=1318;break c}F=o+(p*20|0)+4|0;G=c[(c[Td>>2]|0)+(c[F>>2]<<4)+4>>2]|0;if(!G){r=0;w=0;g=0}else{z=ug(G,g)|0;if((z|0)==5){g=p;ee=508;break c}else if(z){g=m;m=n;q=z;ee=1318;break c}do if((c[w>>2]|0)!=0?(b[Ud>>1]&32)!=0:0){if((a[ae>>0]|0)!=0?(c[Wb>>2]|0)<=1:0){g=0;break}g=c[Tb>>2]|0;if(!g){g=(c[Kb>>2]|0)+1|0;c[KbKb0;s=p;r=c[s>>2]|0;s=c[s+4>>2]|0;if((r|0)==0&(s|0)==0){Q=v;w=o;R=T;S=U;r=G}else{w=c[o+(n*20|0)+12>>2]|0;w=fw(w|0,((w|0)<0)<<31>>31|0,r|0,s|0)|0;Q=p;c[Q>>2]=w;c[Q+4>>2]=C;Q=v;w=o;R=T;S=U;r=G;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}break}case 1034:{ee=0;Q=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;R=Q;R=fw(c[R>>2]|0,c[R+4>>2]|0,-1,-1)|0;S=C;c[Q>>2]=R;c[Q+4>>2]=S;if((R|0)==0&(S|0)==0){Q=v;w=o;R=T;S=U;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}else{Q=v;w=o;R=T;S=U}break}case 1036:{ee=0;Q=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;S=Q;R=c[S>>2]|0;S=c[S+4>>2]|0;P=fw(R|0,S|0,1,0)|0;c[Q>>2]=P;c[Q+4>>2]=C;if((R|0)==0&(S|0)==0){Q=v;w=o;R=T;S=U;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}else{Q=v;w=o;R=T;S=U}break}case 1157:{ee=0;Q=v;w=o;R=T;S=U;n=(c[o+(p*20|0)+8>>2]|0)+-1|0;break}case 1158:{ee=0;if(c[o+(n*20|0)+4>>2]|0){b[Ud>>1]=b[Ud>>1]|8;Q=v;w=o;R=T;S=U;break}p=c[Sb>>2]|0;if(!p){Q=v;w=o;R=T;S=U}else{do{S=p+88|0;b[S>>1]=b[S>>1]|8;p=c[p+52>>2]|0}while((p|0)!=0);Q=v;w=o;R=T;S=U}break}case 1166:{ee=0;G=(c[s>>2]|0)+72|0;p=c[G>>2]|0;D:do if(p){while(1){if((c[p+4>>2]|0)==(x|0)?(c[p>>2]|0)==(z|0):0)break;p=c[p+12>>2]|0;if(!p){ee=1171;break D}}if(!p)ee=1171}else ee=1171;while(0);if((ee|0)==1171){ee=0;p=mg(16,0)|0;if(!p){p=n;o=7;q=t;ee=1309;break c}S=p+0|0;D=S+12|0;do{a[S>>0]=0;S=S+1|0}while((S|0)<(D|0));c[p+4>>2]=x;c[p>>2]=z;c[p+12>>2]=c[G>>2];c[G>>2]=p}p=p+8|0;if((d[p>>0]|0)<(w&255)){a[p>>0]=w;Q=v;w=o;R=T;S=U}else{Q=v;w=o;R=T;S=U}break}case 1213:{ee=0;c[pd>>2]=0;w=c[(c[o+(n*20|0)+16>>2]|0)+8>>2]|0;if(!w){p=n;o=6;q=t;ee=1309;break c}s=c[w>>2]|0;if(!s){p=n;o=6;q=t;ee=1309;break c}z=nc[c[s+24>>2]&127](w,pd)|0;Im(f,w);if(z){p=n;o=z;q=t;ee=1309;break c}c[c[pd>>2]>>2]=w;p=tm(f,c[o+(n*20|0)+4>>2]|0,0,-1,0)|0;if(!p){a[ce>>0]=1;hc[c[s+28>>2]&127](c[pd>>2]|0)|0;Q=v;w=o;R=T;S=U;break}else{c[p+32>>2]=c[pd>>2];Q=w+4|0;c[Q>>2]=(c[Q>>2]|0)+1;Q=v;w=o;R=T;S=U;break}}case 1226:{ee=0;p=v+(z*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;Q=v;w=o;R=T;S=U;break}else{rg(x);Q=v;w=o;R=T;S=U;break}}case 1257:{ee=0;Q=r;c[Q>>2]=c[(c[(c[(c[Td>>2]|0)+(c[o+(n*20|0)+4>>2]<<4)+4>>2]|0)+4>>2]|0)+44>>2];c[Q+4>>2]=0;Q=v;w=o;R=T;S=U;break}case 1258:{ee=0;w=c[(c[Td>>2]|0)+(c[o+(n*20|0)+4>>2]<<4)+4>>2]|0;p=c[o+(n*20|0)+12>>2]|0;r=c[w+4>>2]|0;if(!p)p=0;else{S=c[r+44>>2]|0;p=S>>>0<p>>>0?p:S}c[r+4>>2]=c[w>>2];r=(c[r>>2]|0)+156|0;if((p|0)>0)c[r>>2]=p;else p=c[r>>2]|0;Q=G;c[Q>>2]=p;c[Q+4>>2]=((p|0)<0)<<31>>31;Q=v;w=o;R=T;S=U;r=G;break}case 1264:{ee=0;n=c[o+(p*20|0)+8>>2]|0;n=(n|0)==0?p:n+-1|0;if((c[Pa>>2]|0)!=0?(b[Ud>>1]&512)==0:0){p=c[o+(p*20|0)+16>>2]|0;if(!p){p=c[_d>>2]|0;if(!p){Q=v;w=o;R=T;S=U;r=J;break}}c[Pd>>2]=0;r=c[f>>2]|0;z=c[r+88>>2]|0;c[cb>>2]=Kd;c[db>>2]=Kd;c[eb>>2]=0;c[fb>>2]=100;c[gb>>2]=z;a[hb>>0]=1;a[ib>>0]=0;c[nd>>2]=r;z=a[p>>0]|0;w=z<<24>>24==0;E:do if((c[r+160>>2]|0)>1){if(!w){w=z;while(1){r=p;do{r=r+1|0;if(w<<24>>24==10)break;w=a[r>>0]|0}while(w<<24>>24!=0);Ok(nd,42288,3);Ok(nd,p,r-p|0);w=a[r>>0]|0;if(!(w<<24>>24))break;else p=r}}}else if(!w){s=r+62|0;w=z;K=1;do{F:do if(!(w<<24>>24)){x=0;w=0}else{z=p;w=0;while(1){x=yn(z,ge)|0;if((c[ge>>2]|0)==135)break F;w=x+w|0;z=z+x|0;if(!(a[z>>0]|0)){x=0;break}}}while(0);Ok(nd,p,w);z=p+w|0;if(!x)break E;do if((a[z>>0]|0)==63)if((x|0)>1){zn(p+(w+1)|0,Pd)|0;z=c[Pd>>2]|0;break}else{c[Pd>>2]=K;z=K;break}else{z=mh(f,z,x)|0;c[Pd>>2]=z}while(0);p=p+(w+x)|0;K=z+1|0;G=z+-1|0;F=c[xb>>2]|0;z=F+(G*40|0)|0;x=e[F+(G*40|0)+8>>1]|0;do if(!(x&1)){if(x&4){Q=z;R=c[Q+4>>2]|0;S=ge;c[S>>2]=c[Q>>2];c[S+4>>2]=R;An(nd,0,19920,ge);break}if(x&8){h[k>>3]=+h[z>>3];c[ge>>2]=c[k>>2];c[ge+4>>2]=c[k+4>>2];An(nd,0,20272,ge);break}if(!(x&2)){if(x&16384){c[ge>>2]=c[z>>2];An(nd,0,42304,ge);break}Ok(nd,42320,2);B=c[F+(G*40|0)+12>>2]|0;if((B|0)>0){z=F+(G*40|0)+16|0;x=0;do{c[ge>>2]=d[(c[z>>2]|0)+x>>0];An(nd,0,42328,ge);x=x+1|0}while((x|0)!=(B|0))}Ok(nd,42336,1);break}else{B=a[s>>0]|0;if(B<<24>>24==1){S=c[F+(G*40|0)+16>>2]|0;c[ge>>2]=c[F+(G*40|0)+12>>2];c[ge+4>>2]=S;An(nd,0,42296,ge);break}S=Ld+0|0;D=S+40|0;do{c[S>>2]=0;S=S+4|0}while((S|0)<(D|0));c[kb
14 535;h=b[a+42>>1]|0;k=e[d+40>>1]|0;g=b[d+42>>1]|0;a:do if(!((g&65535)>(h&65535)?1:(i-(h&65535)|0)>=(k-(g&65535)|0))){g=b[a+20>>1]|0;h=b[d+20>>1]|0;if(g<<16>>16>=h<<16>>16){if(g<<16>>16>h<<16>>16){f=0;break}if((b[a+22>>1]|0)>(b[d+22>>1]|0)){f=0;break}}if(!(f<<16>>16))f=1;else{j=c[a+48>>2]|0;d=d+48|0;a=i;while(1){a=a+-1|0;h=c[j+(a<<2)>>2]|0;if(h){f=k;while(1){g=f+-1|0;if((f|0)<=0){f=0;break a}if((c[(c[d>>2]|0)+(g<<2)>>2]|0)==(h|0))break;else f=g}if((f|0)<1){f=0;break a}}if((a|0)<=0){f=1;break}}}}else f=0;while(0);return f|0}function Qv(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=c[d>>2]|0;a:do if(f){k=a[e+16>>0]|0;l=e+17|0;m=e+18|0;n=e+20|0;o=e+22|0;p=e+42|0;q=e+36|0;do{if((a[f+16>>0]|0)==k<<24>>24?(a[f+17>>0]|0)==(a[l>>0]|0):0){if((((c[f+36>>2]&16384|0)!=0?(b[p>>1]|0)==0:0)?(c[q>>2]&513|0)==513:0)?(i=f,j=e,h=c[j>>2]|0,j=c[j+4>>2]|0,(h&c[i>>2]|0)==(h|0)?(j&c[i+4>>2]|0)==(j|0):0):0)break a;r=f;s=c[r>>2]|0;r=c[r+4>>2]|0;h=e;g=c[h>>2]|0;h=c[h+4>>2]|0;i=g&s;j=h&r;if((((i|0)==(s|0)&(j|0)==(r|0)?(b[f+18>>1]|0)<=(b[m>>1]|0):0)?(b[f+20>>1]|0)<=(b[n>>1]|0):0)?(b[f+22>>1]|0)<=(b[o>>1]|0):0){d=0;break a}if(((i|0)==(g|0)&(j|0)==(h|0)?(b[f+20>>1]|0)>=(b[n>>1]|0):0)?(b[f+22>>1]|0)>=(b[o>>1]|0):0)break a}d=f+52|0;f=c[d>>2]|0}while((f|0)!=0)}while(0);return d|0}function Rv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=lr(c[a>>2]|0,0,b+12|0,0)|0;do if(h){g=c[a>>2]|0;f=c[(c[b+4>>2]|0)+20>>2]|0;a:do if(f){e=c[g+20>>2]|0;if((e|0)>0){b=c[g+16>>2]|0;d=0;while(1){a=d+1|0;if((c[b+(d<<4)+12>>2]|0)==(f|0)){a=d;d=7;break a}if((a|0)<(e|0))d=a;else{d=7;break}}}else a=0}else{a=-1e6;d=7}while(0);if((d|0)==7)if(!((a|0)==0|(a|0)>1))break;a=gh(g,c[(c[g+16>>2]|0)+(a<<4)>>2]|0)|0;c[h+(((c[h>>2]|0)+-1|0)*72|0)+12>>2]=a}while(0);return h|0}function Sv(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;do if(a>>>0<245){if(a>>>0<11)p=16;else p=a+11&-8;a=p>>>3;l=c[12266]|0;i=l>>>a;if(i&3){e=(i&1^1)+a|0;f=e<<1;b=49104+(f<<2)|0;f=49104+(f+2<<2)|0;g=c[f>>2]|0;h=g+8|0;i=c[h>>2]|0;do if((b|0)!=(i|0)){if(i>>>0<(c[12270]|0)>>>0)Kb();d=i+12|0;if((c[d>>2]|0)==(g|0)){c[d>>2]=b;c[f>>2]=i;break}else Kb()}else c[12266]=l&~(1<<e);while(0);w=e<<3;c[g+4>>2]=w|3;w=g+(w|4)|0;c[w>>2]=c[w>>2]|1;w=h;return w|0}k=c[12268]|0;if(p>>>0>k>>>0){if(i){f=2<<a;f=i<<a&(f|0-f);f=(f&0-f)+-1|0;a=f>>>12&16;f=f>>>a;e=f>>>5&8;f=f>>>e;d=f>>>2&4;f=f>>>d;g=f>>>1&2;f=f>>>g;h=f>>>1&1;h=(e|a|d|g|h)+(f>>>h)|0;f=h<<1;g=49104+(f<<2)|0;f=49104+(f+2<<2)|0;d=c[f>>2]|0;a=d+8|0;e=c[a>>2]|0;do if((g|0)!=(e|0)){if(e>>>0<(c[12270]|0)>>>0)Kb();i=e+12|0;if((c[i>>2]|0)==(d|0)){c[i>>2]=g;c[f>>2]=e;m=c[12268]|0;break}else Kb()}else{c[12266]=l&~(1<<h);m=k}while(0);w=h<<3;b=w-p|0;c[d+4>>2]=p|3;j=d+p|0;c[d+(p|4)>>2]=b|1;c[d+w>>2]=b;if(m){e=c[12271]|0;g=m>>>3;i=g<<1;f=49104+(i<<2)|0;h=c[12266]|0;g=1<<g;if(h&g){h=49104+(i+2<<2)|0;i=c[h>>2]|0;if(i>>>0<(c[12270]|0)>>>0)Kb();else{n=h;o=i}}else{c[12266]=h|g;n=49104+(i+2<<2)|0;o=f}c[n>>2]=e;c[o+12>>2]=e;c[e+8>>2]=o;c[e+12>>2]=f}c[12268]=b;c[12271]=j;w=a;return w|0}a=c[12267]|0;if(a){h=(a&0-a)+-1|0;v=h>>>12&16;h=h>>>v;u=h>>>5&8;h=h>>>u;w=h>>>2&4;h=h>>>w;i=h>>>1&2;h=h>>>i;g=h>>>1&1;g=c[49368+((u|v|w|i|g)+(h>>>g)<<2)>>2]|0;h=(c[g+4>>2]&-8)-p|0;i=g;while(1){d=c[i+16>>2]|0;if(!d){d=c[i+20>>2]|0;if(!d){l=h;k=g;break}}i=(c[d+4>>2]&-8)-p|0;w=i>>>0<h>>>0;h=w?i:h;i=d;g=w?d:g}a=c[12270]|0;if(k>>>0<a>>>0)Kb();b=k+p|0;if(k>>>0>=b>>>0)Kb();j=c[k+24>>2]|0;g=c[k+12>>2]|0;do if((g|0)==(k|0)){h=k+20|0;i=c[h>>2]|0;if(!i){h=k+16|0;i=c[h>>2]|0;if(!i){e=0;break}}while(1){g=i+20|0;f=c[g>>2]|0;if(f){i=f;h=g;continue}g=i+16|0;f=c[g>>2]|0;if(!f)break;else{i=f;h=g}}if(h>>>0<a>>>0)Kb();else{c[h>>2]=0;e=i;break}}else{f=c[k+8>>2]|0;if(f>>>0<a>>>0)Kb();i=f+12|0;if((c[i>>2]|0)!=(k|0))Kb();h=g+8|0;if((c[h>>2]|0)==(k|0)){c[i>>2]=g;c[h>>2]=f;e=g;break}else Kb()}while(0);do if(j){i=c[k+28>>2]|0;h=49368+(i<<2)|0;if((k|0)==(c[h>>2]|0)){c[h>>2]=e;if(!e){c[12267]=c[12267]&~(1<<i);break}}else{if(j>>>0<(c[12270]|0)>>>0)Kb();i=j+16|0;if((c[i>>2]|0)==(k|0))c[i>>2]=e;else c[j+20>>2]=e;if(!e)break}h=c[12270]|0;if(e>>>0<h>>>0)Kb();c[e+24>>2]=j;i=c[k+16>>2]|0;do if(i)if(i>>>0<h>>>0)Kb();else{c[e+16>>2]=i;c[i+24>>2]=e;break}while(0);i=c[k+20>>2]|0;if(i)if(i>>>0<(c[12270]|0)>>>0)Kb();else{c[e+20>>2]=i;c[i+24>>2]=e;break}}while(0);if(l>>>0<16){w=l+p|0;c[k+4>>2]=w|3;w=k+(w+4)|0;c[w>>2]=c[w>>2]|1}else{c[k+4>>2]=p|3;c[k+(p|4)>>2]=l|1;c[k+(l+p)>>2]=l;d=c[12268]|0;if(d){e=c[12271]|0;g=d>>>3;i=g<<1;f=49104+(i<<2)|0;h=c[12266]|0;g=1<<g;if(h&g){i=49104+(i+2<<2)|0;h=c[i>>2]|0;if(h>>>0<(c[12270]|0)>>>0)Kb();else{q=i;r=h}}else{c[12266]=h|g;q=49104+(i+2<<2)|0;r=f}c[q>>2]=e;c[r+12>>2]=e;c[e+8>>2]=r;c[e+12>>2]=f}c[12268]=l;c[12271]=b}w=k+8|0;return w|0}else r=p}else r=p}else if(a>>>0<=4294967231){a=a+11|0;r=a&-8;k=c[12267]|0;if(k){h=0-r|0;a=a>>>8;if(a)if(r>>>0>16777215)d=31;else{p=(a+1048320|0)>>>16&8;q=a<<p;o=(q+520192|0)>>>16&4;q=q<<o;d=(q+245760|0)>>>16&2;d=14-(o|p|d)+(q<<d>>>15)|0;d=r>>>(d+7|0)&1|d<<1}else d=0;f=c[49368+(d<<2)>>2]|0;a:do if(!f){a=0;i=0}else{if((d|0)==31)i=0;else i=25-(d>>>1)|0;l=h;a=0;b=r<<i;i=0;while(1){e=c[f+4>>2]&-8;h=e-r|0;if(h>>>0<l>>>0)if((e|0)==(r|0)){a=f;i=f;break a}else i=f;else h=l;q=c[f+20>>2]|0;f=c[f+(b>>>31<<2)+16>>2]|0;a=(q|0)==0|(q|0)==(f|0)?a:q;if(!f)break;else{l=h;b=b<<1}}}while(0);if((a|0)==0&(i|0)==0){a=2<<d;a=k&(a|0-a);if(!a)break;q=(a&0-a)+-1|0;n=q>>>12&16;q=q>>>n;m=q>>>5&8;q=q>>>m;o=q>>>2&4;q=q>>>o;p=q>>>1&2;q=q>>>p;a=q>>>1&1;a=c[49368+((m|n|o|p|a)+(q>>>a)<<2)>>2]|0}if(!a){o=h;p=i}else while(1){q=(c[a+4>>2]&-8)-r|0;f=q>>>0<h>>>0;h=f?q:h;i=f?a:i;f=c[a+16>>2]|0;if(f){a=f;continue}a=c[a+20>>2]|0;if(!a){o=h;p=i;break}}if((p|0)!=0?o>>>0<((c[12268]|0)-r|0)>>>0:0){a=c[12270]|0;if(p>>>0<a>>>0)Kb();m=p+r|0;if(p>>>0>=m>>>0)Kb();j=c[p+24>>2]|0;g=c[p+12>>2]|0;do if((g|0)==(p|0)){h=p+20|0;i=c[h>>2]|0;if(!i){h=p+16|0;i=c[h>>2]|0;if(!i){t=0;break}}while(1){g=i+20|0;f=c[g>>2]|0;if(f){i=f;h=g;continue}g=i+16|0;f=c[g>>2]|0;if(!f)break;else{i=f;h=g}}if(h>>>0<a>>>0)Kb();else{c[h>>2]=0;t=i;break}}else{f=c[p+8>>2]|0;if(f>>>0<a>>>0)Kb();i=f+12|0;if((c[i>>2]|0)!=(p|0))Kb();h=g+8|0;if((c[h>>2]|0)==(p|0)){c[i>>2]=g;c[h>>2]=f;t=g;break}else Kb()}while(0);do if(j){i=c[p+28>>2]|0;h=49368+(i<<2)|0;if((p|0)==(c[h>>2]|0)){c[h>>2]=t;if(!t){c[12267]=c[12267]&~(1<<i);break}}else{if(j>>>0<(c[12270]|0)>>>0)Kb();i=j+16|0;if((c[i>>2]|0)==(p|0))c[i>>2]=t;else c[j+20>>2]=t;if(!t)break}h=c[12270]|0;if(t>>>0<h>>>0)Kb();c[t+24>>2]=j;i=c[p+16>>2]|0;do if(i)if(i>>>0<h>>>0)Kb();else{c[t+16>>2]=i;c[i+24>>2]=t;break}while(0);i=c[p+20>>2]|0;if(i)if(i>>>0<(c[12270]|0)>>>0)Kb();else{c[t+20>>2]=i;c[i+24>>2]=t;break}}while(0);b:do if(o>>>0>=16){c[p+4>>2]=r|3;c[p+(r|4)>>2]=o|1;c[p+(o+r)>>2]=o;i=o>>>3;if(o>>>0<256){h=i<<1;f=49104+(h<<2)|0;g=c[12266]|0;i=1<<i;do if(!(g&i)){c[12266]=g|i;u=49104+(h+2<<2)|0;v=f}else{i=49104+(h+2<<2)|0;h=c[i>>2]|0;if(h>>>0>=(c[12270]|0)>>>0){u=i;v=h;break}Kb()}while(0);c[u>>2]=m;c[v+12>>2]=m;c[p+(r+8)>>2]=v;c[p+(r+12)>>2]=f;break}d=o>>>8;if(d)if(o>>>0>16777215)f=31;else{v=(d+1048320|0)>>>16&8;w=d<<v;u=(w+520192|0)>>>16&4;w=w<<u;f=(w+245760|0)>>>16&2;f=14-(u|v|f)+(w<<f>>>15)|0;f=o>>>(f+7|0)&1|f<<1}else f=0;i=49368+(f<<2)|0;c[p+(r+28)>>2]=f;c[p+(r+20)>>2]=0;c[p+(r+16)>>2]=0;h=c[12267]|0;g=1<<f;if(!(h&g)){c[12267]=h|g;c[i>>2]=m;c[p+(r+24)>>2]=i;c[p+(r+12)>>2]=m;c[p+(r+8)>>2]=m;break}d=c[i>>2]|0;if((f|0)==31)b=0;else b=25-(f>>>1)|0;c:do if((c[d+4>>2]&-8|0)!=(o|0)){h=o<<b;while(1){b=d+(h>>>31<<2)+16|0;i=c[b>>2]|0;if(!i)break;if((c[i+4>>2]&-8|0)==(o|0)){B=i;break c}else{h=h<<1;d=i}}if(b>>>0<(c[12270]|0)>>>0)Kb();else{c[b>>2]=m;c[p+(r+24)>>2]=d;c[p+(r+12)>>2]=m;c[p+(r+8)>>2]=m;break b}}else B=d;while(0);d=B+8|0;b=c[d>>2]|0;w=c[12270]|0;if(B>>>0>=w>>>0&b>>>0>=w>>>0){c[b+12>>2]=m;c[d>>2]=m;c[p+(r+8)>>2]=b;c[p+(r+12)>>2]=B;c[p+(r+24)>>2]=0;break}else Kb()}else{w=o+r|0;c[p+4>>2]=w|3;w=p+(w+4)|0;c[w>>2]=c[w>>2]|1}while(0);w=p+8|0;return w|0}}}else r=-1;while(0);a=c[12268]|0;if(a>>>0>=r>>>0){b=a-r|0;d=c[12271]|0;if(b>>>0>15){c[12271]=d+r;c[12268]=b;c[d+(r+4)>>2]=b|1;c[d+a>>2]=b;c[d+4>>2]=r|3}else{c[12268]=0;c[12271]=0;c[d+4>>2]=a|3;w=d+(a+4)|0;c[w>>2]=c[w>>2]|1}w=d+8|0;return w|0}a=c[12269]|0;if(a>>>0>r>>>0){v=a-r|0;c[12269]=v;w=c[12272]|0;c[12272]=w+r;c[w+(r+4)>>2]=v|1;c[w+4>>2]=r|3;w=w+8|0;return w|0}do if(!(c[12384]|0)){a=sb(30)|0;if(!(a+-1&a)){c[12386]=a;c[12385]=a;c[12387]=-1;c[12388]=-1;c[12389]=0;c[12377]=0;c[12384]=(Lb(0)|0)&-16^1431655768;break}else Kb()}while(0);l=r+48|0;b=c[12386]|0;k=r+47|0;d=b+k|0;b=0-b|0;m=d&b;if(m>>>0<=r>>>0){w=0;return w|0}a=c[12376]|0;if((a|0)!=0?(u=c[12374]|0,v=u+m|0,v>>>0<=u>>>0|v>>>0>a>>>0):0){w=0;return w|0}d:do if(!(c[12377]&4)){a=c[12272]|0;e:do if(a){f=49512|0;while(1){i=c[f>>2]|0;if(i>>>0<=a>>>0?(s=f+4|0,(i+(c[s>>2]|0)|0)>>>0>a>>>0):0){e=f;h=s;a=f;break}f=c[f+8>>2]|0;if(!f){G=181;break e}}if(a){a=d-(c[12269]|0)&b;if(a>>>0<2147483647){i=ob(a|0)|0;if((i|0)==((c[e>>2]|0)+(c[h>>2]|0)|0))G=190;else G=191}else a=0}else G=181}else G=181;while(0);do if((G|0)==181){i=ob(0)|0;if((i|0)!=(-1|0)){a=i;h=c[12385]|0;f=h+-1|0;if(!(f&a))a=m;else a=m-a+(f+a&0-h)|0;h=c[12374]|0;f=h+a|0;if(a>>>0>r>>>0&a>>>0<2147483647){v=c[12376]|0;if((v|0)!=0?f>>>0<=h>>>0|f>>>0>v>>>0:0){a=0;break}h=ob(a|0)|0;if((h|0)==(i|0))G=190;else{i=h;G=191}}else a=0}else a=0}while(0);f:do if((G|0)==190){if((i|0)!=(-1|0)){x=i;G=201;break d}}else if((G|0)==191){h=0-a|0;do if((i|0)!=(-1|0)&a>>>0<2147483647&l>>>0>a>>>0?(w=c[12386]|0,w=k-a+w&0-w,w>>>0<2147483647):0)if((ob(w|0)|0)==(-1|0)){ob(h|0)|0;a=0;break f}else{a=w+a|0;break}while(0);if((i|0)==(-1|0))a=0;else{x=i;G=201;break d}}while(0);c[12377]=c[12377]|4;G=198}else{a=0;G=198}while(0);if((((G|0)==198?m>>>0<2147483647:0)?(x=ob(m|0)|0,y=ob(0)|0,(x|0)!=(-1|0)&(y|0)!=(-1|0)&x>>>0<y>>>0):0)?(z=y-x|0,A=z>>>0>(r+40|0)>>>0,A):0){a=A?z:a;G=201}if((G|0)==201){i=(c[12374]|0)+a|0;c[12374]=i;if(i>>>0>(c[12375]|0)>>>0)c[12375]=i;l=c[12272]|0;g:do if(l){e=49512|0;do{i=c[e>>2]|0;h=e+4|0;f=c[h>>2]|0;if((x|0)==(i+f|0)){C=i;D=h;E=f;F=e;G=213;break}e=c[e+8>>2]|0}while((e|0)!=0);if(((G|0)==213?(c[F+12>>2]&8|0)==0:0)?l>>>0>=C>>>0&l>>>0<x>>>0:0){c[D>>2]=E+a;b=(c[12269]|0)+a|0;d=l+8|0;if(!(d&7))d=0;else d=0-d&7;w=b-d|0;c[12272]=l+d;c[12269]=w;c[l+(d+4)>>2]=w|1;c[l+(b+4)>>2]=40;c[12273]=c[12388];break}i=c[12270]|0;if(x>>>0<i>>>0){c[12270]=x;k=x}else k=i;i=x+a|0;h=49512|0;do{if((c[h>>2]|0)==(i|0)){H=h;I=h;G=223;break}h=c[h+8>>2]|0}while((h|0)!=0);if((G|0)==223?(c[I+12>>2]&8|0)==0:0){c[H>>2]=x;i=I+4|0;c[i>>2]=(c[i>>2]|0)+a;i=x+8|0;if(!(i&7))p=0;else p=0-i&7;i=x+(a+8)|0;if(!(i&7))d=0;else d=0-i&7;i=x+(d+a)|0;o=p+r|0;n=x+o|0;m=i-(x+p)-r|0;c[x+(p+4)>>2]=r|3;h:do if((i|0)!=(l|0)){if((i|0)==(c[12271]|0)){w=(c[12268]|0)+m|0;c[12268]=w;c[12271]=n;c[x+(o+4)>>2]=w|1;c[x+(w+o)>>2]=w;break}l=a+4|0;j=c[x+(l+d)>>2]|0;if((j&3|0)==1){b=j&-8;f=j>>>3;i:do if(j>>>0>=256){e=c[x+((d|24)+a)>>2]|0;g=c[x+(a+12+d)>>2]|0;do if((g|0)==(i|0)){g=d|16;h=x+(l+g)|0;j=c[h>>2]|0;if(!j){h=x+(g+a)|0;j=c[h>>2]|0;if(!j){N=0;break}}while(1){g=j+20|0;f=c[g>>2]|0;if(f){j=f;h=g;continue}g=j+16|0;f=c[g>>2]|0;if(!f)break;else{j=f;h=g}}if(h>>>0<k>>>0)Kb();else{c[h>>2]=0;N=j;break}}else{f=c[x+((d|8)+a)>>2]|0;if(f>>>0<k>>>0)Kb();j=f+12|0;if((c[j>>2]|0)!=(i|0))Kb();h=g+8|0;if((c[h>>2]|0)==(i|0)){c[j>>2]=g;c[h>>2]=f;N=g;break}else Kb()}while(0);if(!e)break;j=c[x+(a+28+d)>>2]|0;h=49368+(j<<2)|0;do if((i|0)!=(c[h>>2]|0)){if(e>>>0<(c[12270]|0)>>>0)Kb();j=e+16|0;if((c[j>>2]|0)==(i|0))c[j>>2]=N;else c[e+20>>2]=N;if(!N)break i}else{c[h>>2]=N;if(N)break;c[12267]=c[12267]&~(1<<j);break i}while(0);h=c[12270]|0;if(N>>>0<h>>>0)Kb();c[N+24>>2]=e;j=d|16;i=c[x+(j+a)>>2]|0;do if(i)if(i>>>0<h>>>0)Kb();else{c[N+16>>2]=i;c[i+24>>2]=N;break}while(0);i=c[x+(l+j)>>2]|0;if(!i)break;if(i>>>0<(c[12270]|0)>>>0)Kb();else{c[N+20>>2]=i;c[i+24>>2]=N;break}}else{h=c[x+((d|8)+a)>>2]|0;g=c[x+(a+12+d)>>2]|0;j=49104+(f<<1<<2)|0;do if((h|0)!=(j|0)){if(h>>>0<k>>>0)Kb();if((c[h+12>>2]|0)==(i|0))break;Kb()}while(0);if((g|0)==(h|0)){c[12266]=c[12266]&~(1<<f);break}do if((g|0)==(j|0))J=g+8|0;else{if(g>>>0<k>>>0)Kb();j=g+8|0;if((c[j>>2]|0)==(i|0)){J=j;break}Kb()}while(0);c[h+12>>2]=g;c[J>>2]=h}while(0);i=x+((b|d)+a)|0;j=b+m|0}else j=m;i=i+4|0;c[i>>2]=c[i>>2]&-2;c[x+(o+4)>>2]=j|1;c[x+(j+o)>>2]=j;i=j>>>3;if(j>>>0<256){h=i<<1;f=49104+(h<<2)|0;g=c[12266]|0;i=1<<i;do if(!(g&i)){c[12266]=g|i;O=49104+(h+2<<2)|0;P=f}else{i=49104+(h+2<<2)|0;h=c[i>>2]|0;if(h>>>0>=(c[12270]|0)>>>0){O=i;P=h;break}Kb()}while(0);c[O>>2]=n;c[P+12>>2]=n;c[x+(o+8)>>2]=P;c[x+(o+12)>>2]=f;break}d=j>>>8;do if(!d)f=0;else{if(j>>>0>16777215){f=31;break}v=(d+1048320|0)>>>16&8;w=d<<v;u=(w+520192|0)>>>16&4;w=w<<u;f=(w+245760|0)>>>16&2;f=14-(u|v|f)+(w<<f>>>15)|0;f=j>>>(f+7|0)&1|f<<1}while(0);i=49368+(f<<2)|0;c[x+(o+28)>>2]=f;c[x+(o+20)>>2]=0;c[x+(o+16)>>2]=0;h=c[12267]|0;g=1<<f;if(!(h&g)){c[12267]=h|g;c[i>>2]=n;c[x+(o+24)>>2]=i;c[x+(o+12)>>2]=n;c[x+(o+8)>>2]=n;break}d=c[i>>2]|0;if((f|0)==31)i=0;else i=25-(f>>>1)|0;j:do if((c[d+4>>2]&-8|0)!=(j|0)){h=j<<i;while(1){b=d+(h>>>31<<2)+16|0;i=c[b>>2]|0;if(!i)break;if((c[i+4>>2]&-8|0)==(j|0)){Q=i;break j}else{h=h<<1;d=i}}if(b>>>0<(c[12270]|0)>>>0)Kb();else{c[b>>2]=n;c[x+(o+24)>>2]=d;c[x+(o+12)>>2]=n;c[x+(o+8)>>2]=n;break h}}else Q=d;while(0);d=Q+8|0;b=c[d>>2]|0;w=c[12270]|0;if(Q>>>0>=w>>>0&b>>>0>=w>>>0){c[b+12>>2]=n;c[d>>2]=n;c[x+(o+8)>>2]=b;c[x+(o+12)>>2]=Q;c[x+(o+24)>>2]=0;break}else Kb()}else{w=(c[12269]|0)+m|0;c[12269]=w;c[12272]=n;c[x+(o+4)>>2]=w|1}while(0);w=x+(p|8)|0;return w|0}h=49512|0;while(1){i=c[h>>2]|0;if(i>>>0<=l>>>0?(g=c[h+4>>2]|0,j=i+g|0,j>>>0>l>>>0):0)break;h=c[h+8>>2]|0}h=i+(g+-39)|0;if(!(h&7))h=0;else h=0-h&7;g=i+(g+-47+h)|0;g=g>>>0<(l+16|0)>>>0?l:g;h=g+8|0;i=x+8|0;if(!(i&7))i=0;else i=0-i&7;w=a+-40-i|0;c[12272]=x+i;c[12269]=w;c[x+(i+4)>>2]=w|1;c[x+(a+-36)>>2]=40;c[12273]=c[12388];c[g+4>>2]=27;c[h+0>>2]=c[12378];c[h+4>>2]=c[12379];c[h+8>>2]=c[12380];c[h+12>>2]=c[12381];c[12378]=x;c[12379]=a;c[12381]=0;c[12380]=h;i=g+28|0;c[i>>2]=7;if((g+32|0)>>>0<j>>>0)do{w=i;i=i+4|0;c[i>>2]=7}while((w+8|0)>>>0<j>>>0);if((g|0)!=(l|0)){j=g-l|0;i=l+(j+4)|0;c[i>>2]=c[i>>2]&-2;c[l+4>>2]=j|1;c[l+j>>2]=j;i=j>>>3;if(j>>>0<256){h=i<<1;f=49104+(h<<2)|0;g=c[12266]|0;i=1<<i;do if(!(g&i)){c[12266]=g|i;K=49104+(h+2<<2)|0;L=f}else{d=49104+(h+2<<2)|0;b=c[d>>2]|0;if(b>>>0>=(c[12270]|0)>>>0){K=d;L=b;break}Kb()}while(0);c[K>>2]=l;c[L+12>>2]=l;c[l+8>>2]=L;c[l+12>>2]=f;break}d=j>>>8;if(d)if(j>>>0>16777215)i=31;else{v=(d+1048320|0)>>>16&8;w=d<<v;u=(w+520192|0)>>>16&4;w=w<<u;i=(w+245760|0)>>>16&2;i=14-(u|v|i)+(w<<i>>>15)|0;i=j>>>(i+7|0)&1|i<<1}else i=0;d=49368+(i<<2)|0;c[l+28>>2]=i;c[l+20>>2]=0;c[l+16>>2]=0;b=c[12267]|0;e=1<<i;if(!(b&e)){c[12267]=b|e;c[d>>2]=l;c[l+24>>2]=d;c[l+12>>2]=l;c[l+8>>2]=l;break}d=c[d>>2]|0;if((i|0)==31)b=0;else b=25-(i>>>1)|0;k:do if((c[d+4>>2]&-8|0)!=(j|0)){i=j<<b;while(1){b=d+(i>>>31<<2)+16|0;e=c[b>>2]|0;if(!e)break;if((c[e+4>>2]&-8|0)==(j|0)){M=e;break k}else{i=i<<1;d=e}}if(b>>>0<(c[12270]|0)>>>0)Kb();else{c[b>>2]=l;c[l+24>>2]=d;c[l+12>>2]=l;c[l+8>>2]=l;break g}}else M=d;while(0);d=M+8|0;b=c[d>>2]|0;w=c[12270]|0;if(M>>>0>=w>>>0&b>>>0>=w>>>0){c[b+12>>2]=l;c[d>>2]=l;c[l+8>>2]=b;c[l+12>>2]=M;c[l+24>>2]=0;break}else KbKb();f=c[a+-4>>2]|0;e=f&3;if((e|0)==1)Kb();o=f&-8;q=a+(o+-8)|0;do if(!(f&1)){g=c[g>>2]|0;if(!e)return;i=-8-g|0;l=a+i|0;m=g+o|0;if(l>>>0<h>>>0)Kb();if((l|0)==(c[12271]|0)){g=a+(o+-4)|0;f=c[g>>2]|0;if((f&3|0)!=3){u=l;k=m;break}c[12268]=m;c[g>>2]=f&-2;c[a+(i+4)>>2]=m|1;c[q>>2]=m;return}d=g>>>3;if(g>>>0<256){e=c[a+(i+8)>>2]|0;f=c[a+(i+12)>>2]|0;g=49104+(d<<1<<2)|0;if((e|0)!=(g|0)){if(e>>>0<h>>>0)Kb();if((c[e+12>>2]|0)!=(l|0))Kb()}if((f|0)==(e|0)){c[12266]=c[12266]&~(1<<d);u=l;k=m;break}if((f|0)!=(g|0)){if(f>>>0<h>>>0)Kb();g=f+8|0;if((c[g>>2]|0)==(l|0))b=g;else Kb()}else b=f+8|0;c[e+12>>2]=f;c[b>>2]=e;u=l;k=m;break}b=c[a+(i+24)>>2]|0;e=c[a+(i+12)>>2]|0;do if((e|0)==(l|0)){f=a+(i+20)|0;g=c[f>>2]|0;if(!g){f=a+(i+16)|0;g=c[f>>2]|0;if(!g){j=0;break}}while(1){e=g+20|0;d=c[e>>2]|0;if(d){g=d;f=e;continue}e=g+16|0;d=c[e>>2]|0;if(!d)break;else{g=d;f=e}}if(f>>>0<h>>>0)Kb();else{c[f>>2]=0;j=g;break}}else{d=c[a+(i+8)>>2]|0;if(d>>>0<h>>>0)Kb();g=d+12|0;if((c[g>>2]|0)!=(l|0))Kb();f=e+8|0;if((c[f>>2]|0)==(l|0)){c[g>>2]=e;c[f>>2]=d;j=e;break}else Kb()}while(0);if(b){g=c[a+(i+28)>>2]|0;f=49368+(g<<2)|0;if((l|0)==(c[f>>2]|0)){c[f>>2]=j;if(!j){c[12267]=c[12267]&~(1<<g);u=l;k=m;break}}else{if(b>>>0<(c[12270]|0)>>>0)Kb();g=b+16|0;if((c[g>>2]|0)==(l|0))c[g>>2]=j;else c[b+20>>2]=j;if(!j){u=l;k=m;break}}f=c[12270]|0;if(j>>>0<f>>>0)Kb();c[j+24>>2]=b;g=c[a+(i+16)>>2]|0;do if(g)if(g>>>0<f>>>0)Kb();else{c[j+16>>2]=g;c[g+24>>2]=j;break}while(0);g=c[a+(i+20)>>2]|0;if(g)if(g>>>0<(c[12270]|0)>>>0)Kb();else{c[j+20>>2]=g;c[g+24>>2]=j;u=l;k=m;break}else{u=l;k=m}}else{u=l;k=m}}else{u=g;k=o}while(0);if(u>>>0>=q>>>0)Kb();g=a+(o+-4)|0;f=c[g>>2]|0;if(!(f&1))Kb();if(!(f&2)){if((q|0)==(c[12272]|0)){l=(c[12269]|0)+k|0;c[12269]=l;c[12272]=u;c[u+4>>2]=l|1;if((u|0)!=(c[12271]|0))return;c[12271]=0;c[12268]=0;return}if((q|0)==(c[12271]|0)){l=(c[12268]|0)+k|0;c[12268]=l;c[12271]=u;c[u+4>>2]=l|1;c[u+l>>2]=l;return}h=(f&-8)+k|0;b=f>>>3;do if(f>>>0>=256){b=c[a+(o+16)>>2]|0;g=c[a+(o|4)>>2]|0;do if((g|0)==(q|0)){f=a+(o+12)|0;g=c[f>>2]|0;if(!g){f=a+(o+8)|0;g=c[f>>2]|0;if(!g){p=0;break}}while(1){e=g+20|0;d=c[e>>2]|0;if(d){g=d;f=e;continue}e=g+16|0;d=c[e>>2]|0;if(!d)break;else{g=d;f=e}}if(f>>>0<(c[12270]|0)>>>0)Kb();else{c[f>>2]=0;p=g;break}}else{f=c[a+o>>2]|0;if(f>>>0<(c[12270]|0)>>>0)Kb();e=f+12|0;if((c[e>>2]|0)!=(q|0))Kb();d=g+8|0;if((c[d>>2]|0)==(q|0)){c[e>>2]=g;c[d>>2]=f;p=g;break}else Kb()}while(0);if(b){g=c[a+(o+20)>>2]|0;f=49368+(g<<2)|0;if((q|0)==(c[f>>2]|0)){c[f>>2]=p;if(!p){c[12267]=c[12267]&~(1<<g);break}}else{if(b>>>0<(c[12270]|0)>>>0)Kb();g=b+16|0;if((c[g>>2]|0)==(q|0))c[g>>2]=p;else c[b+20>>2]=p;if(!p)break}g=c[12270]|0;if(p>>>0<g>>>0)Kb();c[p+24>>2]=b;f=c[a+(o+8)>>2]|0;do if(f)if(f>>>0<g>>>0)Kb();else{c[p+16>>2]=f;c[f+24>>2]=p;break}while(0);d=c[a+(o+12)>>2]|0;if(d)if(d>>>0<(c[12270]|0)>>>0)Kb();else{c[p+20>>2]=d;c[d+24>>2]=p;break}}}else{d=c[a+o>>2]|0;e=c[a+(o|4)>>2]|0;g=49104+(b<<1<<2)|0;if((d|0)!=(g|0)){if(d>>>0<(c[12270]|0)>>>0)Kb();if((c[d+12>>2]|0)!=(q|0))Kb()}if((e|0)==(d|0)){c[12266]=c[12266]&~(1<<b);break}if((e|0)!=(g|0)){if(e>>>0<(c[12270]|0)>>>0)Kb();f=e+8|0;if((c[f>>2]|0)==(q|0))n=f;else Kb()}else n=e+8|0;c[d+12>>2]=e;c[n>>2]=d}while(0);c[u+4>>2]=h|1;c[u+h>>2]=h;if((u|0)==(c[12271]|0)){c[12268]=h;return}else g=h}else{c[g>>2]=f&-2;c[u+4>>2]=k|1;c[u+k>>2]=k;g=k}f=g>>>3;if(g>>>0<256){e=f<<1;g=49104+(e<<2)|0;b=c[12266]|0;d=1<<f;if(b&d){d=49104+(e+2<<2)|0;b=c[d>>2]|0;if(b>>>0<(c[12270]|0)>>>0)Kb();else{r=d;s=b}}else{c[12266]=b|d;r=49104+(e+2<<2)|0;s=g}c[r>>2]=u;c[s+12>>2]=u;c[u+8>>2]=s;c[u+12>>2]=g;return}b=g>>>8;if(b)if(g>>>0>16777215)f=31;else{k=(b+1048320|0)>>>16&8;l=b<<k;j=(l+520192|0)>>>16&4;l=l<<j;f=(l+245760|0)>>>16&2;f=14-(j|k|f)+(l<<f>>>15)|0;f=g>>>(f+7|0)&1|f<<1}else f=0;d=49368+(f<<2)|0;c[u+28>>2]=f;c[u+20>>2]=0;c[u+16>>2]=0;b=c[12267]|0;e=1<<f;a:do if(b&e){d=c[d>>2]|0;if((f|0)==31)b=0;else b=25-(f>>>1)|0;b:do if((c[d+4>>2]&-8|0)!=(g|0)){f=g<<b;while(1){b=d+(f>>>31<<2)+16|0;e=c[b>>2]|0;if(!e)break;if((c[e+4>>2]&-8|0)==(g|0)){t=e;break b}else{f=f<<1;d=e}}if(b>>>0<(c[12270]|0)>>>0)Kb();else{c[b>>2]=u;c[u+24>>2]=d;c[u+12>>2]=u;c[u+8>>2]=u;break a}}else t=d;while(0);b=t+8|0;d=c[b>>2]|0;l=c[12270]|0;if(t>>>0>=l>>>0&d>>>0>=l>>>0){c[d+12>>2]=u;c[b>>2]=u;c[u+8>>2]=d;c[u+12>>2]=t;c[u+24>>2]=0;break}else Kb()}else{c[12267]=b|e;c[d>>2]=u;c[u+24>>2]=d;c[u+12>>2]=u;c[u+8>>2]=u}while(0);l=(c[12274]|0)+-1|0;c[12274]=l;if(!l)b=49520|0;else return;while(1){b=c[b>>2]|0;if(!b)break;else b=b+8|0}c[12274]=-1;return}function Uv(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){d=Sv(b)|0;return d|0}if(b>>>0>4294967231){c[(Db()|0)>>2]=12;d=0;return d|0}if(b>>>0<11)d=16;else d=b+11&-8;d=Yv(a+-8|0,d)|0;if(d){d=d+8|0;return d|0}d=Sv(b)|0;if(!d){d=0;return d|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;gw(d|0,a|0,(e>>>0<b>>>0?e:b)|0)|0;Tv(a);return d|0}function Vv(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!d){b=0;return b|0}else{f=d;e=b}while(1){d=a[e>>0]|0;b=a[c>>0]|0;if(d<<24>>24!=b<<24>>24)break;f=f+-1|0;if(!f){b=0;g=5;break}else{e=e+1|0;c=c+1|0}}if((g|0)==5)return b|0;b=(d&255)-(b&255)|0;return b|0}function Wv(b,c){b=b|0;c=c|0;var d=0,e=0;e=a[b>>0]|0;d=a[c>>0]|0;if(e<<24>>24==0?1:e<<24>>24!=d<<24>>24)c=e;else{do{b=b+1|0;c=c+1|0;e=a[b>>0]|0;d=a[c>>0]|0}while(!(e<<24>>24==0?1:e<<24>>24!=d<<24>>24));c=e}return (c&255)-(d&255)|0}function Xv(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0;if(!e){c=0;return c|0}f=a[b>>0]|0;a:do if(!(f<<24>>24))f=0;else while(1){e=e+-1|0;g=a[c>>0]|0;if(!(g<<24>>24!=0&(e|0)!=0&f<<24>>24==g<<24>>24))break a;b=b+1|0;c=c+1|0;f=a[b>>0]|0;if(!(f<<24>>24)){f=0;break}}while(0);c=(f&255)-(d[c>>0]|0)|0;return c|0}function Yv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=a+4|0;p=c[o>>2]|0;j=p&-8;l=a+j|0;i=c[12270]|0;e=p&3;if(!((e|0)!=1&a>>>0>=i>>>0&a>>>0<l>>>0))Kb();d=a+(j|4)|0;g=c[d>>2]|0;if(!(g&1))Kb();if(!e){if(b>>>0<256){m=0;return m|0}if(j>>>0>=(b+4|0)>>>0?(j-b|0)>>>0<=c[12386]<<1>>>0:0){m=a;return m|0}m=0;return m|0}if(j>>>0>=b>>>0){e=j-b|0;if(e>>>0<=15){m=a;return m|0}c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=e|3;c[d>>2]=c[d>>2]|1;Zv(a+b|0,e);m=a;return m|0}if((l|0)==(c[12272]|0)){e=(c[12269]|0)+j|0;if(e>>>0<=b>>>0){m=0;return m|0}m=e-b|0;c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=m|1;c[12272]=a+b;c[12269]=m;m=a;return m|0}if((l|0)==(c[12271]|0)){e=(c[12268]|0)+j|0;if(e>>>0<b>>>0){m=0;return m|0}d=e-b|0;if(d>>>0>15){c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=d|1;c[a+e>>2]=d;e=a+(e+4)|0;c[e>>2]=c[e>>2]&-2;e=a+b|0}else{c[o>>2]=p&1|e|2;e=a+(e+4)|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[12268]=d;c[12271]=e;m=a;return m|0}if(g&2){m=0;return m|0}m=(g&-8)+j|0;if(m>>>0<b>>>0){m=0;return m|0}n=m-b|0;f=g>>>3;do if(g>>>0>=256){h=c[a+(j+24)>>2]|0;g=c[a+(j+12)>>2]|0;do if((g|0)==(l|0)){d=a+(j+20)|0;e=c[d>>2]|0;if(!e){d=a+(j+16)|0;e=c[d>>2]|0;if(!e){k=0;break}}while(1){f=e+20|0;g=c[f>>2]|0;if(g){e=g;d=f;continue}g=e+16|0;f=c[g>>2]|0;if(!f)break;else{e=f;d=g}}if(d>>>0<i>>>0)Kb();else{c[d>>2]=0;k=e;break}}else{f=c[a+(j+8)>>2]|0;if(f>>>0<i>>>0)Kb();e=f+12|0;if((c[e>>2]|0)!=(l|0))Kb();d=g+8|0;if((c[d>>2]|0)==(l|0)){c[e>>2]=g;c[d>>2]=f;k=g;break}else Kb()}while(0);if(h){e=c[a+(j+28)>>2]|0;d=49368+(e<<2)|0;if((l|0)==(c[d>>2]|0)){c[d>>2]=k;if(!k){c[12267]=c[12267]&~(1<<e);break}}else{if(h>>>0<(c[12270]|0)>>>0)Kb();e=h+16|0;if((c[e>>2]|0)==(l|0))c[e>>2]=k;else c[h+20>>2]=k;if(!k)break}d=c[12270]|0;if(k>>>0<d>>>0)Kb();c[k+24>>2]=h;e=c[a+(j+16)>>2]|0;do if(e)if(e>>>0<d>>>0)Kb();else{c[k+16>>2]=e;c[e+24>>2]=k;break}while(0);e=c[a+(j+20)>>2]|0;if(e)if(e>>>0<(c[12270]|0)>>>0)Kb();else{c[k+20>>2]=e;c[e+24>>2]=k;break}}}else{g=c[a+(j+8)>>2]|0;d=c[a+(j+12)>>2]|0;e=49104+(f<<1<<2)|0;if((g|0)!=(e|0)){if(g>>>0<i>>>0)Kb();if((c[g+12>>2]|0)!=(l|0))Kb()}if((d|0)==(g|0)){c[12266]=c[12266]&~(1<<f);break}if((d|0)!=(e|0)){if(d>>>0<i>>>0)Kb();e=d+8|0;if((c[e>>2]|0)==(l|0))h=e;else Kb()}else h=d+8|0;c[g+12>>2]=d;c[h>>2]=g}while(0);if(n>>>0<16){c[o>>2]=m|p&1|2;m=a+(m|4)|0;c[m>>2]=c[m>>2]|1;m=a;return m|0}else{c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=n|3;m=a+(m|4)|0;c[m>>2]=c[m>>2]|1;Zv(a+b|0,n);m=a;return m|0}return 0}function Zv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=a+b|0;h=c[a+4>>2]|0;do if(!(h&1)){j=c[a>>2]|0;if(!(h&3))return;n=a+(0-j)|0;m=j+b|0;i=c[12270]|0;if(n>>>0<i>>>0)Kb();if((n|0)==(c[12271]|0)){g=a+(b+4)|0;h=c[g>>2]|0;if((h&3|0)!=3){t=n;l=m;break}c[12268]=m;c[g>>2]=h&-2;c[a+(4-j)>>2]=m|1;c[q>>2]=m;return}e=j>>>3;if(j>>>0<256){f=c[a+(8-j)>>2]|0;g=c[a+(12-j)>>2]|0;h=49104+(e<<1<<2)|0;if((f|0)!=(h|0)){if(f>>>0<i>>>0)Kb();if((c[f+12>>2]|0)!=(n|0))Kb()}if((g|0)==(f|0)){c[12266]=c[12266]&~(1<<e);t=n;l=m;break}if((g|0)!=(h|0)){if(g>>>0<i>>>0)Kb();h=g+8|0;if((c[h>>2]|0)==(n|0))d=h;else Kb()}else d=g+8|0;c[f+12>>2]=g;c[d>>2]=f;t=n;l=m;break}d=c[a+(24-j)>>2]|0;f=c[a+(12-j)>>2]|0;do if((f|0)==(n|0)){f=16-j|0;g=a+(f+4)|0;h=c[g>>2]|0;if(!h){g=a+f|0;h=c[g>>2]|0;if(!h){k=0;break}}while(1){f=h+20|0;e=c[f>>2]|0;if(e){h=e;g=f;continue}f=h+16|0;e=c[f>>2]|0;if(!e)break;else{h=e;g=f}}if(g>>>0<i>>>0)Kb();else{c[g>>2]=0;k=h;break}}else{e=c[a+(8-j)>>2]|0;if(e>>>0<i>>>0)Kb();h=e+12|0;if((c[h>>2]|0)!=(n|0))Kb();g=f+8|0;if((c[g>>2]|0)==(n|0)){c[h>>2]=f;c[g>>2]=e;k=f;break}else Kb()}while(0);if(d){h=c[a+(28-j)>>2]|0;g=49368+(h<<2)|0;if((n|0)==(c[g>>2]|0)){c[g>>2]=k;if(!k){c[12267]=c[12267]&~(1<<h);t=n;l=m;break}}else{if(d>>>0<(c[12270]|0)>>>0)Kb();h=d+16|0;if((c[h>>2]|0)==(n|0))c[h>>2]=k;else c[d+20>>2]=k;if(!k){t=n;l=m;break}}f=c[12270]|0;if(k>>>0<f>>>0)Kb();c[k+24>>2]=d;h=16-j|0;g=c[a+h>>2]|0;do if(g)if(g>>>0<f>>>0)Kb();else{c[k+16>>2]=g;c[g+24>>2]=k;break}while(0);h=c[a+(h+4)>>2]|0;if(h)if(h>>>0<(c[12270]|0)>>>0)Kb();else{c[k+20>>2]=h;c[h+24>>2]=k;t=n;l=m;break}else{t=n;l=m}}else{t=n;l=m}}else{t=a;l=b}while(0);i=c[12270]|0;if(q>>>0<i>>>0)Kb();h=a+(b+4)|0;g=c[h>>2]|0;if(!(g&2)){if((q|0)==(c[12272]|0)){m=(c[12269]|0)+l|0;c[12269]=m;c[12272]=t;c[t+4>>2]=m|1;if((t|0)!=(c[12271]|0))return;c[12271]=0;c[12268]=0;return}if((q|0)==(c[12271]|0)){m=(c[12268]|0)+l|0;c[12268]=m;c[12271]=t;c[t+4>>2]=m|1;c[t+m>>2]=m;return}j=(g&-8)+l|0;d=g>>>3;do if(g>>>0>=256){d=c[a+(b+24)>>2]|0;f=c[a+(b+12)>>2]|0;do if((f|0)==(q|0)){g=a+(b+20)|0;h=c[g>>2]|0;if(!h){g=a+(b+16)|0;h=c[g>>2]|0;if(!h){p=0;break}}while(1){f=h+20|0;e=c[f>>2]|0;if(e){h=e;g=f;continue}f=h+16|0;e=c[f>>2]|0;if(!e)break;else{h=e;g=f}}if(g>>>0<i>>>0)Kb();else{c[g>>2]=0;p=h;break}}else{e=c[a+(b+8)>>2]|0;if(e>>>0<i>>>0)Kb();h=e+12|0;if((c[h>>2]|0)!=(q|0))Kb();g=f+8|0;if((c[g>>2]|0)==(q|0)){c[h>>2]=f;c[g>>2]=e;p=f;break}else Kb()}while(0);if(d){h=c[a+(b+28)>>2]|0;g=49368+(h<<2)|0;if((q|0)==(c[g>>2]|0)){c[g>>2]=p;if(!p){c[12267]=c[12267]&~(1<<h);break}}else{if(d>>>0<(c[12270]|0)>>>0)Kb();g=d+16|0;if((c[g>>2]|0)==(q|0))c[g>>2]=p;else c[d+20>>2]=p;if(!p)break}f=c[12270]|0;if(p>>>0<f>>>0)Kb();c[p+24>>2]=d;g=c[a+(b+16)>>2]|0;do if(g)if(g>>>0<f>>>0)Kb();else{c[p+16>>2]=g;c[g+24>>2]=p;break}while(0);f=c[a+(b+20)>>2]|0;if(f)if(f>>>0<(c[12270]|0)>>>0)Kb();else{c[p+20>>2]=f;c[f+24>>2]=p;break}}}else{e=c[a+(b+8)>>2]|0;f=c[a+(b+12)>>2]|0;h=49104+(d<<1<<2)|0;if((e|0)!=(h|0)){if(e>>>0<i>>>0)Kb();if((c[e+12>>2]|0)!=(q|0))Kb()}if((f|0)==(e|0)){c[12266]=c[12266]&~(1<<d);break}if((f|0)!=(h|0)){if(f>>>0<i>>>0)Kb();g=f+8|0;if((c[g>>2]|0)==(q|0))o=g;else Kb()}else o=f+8|0;c[e+12>>2]=f;c[o>>2]=e}while(0);c[t+4>>2]=j|1;c[t+j>>2]=j;if((t|0)==(c[12271]|0)){c[12268]=j;return}else h=j}else{c[h>>2]=g&-2;c[t+4>>2]=l|1;c[t+l>>2]=l;h=l}g=h>>>3;if(h>>>0<256){e=g<<1;h=49104+(e<<2)|0;d=c[12266]|0;f=1<<g;if(d&f){f=49104+(e+2<<2)|0;e=c[f>>2]|0;if(e>>>0<(c[12270]|0)>>>0)Kb();else{r=f;s=e}}else{c[12266]=d|f;r=49104+(e+2<<2)|0;s=h}c[r>>2]=t;c[s+12>>2]=t;c[t+8>>2]=s;c[t+12>>2]=h;return}d=h>>>8;if(d)if(h>>>0>16777215)g=31;else{l=(d+1048320|0)>>>16&8;m=d<<l;k=(m+520192|0)>>>16&4;m=m<<k;g=(m+245760|0)>>>16&2;g=14-(k|l|g)+(m<<g>>>15)|0;g=h>>>(g+7|0)&1|g<<1}else g=0;f=49368+(g<<2)|0;c[t+28>>2]=g;c[t+20>>2]=0;c[t+16>>2]=0;e=c[12267]|0;d=1<<g;if(!(e&d)){c[12267]=e|d;c[f>>2]=t;c[t+24>>2]=f;c[t+12>>2]=t;c[t+8>>2]=t;return}d=c[f>>2]|0;if((g|0)==31)e=0;else e=25-(g>>>1)|0;a:do if((c[d+4>>2]&-8|0)!=(h|0)){g=h<<e;while(1){e=d+(g>>>31<<2)+16|0;f=c[e>>2]|0;if(!f)break;if((c[f+4>>2]&-8|0)==(h|0)){d=f;break a}else{g=g<<1;d=f}}if(e>>>0<(c[12270]|0)>>>0)Kb();c[e>>2]=t;c[t+24>>2]=d;c[t+12>>2]=t;c[t+8>>2]=t;return}while(0);e=d+8|0;f=c[e>>2]|0;m=c[12270]|0;if(!(d>>>0>=m>>>0&f>>>0>=m>>>0))Kb