Lines Matching refs:Ao
5 ao=L;e=ow(f|0,g|0,-1,-1)|0;w=L;h=k[h+88>>2]|0;v=((h|0)<0)<<31>>31;if((w|0)>(v|0)|(w|0)==(v|0)&e>>>0>h>>>0){e=13;break}h=ad(d,f)|0;if(!h){e=15;break}pw(h+j|0,p|0,r|0)|0;e=o+c|0;b=j+r|0;d=h}else{i[d+j>>0]=b;e=c;b=j+1|0}c=e+1|0;if((e|0)<(l|0))j=b;else break b}if((e|0)==13){k[a+20>>2]=18;i[a+25>>0]=1;ah(b,10096,-1,1,0)|0;$c(d);break a}else if((e|0)==15){Wd(a);$c(d);break a}}else{c=0;b=0}while(0);m=u-c|0;pw(d+b|0,t+c|0,m|0)|0;m=b+m|0;i[d+m>>0]=0;$g(a,d,m,1,1)}}while(0);return}function Hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[(k[a>>2]|0)+32>>2]|0;b=_g(k[c>>2]|0)|0;e=L;c=k[d+88>>2]|0;d=((c|0)<0)<<31>>31;if((e|0)>(d|0)|(e|0)==(d|0)&b>>>0>c>>>0){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}else eh(k[a>>2]|0,b);return}function Ij(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;d=Xg(k[c>>2]|0,1)|0;e=k[(k[a>>2]|0)+32>>2]|0;k[f>>2]=0;if((b|0)==2)b=Xg(k[c+4>>2]|0,1)|0;else b=0;if((d|0)!=0?(Ye(e,d,b,f)|0)!=0:0){b=k[f>>2]|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,b,-1,1,-1)|0;$c(k[f>>2]|0)}r=g;return}function Jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,l=0,m=0,n=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))d=qh(a,32)|0;else d=k[b+16>>2]|0;a=Me(k[c>>2]|0)|0;do if((d|0)!=0&(a|0)!=5){b=d+16|0;e=b;e=ow(k[e>>2]|0,k[e+4>>2]|0,1,0)|0;k[b>>2]=e;k[b+4>>2]=L;b=k[c>>2]|0;if((a|0)!=1){h=+Zg(b);p[d>>3]=h+ +p[d>>3];i[d+25>>0]=1;break}e=_g(b)|0;f=L;p[d>>3]=+p[d>>3]+(+(e>>>0)+4294967296.0*+(f|0));g=d+24|0;if(!((i[g>>0]|i[d+25>>0])<<24>>24)){d=d+8|0;a=d;c=k[a>>2]|0;a=k[a+4>>2]|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){b=iw(-1,2147483647,c|0,a|0)|0;l=L;if(((a|0)>0|(a|0)==0&c>>>0>0)&((l|0)<(f|0)|(l|0)==(f|0)&b>>>0<e>>>0))b=12;else b=11}else if((a|0)<0?(l=iw(1,-2147483648,c|0,a|0)|0,n=L,b=ow(e|0,f|0,1,0)|0,m=L,(n|0)>(m|0)|(n|0)==(m|0)&l>>>0>b>>>0):0)b=12;else b=11;if((b|0)==11){a=ow(c|0,a|0,e|0,f|0)|0;b=d;k[b>>2]=a;k[b+4>>2]=L;break}else if((b|0)==12){i[g>>0]=1;break}}}while(0);return}function Kj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;do if((b|0)!=0?(c=b+16|0,d=k[c+4>>2]|0,(d|0)>0|(d|0)==0&(k[c>>2]|0)>>>0>0):0){if(i[b+24>>0]|0){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20248,-1,1,-1)|0;break}if(i[b+25>>0]|0){bh(k[a>>2]|0,+p[b>>3]);break}d=b+8|0;c=k[d>>2]|0;d=k[d+4>>2]|0;b=k[a>>2]|0;a=b+8|0;if(!(j[a>>1]&9312)){k[b>>2]=c;k[b+4>>2]=d;j[a>>1]=4;break}else{ch(b,c,d);break}}while(0);return}function Lj(a){a=a|0;var b=0,c=0.0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;if(!b)c=0.0;else c=+p[b>>3];bh(k[a>>2]|0,c);return}function Mj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;if((b|0)!=0?(d=b+16|0,c=k[d>>2]|0,d=k[d+4>>2]|0,(d|0)>0|(d|0)==0&c>>>0>0):0)bh(k[a>>2]|0,+p[b>>3]/(+(c>>>0)+4294967296.0*+(d|0)));return}function Nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+8>>2]|0;if(!(j[d+8>>1]&8192))d=qh(a,8)|0;else d=k[d+16>>2]|0;if(!b){if(d)e=7}else if((d|0)!=0?(1431655765>>>((m[(k[c>>2]|0)+8>>1]|0)&31)&1|0)!=0:0)e=7;if((e|0)==7){a=d;a=ow(k[a>>2]|0,k[a+4>>2]|0,1,0)|0;k[d>>2]=a;k[d+4>>2]=L}return}function Oj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;if(!b){c=0;d=0}else{d=b;c=k[d>>2]|0;d=k[d+4>>2]|0}b=k[a>>2]|0;a=b+8|0;if(!(j[a>>1]&9312)){k[b>>2]=c;k[b+4>>2]=d;j[a>>1]=4}else ch(b,c,d);return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!(-1431655766>>>(m[(k[c>>2]|0)+8>>1]&31)&1)){d=k[a+8>>2]|0;if(!(j[d+8>>1]&8192))e=qh(a,28)|0;else e=k[d+16>>2]|0;if(e){a=k[(k[a>>2]|0)+32>>2]|0;f=e+24|0;d=(i[f>>0]|0)==0;i[f>>0]=2;k[e+20>>2]=k[a+88>>2];do if(!d){if((b|0)==2){b=c+4|0;d=Xg(k[b>>2]|0,1)|0;b=Yg(k[b>>2]|0,1)|0;if(!b)break}else{b=1;d=20240}Xk(e,d,b)}while(0);d=Xg(k[c>>2]|0,1)|0;b=Yg(k[c>>2]|0,1)|0;if(d)Xk(e,d,b)}}return}function Qj(a){a=a|0;var b=0,c=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;do if(b){c=i[b+25>>0]|0;if(c<<24>>24==2){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0;break}else if(c<<24>>24==1){Wd(a);break}else{$g(a,yg(b)|0,-1,1,1);break}}while(0);return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;h=k[(k[a>>2]|0)+32>>2]|0;d=Xg(k[c>>2]|0,1)|0;f=Xg(k[c+4>>2]|0,1)|0;l=Yg(k[c>>2]|0,1)|0;a:do if((l|0)<=(k[h+120>>2]|0)){do if((b|0)==3){c=Xg(k[c+8>>2]|0,1)|0;k[e>>2]=c;if(!c)break a;if((Sn(c,-1)|0)==1){c=Rn(e)|0;break}else{k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20192,-1,1,-1)|0;break a}}else c=0;while(0);if((f|0)!=0&(d|0)!=0){b=Lh(d,f,k[(k[a+4>>2]|0)+4>>2]|0,c)|0;d=k[a>>2]|0;e=((b|0)<0)<<31>>31;c=d+8|0;if(!(j[c>>1]&9312)){k[d>>2]=b;k[d+4>>2]=e;j[c>>1]=4;break}else{ch(d,b,e);break}}}else{k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20152,-1,1,-1)|0}while(0);r=g;return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+32|0;if((r|0)>=(s|0))ka();m=n;g=n+16|0;l=Xg(k[c>>2]|0,1)|0;h=Xg(k[c+4>>2]|0,1)|0;j=k[(k[a>>2]|0)+32>>2]|0;a:do if((l|0)!=0?(i[l>>0]|0)!=0:0){b=0;c=l;b:while(1){e=b;d=c;while(1){d=d+e|0;f=Hn(d,g)|0;e=k[g>>2]|0;if((e|0)==151)e=f;else if((e|0)==22|(e|0)==125)break b;else{c=d;b=f;break}}if(!(i[c>>0]|0))break a}k[m>>2]=c-l;k[m+4>>2]=l;k[m+8>>2]=h;k[m+12>>2]=c+b;$g(a,zh(j,19464,m)|0,-1,1,75)}while(0);r=n;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+32|0;if((r|0)>=(s|0))ka();o=p;j=p+16|0;n=Xg(k[c>>2]|0,1)|0;l=Xg(k[c+4>>2]|0,1)|0;m=k[(k[a>>2]|0)+32>>2]|0;a:do if((n|0)!=0?(i[n>>0]|0)!=0:0){h=3;b=0;c=n;while(1){e=b;d=c;do{d=d+e|0;e=Hn(d,j)|0;f=k[j>>2]|0}while((f|0)==151);g=e;e=(f|0)==122|(f|0)==107?0:h+1|0;if((e|0)==2)if((f|0)==5|(f|0)==46|(f|0)==137)break;else c=2;else c=e;if(!(i[d>>0]|0))break a;else{h=c;b=g;c=d}}k[o>>2]=c-n;k[o+4>>2]=n;k[o+8>>2]=l;k[o+12>>2]=c+b;$g(a,zh(m,19464,o)|0,-1,1,75)}while(0);r=p;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;p=r;r=r+32|0;if((r|0)>=(s|0))ka();o=p;m=p+16|0;n=k[(k[a>>2]|0)+32>>2]|0;d=Xg(k[c>>2]|0,1)|0;l=Xg(k[c+4>>2]|0,1)|0;j=Xg(k[c+8>>2]|0,1)|0;if(!((d|0)==0|(l|0)==0)){a:do if(!(i[d>>0]|0))b=0;else{e=d;b=0;do{c=Hn(e,m)|0;if((k[m>>2]|0)==105){g=e;while(1){e=g+c|0;f=Hn(e,m)|0;if((k[m>>2]|0)==151){c=f;g=e}else break}if(!e)break a;h=ow(f|0,((f|0)<0)<<31>>31|0,1,0)|0;h=rh(n,h,L)|0;if(!h)break a;pw(h|0,e|0,f|0)|0;i[h+f>>0]=0;qo(h);if(!(id(l,h)|0)){k[o>>2]=(b|0)!=0?b:10360;k[o+4>>2]=e-d;k[o+8>>2]=d;k[o+12>>2]=j;q=zh(n,19440,o)|0;rg(n,b);d=g+(f+c)|0;b=q}rg(n,h);c=f}e=e+c|0}while((i[e>>0]|0)!=0)}while(0);k[o>>2]=(b|0)!=0?b:10360;k[o+4>>2]=d;$g(a,zh(n,19456,o)|0,-1,1,75);rg(n,b)}r=p;return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;if((r|0)>=(s|0))ka();d=e;if(!(ro(a,b,c,d)|0)){so(d);b=d;bh(k[a>>2]|0,(+((k[b>>2]|0)>>>0)+4294967296.0*+(k[b+4>>2]|0))/864.0e5)}r=e;return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+160|0;if((r|0)>=(s|0))ka();d=g+48|0;e=g;f=g+60|0;if(!(ro(a,b,c,e)|0)){to(e);c=k[e+12>>2]|0;b=k[e+16>>2]|0;k[d>>2]=k[e+8>>2];k[d+4>>2]=c;k[d+8>>2]=b;fd(100,f,20136,d)|0;$g(a,f,-1,1,-1)}r=g;return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+160|0;if((r|0)>=(s|0))ka();d=g+48|0;e=g;f=g+60|0;if(!(ro(a,b,c,e)|0)){uo(e);c=k[e+24>>2]|0;b=~~+p[e+32>>3];k[d>>2]=k[e+20>>2];k[d+4>>2]=c;k[d+8>>2]=b;fd(100,f,20120,d)|0;$g(a,f,-1,1,-1)}r=g;return}function Yj(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,j=0;g=r;r=r+176|0;if((r|0)>=(s|0))ka();d=g+48|0;e=g;f=g+72|0;if(!(ro(a,b,c,e)|0)){to(e);uo(e);j=k[e+12>>2]|0;i=k[e+16>>2]|0;h=k[e+20>>2]|0;c=k[e+24>>2]|0;b=~~+p[e+32>>3];k[d>>2]=k[e+8>>2];k[d+4>>2]=j;k[d+8>>2]=i;k[d+12>>2]=h;k[d+16>>2]=c;k[d+20>>2]=b;fd(100,f,20088,d)|0;$g(a,f,-1,1,-1)}r=g;return}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,q=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0.0;C=r;r=r+208|0;if((r|0)>=(s|0))ka();y=C+96|0;z=C+48|0;B=C+104|0;A=C;a:do if(((b|0)!=0?(x=Xg(k[c>>2]|0,1)|0,(x|0)!=0):0)?(ro(a,b+-1|0,c+4|0,z)|0)==0:0){g=k[a>>2]|0;f=k[g+32>>2]|0;c=1;b=0;e=0;b:while(1){d=i[x+e>>0]|0;c:do if(d<<24>>24==37){d=e+1|0;switch(i[x+d>>0]|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=ow(c|0,b|0,1,0)|0;b=L;break c}case 102:{c=ow(c|0,b|0,8,0)|0;b=L;break c}case 106:{c=ow(c|0,b|0,3,0)|0;b=L;break c}case 89:{c=ow(c|0,b|0,8,0)|0;b=L;break c}case 74:case 115:{c=ow(c|0,b|0,50,0)|0;b=L;break c}case 37:case 119:break c;default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=ow(c|0,b|0,1,0)|0;b=L;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){w=k[f+88>>2]|0;v=((w|0)<0)<<31>>31;if(b>>>0>v>>>0|(b|0)==(v|0)&c>>>0>w>>>0){k[a+20>>2]=18;i[a+25>>0]=1;ah(g,10096,-1,1,0)|0;break}b=jw(0,c|0,32)|0;b=rh(f,b,L)|0;if(!b){Wd(a);break}else w=b}else w=B;so(z);to(z);uo(z);h=z+16|0;j=z+32|0;l=z+20|0;m=A+42|0;n=A+12|0;o=A+16|0;q=z+12|0;u=z+24|0;v=z+8|0;f=0;b=0;d:while(1){g=i[x+f>>0]|0;e:do if(g<<24>>24==37){f=f+1|0;c=x+f|0;do switch(i[c>>0]|0){case 106:case 87:{g=A+0|0;e=z+0|0;d=g+48|0;do{k[g>>2]=k[e>>2];g=g+4|0;e=e+4|0}while((g|0)<(d|0));i[m>>0]=0;k[n>>2]=1;k[o>>2]=1;so(A);g=z;d=A;D=k[d>>2]|0;d=k[d+4>>2]|0;g=ow(k[g>>2]|0,k[g+4>>2]|0,432e5,0)|0;e=L;d=vw(iw(g|0,e|0,D|0,d|0)|0,L|0,864e5,0)|0;if((i[c>>0]|0)==87){c=vw(g|0,e|0,864e5,0)|0;c=ww(c|0,L|0,7,0)|0;k[y>>2]=(d+7-c|0)/7|0;fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}else{k[y>>2]=d+1;fd(4,w+b|0,19904,y)|0;b=b+3|0;break e}}case 102:{E=+p[j>>3];e=w+b|0;p[t>>3]=E>59.999?59.999:E;k[y>>2]=k[t>>2];k[y+4>>2]=k[t+4>>2];fd(7,e,19896,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{k[y>>2]=k[h>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 83:{k[y>>2]=~~+p[j>>3];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 119:{c=z;c=ow(k[c>>2]|0,k[c+4>>2]|0,1296e5,0)|0;c=vw(c|0,L|0,864e5,0)|0;c=ww(c|0,L|0,7,0)|0;i[w+b>>0]=c+48;b=b+1|0;break e}case 89:{e=w+b|0;k[y>>2]=k[v>>2];fd(5,e,19928,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 72:{k[y>>2]=k[l>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 109:{k[y>>2]=k[q>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 77:{k[y>>2]=k[u>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 74:{e=w+b|0;c=z;p[t>>3]=(+((k[c>>2]|0)>>>0)+4294967296.0*+(k[c+4>>2]|0))/864.0e5;k[y>>2]=k[t>>2];k[y+4>>2]=k[t+4>>2];fd(20,e,19912,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=w+b|0;d=z;d=vw(k[d>>2]|0,k[d+4>>2]|0,1e3,0)|0;d=ow(d|0,L|0,-413362496,-50)|0;c=y;k[c>>2]=d;k[c+4>>2]=L;fd(30,e,19920,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{i[w+b>>0]=37;b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{i[w+b>>0]=g;b=b+1|0}while(0);f=f+1|0}i[w+b>>0]=0;$g(a,w,-1,1,(w|0)==(B|0)?-1:75)}while(0);r=C;return}function _j(a,b,c){a=a|0;b=b|0;c=c|0;Xj(a,0,0);return}function $j(a,b,c){a=a|0;b=b|0;c=c|0;Yj(a,0,0);return}function ak(a,b,c){a=a|0;b=b|0;c=c|0;Wj(a,0,0);return}function bk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=_g(k[c>>2]|0)|0;g=f+1&-2;d=_g(k[c+4>>2]|0)|0;e=(g<<3)+56|0;c=k[(k[a>>2]|0)+32>>2]|0;b=rh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Wd(a);else{kw(b|0,0,e|0)|0;k[b+52>>2]=c;k[b>>2]=0;k[b+8>>2]=f;k[b+12>>2]=d;c=b+56|0;k[b+24>>2]=c;k[b+20>>2]=c+(g<<2);$g(a,b,56,0,20)}return}function ck(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=ud(k[c>>2]|0)|0;e=_g(k[c+4>>2]|0)|0;if(!(k[f>>2]|0)){a=f+8|0;if((k[a>>2]|0)>0){b=k[f+20>>2]|0;c=0;do{k[b+(c<<2)>>2]=1;c=c+1|0}while((c|0)<(k[a>>2]|0))}}else{if((e|0)>0){a=k[f+20>>2]|0;c=0;do{b=a+(c<<2)|0;k[b>>2]=(k[b>>2]|0)+1;c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(k[a>>2]|0)){b=k[f+24>>2]|0;d=k[f+20>>2]|0;c=e;do{e=b+(c<<2)|0;k[e>>2]=(k[e>>2]|0)+1;k[d+(c<<2)>>2]=1;c=c+1|0}while((c|0)<(k[a>>2]|0))}}k[f>>2]=(k[f>>2]|0)+1;return}function dk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();j=l;f=ud(k[c>>2]|0)|0;g=f+12|0;c=((k[g>>2]|0)*25|0)+25|0;h=vg(c,((c|0)<0)<<31>>31)|0;if(!h)Wd(a);else{kw(h|0,0,c|0)|0;c=j;k[c>>2]=k[f>>2];k[c+4>>2]=0;fd(24,h,28696,j)|0;c=h;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;if((k[g>>2]|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(k[(k[d>>2]|0)+(e<<2)>>2]|0)+1|0;c=k[f>>2]|0;n=ow(m|0,0,-1,-1)|0;c=ow(n|0,L|0,c|0,0)|0;m=yw(c|0,L|0,m|0,0)|0;c=j;k[c>>2]=m;k[c+4>>2]=L;fd(24,b,28704,j)|0;if(!b)c=0;else{c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(k[g>>2]|0))break;else b=b+c|0}}$g(a,h,-1,1,1)}r=l;return}function ek(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;l=r;r=r+144|0;if((r|0)>=(s|0))ka();h=l;j=l+8|0;f=Xg(k[c>>2]|0,1)|0;g=k[(k[a>>2]|0)+32>>2]|0;f=(f|0)==0?10360:f;e=k[g+20>>2]|0;a:do if((e|0)>0){b=k[g+16>>2]|0;c=0;do{d=b+(c<<4)|0;if((k[b+(c<<4)+4>>2]|0)!=0?(id(k[d>>2]|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){k[h>>2]=f;fd(128,j,29256,h)|0;m=16;break}if(!(i[g+63>>0]|0)){fd(128,j,29288,h)|0;m=16;break}c=d+4|0;b=k[c>>2]|0;if((i[b+8>>0]|0)==0?(k[b+16>>2]|0)==0:0){Rl(b);k[c>>2]=0;k[d+12>>2]=0;Jg(g);break}k[h>>2]=f;fd(128,j,29336,h)|0;m=16}else{k[h>>2]=f;fd(128,j,29232,h)|0;m=16}while(0);if((m|0)==16){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,j,-1,1,-1)|0}r=l;return}function fk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+32|0;if((r|0)>=(s|0))ka();v=z;g=z+20|0;b=z+16|0;f=z+12|0;y=z+8|0;h=z+4|0;x=k[(k[a>>2]|0)+32>>2]|0;k[g>>2]=0;k[b>>2]=0;k[y>>2]=0;u=Xg(k[c>>2]|0,1)|0;o=Xg(k[c+4>>2]|0,1)|0;u=(u|0)==0?10360:u;o=(o|0)==0?10360:o;t=x+20|0;d=k[t>>2]|0;e=k[x+116>>2]|0;a:do if((d|0)<(e+2|0)){if(!(i[x+63>>0]|0)){d=zh(x,29456,v)|0;k[y>>2]=d;b=0;w=42;break}p=x+16|0;e=k[p>>2]|0;b:do if((d|0)>0){c=0;while(1){if(!(id(k[e+(c<<4)>>2]|0,o)|0))break;c=c+1|0;if((c|0)>=(d|0))break b}k[v>>2]=o;d=zh(x,29504,v)|0;k[y>>2]=d;b=0;w=42;break a}while(0);if((e|0)!=(x+456|0)){e=wo(x,e,(d<<4)+16|0,0)|0;if(!e)break;else n=e}else{e=rh(x,48,0)|0;if(!e)break;n=k[p>>2]|0;k[e+0>>2]=k[n+0>>2];k[e+4>>2]=k[n+4>>2];k[e+8>>2]=k[n+8>>2];k[e+12>>2]=k[n+12>>2];k[e+16>>2]=k[n+16>>2];k[e+20>>2]=k[n+20>>2];k[e+24>>2]=k[n+24>>2];k[e+28>>2]=k[n+28>>2];n=e}k[p>>2]=n;j=k[t>>2]|0;l=n+(j<<4)|0;k[l+0>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[f>>2]=k[x+48>>2];e=$n(k[(k[x>>2]|0)+16>>2]|0,u,f,h,g,b)|0;if((e|0)==7)i[x+65>>0]=1;else if(!e){e=k[f>>2]|256;k[f>>2]=e;g=k[g>>2]|0;f=n+(j<<4)+4|0;e=Em(k[h>>2]|0,g,x,f,0,e)|0;$c(g);k[t>>2]=(k[t>>2]|0)+1;if(!e){e=aoAo(k[g>>2]|0,d,e,b,f,h)|0;if((c|0)<=0)break;f=f-c|0;d=ow(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;if((f|0)<=0){c=0;break a}else{b=b+c|0;e=L}}if((c|0)<0?(k[h>>2]|0)!=28:0){c=778;break}k[a+20>>2]=0;c=13}else c=0;while(0);return c|0}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+40>>2]|0;if((d|0)>0){e=((d|0)<0)<<31>>31;c=ow(b|0,c|0,-1,-1)|0;c=ow(c|0,L|0,d|0,e|0)|0;b=L;d=ww(c|0,b|0,d|0,e|0)|0;d=iw(c|0,b|0,d|0,L|0)|0}else d=b;c=k[a+12>>2]|0;while(1){b=wc[k[47552+76>>2]&127](c,d)|0;if((b|0)>=0){d=6;break}b=Mb()|0;if((k[b>>2]|0)!=4){d=8;break}}if((d|0)==6)if(!b)b=0;else{b=Mb()|0;d=8}if((d|0)==8){k[a+20>>2]=k[b>>2];b=io(1546,47928,k[a+32>>2]|0,29004)|0}return b|0}function kk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f;if(!(Lb(k[a+12>>2]|0)|0)){e=a+18|0;if(!(j[e>>1]&8))b=0;else{b=wc[k[47552+208>>2]&127](k[a+32>>2]|0,d)|0;c=k[d>>2]|0;if((b|0)==0&(c|0)>-1){Lb(c|0)|0;go(a,k[d>>2]|0,28974);b=0}else b=(b|0)==14?0:b;j[e>>1]=(m[e>>1]|0)&65527}}else{b=Mb()|0;k[a+20>>2]=k[b>>2];b=io(1034,48360,k[a+32>>2]|0,28960)|0}r=f;return b|0}function lk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+80|0;if((r|0)>=(s|0))ka();c=d;if(!(wc[k[47552+64>>2]&127](k[a+12>>2]|0,c)|0)){a=k[c+36>>2]|0;e=(a|0)==1;c=b;k[c>>2]=e?0:a;k[c+4>>2]=e?0:((a|0)<0)<<31>>31;c=0}else{c=Mb()|0;k[a+20>>2]=k[c>>2];c=1802}r=d;return c|0}function mk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+24>>2]|0;e=a+16|0;a:do if(!(i[e>>0]|0)){c=wc[k[47552+220>>2]&127](d,511)|0;if((c|0)>=0){i[e>>0]=b;break}d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 1:{c=3;break}case 13:case 37:case 4:case 16:case 110:case 11:case 17:{c=5;break a}default:c=3850}k[a+20>>2]=d}else{i[e>>0]=b;bb(d|0,0)|0;c=0}while(0);return c|0}function nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+24>>2]|0;e=a+16|0;a:do if((l[e>>0]|0|0)==(b|0))c=0;else{if((b|0)==1){i[e>>0]=1;c=0;break}do if((qc[k[47552+232>>2]&127](d)|0)<0){c=Mb()|0;b=k[c>>2]|0;if((b|0)==20){if((qc[k[47552+196>>2]&127](d)|0)>=0)break;b=k[c>>2]|0}d=(b|0)!=2;c=d?2058:0;if(!d)break a;k[a+20>>2]=b;break a}while(0);i[e>>0]=0;c=0}while(0);return c|0}function ok(a,b){a=a|0;b=b|0;if((l[a+16>>0]|0)>1)a=1;else a=(wc[k[47552+28>>2]&127](k[a+24>>2]|0,0)|0)==0&1;k[b>>2]=a;return 0}function pk(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,j=0;j=r;r=r+80|0;if((r|0)>=(s|0))ka();e=j;a:do switch(b|0){case 1:{k[c>>2]=l[a+16>>0];d=0;break}case 10:{Bo(a,4,c);d=0;break}case 13:{Bo(a,16,c);d=0;break}case 20:{d=Co(a)|0;k[c>>2]=d;d=0;break}case 24:{d=0;break}case 16:{d=a+4|0;b=Yc(k[(k[d>>2]|0)+8>>2]|0)|0;if(!b)d=0;else{eo(k[(k[d>>2]|0)+8>>2]|0,b)|0;k[c>>2]=b;d=0}break}case 5:{b=c;c=k[b>>2]|0;b=k[b+4>>2]|0;d=a+40|0;if((k[d>>2]|0)>0){i=a+12|0;if(!(wc[k[47552+64>>2]&127](k[i>>2]|0,e)|0)){d=k[d>>2]|0;g=((d|0)<0)<<31>>31;c=ow(c|0,b|0,-1,-1)|0;c=ow(c|0,L|0,d|0,g|0)|0;h=L;g=ww(c|0,h|0,d|0,g|0)|0;g=iw(c|0,h|0,g|0,L|0)|0;h=L;c=k[e+36>>2]|0;d=((c|0)<0)<<31>>31;do if((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>c>>>0){f=k[e+40>>2]|0;b=c+-1+(f<<1)|0;b=b+~((b|0)%(f|0)|0)|0;c=((b|0)<0)<<31>>31;d=a+20|0;if((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0){e=((f|0)<0)<<31>>31;do{a=(Ao(k[i>>2]|0,b,c,10360,1,d)|0)==1;b=ow(b|0,c|0,f|0,e|0)|0;c=L;if(!a){d=778;break a}}while((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0);b=ww(g|0,h|0,f|0,e|0)|0;if((b|0)==0&(L|0)==0)break}b=ow(g|0,h|0,-1,-1)|0;if((Ao(k[i>>2]|0,b,L,10360,1,d)|0)!=1){d=778;break a}}while(0);d=0}else d=1802}else d=0;break}case 6:{k[a+40>>2]=k[c>>2];d=0;break}case 12:{k[e>>2]=k[(k[a+4>>2]|0)+16>>2];d=dd(10344,e)|0;k[c>>2]=d;d=0;break}case 4:{k[c>>2]=k[a+20>>2];d=0;break}default:d=12}while(0);r=j;return d|0}function qk(a){a=a|0;return 4096}function rk(a){a=a|0;return (j[a+18>>1]&16)<<8|0}function sk(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,l=0;i=k[a+36>>2]|0;f=k[i>>2]|0;l=(1<<c+b)-(1<<b)|0;a:do if(!(d&1)){g=k[f+32>>2]|0;f=(g|0)==0;if(d&4){if(f)d=0;else{d=0;f=g;do{if(l&(m[f+12>>1]|0)){e=5;break a}d=j[f+10>>1]|d;f=k[f+4>>2]|0}while((f|0)!=0)}if((l&(d&65535)|0)==0?(h=Do(a,0,b+120|0,c)|0,(h|0)!=0):0){e=h;break}e=i+10|0;j[e>>1]=m[e>>1]|0|l;e=0;break}if(!f){e=l&65535;d=g;do{if((m[d+12>>1]|0)&e){e=5;break a}if((m[d+10>>1]|0)&e){e=5;break a}d=k[d+4>>2]|0}while((d|0)!=0)}e=Do(a,1,b+120|0,c)|0;if(!e){e=i+12|0;j[e>>1]=m[e>>1]|0|l;e=0}}else{f=k[f+32>>2]|0;if(!f)d=0;else{d=0;do{if((f|0)!=(i|0))d=j[f+10>>1]|d;f=k[f+4>>2]|0}while((f|0)!=0)}if((d&65535&l|0)==0?(e=Do(a,2,b+120|0,c)|0,(e|0)!=0):0)break;d=(l|-65536)^65535;e=i+12|0;j[e>>1]=(m[e>>1]|0)&d;e=i+10|0;j[e>>1]=(m[e>>1]|0)&d;e=0}while(0);return e|0}function tk(a){a=a|0;return}function uk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=a+36|0;f=k[e>>2]|0;if(f){g=k[f>>2]|0;c=g+32|0;while(1){d=k[c>>2]|0;if((d|0)==(f|0))break;else c=d+4|0}k[c>>2]=k[f+4>>2];$c(f);k[e>>2]=0;d=g+28|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;if(!c){if((b|0)!=0?(k[g+12>>2]|0)>-1:0)qc[k[47552+196>>2]&127](k[g+8>>2]|0)|0;Eo(a)}}return 0}function vk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[e>>2]=0;return 0}function wk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function xk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();e=d;k[e>>2]=c;b=vb(a|0,b|0,e|0)|0;r=d;return b|0}function yk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+528|0;if((r|0)>=(s|0))ka();d=g;e=g+8|0;k[d>>2]=a;fd(512,e,10344,d)|0;a=lw(e|0)|0;a:do if((a|0)>1)while(1){c=a+-1|0;if((i[e+a>>0]|0)==47)break a;if((c|0)>1)a=c;else{a=c;break}}while(0);if((a|0)>0){i[e+a>>0]=0;a=fo(e,0,0)|0;k[b>>2]=a;if((a|0)>-1)a=0;else f=7}else{k[b>>2]=-1;f=7}if((f|0)==7){k[d>>2]=28919;k[d+4>>2]=10788;gd(14,14848,d);a=io(14,47896,e,28919)|0}r=g;return a|0}function zk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Pb()|0))a=Vb(a|0,b|0,c|0)|0;else a=0;return a|0}function Ak(){return Bb(30)|0}function Bk(a){a=a|0;zo(a);return 0}function Ck(a,b){a=a|0;b=b|0;return 0}function Dk(a,b){a=a|0;b=b|0;return 0}function Ek(a,b){a=a|0;b=b|0;k[b>>2]=0;return 0}function Fk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;ho(a);Hk(a,0)|0;e=k[a+8>>2]|0;if(e){if(k[e+24>>2]|0){b=a+28|0;d=k[b>>2]|0;c=e+28|0;k[d+8>>2]=k[c>>2];k[c>>2]=d;k[a+12>>2]=-1;k[b>>2]=0}c=e+16|0;b=(k[c>>2]|0)+-1|0;k[c>>2]=b;if(!b){Fo(a);f=e+36|0;b=k[f>>2]|0;c=e+32|0;d=k[c>>2]|0;if(!b)k[12178]=d;else k[b+32>>2]=d;b=k[c>>2]|0;if(b)k[b+36>>2]=k[f>>2];$c(e)}}zo(a);return 0}function Gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();h=o;m=a+16|0;c=i[m>>0]|0;a:do if((c&255|0)<(b|0)){g=k[a+8>>2]|0;n=g+12|0;d=i[n>>0]|0;if(c<<24>>24!=d<<24>>24?(d&255)>2|(b|0)>1:0){c=5;break}e=(b|0)==1;do if(e)if((d+-1&255)<2){i[m>>0]=1;c=g+8|0;k[c>>2]=(k[c>>2]|0)+1;c=g+24|0;k[c>>2]=(k[c>>2]|0)+1;c=0;break a}else{d=h+8|0;k[d>>2]=1;j[h+2>>1]=0;l=10;break}else{d=h+8|0;k[d>>2]=1;j[h+2>>1]=0;if((b|0)==4)if((c&255)<3)l=10;else{f=d;l=14}else{e=d;l=24}}while(0);if((l|0)==10){j[h>>1]=e&1^1;k[h+4>>2]=k[2514];if(!(Go(a,h)|0)){f=d;l=14}else{d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break a}case 1:{c=3;break}default:c=3850}k[a+20>>2]=d;break}}b:do if((l|0)==14)if(e){e=h+4|0;k[e>>2]=(k[2514]|0)+2;k[f>>2]=510;c:do if(!(Go(a,h)|0)){c=0;d=0}else{d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 1:{c=3;d=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break c}default:{c=3850;break c}}}while(0);k[e>>2]=k[2514];k[f>>2]=1;j[h>>1]=2;do if((Go(a,h)|0)!=0&(c|0)==0){d=Mb()|0;c=2058;d=k[d>>2]|0}else{if((c|0)==5){c=5;break a}else if(c)break;i[m>>0]=1;h=g+24|0;k[h>>2]=(k[h>>2]|0)+1;k[g+8>>2]=1;break b}while(0);k[a+20>>2]=d;break a}else{e=f;l=24}while(0);do if((l|0)==24){f=(b|0)==4;if(f)if((k[g+8>>2]|0)>1)c=5;else{j[h>>1]=1;d=k[2514]|0;l=29}else{j[h>>1]=1;d=k[2514]|0;if((b|0)==2){k[h+4>>2]=d+1;d=1;l=30}else l=29}if((l|0)==29){k[h+4>>2]=d+2;d=510;l=30}if((l|0)==30){k[e>>2]=d;if(!(Go(a,h)|0))break;d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break}case 1:{c=3;l=33;break}default:{c=3850;l=33}}if((l|0)==33)k[a+20>>2]=d;if(!f)break a}i[m>>0]=3;i[n>>0]=3;break a}while(0);c=b&255;i[m>>0]=c;i[n>>0]=c;c=0}else c=0;while(0);r=o;return c|0}function Hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();f=l;g=a+16|0;c=i[g>>0]|0;a:do if((c&255|0)>(b|0)){h=k[a+8>>2]|0;do if((c&255)>1){if((b|0)==1){j[f>>1]=0;e=f+2|0;j[e>>1]=0;c=f+4|0;k[c>>2]=(k[2514]|0)+2;d=f+8|0;k[d>>2]=510;if(Go(a,f)|0){c=Mb()|0;k[a+20>>2]=k[c>>2];c=2314;break a}}else{d=f+8|0;e=f+2|0;c=f+4|0}j[f>>1]=2;j[e>>1]=0;k[c>>2]=k[2514];k[d>>2]=2;if(!(Go(a,f)|0)){i[h+12>>0]=1;break}else{c=Mb()|0;k[a+20>>2]=k[c>>2];c=2058;break a}}while(0);if(!b){d=h+8|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;do if(!c){j[f>>1]=2;j[f+2>>1]=0;k[f+8>>2]=0;k[f+4>>2]=0;if(!(Go(a,f)|0)){i[h+12>>0]=0;c=0;break}else{c=Mb()|0;k[a+20>>2]=k[c>>2];i[h+12>>0]=0;i[g>>0]=0;c=2058;break}}else c=0;while(0);e=h+24|0;d=(k[e>>2]|0)+-1|0;k[e>>2]=d;if(!d)Fo(a);if(c)break}i[g>>0]=b;c=0}else c=0;while(0);r=l;return c|0}function Ik(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+32|0;if((r|0)>=(s|0))ka();e=g;f=g+8|0;d=k[a+8>>2]|0;h=(l[d+12>>0]|0)>1;c=h&1;do if(!h)if(!(i[d+13>>0]|0)){j[f+2>>1]=0;k[f+4>>2]=(k[2514]|0)+1;k[f+8>>2]=1;j[f>>1]=1;h=k[11910]|0;d=k[a+12>>2]|0;k[e>>2]=f;if(!(fc[h&63](d,12,e)|0)){d=0;c=(j[f>>1]|0)==2?c:1;break}else{d=Mb()|0;k[a+20>>2]=k[d>>2];d=3594;break}}else{d=0;c=0}else{d=0;c=1}while(0);k[b>>2]=c;r=g;return d|0}function Jk(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,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+160|0;if((r|0)>=(s|0))ka();y=A;t=A+76|0;g=mc[k[47552+292>>2]&7]()|0;if((g|0)<32768)z=1;else z=(g|0)/32768|0;w=a+36|0;g=k[w>>2]|0;a:do if(!g){g=Yc(16)|0;if(!g)f=7;else{k[g+0>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;q=a+8|0;o=k[q>>2]|0;f=k[o+20>>2]|0;b:do if(!f){p=a+32|0;h=k[p>>2]|0;if((wc[k[47552+64>>2]&127](k[a+12>>2]|0,t)|0)!=0?(i[o+13>>0]|0)==0:0)f=1802;else x=8;c:do if((x|0)==8){f=lw(h|0)|0;l=f+42|0;u=Yc(l)|0;if(u){kw(u|0,0,l|0)|0;n=u+36|0;k[u+8>>2]=n;k[y>>2]=h;fd(f+6|0,n,48720,y)|0;f=u+12|0;k[f>>2]=-1;q=k[q>>2]|0;k[q+20>>2]=u;k[u>>2]=q;k[u+4>>2]=8;if(i[o+13>>0]|0){f=u;break b}if(!(kg(k[p>>2]|0,48728,0)|0))l=66;else{i[u+22>>0]=1;l=0}h=fo(n,l,k[t+12>>2]&511)|0;k[f>>2]=h;if((h|0)<0){k[y>>2]=29706;k[y+4>>2]=10788;gd(14,14848,y);f=io(14,47896,n,29706)|0;break}fc[k[47552+244>>2]&63](h,k[t+20>>2]|0,k[t+24>>2]|0)|0;do if(!(Do(a,1,128,1)|0)){f=k[f>>2]|0;do{h=wc[k[47552+76>>2]&127](f,0)|0;if((h|0)>=0){v=h;x=18;break}t=Mb()|0}while((k[t>>2]|0)==4);if((x|0)==18?(v|0)==0:0)break;f=io(4618,47928,n,29722)|0;if(f)break c}while(0);f=Do(a,0,128,1)|0;if(!f){f=u;break b}}else f=7}while(0);Eo(a);$c(g);if(f)break a;g=k[w>>2]|0;x=24;break a}while(0);k[g>>2]=f;x=f+28|0;k[x>>2]=(k[x>>2]|0)+1;k[a+36>>2]=g;x=f+32|0;k[g+4>>2]=k[x>>2];k[x>>2]=g;x=24}}else x=24;while(0);if((x|0)==24){u=k[g>>2]|0;w=z+b|0;w=w-((w|0)%(z|0)|0)|0;t=u+20|0;d:do if((m[t>>1]|0)<(w|0)){f=ha(w,c)|0;k[u+16>>2]=c;v=u+12|0;g=k[v>>2]|0;e:do if((g|0)>-1){if(wc[k[47552+64>>2]&127](g,y)|0){g=4874;break d}g=k[y+36>>2]|0;if((g|0)<(f|0)){if(!d){g=0;break d}g=(g|0)/4096|0;f=(f|0)/4096|0;if((g|0)<(f|0)){while(1){q=g<<12|4095;g=g+1|0;if((Ao
8 function Yn(a,b,c,d,e,f,g,h,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;var n=0,o=0,p=0,q=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,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=r;r=r+160|0;if((r|0)>=(s|0))ka();O=aa+16|0;J=aa+152|0;M=aa+48|0;I=aa+40|0;N=aa+36|0;K=aa+32|0;R=aa+8|0;Q=aa;W=aa+28|0;_=aa+24|0;k[_>>2]=0;do if(!(i[a+46>>0]|0)){$=a+43|0;if((i[$>>0]|0)==0?(n=k[a+4>>2]|0,n=uc[k[(k[n>>2]|0)+56>>2]&31](n,1,1,10)|0,(n|0)!=0):0)break;Z=a+45|0;i[Z>>0]=1;a:do if(!b){t=0;X=11}else{p=a+4|0;n=(c|0)!=0;while(1){if(i[$>>0]|0)break;t=k[p>>2]|0;t=uc[k[(k[t>>2]|0)+56>>2]&31](t,0,1,10)|0;if(!(n&(t|0)==5)){X=9;break}if(!(qc[c&127](d)|0)){t=0;c=0;X=11;break a}}if((X|0)==9)if((t|0)==5){t=0;c=0;X=11;break}else if(t){Y=b;break}i[a+44>>0]=1;t=b;X=11}while(0);if((X|0)==11){Y=t;t=sq(a,_)|0}do if(!t){V=a+68|0;t=j[a+66>>1]|0;if((k[V>>2]|0)!=0?(U=t&65535,(U<<16&65536|U&65024|0)!=(f|0)):0){k[O>>2]=51863;k[O+4>>2]=10788;gd(11,13600,O);o=11;break}S=t&65535;S=S<<16&65536|S&65024;U=a+32|0;T=(k[k[U>>2]>>2]|0)+96|0;w=k[V>>2]|0;b:do if((k[T>>2]|0)>>>0<w>>>0){G=(w+33|0)>>>12;H=G+1|0;f=w<<1;v=f+28+(G*20|0)|0;n=Yc(v)|0;c:do if(!n){t=7;n=0}else{kw(n|0,0,v|0)|0;v=n+4|0;k[v>>2]=H;f=Yc(w>>>0>4096?8192:f)|0;do if(f){F=n+8|0;u=0;while(1){t=Uo(a,u,I,K,N)|0;if(t){X=21;break}E=(k[K>>2]|0)+4|0;k[K>>2]=E;if((u|0)==(G|0)){D=k[N>>2]|0;t=D;D=w-D|0}else{t=k[N>>2]|0;D=(k[I>>2]|0)-E>>2}p=F+((k[v>>2]|0)*20|0)|0;C=p+(t<<1)|0;B=t+1|0;k[N>>2]=B;if((D|0)>0){y=0;do{j[p+(y+t<<1)>>1]=y;y=y+1|0}while((y|0)!=(D|0));k[O>>2]=0;k[J>>2]=0;z=M+0|0;y=z+104|0;do{k[z>>2]=0;z=z+4|0}while((z|0)<(y|0));A=0;do{k[O>>2]=1;z=p+(A+t<<1)|0;k[J>>2]=z;if(!(A&1)){x=1;y=0}else{y=0;do{tq(E,k[M+(y<<3)+4>>2]|0,k[M+(y<<3)>>2]|0,J,O,f);y=y+1|0}while((1<<y&A|0)!=0);x=k[O>>2]|0;z=k[J>>2]|0}k[M+(y<<3)+4>>2]=z;k[M+(y<<3)>>2]=x;A=A+1|0}while((A|0)!=(D|0));y=y+1|0;if((y|0)<13)X=34}else{k[O>>2]=0;k[J>>2]=0;z=M+0|0;y=z+104|0;do{k[z>>2]=0;z=z+4|0}while((z|0)<(y|0));y=1;X=34}if((X|0)==34){while(1){X=0;if(1<<y&D)tq(E,k[M+(y<<3)+4>>2]|0,k[M+(y<<3)>>2]|0,J,O,f);y=y+1|0;if((y|0)==13)break;else X=34}x=k[O>>2]|0}k[F+(u*20|0)+16>>2]=B;k[F+(u*20|0)+12>>2]=x;k[F+(u*20|0)+4>>2]=C;k[F+(u*20|0)+8>>2]=E;u=u+1|0;if((u|0)>=(H|0)){X=39;break}}if((X|0)==21){$c(f);break}else if((X|0)==39){$c(f);t=0;break c}}else{$c(0);t=7}while(0);$c(n)}while(0);if(!t){O=a+72|0;N=k[O>>2]|0;M=a+4|0;x=1;w=k[V>>2]|0;t=0;while(1){f=T+(x<<2)+4|0;p=k[f>>2]|0;d:do if(w>>>0>p>>>0){v=x+3|0;u=(c|0)!=0;while(1){if(i[$>>0]|0)break;t=k[M>>2]|0;t=uc[k[(k[t>>2]|0)+56>>2]&31](t,v,1,10)|0;if(!(u&(t|0)==5)){X=49;break}if(!(qc[c&127](d)|0)){c=0;t=5;break d}}if((X|0)==49){X=0;if((t|0)==5){c=0;t=5;break}else if(t){o=t;X=100;break b}}k[f>>2]=(x|0)==1?w:-1;if(!(i[$>>0]|0)){p=k[M>>2]|0;uc[k[(k[p>>2]|0)+56>>2]&31](p,v,1,9)|0;p=w;t=0}else{p=w;t=0}}else p=w;while(0);x=x+1|0;if((x|0)>=5){H=p;break}else w=p}e:do if((k[T>>2]|0)>>>0<H>>>0){t=(c|0)!=0;while(1){if(i[$>>0]|0)break;p=k[M>>2]|0;p=uc[k[(k[p>>2]|0)+56>>2]&31](p,3,1,10)|0;if(!(t&(p|0)==5)){q=p;X=58;break}if(!(qc[c&127](d)|0)){q=5;break e}}if((X|0)==58?(q|0)!=0:0)break;E=k[T>>2]|0;F=(e|0)!=0;if(F?(P=k[a+8>>2]|0,P=wc[k[(k[P>>2]|0)+20>>2]&127](P,e)|0,(P|0)!=0):0)q=P;else X=61;f:do if((X|0)==61){P=xw(N|0,0,S|0,0)|0;q=Q;k[q>>2]=P;k[q+4>>2]=L;q=k[M>>2]|0;q=wc[k[(k[q>>2]|0)+24>>2]&127](q,R)|0;if(!q){P=R;J=k[P+4>>2]|0;R=Q;K=k[R+4>>2]|0;if((J|0)<(K|0)|((J|0)==(K|0)?(k[P>>2]|0)>>>0<(k[R>>2]|0)>>>0:0)){R=k[M>>2]|0;fc[k[(k[R>>2]|0)+40>>2]&63](R,5,Q)|0}B=n+4|0;C=S|24;D=a+8|0;t=k[B>>2]|0;g:do if((t|0)>0){q=0;while(1){A=k[n>>2]|0;z=-1;h:while(1){i:while(1){t=t+-1|0;x=n+(t*20|0)+8|0;f=k[x>>2]|0;p=k[n+(t*20|0)+20>>2]|0;j:do if((f|0)<(p|0)){w=k[n+(t*20|0)+12>>2]|0;y=k[n+(t*20|0)+16>>2]|0;while(1){u=m[w+(f<<1)>>1]|0;v=k[y+(u<<2)>>2]|0;if(v>>>0>A>>>0)break;f=f+1|0;k[x>>2]=f;if((f|0)>=(p|0))break j}if(v>>>0<z>>>0)break i}while(0);if((t|0)<=0){f=q;t=z;break h}}q=(k[n+(t*20|0)+24>>2]|0)+u|0;if((t|0)>0)z=v;else{f=q;t=v;break}}k[n>>2]=t;if((t|0)==-1)break g;if(!(f>>>0<=E>>>0|f>>>0>H>>>0|t>>>0>N>>>0)){q=xw(f+-1|0,0,C|0,0)|0;q=ow(q|0,L|0,56,0)|0;R=k[D>>2]|0;q=yc[k[(k[R>>2]|0)+8>>2]&31](R,g,S,q,L)|0;if(q)break f;q=xw(t+-1|0,0,S|0,0)|0;R=k[M>>2]|0;q=yc[k[(k[R>>2]|0)+12>>2]&31](R,g,S,q,L)|0;if(q)break f}t=k[B>>2]|0;if((t|0)<=0){X=66;break}else q=f}}else X=66;while(0);if((X|0)==66)k[n>>2]=-1;if((H|0)==(k[(k[k[U>>2]>>2]|0)+16>>2]|0)){q=xw(k[O>>2]|0,0,S|0,0)|0;X=k[M>>2]|0;q=fc[k[(k[X>>2]|0)+16>>2]&63](X,q,L)|0;if((q|0)==0&F){q=k[M>>2]|0;q=wc[k[(k[q>>2]|0)+20>>2]&127](q,e)|0}if(q)break}k[T>>2]=H;q=0}}while(0);if(!(i[$>>0]|0)){X=k[M>>2]|0;uc[k[(k[X>>2]|0)+56>>2]&31](X,3,1,9)|0}}else q=t;while(0);q=(q|0)==5?0:q;X=88}else o=t}else{n=0;q=0;X=88}while(0);k:do if((X|0)==88)if((q|0)==0&(Y|0)!=0)if((k[T>>2]|0)>>>0>=(k[V>>2]|0)>>>0)if((Y|0)>1){hd(4,W);t=a+4|0;p=(c|0)!=0;while(1){if(i[$>>0]|0)break;q=k[t>>2]|0;q=uc[k[(k[q>>2]|0)+56>>2]&31](q,4,4,10)|0;if(!(p&(q|0)==5)){o=q;X=95;break}if(!(qc[c&127](d)|0)){o=5;X=100;break k}}if((X|0)==95?(o|0)!=0:0){X=100;break}if((Y|0)==3){ap(a,k[W>>2]|0);o=k[a+8>>2]|0;o=fc[k[(k[o>>2]|0)+16>>2]&63](o,0,0)|0}else o=0;if(!(i[$>>0]|0)){X=k[t>>2]|0;uc[k[(k[X>>2]|0)+56>>2]&31](X,4,4,9)|0;X=100}else X=100}else{o=0;X=100}else{o=5;X=100}else{o=q;X=100}while(0);if((X|0)==100)$c(n);if((o|0)==0|(o|0)==5){if(h)k[h>>2]=k[V>>2];if(l)k[l>>2]=k[(k[k[U>>2]>>2]|0)+96>>2]}}else o=t;while(0);if(k[_>>2]|0){z=a+52|0;y=z+48|0;do{k[z>>2]=0;z=z+4|0}while((z|0)<(y|0))}n=a+44|0;if(i[n>>0]|0){if(!(i[$>>0]|0)){_=k[a+4>>2]|0;uc[k[(k[_>>2]|0)+56>>2]&31](_,0,1,9)|0}i[n>>0]=0;i[a+47>>0]=0}if(!(i[$>>0]|0)){$=k[a+4>>2]|0;uc[k[(k[$>>2]|0)+56>>2]&31]($,1,1,9)|0}i[Z>>0]=0;n=(o|0)!=0|(Y|0)==(b|0)?o:5}else n=8;while(0);r=aa;return n|0}function Zn(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;g=(b|0)<(d|0)?b:d;f=cw(c,e,g)|0;a:do if(!f){b:do if(a){f=b-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((i[c+(f+g)>>0]|0)!=32)break b}if(!f){f=d-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((i[e+(f+g)>>0]|0)!=32)break b}if(!f){f=0;break a}}}while(0);f=b-d|0}while(0);return f|0}function _n(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Kc(c,e,(b|0)<(d|0)?b:d)|0;return ((a|0)==0?b-d|0:a)|0}function $n(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+16|0;if((r|0)>=(s|0))ka();w=y;n=k[c>>2]|0;a:do if(b){l=b;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;m=l-b&1073741823;if((k[2189]|n&64|0)!=0&m>>>0>4?(cw(b,14984,5)|0)==0:0){l=m+2|0;j=n|64;if(m){n=0;do{l=((i[b+n>>0]|0)==38&1)+l|0;n=n+1|0}while((n|0)<(m|0))}h=Yc(l)|0;if(h){do if((i[b+5>>0]|0)==47?(i[b+6>>0]|0)==47:0){l=7;while(1){q=i[b+l>>0]|0;if(q<<24>>24==0|q<<24>>24==47)break;l=l+1|0}if((l|0)==7){l=0;n=7;g=0;break}else if((l|0)==16){g=b+7|0;if(!(cw(14992,g,9)|0)){l=0;n=16;g=0;break}}else g=b+7|0;k[w>>2]=l+-7;k[w+4>>2]=g;g=dd(15008,w)|0;k[f>>2]=g;g=1;x=74;break a}else{l=0;n=5;g=0}while(0);b:while(1){u=h+(g+-1)|0;c:while(1){d:while(1){m=i[b+n>>0]|0;if(m<<24>>24==35|m<<24>>24==0)break b;o=n+1|0;if((m<<24>>24==37?(v=i[b+o>>0]|0,(i[10368+(v&255)>>0]&8)!=0):0)?(t=i[b+(n+2)>>0]|0,(i[10368+(t&255)>>0]&8)!=0):0){m=v;o=t;break}if(!l){n=o;x=38;break c}else if((l|0)==2){n=o;x=39;break c}else if((l|0)!=1){n=o;break c}if(!(m<<24>>24==38|m<<24>>24==61)){l=1;n=o;break c}if(!(i[u>>0]|0))n=o;else{n=o;x=36;break c}while(1){q=i[b+n>>0]|0;if(q<<24>>24==35|q<<24>>24==0)continue d;if((i[b+(n+-1)>>0]|0)==38)continue d;else n=n+1|0}}m=m<<24>>24;n=n+3|0;q=o<<24>>24;m=(0-(q>>>6&1)&9)+q&15|(0-(m>>>6&1)&9)+m<<4&240;if(m){x=30;break}o=(l|0)==0;while(1){m=i[b+n>>0]|0;if(m<<24>>24==35|m<<24>>24==0)continue c;if(o&m<<24>>24==63){l=0;continue c}if((l|0)==1){if(m<<24>>24==38|m<<24>>24==61){l=1;continue c}}else if((l|0)==2?m<<24>>24==38:0){l=2;continue c}n=n+1|0}}if((x|0)==30){x=0;m=m&255}else if((x|0)==36){x=0;if(m<<24>>24==38){i[h+g>>0]=0;m=0;l=1;g=g+1|0}else{m=0;l=2}}else if((x|0)==38){x=0;if(m<<24>>24==63)x=40;else l=0}else if((x|0)==39){x=0;if(m<<24>>24==38)x=40;else l=2}if((x|0)==40){x=0;m=0;l=1}i[h+g>>0]=m;g=g+1|0}if((l|0)==1){i[h+g>>0]=0;g=g+1|0}i[h+g>>0]=0;i[h+(g+1)>>0]=0;g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=(g-h&1073741823)+1|0;l=i[h+g>>0]|0;if(l<<24>>24){v=h+g|0;e:while(1){m=v;while(1){g=m+1|0;if(!(l<<24>>24)){l=m;break}l=i[g>>0]|0;m=g}u=l-v&1073741823;l=v+(u+1)|0;m=l;while(1)if(!(i[m>>0]|0))break;else m=m+1|0;t=m-l&1073741823;if((u|0)==3){g=(cw(15040,v,3)|0)==0;g=g?l:a}else if((u|0)==5)if(!(cw(15048,v,5)|0)){b=15056;p=393216;q=-393217;g=15048;x=58}else g=a;else if((u|0)==4?(cw(15096,v,4)|0)==0:0){b=15104;p=j&135;q=-136;g=15176;x=58}else g=a;if((x|0)==58){x=0;n=k[b>>2]|0;if(!n){x=65;break}else m=0;while(1){o=n;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;if((t|0)==(o-n&1073741823|0)?(cw(l,n,t)|0)==0:0){n=m;break}m=m+1|0;n=k[b+(m<<3)>>2]|0;if(!n){x=65;break e}}n=k[b+(n<<3)+4>>2]|0;if(!n){x=65;break}if((n&-129|0)>(p|0)){x=67;break}j=n|q&j;g=a}v=v+(u+2+t)|0;l=i[v>>0]|0;if(!(l<<24>>24)){x=72;break a}else a=g}if((x|0)==65){k[w>>2]=g;k[w+4>>2]=l;g=dd(15184,w)|0;k[f>>2]=g;g=1;x=74;break}else if((x|0)==67){k[w>>2]=g;k[w+4>>2]=l;g=dd(15208,w)|0;k[f>>2]=g;g=3;x=74;break}}else{g=a;x=72}}else g=7}else{j=m;x=70}}else{j=0;x=70}while(0);if((x|0)==70){h=Yc(j+2|0)|0;if(!h)g=7;else{pw(h|0,b|0,j|0)|0;i[h+j>>0]=0;i[h+(j+1)>>0]=0;j=n&-65;g=a;x=72}}if((x|0)==72){q=Pc(g)|0;k[d>>2]=q;if(!q){k[w>>2]=g;g=dd(15232,w)|0;k[f>>2]=g;g=1;x=74}else{g=0;x=75}}if((x|0)==74){$c(h);h=0;x=75}if((x|0)==75){k[c>>2]=j;k[e>>2]=h}r=y;return g|0}function ao(d|0)<0)<<31>>31|0)|0;c=a;k[c>>2]=d;k[c+4>>2]=L;i[g>>0]=0;i[b>>0]=0;i[l>>0]=0}}return}function to(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=a+40|0;if(!(i[e>>0]|0)){if(!(i[a+42>>0]|0)){b=2e3;c=1;d=1}else{b=a;b=ow(k[b>>2]|0,k[b+4>>2]|0,432e5,0)|0;b=vw(b|0,L|0,864e5,0)|0;f=~~((+(b|0)+-1867216.25)/36524.25);f=b+1525+f+((f|0)/-4|0)|0;b=~~((+(f|0)+-122.1)/365.25);f=f-((b*36525|0)/100|0)|0;d=~~(+(f|0)/30.6001);c=((d|0)<14?-1:-13)+d|0;b=((c|0)>2?-4716:-4715)+b|0;d=f-~~(+(d|0)*30.6001)|0}k[a+16>>2]=d;k[a+12>>2]=c;k[a+8>>2]=b;i[e>>0]=1}return}function uo(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0;b=a+41|0;if(!(i[b>>0]|0)){so(a);f=a;f=ow(k[f>>2]|0,k[f+4>>2]|0,432e5,0)|0;f=ww(f|0,L|0,864e5,0)|0;c=+(f|0)/1.0e3;f=~~c;e=(f|0)/3600|0;k[a+20>>2]=e;e=(ha(e,-3600)|0)+f|0;d=(e|0)/60|0;k[a+24>>2]=d;c=c-+(f|0)+ +(e+(ha(d,-60)|0)|0);p[a+32>>3]=c;i[b>>0]=1}return}function vo(a){a=a|0;rg(k[a+52>>2]|0,a);return}function wo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=a+65|0;do if(!(i[f>>0]|0)){if(!b){e=rh(a,c,d)|0;break}if((k[a+276>>2]|0)>>>0<=b>>>0?(k[a+280>>2]|0)>>>0>b>>>0:0){f=a+248|0;if(!(0<d>>>0|(0==(d|0)?(m[f>>1]|0)>>>0<c>>>0:0))){e=b;break}e=rh(a,c,d)|0;if(!e){e=0;break}pw(e|0,b|0,m[f>>1]|0)|0;rg(a,b);break}if((Qc()|0)==0?(e=wg(b,c,d)|0,(e|0)!=0):0)break;i[f>>0]=1;e=0}else e=0;while(0);return e|0}function xo(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a)a=0;else{d=k[a+4>>2]|0;k[d+4>>2]=k[a>>2];d=d+22|0;a=j[d>>1]|0;if((b|0)>-1){c=a&65535;a=c&65531;j[d>>1]=a;if(b){a=(c|4)&65535;j[d>>1]=a}}a=(a&65535)>>>2&1}return a|0}function yo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[a+4>>2]|0;k[e+4>>2]=k[a>>2];e=k[e>>2]|0;c=b&3;if((c|0)!=1){d=i[e+12>>0]|0;a=e+7|0;i[a>>0]=d<<24>>24!=0&1;if((c|0)==3)d=d<<24>>24==0&1;else d=0}else{a=e+7|0;i[a>>0]=1;d=0}i[e+8>>0]=d;do if(!(i[a>>0]|0)){if(b&4){i[e+11>>0]=3;i[e+9>>0]=3;a=3;break}i[e+11>>0]=2;a=e+9|0;if(!(b&8)){i[a>>0]=2;a=2;break}else{i[a>>0]=3;a=2;break}}else{i[e+11>>0]=0;i[e+9>>0]=0;a=0}while(0);if(d<<24>>24)a=(a&255|32)&255;i[e+10>>0]=a;a=e+20|0;c=l[a>>0]|0;i[a>>0]=(b&16|0)==0?c|1:c&254;return}function zo(a){a=a|0;var b=0,c=0;c=a+12|0;b=k[c>>2]|0;if((b|0)>-1){go(a,b,27311);k[c>>2]=-1}$c(k[a+28>>2]|0);b=a+0|0;c=b+44|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));return}function Ao