Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Ia

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.SAFE_HEAP_LOAD;var ea=env.SAFE_HEAP_STORE;var fa=env.SAFE_FT_MASK;var ga=env.nullFunc_iiiiiiii;var ha=env.nullFunc_iiii;var ia=env.nullFunc_viiiiii;var ja=env.nullFunc_vi;var ka=env.nullFunc_viiiii;var la=env.nullFunc_dii;var ma=env.nullFunc_vid;var na=env.nullFunc_di;var oa=env.nullFunc_i;var pa=env.nullFunc_iiiiiiiiii;var qa=env.nullFunc_vii;var ra=env.nullFunc_iiiiiii;var sa=env.nullFunc_ii;var ta=env.nullFunc_viii;var ua=env.nullFunc_v;var va=env.nullFunc_iiiiiiiii;var wa=env.nullFunc_iiiii;var xa=env.nullFunc_viiii;var ya=env.nullFunc_iii;var za=env.nullFunc_iiid;var Aa=env.nullFunc_iiiiii;var Ba=env.invoke_iiiiiiii;var Ca=env.invoke_iiii;var Da=env.invoke_viiiiii;var Ea=env.invoke_vi;var Fa=env.invoke_viiiii;var Ga=env.invoke_dii;var Ha=env.invoke_vid;var Ia=env.invoke_di;var Ja=env.invoke_i;var Ka=env.invoke_iiiiiiiiii;var La=env.invoke_vii;var Ma=env.invoke_iiiiiii;var Na=env.invoke_ii;var Oa=env.invoke_viii;var Pa=env.invoke_v;var Qa=env.invoke_iiiiiiiii;var Ra=env.invoke_iiiii;var Sa=env.invoke_viiii;var Ta=env.invoke_iii;var Ua=env.invoke_iiid;var Va=env.invoke_iiiiii;var Wa=env._dlerror;var Xa=env._utimes;var Ya=env._getuid;var Za=env._send;var _a=env._dlsym;var $a=env._mknod;var ab=env._chown;var bb=env._lseek;var cb=env._emscripten_set_main_loop_timing;var db=env._access;var eb=env._fstat;var fb=env._chmod;var gb=env._rmdir;var hb=env.___assert_fail;var ib=env._usleep;var jb=env.___buildEnvironment;var kb=env._fflush;var lb=env._pwrite;var mb=env._strerror_r;var nb=env._localtime_r;var ob=env._tzset;var pb=env._open;var qb=env._getpid;var rb=env._sbrk;var sb=env._fcntl;var tb=env._emscripten_memcpy_big;var ub=env._unlink;var vb=env._sysconf;var wb=env._fchmod;var xb=env.___setErrNo;var yb=env._ftruncate;var zb=env._mkdir;var Ab=env._pread;var Bb=env._mkport;var Cb=env._dlopen;var Db=env._dlclose;var Eb=env._write;var Fb=env._fsync;var Gb=env.___errno_location;var Hb=env._stat;var Ib=env._recv;var Jb=env._geteuid;var Kb=env._getenv;var Lb=env._sleep;var Mb=env._emscripten_set_main_loop;var Nb=env._abort;var Ob=env._time;var Pb=env._fchown;var Qb=env._strerror;var Rb=env._gettimeofday;var Sb=env._munmap;var Tb=env._mmap;var Ub=env._localtime;var Vb=env._getcwd;var Wb=env._close;var Xb=env._read;var Yb=env._truncate;var Zb=0.0;
6 |0)|0;while(1){e=bu(a,da(d|0,4,0,0)|0|0)|0;if(!e)e=da(f|0,4,0,0)|0|0;b=h-c|0;ea(i+(b<<2)+20|0,e|0,4,0);ea((da(g|0,4,0,0)|0|0)+b>>0|0,da(d+12>>0|0,1,0,0)|0|0|0,1,0);h=h+1|0;if((h|0)==(j|0))break;else d=d+20|0}}return i|0}function Us(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=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,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,_=0,$=0,aa=0,ca=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;Ja=i;i=i+64|0;if((i|0)>=(j|0))ba();Ha=Ja;Iaia=a+68|0;ja=a+100|0;ka=a+19|0;la=a+72|0;ma=Ha+20|0;na=Ha+4|0;oa=Ha+24|0;l=-1;k=-1;pa=0;while(1){Q=qa+(pa*80|0)|0;t=qa+(pa*80|0)+64|0;S=qa+(pa*80|0)+44|0;if((da((da(t|0,4,0,0)|0|0)+36|0,4,0,0)|0)&16384){A=da(S>>0|0,1,0,1)|0|0;M=b+(A*72|0)+8|0;R=da(Ea|0,4,0,0)|0|0;p=Nq(a)|0;T=da(ha|0,4,0,0)|0|0;ea(ha|0,T+1|0,4,0);T=vh(p,44,T,0,0)|0;p=da(b+(A*72|0)+24|0,4,0,0)|0|0;Z=da(sa|0,4,0,0)|0|0;c=da(ta|0,4,0,0)|0|0;L=c+(Z*48|0)|0;D=da(t|0,4,0,0)|0|0;x:do if((Z|0)>0){r=b+(A*72|0)+48|0;n=p+4|0;o=D+48|0;u=0;t=0;x=0;m=0;s=c;w=0;while(1){c=da(s|0,4,0,0)|0|0;Z=D;do if((da(Z|0,4,0,0)|0|0)==0&(da(Z+4|0,4,0,0)|0|0)==0){if((da(s+20|0,2,0,0)|0)&2)break;if((da(c+4|0,4,0,0)|0)&1)break;Z=da(r|0,4,0,0)|0|0;ea(Ha+0|0,0|0,4,0);ea(Ha+4|0,0|0,4,0);ea(Ha+8|0,0|0,4,0);ea(Ha+12|0,0|0,4,0);ea(Ha+16|0,0|0,4,0);ea(Ha+20|0,0|0,4,0);ea(ma>>0|0,3|0,1,0);ea(Ha|0,78|0,4,0);ea(na|0,79|0,4,0);ea(oa|0,Z|0,4,0);qs(Ha,c)|0;if(!(da(ma>>0|0,1,0,0)|0))break;Z=da(a|0,4,0,0)|0|0;m=rs(Z,m,Lr(Z,c,0,0)|0)|0}while(0);do if(!(Lu(s,M,l,k)|0))c=x;else{v=da(s+12|0,4,0,0)|0|0;if((v|0)>63){z=0;y=-2147483648}else{z=hw(1,0,v|0)|0;y=C}if(!(w<<24>>24)){w=da((da(n|0,4,0,0)|0|0)+(v*24|0)|0,4,0,0)|0|0;ea(Ha|0,da(p|0,4,0,0)|0|0,4,0);ea(Ha+4|0,w|0,4,0);ad(284,33960,Ha);w=1}if(!((z&u|0)==0&(y&t|0)==0)){c=x;break}c=x+1|0;if(Mu(da(a|0,4,0,0)|0|0,D,c)|0)break x;ea((da(o|0,4,0,0)|0|0)+(x<<2)|0,s|0,4,0);u=z|u;t=y|t}while(0);s=s+48|0;if(s>>>0>=L>>>0){ra=207;break}else x=c}}else{t=0;u=0;c=0;m=0;ra=207}while(0);do if((ra|0)==207){ra=0;s=c&65535;ea(D+40|0,s|0,2,0);ea(D+24|0,s|0,2,0);s=D+36|0;ea(s|0,16961|0,4,0);q=b+(A*72|0)+64|0;E=q;y=da(E+4|0,4,0,0)|0|0;E=(da(E|0,4,0,0)|0)&~u;G=y&((t|-2147483648)^2147483647);o=p+38|0;H=da(o|0,2,0,0)|0|0;z=H<<16>>16;H=H<<16>>16>63?63:z;J=(H|0)>0;if(J){v=0;do{Z=hw(1,0,v|0)|0;c=(((Z&E|0)!=0|(C&G|0)!=0)&1)+c|0;v=v+1|0}while((v|0)!=(H|0))}if((y|0)<0)c=c+-63+z|0;F=c+1|0;n=ts(da(a|0,4,0,0)|0|0,F&65535,0,Ia)|0;if(!n)break;ea(D+28|0,n|0,4,0);ea(n|0,33992|0,4,0);ea(n+12|0,p|0,4,0);v=da(ta|0,4,0,0)|0|0;if(v>>>0<L>>>0){u=n+4|0;t=n+32|0;y=0;z=0;r=0;do{do if(Lu(v,M,l,k)|0){x=da(v+12|0,4,0,0)|0|0;if((x|0)>63){w=0;c=-2147483648}else{w=hw(1,0,x|0)|0;c=C}if(!((w&y|0)==0&(c&z|0)==0))break;Z=da(v|0,4,0,0)|0|0;ea((da(u|0,4,0,0)|0|0)+(r<<1)|0,x|0,2,0);x=Nu(a,da(Z+12|0,4,0,0)|0|0,da(Z+16|0,4,0,0)|0|0)|0;if(!x)x=11152;else x=da(x|0,4,0,0)|0|0;ea((da(t|0,4,0,0)|0|0)+(r<<2)|0,x|0,4,0);y=w|y;z=c|z;r=r+1|0}while(0);v=v+48|0}while(v>>>0<L>>>0)}else r=0;if(J){c=n+4|0;u=n+32|0;t=0;do{Z=hw(1,0,t|0)|0;if(!((Z&E|0)==0&(C&G|0)==0)){ea((da(c|0,4,0,0)|0|0)+(r<<1)|0,t|0,2,0);ea((da(u|0,4,0,0)|0|0)+(r<<2)|0,11152|0,4,0);r=r+1|0}t=t+1|0}while((t|0)!=(H|0))}do if((da(q+4|0,4,0,0)|0|0)<0){if((da(o|0,2,0,0)|0|0)<=63)break;c=n+4|0;u=n+32|0;t=63;do{ea((da(c|0,4,0,0)|0|0)+(r<<1)|0,t|0,2,0);ea((da(u|0,4,0,0)|0|0)+(r<<2)|0,11152|0,4,0);r=r+1|0;t=t+1|0}while((t|0)<(da(o|0,2,0,0)|0|0))}while(0);ea((da(n+4|0,4,0,0)|0|0)+(r<<1)|0,-1|0,2,0);ea((da(n+32|0,4,0,0)|0|0)+(r<<2)|0,11152|0,4,0);r=da(ia|0,4,0,0)|0|0;ea(ia|0,r+1|0,4,0);u=qa+(pa*80|0)+8|0;ea(u|0,r|0,4,0);vh(R,56,r,F,0)|0;r=da(Ea|0,4,0,0)|0|0;wh(r,-1,gs(a,n)|0,-6);ea(ja|0,(da(ja|0,4,0,0)|0|0)+1|0,4,0);r=qa+(pa*80|0)+4|0;v=vh(R,108,da(r|0,4,0,0)|0|0,0,0)|0;t=(m|0)!=0;if(t){Z=ws(R)|0;ft(a,m,Z,16);ea(s|0,da(s|0,4,0,0)|0|131072|0,4,0);s=Z}else s=0;c=da(ka>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){o=(da(la|0,4,0,0)|0|0)+1|0;ea(la|0,o|0,4,0)}else{o=c+-1<<24>>24;ea(ka>>0|0,o|0,1,0);o=da(a+((o&255)<<2)+24|0,4,0,0)|0|0}Ot(a,n,da(r|0,4,0,0)|0|0,o,0,0,0,0)|0;vh(R,110,da(u|0,4,0,0)|0|0,o,0)|0;n=R+4|0;c=da(n|0,4,0,0)|0|0;if(c)ea(c+(((da(R+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,16|0,1,0);if(t){u=da(R+24|0,4,0,0)|0|0;t=~s;do if((s|0)<0){c=da(u+112|0,4,0,0)|0|0;if(!c)break;ea(c+(t<<2)|0,da(R+32|0,4,0,0)|0|0,4,0)}while(0);ea(u+88|0,(da(R+32|0,4,0,0)|0|0)+-1|0,4,0)}vh(R,9,da(r|0,4,0,0)|0|0,v+1|0,0)|0;t=da(n|0,4,0,0)|0|0;s=da(R+32|0,4,0,0)|0|0;if(t)ea(t+((s+-1|0)*20|0)+3>>0|0,3|0,1,0);if(s>>>0>v>>>0)ea(t+(v*20|0)+8|0,s|0,4,0);t=R+24|0;ea((da(t|0,4,0,0)|0|0)+88|0,s+-1|0,4,0);Zr(a,o);au(a);q=da(R+32|0,4,0,0)|0|0;if(q>>>0>T>>>0)ea((da(n|0,4,0,0)|0|0)+(T*20|0)+8|0,q|0,4,0);ea((da(t|0,4,0,0)|0|0)+88|0,q+-1|0,4,0)}while(0);Fk(da(a|0,4,0,0)|0|0,m);if(da(ua>>0|0,1,0,0)|0)break b}Ou(a,b,Q,pa,da(S>>0|0,1,0,1)|0|0,f);ea(qa+(pa*80|0)+32|0,da(I|0,4,0,0)|0|0,4,0);aa=da(d|0,4,0,0)|0|0;F=aa+8|0;Y=da(F|0,4,0,0)|0|0;_=da(aa|0,4,0,0)|0|0;m=d+(pa*80|0)+736|0;E=da(d+(pa*80|0)+800|0,4,0,0)|0|0;W=d+(pa*80|0)+780|0;y=da(W>>0|0,1,0,1)|0|0;z=da(wa|0,4,0,0)|0|0;H=z+(y*72|0)+8|0;g=da(z+(y*72|0)+48|0,4,0,0)|0|0;u=da(Ba|0,4,0,0)|0|0;y:do if((u|0)>0){c=0;while(1){if((da(Ba+(c<<2)+4|0,4,0,0)|0|0)==(g|0))break;c=c+1|0;if((c|0)>=(u|0)){c=-1;u=-1;break y}}c=hw(1,0,c|0)|0;c=~c;u=~C}else{c=-1;u=-1}while(0);$=d+(pa*80|0)+808|0;G=$;ea(G|0,c&l|0,4,0);ea(G+4|0,u&k|0,4,0);G=ca;G=lw(da(G|0,4,0,0)|0|0,da(G+4|0,4,0,0)|0|0,pa|0)|0;V=G&1;P=E+36|0;if(!((da(P|0,4,0,0)|0)&64))K=0;else K=((da(ya|0,2,0,0)|0)&32)==0;x=ws(Y)|0;J=d+(pa*80|0)+752|0;ea(J|0,x|0,4,0);X=d+(pa*80|0)+748|0;ea(X|0,x|0,4,0);Z=ws(Y)|0;ea(d+(pa*80|0)+760|0,Z|0,4,0);do if(da(W>>0|0,1,0,0)|0){if(!((da(z+(y*72|0)+44>>0|0,1,0,0)|0)&8))break;U=aa+72|0;e=(da(U|0,4,0,0)|0|0)+1|0;ea(U|0,e|0,4,0);ea(m|0,e|0,4,0);vh(Y,25,0,e,0)|0}while(0);v=da(z+(y*72|0)+45>>0|0,1,0,0)|0|0;z:do if(!(v&4)){w=da(P|0,4,0,0)|0|0;if(w&1024){r=da(E+40|0,2,0,0)|0|0;n=r&65535;p=aa+100|0;ea(p|0,(da(p|0,4,0,0)|0|0)+1|0,4,0);p=n+2|0;q=aa+60|0;c=da(q|0,4,0,0)|0|0;A=aa+56|0;u=da(A|0,4,0,0)|0|0;if((u|0)<(p|0)){W=aa+72|0;o=da(W|0,4,0,0)|0|0;ea(W|0,o+p|0,4,0);o=o+1|0}else{ea(q|0,c+p|0,4,0);ea(A|0,u-p|0,4,0);o=c}t=da(X|0,4,0,0)|0|0;w=r<<16>>16==0;if(!w){y=o+2|0;x=E+48|0;z=0;do{v=y+z|0;c=da((da(x|0,4,0,0)|0|0)+(z<<2)|0,4,0,0)|0|0;do if(c)if(!((da(c+18|0,2,0,0)|0)&1)){Qq(aa,da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,v);break}else{Pu(aa,c,m,z,V,v)|0;t=da(J|0,4,0,0)|0|0;break}while(0);z=z+1|0}while((z|0)<(n|0))}vh(Y,25,da(E+24|0,4,0,0)|0|0,o,0)|0;vh(Y,25,n,o+1|0,0)|0;c=da(E+32|0,4,0,0)|0|0;u=E+28|0;X=(da(u>>0|0,1,0,0)|0|0)!=0?-11:-2;wh(Y,vh(Y,14,g,t,o)|0,c,X);ea(u>>0|0,0|0,1,0);if(!w){s=E+30|0;t=E+48|0;c=(r&65535)>1?0-n|0:-1;c=c>>>0>4294967280?0-c|0:16;u=0;do{if((da(s|0,2,0,1)|0)&1<<u)Qu(m,da((da(t|0,4,0,0)|0|0)+(u<<2)|0,4,0,0)|0|0);u=u+1|0}while((u|0)!=(c|0))}ea(d+(pa*80|0)+781>>0|0,-105|0,1,0);ea(d+(pa*80|0)+784|0,g|0,4,0);ea(d+(pa*80|0)+788|0,da(Y+32|0,4,0,0)|0|0,4,0);ct(aa,o,p);if((da(A|0,4,0,0)|0|0)<(p|0)){ea(A|0,p|0,4,0);ea(q|0,o|0,4,0)}au(aa);ra=459;break}if(!((w&256|0)==0|(w&5|0)==0)){q=da(da(E+48|0,4,0,0)|0|0,4,0,0)|0|0;X=aa+72|0;r=(da(X|0,4,0,0)|0|0)+1|0;ea(X|0,r|0,4,0);q=Pu(aa,q,m,0,V,r)|0;if((q|0)!=(r|0))Zr(aa,r);ra=da(J|0,4,0,0)|0|0;vh(Y,38,q,ra,0)|0;vh(Y,70,g,ra,q)|0;ct(aa,q,1);Ru(aa,g,-1,q);ea(d+(pa*80|0)+781>>0|0,-100|0,1,0);ra=459;break}if((w&258|0)==258){if(!(w&32)){c=0;t=0}else{c=1;t=da(da(E+48|0,4,0,0)|0|0,4,0,0)|0|0}if(!(w&16))c=0;else c=da((da(E+48|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0;u=(V|0)!=0;s=u?t:c;c=u?c:t;if(!c)vh(Y,u?105:108,g,x,0)|0;else{W=da(c|0,4,0,0)|0|0;X=_t(aa,da(W+16|0,4,0,0)|0|0,Ha)|0;vh(Y,da(33536+((da(W>>0|0,1,0,1)|0|0)+-80)>>0|0,1,0,1)|0|0,g,x,X)|0;ct(aa,X,1);Zr(aa,da(Ha|0,4,0,0)|0|0);Qu(m,c)}if(!s){t=0;c=156}else{X=da(s|0,4,0,0)|0|0;W=aa+72|0;t=(da(W|0,4,0,0)|0|0)+1|0;ea(W|0,t|0,4,0);Qq(aa,da(X+16|0,4,0,0)|0|0,t);X=da(X>>0|0,1,0,0)|0|0;if(X<<24>>24==80|X<<24>>24==82)c=V<<1^83;else c=V<<1|80;Qu(m,s)}u=Y+32|0;X=da(u|0,4,0,0)|0|0;ea(d+(pa*80|0)+781>>0|0,V^9|0,1,0);ea(d+(pa*80|0)+784|0,g|0,4,0);ea(d+(pa*80|0)+788|0,X|0,4,0);if((c|0)==156){ra=459;break}X=aa+72|0;q=(da(X|0,4,0,0)|0|0)+1|0;ea(X|0,q|0,4,0);vh(Y,103,g,q,0)|0;Ru(aa,g,-1,q);vh(Y,c,t,x,q)|0;q=da(Y+4|0,4,0,0)|0|0;if(!q){ra=459;break}ea(q+(((da(u|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,83|0,1,0);ra=459;break}if(w&512){F=da(E+24|0,2,0,0)|0|0;ea(Ga>>0|0,0|0,1,0);N=da(E+28|0,4,0,0)|0|0;Q=da(d+(pa*80|0)+744|0,4,0,0)|0|0;do if(!((da(ya|0,2,0,0)|0)&1)){y=0;v=0}else{if((da(fa>>0|0,1,0,0)|0|0)<=0){y=0;v=0;break}v=(da(N+46|0,2,0,1)|0|0)>(F&65535);y=v&1;v=v&1}while(0);c=F&65535;if(!(w&32)){z=c;A=0}else{z=c+1|0;v=1;A=da((da(E+48|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0}do if(!(w&16))t=0;else{t=da((da(E+48|0,4,0,0)|0|0)+(z<<2)|0,4,0,0)|0|0;if((da(t+20|0,2,0,0)|0)&256){W=aa+72|0;X=(da(W|0,4,0,0)|0|0)+1|0;ea(W|0,X|0,4,0);ea(d+(pa*80|0)+772|0,X|0,4,0);vh(Y,25,(da((da(N+28|0,4,0,0)|0|0)+c>>0|0,1,0,0)|0|0)==1^V,X,0)|0;ea(d+(pa*80|0)+776|0,da(Y+32|0,4,0,0)|0|0,4,0)}if(A){v=1;break}u=da((da(N+4|0,4,0,0)|0|0)+(c<<1)|0,2,0,0)|0|0;if(u<<16>>16<=-1){v=1;break}y=(da((da((da(N+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+((u<<16>>16)*24|0)+20>>0|0,1,0,0)|0|0)==0?1:y;v=1}while(0);D=Su(aa,m,V,v,Ia)|0;q=da(Ia|0|0;if(c)ea(c+(((da(m|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);vh(h,61,0,0,0)|0;Zr(a,f);b=da(b|0,4,0,0)|0|0}while((b|0)!=0)}return}function st(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;ea(e|0,c|0,4,0);if(!c)d=0;else{d=c;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-c&1073741823}ea(e+4|0,d|0,4,0);d=mr(a,b,e,0)|0;i=f;return d|0}function tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();g=m+4|0;l=m;if((da((da(a|0,4,0,0)|0|0)+24|0,4,0,0)|0)&524288){d=da(b+16|0,4,0,0)|0|0;if(!d)c=0;else{c=0;do{e=da(d+20|0,4,0,0)|0|0;if((e|0)>0){f=0;do{n=da(d+(f<<3)+36|0,4,0,0)|0|0;c=((n|0)>31?-1:1<<n)|c;f=f+1|0}while((f|0)<(e|0))}d=da(d+4|0,4,0,0)|0|0}while((d|0)!=0)}d=an((da(b+68|0,4,0,0)|0|0)+56|0,da(b|0,4,0,0)|0|0,g)|0;if((d|0)!=0?(h=da(d+8|0,4,0,0)|0|0,(h|0)!=0):0)do{ea(l|0,0|0,4,0);Lt(a,b,h,l,0)|0;d=da(l|0,4,0,0)|0|0;if((d|0)!=0?(k=da(d+46|0,2,0,0)|0|0,k<<16>>16!=0):0){g=k&65535;f=da(d+4|0,4,0,0)|0|0;e=0;do{d=da(f+(e<<1)|0,2,0,0)|0|0;if(d<<16>>16>31)d=-1;else d=1<<(d<<16>>16);c=d|c;e=e+1|0}while((e|0)<(g|0))}h=da(h+12|0,4,0,0)|0|0}while((h|0)!=0)}else c=0;i=m;return c|0}function ut(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;i=(c|0)!=0?110:109;if(!b)h=0;else{h=0;do{if((((da(b+8>>0|0,1,0,1)|0|0|0)==(i|0)?((da(b+9>>0|0,1,0,1)|0|0)&e|0)!=0:0)?($u(da(b+16|0,4,0,0)|0|0,c)|0)!=0:0)?(j=bv(a,b,f,g)|0,(j|0)!=0):0)h=da(j+(d<<2)+16|0,4,0,0)|0|h;b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0)}return h|0}function vt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=b+20|0;d=da(i|0,4,0,0)|0|0;do if(!d){f=da(a|0,4,0,0)|0|0;h=b+38|0;e=(da(h|0,2,0,0)|0|0)+1|0;e=pg(e,((e|0)<0)<<31>>31)|0;if(!e){ea(f+65>>0|0,1|0,1,0);break}if((da(h|0,2,0,0)|0|0)>0){f=b+4|0;d=0;do{ea(e+d>>0|0,da((da(f|0,4,0,0)|0|0)+(d*24|0)+21>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0}while((d|0)<(da(h|0,2,0,0)|0|0))}else d=0;do{ea(e+d>>0|0,0|0,1,0);if((d|0)<=0)break;d=d+-1|0}while((da(e+d>>0|0,1,0,0)|0|0)==65);ea(i|0,e|0,4,0);g=10}else{e=d;g=10}while(0);do if((g|0)==10){d=e;while(1)if(!(da(d>>0|0,1,0,0)|0))break;else d=d+1|0;d=d-e&1073741823;if(d)if(!c){wh(a,-1,e,d);break}else{wh(a,vh(a,48,c,d,0)|0,e,d);break}}while(0);return}function wt(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;if(b)do{if(((da(b+8>>0|0,1,0,1)|0|0|0)==(c|0)?(da(b+9>>0|0,1,0,1)|0|0|0)==(e|0):0)?($u(da(b+16|0,4,0,0)|0|0,d)|0)!=0:0)cv(a,b,f,g,h,i);b=da(b+32|0,4,0,0)|0|0}while((b|0)!=0);return}function xt(a,b,c,d,e,f,g,h,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var 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,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+16|0;if((i|0)>=(j|0))ba();E=ja;aa=(g|0)!=0;J=da(a|0,4,0,0)|0|0;ia=Nq(a)|0;w=da(b+38|0,2,0,0)|0|0;ga=b+44|0;if(!((da(ga>>0|0,1,0,0)|0)&32)){$=1;_=0}else{q=b+8|0;while(1){q=da(q|0,4,0,0)|0|0;if(((da(q+51>>0|0,1,0,0)|0)&3)==2)break;else q=q+20|0}$=da(q+46|0,2,0,1)|0|0;_=q}if(w<<16>>16>0){s=b+36|0;r=b+4|0;q=k<<24>>24==10;p=a+408|0;o=f+1|0;x=ia+4|0;y=ia+32|0;z=ia+24|0;A=k&255;u=w<<16>>16;t=0;do{a:do if((t|0)!=(da(s|0,2,0,0)|0|0)?(B=da(r|0,4,0,0)|0|0,C=da(B+(t*24|0)+20>>0|0,1,0,0)|0|0,D=C&255,C<<24>>24!=0):0){if(q)if(C<<24>>24==10)ha=14;else{w=D;ha=11}else{w=A;ha=11}do if((ha|0)==11){ha=0;if((w|0)==5)w=(da(B+(t*24|0)+4|0,4,0,0)|0|0)==0?2:5;if((w|0)==3|(w|0)==1)break;else if((w|0)==2){ha=14;break}else if((w|0)==4){vh(ia,76,o+t|0,l,0)|0;break a}v=o+t|0;w=vh(ia,77,v,0,0)|0;Qq(a,da((da(r|0,4,0,0)|0|0)+(t*24|0)+4|0,4,0,0)|0|0,v);v=da(y|0,4,0,0)|0|0;if(v>>>0>w>>>0)ea((da(x|0,4,0,0)|0|0)+(w*20|0)+8|0,v|0,4,0);ea((da(z|0,4,0,0)|0|0)+88|0,v+-1|0,4,0);break a}while(0);if((ha|0)==14){ha=0;w=da(p|0,4,0,0)|0|0;ea(((w|0)==0?a:w)+21>>0|0,1|0,1,0);w=2}Z=da(B+(t*24|0)|0,4,0,0)|0|0;ea(E|0,da(b|0,4,0,0)|0|0,4,0);ea(E+4|0,Z|0,4,0);Z=th(J,27824,E)|0;wh(ia,vh(ia,23,1299,w,o+t|0)|0,Z,-1);w=da(x|0,4,0,0)|0|0;if(w)ea(w+(((da(y|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,1|0,1,0)}while(0);t=t+1|0}while((t|0)!=(u|0))}t=da(b+24|0,4,0,0)|0|0;if(((t|0)!=0?((da(J+24|0,4,0,0)|0)&8192|0)==0:0)?(ea(a+92|0,f+1|0,4,0),(da(t|0,4,0,0)|0|0)>0):0){s=t+4|0;o=ia+24|0;u=ia+32|0;w=0;q=k<<24>>24==10?2:k&255;while(1){v=ws(ia)|0;Yu(a,da((da(s|0,4,0,0)|0|0)+(w*20|0)|0,4,0,0)|0|0,v,16);if((q|0)==4){vh(ia,16,0,l,0)|0;p=4}else{r=da((da(s|0,4,0,0)|0|0)+(w*20|0)+4|0,4,0,0)|0|0;if(!r)r=da(b|0,4,0,0)|0|0;p=(q|0)==5?2:q;ys(a,275,p,r,0,3)}r=da(o|0,4,0,0)|0|0;q=~v;if((v|0)<0?(F=da(r+112|0,4,0,0)|0|0,(F|0)!=0):0)ea(F+(q<<2)|0,da(u|0,4,0,0)|0|0,4,0);ea(r+88|0,(da(u|0,4,0,0)|0|0)+-1|0,4,0);w=w+1|0;if((w|0)>=(da(t|0,4,0,0)|0|0))break;else q=p}}if(h<<24>>24!=0&(_|0)==0){s=ws(ia)|0;o=da(b+45>>0|0,1,0,0)|0|0;if(k<<24>>24==10)o=o<<24>>24==10?2:o&255;else o=k&255;if(aa?(vh(ia,79,f,s,g)|0,G=da(ia+4|0,4,0,0)|0|0,(G|0)!=0):0)ea(G+(((da(ia+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);b:do if(!((o|0)!=5|k<<24>>24==5)?(n=da(b+8|0,4,0,0)|0|0,(n|0)!=0):0){while(1){if(((da(n+50>>0|0,1,0,0)|0|0)+-3&255)<2)break;n=da(n+20|0,4,0,0)|0|0;if(!n){t=0;break b}}t=vh(ia,16,0,0,0)|0}else t=0;while(0);vh(ia,70,d,s,f)|0;c:do switch(o|0){case 4:{vh(ia,16,0,l,0)|0;o=0;break}case 3:case 2:case 1:{ha=49;break}case 5:{if(((da(J+24|0,4,0,0)|0)&262144|0)!=0?(H=it(a,b,109,0,0)|0,(H|0)!=0):0)o=H;else if(!(lt(a,b,0,0)|0)){if(!(da(b+8|0,4,0,0)|0)){o=1;break c}o=da(a+408|0,4,0,0)|0|0;ea(((o|0)==0?a:o)+20>>0|0,1|0,1,0);zt(a,b,d,e,0);o=1;break c}else o=0;Z=da(a+408|0,4,0,0)|0|0;ea(((Z|0)==0?a:Z)+20>>0|0,1|0,1,0);qt(a,b,o,d,e,f,1,0,5,1);o=1;break}default:{o=2;ha=49}}while(0);if((ha|0)==49){Et(a,o,b);o=0}r=ia+24|0;q=da(r|0,4,0,0)|0|0;p=~s;if((s|0)<0?(I=da(q+112|0,4,0,0)|0|0,(I|0)!=0):0)ea(I+(p<<2)|0,da(ia+32|0,4,0,0)|0|0,4,0);n=ia+32|0;ea(q+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);if(!t){p=0;t=0}else{p=vh(ia,16,0,0,0)|0;n=da(n|0,4,0,0)|0|0;if(n>>>0>t>>>0)ea((da(ia+4|0,4,0,0)|0|0)+(t*20|0)+8|0,n|0,4,0);ea((da(r|0,4,0,0)|0|0)+88|0,n+-1|0,4,0)}}else{p=0;t=0;o=0}w=da(b+8|0,4,0,0)|0|0;if(w){W=f+1|0;X=a+60|0;Y=a+56|0;Z=a+72|0;M=h<<24>>24==0;N=ia+24|0;O=ia+32|0;P=k<<24>>24==10;Q=ia+4|0;R=_+46|0;S=_+32|0;T=_+4|0;U=g+1|0;V=a+408|0;K=J+24|0;L=$&65535;s=k&255;r=b+36|0;q=a+92|0;A=0;n=0;v=-1;while(1){H=c+(n<<2)|0;do if(da(H|0,4,0,0)|0){if(!(A<<24>>24)){vt(ia,b,W);A=1}I=n+e|0;k=ws(ia)|0;G=w+36|0;if(da(G|0,4,0,0)|0){vh(ia,28,0,da(H|0,4,0,0)|0|0,0)|0;ea(q|0,W|0,4,0);ft(a,da(G|0,4,0,0)|0|0,k,16);ea(q|0,0|0,4,0)}J=w+48|0;B=da(J|0,2,0,0)|0|0;E=B&65535;D=da(X|0,4,0,0)|0|0;C=da(Y|0,4,0,0)|0|0;if((C|0)<(E|0)){h=da(Z|0,4,0,0)|0|0;ea(Z|0,h+E|0,4,0);h=h+1|0}else{ea(X|0,D+E|0,4,0);ea(Y|0,C-E|0,4,0);h=D}if(!(B<<16>>16))F=v;else{z=w+4|0;F=0;do{E=da((da(z|0,4,0,0)|0|0)+(F<<1)|0,2,0,0)|0|0;C=E<<16>>16;if(E<<16>>16>=0?E<<16>>16!=(da(r|0,2,0,0)|0|0):0){D=F+h|0;E=W+C|0;ha=81}else{E=F+h|0;if((v|0)!=(E|0)){D=E;v=(da(G|0,4,0,0)|0|0)==0?E:-1;E=f;ha=81}}if((ha|0)==81){ha=0;vh(ia,34,E,D,0)|0;B=da(J|0,2,0,0)|0|0}F=F+1|0;E=B&65535}while((F|0)<(E|0));F=v}vh(iaia,vh(ia,67,I,k,h)|0,v,-14);do if(!G){E=da(X|0,4,0,0)|0|0;D=da(Y|0,4,0,0)|0|0;if((D|0)<($|0)){E=da(Z|0,4,0,0)|0|0;ea(Z|0,E+$|0,4,0);E=E+1|0;break}else{ea(X|0,E+$|0,4,0);ea(Y|0,D-$|0,4,0);break}}else E=h;while(0);do if(aa|(H|0)==5){if(!((da(ga>>0|0,1,0,0)|0)&32)){vh(ia,112,I,E,0)|0;if(!aa)break;vh(ia,79,E,k,g)|0;z=da(Q|0,4,0,0)|0|0;if(!z)break;ea(z+(((da(O|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);break}do if(!G){if(!(da(R|0,2,0,0)|0))break;y=w+4|0;x=0;do{B=da((da(T|0,4,0,0)|0|0)+(x<<1)|0,2,0,0)|0|0;D=da(J|0,2,0,0)|0|0;d:do if(!(D<<16>>16))D=-1;else{z=da(y|0,4,0,0)|0|0;C=D&65535;D=0;while(1){if((da(z+(D<<1)|0,2,0,0)|0|0)==B<<16>>16)break d;D=D+1|0;if((D|0)>=(C|0)){D=-1;break}}}while(0);vh(ia,47,I,D<<16>>16,x+E|0)|0;x=x+1|0}while((x|0)<(da(R|0,2,0,1)|0|0))}while(0);if(!aa)break;y=((da(w+51>>0|0,1,0,0)|0)&3)==2?h:E;D=da(R|0,2,0,0)|0|0;if(!(D<<16>>16))break;C=(D&65535)+(da(O|0,4,0,0)|0|0)|0;B=0;z=78;do{D=br(a,da((da(S|0,4,0,0)|0|0)+(B<<2)|0,4,0,0)|0|0)|0;v=(B|0)==((da(R|0,2,0,1)|0|0)+-1|0);C=v?k:C;z=v?79:z;wh(ia,vh(ia,z,U+(da((da(T|0,4,0,0)|0|0)+(B<<1)|0,2,0,0)|0|0)|0,C,B+y|0)|0,D,-4);D=da(Q|0,4,0,0)|0|0;if(D)ea(D+(((da(O|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,-112|0,1,0);B=B+1|0}while((B|0)<(da(R|0,2,0,1)|0|0))}while(0);if((H|0)==3|(H|0)==2|(H|0)==1)mu(a,H,w);else if((H|0)==4)vh(ia,16,0,l,0)|0;else{v=da(V|0,4,0,0)|0|0;ea(((v|0)==0?a:v)+20>>0|0,1|0,1,0);if(!((da(K|0,4,0,0)|0)&262144))z=0;else z=it(a,b,109,0,0)|0;qt(a,b,z,d,e,E,L,0,5,G&1);o=1}D=da(N|0,4,0,0)|0|0;C=~k;do if((k|0)<0){z=da(D+112|0,4,0,0)|0|0;if(!z)break;ea(z+(C<<2)|0,da(O|0,4,0,0)|0|0,4,0)}while(0);ea(D+88|0,(da(O|0,4,0,0)|0|0)+-1|0,4,0);v=da(J|0,2,0,1)|0|0;ct(a,h,v);if((da(Y|0,4,0,0)|0|0)<(v|0)){ea(Y|0,v|0,4,0);ea(X|0,h|0,4,0)}if((E|0)==(h|0)){v=F;break}ct(a,E,$);if((da(Y|0,4,0,0)|0|0)>=($|0)){v=F;break}ea(Y|0,$|0,4,0);ea(X|0,E|0,4,0);v=F}while(0);w=da(w+20|0,4,0,0)|0|0;if(!w)break;else n=n+1|0}}if(t){vh(ia,16,0,t+1|0,0)|0;n=da(ia+32|0,4,0,0)|0|0;if(n>>>0>p>>>0)ea((da(ia+4|0,4,0,0)|0|0)+(p*20|0)+8|0,n|0,4,0);ea((da(iaa(f+(e<<2)|0,da(c+32|0,4,0,0)|0|0,4,0);ea(d+88|0,(da(c+32|0,4,0,0)|0|0)+-1|0,4,0);au(a)}return}function Qt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=da(b+16|0,4,0,0)|0|0;a:do if((c|0)!=0?(d=da(b+64|0,4,0,0)|0|0,(d|0)!=0):0){c=da(c+8|0,4,0,0)|0|0;b:do if(c){while(1){if(!(cd(da(c|0,4,0,0)|0|0,d)|0))break;c=da(c+20|0,4,0,0)|0|0;if(!c)break b}ea(b+68|0,c|0,4,0);c=0;break a}while(0);ea(e|0,d|0,4,0);ea(e+4|0,0|0,4,0);sh(a,28104,e);ea(a+17>>0|0,1|0,1,0);c=1}else c=0;while(0);i=f;return c|0}function Rt(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=St(a,b)|0;if(b&1){d=Rt(da(a+12|0,4,0,0)|0|0,b)|0;return d+c+(Rt(da(a+16|0,4,0,0)|0|0,b)|0)|0}}else c=0;return c|0}
7 =i+16|0;if((i|0)>=(j|0))ba();f=g;if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){d=cl(a,b,c,d)|0;if(!d){d=da(c|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)==0?(e=_p(d)|0,(e|0)!=0):0){d=da(c|0,4,0,0)|0|0;if(d)Ag(da(d+68|0,4,0,0)|0|0)}else e=0}else e=d}else{ea(f|0,54788|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);e=11}i=g;return e|0}function vp(a){a=a|0;var b=0,c=0,d=0;if((da(a+12>>0|0,1,0,0)|0|0)==0?(b=a+60|0,c=da(b|0,4,0,0)|0|0,((kc[(fa(da((da(c|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)&4096|0)==0):0){b=da(b|0,4,0,0)|0|0;c=da((da(b|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(c){b=kc[(fa(c|0,127|0)|0)&127](b)|0;if((b|0)<32)b=512;else d=6}else{b=4096;d=6}if((d|0)==6)b=(b|0)>65536?65536:b;ea(a+148|0,b|0,4,0)}else ea(a+148|0,512|0,4,0);return}function wp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+40|0;do if(!(da(g|0,4,0,0)|0)){f=da(a+20>>0|0,1,0,0)|0|0;if(f<<24>>24){if(f&3){c=0;break}if((da(b+24|0,2,0,0)|0)&4){c=0;break}}ea(b+12|0,0|0,4,0);do if(!(da(a+208|0,4,0,0)|0)){if(!(((da(b+24|0,2,0,0)|0)&4)==0?(da(a+16>>0|0,1,0,0)|0|0)!=3:0))h=11;if((h|0)==11?(d=yl(a,1)|0,(d|0)!=0):0){c=d;break}if(((da(b+20|0,4,0,0)|0|0)>>>0>(da(a+24|0,4,0,0)|0|0)>>>0?(To(b)|0)!=0:0)?(e=Uo(b)|0,(e|0)!=0):0){c=e;break}c=zl(a,b)|0;h=16}else{if((To(b)|0)!=0?(c=Uo(b)|0,(c|0)!=0):0)break;c=vl(a,b,0,0)|0;h=16}while(0);if((h|0)==16)if(!c){wl(b);c=0;break}d=c&255;if((d|0)==10|(d|0)==13){ea(g|0,c|0,4,0);ea(a+16>>0|0,6|0,1,0)}}else c=0;while(0);return c|0}function xp(a){a=a|0;var b=0;b=da(a+8|0,4,0,0)|0|0;if((da(b>>0|0,1,0,0)|0|0)!=0?(ea(b>>0|0,0|0,1,0),(da(a+26|0,2,0,0)|0|0)>1):0)_p(b)|0;return}function yp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=l+8|0;do if(!(da(e|0,4,0,0)|0)){if(!b){ea(k|0,53856|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);break}if(b>>>0<2)g=0;else{f=b+-2|0;f=f-((f>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;g=((f+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+f|0}f=yg(da(a|0,4,0,0)|0|0,g,h,0)|0;if(f){ea(e|0,f|0,4,0);break}b=(b-g|0)*5|0;f=b+-5|0;do if((f|0)>=0){a=da(h|0,4,0,0)|0|0;g=da(a+4|0,4,0,0)|0|0;f=g+f|0;if((da(f>>0|0,1,0,0)|0|0)==c<<24>>24?((da(g+(b+-3)>>0|0,1,0,1)|0)<<16|(da(g+(b+-4)>>0|0,1,0,1)|0)<<24|(da(g+(b+-2)>>0|0,1,0,1)|0)<<8|(da(g+(b+-1)>>0|0,1,0,1)|0)|0)==(d|0):0)break;h=Fg(a)|0;ea(e|0,h|0,4,0);if(!h){ea(f>>0|0,c|0,1,0);ea(g+(b+-4)>>0|0,d>>>24|0,1,0);ea(g+(b+-3)>>0|0,d>>>16|0,1,0);ea(g+(b+-2)>>0|0,d>>>8|0,1,0);ea(g+(b+-1)>>0|0,d|0,1,0)}}else{ea(k|0,53867|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);a=da(h|0,4,0,0)|0|0}while(0);if(a)Ag(a)}while(0);i=l;return}function zp(a,b,c){a=a|0;b=b|0;c=c|0;return Jm(a,b,c,0)|0}function Ap(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=(da(b>>0|0,1,0,1)|0)&63;d=b+f|0;h=da(c+8|0,4,0,0)|0|0;g=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;switch(da(b+1>>0|0,1,0,1)|0|0){case 2:{d=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 4:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 3:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<8|(da(d>>0|0,1,0,0)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 5:{e=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);d=(da(b+(f+3)>>0|0,1,0,1)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0)<<24|(da(b+(f+4)>>0|0,1,0,1)|0)<<8|(da(b+(f+5)>>0|0,1,0,1)|0);i=11;break}case 7:case 0:{d=Jm(a,b,c,0)|0;break}case 6:{e=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);d=(da(b+(f+5)>>0|0,1,0,1)|0)<<16|(da(b+(f+4)>>0|0,1,0,1)|0)<<24|(da(b+(f+6)>>0|0,1,0,1)|0)<<8|(da(b+(f+7)>>0|0,1,0,1)|0);i=11;break}case 9:{e=0;d=1;i=11;break}case 8:{e=0;d=0;i=11;break}case 1:{d=da(d>>0|0,1,0,0)|0|0;e=((d|0)<0)<<31>>31;i=11;break}default:d=Jm(a,b,c,0)|0}do if((i|0)==11){if((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0){d=da(c+12|0,4,0,0)|0|0;break}if((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0){d=da(c+16|0,4,0,0)|0|0;break}if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}}while(0);return d|0}function Bp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=k+8|0;d=b+1|0;e=da(d>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){d=e&255;ea(f|0,d|0,4,0)}else{lm(d,f)|0;d=da(f|0,4,0,0)|0|0}do if((d|0)>=12){if(!(d&1)){d=da(c+16|0,4,0,0)|0|0;break}f=da(b>>0|0,1,0,1)|0|0;g=(d+-12|0)/2|0;if((f+g|0)>(a|0)){ea(h|0,68550|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);ea(c+7>>0|0,11|0,1,0);d=0;break}d=da(c+8|0,4,0,0)|0|0;e=da(d+12|0,4,0,0)|0|0;d=Yv(b+f|0,da(d+16|0,4,0,0)|0|0,(g|0)>(e|0)?e:g)|0;if(d)if((d|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}if((g|0)==(e|0))if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}else if((g-e|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}}else d=da(c+12|0,4,0,0)|0|0;while(0);i=k;return d|0}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+73|0;c=da(h>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(h>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(h>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)>0):0)c=0;else i=9}else i=9;while(0);do if((i|0)==9){g=a+76|0;c=da(g|0,2,0,0)|0|0;d=da(a+(c<<2)+120|0,4,0,0)|0|0;c=a+(c<<1)+78|0;e=(da(c|0,2,0,0)|0|0)+1<<16>>16;ea(c|0,e|0,2,0);c=(da(d+5>>0|0,1,0,0)|0|0)!=0;if((e&65535)<(da(d+18|0,2,0,1)|0|0)){if(c){c=0;break}c=Um(a)|0;break}if(!c){c=da(d+6>>0|0,1,0,1)|0|0;d=da(d+56|0,4,0,0)|0|0;c=qm(a,(da(d+(c+9)>>0|0,1,0,1)|0)<<16|(da(d+(c+8)>>0|0,1,0,1)|0)<<24|(da(d+(c+10)>>0|0,1,0,1)|0)<<8|(da(d+(c+11)>>0|0,1,0,1)|0))|0;if(c)break;c=Um(a)|0;break}e=a+44|0;f=a+72|0;d=da(g|0,2,0,0)|0|0;do{if(!(d<<16>>16)){i=15;break}c=da(a+(d<<16>>16<<2)+120|0,4,0,0)|0|0;if(c){Ag(da(c+68|0,4,0,0)|0|0);d=da(g|0,2,0,0)|0|0}d=d+-1<<16>>16;ea(g|0,d|0,2,0);ea(e|0,0|0,2,0);ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&249|0,1,0);j=d<<16>>16;c=da(a+(j<<2)+120|0,4,0,0)|0|0}while((da(a+(j<<1)+78|0,2,0,1)|0|0)>=(da(c+18|0,2,0,1)|0|0));if((i|0)==15){ea(b|0,1|0,4,0);ea(h>>0|0,0|0,1,0);c=0;break}if(!(da(c+2>>0|0,1,0,0)|0))c=0;else c=Cm(a,b)|0}while(0);return c|0}function Dp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+73|0;c=da(k>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(k>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(k>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)<0):0)c=0;else e=9}else e=9;while(0);a:do if((e|0)==9){j=a+76|0;f=da(j|0,2,0,0)|0|0;g=f<<16>>16;e=da(a+(g<<2)+120|0,4,0,0)|0|0;d=a+(g<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(!(da(e+5>>0|0,1,0,0)|0)){b=da(e+56|0,4,0,0)|0|0;c=(c&65535)<<1;k=da(e+64|0,4,0,0)|0|0;c=((da(k+c>>0|0,1,0,1)|0)<<8|(da(k+(c|1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=qm(a,(da(b+(c+1)>>0|0,1,0,1)|0)<<16|(da(b+c>>0|0,1,0,1)|0)<<24|(da(b+(c+2)>>0|0,1,0,1)|0)<<8|(da(b+(c+3)>>0|0,1,0,1)|0))|0;if(c)break;c=Ep(a)|0;break}b:do if(!(c<<16>>16)){h=a+44|0;i=a+72|0;e=g;while(1){if(!(f<<16>>16))break;d=da(a+(e<<2)+120|0,4,0,0)|0|0;if(!d)d=f;else{Ag(da(d+68|0,4,0,0)|0|0);d=da(j|0,2,0,0)|0|0}f=d+-1<<16>>16;ea(j|0,f|0,2,0);ea(h|0,0|0,2,0);ea(i>>0|0,(da(i>>0|0,1,0,1)|0)&249|0,1,0);e=f<<16>>16;d=a+(e<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(c<<16>>16)break b}ea(k>>0|0,0|0,1,0);ea(b|0,1|0,4,0);c=0;break a}while(0);ea(d|0,c+-1<<16>>16|0,2,0);c=da(a+((da(j|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0;if((da(c+2>>0|0,1,0,0)|0|0)!=0?(da(c+5>>0|0,1,0,0)|0|0)==0:0)c=Dm(a,b)|0;else c=0}while(0);return c|0}function Ep(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=a+76|0;do{c=da(d|0,2,0,0)|0|0;b=da(a+(c<<2)+120|0,4,0,0)|0|0;if(da(b+5>>0|0,1,0,0)|0){e=4;break}f=da(b+6>>0|0,1,0,1)|0|0;g=da(b+56|0,4,0,0)|0|0;f=(da(g+(f+9)>>0|0,1,0,1)|0)<<16|(da(g+(f+8)>>0|0,1,0,1)|0)<<24|(da(g+(f+10)>>0|0,1,0,1)|0)<<8|(da(g+(f+11)>>0|0,1,0,1)|0);ea(a+(c<<1)+78|0,da(b+18|0,2,0,0)|0|0|0,2,0);b=qm(a,f)|0}while((b|0)==0);if((e|0)==4){ea(a+(c<<1)+78|0,(da(b+18|0,2,0,1)|0|0)+65535|0,2,0);b=0}return b|0}function Fp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+224|0;if((i|0)>=(j|0))ba();k=m;g=m+8|0;ea(g|0,0|0,4,0);do if(b){h=a+16|0;l=Em(da(h|0,4,0,0)|0|0,m+16|0,200,g)|0;if(l){Fm(da(h|0,4,0,0)|0|0,c,b,l);if(!(da(l+4|0,2,0,0)|0)){lg(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0);ea(k|0,53713|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);g=11;break}h=da(g|0,4,0,0)|0|0;g=Bm(a,l,c,d,e,f)|0;if(h)lg(da((da(a+16|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,h)}else g=7}else g=Bm(a,0,c,d,e,f)|0;while(0);i=m;return g|0}function Gp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+48|0;if((i|0)>=(j|0))ba();n=o+24|0;d=o;l=o+36|0;m=o+32|0;h=da(a+52|0,4,0,0)|0|0;qp(a,b,d);ea(c|0,da(d+20|0,2,0,0)|0|0|0,2,0);c=da(d+18|0,2,0,0)|0|0;a:do if(c<<16>>16){e=c&65535;f=b+(e+3)|0;if(f>>>0>((da(a+56|0,4,0,0)|0|0)+(da(a+20|0,2,0,1)|0|0)|0)>>>0){ea(n|0,58720|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11;break}c=(da(h+36|0,4,0,0)|0|0)+-4|0;c=(((da(d+12|0,4,0,0)|0|0)+-1+c-(da(d+16|0,2,0,1)|0|0)|0)>>>0)/(c>>>0)|0;if(c){g=h+44|0;a=c;e=(da(b+(e+1)>>0|0,1,0,1)|0)<<16|(da(b+e>>0|0,1,0,1)|0)<<24|(da(b+(e+2)>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0);while(1){a=a+-1|0;ea(l|0,0|0,4,0);ea(m|0,0|0,4,0);if(e>>>0<2)break;if(e>>>0>(da(g|0,4,0,0)|0|0)>>>0)break;b=(a|0)==0;if(!b){c=Lp(h,e,m,l)|0;if(c)break a;c=da(m|0,4,0,0)|0|0;if(c)f=13;else f=12}else f=12;if((f|0)==12){c=Xp(h,e)|0;ea(m|0,c|0,4,0);if(!c){c=0;f=15}else f=13}if((f|0)==13){f=0;if((da((da(c+68|0,4,0,0)|0|0)+26|0,2,0,0)|0|0)==1)f=15;else{ea(n|0,58754|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}}if((f|0)==15)c=Xm(h,c,e)|0;d=da(m|0,4,0,0)|0|0;if((d|0)!=0?(k=da(d+68|0,4,0,0)|0|0,(k|0)!=0):0)Ag(k);if(c)break a;if(b){c=0;break a}else e=da(l|0,4,0,0)|0|0}ea(n|0,58734|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}else c=0}else c=0;while(0);i=o;return c|0}function Hp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;do if(!(da(d|0,4,0,0)|0)){n=da(a+56|0,4,0,0)|0|0;o=b<<1;p=da(a+64|0,4,0,0)|0|0;q=p+o|0;e=(da(q>>0|0,1,0,1)|0|0)<<8|(da(p+(o|1)>>0|0,1,0,1)|0|0);g=a+6|0;h=da(g>>0|0,1,0,1)|0|0;k=n+(h+5)|0;l=n+(h+6)|0;if(e>>>0>=((da(k>>0|0,1,0,1)|0|0)<<8|(da(l>>0|0,1,0,1)|0|0))>>>0?(m=a+52|0,(e+c|0)>>>0<=(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>0):0){c=Bq(a,e&65535,c&65535)|0;if(c){ea(d|0,c|0,4,0);break}c=a+18|0;e=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,e|0,2,0);if(!(e<<16>>16)){d=n+(h+1)|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);ea(n+(h+7)>>0|0,0|0,1,0);ea(k>>0|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>8|0,1,0);ea(l>>0|0,da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,1,0);ea(a+16|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+65528-(da(g>>0|0,1,0,1)|0|0)-(da(a+7>>0|0,1,0,1)|0|0)|0,2,0);break}else{kw(q|0,p+(o+2)|0,(e&65535)-b<<1|0)|0;ea(n+(h+3)>>0|0,(da(c|0,2,0,1)|0|0)>>>8|0,1,0);ea(n+(h+4)>>0|0,da(c|0,2,0,0)|0|0,1,0);n=a+16|0;ea(n|0,(da(n|0,2,0,1)|0|0)+2|0,2,0);break}}ea(f|0,58991|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);ea(d|0,11|0,4,0)}while(0);i=r;return}function Ip(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=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;y=i;i=i+16|0;if((i|0)>=(j|0))ba();k=y;u=y+12|0;q=y+8|0;a:do if(!(da(g|0,4,0,0)|0)){h=a+1|0;if((da(h>>0|0,1,0,0)|0|0)==0?(w=d+2|0,x=a+16|0,(w|0)<=(da(x|0,2,0,1)|0|0)):0){e=Fg(da(a+68|0,4,0,0)|0|0)|0;if(e){ea(g|0,e|0,4,0);break}r=da(a+56|0,4,0,0)|0|0;l=da(a+14|0,2,0,1)|0|0;s=a+18|0;t=(da(s|0,2,0,1)|0)<<1;n=b<<1;o=l+n|0;p=a+6|0;e=da(p>>0|0,1,0,1)|0|0;ea(u|0,0|0,4,0);b=t+l|0;l=r+(e+5)|0;m=r+(e+6)|0;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;b:do if((b|0)>(h|0)){ea(k|0,54326|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);e=11}else{k=b+2|0;do if((k|0)<=(h|0)){if((da(r+(e+1)>>0|0,1,0,0)|0|0)==0?(da(r+(e+2)>>0|0,1,0,0)|0|0)==0:0){v=20;break}ea(q|0,0|0,4,0);b=Cq(a,d,u,q)|0;e=da(u|0,4,0,0)|0|0;if(e)break b;if(!(da(q|0,4,0,0)|0))if(!b)v=20;else h=b-r|0;else v=21}else v=20;while(0);if((v|0)==20)if((k+d|0)>(h|0))v=21;else v=23;if((v|0)==21){e=Dq(a)|0;ea(u|0,e|0,4,0);if(e)break;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;v=23}if((v|0)==23){h=h-d|0;ea(l>>0|0,h>>>8|0,1,0);ea(m>>0|0,h|0,1,0)}ea(s|0,(da(s|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(x|0,(da(x|0,2,0,1)|0|0)-w|0,2,0);e=r+h|0;jw(e|0,c|0,d|0)|0;if(f){ea(e>>0|0,f>>>24|0,1,0);ea(r+(h+1)>>0|0,f>>>16|0,1,0);ea(r+(h+2)>>0|0,f>>>8|0,1,0);ea(r+(h+3)>>0|0,f|0,1,0)}f=r+o|0;kw(r+(o+2)|0,f|0,t-n|0)|0;ea(f>>0|0,h>>>8|0,1,0);ea(r+(o+1)>>0|0,h|0,1,0);ea(r+((da(p>>0|0,1,0,1)|0|0)+3)>>0|0,(da(s|0,2,0,1)|0|0)>>>8|0,1,0);ea(r+((da(p>>0|0,1,0,1)|0|0)+4)>>0|0,da(s|0,2,0,0)|0|0,1,0);if(!(da((da(a+52|0,4,0,0)|0|0)+17>>0|0,1,0,0)|0))break a;Eq(a,c,g);break a}while(0);ea(g|0,e|0,4,0);break}if(!e)e=c;else jw(e|0,c|0,d|0)|0;if(f){ea(e>>0|0,f>>>24|0,1,0);ea(e+1>>0|0,f>>>16|0,1,0);ea(e+2>>0|0,f>>>8|0,1,0);ea(e+3>>0|0,f|0,1,0)}g=da(h>>0|0,1,0,0)|0|0;ea(h>>0|0,g+1<<24>>24|0,1,0);g=g&255;ea(a+(g<<2)+32|0,e|0,4,0);ea(a+(g<<1)+22|0,b|0,2,0)}while(0);i=y;return}function Jp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=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,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=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,IaIa=La+204|0;qa=La+216|0;_=a+4|0;ja=((da((da(_|0,4,0,0)|0|0)+36|0,4,0,0)|0)<<1>>>0)/3|0;ka=a+76|0;na=a+74|0;oa=qa+4|0;pa=qa;$=a+124|0;ha=a+78|0;ia=a+80|0;e=da(ka|0,2,0,0)|0|0;Z=0;while(1){f=e<<16>>16;g=da(a+(f<<2)+120|0,4,0,0)|0|0;h=g+1|0;c=(da(h>>0|0,1,0,0)|0|0)==0;if(!(e<<16>>16)){if(c){c=Z;b=0;break}ea(Ha|0,0|0,4,0);ea(xa|0,0|0,4,0);d=da(g+52|0,4,0,0)|0|0;b=Fg(da(g+68|0,4,0,0)|0|0)|0;ea(Ka|0,b|0,4,0);do if(!b){c=g+72|0;ea(Ka|0,hp(d,Ha,xa,da(c|0,4,0,0)|0|0,0)|0|0,4,0);e=da(Ha|0,4,0,0)|0|0;Fq(g,e,Ka);if(da(d+17>>0|0,1,0,0)|0)yp(d,da(xa|0,4,0,0)|0|0,5,da(c|0,4,0,0)|0|0,Ka);b=da(Ka|0,4,0,0)|0|0;if(!b){jw(e+22|0,g+22|0,(da(h>>0|0,1,0,1)|0)<<1|0)|0;jw(e+32|0,g+32|0,(da(h>>0|0,1,0,1)|0)<<2|0)|0;ea(e+1>>0|0,da(h>>0|0,1,0,0)|0|0|0,1,0);ol(g,(da((da(e+56|0,4,0,0)|0)>>0|0,1,0,1)|0)&247);W=da(g+6>>0|0,1,0,1)|0|0;V=da(g+56|0,4,0,0)|0|0;b=da(xa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,b>>>24|0,1,0);ea(V+(W+9)>>0|0,b>>>16|0,1,0);ea(V+(W+10)>>0|0,b>>>8|0,1,0);ea(V+(W+11)>>0|0,b|0,1,0);ea($|0,e|0,4,0);b=0;break}ea($|0,0|0,4,0);if(e)Ag(da(e+68|0,4,0,0)|0|0)}else ea($|0,0|0,4,0);while(0);if(b){c=Z;break}ea(ka|0,1|0,2,0);ea(ha|0,0|0,2,0);ea(ia|0,0|0,2,0);e=da($|0,4,0,0)|0|0;d=e+1|0;if(!(da(d>>0|0,1,0,0)|0)){c=1;f=1;Y=15}else{k=1;f=1;h=d}}else if(c){c=e;e=g;d=h;Y=15}else{k=e;e=g}if((Y|0)==15){Y=0;if((da(e+16|0,2,0,1)|0|0)>>>0>ja>>>0){k=c;h=d}else{c=Z;b=0;break}}d=f+-1|0;X=da(a+(d<<2)+120|0,4,0,0)|0|0;d=da(a+(d<<1)+78|0,2,0,0)|0|0;l=d&65535;b=Fg(da(X+68|0,4,0,0)|0|0)|0;do if(!b){if(((((da(e+3>>0|0,1,0,0)|0|0)!=0?(da(h>>0|0,1,0,0)|0|0)==1:0)?(aa=da(e+22|0,2,0,0)|0|0,ca=e+18|0,aa<<16>>16==(da(ca|0,2,0,0)|0|0)):0)?(fa=X+72|0,(da(fa|0,4,0,0)|0|0)!=1):0)?(ga=X+18|0,(da(ga|0,2,0,0)|0|0)==d<<16>>16):0){d=da(e+52|0,4,0,0)|0|0;if(!(aa<<16>>16)){ea(Ka|0,59423|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);c=Z;b=11;break}W=hp(d,Ca,Fa,0,0)|0;ea(Ga|0,W|0,4,0);if(!W){c=da(e+32|0,4,0,0)|0|0;ea(Ba|0,c|0,4,0);b=Kp(e,c)|0;ea(Ia|0,b|0,2,0);f=da(Ca|0,4,0,0)|0|0;ol(f,13);Gq(f,1,Ba,Ia)&31](p,o,f-n|0,m,C)|0|0,4,0);ea(g|0,0|0,4,0);ea(j|0,0|0,4,0);m=da(e|0,4,0,0)|0|0;f=k;m=iw(da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0,m|0,((m|0)<0)<<31>>31|0)|0;f=k;ea(f|0,m|0,4,0);ea(f+4|0,C|0,4,0)}l=l-d|0}while((l|0)>0)}while(0);return}function Qp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=a+4|0;if(((da(a|0,4,0,0)|0|0)==0?(d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(c=da(a+16|0,4,0,0)|0|0,f=da(a+12|0,4,0,0)|0|0,(c|0)>(f|0)):0){h=da(a+32|0,4,0,0)|0|0;g=a+24|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,d+f|0,c-f|0,g,C)|0|0,4,0)}d=a+24|0;c=da(a+16|0,4,0,0)|0|0;d=iw(c|0,((c|0)<0)<<31>>31|0,da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0;c=b;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);Vc(da(e|0,4,0,0)|0|0);e=da(a|0,4,0,0)|0|0;c=a+0|0;d=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(d|0));return e|0}function Rp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=da(2252*4|0,4,0,0)|0|0;if((f|0)!=0?(kc[(fa(f|0,127|0)|0)&127](201)|0)!=0:0)f=266;else{h=b+44|0;if(da(h|0,4,0,0)|0)ea(h|0,0|0,4,0);m=b;ea(m|0,d|0,4,0);ea(m+4|0,e|0,4,0);m=c+8|0;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;i=b+8|0;g=i;ea(g|0,k|0,4,0);ea(g+4|0,m|0,4,0);g=da(c|0,4,0,0)|0|0;j=b+24|0;ea(j|0,g|0,4,0);c=a+8|0;f=da(c|0,4,0,0)|0|0;a=da((da(f+24|0,4,0,0)|0|0)+136|0,4,0,0)|0|0;l=((a|0)<0)<<31>>31;if(!((m|0)>(l|0)|(m|0)==(l|0)&k>>>0>a>>>0)?(da(da(g|0,4,0,0)|0|0,4,0,0)|0|0)>2:0){ea(h|0,0|0,4,0);f=da(c|0,4,0,0)|0|0}a=da(f+12|0,4,0,0)|0|0;c=((a|0)<0)<<31>>31;e=qw(d|0,e|0,a|0,c|0)|0;f=b+36|0;d=da(f|0,4,0,0)|0|0;if(!d){h=pg(a,c)|0;ea(f|0,h|0,4,0);ea(b+40|0,a|0,4,0);d=h;f=(h|0)==0?7:0}else f=0;if((f|0)==0&(e|0)!=0){f=a-e|0;a=b;h=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;b=iw(h|0,a|0,f|0,((f|0)<0)<<31>>31|0)|0;k=C;c=i;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if((k|0)>(c|0)|(k|0)==(c|0)&b>>>0>g>>>0)f=cw(g|0,c|0,h|0,a|0)|0;j=da(j|0,4,0,0)|0|0;f=sc[(fa(da((da(j|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](j,d+e|0,f,h,a)|0}}return f|0}function Sp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;d=da(a+44|0,4,0,0)|0|0;c=a;e=da(c|0,4,0,0)|0|0;a:do if(!d){d=da(a+40|0,4,0,0)|0|0;c=qw(e|0,da(c+4|0,4,0,0)|0|0,d|0,((d|0)<0)<<31>>31|0)|0;if((c|0)!=0&(d-c|0)>8){d=(rp((da(a+36|0,4,0,0)|0|0)+c|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0;break}else d=0;while(1){c=Jq(a,1,f)|0;if(c)break a;c=da((da(f|0,4,0,0)|0)>>0|0,1,0,0)|0|0;ea(g+(d&15)>>0|0,c|0,1,0);if(c<<24>>24<0)d=d+1|0;else break}rp(g,b)|0;c=0}else{d=(rp(d+e|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0}while(0);i=h;return c|0}function Tp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;c=g;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=a;e=da(c+4|0,4,0,0)|0|0;b=a+8|0;d=da(b+4|0,4,0,0)|0|0;do if((e|0)<(d|0)|((e|0)==(d|0)?(da(c|0,4,0,0)|0|0)>>>0<(da(b|0,4,0,0)|0|0)>>>0:0))h=9;else{c=da(a+48|0,4,0,0)|0|0;if(c){b=Kq(c)|0;f=c+32|0;d=c+48|0;ea(f+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(f+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(f+8|0,da(d+8|0,4,0,0)|0|0,4,0);ea(f+12|0,da(d+12|0,4,0,0)|0|0,4,0);d=c+40|0;f=c+8|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(e|0)?(da(d+4|0,4,0,0)|0|0)==(f|0):0)ea(c+20|0,1|0,4,0);if(!b)if(!(da(c+20|0,4,0,0)|0)){b=Rp(da(c|0,4,0,0)|0|0,a,c+32|0,e,f)|0;if(!b){h=9;break}else break}else b=0}else b=0;Up(a)}while(0);if((h|0)==9){b=Sp(a,g)|0;if(!b){b=da(g|0,4,0,0)|0|0;ea(a+20|0,b|0,4,0);b=Jq(a,b,a+32|0)|0}}i=k;return b|0}function Up(a){a=a|0;var b=0;Vc(da(a+28|0,4,0,0)|0|0);Vc(da(a+36|0,4,0,0)|0|0);Rm(da(a+48|0,4,0,0)|0|0);a=a+0|0;b=a+56|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Vp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=da(a+12|0,4,0,0)|0|0;if(d)Fm(da((da(a+8|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,e,d,f);return Jm(c,b,f,0)|0}function Wp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;e=r+8|0;n=r+12|0;do if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){b=up(a,b,e,0)|0;if(!b){p=da(e|0,4,0,0)|0|0;o=p+9|0;a:do if(!(da(o>>0|0,1,0,0)|0)){ea(o>>0|0,1|0,1,0);l=da(p+6>>0|0,1,0,1)|0|0;h=p+18|0;e=da(h|0,2,0,0)|0|0;if(!(e<<16>>16)){e=e&65535;b=p+5|0}else{g=0;while(1){f=da(p+56|0,4,0,0)|0|0;e=g<<1;b=da(p+64|0,4,0,0)|0|0;e=((da(b+e>>0|0,1,0,1)|0)<<8|(da(b+(e|1)>>0|0,1,0,1)|0))&(da(p+20|0,2,0,1)|0);b=f+e|0;k=p+5|0;if((da(k>>0|0,1,0,0)|0|0)==0?(m=Wp(a,(da(f+(e+1)>>0|0,1,0,1)|0)<<16|(da(b>>0|0,1,0,1)|0)<<24|(da(f+(e+2)>>0|0,1,0,1)|0)<<8|(da(f+(e+3)>>0|0,1,0,1)|0),1,d)|0,(m|0)!=0):0){b=m;q=21;break a}b=Gp(p,b,n)|0;g=g+1|0;if(b){q=21;break a}e=da(h|0,2,0,1)|0|0;if((g|0)>=(e|0)){b=k;break}}}if(!(da(b>>0|0,1,0,0)|0)){b=da(p+56|0,4,0,0)|0|0;b=Wp(a,(da(b+(l+9)>>0|0,1,0,1)|0)<<16|(da(b+(l+8)>>0|0,1,0,1)|0)<<24|(da(b+(l+10)>>0|0,1,0,1)|0)<<8|(da(b+(l+11)>>0|0,1,0,1)|0),1,d)|0;if(!b)q=16}else if(!d)q=16;else{ea(d|0,(da(d|0,4,0,0)|0|0)+e|0,4,0);q=16}if((q|0)==16){if(c){b=Xm(da(p+52|0,4,0,0)|0|0,p,da(p+72|0,4,0,0)|0|0)|0;q=21;break}b=Fg(da(p+68|0,4,0,0)|0|0)|0;if(!b){ol(p,da((da(p+56|0,4,0,0)|0|0)+l>>0|0,1,0,1)|0|8);b=0;q=21;break}}ea(o>>0|0,0|0,1,0)}else{ea(f|0,60971|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11;q=21}while(0);if((q|0)==21){ea(o>>0|0,0|0,1,0);if(!p)break}Ag(da(p+68|0,4,0,0)|0|0)}}else{ea(f|0,60966|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11}while(0);i=r;return b|0}function Xp(a,b){a=a|0;b=b|0;var c=0,d=0;d=(da(a|0,4,0,0)|0|0)+204|0;c=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(d|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,b,0)|0;c=hl(da(d|0,4,0,0)|0|0,b,c)|0;if(!c)c=0;else{d=da(c+8|0,4,0,0)|0|0;ea(d+56|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+68|0,c|0,4,0);ea(d+52|0,a|0,4,0);ea(d+72|0,b|0,4,0);ea(d+6>>0|0,((b|0)==1?100:0)|0,1,0);c=d}return c|0}function Yp(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;pc[(fa(da(8744+140|0,4,0,0)|0|0,15|0)|0)&15](da((da(a+28|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,b);ea(c|0,b|0,4,0);if(((da(a+24|0,2,0,0)|0)&6)==6)Po(a,3);return}function Zp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;m=da(a+52|0,4,0,0)|0|0;n=da(a>>0|0,1,0,0)|0|0;o=da(a+72|0,4,0,0)|0|0;l=_p(a)|0;ea(p|0,l|0,4,0);if(!l){l=da(a+18|0,2,0,0)|0|0;k=l&65535;if(!(l<<16>>16))b=a+5|0;else{c=a+56|0;d=a+20|0;e=a+64|0;b=a+5|0;l=0;do{f=da(c|0,4,0,0)|0|0;g=l<<1;h=da(e|0,4,0,0)|0|0;g=((da(h+g>>0|0,1,0,1)|0)<<8|(da(h+(g|1)>>0|0,1,0,1)|0))&(da(d|0,2,0,1)|0);h=f+g|0;Eq(a,h,p);if(!(da(b>>0|0,1,0,0)|0))yp(m,(da(f+(g+1)>>0|0,1,0,1)|0)<<16|(da(h>>0|0,1,0,1)|0)<<24|(da(f+(g+2)>>0|0,1,0,1)|0)<<8|(da(f+(g+3)>>0|0,1,0,1)|0),5,o,p);l=l+1|0}while((l|0)<(k|0))}if(!(da(b>>0|0,1,0,0)|0)){l=da(a+6>>0|0,1,0,1)|0|0;k=da(a+56|0,4,0,0)|0|0;yp(m,(da(k+(l+9)>>0|0,1,0,1)|0)<<16|(da(k+(l+8)>>0|0,1,0,1)|0)<<24|(da(k+(l+10)>>0|0,1,0,1)|0)<<8|(da(k+(l+11)>>0|0,1,0,1)|0),5,o,p)}}ea(a>>0|0,n|0,1,0);i=q;return da(p|0,4,0,0)|0|0}function _p(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r;a:do if(!(da(a>>0|0,1,0,0)|0)){b=da(a+52|0,4,0,0)|0|0;n=da(a+56|0,4,0,0)|0|0;f=da(a+6>>0|0,1,0,1)|0|0;if(Qo(a,da(n+f>>0|0,1,0,1)|0|0)|0){ea(q|0,54562|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=da(b+32|0,4,0,0)|0|0;ea(a+20|0,h+65535|0,2,0);ea(a+1>>0|0,0|0,1,0);m=da(b+36|0,4,0,0)|0|0;b=f+8+(da(a+7>>0|0,1,0,1)|0|0)|0;ea(a+14|0,b|0,2,0);ea(a+60|0,n+m|0,4,0);b=b&65535;ea(a+64|0,n+b|0,4,0);e=da(n+(f+5)>>0|0,1,0,0)|0|0;d=da(n+(f+6)>>0|0,1,0,0)|0|0;c=(da(n+(f+3)>>0|0,1,0,1)|0)<<8|(da(n+(f+4)>>0|0,1,0,1)|0);ea(a+18|0,c|0,2,0);if(c>>>0>(((h+-8|0)>>>0)/6|0)>>>0){ea(q|0,54579|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=(c<<1)+b|0;g=m+-4|0;c=(da(n+(f+1)>>0|0,1,0,1)|0)<<8|(da(n+(f+2)>>0|0,1,0,1)|0);b=(((e&255)<<8|d&255)+65535&65535)+1+(da(n+(f+7)>>0|0,1,0,1)|0|0)|0;do if(c){while(1){if((c|0)<(h|0)|(c|0)>(g|0)){p=8;break}d=(da(n+c>>0|0,1,0,1)|0)<<8|(da(n+(c+1)>>0|0,1,0,1)|0);e=(da(n+(c+2)>>0|0,1,0,1)|0)<<8|(da(n+(c+3)>>0|0,1,0,1)|0);c=e+c|0;if(!d){k=e;l=c;o=b;p=12;break}if((d|0)<=(c+3|0)|(c|0)>(m|0))break;c=d;b=e+b|0}if((p|0)==8){ea(q|0,54634|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}if((p|0)==12?(l|0)<=(m|0):0){b=k+o|0;break}ea(q|0,54641|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}while(0);if((b|0)>(m|0)){ea(q|0,54655|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}else{ea(a+16|0,b-h|0,2,0);ea(a>>0|0,1|0,1,0);b=0;break}}else b=0;while(0);i=r;return b|0}function $p(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=da(a|0,4,0,0)|0|0;e=d+65|0;if(!(da(e>>0|0,1,0,0)|0)){if(((da(d+24|0,4,0,0)|0)&65536|0)==0?(f=a+4|0,k=da(f|0,4,0,0)|0|0,ea(g|0,((b|0)==0?13552:b)|0,4,0),ch(k,d,13560,g),(c|0)!=0):0){b=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;ea(g|0,b|0,4,0);ea(g+4|0,c|0,4,0);d=Lq(d,b,0,g)|0;ea(da(f|0,4,0,0)|0|0,d|0,4,0)}if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,105209|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11}else d=7}else d=7;ea(a+12|0,d|0,4,0);i=h;return}function aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=a+20|0;a:do if((da(l|0,4,0,0)|0|0)>0){g=a+16|0;h=(c|0)==0;k=0;a=0;do{e=(k|0)<2^k;f=da(g|0,4,0,0)|0|0;d=da(f+(e<<4)+12|0,4,0,0)|0|0;if(!(!h?(cd(c,da(f+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an(d+24|0,b,m)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}k=k+1|0}while((k|0)<(da(l|0,4,0,0)|0|0))}else a=0;while(0);i=n;return a|0}function bq(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+8|0,4,0,0)|0|0;d=a+46|0;c=da(d|0,2,0,0)|0|0;c=(c&65535)>5?5:c&65535;b=da((da(a+12|0,4,0,0)|0|0)+28|0,2,0,0)|0|0;ea(e|0,(b<<16>>16<33?33:b)|0,2,0);jw(e+2|0,13512,c<<1|0)|0;b=da(d|0,2,0,1)|0|0;if(c>>>0<b>>>0)do{c=c+1|0;ea(e+(c<<1)|0,23|0,2,0);b=da(d|0,2,0,1)|0|0}while((c|0)<(b|0));if(da(a+50>>0|0,1,0,0)|0)ea(e+(b<<1)|0,0|0,2,0);return}function cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+64|0;if((i|0)>=(j|0))ba();h=l;a:do if((((c|0)!=0?(f=da(c|0,4,0,0)|0|0,(f|0)!=0):0)?(k=c+8|0,(da(k|0,4,0,0)|0|0)!=0):0)?(e=a+4|0,m=Zh(da(a|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0)|0,(m|0)!=0):0){d=da(c+4|0,4,0,0)|0|0;b:do if(!d)g=11;else{if(!(cd(da(c|0,4,0,0)|0|0,d)|0)){e=da(m+8|0,4,0,0)|0|0;if(!e){g=11;break}while(1){f=da(e+51>>0|0,1,0,0)|0|0;if((f&3)==2)break;e=da(e+20|0,4,0,0)|0|0;if(!e){g=11;break b}}d=da(k|0,4,0,0)|0|0;b=e}else{b=aq(da(a|0,4,0,0)|0|0,d,da(e|0,4,0,0)|0|0)|0;e=da(k|0,4,0,0)|0|0;if(!b)break;f=da(b+51>>0|0,1,0,0)|0|0;d=e}k=(da(b+46|0,2,0,1)|0|0)+1|0;ea(b+51>>0|0,f&-5|0,1,0);e=b+8|0;Mq(d,k,da(e|0,4,0,0)|0|0,b);if(da(b+36|0,4,0,0)|0)break a;ea(m+28|0,da(da(e|0,4,0,0)|0|0,2,0,0)|0|0|0,2,0);break a}while(0);if((g|0)==11)e=da(k|0,4,0,0)|0|0;g=m+42|0;k=h+44|0;ea(k|0,da(g|0,2,0,0)|0|0|0,2,0);Mq(e,1,m+28|0,h);ea(g|0,da(k|0,2,0,0)|0|0|0,2,0)}while(0);i=l;return 0}function dq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;do if(b){if((da(a+12|0,4,0,0)|0|0)>>>0<b>>>0){ea(f|0,b|0,4,0);en(a,44408,f);c=1;break}d=(da(a+8|0,4,0,0)|0|0)+(b>>>3)|0;e=da(d>>0|0,1,0,1)|0|0;c=1<<(b&7);if(!(e&c)){ea(d>>0|0,e|c|0,1,0);c=0;break}else{ea(f|0,b|0,4,0);en(a,44432,f);c=1;break}}else c=1;while(0);i=g;return c|0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;do if(c){if((b|0)==1){b=c+8|0;ea(a|0,da(b|0,4,0,0)|0|0,4,0);ea(b|0,0|0,4,0);ea(c+12|0,0|0,4,0);break}b=b+-1|0;c=eq(a,b)|0;d=da(a|0,4,0,0)|0|0;if(d){ea(d+12|0,c|0,4,0);c=d+8|0;ea(a|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,eq(a,b)|0|0,4,0);return d|0}}else c=0;while(0);return c|0}function fq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
9 ia=0,ja=0,ka=0;ja=i;i=i+16|0;if((i|0)>=(j|0))ba();ga=ja;q=da(a|0,4,0,0)|0|0;aa=da(q|0,4,0,0)|0|0;ha=da(aa|0,4,0,0)|0|0;_=da(a+4|0,4,0,0)|0|0;ca=da(a+12|0,4,0,0)|0|0;p=da(ca+16>>0|0,1,0,1)|0|0;q=da(q+4|0,4,0,0)|0|0;X=da(q+(p*72|0)+24|0,4,0,0)|0|0;s=da(a+8|0,4,0,0)|0|0;Y=_+20|0;_=_+12|0;d=da(_|0,4,0,0)|0|0;if((d|0)>0){f=da(q+(p*72|0)+48|0,4,0,0)|0|0;g=0;e=0;h=da(Y|0,4,0,0)|0|0;while(1){if((da(h+8|0,4,0,0)|0|0)==(f|0))e=(((da(h+18|0,2,0,0)|0)&-1153)<<16>>16!=0&1)+e|0;g=g+1|0;if((g|0)==(d|0))break;else h=h+48|0}}else e=0;if(!s)o=0;else{m=da(s|0,4,0,0)|0|0;a:do if((m|0)>0){h=da(s+4|0,4,0,0)|0|0;g=q+(p*72|0)+48|0;l=0;while(1){f=da(h+(l*20|0)|0,4,0,0)|0|0;if((da(f>>0|0,1,0,0)|0|0)!=-102){d=l;break a}d=l+1|0;if((da(f+28|0,4,0,0)|0|0)!=(da(g|0,4,0,0)|0|0)){d=l;break a}if((d|0)<(m|0))l=d;else break}}else d=0;while(0);o=(d|0)==(m|0)?m:0}d=(e*20|0)+56+(o<<3)|0;W=lh(ha,d,0)|0;do if(!W){sh(aa,15776,ga);d=7}else{ew(W|0,0,d|0)|0;d=W+56|0;n=d+(e*12|0)|0;ea(W|0,e|0,4,0);T=W+8|0;ea(T|0,o|0,4,0);U=W+4|0;ea(U|0,d|0,4,0);ea(W+12|0,n|0,4,0);V=W+16|0;ea(V|0,n+(o<<3)|0,4,0);f=da(_|0,4,0,0)|0|0;if((f|0)>0){l=da(q+(p*72|0)+48|0,4,0,0)|0|0;h=0;m=0;g=da(Y|0,4,0,0)|0|0;while(1){if((da(g+8|0,4,0,0)|0|0)==(l|0)?(t=da(g+18|0,2,0,0)|0|0,(t&-1153)<<16>>16!=0):0){ea(d+(m*12|0)|0,da(g+12|0,4,0,0)|0|0,4,0);ea(d+(m*12|0)+8|0,h|0,4,0);ea(d+(m*12|0)+4>>0|0,((t&255)==1?2:t&255)|0,1,0);m=m+1|0}h=h+1|0;if((h|0)==(f|0))break;else g=g+48|0}}if((o|0)>0){d=da(s+4|0,4,0,0)|0|0;e=0;do{ea(n+(e<<3)|0,da((da(d+(e*20|0)|0,4,0,0)|0|0)+32|0,2,0,0)|0|0,4,0);ea(n+(e<<3)+4>>0|0,da(d+(e*20|0)+12>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0}while((e|0)!=(o|0))}v=ca;ea(v|0,0|0,4,0);ea(v+4|0,0|0,4,0);v=ca+18|0;ea(v|0,0|0,2,0);ea(ca+36|0,1024|0,4,0);w=ca+40|0;ea(w|0,0|0,2,0);x=ca+28|0;ea(x>>0|0,0|0,1,0);y=da(V|0,4,0,0)|0|0;z=da(W|0,4,0,0)|0|0;if(Mu(ha,ca,z)|0){lg(ha,W);d=7;break}R=W+28|0;S=W+24|0;A=W+20|0;B=W+32|0;D=W+40|0;E=W+48|0;F=X+60|0;G=aa+64|0;H=(z|0)>0;I=ca+30|0;J=ca+24|0;K=ca+32|0;L=ca+29|0;O=ca+20|0;P=ca+22|0;Q=ca+48|0;q=0;t=0;s=0;b:while(1){if(!((t|0)!=0|(q&1|0)==0))if((q|0)>2){d=0;break}else u=q+1|0;else u=q;if((s|0)==0&(u|0)>1){d=0;break}h=da(W|0,4,0,0)|0|0;if((h|0)>0){e=da(Y|0,4,0,0)|0|0;f=0;g=da(U|0,4,0,0)|0|0;while(1){q=da(g+8|0,4,0,0)|0|0;if((u|0)==2)ea(g+5>>0|0,(da(e+(q*48|0)+18|0,2,0,0)|0)&1^1|0,1,0);else if(!u){d=g+5|0;ea(d>>0|0,0|0,1,0);p=((da(e+(q*48|0)+18|0,2,0,0)|0)&1)==0;t=p?t:1;q=e+(q*48|0)+32|0;q=(da(q|0,4,0,0)|0|0)!=0|(da(q+4|0,4,0,0)|0|0)!=0;if(q|p^1)s=q?1:s;else ea(d>>0|0,1|0,1,0)}else if((u|0)==1){p=e+(q*48|0)+32|0;ea(g+5>>0|0,(da(p|0,4,0,0)|0|0)==0&(da(p+4|0,4,0,0)|0|0)==0&1|0,1,0)}else ea(g+5>>0|0,1|0,1,0);f=f+1|0;if((f|0)>=(h|0)){p=t;break}else g=g+12|0}}else p=t;ew(y|0,0,h<<3|0)|0;if(da(R|0,4,0,0)|0)Vc(da(S|0,4,0,0)|0|0);ea(A+0|0,0|0,4,0);ea(A+4|0,0|0,4,0);ea(A+8|0,0|0,4,0);ea(A+12|0,0|0,4,0);ea(D|0,+(5.e+98),8,1);d=E;ea(d|0,25|0,4,0);ea(d+4|0,0|0,4,0);d=da(aa|0,4,0,0)|0|0;q=F;while(1){q=da(q|0,4,0,0)|0|0;if((da(q|0,4,0,0)|0|0)==(d|0))break;else q=q+24|0}t=da(q+8|0,4,0,0)|0|0;q=qc[(fa(da((da(t|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,127|0)|0)&127](t,W)|0;do if((q|0)==7)ea((da(aa|0,4,0,0)|0|0)+65>>0|0,1|0,1,0);else if(q){d=da(t+8|0,4,0,0)|0|0;if(d){ea(ga|0,d|0,4,0);sh(aa,10344,ga);break}if((q|0)!=516){q=q&255;if(q>>>0>26|(q|0)==2)q=16328;else q=da(15488+(q<<2)|0,4,0,0)|0|0}else q=16344;ea(ga|0,q|0,4,0);sh(aa,10344,ga)}while(0);q=t+8|0;Vc(da(q|0,4,0,0)|0|0);ea(q|0,0|0,4,0);q=da(W|0,4,0,0)|0|0;if((q|0)>0){d=0;do{if((da((da(U|0,4,0,0)|0|0)+(d*12|0)+5>>0|0,1,0,0)|0|0)==0?(da((da(V|0,4,0,0)|0|0)+(d<<3)|0,4,0,0)|0|0)>0:0){ea(ga|0,da(X|0,4,0,0)|0|0,4,0);sh(aa,34096,ga);q=da(W|0,4,0,0)|0|0}d=d+1|0}while((d|0)<(q|0))}d=da(G|0,4,0,0)|0|0;if(d)break;t=da(U|0,4,0,0)|0|0;o=ca;ea(o|0,b|0,4,0);ea(o+4|0,c|0,4,0);c:do if(H){q=0;do{ea((da(Q|0,4,0,0)|0|0)+(q<<2)|0,0|0,4,0);q=q+1|0}while((q|0)!=(z|0));ea(I|0,0|0,2,0);if(H){f=b;e=c;d=0;o=0;q=-1;while(1){h=da(y+(o<<3)|0,4,0,0)|0|0;l=h+-1|0;do if((h|0)>0){m=da(t+8|0,4,0,0)|0|0;if((h|0)>(z|0)|(m|0)<0){ia=65;break b}if((m|0)>=(da(_|0,4,0,0)|0|0)){ia=65;break b}g=(da(Q|0,4,0,0)|0|0)+(l<<2)|0;if(da(g|0,4,0,0)|0){ia=65;break b}n=da(Y|0,4,0,0)|0|0;ka=n+(m*48|0)+32|0;f=f|(da(ka|0,4,0,0)|0);e=e|(da(ka+4|0,4,0,0)|0);ka=ca;ea(ka|0,f|0,4,0);ea(ka+4|0,e|0,4,0);ea(g|0,n+(m*48|0)|0,4,0);q=(l|0)>(q|0)?l:q;do if((h|0)<17){if(!(da(y+(o<<3)+4>>0|0,1,0,0)|0))break;d=(d&65535|1<<l)&65535;ea(I|0,d|0,2,0)}while(0);if(!((da(n+(m*48|0)+18|0,2,0,0)|0)&1))break;if(!(da(y+(o<<3)+4>>0|0,1,0,0)|0))break c;ea(B|0,0|0,4,0)}while(0);o=o+1|0;if((o|0)>=(z|0)){ia=73;break}else t=t+12|0}}else{q=-1;ia=73}}else{ea(I|0,0|0,2,0);q=-1;ia=73}while(0);if((ia|0)==73){ia=0;ea(w|0,q+1|0,2,0);ea(J|0,da(A|0,4,0,0)|0|0,4,0);ea(x>>0|0,da(R|0,4,0,0)|0|0,1,0);ea(R|0,0|0,4,0);ea(K|0,da(S|0,4,0,0)|0|0,4,0);if(!(da(B|0,4,0,0)|0))q=0;else q=(da(T|0,4,0,0)|0)&255;ea(L>>0|0,q|0,1,0);ea(v|0,0|0,2,0);r=+(+da(D|0,8,1,0));ea(k|0,+r,8,1);q=da(k|0,4,0,0)|0|0;d=da(k+4|0,4,0,0)|0|0;do if(!(r<=1.0))if(!(r<=2.0e9)){q=lw(q|0,d|0,52)|0;q=iw(q|0,C|0,64514,0)|0;q=(q<<16>>16)*10&65535;break}else{q=es(~~r>>>0,+N(r)>=1.0?(r>0.0?~~+$(+M(r/4294967296.0),4294967295.0)>>>0:~~+Z((r-+(~~r>>>0))/4294967296.0)>>>0):0)|0;break}else q=0;while(0);ea(O|0,q|0,2,0);o=E;ea(P|0,es(da(o|0,4,0,0)|0|0,da(o+4|0,4,0,0)|0|0)|0|0,2,0);Ev(a,ca)|0;if(da(x>>0|0,1,0,0)|0){Vc(da(K|0,4,0,0)|0|0);ea(x>>0|0,0|0,1,0)}}q=u+1|0;if((q|0)>=4){d=0;break}else t=p}if((iaia=0,ja=0;ja=i;i=i+32|0;if((i|0)>=(j|0))ba();Y=ja+24|0;V=ja+16|0;aa=ja+8|0;ia=ja;X=da(a|0,4,0,0)|0|0;fa=da(X|0,4,0,0)|0|0;k=da(a+41>>0|0,1,0,0)|0|0;ga=k&255;if((k&255)<2)R=1;else R=k<<24>>24==2?5:10;ha=a+8|0;f=da(ha|0,4,0,0)|0|0;Z=b<<16>>16==0;if((f|0)==0|Z)Q=0;else Q=da(f|0,4,0,0)|0|0;g=Q<<1;ca=g+(_((ga<<3)+64|0,R)|0)|0;ca=lh(fa,ca,((ca|0)<0)<<31>>31)|0;do if(ca){f=ca+(R<<5)|0;ea(f+0|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(f+8|0,0|0,4,0);ea(f+12|0,0|0,4,0);ea(f+16|0,0|0,4,0);ea(f+20|0,0|0,4,0);ea(f+24|0,0|0,4,0);ea(f+28|0,0|0,4,0);c=R<<1;h=_(R,-2)|0;h=ca+((_((((h|0)>-1?h:1073741823)+(R<<1)<<2)+4|0,ga)|0)+(R<<6))|0;e=c;d=ca;c=ca+(c<<5)|0;while(1){ea(d+24|0,c|0,4,0);e=e+-1|0;if((e|0)<=0)break;else{d=d+32|0;c=c+(ga<<2)|0}}e=(Q|0)!=0;if(e)ew(h|0,0,g|0)|0;else h=0;P=da(X+424|0,4,0,0)|0|0;ea(ca+(R<<5)+16|0,(P>>>0<48?P&65535:48)|0,2,0);if(e)ea(ca+(R<<5)+22>>0|0,(k<<24>>24!=0?-1:Q&255)|0,1,0);P=k<<24>>24==0;if(!P){L=a+16|0;M=a+34|0;N=b<<16>>16<11;O=(b&65535)+16|0;I=b<<16>>16;J=((I|0)<0)<<31>>31;K=R>>>0>1;c=ca;H=0;g=0;k=0;b=0;d=1;while(1){if((d|0)>0){C=H&65535;D=H<<2;E=c+18|0;F=c+16|0;G=0;e=0;B=f;while(1){l=da(L|0,4,0,0)|0|0;if(l){w=B+22|0;x=B+16|0;y=B+20|0;z=B+24|0;A=B+8|0;v=e;while(1){o=da(w>>0|0,1,0,0)|0|0;e=V;ea(e|0,0|0,4,0);ea(e+4|0,0|0,4,0);e=l;n=B;m=da(n|0,4,0,0)|0|0;n=da(n+4|0,4,0,0)|0|0;a:do if((((da(e|0,4,0,0)|0)&~m|0)==0?((da(e+4|0,4,0,0)|0)&~n|0)==0:0)?(S=l+8|0,U=S,T=da(U|0,4,0,0)|0|0,U=da(U+4|0,4,0,0)|0|0,(T&m|0)==0&(U&n|0)==0):0){s=da(x|0,2,0,1)|0|0;t=Fv(da(l+18|0,2,0,0)|0|0,s+(da(l+20|0,2,0,1)|0|0)&65535)|0;t=Fv(t,da(y|0,2,0,0)|0|0)|0;s=(da(l+22|0,2,0,1)|0|0)+s|0;u=s&65535;r=T|m;q=U|n;if(o<<24>>24<0)o=Lv(a,da(ha|0,4,0,0)|0|0,B,da(M|0,2,0,0)|0|0,C,l,V)|0;else{n=A;m=da(n+4|0,4,0,0)|0|0;e=V;ea(e|0,da(n|0,4,0,0)|0|0,4,0);ea(e+4|0,m|0,4,0)}n=o<<24>>24;if(o<<24>>24>-1&(Q|0)>(n|0)){p=h+(n<<1)|0;m=da(p|0,2,0,0)|0|0;if(!(m<<16>>16)){n=((Q-n|0)*100|0)/(Q|0)|0;n=(es(n,((n|0)<0)<<31>>31)|0)&65535;if(N)e=0;else e=((es(I,J)|0)&65535)+65503&65535;n=O+(((n<<16)+-4325376|0)>>>16)+e|0;if((da(M|0,2,0,0)|0)&1024)n=(n&65535)+16|0;m=n&65535;ea(p|0,m|0,2,0)}p=Fv(t,m)|0}else p=t;b:do if((v|0)>0){e=0;m=c;while(1){n=m;if(((da(n|0,4,0,0)|0|0)==(r|0)?(da(n+4|0,4,0,0)|0|0)==(q|0):0)?((da(m+22>>0|0,1,0,0)|0)^o)<<24>>24>-1:0)break;e=e+1|0;if((e|0)>=(v|0)){W=35;break b}else m=m+32|0}e=da(m+18|0,2,0,0)|0|0;if(e<<16>>16<p<<16>>16){e=v;break a}if(e<<16>>16!=p<<16>>16){e=v;break}if((da(m+16|0,2,0,0)|0|0)>(s<<16>>16|0))e=v;else{e=v;break a}}else W=35;while(0);if((W|0)==35){W=0;m=(v|0)<(R|0);if(!m){if(p<<16>>16>g<<16>>16){e=v;break}if(!(p<<16>>16!=g<<16>>16?1:t<<16>>16<b<<16>>16)){e=v;break}}e=(m&1)+v|0;m=c+((m?v:k)<<5)|0}q=B;s=S;r=da(s+4|0,4,0,0)|0|(da(q+4|0,4,0,0)|0);n=m;ea(n|0,da(s|0,4,0,0)|0|(da(q|0,4,0,0)|0)|0,4,0);ea(n+4|0,r|0,4,0);r=V;n=da(r+4|0,4,0,0)|0|0;q=m+8|0;ea(q|0,da(r|0,4,0,0)|0|0,4,0);ea(q+4|0,n|0,4,0);ea(m+16|0,u|0,2,0);ea(m+18|0,p|0,2,0);ea(m+20|0,t|0,2,0);ea(m+22>>0|0,o|0,1,0);m=m+24|0;jw(da(m|0,4,0,0)|0|0,da(z|0,4,0,0)|0|0,D|0)|0;ea((da(m|0,4,0,0)|0|0)+(H<<2)|0,l|0,4,0);if((e|0)<(R|0))break;g=da(E|0,2,0,0)|0|0;b=da(F|0,2,0,0)|0|0;if(K){o=c;p=1;n=g;k=0;m=b}else{k=0;break}while(1){g=da(o+50|0,2,0,0)|0|0;do if(g<<16>>16<=n<<16>>16){if(g<<16>>16!=n<<16>>16){g=n;b=m;break}b=da(o+52|0,2,0,0)|0|0;if(b<<16>>16>m<<16>>16)W=48;else{g=n;b=m}}else{b=da(o+52|0,2,0,0)|0|0;W=48}while(0);o=o+32|0;if((W|0)==48){W=0;k=p}p=p+1|0;if((p|0)>=(R|0))break;else{n=g;m=b}}}else e=v;while(0);l=da(l+52|0,4,0,0)|0|0;if(!l)break;else v=e}}G=G+1|0;if((G|0)==(d|0)){d=e;break}else B=B+32|0}}else d=0;H=H+1|0;if((H|0)>=(ga|0))break;else{G=c;c=f;f=G}}if(!d){sh(X,34008,Y);lg(fa,ca);break}if((d|0)>1){e=1;f=c;do{if((da(f+18|0,2,0,0)|0|0)>(da(c+(e<<5)+18|0,2,0,0)|0|0))f=c+(e<<5)|0;e=e+1|0}while((e|0)!=(d|0))}else f=c;if(!P){d=a+4|0;e=da(f+24|0,4,0,0)|0|0;c=0;do{W=da(e+(c<<2)|0,4,0,0)|0|0;ea(a+(c*80|0)+800|0,W|0,4,0);W=da(W+16>>0|0,1,0,0)|0|0;ea(a+(c*80|0)+780>>0|0,W|0,1,0);ea(a+(c*80|0)+740|0,da((da(d|0,4,0,0)|0|0)+((W&255)*72|0)+48|0,4,0,0)|0|0,4,0);c=c+1|0}while((c|0)<(ga|0))}}d=a+34|0;if((((da(d|0,2,0,0)|0)&1536)==1024?($=a+40|0,!((da($>>0|0,1,0,0)|0|0)!=0|Z)):0)?(W=a+12|0,V=ga+-1|0,V=(Lv(a,da(W|0,4,0,0)|0|0,f,512,V&65535,da((da(f+24|0,4,0,0)|0|0)+(V<<2)|0,4,0,0)|0|0,aa)|0)<<24>>24,(V|0)==(da(da(W|0,4,0,0)|0|0,4,0,0)|0|0)):0)ea($>>0|0,2|0,1,0);e=da(ha|0,4,0,0)|0|0;if(e){c=da(d|0,2,0,0)|0|0;d=da(f+22>>0|0,1,0,0)|0|0;if(c&512){if((d<<24>>24|0)==(da(e|0,4,0,0)|0|0))ea(a+40>>0|0,2|0,1,0)}else{ea(a+36>>0|0,(d<<24>>24<0?0:d)|0,1,0);U=f+8|0;W=da(U+4|0,4,0,0)|0|0;V=a+24|0;ea(V|0,da(U|0,4,0,0)|0|0,4,0);ea(V+4|0,W|0,4,0)}if(((c&2048)!=0?(da(a+36>>0|0,1,0,0)|0|0)==(da(e|0,4,0,0)|0|0):0)?(W=ia,ea(W|0,0|0,4,0),ea(W+4|0,0|0,4,0),W=ga+-1|0,W=(Lv(a,e,f,0,W&65535,da((da(f+24|0,4,0,0)|0|0)+(W<<2)|0,4,0,0)|0|0,ia)|0)<<24>>24,(W|0)==(da(da(ha|0,4,0,0)|0|0,4,0,0)|0|0)):0){ea(a+37>>0|0,1|0,1,0);U=ia
12 function hr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=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,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,_=0,$=0,aa=0,ca=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;va=i;i=i+240|0;if((i|0)>=(j|0))ba();ka=va;la=va+220|0;aa=va+216|0;_=va+196|0;$=va+176|0;na=va+164|0;oa=va+136|0;ra=va+88|0;Y=va+64|0;fa=va+32|0;ta=a+464|0;ua=da(ta|0,4,0,0)|0|0;ha=a+468|0;qa=da(ha|0,4,0,0)|0|0;ea(ha|0,qa+1|0,4,0);ea(ta|0,qa|0,4,0);qa=da(a|0,4,0,0)|0|0;a:do if((((b|0)!=0?(ia=qa+65|0,(da(ia>>0|0,1,0,0)|0|0)==0):0)?(d=a+64|0,(da(d|0,4,0,0)|0|0)==0):0)?(Rq(a,21,0,0,0)|0)==0:0){u=ra+0|0;t=u+48|0;do{ea(u|0,0|0,4,0);u=u+4|0}while((u|0)<(t|0));ca=b+48|0;if((da(c>>0|0,1,0,1)|0|0)<9){Mk(qa,da(ca|0,4,0,0)|0|0);ea(ca|0,0|0,4,0);X=b+6|0;ea(X|0,(da(X|0,2,0,1)|0)&65534|0,2,0)}Cs(a,b,0);ea(oa+0|0,0|0,4,0);ea(oa+4|0,0|0,4,0);ea(oa+8|0,0|0,4,0);ea(oa+12|0,0|0,4,0);ea(oa+16|0,0|0,4,0);ea(oa+20|0,0|0,4,0);ea(oa+24|0,0|0,4,0);ea(oa|0,da(ca|0,4,0,0)|0|0,4,0);ga=b+32|0;p=da(ga|0,4,0,0)|0|0;o=da(b|0,4,0,0)|0|0;b:do if(((da(d|0,4,0,0)|0|0)==0?(da(iaia>>0|0,1,0,0)|0){sa=444;break b}ea(ka|0,0|0,4,0);Ds(b,ka);ea(g|0,(da(g|0,4,0,0)|0|0)-(da(ka|0,4,0,0)|0|0)|0,4,0);p=da(ga|0,4,0,0)|0|0;if((da(c>>0|0,1,0,1)|0|0)<9)break;ea(oa|0,da(ca|0,4,0,0)|0|0,4,0)}while(0);o=da(ja|0,4,0,0)|0|0;if(!o)J=r+1|0;else{x=e;H=o;r=q;L=p;break}}}else{x=b+36|0;H=o;L=p}while(0);K=da(b|0,4,0,0)|0|0;t=da(x|0,4,0,0)|0|0;e=b+40|0;o=da(e|0,4,0,0)|0|0;y=b+44|0;Y=da(y|0,4,0,0)|0|0;f=da(ma|0,2,0,0)|0|0;ea(na>>0|0,f&1|0,1,0);if(H){F=da(a|0,4,0,0)|0|0;ea(la+0|0,da(c+0|0,4,0,0)|0|0,4,0);ea(la+4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(la+8|0,da(c+8|0,4,0,0)|0|0,4,0);ea(la+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea(la+16|0,da(c+16|0,4,0,0)|0|0,4,0);h:do if(!(da(H+48|0,4,0,0)|0)){h=H+60|0;if(da(h|0,4,0,0)|0){d=da(b+4>>0|0,1,0,1)|0|0;if((d|0)==118)d=35336;else if((d|0)==117)d=35352;else if((d|0)==116)d=35320;else d=35360;ea(ka|0,d|0,4,0);sh(a,35072,ka);f=0;d=1;sa=227;break}I=Nq(a)|0;l=da(la>>0|0,1,0,0)|0|0;if(l<<24>>24==12){vh(I,57,da(la+4|0,4,0,0)|0|0,da(da(b|0,4,0,0)|0|0,4,0,0)|0|0,0)|0;l=da(I+4|0,4,0,0)|0|0;if(l)ea(l+(((da(I+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(la>>0|0,14|0,1,0);l=14}k=da(ma|0,2,0,1)|0|0;if(k&256){f=0;d=Hs(a,b,la)|0;sa=227;break}if((da(da(b|0,4,0,0)|0|0,4,0,0)|0|0)!=(da(da(H|0,4,0,0)|0|0,4,0,0)|0|0)){Is(a,b);f=0;d=1;sa=227;break}do if(!(k&2048)){if(da(ca|0,4,0,0)|0){d=Ks(a,b,c)|0;break h}G=b+4|0;k=da(G>>0|0,1,0,1)|0|0;if((k|0)==116){n=b+8|0;l=H+8|0;ea(l|0,da(n|0,4,0,0)|0|0,4,0);m=b+12|0;k=H+12|0;ea(k|0,da(m|0,4,0,0)|0|0,4,0);X=b+60|0;ea(h|0,da(X|0,4,0,0)|0|0,4,0);Y=b+64|0;ea(H+64|0,da(Y|0,4,0,0)|0|0,4,0);g=da(ha|0,4,0,0)|0|0;d=hr(a,H,la)|0;ea(X|0,0|0,4,0);ea(Y|0,0|0,4,0);if(d){f=0;sa=227;break h}ea(ja|0,0|0,4,0);l=da(l|0,4,0,0)|0|0;ea(n|0,l|0,4,0);ea(m|0,da(k|0,4,0,0)|0|0,4,0);if(!l)o=0;else o=vh(I,46,l,0,0)|0;e=da(ha|0,4,0,0)|0|0;d=hr(a,b,la)|0;f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);Y=H+24|0;n=b+24|0;l=n;Y=iw(da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0,da(Y|0,4,0,0)|0|0,da(Y+4|0,4,0,0)|0|0)|0;l=n;ea(l|0,Y|0,4,0);ea(l+4|0,C|0,4,0);l=da(h|0,4,0,0)|0|0;do if(l){Y=(Ls(l,aa)|0)!=0;l=da(aa|0,4,0,0)|0|0;if(!(Y&(l|0)>0))break;k=n;Y=da(k+4|0,4,0,0)|0|0;h=((l|0)<0)<<31>>31;if(!(Y>>>0>h>>>0|((Y|0)==(h|0)?(da(k|0,4,0,0)|0|0)>>>0>l>>>0:0)))break;Y=n;ea(Y|0,l|0,4,0);ea(Y+4|0,h|0,4,0)}while(0);if(!o){o=G;n=g;l=e;break}h=da(I+32|0,4,0,0)|0|0;if(h>>>0>o>>>0)ea((da(I+4|0,4,0,0)|0|0)+(o*20|0)+8|0,h|0,4,0);ea((da(I+24|0,4,0,0)|0|0)+88|0,h+-1|0,4,0);o=G;n=g;l=e;break}else if((k|0)==115|(k|0)==117){if(l<<24>>24==1)k=da(la+4|0,4,0,0)|0|0;else{h=a+68|0;k=da(h|0,4,0,0)|0|0;ea(h|0,k+1|0,4,0);ea(b+16|0,vh(I,57,k,0,0)|0|0,4,0);h=b;while(1){l=da(h+56|0,4,0,0)|0|0;if(!l)break;else h=l}Y=h+6|0;ea(Y|0,da(Y|0,2,0,1)|0|8|0,2,0)}ea(_>>0|0,1|0,1,0);ea(_+4|0,k|0,4,0);ea(_+1>>0|0,0|0,1,0);ea(_+8|0,0|0,4,0);ea(_+12|0,0|0,4,0);q=da(ha|0,4,0,0)|0|0;d=hr(a,H,_)|0;if(d){f=0;sa=227;break h}p=(da(G>>0|0,1,0,0)|0|0)==117?2:1;ea(ja|0,0|0,4,0);n=b+60|0;m=da(n|0,4,0,0)|0|0;ea(n|0,0|0,4,0);l=b+64|0;h=da(l|0,4,0,0)|0|0;ea(l|0,0|0,4,0);ea(_>>0|0,p|0,1,0);p=da(ha|0,4,0,0)|0|0;d=hr(a,b,_)|0;Mk(F,da(ca|0,4,0,0)|0|0);f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);ea(ca|0,0|0,4,0);if((da(G>>0|0,1,0,0)|0|0)==115){X=H+24|0;Y=b+24|0;W=Y;X=iw(da(W|0,4,0,0)|0|0,da(W+4|0,4,0,0)|0|0,da(X|0,4,0,0)|0|0,da(X+4|0,4,0,0)|0|0)|0;ea(Y|0,X|0,4,0);ea(Y+4|0,C|0,4,0)}Fk(F,da(n|0,4,0,0)|0|0);ea(n|0,m|0,4,0);ea(l|0,h|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);h=da(la>>0|0,1,0,0)|0|0;if(h<<24>>24==9){h=b;while(1){g=da(h+52|0,4,0,0)|0|0;if(!g)break;else h=g}Ms(a,0,da(h|0,4,0,0)|0|0)}else if(h<<24>>24==1){o=G;n=q;l=p;break}e=ws(I)|0;Y=ws(I)|0;Ns(a,b,e);vh(I,108,k,e,0)|0;o=I+32|0;n=da(o|0,4,0,0)|0|0;Os(a,b,da(b|0,4,0,0)|0|0,k,0,0,la,Y,e);m=I+24|0;l=da(m|0,4,0,0)|0|0;h=~Y;do if((Y|0)<0){g=da(l+112|0,4,0,0)|0|0;if(!g)break;ea(g+(h<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(l+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);vh(I,9,k,n,0)|0;h=da(m|0,4,0,0)|0|0;g=~e;do if((e|0)<0){l=da(h+112|0,4,0,0)|0|0;if(!l)break;ea(l+(g<<2)|0,da(o|0,4,0,0)|0|0,4,0)}while(0);ea(h+88|0,(da(o|0,4,0,0)|0|0)+-1|0,4,0);vh(I,61,k,0,0)|0;o=G;n=q;l=p;break}else{h=a+68|0;s=da(h|0,4,0,0)|0|0;ea(h|0,s+2|0,4,0);ea(b+16|0,vh(I,57,s,0,0)|0|0,4,0);h=b;while(1){g=da(h+56|0,4,0,0)|0|0;if(!g)break;else h=g}q=s+1|0;n=h+6|0;ea(n|0,da(n|0,2,0,1)|0|8|0,2,0);ea($>>0|0,1|0,1,0);n=$+4|0;ea(n|0,s|0,4,0);ea($+1>>0|0,0|0,1,0);ea($+8|0,0|0,4,0);ea($+12|0,0|0,4,0);p=da(ha|0,4,0,0)|0|0;d=hr(a,H,$)|0;if(d){f=0;sa=227;break h}ea(b+20|0,vh(I,57,q,0,0)|0|0,4,0);ea(ja|0,0|0,4,0);g=b+60|0;h=da(g|0,4,0,0)|0|0;ea(g|0,0|0,4,0);k=b+64|0;l=da(k|0,4,0,0)|0|0;ea(k|0,0|0,4,0);ea(n|0,q|0,4,0);r=da(ha|0,4,0,0)|0|0;d=hr(a,b,$)|0;f=da(ja|0,4,0,0)|0|0;ea(ja|0,H|0,4,0);o=b+24|0;e=o;Y=da(e+4|0,4,0,0)|0|0;m=H+24|0;n=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;if(Y>>>0>m>>>0|((Y|0)==(m|0)?(da(e|0,4,0,0)|0|0)>>>0>n>>>0:0)){Y=o;ea(Y|0,n|0,4,0);ea(Y+4|0,m|0,4,0)}Fk(F,da(g|0,4,0,0)|0|0);ea(g|0,h|0,4,0);ea(k|0,l|0,4,0);if((da(la>>0|0,1,0,0)|0|0)==9){l=b;while(1){k=da(l+52|0,4,0,0)|0|0;if(!k)break;else l=k}Ms(a,0,da(l|0,4,0,0)|0|0)}g=ws(I)|0;o=ws(I)|0;Ns(a,b,g);vh(I,108,s,g,0)|0;l=a+19|0;k=da(l>>0|0,1,0,0)|0|0;if(!(k<<24>>24)){Y=a+72|0;l=(da(Y|0,4,0,0)|0|0)+1|0;ea(Y|0,l|0,4,0)}else{Y=k+-1<<24>>24;ea(l>>0|0,Y|0,1,0);l=da(a+((Y&255)<<2)+24|0,4,0,0)|0|0}e=vh(I,101,s,l,0)|0;wh(I,vh(I,68,q,o,l)|0,0,-14);Zr(a,l);Os(a,b,da(b|0,4,0,0)|0|0,s,0,0,la,o,g);l=I+24|0;k=da(l|0,4,0,0)|0|0;m=~o;do if((o|0)<0){n=da(k+112|0,4,0,0)|0|0;if(!n)break;ea(n+(m<<2)|0,da(I+32|0,4,0,0)|0|0,4,0)}while(0);n=I+32|0;ea(k+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);vh(I,9,s,e,0)|0;k=da(l|0,4,0,0)|0|0;h=~g;do if((g|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(n|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0);vh(I,61,q,0,0)|0;vh(I,61,s,0,0)|0;o=G;n=p;l=r;break}}else{Js(a,b,la);o=b+4|0;n=0;l=0;f=0;d=0}while(0);Y=da(o>>0|0,1,0,0)|0|0;Ps(a,Y&255,n,l,Y<<24>>24!=116&1);if(!((da(ma|0,2,0,0)|0)&8)){sa=227;break}m=da(da(b|0,4,0,0)|0|0,4,0,0)|0|0;n=Qs(F,m,1)|0;if(!n){d=7;sa=227;break}if((m|0)>0){e=F+8|0;g=n+20|0;h=0;while(1){Y=Rs(a,b,h)|0;ea(g|0,Y|0,4,0);if(!Y)ea(g|0,da(e|0,4,0,0)|0|0,4,0);h=h+1|0;if((h|0)==(m|0))break;else g=g+4|0}}k=I+32|0;l=I+4|0;do{e=0;do{h=b+(e<<2)+16|0;g=da(h|0,4,0,0)|0|0;if((g|0)<0)break;if((da(k|0,4,0,0)|0|0)>>>0>g>>>0)ea((da(l|0,4,0,0)|0|0)+(g*20|0)+8|0,m|0,4,0);ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);wh(I,g,n,-6);ea(h|0,-1|0,4,0);e=e+1|0}while((e|0)<2);b=da(b+52|0,4,0,0)|0|0}while((b|0)!=0);Y=(da(n|0,4,0,0)|0|0)+-1|0;ea(n|0,Y|0,4,0);if(Y){sa=227;break}Vc(n);sa=227}else{d=da(b+4>>0|0,1,0,1)|0|0;if((d|0)==118)d=35336;else if((d|0)==117)d=35352;else if((d|0)==116)d=35320;else d=35360;ea(ka|0,d|0,4,0);sh(a,35024,ka);f=0;d=1;sa=227}while(0);if((sa|0)==227){ea(c+8|0,da(la+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(la+12|0,4,0,0)|0|0,4,0);Lk(F,f,1)}ea(ta|0,ua|0,4,0);break a}if((f&5)==1){d=da(oa|0,4,0,0)|0|0;if(!(Ss(d,K,-1)|0)){ea(ma|0,f&65534|0,2,0);o=Or(qa,K,0)|0;ea(e|0,o|0,4,0);sa=232}}else sa=232;if((sa|0)==232)d=da(oa|0,4,0,0)|0|0;if(!d)d=-1;else{X=Ts(a,d,0,da(K|0,4,0,0)|0|0)|0;W=a+68|0;d=da(W|0,4,0,0)|0|0;ea(W|0,d+1|0,4,0);ea(oa+8|0,d|0,4,0);d=vh(pa,57,d,(da(da(oa|0,4,0,0)|0|0,4,0,0)|0|0)+1+(da(K|0,4,0,0)|0|0)|0,0)|0;wh(pa,d,X,-6)}I=oa+20|0;ea(I|0,d|0,4,0);if((da(c>>0|0,1,0,0)|0|0)==12)vh(pa,57,da(c+4|0,4,0,0)|0|0,da(K|0,4,0,0)|0|0,0)|0;ja=ws(pa)|0;q=b+24|0;X=q;ea(X|0,-1|0,4,0);ea(X+4|0,2147483647|0,4,0);Ns(a,b,ja);if((da(b+8|0,4,0,0)|0|0)==0?(Z=da(I|0,4,0,0)|0|0,(Z|0)>-1):0){if(!(da((da(pa|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0))d=(da(pa+4|0,4,0,0)|0|0)+(Z*20|0)|0;else d=29120;ea(d>>0|0,58|0,1,0);X=oa+24|0;ea(X>>0|0,da(X>>0|0,1,0,1)|0|1|0,1,0)}if(!((da(ma|0,2,0,0)|0)&1))ea(na+1>>0|0,0|0,1,0);else{X=a+68|0;d=da(X|0,4,0,0)|0|0;ea(X|0,d+1|0,4,0);ea(na+4|0,d|0,4,0);X=Ts(a,da(b|0,4,0,0)|0|0,0,0)|0;d=vh(pa,57,d,0,0)|0;wh(pa,d,X,-6);ea(na+8|0,d|0,4,0);d=da(pa+4|0,4,0,0)|0|0;if(d)ea(d+(((da(pa+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(na+1>>0|0,3|0,1,0)}if((r|0)==0&(o|0)==0){n=Us(a,L,t,da(oa|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,(da(na>>0|0,1,0,0)|0|0)!=0?1024:0,0)|0;if(!n){sa=444;break}l=Vs(da(n+32|0,2,0,0)|0|0)|0;k=C;h=q;Y=da(h+4|0,4,0,0)|0|0;if(k>>>0<Y>>>0|((k|0)==(Y|0)?l>>>0<(da(h|0,4,0,0)|0|0)>>>0:0)){Y=q;ea(Y|0,l|0,4,0);ea(Y+4|0,k|0,4,0)}do if(da(na>>0|0,1,0,0)|0){l=da(n+40>>0|0,1,0,0)|0|0;if(!(l<<24>>24))break;ea(na+1>>0|0,l|0,1,0)}while(0);l=da(oa|0,4,0,0)|0|0;do if(!l)sa=257;else{Y=da(n+36>>0|0,1,0,0)|0|0;ea(oa+4|0,Y|0,4,0);if((Y|0)!=(da(l|0,4,0,0)|0|0))break;ea(oa|0,0|0,4,0);sa=257}while(0);do if((sa|0)==257){h=da(I|0,4,0,0)|0|0;if((h|0)<=-1)break;yh(pa,h)}while(0);Os(a,b,K,-1,oa,na,c,da(n+48|0,4,0,0)|0|0,da(n+52|0,4,0,0)|0|0);Ws(n)}else{r=(o|0)!=0;do if(r){e=da(b|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if((d|0)>0){e=da(e+4|0,4,0,0)|0|0;while(1){ea(e+18|0,0|0,2,0);d=d+-1|0;if((d|0)<=0)break;else e=e+20|0}}d=da(o|0,4,0,0)|0|0;if((d|0)>0){e=da(o+4|0,4,0,0)|0|0;while(1){ea(e+18|0,0|0,2,0);d=d+-1|0;if((d|0)<=0)break;else e=e+20|0}}X=q;W=da(X+4|0,4,0,0)|0|0;if(!(W>>>0>0|(W|0)==0&(da(X|0,4,0,0)|0|0)>>>0>100))break;X=q;ea(X|0,100|0,4,0);ea(X+4|0,0|0,4,0)}else{X=q;ea(X|0,1|0,4,0);ea(X+4|0,0|0,4,0)}while(0);G=(Ss(o,da(oa|0,4,0,0)|0|0,-1)|0)==0;J=ws(pa)|0;ea(fa+0|0,0|0,4,0);ea(fa+4|0,0|0,4,0);ea(fa+8|0,0|0,4,0);ea(fa+12|0,0|0,4,0);ea(fa+16|0,0|0,4,0);ea(fa+20|0,0|0,4,0);ea(fa+24|0,0|0,4,0);ea(fa+28|0,0|0,4,0);ea(fa|0,a|0,4,0);ea(fa+4|0,L|0,4,0);ea(fa+12|0,ra|0,4,0);A=a+72|0;ea(ra+16|0,(da(A|0,4,0,0)|0|0)+1|0,4,0);if(r)d=da(o|0,4,0,0)|0|0;else d=0;q=ra+12|0;ea(q|0,d|0,4,0);ea(ra+24|0,o|0,4,0);Xs(fa,K);Xs(fa,da(oa|0,4,0,0)|0|0);if(Y){ea(ka+0|0,0|0,4,0);ea(ka+4|0,0|0,4,0);ea(ka+8|0,0|0,4,0);ea(ka+12|0,0|0,4,0);ea(ka+16|0,0|0,4,0);ea(ka+20|0,0|0,4,0);ea(ka|0,80|0,4,0);ea(ka+4|0,81|0,4,0);ea(ka+24|0,fa|0,4,0);qs(ka,Y)|0}s=ra+32|0;ea(ra+36|0,da(s|0,4,0,0)|0|0,4,0);k=ra+44|0;d=da(k|0,4,0,0)|0|0;if((d|0)>0){g=fa+28|0;e=ra+40|0;f=da(g|0,2,0,0)|0|0;h=0;do{ea(g|0,f&65535|8|0,2,0);Xs(fa,da((da((da(e|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0)+20|0,4,0,0)|0|0);f=(da(g|0,2,0,1)|0)&65527;ea(g|0,f|0,2,0);h=h+1|0;d=da(k|0,4,0,0)|0|0}while((h|0)<(d|0))}ea(ra+20|0,da(A|0,4,0,0)|0|0,4,0);if(da(iaia,4,0,0)|0|0}g=Rq(a,23,g,o,da((da(v|0,4,0,0)|0|0)+(h<<4)|0,4,0,0)|0|0)|0;if((g|0)==1)break a;else if((g|0)==2)ea(f+(n<<2)|0,-1|0,4,0);A=A+1|0;if((A|0)>=(da(c|0,4,0,0)|0|0)){K=k;break d}else g=k}ea(M|0,g|0,4,0);sh(a,34496,M);ea(a+17>>0|0,1|0,1,0);break a}else{r=0;q=0;K=0}while(0);Q=(r&255)+(q&255)|0;N=Q&255;v=b+64|0;ea(v|0,0|0,4,0);ea(v+4|0,0|0,4,0);Q=Q&255;v=lt(a,fa,f,Q)|0;g=da(p|0,4,0,0)|0|0;if(g){s=(v|Q|0)==0;t=a+72|0;u=0;while(1){f:do if(s?!((da(g+36|0,4,0,0)|0|0)!=0|(g|0)==(l|0)):0){k=da(g+46|0,2,0,0)|0|0;if(!(k<<16>>16))W=56;else{n=da(g+4|0,4,0,0)|0|0;o=0;while(1){if((da(f+((da(n+(o<<1)|0,2,0,0)|0)<<2)|0,4,0,0)|0|0)>-1){W=54;break f}o=o+1|0;if((o|0)>=(k&65535|0)){W=56;break}}}}else W=54;while(0);if((W|0)==54){W=0;k=(da(t|0,4,0,0)|0|0)+1|0;ea(t|0,k|0,4,0);if(!k)W=56;else n=u+1|0}if((W|0)==56){W=0;n=u+1|0;ea(Y+n>>0|0,0|0,1,0);k=0}ea(f+(u+B<<2)|0,k|0,4,0);g=da(g+20|0,4,0,0)|0|0;if(!g)break;else u=n}}O=Nq(a)|0;if(O){P=a+18|0;if(!(da(P>>0|0,1,0,0)|0)){L=O+88|0;ea(L|0,da(L|0,2,0,0)|0|4|0,2,0)}A=a+408|0;L=da(A|0,4,0,0)|0|0;L=(L|0)==0?a:L;zr(a,h);J=L+328|0;ea(J|0,da(J|0,4,0,0)|0|1<<h|0,4,0);L=L+20|0;ea(L>>0|0,da(L>>0|0,1,0,1)|0|1|0,1,0);if((da(D>>0|0,1,0,0)|0)&16){q=da(a+8|0,4,0,0)|0|0;r=da(a|0,4,0,0)|0|0;g=da(fa+60|0,4,0,0)|0|0;g:do if(!g)g=0;else while(1){if((da(g|0,4,0,0)|0|0)==(r|0))break g;g=da(g+24|0,4,0,0)|0|0;if(!g){g=0;break}}while(0);h=kr(a,0,st(r,27,34536)|0)|0;p=(K|0)!=0;if(p)h=kr(a,h,Lr(r,K,0,0)|0)|0;if((da(ca|0,2,0,0)|0|0)>0){k=c+4|0;m=fa+4|0;n=0;do{l=da(f+(n<<2)|0,4,0,0)|0|0;if((l|0)>-1)l=Lr(r,da((da(k|0,4,0,0)|0|0)+(l*20|0)|0,4,0,0)|0|0,0,0)|0;else l=st(r,27,da((da(m|0,4,0,0)|0|0)+(n*24|0)|0,4,0,0)|0|0)|0;h=kr(a,h,l)|0;n=n+1|0}while((n|0)<(da(ca|0,2,0,0)|0|0))}m=jr(a,h,b,d,0,0,0,0,0,0)|0;o=da(T|0,4,0,0)|0|0;ea(T|0,o+1|0,4,0);b=p&1;vh(q,57,o,(da(ca|0,2,0,0)|0|0)+(p?2:1)|0,0)|0;n=q+4|0;d=da(n|0,4,0,0)|0|0;if(d)ea(d+(((da(q+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,8|0,1,0);ea(M>>0|0,14|0,1,0);ea(M+4|0,o|0,4,0);ea(M+1>>0|0,0|0,1,0);ea(M+8|0,0|0,4,0);ea(M+12|0,0|0,4,0);hr(a,m,M)|0;d=a+72|0;l=da(d|0,4,0,0)|0|0;h=l+1|0;Y=l+2|0;ea(d|0,(da(ca|0,2,0,0)|0|0)+Y|0,4,0);d=vh(q,108,o,0,0)|0;vh(q,47,o,0,h)|0;vh(q,47,o,b,Y)|0;if((da(ca|0,2,0,0)|0|0)>0){l=l+3|0;k=0;do{Y=k;k=k+1|0;vh(q,47,o,k+b|0,l+Y|0)|0}while((k|0)<(da(ca|0,2,0,0)|0|0))}pt(a,fa);wh(q,vh(q,15,0,(da(ca|0,2,0,0)|0|0)+2|0,h)|0,g,-10);g=da(n|0,4,0,0)|0|0;if(!g)g=q+32|0;else{Y=q+32|0;ea(g+(((da(Y|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,((e|0)==10?2:e&255)|0,1,0);g=Y}Y=da(A|0,4,0,0)|0|0;ea(((Y|0)==0?a:Y)+21>>0|0,1|0,1,0);vh(q,9,o,d+1|0,0)|0;g=da(g|0,4,0,0)|0|0;if(g>>>0>d>>>0)ea((da(n|0,4,0,0)|0|0)+(d*20|0)+8|0,g|0,4,0);ea((da(q+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0);vh(q,61,o,0,0)|0;Lk(r,m,1);d=0;b=0;break}A=a+72|0;g=da(A|0,4,0,0)|0|0;z=g+1|0;J=g+2|0;ea(A|0,J|0,4,0);B=r<<24>>24!=0;C=(_|0)!=0;I=(v|0)!=0;if(B|C|I){h=(da(ca|0,2,0,0)|0|0)+J|0;ea(A|0,h|0,4,0);E=g+3|0}else{h=J;E=0}G=(Q|0)!=0;if(G|C|I){H=h+1|0;ea(A|0,H|0,4,0);h=H}else H=J;F=h+1|0;ea(A|0,(da(ca|0,2,0,0)|0|0)+h|0,4,0);if(X){L=a+492|0;M=da(L|0,4,0,0)|0|0;ea(L|0,da(fa|0,4,0,0)|0|0,4,0);kt(a,fa,d,m);L=a}else{L=0;M=0}do if(!(ks(R,d)|0)){if(!((da(D>>0|0,1,0,0)|0)&32)){vh(O,28,0,z,J)|0;r=Us(a,b,d,0,0,4,aa)|0;if(!r)break;t=r+60|0;g=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;u=da(r+38>>0|0,1,0,0)|0|0;vh(O,103,m,J,0)|0;if(!(u<<24>>24))vh(O,128,z,J,0)|0;Ws(r);w=0;v=0;s=u&255;x=0}else{u=da(l+46|0,2,0,0)|0|0;n=da(A|0,4,0,0)|0|0;r=n+1|0;v=u<<16>>16;n=v+1+n|0;ea(A|0,n|0,4,0);w=da(T|0,4,0,0)|0|0;ea(T|0,w+1|0,4,0);vh(O,28,0,r,0)|0;h=vh(O,57,w,v,0)|0;o=da(a+8|0,4,0,0)|0|0;wh(o,-1,gs(a,l)|0,-6);o=Us(a,b,d,0,0,4,aa)|0;if(!o)break;t=o+60|0;g=da(t|0,4,0,0)|0|0;t=da(t+4|0,4,0,0)|0|0;k=da(o+38>>0|0,1,0,0)|0|0;x=k&255;if(u<<16>>16>0){u=l+4|0;s=0;do{mt(O,fa,m,da((da(u|0,4,0,0)|0|0)+(s<<1)|0,2,0,0)|0|0,s+r|0);s=s+1|0}while((s|0)!=(v|0))}if(!(k<<24>>24)){u=nt(O,l)|0;wh(O,vh(O,49,r,v,n)|0,u,v);vh(O,110,w,n,0)|0;u=0;r=n}else{yh(O,h);u=v}Ws(o);v=u;s=x;x=r}D=ga+24|0;do if(!((da(D|0,4,0,0)|0)&128))o=0;else{if(da(a+412|0,4,0,0)|0){o=0;break}o=(da(A|0,4,0,0)|0|0)+1|0;ea(A|0,o|0,4,0);vh(O,25,0,o,0)|0}while(0);n=ws(O)|0;if(!X){h:do if((e|0)==5)ew(Y|0,1,S|0)|0;else{u=da(p|0,4,0,0)|0|0;if(!u)break;while(1){if((da(u+50>>0|0,1,0,0)|0|0)==5)break;u=da(u+20|0,4,0,0)|0|0;if(!u)break h}ew(Y|0,1,S|0)|0}while(0);do if(s){if((g|0)>-1)ea(Y+(g-U)>>0|0,0|0,1,0);if((t|0)<=-1)break;ea(Y+(t-U)>>0|0,0|0,1,0)}while(0);ot(a,fa,55,U,Y,0,0)|0}A=(s|0)!=0;do if(!A)if(!l){z=vh(O,129,z,n,J)|0;vh(O,70,m,z,J)|0;y=0;break}else{z=ws(O)|0;vh(O,108,w,n,0)|0;y=vh(O,101,w,x,0)|0;wh(O,vh(O,68,m,z,x)|0,0,-14);break}else{if(!((da(Y+(m-U)>>0|0,1,0,0)|0|0)==0|X))wh(O,vh(O,68,m,n,x)|0,v,-14);vh(O,76,(l|0)!=0?x:J,n,0)|0;y=0;z=n}while(0);q=q<<24>>24==0;if(!q){Qq(a,K,H);vh(O,38,H,0,0)|0}do if(B|I|C){if(I)r=tt(a,fa)|0;else r=0;u=ut(a,_,c,0,3,fa,e)|0|r;if((da(ca|0,2,0,0)|0|0)>0){t=(u|0)==-1;s=fa+4|0;r=0;do{do if(t)W=138;else{if((r|0)<32?(1<<r&u|0)!=0:0){W=138;break}if((da((da(s|0,4,0,0)|0|0)+(r*24|0)+23>>0|0,1,0,0)|0)&1){W=138;break}vh(O,28,0,r+E|0,0)|0}while(0);if((W|0)==138){W=0;mt(O,fa,m,r,r+E|0)}r=r+1|0}while((r|0)<(da(ca|0,2,0,0)|0|0))}if(!(q&(l|0)==0))break;vh(O,33,J,H,0)|0}while(0);r=ut(a,_,c,1,1,fa,e)|0;if((da(ca|0,2,0,0)|0|0)>0){q=fa+36|0;g=c+4|0;k=0;do{i:do if((k|0)==(da(q|0,2,0,0)|0|0))vh(O,28,0,k+F|0,0)|0;else{h=da(f+(k<<2)|0,4,0,0)|0|0;if((h|0)>-1){Qq(a,da((da(g|0,4,0,0)|0|0)+(h*20|0)|0,4,0,0)|0|0,k+F|0);break}do if(!(((da(Z|0,4,0,0)|0)&1|0)==0|(k|0)>31)){if(1<<k&r)break;vh(O,28,0,k+F|0,0)|0;break i}while(0);mt(O,fa,m,k,k+F|0)}while(0);k=k+1|0}while((k|0)<(da(ca|0,2,0,0)|0|0))}do if((da(Z|0,4,0,0)|0)&1){vt(O,fa,F);wt(a,_,110,c,1,fa,J,e,z);if(!l)vh(O,70,m,z,J)|0;else wh(O,vh(O,68,m,z,x)|0,v,-14);g=da(ca|0,2,0,0)|0|0;if(g<<16>>16<=0)break;q=fa+36|0;r=0;do{do if((da(f+(r<<2)|0,4,0,0)|0|0)<0){if((r|0)==(da(q|0,2,0,0)|0|0))break;mt(O,fa,m,r,r+F|0);g=da(ca|0,2,0,0)|0|0}while(0);r=r+1|0}while((r|0)<(g<<16>>16|0))}while(0);do if(!X){ea($|0,0|0,4,0);xt(a,fa,V,m,aa,H,J,N,e&255,z,$);if(I)yt(a,fa,J,0,f,Q);g=(da($|0,4,0,0)|0|Q|0)==0;do if(!g)if(!l){h=vh(O,70,m,0,J)|0;break}else{h=vh(O,68,m,0,x)|0;wh(O,h,v,-14);break}else h=0;while(0);zt(a,fa,m,aa,V);if(I|(G|(l|0)!=0))vh(O,95,m,0,0)|0;if(!g){g=da(O+32|0,4,0,0)|0|0;if(g>>>0>h>>>0)ea((da(O+4|0,4,0,0)|0|0)+(h*20|0)+8|0,g|0,4,0);ea((da(O+24|0,4,0,0)|0|0)+88|0,g+-1|0,4,0)}if(I){yt(a,fa,0,H,f,Q);At(a,fa,m,aa,H,V,1,0,0);Bt(a,fa,c,J,f,Q);break}else{At(a,fa,m,aa,H,V,1,0,0);break}}while(0);do if((da(D|0,4,0,0)|0)&128){if(da(a+412|0,4,0,0)|0)break;vh(O,37,o,1,0)|0}while(0);wt(a,_,110,c,2,fa,J,e,z);do if(!A){if(!l){vh(O,16,0,z,0)|0;break}k=da(O+24|0,4,0,0)|0|0;h=~z;do if((z|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(O+32|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(O+32|0,4,0,0)|0|0)+-1|0,4,0);vh(O,9,w,y,0)|0}while(0);k=da(O+24|0,4,0,0)|0|0;h=~n;do if((n|0)<0){l=da(k+112|0,4,0,0)|0|0;if(!l)break;ea(l+(h<<2)|0,da(O+32|0,4,0,0)|0|0,4,0)}while(0);ea(k+88|0,(da(O+32|0,4,0,0)|0|0)+-1|0,4,0);h=da(p|0,4,0,0)|0|0;if(h){k=0;do{l=k;k=k+1|0;if(da(Y+k>>0|0,1,0,0)|0)vh(O,61,l+aa|0,0,0)|0;h=da(h+20|0,4,0,0)|0|0}while((h|0)!=0)}if((m|0)<(aa|0))vh(O,61,m,0,0)|0;do if(!(da(P>>0|0,1,0,0)|0)){if(da(a+412|0,4,0,0)|0)break;rt(a)}while(0);if(!((da(D|0,4,0,0)|0)&128))break;if(da(a+412|0,4,0,0)|0)break;if(da(P>>0|0,1,0,0)|0)break;vh(O,35,o,1,0)|0;hq(O,1);if(da((da(O|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)break;Wg(da(O+16|0,4,0,0)|0|0,34520,-1,1,0)|0}while(0);if(L)ea(L+492|0,M|0,4,0)}}}else f=0}else f=0;while(0);lg(ga,f);Co(ga,b);Mk(ga,c);Fk(ga,d);i=ha;return}function sr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=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,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0;ja=i;i=i+96|0;if((i|0)>=(j|0))ba();X=ja;ca=ja+92|0;ga=ja+88|0;E=ja+68|0;R=ja+64|0;H=ja+32|0;W=ja+28|0;ea(ca|0,0|0,4,0);ea(ga|0,0|0,4,0);ia=da(a|0,4,0,0)|0|0;ea(E+0|0,0|0,4,0);ea(E+4|0,0|0,4,0);ea(E+8|0,0|0,4,0);ea(E+12|0,0|0,4,0);ea(E+16|0,0|0,4,0);a:do if((da(a+64|0,4,0,0)|0|0)==0?(G=ia+65|0,(da(G>>0|0,1,0,0)|0|0)==0):0){if(c)if(((da(c+6|0,2,0,0)|0)&128)!=0?(da(c+52|0,4,0,0)|0|0)==0:0){f=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);Lk(ia,c,1);c=0}else f=0;else{c=0;f=0}if((da(b+16|0,4,0,0)|0|0)!=0?(fa=Ir(a,b)|0,(fa|0)!=0):0){n=da(fa+68|0,4,0,0)|0|0;b:do if(n){m=da(ia+20|0,4,0,0)|0|0;if((m|0)>0){l=da(ia+16|0,4,0,0)|0|0;h=0;while(1){k=h+1|0;if((da(l+(h<<4)+12|0,4,0,0)|0|0)==(n|0)){k=h;break b}if((k|0)<(m|0))h=k;else break}}else k=0}else k=-1e6;while(0);if((((Rq(a,18,da(fa|0,4,0,0)|0|0,0,da((da(iaia+24|0;if(!((da(D|0,4,0,0)|0)&128))h=0;else{h=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,h|0,4,0);vh(ha,25,0,h,0)|0}do if($)g=0;else{n=ot(a,fa,55,-1,0,ca,ga)|0;g=lh(ia,(n<<2)+4|0,0)|0;if(!g)break a;if((n|0)>0)m=0;else break;do{G=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,G|0,4,0);ea(g+(m<<2)|0,G|0,4,0);m=m+1|0}while((m|0)!=(n|0))}while(0);F=s<<24>>24!=0;do if(F){G=vh(ha,108,J,0,0)|0;E=da(ha+32|0,4,0,0)|0|0}else{if(!Y){E=0;G=0;break}G=vh(ha,22,da(E+4|0,4,0,0)|0|0,0,0)|0;E=G}while(0);C=ws(ha)|0;do if((da(R|0,4,0,0)|0)&1){p=(da(Q|0,2,0,0)|0|0)+1|0;A=a+60|0;o=da(A|0,4,0,0)|0|0;z=a+56|0;n=da(z|0,4,0,0)|0|0;if((n|0)<(p|0)){B=da(K|0,4,0,0)|0|0;ea(K|0,B+p|0,4,0);B=B+1|0}else{ea(A|0,p+o|0,4,0);ea(z|0,n-p|0,4,0);B=o}if((I|0)<0)vh(ha,25,-1,B,0)|0;else{if(F)vh(ha,47,J,I,B)|0;else Qq(a,da((da(f+4|0,4,0,0)|0|0)+(I*20|0)|0,4,0,0)|0|0,B);p=vh(ha,77,B,0,0)|0;vh(ha,25,-1,B,0)|0;o=da(ha+32|0,4,0,0)|0|0;if(o>>>0>p>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(p*20|0)+8|0,o|0,4,0);ea((da(ha+24|0,4,0,0)|0|0)+88|0,o+-1|0,4,0);vh(ha,38,B,0,0)|0}o=da(Q|0,2,0,0)|0|0;if(o<<16>>16>0){w=F|(f|0)!=0;m=d+4|0;n=B+1|0;p=f+4|0;t=a+8|0;u=fa+4|0;v=0;do{j:do if(U)s=v;else{r=da(m|0,4,0,0)|0|0;if((r|0)<=0){s=0;break}q=da(d|0,4,0,0)|0|0;k=0;while(1){s=k+1|0;if((da(q+(k<<3)+4|0,4,0,0)|0|0)==(v|0)){s=k;break j}if((s|0)<(r|0))k=s;else break}}while(0);do if(w){if(N?(s|0)>=(da(m|0,4,0,0)|0|0):0){T=213;break}if(F){vh(ha,47,J,s,n+v|0)|0;break}else{R=da((da(p|0,4,0,0)|0|0)+(s*20|0)|0,4,0,0)|0|0;k=n+v|0;q=da(t|0,4,0,0)|0|0;Qq(a,R,k);o=(da(K|0,4,0,0)|0|0)+1|0;ea(K|0,o|0,4,0);vh(q,33,k,o,0)|0;ea(R+38>>0|0,da(R>>0|0,1,0,0)|0|0|0,1,0);ea(R>>0|0,-97|0,1,0);ea(R+28|0,o|0,4,0);R=R+4|0;ea(R|0,(da(R|0,4,0,0)|0)&-4097|0,4,0);break}}else T=213;while(0);if((T|0)==213){T=0;Qq(a,da((da(u|0,4,0,0)|0|0)+(v*24|0)+4|0,4,0,0)|0|0,n+v|0)}v=v+1|0;o=da(Q|0,2,0,0)|0|0}while((v|0)<(o<<16>>16|0))}if(!$){vt(ha,fa,B+1|0);o=da(Q|0,2,0,0)|0|0}wt(a,Z,108,0,1,fa,B+-1-(o<<16>>16)|0,e,C);o=(da(Q|0,2,0,0)|0|0)+1|0;ct(a,B,o);if((da(z|0,4,0,0)|0|0)>=(o|0))break;ea(z|0,o|0,4,0);ea(A|0,B|0,4,0)}while(0);do if(!$){if((da(_>>0|0,1,0,0)|0)&16)vh(ha,28,0,P,0)|0;k:do if((I|0)<=-1)if(!(((da(_>>0|0,1,0,0)|0)&16|S)<<24>>24)){vh(ha,74,da(ca|0,4,0,0)|0|0,O,L)|0;B=1;break}else{vh(ha,28,0,O,0)|0;B=0;break}else{do if(F)vh(ha,47,J,I,O)|0;else{if(Y){vh(ha,33,I+H|0,O,0)|0;break}Qq(a,da((da(f+4|0,4,0,0)|0|0)+(I*20|0)|0,4,0,0)|0|0,O);if(!(da((da(ha|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){n=(da(ha+4|0,4,0,0)|0|0)+(((da(ha+32|0,4,0,0)|0|0)+-1|0)*20|0)|0;if(!n)break}else n=29120;if((da(n>>0|0,1,0,0)|0|0)!=28)break;if((da(_>>0|0,1,0,0)|0)&16)break;ea(n>>0|0,74|0,1,0);ea(n+4|0,da(ca|0,4,0,0)|0|0,4,0);ea(n+8|0,O|0,4,0);ea(n+12|0,L|0,4,0);B=1;break k}while(0);if(!((da(_>>0|0,1,0,0)|0)&16)){n=vh(ha,77,O,0,0)|0;vh(ha,74,da(ca|0,4,0,0)|0|0,O,L)|0;m=da(ha+32|0,4,0,0)|0|0;if(m>>>0>n>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(n*20|0)+8|0,m|0,4,0);ea((da(ha+24|0,4,0,0)|0|0)+88|0,m+-1|0,4,0)}else vh(ha,76,O,(da(ha+32|0,4,0,0)|0|0)+2|0,0)|0;vh(ha,38,O,0,0)|0;B=0}while(0);if((L|0)>0)vh(da(a+8|0,4,0,0)|0|0,136,L,O,0)|0;if((da(Q|0,2,0,0)|0|0)>0){z=fa+36|0;A=fa+4|0;v=(l|0)==0;u=d+4|0;t=(H|0)==(M|0);l=f+4|0;m=a+23|0;n=X+20|0;o=X+4|0;x=X+24|0;y=0;p=0;do{w=y+M|0;l:do if((y|0)==(da(z|0,2,0,0)|0|0))vh(ha,29,w,0,0)|0;else{m:do if(U)if(!((da((da(A|0,4,0,0)|0|0)+(y*24|0)+23>>0|0,1,0,0)|0)&2)){s=y-p|0;T=258;break}else{p=p+1|0;break}else{r=da(u|0,4,0,0)|0|0;if((r|0)<=0){s=0;T=258;break}q=da(d|0,4,0,0)|0|0;k=0;while(1){s=k+1|0;if((da(q+(k<<3)+4|0,4,0,0)|0|0)==(y|0)){s=k;T=258;break m}if((s|0)<(r|0))k=s;else{T=258;break}}}while(0);do if((T|0)==258){T=0;if((s|0)<0|v)break;if(N?(s|0)>=(da(u|0,4,0,0)|0|0):0)break;if(F){vh(ha,47,J,s,w)|0;break l}if(!Y){Qq(a,da((da(l|0,4,0,0)|0|0)+(s*20|0)|0,4,0,0)|0|0,w);break l}if(t)break l;vh(ha,34,s+H|0,w,0)|0;break l}while(0);s=da((da(A|0,4,0,0)|0|0)+(y*24|0)+4|0,4,0,0)|0|0;do if(da(m>>0|0,1,0,0)|0){ea(X+0|0,0|0,4,0);ea(X+4|0,0|0,4,0);ea(X+8|0,0|0,4,0);ea(X+12|0,0|0,4,0);ea(X+16|0,0|0,4,0);ea(X+20|0,0|0,4,0);ea(n>>0|0,1|0,1,0);ea(X|0,78|0,4,0);ea(o|0,79|0,4,0);ea(x|0,0|0,4,0);qs(X,s)|0;if(!(da(n>>0|0,1,0,0)|0))break;Ft(a,s,w,0);break l}while(0);Qq(a,s,w)}while(0);y=y+1|0}while((y|0)<(da(Q|0,2,0,0)|0|0))}if(!((da(_>>0|0,1,0,0)|0)&16)){xt(a,fa,g,da(ca|0,4,0,0)|0|0,da(ga|0,4,0,0)|0|0,P,0,I>>>31&255^1,e&255,C,W);yt(a,fa,0,P,0,0);At(a,fa,da(ca|0,4,0,0)|0|0,da(ga|0,4,0,0)|0|0,P,g,0,B,(da(W|0,4,0,0)|0|0)==0&1);break}n=da(fa+60|0,4,0,0)|0|0;n:do if(!n)n=0;else while(1){if((da(n|0,4,0,0)|0|0)==(ia|0))break n;n=da(n+24|0,4,0,0)|0|0;if(!n){n=0;break}}while(0);pt(a,fa);wh(ha,vh(ha,15,1,(da(Q|0,2,0,0)|0|0)+2|0,P)|0,n,-10);m=da(ha+4|0,4,0,0)|0|0;if(m)ea(m+(((da(ha+32|0,4,0,0)|0|0)+-1|0)*20|0)+3>>0|0,((e|0)==10?2:e&255)|0,1,0);X=da(V|0,4,0,0)|0|0;ea(((X|0)==0?a:X)+21>>0|0,1|0,1,0)}while(0);if((da(D|0,4,0,0)|0)&128)vh(ha,37,h,1,0)|0;if(Z)wt(a,Z,108,0,2,fa,O+-1-(da(Q|0,2,0,0)|0|0)|0,e,C);n=ha+24|0;m=da(n|0,4,0,0)|0|0;k=~C;do if((C|0)<0){l=da(m+112|0,4,0,0)|0|0;if(!l)break;ea(l+(k<<2)|0,da(ha+32|0,4,0,0)|0|0,4,0)}while(0);l=ha+32|0;ea(m+88|0,(da(l|0,4,0,0)|0|0)+-1|0,4,0);do if(F){vh(ha,9,J,E,0)|0;l=da(l|0,4,0,0)|0|0;if(l>>>0>G>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(G*20|0)+8|0,l|0,4,0);ea((da(n|0,4,0,0)|0|0)+88|0,l+-1|0,4,0);vh(ha,61,J,0,0)|0}else{if(!Y)break;vh(ha,16,0,E,0)|0;l=da(l|0,4,0,0)|0|0;if(l>>>0>G>>>0)ea((da(ha+4|0,4,0,0)|0|0)+(G*20|0)+8|0,l|0,4,0);ea((da(n|0,4,0,0)|0|0)+88|0,l+-1|0,4,0)}while(0);if(((da(_>>0|0,1,0,0)|0)&16)!=0|$)break;k=da(ca|0,4,0,0)|0|0;if((k|0)<(da(ga|0,4,0,0)|0|0))vh(ha,61,k,0,0)|0;k=da(fa+8|0,4,0,0)|0|0;if(!k)break;else l=0;while(1){vh(ha,61,(da(ga|0,4,0,0)|0|0)+l|0,0,0)|0;k=da(k+20|0,4,0,0)|0|0;if(!k)break;else l=l+1|0}}while(0);if((da(aa>>0|0,1,0,0)|0|0)==0?(da(a+412|0,4,0,0)|0|0)==0:0)rt(a);if(((((da(ia+24|0,4,0,0)|0)&128|0)!=0?(da(aa>>0|0,1,0,0)|0|0)==0:0)?(da(a+412|0,4,0,0)|0|0)==0:0)?(vh(ha,35,h,1,0)|0,hq(ha,1),(da((da(ha|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0|0)==0):0)Wg(da(ha+16|0,4,0,0)|0|0,33488,-1,1,0)|0}else g=0}else g=0}else{g=0;f=0}while(0);Co(ia,b);Mk(ia,f);Lk(ia,c,1);Gk(ia,d);lg(ia
13 function fh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=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,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,Yb=0,Zb=0,_b=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,jc=0,mc=0,nc=0,pc=0,rc=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,Sc=0,Tc=0,Uc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,dd=0,ed=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;he=i;i=i+1040|0;if((i|0)>=(j|0))ba();de=he+400|0;Mc=he+792|0;Yc=he+392|0;Uc=he+788|0;Ld=he+320|0;dd=he+784|0;id=he+780|0;jd=he+280|0;Gd=he+680|0;Tc=he+240|0;Jd=he+200|0;Sc=he+676|0;Pc=he+672|0;Hd=he+160|0;Nc=he+644|0;md=he+152|0;Cd=he+112|0;_c=he+640|0;Ed=he+636|0;Qc=he+632|0;nd=he+628|0;td=he+624|0;pd=he+604|0;ud=he+600|0;hd=he+596|0;qd=he+576|0;Lc=he+840|0;vd=he+572|0;Id=he+104|0;wd=he+568|0;Wc=he+564|0;Xc=he+96|0;Kd=he+88|0;xd=he+560|0;yd=he+556|0;zd=he+552|0;rd=he+532|0;sd=he+512|0;Zc=he+508|0;od=he+504|0;Rc=he+488|0;Fd=he+48|0;Oc=he+456|0;Kc=he+444|0;Dd=he+8|0;ld=he+440|0;Bd=he+412|0;Ad=he;rc=a+4|0;f=da(rc|0,4,0,0)|0|0;ee=da(a|0,4,0,0)|0|0;Cc=da(ee+62>>0|0,1,0,0)|0|0;Gc=a+8|0;p=da(Gc|0,4,0,0)|0|0;ge=ee+32|0;c=ge;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;fe=a+80|0;a:do if((da(fe|0,4,0,0)|0|0)==7){o=ee+65|0;p=a+44|0;e=d;b=0;g=0;d=0;be=1317}else{ea(fe|0,0|0,4,0);Yd=a+136|0;ea(Yd|0,0|0,4,0);ea(Yd+4|0,0|0,4,0);Yd=a+20|0;ea(Yd|0,0|0,4,0);ea(ee+452|0,0|0,4,0);vc=ee+240|0;b:do if(!(da(vc|0,4,0,0)|0)){Wd=ee+292|0;if(da(Wd|0,4,0,0)|0){e=da(a+124|0,4,0,0)|0|0;b=ee+300|0;o=da(b|0,4,0,0)|0|0;if(!e)pc=b;else{pc=b;o=(e>>>0)%(o>>>0)|0}}else{pc=ee+300|0;o=0}ae=a+76|0;$d=ee+65|0;Sd=ee+296|0;lb=a+176|0;mb=a+184|0;nb=a+92|0;ob=ee+80|0;pb=ee+84|0;qb=Cc&255;rb=Cc<<24>>24==1;sb=ee+88|0;tb=a+60|0;Td=a+144|0;_d=a+86|0;ce=a+44|0;ub=a+12|0;vb=Nc+4|0;wb=Nc+16|0;xb=Nc+12|0;yb=Nc+25|0;zb=Nc+20|0;Ab=a+200|0;Bb=a+56|0;Ud=a+72|0;Cb=Cd+16|0;Db=Cd+8|0;Eb=Cd+24|0;Fb=a+87|0;Vd=ee+156|0;Gb=ee+500|0;Hb=ee+496|0;Zd=ee+63|0;Ib=ee+488|0;Jb=ee+504|0;Kb=ee+512|0;Lb=ee+70|0;Mb=ee+24|0;Nb=ee+20|0;Qd=ee+16|0;Ob=ee+4|0;Rd=a+88|0;Pb=a+104|0;Qb=a+152|0;Rb=a+160|0;Sb=ee+152|0;Tb=ee+64|0;Ub=pd+4|0;Vb=pd+6|0;Wb=pd+8|0;Xb=qd+4|0;Yb=qd+8|0;Zb=ee+212|0;_b=ee+208|0;bc=a+116|0;cc=rd+4|0;dc=rd+6|0;ec=rd+8|0;fc=Tc+8|0;gc=Tc+32|0;hc=Tc+24|0;jc=Tc+16|0;mc=Tc+12|0;nc=sd+4|0;O=sd+6|0;P=sd+8|0;Q=jd+8|0;R=jd+32|0;S=jd+24|0;T=jd+12|0;U=jd+16|0;V=ee+164|0;W=Rc+8|0;X=Rc+4|0;Y=ee+145|0;aa=Rc+12|0;ca=Ld+4|0;ga=Ld+12|0;ha=Ld+16|0;ia=Ld+20|0;ja=Ld+24|0;ka=Ld+28|0;la=Ld+8|0;ma=Ld+40|0;na=Ld+44|0;oa=Ld+48|0;pa=Ld+52|0;qa=Ld+56|0;ra=Ld+60|0;sa=Ld+64|0;ta=Ld+65|0;ua=ee+128|0;va=a+28|0;wa=a+36|0;xa=a+32|0;ya=a+196|0;za=Oc+4|0;Aa=Oc+8|0;Ba=Fd+8|0;Ca=Fd+32|0;Da=Fd+24|0;Ea=Oc+20|0;Fa=Oc+12|0;Ga=Oc+16|0;Ha=Oc+24|0;Ia0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(yd|0,0|0,4,0);m=da(b+56|0,4,0,0)|0|0;if(da(m+56>>0|0,1,0,0)|0){h=Vm(da(m+20|0,4,0,0)|0|0,yd)|0;be=766;break e}h=m+36|0;l=da(h|0,4,0,0)|0|0;J=l+4|0;ea(h|0,da(J|0,4,0,0)|0|0,4,0);ea(J|0,0|0,4,0);if(!((da(m+40|0,4,0,0)|0|0)!=0|(l|0)==0))lg(ee,l);ea(yd|0,(da(h|0,4,0,0)|0|0)==0&1|0,4,0);h=0;be=766;break}case 9:case 8:{be=765;break}case 110:case 109:{q=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;G=da(f+(g*20|0)+8|0,4,0,0)|0|0;h=da(q|0,4,0,0)|0|0;s=f+(g*20|0)+3|0;if((da(s>>0|0,1,0,0)|0)&1)ea(nb|0,(da(nb|0,4,0,0)|0|0)+1|0,4,0);if(((da(p+(G*40|0)+8|0,2,0,0)|0)&16384)!=0?(Nd=Qg(p+(G*40|0)|0)|0,(Nd|0)!=0):0){b=d;d=e;f=Nd;h=n;be=1309;break c}v=da(q+56|0,4,0,0)|0|0;H=p+(G*40|0)+12|0;F=da(H|0,4,0,0)|0|0;if(!v){if(!((da(s>>0|0,1,0,0)|0)&16))b=0;else b=da(q+12|0,4,0,0)|0|0;h=Hm(h,da(p+(G*40|0)+16|0,4,0,0)|0|0,F,((F|0)<0)<<31>>31,10360,0,0,da(f+(g*20|0)+12|0,4,0,0)|0|0,b)|0;ea(q+60|0,0|0,4,0);s=A;H=g;break e}s=F;b=((F|0)<0)<<31>>31;q=0;do{q=q+1|0;s=lw(s|0,b|0,7)|0;b=C}while(((s|0)!=0|(b|0)!=0)&(q|0)<9);z=F+8|0;w=q+F|0;q=v+4|0;y=da(q|0,4,0,0)|0|0;do if(!y)h=0;else{if(!(da(v+40|0,4,0,0)|0)){s=v+44|0;x=da(s|0,4,0,0)|0|0;if((x|0)<=(y|0)?!((da(2265*4|0,4,0,0)|0|0)!=0?(x|0)>(da(v|0,4,0,0)|0|0):0):0){h=0;break}}else{J=da(v+48|0,4,0,0)|0|0;if(!((J|0)!=0&(J+z|0)>(y|0))){h=0;break}s=v+44|0}h=Nm(v)|0;ea(s|0,0|0,4,0);ea(v+48|0,0|0,4,0)}while(0);s=v+36|0;y=v+44|0;ea(y|0,(da(y|0,4,0,0)|0|0)+w|0,4,0);y=v+8|0;if((w|0)>(da(y|0,4,0,0)|0|0))ea(y|0,w|0,4,0);u=v+40|0;y=da(u|0,4,0,0)|0|0;if(!y){b=pg(z,((z|0)<0)<<31>>31)|0;if(!b){b=d;d=e;f=7;h=n;be=1309;break c}ea(b+4|0,da(s|0,4,0,0)|0|0,4,0)}else{B=v+48|0;x=da(B|0,4,0,0)|0|0;z=x+z|0;v=v+52|0;w=da(v|0,4,0,0)|0|0;if((z|0)>(w|0)){x=w;do x=x<<1;while((x|0)<(z|0));J=da(q|0,4,0,0)|0|0;x=(x|0)>(J|0)?J:x;x=(x|0)<(z|0)?z:x;y=qg(y,x,((x|0)<0)<<31>>31)|0;if(!y){b=d;d=e;f=7;h=n;be=1309;break c}q=y+((da(s|0,4,0,0)|0|0)-(da(u|0,4,0,0)|0|0))|0;ea(s|0,q|0,4,0);ea(u|0,y|0,4,0);ea(v|0,x|0,4,0);x=da(B|0,4,0,0)|0|0}else q=da(s|0,4,0,0)|0|0;ea(B|0,x+(F+15&-8)|0,4,0);ea(y+(x+4)|0,q-y|0,4,0);b=y+x|0}jw(b+8|0,da(p+(G*40|0)+16|0,4,0,0)|0|0,da(H|0,4,0,0)|0|0)|0;ea(b|0,da(H|0,4,0,0)|0|0,4,0);ea(s|0,b|0,4,0);s=A;H=g;break}case 112:{b=d;d=e;e=g;be=801;break d}case 111:{l=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;b=da(l|0,4,0,0)|0|0;ea(rd|0,da(l+8|0,4,0,0)|0|0,4,0);ea(cc|0,da(f+(g*20|0)+12|0,4,0,0)|0|0,2,0);ea(dc>>0|0,0|0,1,0);ea(ec|0,p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0,4,0);h=Bm(b,rd,0,0,0,zd)|0;if(!(da(zd|0,4,0,0)|0|h))h=Im(b)|0;ea(l+60|0,0|0,4,0);s=A;H=g;break}case 116:case 115:case 114:case 113:{h=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;ea(sd|0,da(h+8|0,4,0,0)|0|0,4,0);ea(nc|0,da(f+(g*20|0)+16|0,4,0,0)|0|0,2,0);ea(O>>0|0,((y&255)<115)<<31>>31|0,1,0);ea(P|0,p+((da(f+(g*20|0)+12|0,4,0,0)|0|0)*40|0)|0,4,0);J=Ld;ea(J|0,0|0,4,0);ea(J+4|0,0|0,4,0);jm(da(h|0,4,0,0)|0|0,Ld);J=Ld;b=da(J|0,4,0,0)|0|0;J=iw(b|0,da(J+4|0,4,0,0)|0|0,-1,-1)|0;I=C;if(!(I>>>0>0|(I|0)==0&J>>>0>2147483646)){ea(Q|0,0|0,2,0);ea(R|0,ee|0,4,0);ea(S|0,0|0,4,0);b=mm(da(h|0,4,0,0)|0|0,0,b,1,jd)|0;if(!b){h=Jm(da(T|0,4,0,0)|0|0,da(U|0,4,0,0)|0|0,sd,0)|0;if(((da(Q|0,2,0,0)|0)&9312)==0&(da(S|0,4,0,0)|0|0)==0)b=0;else{Pg(jd);b=0}}else h=0}else{ea(de|0,68730|0,4,0);ea(de+4|0,10788|0,4,0);ad(11,13600,de);b=11;h=0}if(((((da(s>>0|0,1,0,0)|0)&1)==0?h+1|0:0-h|0)|0)>0){s=A;H=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=b}else{s=A;H=g;h=b}break}case 117:{E=A+8|0;ea(E|0,1|0,2,0);if((da(Sb|0,4,0,0)|0|0)>((da(V|0,4,0,0)|0|0)+1|0)){b=d;d=e;h=n;be=832;break c}D=da(f+(g*20|0)+12|0,4,0,0)|0|0;B=da((da(Qd|0,4,0,0)|0|0)+(D<<4)+4|0,4,0,0)|0|0;F=f+(g*20|0)+4|0;x=da(F|0,4,0,0)|0|0;s=B+4|0;z=da(s|0,4,0,0)|0|0;ea(z+4|0,da(B|0,4,0,0)|0|0,4,0);ea(de|0,0|0,4,0);do if(!(da(z+8|0,4,0,0)|0)){h=cl(z,x,de,0)|0;if(!h){h=Wm(B,x,0)|0;if(h){b=da(de|0,4,0,0)|0|0;if(!b){q=0;break}Ag(da(b+68|0,4,0,0)|0|0);q=0;break}if(x>>>0<=1){b=da(de|0,4,0,0)|0|0;ol(b,9);if(!b){h=0;q=0;break}Ag(da(b+68|0,4,0,0)|0|0);h=0;q=0;break}if(!(da(z+17>>0|0,1,0,0)|0)){b=da(de|0,4,0,0)|0|0;h=Xm(da(b+52|0,4,0,0)|0|0,b,da(b+72|0,4,0,0)|0|0)|0;if(!b){q=0;break}Ag(da(b+68|0,4,0,0)|0|0);q=0;break}y=da(s|0,4,0,0)|0|0;ea(y+4|0,da(B|0,4,0,0)|0|0,4,0);y=da((da(y+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;y=(da(y+53>>0|0,1,0,1)|0)<<16|(da(y+52>>0|0,1,0,1)|0)<<24|(da(y+54>>0|0,1,0,1)|0)<<8|(da(y+55>>0|0,1,0,1)|0);s=da(de|0,4,0,0)|0|0;if((y|0)==(x|0)){h=Xm(da(s+52|0,4,0,0)|0|0,s,da(s+72|0,4,0,0)|0|0)|0;if(s)Ag(da(s+68|0,4,0,0)|0|0);if(!h)q=0;else{q=0;break}}else{if(s)Ag(da(s+68|0,4,0,0)|0|0);h=cl(z,y,Ld,0)|0;if(h){q=0;break}s=da(Ld|0,4,0,0)|0|0;h=Ym(z,s,1,0,x,0)|0;if(s)Ag(da(s+68|0,4,0,0)|0|0);if(h){q=0;break}ea(Ld|0,0|0,4,0);h=cl(z,y,Ld,0)|0;s=da(Ld|0,4,0,0)|0|0;if(h){if(!s){q=0;break}}else h=Xm(da(s+52|0,4,0,0)|0|0,s,da(s+72|0,4,0,0)|0|0)|0;Ag(da(s+68|0,4,0,0)|0|0);if(!h)q=y;else{q=0;break}}w=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(z+32|0,4,0,0)|0|0)>>>0)|0;v=w+1|0;x=z+36|0;while(1){s=y+-1|0;if((s|0)==(v|0)){y=s;continue}if(s>>>0<2)u=0;else{u=y+-3|0;u=u-((u>>>0)%(((((da(x|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;u=((u+1|0)==(w|0)?3:2)+u|0}if((u|0)==(s|0))y=s;else break}h=Cg(B,4,s)|0}else q=0}else{h=262;q=0}while(0);ea(E|0,4|0,2,0);J=A;ea(J|0,q|0,4,0);ea(J+4|0,((q|0)<0)<<31>>31|0,4,0);if((h|0)==0&(q|0)!=0){b=d;z=D;s=F;d=e;h=A;e=g;be=865;break d}else{s=A;H=g}break}case 118:{ea(Zc|0,0|0,4,0);b=f+(g*20|0)+12|0;h=Wm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+8|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,da(f+(g*20|0)+4|0,4,0,0)|0|0,(da(b|0,4,0,0)|0|0)!=0?Zc:0)|0;b=da(b|0,4,0,0)|0|0;if((b|0)!=0?(Bc=da(Zc|0,4,0,0)|0|0,ea(nb|0,(da(nb|0,4,0,0)|0|0)+Bc|0,4,0),(b|0)>0):0){s=p+(b*40|0)|0;H=s;H=iw(da(H|0,4,0,0)|0|0,da(H+4|0,4,0,0)|0|0,Bc|0,((Bc|0)<0)<<31>>31|0)|0;ea(s|0,H|0,4,0);ea(s+4|0,C|0,4,0);s=A;H=g}else{s=A;H=g}break}case 121:case 120:{ea(od|0,0|0,4,0);h=zm(da((da(Qd|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<4)+4|0,4,0,0)|0|0,od,y<<24>>24==121?1:2)|0;s=da(od|0,4,0,0)|0|0;H=A;ea(H|0,s|0,4,0);ea(H+4|0,((s|0)<0)<<31>>31|0,4,0);s=A;H=g;break}case 119:{b=da((da(Bb|0,4,0,0)|0|0)+((da(f+(g*20|0)+4|0,4,0,0)|0)<<2)|0,4,0,0)|0|0;h=da(b+56|0,4,0,0)|0|0;if(h){b=d;d=e;y=A;e=g;be=878;break d}h=da(b|0,4,0,0)|0|0;s=A;H=g;h=Wm(da(h|0,4,0,0)|0|0,da(h+60|0,4,0,0)|0|0,0)|0;break}case 123:{s=A;H=g;h=$m(ee,da(f+(g*20|0)+4|0,4,0,0)|0|0)|0;break}case 124:{b=d;d=e;h=A;e=g;be=886;break d}case 122:{b=d;d=e;y=A;e=g;be=881;break d}case 126:{b=d;d=e;h=A;e=g;be=895;break d}case 125:{b=d;d=e;y=A;e=g;be=887;break d}case 127:{b=d;d=e;h=A;be=903;break d}case 128:{b=d;d=e;y=A;be=947;break d}case 129:{m=da(f+(g*20|0)+4|0,4,0,0)|0|0;l=p+(m*40|0)|0;m=p+(m*40|0)+8|0;b=da(m|0,2,0,0)|0|0;do if(b&32){u=da(l|0,4,0,0)|0|0;h=u+26|0;b=da(h|0,2,0,0)|0|0;if(!(b&2)){if(!(b&1)){b=u+8|0;ea(b|0,jn(da(b|0,4,0,0)|0|0)|0|0,4,0);b=da(h|0,2,0,0)|0|0}ea(h|0,b&65535|2|0,2,0)}s=u+8|0;q=da(s|0,4,0,0)|0|0;if(!q){b=da(m|0,2,0,0)|0|0;break}m=q;l=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;J=da(q+8|0,4,0,0)|0|0;ea(s|0,J|0,4,0);if(!J)Yk(u);h=da(f+(g*20|0)+12|0,4,0,0)|0|0;b=p+(h*40|0)|0;h=p+(h*40|0)+8|0;if(!((da(h|0,2,0,0)|0)&9312)){be=b;ea(be|0,l|0,4,0);ea(be+4|0,m|0,4,0);ea(h|0,4|0,2,0);h=0;be=19;break e}else{Yg(b,l,m);h=0;be=19;break e}}while(0);if(!(b&9312))ea(m|0,1|0,2,0);else ug(l);g=(da(f+(g*20|0)+8|0,4,0,0)|0|0)+-1|0;h=0;be=19;break}case 130:{b=d;d=e;h=A;be=966;break d}case 131:{b=d;d=e;h=A;e=g;be=993;break d}case 132:{b=d;d=e;h=A;e=g;be=1009;break d}case 134:{b=d;d=e;y=A;e=g;be=1010;break d}case 135:{b=d;d=e;h=A;e=g;be=1015;break d}case 136:{b=d;d=e;e=g;be=1022;break d}case 137:{b=d;d=e;h=A;e=g;be=1028;break d}case 138:{b=d;d=e;h=A;e=g;be=1030;break d}case 139:{b=d;d=e;y=A;e=g;be=1032;break d}case 140:{b=d;d=e;h=A;e=g;be=1034;break d}case 141:{b=d;d=e;h=A;e=g;be=1036;break d}case 10:{J=da(f+(g*20|0)+3>>0|0,1,0,0)|0|0;b=J&255;h=da(ub|0,4,0,0)|0|0;if(J<<24>>24){l=0;m=p+((da(f+(g*20|0)+8|0,4,0,0)|0|0)*40|0)|0;while(1){ea(h+(l<<2)|0,m|0,4,0);l=l+1|0;if((l|0)>=(b|0))break;else m=m+40|0}}J=da(f+(g*20|0)+16|0,4,0,0)|0|0;ea(za|0,J|0,4,0);I=da(f+(g*20|0)+12|0,4,0,0)|0|0;ea(Aa|0,p+(I*40|0)|0,4,0);I=p+(I*40|0)+12|0;ea(I|0,(da(I|0,4,0,0)|0|0)+1|0,4,0);ea(Ba|0,1|0,2,0);ea(Ca|0,ee|0,4,0);ea(Da|0,0|0,4,0);ea(Oc|0,Fd|0,4,0);ea(Ea|0,0|0,4,0);ea(Fa|0,a|0,4,0);ea(Ga|0,g|0,4,0);ea(Ha>>0|0,0|0,1,0);lc[(fa(da(J+16|0,4,0,0)|0|0,63|0)|0)&63](Oc,b,h);if(!(da(Ea|0,4,0,0)|0))h=0;else{ea(de|0,Rg(Fd,1)|0|0,4,0);ch(ce,ee,10344,de);h=da(Ea|0,4,0,0)|0|0}do if((da(Ha>>0|0,1,0,0)|0|0)!=0?(Fc=da(f+((g+-1|0)*20|0)+4|0,4,0,0)|0|0,(Fc|0)!=0):0){b=p+(Fc*40|0)|0;l=p+(Fc*40|0)+8|0;if(!((da(l|0,2,0,0)|0)&9312)){J=b;ea(J|0,1|0,4,0);ea(J+4|0,0|0,4,0);ea(l|0,4|0,2,0);break}else{Yg(b,1,0);break}}while(0);if(((da(Ba|0,2,0,0)|0)&9312)==0&(da(Da|0,4,0,0)|0|0)==0){s=A;H=g}else{Pg(Fd);s=A;H=g}break}case 11:{ea(Kc|0,0|0,4,0);ea(Ia|0,-1|0,4,0);ea(Ja|0,-1|0,4,0);b=Vh(ee,da(f+(g*20|0)+4|0,4,0,0)|0|0,da(f+(g*20|0)+8|0,4,0,0)|0|0,Ja,Iaia+0|0,0|0,4,0);ea(ia+4|0,0|0,4,0);ea(ia+8|0,0|0,4,0);ea(ia+12|0,0|0,4,0);ea(ia+16|0,0|0,4,0);do if(!x){q=0;s=0}else{y=(x>>>3)+1|0;w=pg(y,0)|0;if(!w){ea(la|0,0|0,4,0);q=0;s=1;break}ew(w|0,0,y|0)|0;ea(la|0,w|0,4,0);E=D+32|0;y=(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0)+1|0;if(y>>>0<=x>>>0){J=w+(y>>>3)|0;ea(J>>0|0,da(J>>0|0,1,0,1)|0|1<<(y&7)|0,1,0)}ea(na|0,Gd|0,4,0);ea(oa|0,Gd|0,4,0);ea(ma|0,0|0,4,0);ea(pa|0,0|0,4,0);ea(qa|0,100|0,4,0);ea(ra|0,1e9|0,4,0);ea(ta>>0|0,0|0,1,0);ea(sa>>0|0,2|0,1,0);ea(ka|0,43592|0,4,0);s=da((da(D+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;bn(Ld,1,(da(s+33>>0|0,1,0,1)|0)<<16|(da(s+32>>0|0,1,0,1)|0)<<24|(da(s+34>>0|0,1,0,1)|0)<<8|(da(s+35>>0|0,1,0,1)|0),(da(s+37>>0|0,1,0,1)|0)<<16|(da(s+36>>0|0,1,0,1)|0)<<24|(da(s+38>>0|0,1,0,1)|0)<<8|(da(s+39>>0|0,1,0,1)|0));ea(ka|0,0|0,4,0);s=da(ha|0,4,0,0)|0|0;if(!((A|0)<1|(s|0)==0)){v=D+17|0;w=0;do{x=H+(w<<2)|0;y=da(x|0,4,0,0)|0|0;if(y){if((da(v>>0|0,1,0,0)|0|0)!=0&(y|0)>1){cn(Ld,y,1,0);y=da(x|0,4,0,0)|0|0}ea(ka|0,43608|0,4,0);dn(Ld,y,0,0)|0;ea(ka|0,0|0,4,0);s=da(ha|0,4,0,0)|0|0}w=w+1|0}while(!((w|0)>=(A|0)|(s|0)==0))}if(!((da(ga|0,4,0,0)|0|0)==0|(s|0)==0)){A=D+17|0;z=D+36|0;u=1;do{w=u>>>3;y=da((da(la|0,4,0,0)|0|0)+w>>0|0,1,0,0)|0|0;v=1<<(u&7);do if(!(y&255&v)){if(u>>>0<2)x=0;else{x=u+-2|0;x=x-((x>>>0)%(((((da(z|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;x=((x+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+x|0}if((x|0)==(u|0)?(da(A>>0|0,1,0,0)|0|0)!=0:0)break;ea(de|0,u|0,4,0);en(Ld,43632,de);y=da((da(la|0,4,0,0)|0|0)+w>>0|0,1,0,0)|0|0}while(0);do if(y&255&v){if(u>>>0<2)y=0;else{y=u+-2|0;y=y-((y>>>0)%(((((da(z|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;y=((y+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(E|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+y|0}if((y|0)!=(u|0))break;if(!(da(A>>0|0,1,0,0)|0))break;ea(de|0,u|0,4,0);en(Ld,43656,de)}while(0);u=u+1|0}while(!((da(ha|0,4,0,0)|0|0)==0?1:u>>>0>(da(ga|0,4,0,0)|0|0)>>>0))}s=da((da((da(D|0,4,0,0)|0|0)+204|0,4,0,0)|0|0)+12|0,4,0,0)|0|0;if((m|0)!=(s|0)){ea(de|0,m|0,4,0);ea(de+4|0,s|0,4,0);en(Ld,43696,de)}Vc(da(la|0,4,0,0)|0|0);if(da(ja|0,4,0,0)|0){fn(ma);q=0;s=(da(ia|0,4,0,0)|0|0)+1|0;break}s=da(iale(0);ea(fe|0,9|0,4,0);ea(de|0,15832|0,4,0);ch(h,ee,10344,de);f=9;be=1311}while(0);if((be|0)==1317){ea(o>>0|0,1|0,1,0);ch(p,ee,15776,de);f=7;be=1311}if((be|0)==1311){ea(fe|0,f|0,4,0);jd=da(a+168|0,4,0,0)|0|0;kd=da(a+44|0,4,0,0)|0|0;ea(de|0,g|0,4,0);ea(de+4|0,jd|0,4,0);ea(de+8|0,kd|0,4,0);ad(f,42256,de);Ql(a)|0;if((f|0)==3082)ea(ee+65>>0|0,1|0,1,0);if(!(d<<24>>24)){d=b;b=1}else{um(ee,(d&255)+-1|0);d=b;b=1}}kd=ge;ea(kd|0,e|0,4,0);ea(kd+4|0,c|0,4,0);kd=a+124|0;ea(kd|0,(da(kd|0,4,0,0)|0|0)+d|0,4,0);i=he;return b|0}
14 function Dv(a){a=a|0;var 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,r=0,s=0,t=0,u=0,v=0,w=0;w=a+20|0;n=a+14|0;b=da(n>>0|0,1,0,0)|0|0;s=a+13|0;c=da(s>>0|0,1,0,0)|0|0;a:do if((b&255)>(c&255))b=0;else{u=a+4|0;v=a+16|0;o=a+8|0;p=a+12|0;q=a+24|0;r=a+28|0;e=b&255;f=da(u|0,4,0,0)|0|0;d=da(w|0,4,0,0)|0|0;b:while(1){m=da(a+(e+-2<<2)+24|0,4,0,0)|0|0;l=da(a+(e+-1<<2)+24|0,4,0,0)|0|0;if(f){while(1){k=f+12|0;if((d|0)<(da(k|0,4,0,0)|0|0)){c=d;b=(da(f+20|0,4,0,0)|0|0)+(d*48|0)|0;while(1){do if((da(b+8|0,4,0,0)|0|0)==(m|0)?(da(b+12|0,4,0,0)|0|0)==(l|0):0){if((da(n>>0|0,1,0,1)|0|0)>=3?((da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0)&1|0)!=0:0)break;j=b+18|0;d=da(j|0,2,0,0)|0|0;if((d&1024)!=0?(t=da(s>>0|0,1,0,0)|0|0,(t&255)<22):0){e=da((da(b|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;c:do if(!e)e=0;else while(1){g=da(e+4|0,4,0,0)|0|0;if(!(g&4096))break c;if(!(g&262144))e=e+12|0;else e=da((da(e+20|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;e=da(e|0,4,0,0)|0|0;if(!e){e=0;break}}while(0);d:do if(!(t<<24>>24)){i=0;g=0}else{h=da(e+28|0,4,0,0)|0|0;i=e+32|0;g=0;while(1){if((da(a+(g<<2)+24|0,4,0,0)|0|0)==(h|0)?(da(a+((g|1)<<2)+24|0,4,0,0)|0|0)==(da(i|0,2,0,0)|0|0):0){i=t;break d}g=g+2|0;if((g|0)>=(t&255|0)){i=t;break}}}while(0);if((g|0)==(i&255|0)){ea(a+(g<<2)+24|0,da(e+28|0,4,0,0)|0|0,4,0);ea(a+((g|1)<<2)+24|0,da(e+32|0,2,0,0)|0|0,4,0);ea(s>>0|0,(da(s>>0|0,1,0,1)|0|0)+2|0,1,0)}}e=d&65535;if(e&(da(v|0,4,0,0)|0)){if((da(o|0,4,0,0)|0|0)!=0&(e&128|0)==0){h=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;g=da(b|0,4,0,0)|0|0;e=da(p>>0|0,1,0,0)|0|0;d=(mv(g)|0)<<24>>24;if((d|0)==66){if(e<<24>>24!=66)break}else if((d|0)!=65?e<<24>>24<=66:0)break;d=Nu(h,da(g+12|0,4,0,0)|0|0,da(g+16|0,4,0,0)|0|0)|0;if(!d)d=da((da(h|0,4,0,0)|0|0)+8|0,4,0,0)|0|0;if(cd(da(d|0,4,0,0)|0|0,da(o|0,4,0,0)|0|0)|0)break;d=da(j|0,2,0,0)|0|0}if(!(d&2))break b;d=da((da(b|0,4,0,0)|0|0)+16|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)!=-102)break b;if((da(d+28|0,4,0,0)|0|0)!=(da(q|0,4,0,0)|0|0))break b;if((da(d+32|0,2,0,0)|0|0)!=(da(r|0,4,0,0)|0|0))break b}}while(0);c=c+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break;else b=b+48|0}c=da(u|0,4,0,0)|0|0}else c=f;f=da(c+4|0,4,0,0)|0|0;ea(u|0,f|0,4,0);if(!f)break;else d=0}b=da(n>>0|0,1,0,0)|0|0;c=da(s>>0|0,1,0,0)|0|0}f=da(a|0,4,0,0)|0|0;ea(u|0,f|0,4,0);d=(b&255)+2|0;b=d&255;ea(n>>0|0,b|0,1,0);if((b&255)>(c&255)){b=0;break a}else{e=d&255;d=0}}ea(w|0,c+1|0,4,0)}while(0);return b|0}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=da(a|0,4,0,0)|0|0;h=da(da(c|0,4,0,0)|0|0,4,0,0)|0|0;a=da(a+16|0,4,0,0)|0|0;a:do if(!a){c=c+16|0;e=da(c|0,4,0,0)|0|0;g=b+36|0;if(((da(g|0,4,0,0)|0)&512|0)!=0&(e|0)!=0){a=b+20|0;f=b+22|0;d=da(b+16>>0|0,1,0,0)|0|0;do{do if((da(e+16>>0|0,1,0,0)|0|0)==d<<24>>24?((da(e+36|0,4,0,0)|0)&512|0)!=0:0){if(Sv(e,b)|0){ea(a|0,da(e+20|0,2,0,0)|0|0|0,2,0);ea(f|0,(da(e+22|0,2,0,1)|0|0)+65535|0,2,0);break}if(Sv(b,e)|0){ea(a|0,da(e+20|0,2,0,0)|0|0|0,2,0);ea(f|0,(da(e+22|0,2,0,1)|0|0)+1|0,2,0)}}while(0);e=da(e+52|0,4,0,0)|0|0}while((e|0)!=0)}a=Tv(c,b)|0;if(a){c=da(a|0,4,0,0)|0|0;b:do if(c){a=c+52|0;if(da(a|0,4,0,0)|0)do{a=Tv(a,b)|0;if(!a)break b;d=da(a|0,4,0,0)|0|0;if(!d)break b;ea(a|0,da(d+52|0,4,0,0)|0|0,4,0);Iu(h,d);lg(h,d)}while((da(a|0,4,0,0)|0|0)!=0)}else{c=lh(h,72,0)|0;ea(a|0,c|0,4,0);if(!c){a=7;break a}ea(c+48|0,c+56|0,4,0);ea(c+40|0,0|0,2,0);ea(c+44|0,3|0,2,0);ea(c+36|0,0|0,4,0);ea(c+52|0,0|0,4,0)}while(0);Kv(h,c);do if(!(Mu(h,c,da(b+40|0,2,0,1)|0|0)|0)){d=c+0|0;a=b+0|0;e=d+44|0;do{ea(d|0,da(a|0,4,0,0)|0|0,4,0);d=d+4|0;a=a+4|0}while((d|0)<(e|0));jw(da(c+48|0,4,0,0)|0|0,da(b+48|0,4,0,0)|0|0,(da(c+40|0,2,0,1)|0)<<2|0)|0;a=da(g|0,4,0,0)|0|0;if(a&1024){ea(b+28>>0|0,0|0,1,0);break}if(a&16384)ea(b+28|0,0|0,4,0)}else{a=c+24|0;ea(a+0|0,0|0,4,0);ea(a+4|0,0|0,4,0);ea(a+8|0,0|0,4,0)}while(0);if((((da(c+36|0,4,0,0)|0)&1024|0)==0?(i=c+28|0,j=da(i|0,4,0,0)|0|0,(j|0)!=0):0)?(da(j+40|0,4,0,0)|0|0)==0:0){ea(i|0,0|0,4,0);a=0}else a=0}else a=0}else{c=b;Jv(a,da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da(b+20|0,2,0,0)|0|0,da(b+22|0,2,0,0)|0|0);a=0}while(0);return a|0}function Fv(a,b){a=a|0;b=b|0;var c=0,d=0;c=a<<16>>16;d=b<<16>>16;do if(a<<16>>16<b<<16>>16)if((d|0)<=(c+49|0))if((d|0)>(c+31|0)){a=d+1&65535;break}else{a=(da(34032+(d-c)>>0|0,1,0,1)|0|0)+d&65535;break}else a=b;else if((c|0)<=(d+49|0))if((c|0)>(d+31|0)){a=c+1&65535;break}else{a=(da(34032+(c-d)>>0|0,1,0,1)|0|0)+c&65535;break}while(0);return a|0}function Gv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if(!(Bu(a,b,c)|0))d=1;else{d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24==77)e=6;else if(d<<24>>24==71){if(Gv(a,da(b+12|0,4,0,0)|0|0,c)|0){d=1;break}if(Gv(a,da(b+16|0,4,0,0)|0|0,c)|0){d=1;break}if(d<<24>>24==77)e=6}if(((e|0)==6?(Bu(da(a+12|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,c)|0)==0:0)?(d=da(a>>0|0,1,0,0)|0|0,!(d<<24>>24==73|d<<24>>24==76)):0){d=1;break}d=0}while(0);return d|0}function Hv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();r=s;p=b;q=b+8|0;d=q;o=~(da(d|0,4,0,0)|0|(da(p|0,4,0,0)|0));p=~(da(d+4|0,4,0,0)|0|(da(p+4|0,4,0,0)|0));d=da(a+12|0,4,0,0)|0|0;m=a+20|0;a:do if((d|0)>0){n=b+40|0;a=b+22|0;l=b+48|0;b=0;k=da(m|0,4,0,0)|0|0;while(1){if((da(k+20|0,2,0,0)|0)&2)break a;f=k+40|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;g=q;b:do if((((da(g|0,4,0,0)|0)&e|0)!=0?1:((da(g+4|0,4,0,0)|0)&f|0)!=0)&((e&o|0)==0&(f&p|0)==0)){e=da(n|0,2,0,0)|0|0;c:do if(e<<16>>16){h=da(l|0,4,0,0)|0|0;f=e&65535;while(1){e=f;f=f+-1|0;g=da(h+(f<<2)|0,4,0,0)|0|0;if(g){if((g|0)==(k|0))break;g=da(g+4|0,4,0,0)|0|0;if((g|0)>-1?((da(m|0,4,0,0)|0|0)+(g*48|0)|0)==(k|0):0)break}if((f|0)<=0)break c}if((e|0)>=1)break b}while(0);e=da(k+16|0,2,0,0)|0|0;if(e<<16>>16<1){ea(a|0,(da(a|0,2,0,1)|0|0)+(e&65535)|0,2,0);break}ea(a|0,(da(a|0,2,0,0)|0|0)+-1<<16>>16|0,2,0);if((da(k+18|0,2,0,0)|0)&2){g=(Ls(da((da(k|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r)|0)!=0;h=da(r|0,4,0,0)|0|0;h=g&(h|0)>-2&(h|0)<2?10:20;ea(r|0,h|0,4,0);b=(b<<16>>16|0)<(h|0)?h&65535:b}}while(0);d=d+-1|0;if((d|0)<=0)break;else k=k+48|0}}else{a=b+22|0;b=0}while(0);b=(c<<16>>16)-(b<<16>>16)|0;if((da(a|0,2,0,0)|0|0)>(b|0))ea(a|0,b|0,2,0);i=s;return}function Iv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=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,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;aa=i;i=i+112|0;if((i|0)>=(j|0))ba();L=aa;P=da(da(da(a|0,4,0,0)|0|0,4,0,0)|0|0,4,0,0)|0|0;_=da(a+12|0,4,0,0)|0|0;if(!(da(P+65>>0|0,1,0,0)|0)){$=_+36|0;if(!((da($|0,4,0,0)|0)&32))if((da(c+40|0,4,0,0)|0|0)<1)e=63;else e=((da(b+36>>0|0,1,0,0)|0)&8)<<4^191;else e=24;Q=c+51|0;Y=_+24|0;f=da((da(c+4|0,4,0,0)|0|0)+((da(Y|0,2,0,1)|0)<<1)|0,2,0,0)|0|0;H=f<<16>>16;I=a+4|0;e=Cv(L,da(I|0,4,0,0)|0|0,da(b+40|0,4,0,0)|0|0,H,((da(Q>>0|0,1,0,0)|0)&4)==0?e:e&131,c)|0;R=da(Y|0,2,0,0)|0|0;S=_+42|0;N=da(S|0,2,0,0)|0|0;T=_+40|0;O=da(T|0,2,0,0)|0|0;U=da($|0,4,0,0)|0|0;K=_;J=da(K|0,4,0,0)|0|0;K=da(K+4|0,4,0,0)|0|0;V=_+22|0;W=da(V|0,2,0,0)|0|0;ea(_+18|0,0|0,2,0);X=c+8|0;x=da(da(X|0,4,0,0)|0|0,2,0,0)|0|0;if(x<<16>>16<11)w=0;else{w=x<<16>>16;w=((es(w,((w|0)<0)<<31>>31)|0)&65535)+65503&65535}a:do if(!e)e=0;else{y=f<<16>>16<0;z=b+16|0;A=_+8|0;B=(O&65535)+1|0;C=_+48|0;D=d<<16>>16==0;E=c+46|0;q=f<<16>>16>-1;r=c+50|0;s=c+44|0;t=_+20|0;u=d<<16>>16;v=c+48|0;g=0;p=e;l=0;while(1){f=da(p+18|0,2,0,0)|0|0;m=f&65535;if(f<<16>>16==128)if(!y?(da((da((da(z|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(H*24|0)+20>>0|0,1,0,0)|0|0)==0:0)M=12;else{f=l;e=0}else M=12;if((M|0)==12){M=0;k=p+32|0;e=k;h=A;if((((da(h|0,4,0,0)|0)&(da(e|0,4,0,0)|0)|0)==0?((da(h+4|0,4,0,0)|0)&(da(e+4|0,4,0,0)|0)|0)==0:0)?(F=p+20|0,!(((da(F|0,2,0,0)|0)&256)!=0&f<<16>>16==16)):0){ea($|0,U|0,4,0);ea(Y|0,R|0,2,0);ea(T|0,O|0,2,0);if(Mu(P,_,B)|0){e=0;break a}f=da(T|0,2,0,0)|0|0;h=f+1<<16>>16;ea(T|0,h|0,2,0);ea((da(C|0,4,0,0)|0|0)+((f&65535)<<2)|0,p|0,4,0);f=k;k=A;o=(da(f+4|0,4,0,0)|0|K)&~(da(k+4|0,4,0,0)|0);n=_;ea(n|0,(da(f|0,4,0,0)|0|J)&~(da(k|0,4,0,0)|0)|0,4,0);ea(n+4|0,o|0,4,0);b:do if(!(m&1)){if(m&2){e=da($|0,4,0,0)|0|0;f=e|1;ea($|0,f|0,4,0);do if(!y){if(!D){n=0;o=g;break b}if((da(Y|0,2,0,1)|0|0)!=((da(E|0,2,0,1)|0|0)+-1|0)){n=0;o=g;break b}if(!q)break;if(da(r>>0|0,1,0,0)|0)break;f=e|65537;ea($|0,f|0,4,0);n=0;o=g;break b}while(0);f=e|4097;ea($|0,f|0,4,0);n=0;o=g;break}if(m&128){f=da($|0,4,0,0)|0|8;ea($|0,f|0,4,0);n=0;o=g;break}e=da($|0,4,0,0)|0|0;if(!(m&36)){f=e|18;ea($|0,f|0,4,0);if(!(e&32)){n=0;o=0;l=p;break}n=0;o=da((da(C|0,4,0,0)|0|0)+((h&65535)+-2<<2)|0,4,0,0)|0|0;l=p;break}f=e|34;ea($|0,f|0,4,0);if(!((da(F|0,2,0,0)|0)&256)){n=0;o=p;l=0}else{e=p+48|0;if(Mu(P,_,(h&65535)+1|0)|0){e=0;break a}f=da(T|0,2,0,0)|0|0;ea(T|0,f+1<<16>>16|0,2,0);ea((da(C|0,4,0,0)|0|0)+((f&65535)<<2)|0,e|0,4,0);f=da($|0,4,0,0)|0|16;ea($|0,f|0,4,0);n=0;o=p;l=e}}else{e=da(p|0,4,0,0)|0|0;f=da($|0,4,0,0)|0|4;ea($|0,f|0,4,0);if(!((da(e+4|0,4,0,0)|0)&2048)){e=da(e+20|0,4,0,0)|0|0;if((e|0)!=0?(G=da(e|0,4,0,0)|0|0,(G|0)!=0):0){n=(es(G,((G|0)<0)<<31>>31)|0)<<16>>16;o=g}else{n=0;o=g}}else{n=46;o=g}}while(0);do if(!(f&2)){e=(da(Y|0,2,0,0)|0|0)+1<<16>>16;ea(Y|0,e|0,2,0);e=e&65535;g=da(p+16|0,2,0,0)|0|0;if(g<<16>>16<1&q){k=(g&65535)-n+(da(V|0,2,0,1)|0|0)&65535;ea(V|0,k|0,2,0);break}g=da(X|0,4,0,0)|0|0;g=(da(V|0,2,0,1)|0|0)+((da(g+(e<<1)|0,2,0,1)|0|0)-(da(g+(e+-1<<1)|0,2,0,1)|0|0))|0;e=g&65535;ea(V|0,e|0,2,0);if(!(m&128))k=e;else{k=g+10&65535;ea(V|0,k|0,2,0)}}else{e=da(V|0,2,0,0)|0|0;k=e<<16>>16;do if(o){g=da(o+16|0,2,0,0)|0|0;if(g<<16>>16<1){e=(g&65535)+(e&65535)&65535;break}else{e=(e&65535)+65516&65535;break}}while(0);do if(l){g=da(l+16|0,2,0,0)|0|0;if(g<<16>>16<1){e=(g&65535)+(e&65535)&65535;break}else{e=(e&65535)+65516&65535;break}}while(0);g=(o|0)!=0;do if(g?(da(o+16|0,2,0,0)|0|0)>0&(l|0)!=0:0){if((da(l+16|0,2,0,0)|0|0)<=0)break;e=(e&65535)+65516&65535}while(0);k=(((l|0)!=0)<<31>>31)+(g<<31>>31)+k|0;p=e<<16>>16<10?10:e<<16>>16;k=((p|0)<(k|0)?p:k)&65535;ea(V|0,k|0,2,0)}while(0);h=k&65535;g=Fv(w,h+1+(((da(s|0,2,0,0)|0|0)*15|0)/(da((da(z|0,4,0,0)|0|0)+42|0,2,0,0)|0|0)|0)&65535)|0;if(!(f&320))g=Fv(g,h+16&65535)|0;f=n+u|0;ea(t|0,(g&65535)+f|0,2,0);ea(V|0,h+f|0,2,0);Hv(da(I|0,4,0,0)|0|0,_,x);e=Ev(a,_)|0;p=da($|0,4,0,0)|0|0;ea(V|0,((p&2|0)==0?k:W)|0,2,0);if((p&16|0)==0?(da(Y|0,2,0,1)|0|0)<(da(v|0,2,0,1)|0|0):0)Iv(a,b,c,f&65535)|0;ea(V|0,W|0,2,0);g=o;f=l}else{f=l;e=0}}p=Dv(L)|0;if(!((e|0)==0&(p|0)!=0))break;else l=f}}while(0);f=_;ea(f|0,J|0,4,0);ea(f+4|0,K|0,4,0);ea(Y|0,R|0,2,0);ea(S|0,N|0,2,0);ea($|0,U|0,4,0);ea(V|0,W|0,2,0);ea(T|0,O|0,2,0);f=R&65535;if(((R<<16>>16==N<<16>>16?(Z=f+1|0,Z>>>0<(da(c+46|0,2,0,1)|0|0)>>>0):0)?((da(Q>>0|0,1,0,0)|0)&64)==0:0)?(da((da(X|0,4,0,0)|0|0)+(Z<<1)|0,2,0,0)|0|0)>41:0){e=Mu(P,_,(O&65535)+1|0)|0;if(!e){ea(Y|0,(da(Y|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(S|0,(da(S|0,2,0,0)|0|0)+1<<16>>16|0,2,0);e=da(T|0,2,0,0)|0|0;ea(T|0,e+1<<16>>16|0,2,0);ea((da(_+48|0,4,0,0)|0|0)+((e&65535)<<2)|0,0|0,4,0);ea($|0,da($|0,4,0,0)|0|32768|0,4,0);e=da(X|0,4,0,0)|0|0;e=(da(e+(f<<1)|0,2,0,1)|0|0)-(da(e+(Z<<1)|0,2,0,1)|0|0)|0;ea(V|0,(da(V|0,2,0,1)|0|0)-e|0,2,0);Iv(a,b,c,(((e<<16)+327680|0)>>>16)+(d&65535)&65535)|0;ea(V|0,W|0,2,0);ea(Y|0,R|0,2,0);ea(S|0,R|0,2,0);ea($|0,U|0,4,0);e=0}}}else e=7;i=aa;return e|0}function Jv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;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;k=da(a|0,2,0,0)|0|0;f=a+8|0;a:do if(k<<16>>16){i=k;j=f;while(1){g=da(j+8|0,2,0,0)|0|0;if(g<<16>>16>=d<<16>>16?(h=j,((da(h|0,4,0,0)|0)&b|0)==(b|0)?((da(h+4|0,4,0,0)|0)&c|0)==(c|0):0):0){m=j;n=14;break a}if(g<<16>>16<=d<<16>>16?(h=j,g=da(h|0,4,0,0)|0|0,h=da(h+4|0,4,0,0)|0|0,(g&b|0)==(g|0)&(h&c|0)==(h|0)):0)break a;i=i+-1<<16>>16;if(!(i<<16>>16))break;else j=j+16|0}if((k&65535)>=3){g=da(a+16|0,2,0,0)|0|0;j=1;do{if(g<<16>>16>(da(a+(j<<4)+16|0,2,0,0)|0|0))f=a+(j<<4)+8|0;j=j+1|0;g=da(f+8|0,2,0,0)|0|0}while((j&65535)<(k&65535));if(g<<16>>16>d<<16>>16){m=f;n=14}}else n=9}else n=9;while(0);if((n|0)==9){m=k&65535;ea(a|0,k+1<<16>>16|0,2,0);ea(a+(m<<4)+18|0,e|0,2,0);m=a+(m<<4)+8|0;n=14}if((n|0)==14?(l=m,ea(l|0,b|0,4,0),ea(l+4|0,c|0,4,0),ea(m+8|0,d|0,2,0),l=m+10|0,(da(l|0,2,0,0)|0|0)>e<<16>>16):0)ea(l|0,e|0,2,0);return}function Kv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=da(b+36|0,4,0,0)|0|0;do if(c&17408){if((c&1024|0)!=0?(f=b+28|0,(da(f>>0|0,1,0,0)|0|0)!=0):0){c=b+32|0;Vc(da(c|0,4,0,0)|0|0);ea(f>>0|0,0|0,1,0);ea(c|0,0|0,4,0);break}if((c&16384|0)!=0?(d=b+28|0,e=da(d|0,4,0,0)|0|0,(e|0)!=0):0){lg(a,da(e+16|0,4,0,0)|0|0);lg(a,da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0)}}while(0);return}function Lv(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=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,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,_=0,$=0,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0;na=i;i=i+32|0;if((i|0)>=(j|0))ba();ia=na;k=da(da(a|0,4,0,0)|0|0,4,0,0)|0|0;ha=e&65535;if(e<<16>>16!=0?((da(k+60|0,2,0,0)|0)&128)!=0:0)h=0;else ja=3;a:do if((ja|0)==3){ma=da(b|0,4,0,0)|0|0;h=ma&65535;if(h>>>0<=63){ka=hw(1,0,h|0)|0;ka=iw(ka|0,C|0,-1,-1)|0;la=C;b:do if((ka|0)==0&(la|0)==0){b=0;c=0;k=1}else{_=c+24|0;$=a+4|0;aa=(h|0)==0;Y=b+4|0;Z=(d&768)==0;X=k+8|0;O=(d&256)==0;P=a+68|0;Q=ia+20|0;R=ia+4|0;U=iaia+0|0,0|0,4,0),ea(ia+4|0,0|0,4,0),ea(ia+8|0,0|0,4,0),ea(ia+12|0,0|0,4,0),ea(ia+16|0,0|0,4,0),ea(ia+20|0,0|0,4,0),ea(Q>>0|0,1|0,1,0),ea(ia|0,78|0,4,0),ea(R|0,79|0,4,0),ea(U|0,0|0,4,0),qs(ia0,4,0);ea(g|0,f|0,4,0)}while(0);if(m>>>0<16){ea(n|0,l|o&1|2|0,4,0);l=a+(l|4)|0;ea(l|0,da(l|0,4,0,0)|0|1|0,4,0);l=a;return l|0}else{ea(n|0,o&1|b|2|0,4,0);ea(a+(b+4)|0,m|3|0,4,0);l=a+(l|4)|0;ea(l|0,da(l|0,4,0,0)|0|1|0,4,0);aw(a+b|0,m);l=a;return l|0}return 0}function aw(a,b){a=a|0;b=b|0;var 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,r=0,s=0;p=a+b|0;g=da(a+4|0,4,0,0)|0|0;do if(!(g&1)){i=da(a|0,4,0,0)|0|0;if(!(g&3))return;m=a+(0-i)|0;l=i+b|0;h=da(12270*4|0,4,0,0)|0|0;if(m>>>0<h>>>0)Nb();if((m|0)==(da(12271*4|0,4,0,0)|0|0)){f=a+(b+4)|0;g=da(f|0,4,0,0)|0|0;if((g&3|0)!=3){s=m;k=l;break}ea(12268*4|0,l|0,4,0);ea(f|0,g&-2|0,4,0);ea(a+(4-i)|0,l|1|0,4,0);ea(p|0,l|0,4,0);return}d=i>>>3;if(i>>>0<256){e=da(a+(8-i)|0,4,0,0)|0|0;f=da(a+(12-i)|0,4,0,0)|0|0;g=49104+(d<<1<<2)|0;if((e|0)!=(g|0)){if(e>>>0<h>>>0)Nb();if((da(e+12|0,4,0,0)|0|0)!=(m|0))Nb()}if((f|0)==(e|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<d)|0,4,0);s=m;k=l;break}if((f|0)!=(g|0)){if(f>>>0<h>>>0)Nb();g=f+8|0;if((da(g|0,4,0,0)|0|0)==(m|0))c=g;else Nb()}else c=f+8|0;ea(e+12|0,f|0,4,0);ea(c|0,e|0,4,0);s=m;k=l;break}c=da(a+(24-i)|0,4,0,0)|0|0;e=da(a+(12-i)|0,4,0,0)|0|0;do if((e|0)==(m|0)){e=16-i|0;f=a+(e+4)|0;g=da(f|0,4,0,0)|0|0;if(!g){f=a+e|0;g=da(f|0,4,0,0)|0|0;if(!g){j=0;break}}while(1){e=g+20|0;d=da(e|0,4,0,0)|0|0;if(d){g=d;f=e;continue}e=g+16|0;d=da(e|0,4,0,0)|0|0;if(!d)break;else{g=d;f=e}}if(f>>>0<h>>>0)Nb();else{ea(f|0,0|0,4,0);j=g;break}}else{d=da(a+(8-i)|0,4,0,0)|0|0;if(d>>>0<h>>>0)Nb();g=d+12|0;if((da(g|0,4,0,0)|0|0)!=(m|0))Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(m|0)){ea(g|0,e|0,4,0);ea(f|0,d|0,4,0);j=e;break}else Nb()}while(0);if(c){g=da(a+(28-i)|0,4,0,0)|0|0;f=49368+(g<<2)|0;if((m|0)==(da(f|0,4,0,0)|0|0)){ea(f|0,j|0,4,0);if(!j){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<g)|0,4,0);s=m;k=l;break}}else{if(c>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();g=c+16|0;if((da(g|0,4,0,0)|0|0)==(m|0))ea(g|0,j|0,4,0);else ea(c+20|0,j|0,4,0);if(!j){s=m;k=l;break}}e=da(12270*4|0,4,0,0)|0|0;if(j>>>0<e>>>0)Nb();ea(j+24|0,c|0,4,0);g=16-i|0;f=da(a+g|0,4,0,0)|0|0;do if(f)if(f>>>0<e>>>0)Nb();else{ea(j+16|0,f|0,4,0);ea(f+24|0,j|0,4,0);break}while(0);g=da(a+(g+4)|0,4,0,0)|0|0;if(g)if(g>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(j+20|0,g|0,4,0);ea(g+24|0,j|0,4,0);s=m;k=l;break}else{s=m;k=l}}else{s=m;k=l}}else{s=a;k=b}while(0);h=da(12270*4|0,4,0,0)|0|0;if(p>>>0<h>>>0)Nb();g=a+(b+4)|0;f=da(g|0,4,0,0)|0|0;if(!(f&2)){if((p|0)==(da(12272*4|0,4,0,0)|0|0)){l=(da(12269*4|0,4,0,0)|0|0)+k|0;ea(12269*4|0,l|0,4,0);ea(12272*4|0,s|0,4,0);ea(s+4|0,l|1|0,4,0);if((s|0)!=(da(12271*4|0,4,0,0)|0|0))return;ea(12271*4|0,0|0,4,0);ea(12268*4|0,0|0,4,0);return}if((p|0)==(da(12271*4|0,4,0,0)|0|0)){l=(da(12268*4|0,4,0,0)|0|0)+k|0;ea(12268*4|0,l|0,4,0);ea(12271*4|0,s|0,4,0);ea(s+4|0,l|1|0,4,0);ea(s+l|0,l|0,4,0);return}i=(f&-8)+k|0;c=f>>>3;do if(f>>>0>=256){c=da(a+(b+24)|0,4,0,0)|0|0;e=da(a+(b+12)|0,4,0,0)|0|0;do if((e|0)==(p|0)){f=a+(b+20)|0;g=da(f|0,4,0,0)|0|0;if(!g){f=a+(b+16)|0;g=da(f|0,4,0,0)|0|0;if(!g){o=0;break}}while(1){e=g+20|0;d=da(e|0,4,0,0)|0|0;if(d){g=d;f=e;continue}e=g+16|0;d=da(e|0,4,0,0)|0|0;if(!d)break;else{g=d;f=e}}if(f>>>0<h>>>0)Nb();else{ea(f|0,0|0,4,0);o=g;break}}else{d=da(a+(b+8)|0,4,0,0)|0|0;if(d>>>0<h>>>0)Nb();g=d+12|0;if((da(g|0,4,0,0)|0|0)!=(p|0))Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(p|0)){ea(g|0,e|0,4,0);ea(f|0,d|0,4,0);o=e;break}else Nb()}while(0);if(c){g=da(a+(b+28)|0,4,0,0)|0|0;f=49368+(g<<2)|0;if((p|0)==(da(f|0,4,0,0)|0|0)){ea(f|0,o|0,4,0);if(!o){ea(12267*4|0,(da(12267*4|0,4,0,0)|0)&~(1<<g)|0,4,0);break}}else{if(c>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();f=c+16|0;if((da(f|0,4,0,0)|0|0)==(p|0))ea(f|0,o|0,4,0);else ea(c+20|0,o|0,4,0);if(!o)break}e=da(12270*4|0,4,0,0)|0|0;if(o>>>0<e>>>0)Nb();ea(o+24|0,c|0,4,0);f=da(a+(b+16)|0,4,0,0)|0|0;do if(f)if(f>>>0<e>>>0)Nb();else{ea(o+16|0,f|0,4,0);ea(f+24|0,o|0,4,0);break}while(0);e=da(a+(b+20)|0,4,0,0)|0|0;if(e)if(e>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{ea(o+20|0,e|0,4,0);ea(e+24|0,o|0,4,0);break}}}else{d=da(a+(b+8)|0,4,0,0)|0|0;e=da(a+(b+12)|0,4,0,0)|0|0;g=49104+(c<<1<<2)|0;if((d|0)!=(g|0)){if(d>>>0<h>>>0)Nb();if((da(d+12|0,4,0,0)|0|0)!=(p|0))Nb()}if((e|0)==(d|0)){ea(12266*4|0,(da(12266*4|0,4,0,0)|0)&~(1<<c)|0,4,0);break}if((e|0)!=(g|0)){if(e>>>0<h>>>0)Nb();f=e+8|0;if((da(f|0,4,0,0)|0|0)==(p|0))n=f;else Nb()}else n=e+8|0;ea(d+12|0,e|0,4,0);ea(n|0,d|0,4,0)}while(0);ea(s+4|0,i|1|0,4,0);ea(s+i|0,i|0,4,0);if((s|0)==(da(12271*4|0,4,0,0)|0|0)){ea(12268*4|0,i|0,4,0);return}else g=i}else{ea(g|0,f&-2|0,4,0);ea(s+4|0,k|1|0,4,0);ea(s+k|0,k|0,4,0);g=k}f=g>>>3;if(g>>>0<256){d=f<<1;g=49104+(d<<2)|0;c=da(12266*4|0,4,0,0)|0|0;e=1<<f;if(c&e){e=49104+(d+2<<2)|0;d=da(e|0,4,0,0)|0|0;if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();else{q=e;r=d}}else{ea(12266*4|0,c|e|0,4,0);q=49104+(d+2<<2)|0;r=g}ea(q|0,s|0,4,0);ea(r+12|0,s|0,4,0);ea(s+8|0,r|0,4,0);ea(s+12|0,g|0,4,0);return}c=g>>>8;if(c)if(g>>>0>16777215)f=31;else{k=(c+1048320|0)>>>16&8;l=c<<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;e=49368+(f<<2)|0;ea(s+28|0,f|0,4,0);ea(s+20|0,0|0,4,0);ea(s+16|0,0|0,4,0);d=da(12267*4|0,4,0,0)|0|0;c=1<<f;if(!(d&c)){ea(12267*4|0,d|c|0,4,0);ea(e|0,s|0,4,0);ea(s+24|0,e|0,4,0);ea(s+12|0,s|0,4,0);ea(s+8|0,s|0,4,0);return}c=da(e|0,4,0,0)|0|0;if((f|0)==31)d=0;else d=25-(f>>>1)|0;a:do if(((da(c+4|0,4,0,0)|0)&-8|0)!=(g|0)){f=g<<d;while(1){d=c+(f>>>31<<2)+16|0;e=da(d|0,4,0,0)|0|0;if(!e)break;if(((da(e+4|0,4,0,0)|0)&-8|0)==(g|0)){c=e;break a}else{f=f<<1;c=e}}if(d>>>0<(da(12270*4|0,4,0,0)|0|0)>>>0)Nb();ea(d|0,s|0,4,0);ea(s+24|0,c|0,4,0);ea(s+12|0,s|0,4,0);ea(s+8|0,s|0,4,0);return}while(0);d=c+8|0;e=da(d|0,4,0,0)|0|0;l=da(12270*4|0,4,0,0)|0|0;if(!(c>>>0>=l>>>0&e>>>0>=l>>>0))Nb();ea(e+12|0,s|0,4,0);ea(d|0,s|0,4,0);ea(s+8|0,e|0,4,0);ea(s+12|0,c|0,4,0);ea(s+24|0,0|0,4,0);return}function bw(){}function cw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=b-d-(c>>>0>a>>>0|0)>>>0;return (C=b,a-c>>>0|0)|0}function dw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=(b|0)<0?-1:0;return b>>c-32|0}function ew(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a+c|0;if((c|0)>=20){b=b&255;f=a&3;g=b|b<<8|b<<16|b<<24;e=d&~3;if(f){f=a+4-f|0;while((a|0)<(f|0)){ea(a|0,b|0,1,0)|0;a=a+1|0}}while((a|0)<(e|0)){ea(a|0,g|0,4,0)|0;a=a+4|0}}while((a|0)<(d|0)){ea(a|0,b|0,1,0)|0;a=a+1|0}return a-c|0}function fw(a){a=a|0;var b=0;b=a;while(da(b|0,1,0,0)|0)b=b+1|0;return b-a|0}function gw(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+(fw(a)|0)|0;do{ea(d+c|0,da(b+c|0,1,0,0)|0,1,0)|0;c=c+1|0}while(da(b+(c-1)|0,1,0,0)|0);return a|0}function hw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}C=a<<c-32;return 0}function iw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (C=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function jw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=4096)return tb(a|0,b|0,c|0)|0;d=a|0;if((a&3)==(b&3)){while(a&3){if(!c)return d|0;ea(a|0,da(b|0,1,0,0)|0,1,0)|0;a=a+1|0;b=b+1|0;c=c-1|0}while((c|0)>=4){ea(a|0,da(b|0,4,0,0)|0,4,0)|0;a=a+4|0;b=b+4|0;c=c-4|0}}while((c|0)>0){ea(a|0,da(b|0,1,0,0)|0,1,0)|0;a=a+1|0;b=b+1|0;c=c-1|0}return d|0}function kw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)<(a|0)&(a|0)<(b+c|0)){d=a;b=b+c|0;a=a+c|0;while((c|0)>0){a=a-1|0;b=b-1|0;c=c-1|0;ea(a|0,da(b|0,1,0,0)|0,1,0)|0}a=d}else jw(a,b,c)|0;return a|0}function lw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=0;return b>>>c-32|0}function mw(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function nw(a){a=a|0;var b=0;b=da(m+(a&255)|0,1,0,0)|0;if((b|0)<8)return b|0;b=da(m+(a>>8&255)|0,1,0,0)|0;if((b|0)<8)return b+8|0;b=da(m+(a>>16&255)|0,1,0,0)|0;if((b|0)<8)return b+16|0;return (da(m+(a>>>24)|0,1,0,0)|0)+24|0}function ow(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;d=b&65535;c=_(d,f)|0;e=a>>>16;d=(c>>>16)+(_(d,e)|0)|0;b=b>>>16;a=_(b,f)|0;return (C=(d>>>16)+(_(b,e)|0)+(((d&65535)+a|0)>>>16)|0,d+a<<16|c&65535|0)|0}function pw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b>>31|((b|0)<0?-1:0)<<1;i=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;f=d>>31|((d|0)<0?-1:0)<<1;e=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;h=cw(j^a,i^b,j,i)|0;g=C;b=f^j;a=e^i;a=cw((uw(h,g,cw(f^c,e^d,f,e)|0,C,0)|0)^b,C^a,b,a)|0;return a|0}function qw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;i=i+8|0;h=e|0;g=b>>31|((b|0)<0?-1:0)<<1;f=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=d>>31|((d|0)<0?-1:0)<<1;j=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;b=cw(g^a,f^b,g,f)|0;a=C;uw(b,a,cw(k^c,j^d,k,j)|0,C,h)|0;a=cw((da(h|0,4,0,0)|0)^g,(da(h+4|0,4,0,0)|0)^f,g,f)|0;b=C;i=e;return (C=b,a)|0}function rw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;a=ow(e,f)|0;c=C;return (C=(_(b,f)|0)+(_(d,e)|0)+c|c&0,a|0|0)|0}function sw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=uw(a,b,c,d,0)|0;return a|0}function tw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+8|0;e=f|0;uw(a,b,c,d,e)|0;i=f;return (C=da(e+4|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0)|0}function uw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;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;m=a;k=b;l=k;j=c;n=d;h=n;if(!l){f=(e|0)!=0;if(!h){if(f){ea(e|0,(m>>>0)%(j>>>0)|0,4,0);ea(e+4|0,0|0,4,0)}k=0;l=(m>>>0)/(j>>>0)>>>0;return (C=k,l)|0}else{if(!f){k=0;l=0;return (C=k,l)|0}ea(e|0,a|0|0,4,0);ea(e+4|0,b&0|0,4,0);k=0;l=0;return (C=k,l)|0}}i=(h|0)==0;do if(j){if(!i){g=(aa(h|0)|0)-(aa(l|0)|0)|0;if(g>>>0<=31){f=g+1|0;k=31-g|0;j=g-31>>31;h=f;i=m>>>(f>>>0)&j|l<<k;j=l>>>(f>>>0)&j;f=0;g=m<<k;break}if(!e){k=0;l=0;return (C=k,l)|0}ea(e|0,a|0|0,4,0);ea(e+4|0,k|b&0|0,4,0);k=0;l=0;return (C=k,l)|0}i=j-1|0;if(i&j){g=(aa(j|0)|0)+33-(aa(l|0)|0)|0;o=64-g|0;k=32-g|0;a=k>>31;b=g-32|0;j=b>>31;h=g;i=k-1>>31&l>>>(b>>>0)|(l<<k|m>>>(g>>>0))&j;j=j&l>>>(g>>>0);f=m<<o&a;g=(l<<o|m>>>(b>>>0))&a|m<<k&g-33>>31;break}if(e){ea(e|0,i&m|0,4,0);ea(e+4|0,0|0,4,0)}if((j|0)==1){k=k|b&0;l=a|0|0;return (C=k,l)|0}else{a=nw(j|0)|0;k=l>>>(a>>>0)|0;l=l<<32-a|m>>>(a>>>0)|0;return (C=k,l)|0}}else{if(i){if(e){ea(e|0,(l>>>0)%(j>>>0)|0,4,0);ea(e+4|0,0|0,4,0)}k=0;l=(l>>>0)/(j>>>0)>>>0;return (C=k,l)|0}if(!m){if(e){ea(e|0,0|0,4,0);ea(e+4|0,(l>>>0)%(h>>>0)|0,4,0)}k=0;l=(l>>>0)/(h>>>0)>>>0;return (C=k,l)|0}i=h-1|0;if(!(i&h)){if(e){ea(e|0,a|0|0,4,0);ea(e+4|0,i&l|b&0|0,4,0)}k=0;l=l>>>((nw(h|0)|0)>>>0);return (C=k,l)|0}g=(aa(h|0)|0)-(aa(l|0)|0)|0;if(g>>>0<=30){j=g+1|0;g=31-g|0;h=j;i=l<<g|m>>>(j>>>0);j=l>>>(j>>>0);f=0;g=m<<g;break}if(!e){k=0;l=0;return (C=k,l)|0}ea(e|0,a|0|0,4,0);ea(e+4|0,k|b&0|0,4,0);k=0;l=0;return (C=k,l)|0}while(0);if(!h){k=g;h=0;g=0}else{l=c|0|0;k=n|d&0;b=iw(l,k,-1,-1)|0;a=C;c=g;g=0;do{o=c;c=f>>>31|c<<1;f=g|f<<1;o=i<<1|o>>>31|0;n=i>>>31|j<<1|0;cw(b,a,o,n)|0;m=C;d=m>>31|((m|0)<0?-1:0)<<1;g=d&1;i=cw(o,n,d&l,(((m|0)<0?-1:0)>>31|((m|0)<0?-1:0)<<1)&k)|0;j=C;h=h-1|0}while((h|0)!=0);k=c;h=0}c=0;if(e){ea(e|0,i|0,4,0);ea(e+4|0,j|0,4,0)}k=(f|0)>>>31|(k|c)<<1|(c<<1|f>>>31)&0|h;l=(f<<1|0>>>31)&-2|g;return (C=k,l)|0}function vw(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return _b[(fa(a|0,1|0)|0)&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function ww(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $b[(fa(a|0,63|0)|0)&63](b|0,c|0,d|0)|0}function xw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ac[(fa(a|0,1|0)|0)&1](b|0,c|0,d|0,e|0,f|0,g|0)}function yw(a,b){a=a|0;b=b|0;bc[(fa(a|0,31|0)|0)&31](b|0)}function zw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;cc[(fa(a|0,1|0)|0)&1](b|0,c|0,d|0,e|0,f|0)}function Aw(a,b,c){a=a|0;b=b|0;c=c|0;return +dc[(fa(a|0,1|0)|0)&1](b|0,c|0)}function Bw(a,b,c){a=a|0;b=b|0;c=+c;ec[(fa(a|0,1|0)|0)&1](b|0,+c)}function Cw(a,b){a=a|0;b=b|0;return +fc[(fa(a|0,1|0)|0)&1](b|0)}function Dw(a){a=a|0;return gc[(fa(a|0,7|0)|0)&7]()|0}function Ew(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return hc[(fa(a|0,3|0)|0)&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function Fw(a,b,c){a=a|0;b=b|0;c=c|0;ic[(fa(a|0,15|0)|0)&15](b|0,c|0)}function Gw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return jc[(fa(a|0,7|0)|0)&7](b|0,c|0,d|0,e|0,f|0,g|0)|0}function Hw(a,b){a=a|0;b=b|0;return kc[(fa(a|0,127|0)|0)&127](b|0)|0}function Iw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;lc[(fa(a|0,63|0)|0)&63](b|0,c|0,d|0)}function Jw(a){a=a|0;mc[(fa(a|0,3|0)|0)&3]()}function Kw(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return nc[(fa(a|0,3|0)|0)&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function Lw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oc[(fa(a|0,31|0)|0)&31](b|0,c|0,d|0,e|0)|0}function Mw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;pc[(fa(a|0,15|0)|0)&15](b|0,c|0,d|0,e|0)}function Nw(a,b,c){a=a|0;b=b|0;c=c|0;return qc[(fa(a|0,127|0)|0)&127](b|0,c|0)|0}function Ow(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;return rc[(fa(a|0,1|0)|0)&1](b|0,c|0,+d)|0}function Pw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return sc[(fa(a|0,31|0)|0)&31](b|0,c|0,d|0,e|0,f|0)|0}function Qw(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;ga(0);return 0}function Rw(a,b,c){a=a|0;b=b|0;c=c|0;ha(1);return 0}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;return sb(a|0,b|0,c|0)|0}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;return Xb(a|0,b|0,c|0)|0}function Uw(a,b,c){a=a|0;b=b|0;c=c|0;return Eb(a|0,b|0,c|0)|0}function Vw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ia