Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Hd

5 +8>>2]|0)|0;b=((n|0)<0)<<31>>31;o=(n|0)<0;d=iw(0,0,n|0,b|0)|0;d=o?d:n;b=o?L:b;n=n>>>31}else{b=k[(k[(k[a>>2]|0)+32>>2]|0)+88>>2]|0;d=b;b=((b|0)<0)<<31>>31;n=0}do if((g|0)<0){g=ow(p|0,((p|0)<0)<<31>>31|0,g|0,h|0)|0;h=L;if((h|0)<0){d=ow(d|0,b|0,g|0,h|0)|0;b=L;o=(b|0)<0;g=0;h=0;d=o?0:d;b=o?0:b}}else if((g|0)>0){g=ow(g|0,h|0,-1,-1)|0;h=L;break}else{o=((b|0)>0|(b|0)==0&d>>>0>0)<<31>>31;d=ow(o|0,((o|0)<0)<<31>>31|0,d|0,b|0)|0;b=L;break}while(0);if(!n){l=g;n=h}else{l=iw(g|0,h|0,d|0,b|0)|0;n=L;o=(n|0)<0;l=o?0:l;n=o?0:n;d=o?g:d;b=o?h:b}if(q){o=ow(d|0,b|0,l|0,n|0)|0;h=L;e=((p|0)<0)<<31>>31;if((h|0)>(e|0)|(h|0)==(e|0)&o>>>0>p>>>0){d=iw(p|0,e|0,l|0,n|0)|0;b=L;p=(b|0)<0;d=p?0:d;b=p?0:b}Gd(a,f+l|0,d,b,-1);break}e=i[f>>0]|0;if(((l|0)!=0|(n|0)!=0)&e<<24>>24!=0)do{h=f+1|0;if((e&255)>191){g=f;f=h;while(1){e=i[f>>0]|0;if((e&-64)<<24>>24==-128){p=f;f=g+2|0;g=p}else break}}else{e=i[h>>0]|0;f=h}l=ow(l|0,n|0,-1,-1)|0;n=L}while(((l|0)!=0|(n|0)!=0)&e<<24>>24!=0);if(e<<24>>24!=0&((d|0)!=0|(b|0)!=0)){l=b;b=f;do{g=b+1|0;if((e&255)>191)while(1){e=i[g>>0]|0;if((e&-64)<<24>>24==-128){p=g;g=b+2|0;b=p}else{b=g;break}}else{e=i[g>>0]|0;b=g}d=ow(d|0,l|0,-1,-1)|0;l=L}while(e<<24>>24!=0&((d|0)!=0|(l|0)!=0))}else b=f;p=b-f|0;Od(a,f,p,((p|0)<0)<<31>>31,-1,1)}while(0);return}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+48|0;if((r|0)>=(s|0))ka();f=h;g=h+32|0;e=h+4|0;if((b|0)>0?(d=Xg(k[c>>2]|0,1)|0,(d|0)!=0):0){k[g>>2]=b+-1;k[g+4>>2]=0;k[g+8>>2]=c+4;k[e+0>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;k[e+20>>2]=1e9;i[e+24>>0]=1;i[e+25>>0]=0;k[e>>2]=k[(k[a>>2]|0)+32>>2];k[f>>2]=g;Jn(e,2,d,f);d=k[e+12>>2]|0;$g(a,yg(e)|0,d,1,75)}r=h;return}function nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();b=e;c=Xg(k[c>>2]|0,1)|0;k[b>>2]=c;do if((c|0)!=0?(i[c>>0]|0)!=0:0){d=Rn(b)|0;b=k[a>>2]|0;a=((d|0)<0)<<31>>31;c=b+8|0;if(!(j[c>>1]&9312)){k[b>>2]=d;k[b+4>>2]=a;j[c>>1]=4;break}else{ch(b,d,a);break}}while(0);r=e;return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Yc(b<<2|1)|0;if(!g)Wd(a);else{if((b|0)>0){f=0;d=g;do{e=_g(k[c+(f<<2)>>2]|0)|0;h=L;e=h>>>0>0|(h|0)==0&e>>>0>1114111?65533:e&2097151;do if(e>>>0>=128){if(e>>>0<2048){i[d>>0]=e>>>6&31|192;i[d+1>>0]=e&63|128;d=d+2|0;break}if(e>>>0<65536){i[d>>0]=e>>>12&15|224;i[d+1>>0]=e>>>6&63|128;i[d+2>>0]=e&63|128;d=d+3|0;break}else{i[d>>0]=e>>>18|240;i[d+1>>0]=e>>>12&63|128;i[d+2>>0]=e>>>6&63|128;i[d+3>>0]=e&63|128;d=d+4|0;break}}else{i[d>>0]=e;d=d+1|0}while(0);f=f+1|0}while((f|0)!=(b|0))}else d=g;d=d-g|0;Od(a,g,d,((d|0)<0)<<31>>31,1,1)}return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;b=k[c>>2]|0;c=l[10064+((m[b+8>>1]|0)&31)>>0]|0;a:do if((c|0)==5){c=k[a>>2]|0;b=c+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(c);break}}else if((c|0)==1){b=_g(b)|0;e=L;do if((e|0)<0)if((b|0)==0&(e|0)==-2147483648){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20248,-1,1,-1)|0;break a}else{b=iw(0,0,b|0,e|0)|0;f=L;break}else f=e;while(0);c=k[a>>2]|0;e=c+8|0;if(!(j[e>>1]&9312)){k[c>>2]=b;k[c+4>>2]=f;j[e>>1]=4;break}else{ch(c,b,f);break}}else{d=+Zg(b);if(d<0.0)d=-d;bh(k[a>>2]|0,d)}while(0);return}function qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+32|0;if((r|0)>=(s|0))ka();h=l+8|0;j=l;if((b|0)==2){b=k[c+4>>2]|0;if(!(-1431655766>>>(m[b+8>>1]&31)&1)){g=_g(b)|0;g=(g|0)>30?30:g;g=(g|0)<0?0:g;f=4}}else{g=0;f=4}a:do if((f|0)==4?(e=k[c>>2]|0,(-1431655766>>>(m[e+8>>1]&31)&1|0)==0):0){d=+Zg(e);p[j>>3]=d;b=(g|0)==0;do if(b&d>=0.0&d<9223372036854775808.0){d=d+.5;d=+(~~d>>>0>>>0)+4294967296.0*+((+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0);p[j>>3]=d}else{if(b&d<0.0&d>-9223372036854775808.0){d=.5-d;d=-(+(~~d>>>0>>>0)+4294967296.0*+((+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0));p[j>>3]=d;break}k[h>>2]=g;b=h+4|0;p[t>>3]=d;k[b>>2]=k[t>>2];k[b+4>>2]=k[t+4>>2];b=dd(20312,h)|0;if(!b){Wd(a);break a}else e=b;while(1)if(!(i[e>>0]|0))break;else e=e+1|0;Yl(b,j,e-b&1073741823,1)|0;$c(b);d=+p[j>>3]}while(0);bh(k[a>>2]|0,d)}while(0);r=l;return}function rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Xg(k[c>>2]|0,1)|0;b=Yg(k[c>>2]|0,1)|0;if((d|0)!=0?(e=ow(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=po(a,e,L)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{f=l[d+c>>0]|0;i[e+c>>0]=((l[10368+f>>0]|0|223)^32)&f;c=c+1|0}while((c|0)!=(b|0))}$g(a,e,b,1,1)}return}function sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Xg(k[c>>2]|0,1)|0;b=Yg(k[c>>2]|0,1)|0;if((d|0)!=0?(e=ow(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=po(a,e,L)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{i[e+c>>0]=i[9328+(l[d+c>>0]|0)>>0]|0;c=c+1|0}while((c|0)!=(b|0))}$g(a,e,b,1,1)}return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;$g(a,8632,-1,1,0);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;b=ud(k[c>>2]|0)|0;f=Yg(k[c>>2]|0,1)|0;g=nw(f|0,((f|0)<0)<<31>>31|0,1)|0;g=po(a,g|1,L)|0;if(g){if((f|0)>0){d=f<<1;e=0;c=g;while(1){h=l[b>>0]|0;i[c>>0]=i[20288+(h>>>4)>>0]|0;i[c+1>>0]=i[20288+(h&15)>>0]|0;e=e+1|0;if((e|0)==(f|0))break;else{b=b+1|0;c=c+2|0}}c=g+d|0}else c=g;i[c>>0]=0;$g(a,g,f<<1,1,1)}return}function vj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();b=f;hd(8,b);d=b;c=k[d>>2]|0;d=k[d+4>>2]|0;if((d|0)<0){e=iw(0,0,c|0,d&2147483647|0)|0;d=L;k[b>>2]=e;k[b+4>>2]=d}else e=c;c=k[a>>2]|0;b=c+8|0;if(!(j[b>>1]&9312)){k[c>>2]=e;k[c+4>>2]=d;j[b>>1]=4}else ch(c,e,d);r=f;return}function wj(a,b,c){a=a|0;b=b|0;c=c|0;c=_g(k[c>>2]|0)|0;c=(c|0)<1?1:c;b=po(a,c,((c|0)<0)<<31>>31)|0;if(b){hdhd(4,n);g=E+43|0;if(!(i[g>>0]|0)){h=k[E+4>>2]|0;h=uc[k[(k[h>>2]|0)+56>>2]&31](h,4,4,10)|0;if((h|0)==5){h=g;y=14;break}else if(h)break}ap(E,k[n>>2]|0);if(!(i[g>>0]|0)){h=k[E+4>>2]|0;uc[k[(k[h>>2]|0)+56>>2]&31](h,4,4,9)|0;h=g;y=14}else{h=g;y=14}}else{h=E+43|0;y=14}while(0);if((y|0)==14){if(!(i[h>>0]|0)){D=k[E+4>>2]|0;uc[k[(k[D>>2]|0)+56>>2]&31](D,3,1,5)|0}j[f>>1]=-1;g=0;do{g=g+1|0;h=Ro(E,o,1,g)|0}while((h|0)==-1)}if(h)e=h;else y=19}else y=19;a:do if((y|0)==19){D=E+68|0;o=k[D>>2]|0;if(!o){i[q>>0]=55;i[q+1>>0]=127;i[q+2>>0]=6;i[q+3>>0]=-126;i[q+4>>0]=0;i[q+5>>0]=45;i[q+6>>0]=-30;i[q+7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;p=b;while(1){o=f+1|0;if(w)f=0;else f=(k[p+12>>2]|0)==0?c:0;e=bp(z,p,f,h,m)|0;if(e)break a;h=ow(h|0,m|0,u|0,v|0)|0;e=L;n=k[p+12>>2]|0;if(!n){f=h;break}else{m=e;f=o;p=n}}}w=(d|0)!=0;do if(!((x&32|0)==0|w^1)){if(!(i[E+49>>0]|0)){g=0;e=wc[k[(k[q>>2]|0)+20>>2]&127](q,x&19)|0;break}h=k[g>>2]|0;g=k[(k[h>>2]|0)+44>>2]|0;if(g){h=qc[g&127](h)|0;if((h|0)<32){g=512;h=0}else y=37}else{h=4096;y=37}if((y|0)==37){y=(h|0)>65536;g=y?65536:h;h=y?0:((h|0)<0)<<31>>31}y=ow(f|0,e|0,-1,-1)|0;y=ow(y|0,L|0,g|0,h|0)|0;n=L;m=ww(y|0,n|0,g|0,h|0)|0;m=iw(y|0,n|0,m|0,L|0)|0;n=L;y=t;k[y>>2]=m;k[y+4>>2]=n;if((e|0)<(n|0)|(e|0)==(n|0)&f>>>0<m>>>0){h=e;g=0;while(1){e=bp(z,p,c,f,h)|0;if(e)break a;f=ow(f|0,h|0,u|0,v|0)|0;h=L;g=g+1|0;if(!((h|0)<(n|0)|(h|0)==(n|0)&f>>>0<m>>>0)){e=0;break}}}else{g=0;e=0}}else{g=0;e=0}while(0);if((w?(A=E+47|0,(i[A>>0]|0)!=0):0)?(C=E+16|0,B=k[C>>2]|0,C=k[C+4>>2]|0,(C|0)>-1|(C|0)==-1&B>>>0>4294967295):0){d=xw(g+o|0,0,u|0,v|0)|0;d=ow(d|0,L|0,32,0)|0;z=L;y=(z|0)>(C|0)|(z|0)==(C|0)&d>>>0>B>>>0;cp(E,y?d:B,y?z:C);i[A>>0]=0}f=k[D>>2]|0;if((b|0)!=0&(e|0)==0)do{f=f+1|0;e=dp(E,f,k[b+20>>2]|0)|0;b=k[b+12>>2]|0}while((b|0)!=0&(e|0)==0);b=(e|0)==0;if(b&(g|0)>0){h=p+20|0;do{f=f+1|0;g=g+-1|0;e=dp(E,f,k[h>>2]|0)|0;b=(e|0)==0}while(b&(g|0)>0)}if(b){j[E+66>>1]=F&65280|F>>>16;k[D>>2]=f;if(w){D=E+60|0;k[D>>2]=(k[D>>2]|0)+1;k[E+72>>2]=c;ep(E);k[E+12>>2]=f}}else if(e)break;f=a+88|0;e=k[f>>2]|0;if((e|0)!=0?(H=k[G>>2]|0,(H|0)!=0):0){b=e;e=H;while(1){fp(b,k[e+20>>2]|0,k[e+4>>2]|0);e=k[e+12>>2]|0;if(!e){e=0;break a}b=k[f>>2]|0}}else e=0}while(0);r=I;return e|0}function Cl(a){a=a|0;var b=0,c=0;b=a+24|0;if(((j[b>>1]&2)!=0?(Vo(a,1),j[b>>1]=m[b>>1]&65529,(j[a+26>>1]|0)==0):0)?(c=k[a+28>>2]|0,(i[c+28>>0]|0)!=0):0){if((k[a+20>>2]|0)==1)k[c+44>>2]=0;rc[k[8744+136>>2]&63](k[c+40>>2]|0,k[a>>2]|0,0)}return}function Dl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=k[a+16>>2]|0;c=((l[c+105>>0]|0)<<16|(l[c+104>>0]|0)<<24|(l[c+106>>0]|0)<<8|(l[c+107>>0]|0))+1|0;a=a+4|0;b=k[a>>2]|0;f=c>>>24&255;i[b+24>>0]=f;e=c>>>16&255;i[b+25>>0]=e;d=c>>>8&255;i[b+26>>0]=d;c=c&255;i[b+27>>0]=c;b=k[a>>2]|0;i[b+92>>0]=f;i[b+93>>0]=e;i[b+94>>0]=d;i[b+95>>0]=c;a=k[a>>2]|0;i[a+96>>0]=0;i[a+97>>0]=45;i[a+98>>0]=-26;i[a+99>>0]=9;return}function El(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+32|0;if((r|0)>=(s|0))ka();h=v+16|0;q=v;e=gp(a)|0;a:do if(!e){do if(!(i[a+7>>0]|0)){u=a+64|0;if((k[k[u>>2]>>2]|0)!=0?(i[a+5>>0]|0)!=4:0){g=k[a+60>>2]|0;g=qc[k[(k[g>>2]|0)+48>>2]&127](g)|0;t=(g&512|0)==0;if(t){d=q;k[d>>2]=-117058087;k[d+4>>2]=-681336544;d=k[a+44>>2]|0;i[q+8>>0]=d>>>24;i[q+9>>0]=d>>>16;i[q+10>>0]=d>>>8;i[q+11>>0]=d;d=a+72|0;e=k[d>>2]|0;d=k[d+4>>2]|0;if((e|0)==0&(d|0)==0){e=0;d=0}else{d=ow(e|0,d|0,-1,-1)|0;e=k[a+148>>2]|0;d=vw(d|0,L|0,e|0,0)|0;d=ow(d|0,L|0,1,0)|0;e=xw(d|0,L|0,e|0,0)|0;d=L}f=k[u>>2]|0;f=yc[k[(k[f>>2]|0)+8>>2]&31](f,h,8,e,d)|0;if(!f){if(!(cw(h,14808,8)|0)){n=k[u>>2]|0;n=yc[k[(k[n>>2]|0)+12>>2]&31](n,14976,1,e,d)|0;o=12}}else{n=f;o=12}if((o|0)==12?!((n|0)==0|(n|0)==522):0){c=n;break a}d=g&1024;if((i[a+8>>0]|0)!=0&(d|0)==0?(p=k[u>>2]|0,p=wc[k[(k[p>>2]|0)+20>>2]&127](p,l[a+11>>0]|0)|0,(p|0)!=0):0){c=p;break a}p=k[u>>2]|0;e=a+80|0;e=yc[k[(k[p>>2]|0)+12>>2]&31](p,q,12,k[e>>2]|0,k[e+4>>2]|0)|0;if(e){c=e;break a}}else d=g&1024;if((d|0)==0?(q=k[u>>2]|0,c=i[a+11>>0]|0,c=wc[k[(k[q>>2]|0)+20>>2]&127](q,(c<<24>>24==3?16:0)|c&255)|0,(c|0)!=0):0)break a;o=a+72|0;p=k[o+4>>2]|0;q=a+80|0;k[q>>2]=k[o>>2];k[q+4>>2]=p;if((b|0)==0|t^1)break;k[a+44>>2]=0;c=Xo(a)|0;if(!c)break;else break a}o=a+72|0;p=k[o+4>>2]|0;q=a+80|0;k[q>>2]=k[o>>2];k[q+4>>2]=p}while(0);d=k[a+204>>2]|0;c=k[d>>2]|0;if(c)do{q=c+24|0;j[q>>1]=m[q>>1]&65531;c=k[c+32>>2]|0}while((c|0)!=0);k[d+8>>2]=k[d+4>>2];i[a+16>>0]=4;c=0}else c=e;while(0);r=v;return c|0}function Fl(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,p=0,q=0,t=0,u=0,v=0;v=r;r=r+16|0;if((r|0)>=(s|0))ka();g=v;u=a+60|0;d=k[u>>2]|0;if(!((k[d>>2]|0)==0?(c=k[a>>2]|0,c=yc[k[c+24>>2]&31](c,0,d,k[a+144>>2]&556897|30,0)|0,(c|0)!=0):0)){d=a+36|0;c=k[d>>2]|0;e=a+24|0;f=k[e>>2]|0;do if(c>>>0<f>>>0){if((k[b+12>>2]|0)==0?(k[b+20>>2]|0)>>>0<=c>>>0:0)break;l=k[a+152>>2]|0;l=xw(f|0,0,l|0,((l|0)<0)<<31>>31|0)|0;m=g;k[m>>2]=l;k[m+4>>2]=L;m=k[u>>2]|0;fc[k[(k[m>>2]|0)+40>>2]&63](m,5,g)|0;k[d>>2]=k[e>>2]}while(0);if(!b)c=0;else{n=a+24|0;o=a+152|0;p=a+104|0;q=a+32|0;t=a+192|0;m=a+88|0;do{l=k[b+20>>2]|0;if(l>>>0<=(k[n>>2]|0)>>>0?(j[b+24>>1]&32)==0:0){g=k[o>>2]|0;a=xw(g|0,((g|0)<0)<<31>>31|0,l+-1|0,0)|0;f=L;e=(l|0)==1;if(e){Dl(b);g=k[o>>2]|0}h=b+4|0;d=k[h>>2]|0;c=k[u>>2]|0;c=yc[k[(k[c>>2]|0)+12>>2]&31](c,d,g,a,f)|0;if(e){a=p+0|0;g=d+24|0;f=a+16|0;do{i[a>>0]=i[g>>0]|0;a=a+1|0;g=g+1|0}while((a|0)<(f|0))}if(l>>>0>(k[q>>2]|0)>>>0)k[q>>2]=l;k[t>>2]=(k[t>>2]|0)+1;fp(k[m>>2]|0,l,k[h>>2]|0)}else c=0;b=k[b+12>>2]|0}while((c|0)==0&(b|0)!=0)}}r=v;return c|0}function Gl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();j=o;l=a+60|0;d=k[l>>2]|0;e=k[d>>2]|0;do if((e|0)!=0?((i[a+16>>0]|0)+-1&255)>2:0){m=k[a+152>>2]|0;e=wc[k[e+24>>2]&127](d,j)|0;f=((m|0)<0)<<31>>31;g=xw(m|0,f|0,b|0,0)|0;h=L;if(!e){d=j;e=k[d>>2]|0;d=k[d+4>>2]|0;if((e|0)==(g|0)&(d|0)==(h|0))c=0;else{if(!((d|0)>(h|0)|(d|0)==(h|0)&e>>>0>g>>>0)){j=ow(e|0,d|0,m|0,f|0)|0;e=L;if(!((e|0)>(h|0)|(e|0)==(h|0)&j>>>0>g>>>0)){n=k[a+200>>2]|0;kw(n|0,0,m|0)|0;l=k[l>>2]|0;c=iw(g|0,h|0,m|0,f|0)|0;c=yc[k[(k[l>>2]|0)+12>>2]&31](l,n,m,c,L)|0;n=9}}else{c=k[l>>2]|0;c=fc[k[(k[c>>2]|0)+16>>2]&63](c,g,h)|0;n=9}if((n|0)==9?(c|0)!=0:0)break;k[a+32>>2]=b;c=0}}else c=e}else c=0;while(0);r=o;return c|0}
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(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!b){b=vg(84,0)|0;if(!b)c=8;else{a=b+0|0;e=a+84|0;do{i[a>>0]=0;a=a+1|0}while((a|0)<(e|0));c=9}}else{d=k[b+4>>2]|0;k[d+4>>2]=k[b>>2];c=d+48|0;b=k[c>>2]|0;if(!b){b=vg(84,0)|0;if(!b){k[c>>2]=0;k[d+52>>2]=22;c=8;break}else{a=b+0|0;e=a+84|0;do{i[a>>0]=0;a=a+1|0}while((a|0)<(e|0));k[c>>2]=b;k[d+52>>2]=22;c=9;break}}else c=9}while(0);if((c|0)==8){i[a+65>>0]=1;b=0}else if((c|0)==9)if(!(i[b+76>>0]|0)){c=b+77|0;a=b+8|0;e=a+64|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(e|0));i[c>>0]=1}return b|0}function bo(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;j=r;r=r+16|0;if((r|0)>=(s|0))ka();if(c){g=a+428|0;f=gn(g,c,j)|0;if(!f)e=0;else e=k[f+8>>2]|0;if((e|0)==0&(d|0)!=0){f=c;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;f=f-c&1073741823;d=f+61|0;e=rh(a,d,0)|0;if(e){kw(e|0,0,d|0)|0;d=e+60|0;k[e>>2]=d;i[e+4>>0]=1;k[e+20>>2]=d;i[e+24>>0]=2;k[e+40>>2]=d;i[e+44>>0]=3;pw(d|0,c|0,f|0)|0;i[e+(f+60)>>0]=0;f=Nk(g,k[e>>2]|0,e)|0;if(!f)h=10;else{i[a+65>>0]=1;rg(a,f);e=0}}else e=0}else h=10}else{e=k[a+8>>2]|0;h=10}if((h|0)==10)if(!e)e=0;else e=e+(((b&255)+-1|0)*20|0)|0;r=j;return e|0}function co(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=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+64|0;if((r|0)>=(s|0))ka();y=A;f=A+48|0;o=A+24|0;v=A+8|0;g=(b|0)==1;t=g?13184:13208;k[f>>2]=t;k[f+4>>2]=13224;k[f+8>>2]=g?13064:12960;k[f+12>>2]=0;k[v>>2]=a;k[v+8>>2]=b;u=v+12|0;k[u>>2]=0;k[v+4>>2]=c;en(v,3,f,0)|0;f=k[u>>2]|0;a:do if(!f){w=a+16|0;f=di(a,t,k[(k[w>>2]|0)+(b<<4)>>2]|0)|0;if(f){q=f+44|0;i[q>>0]=l[q>>0]|1}e=k[w>>2]|0;x=e+(b<<4)+4|0;f=k[x>>2]|0;if(!f){if(!g){d=0;break}d=(k[e+28>>2]|0)+78|0;j[d>>1]=m[d>>1]|1;d=0;break}k[(k[f+4>>2]|0)+4>>2]=k[f>>2];do if(!(i[f+8>>0]|0)){f=Dg(f,0)|0;if((f|0)==516)d=16344;else if(!f){f=k[x>>2]|0;q=1;break}else z=10;if((z|0)==10){d=f&255;if(d>>>0>26|(d|0)==2)d=16328;else d=k[15488+(d<<2)>>2]|0}k[y>>2]=d;ih(c,a,10344,y);d=f;z=38;break a}else q=0;while(0);Bm(f,1,o);p=o+4|0;Bm(k[x>>2]|0,2,p);h=o+8|0;Bm(k[x>>2]|0,3,h);Bm(k[x>>2]|0,4,o+12|0);g=o+16|0;Bm(k[x>>2]|0,5,g);n=e+(b<<4)+12|0;f=k[n>>2]|0;k[f>>2]=k[o>>2];e=k[g>>2]|0;do if(e){if(!b){g=e&3;g=(g|0)==0?1:g&255;i[a+62>>0]=g;z=19;break}g=i[a+62>>0]|0;if((e|0)==(g&255|0))z=19;else{ih(c,a,13232,y);d=1}}else{g=(k[(k[w>>2]|0)+(b<<4)+12>>2]|0)+78|0;j[g>>1]=m[g>>1]|4;g=i[a+62>>0]|0;z=19}while(0);do if((z|0)==19){i[f+77>>0]=g;g=f+80|0;if(!(k[g>>2]|0)){f=k[h>>2]|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0;f=(f|0)==0?2e3:f;k[g>>2]=f;uq(k[x>>2]|0,f);f=k[n>>2]|0}e=k[p>>2]|0;g=e&255;f=f+76|0;if(g<<24>>24){i[f>>0]=g;if((g&255)>4){ih(c,a,13304,y);d=1;break}}else i[f>>0]=1;if((b|0)==0&(e|0)>3){p=a+24|0;k[p>>2]=k[p>>2]&-32769}k[y>>2]=k[(k[w>>2]|0)+(b<<4)>>2];k[y+4>>2]=t;f=zh(a,13328,y)|0;t=a+284|0;p=k[t>>2]|0;k[t>>2]=0;e=Ve(a,f,22,v,0)|0;k[t>>2]=p;e=(e|0)==0?k[u>>2]|0:e;rg(a,f);f=(e|0)==0;if(f)fn(a,b)|0;if(!(i[a+65>>0]|0)){if(!f){d=e;z=34}}else{Jg(a);d=7;z=34}if((z|0)==34?(k[a+24>>2]&65536|0)==0:0)break;d=(k[(k[w>>2]|0)+(b<<4)+12>>2]|0)+78|0;j[d>>1]=m[d>>1]|1;d=0}while(0);if(!q)z=38;else{zn(k[x>>2]|0)|0;z=38}}else{d=f;z=38}while(0);if((z|0)==38)if((d|0)==7|(d|0)==3082)i[a+65>>0]=1;r=A;return d|0}function eo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;m=r;r=r+80|0;if((r|0)>=(s|0))ka();j=m;k[12066]=k[2708];if(!(k[12067]|0)){c=Qb(48336)|0;k[12067]=c}if(!(k[12068]|0)){c=Qb(48352)|0;k[12068]=c}d=j+12|0;e=0;c=0;do{if((((c|0)!=0?(wc[k[47552+52>>2]&127](c,j)|0)==0:0)?(k[d>>2]&61440|0)==16384:0)?(wc[k[47552+28>>2]&127](c,7)|0)==0:0)break;c=k[48264+(e<<2)>>2]|0;e=e+1|0}while(e>>>0<7);h=(c|0)==0?28928:c;if(((lw(h|0)|0)+25|0)>>>0<a>>>0){a=a+-18|0;do{k[j>>2]=h;fd(a,b,48248,j)|0;d=lw(b|0)|0;c=b+d|0;hdhd
9 hdle(0);m=D+8|0;if((i[a+145>>0]|0)==0?(z=k[m>>2]|0,x=(k[D+480>>2]|0)-b|0,(z|0)!=0):0){if((b|0)!=0?(w=k[z>>2]|0,y=ow(x|0,((x|0)<0)<<31>>31|0,1,0)|0,y=rh(w,y,L)|0,(y|0)!=0):0){pw(y|0,b|0,x|0)|0;i[y+x>>0]=0;n=y}else n=0;k[z+168>>2]=n;z=z+88|0;j[z>>1]=j[z>>1]&-257|(d&65535)<<8&256}n=k[m>>2]|0;do if(!n)B=60;else{if(o?(i[q>>0]|0)==0:0){B=60;break}Sg(n)|0}while(0);if((B|0)==60)k[f>>2]=n;m=k[A>>2]|0;do if(!m){k[a+52>>2]=h;m=k[a+236>>2]|0;if(m){n=m+8|0;if(!(j[n>>1]&9312)){j[n>>1]=1;break}else{Ag(m);break}}}else{k[C>>2]=m;zg(a,h,10344,C);rg(a,m)}while(0);m=D+528|0;n=k[m>>2]|0;if(!n)n=D;else{do{k[m>>2]=k[n+4>>2];rg(a,n);n=k[m>>2]|0}while((n|0)!=0);n=D}}else{n=0;h=7}while(0);Hh(n);rg(a,D);C=Tg(a,h)|0;r=E;return C|0}function Ln(a){a=a|0;var b=0,c=0;c=k[a>>2]|0;if((i[c+145>>0]|0)==0?(b=ci(c,a+4|0)|0,(b|0)!=0):0){k[a+12>>2]=b;c=a+64|0;k[c>>2]=(k[c>>2]|0)+1}else b=0;return b|0}function Mn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=k[a+24>>2]|0;f=d+84|0;b=k[f>>2]|0;if(!b){b=1020;c=0}else{b=b*40|0;c=0}e=a+4|0;a=wo(k[d>>2]|0,k[e>>2]|0,b,c)|0;c=(a|0)!=0;if(c){b=k[d>>2]|0;do if(!b)b=qc[k[8744+48>>2]&127](a)|0;else{if((k[b+276>>2]|0)>>>0<=a>>>0?(k[b+280>>2]|0)>>>0>a>>>0:0){b=m[b+248>>1]|0;break}b=qc[k[8744+48>>2]&127](a)|0}while(0);k[f>>2]=(b>>>0)/20|0;k[e>>2]=a}return (c?0:7)|0}function Nn(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(c)switch(b|0){case -11:{if(k[a+520>>2]|0)break a;$c(c);break a}case -5:{if(!(j[c+2>>1]&16))break a;rg(a,c);break a}case -10:{if(k[a+520>>2]|0)break a;Fn(c);break a}case -15:case -1:case -13:case -12:{rg(a,c);break a}case -8:{if(!(k[a+520>>2]|0)){Rh(c);break a}if(k[c+24>>2]|0)rg(a,k[c+20>>2]|0);rg(a,c);break a}case -6:{if(k[a+520>>2]|0)break a;a=(k[c>>2]|0)+-1|0;k[c>>2]=a;if(a)break a;$c(c);break a}default:break a}while(0);return}function On(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0,r=0;c=k[b>>2]|0;p=k[a+24>>2]|0;q=p+112|0;g=k[q>>2]|0;n=a+88|0;j[n>>1]=j[n>>1]&-193|64;d=k[a+32>>2]|0;a:do if((d|0)>0){f=k[a+4>>2]|0;while(1){d=d+-1|0;e=l[f>>0]|0;switch(e|0){case 4:{if(!(k[f+8>>2]|0))o=7;else{j[n>>1]=j[n>>1]&-65;o=7}break}case 14:{r=k[f+-16>>2]|0;c=(r|0)>(c|0)?r:c;break}case 2:case 3:{o=7;break}case 5:case 7:case 9:{k[f+16>>2]=76;i[f+1>>0]=-19;break}case 12:case 13:case 11:{j[n>>1]=j[n>>1]&-193|128;break}case 6:case 8:{k[f+16>>2]=77;i[f+1>>0]=-19;break}case 15:{r=k[f+8>>2]|0;c=(r|0)>(c|0)?r:c;break}case 10:case 1:{r=l[f+3>>0]|0;c=(r|0)>(c|0)?r:c;break}default:{}}if((o|0)==7){o=0;j[n>>1]=j[n>>1]|128}e=i[34168+e>>0]|0;i[f+2>>0]=e;if((e&1)!=0?(h=f+8|0,m=k[h>>2]|0,(m|0)<0):0)k[h>>2]=k[g+(~m<<2)>>2];if((d|0)<=0)break a;else f=f+20|0}}while(0);rg(k[a>>2]|0,k[q>>2]|0);k[q>>2]=0;k[p+108>>2]=0;k[b>>2]=c;return}function Pn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;c=a+73|0;if((i[c>>0]|0)!=4){i[c>>0]=0;d=a+56|0;b=a+48|0;b=Lp(a,k[d>>2]|0,k[b>>2]|0,k[b+4>>2]|0,0,e)|0;if(!b){$c(k[d>>2]|0);k[d>>2]=0;d=a+68|0;b=k[d>>2]|k[e>>2];k[d>>2]=b;if((b|0)!=0?(i[c>>0]|0)==1:0){i[c>>0]=2;b=0}else b=0}}else b=k[a+68>>2]|0;r=f;return b|0}function Qn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a+8>>2]|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((k[a+60>>2]|0)==(b|0))break}a=k[a+8>>2]|0;if(!a){a=0;break a}}a=Kl(a,b,c)|0}while(0);return a|0}function Rn(a){a=a|0;var b=0,c=0,d=0,e=0;c=k[a>>2]|0;d=c+1|0;k[a>>2]=d;e=i[c>>0]|0;b=e&255;if((e&255)<=191)return b|0;b=l[15360+(b+-192)>>0]|0;if((i[d>>0]&-64)<<24>>24==-128)while(1){c=c+2|0;k[a>>2]=c;b=(l[d>>0]|0)&63|b<<6;if((i[c>>0]&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Sn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=i[a>>0]|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=i[a>>0]|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=i[e>>0]|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Tn(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,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+48|0;if((r|0)>=(s|0))ka();t=x+32|0;u=x+16|0;v=x;e=k[a>>2]|0;if((e|0)<0){k[a>>2]=0;k[a+4>>2]=-1;j[a+12>>1]=0;i[a+14>>0]=0;e=0}n=c;l=k[n+4>>2]|0;o=v;k[o>>2]=k[n>>2];k[o+4>>2]=l;o=a+8|0;k[o>>2]=d;l=b&255;n=(b|0)==254;do{h=j[a+(e<<4)+12>>1]|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)w=6;else{h=l;while(1){g=j[c>>1]|0;f=g<<16>>16;if(g<<16>>16==-86){w=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(i[39336+e>>0]|0)==h<<24>>24:0){w=16;break}if(!(h<<24>>24))break;if((h&255)>=70){p=f;w=12;break}h=i[40840+g>>0]|0;if(!(h<<24>>24)){p=f;w=12;break}}if((w|0)==16){w=0;e=m[22184+(e<<1)>>1]|0;break}if(((w|0)==12?(w=0,q=p+70|0,(q|0)>-1):0)?(i[39336+q>>0]|0)==70:0){e=m[22184+(q<<1)>>1]|0;break}e=m[38048+(d<<1)>>1]|0}while(0);if((w|0)==6){w=0;e=m[38048+(d<<1)>>1]|0}if(e>>>0<642){w=18;break}if(e>>>0>=969){w=20;break}rq(a,e+-642|0);if(n)break;e=k[a>>2]|0}while((e|0)>-1);if((w|0)==18){pq(a,e,b,v);p=a+4|0;k[p>>2]=(k[p>>2]|0)+-1}else if((w|0)==20){k[u+0>>2]=k[v+0>>2];k[u+4>>2]=k[v+4>>2];k[u+8>>2]=k[v+8>>2];p=k[o>>2]|0;k[t>>2]=u;yh(p,20432,t);k[o>>2]=p;qq(a,l,v)}r=x;return}function Un(a){a=a|0;var b=0;b=k[a>>2]|0;if((b|0)>=0){qq(a,i[a+(b<<4)+14>>0]|0,a+(b<<4)+16|0);k[a>>2]=(k[a>>2]|0)+-1}return}function Vn(a,b){a=a|0;b=b|0;var c=0;if(b){if((k[b>>2]|0)>0){c=0;do{Sk(a,k[b+(c<<4)+12>>2]|0);Rk(a,k[b+(c<<4)+16>>2]|0,1);rg(a,k[b+(c<<4)+8>>2]|0);c=c+1|0}while((c|0)<(k[b>>2]|0))}rg(a,b)}return}function Wn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=k[g>>2]|0;if(c){h=a+304|0;if((k[h>>2]|0)>0){e=0;do{d=k[c+(e<<2)>>2]|0;c=k[d+8>>2]|0;if((c|0)!=0?(f=k[(k[c>>2]|0)+b>>2]|0,(f|0)!=0):0)qc[f&127](c)|0;k[d+20>>2]=0;Fn(d);e=e+1|0;c=k[g>>2]|0}while((e|0)<(k[h>>2]|0))}rg(a,c);k[h>>2]=0;k[g>>2]=0}return}function Xn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(k[a+12>>2]|0))b=(k[a+16>>2]|0)==0?0:6;else b=6;else{e=j[a>>1]|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=m[a+2>>1]|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0}
10 hd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=r;r=r+256|0;if((r|0)>=(s|0))ka();d=e;do if(!(Qc()|0)){if((a|0)<1|(b|0)==0){i[9064]=0;break}if(!(i[9064]|0)){i[9066]=0;i[9065]=0;c=(Qc()|0)==0;c=c?k[2254]|0:0;fc[k[c+56>>2]&63](c,256,d)|0;c=0;do{i[9067+c>>0]=c;c=c+1|0}while((c|0)!=256);c=0;do{f=9067+c|0;h=(l[d+c>>0]|0)+(l[f>>0]|0)+(l[9066]|0)|0;i[9066]=h;h=9067+(h&255)|0;g=i[h>>0]|0;i[h>>0]=i[f>>0]|0;i[f>>0]=g;c=c+1|0}while((c|0)!=256);i[9064]=1}while(1){f=(i[9065]|0)+1<<24>>24;i[9065]=f;f=9067+(f&255)|0;d=i[f>>0]|0;c=d&255;g=(l[9066]|0)+c|0;i[9066]=g;i[f>>0]=i[9067+(g&255)>>0]|0;i[9067+(l[9066]|0)>>0]=d;i[b>>0]=i[9067+((l[9067+(l[9065]|0)>>0]|0)+c&255)>>0]|0;a=a+-1|0;if(!a)break;else b=b+1|0}}while(0);r=e;return}function id(a,b){a=a|0;b=b|0;var c=0;if(a)if(!b)b=1;else{c=i[a>>0]|0;a:do if(!(c<<24>>24))c=0;else while(1){if((i[9328+(c&255)>>0]|0)!=(i[9328+(l[b>>0]|0)>>0]|0))break a;a=a+1|0;b=b+1|0;c=i[a>>0]|0;if(!(c<<24>>24)){c=0;break}}while(0);b=(l[9328+(c&255)>>0]|0)-(l[9328+(l[b>>0]|0)>>0]|0)|0}else b=((b|0)!=0)<<31>>31;return b|0}function jd(a){a=a|0;k[2241]=a;return 0}function kd(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,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();l=m;a:do if((c|0)==(a|0)){zg(c,1,10016,l);e=0}else{e=vg(48,0)|0;if(!e){k[a+52>>2]=7;e=k[a+236>>2]|0;if(!e){e=0;break}f=e+8|0;if(!(j[f>>1]&9312)){j[f>>1]=1;e=0;break}else{Ag(e);e=0;break}}g=e+0|0;f=g+48|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(f|0));g=Bg(a,c,d)|0;h=e+24|0;k[h>>2]=g;g=Bg(a,a,b)|0;d=e+4|0;k[d>>2]=g;k[e>>2]=a;k[e+20>>2]=c;k[e+16>>2]=1;k[e+40>>2]=0;f=k[h>>2]|0;do if(!((f|0)==0|(g|0)==0)?(Cg(g,k[(k[f+4>>2]|0)+32>>2]|0,-1,0)|0)!=7:0)if(!(i[(k[d>>2]|0)+8>>0]|0)){f=(k[h>>2]|0)+16|0;k[f>>2]=(k[f>>2]|0)+1;break a}else{zg(a,1,47416,l);break}while(0);$c(e);e=0}while(0);r=m;return e|0}function ld(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=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,B=0,C=0,D=0;D=r;r=r+32|0;if((r|0)>=(s|0))ka();z=D;n=D+16|0;q=D+12|0;w=D+8|0;B=a+24|0;d=k[B>>2]|0;e=k[d+4>>2]|0;k[e+4>>2]=k[d>>2];C=a+28|0;c=k[C>>2]|0;if(c>>>0<7?(30>>>(c&127)&1)==0:0){v=k[e>>2]|0;A=a+4|0;c=k[A>>2]|0;y=k[k[c+4>>2]>>2]|0;if((k[a>>2]|0)!=0?(i[e+20>>0]|0)==2:0){x=0;d=5}else t=5;do if((t|0)==5){e=a+12|0;if(!(k[e>>2]|0)){d=Dg(c,2)|0;if(d){x=0;break}k[e>>2]=1;x=k[A>>2]|0;d=k[x+4>>2]|0;k[d+4>>2]=k[x>>2];d=k[(k[d+12>>2]|0)+56>>2]|0;k[a+8>>2]=l[d+41>>0]<<16|l[d+40>>0]<<24|l[d+42>>0]<<8|l[d+43>>0];d=k[B>>2]|0}if(!(i[d+8>>0]|0)){x=1;d=Dg(d,0)|0}else{x=0;d=0}}while(0);g=k[(k[B>>2]|0)+4>>2]|0;u=k[g+32>>2]|0;m=k[(k[A>>2]|0)+4>>2]|0;p=k[m+32>>2]|0;m=(i[(k[m>>2]|0)+5>>0]|0)==5;c=(u|0)==(p|0)|(d|0)==0&m^1?d:8;g=k[g+44>>2]|0;e=(b|0)<0;a:do if(b){d=a+16|0;h=k[d>>2]|0;j=0;do{if(!(h>>>0<=g>>>0&(c|0)==0))break a;if((h|0)!=((((k[2514]|0)>>>0)/((k[(k[(k[B>>2]|0)+4>>2]|0)+32>>2]|0)>>>0)|0)+1|0)){c=Eg(v,h,n,2)|0;if(!c){f=k[n>>2]|0;c=Fg(a,h,k[f+4>>2]|0,0)|0;if(f)Gg(f)}}else c=0;h=(k[d>>2]|0)+1|0;k[d>>2]=h;j=j+1|0}while(e|(j|0)<(b|0))}while(0);if(!c){k[a+36>>2]=g;c=k[a+16>>2]|0;k[a+32>>2]=g+1-c;if(c>>>0<=g>>>0){c=a+40|0;if(!(k[c>>2]|0)){A=(k[k[(k[B>>2]|0)+4>>2]>>2]|0)+88|0;k[a+44>>2]=k[A>>2];k[A>>2]=a;k[c>>2]=1;c=0}else c=0}else t=22}else if((c|0)==101)t=22;do if((t|0)==22){if(!g){d=k[A>>2]|0;c=k[d+4>>2]|0;k[c+4>>2]=k[d>>2];k[c+44>>2]=0;c=Hg(c)|0;if((c|0)==0|(c|0)==101)g=1;else break}c=Ig(k[A>>2]|0,1,(k[a+8>>2]|0)+1|0)|0;if(!c){d=k[a>>2]|0;if(d)Jg(d);if(m?(o=Kg(k[A>>2]|0,2)|0,(o|0)!=0):0){c=o;break}if((u|0)<(p|0)){d=(p|0)/(u|0)|0;d=(g+-1+d|0)/(d|0)|0;e=k[2514]|0;f=k[(k[(k[A>>2]|0)+4>>2]|0)+32>>2]|0;d=(((d|0)==(((e>>>0)/(f>>>0)|0)+1|0))<<31>>31)+d|0;a=((u|0)<0)<<31>>31;o=xw(g|0,((g|0)<0)<<31>>31|0,u|0,a|0)|0;m=L;b=k[y+60>>2]|0;j=k[y+24>>2]|0;b:do if(d>>>0<=j>>>0){c=0;while(1){if((d|0)!=(((e>>>0)/(f>>>0)|0)+1|0)){c=Eg(y,d,q,0)|0;if(c)break b;e=k[q>>2]|0;c=Lg(e)|0;if(e)Gg(e)}d=d+1|0;e=(c|0)==0;if(d>>>0>j>>>0|e^1)break;f=k[(k[(k[A>>2]|0)+4>>2]|0)+32>>2]|0;e=k[2514]|0}if(e)t=38}else t=38;while(0);if((t|0)==38)c=Mg(y,0,1)|0;e=k[2514]|0;g=e+p|0;h=((g|0)<0)<<31>>31;f=(h|0)<(m|0)|(h|0)==(m|0)&g>>>0<o>>>0;g=f?g:o;h=f?h:m;e=e+u|0;f=((e|0)<0)<<31>>31;d=(c|0)==0;if(d&((f|0)<(h|0)|(f|0)==(h|0)&e>>>0<g>>>0))do{k[w>>2]=0;c=vw(e|0,f|0,u|0,a|0)|0;c=ow(c|0,L|0,1,0)|0;c=Eg(v,c,w,0)|0;d=k[w>>2]|0;if(!c)c=yc[k[(k[b>>2]|0)+12>>2]&31](b,k[d+4>>2]|0,u,e,f)|0;if(d)Gg(d);e=ow(e|0,f|0,u|0,a|0)|0;f=L;d=(c|0)==0}while(d&((f|0)<(h|0)|(f|0)==(h|0)&e>>>0<g>>>0));if(!d)break;c=wc[k[(k[b>>2]|0)+24>>2]&127](b,z)|0;w=k[z+4>>2]|0;if((c|0)==0&((w|0)>(m|0)|((w|0)==(m|0)?(k[z>>2]|0)>>>0>o>>>0:0)))c=fc[k[(k[b>>2]|0)+16>>2]&63](b,o,m)|0;if(c)break;c=Ng(y,0)|0}else{c=ha((u|0)/(p|0)|0,g)|0;k[y+24>>2]=c;c=Mg(y,0,0)|0}if(!c){c=Og(k[A>>2]|0,0)|0;c=(c|0)==0?101:c}}}while(0);if(x){Pg(k[B>>2]|0,0)|0;Og(k[B>>2]|0,0)|0}c=(c|0)==3082?7:c;k[C>>2]=c}r=D;return c|0}function md(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)b=0;else{f=k[a+20>>2]|0;c=k[a+24>>2]|0;b=k[c+4>>2]|0;k[b+4>>2]=k[c>>2];if(k[a>>2]|0){c=c+16|0;k[c>>2]=(k[c>>2]|0)+-1}if(k[a+40>>2]|0){b=(k[b>>2]|0)+88|0;while(1){c=k[b>>2]|0;if((c|0)==(a|0))break;else b=c+44|0}k[b>>2]=k[a+44>>2]}Qg(k[a+4>>2]|0,0,0);b=k[a+28>>2]|0;b=(b|0)==101?0:b;c=k[a>>2]|0;if(c){k[c+52>>2]=b;d=k[c+236>>2]|0;do if(d){e=d+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;break}else{Ag(d);c=k[a>>2]|0;break}}while(0);Rg(c);if(k[a>>2]|0)$c(a)}Rg(f)}return b|0}function nd(a){a=a|0;return k[a+32>>2]|0}function od(a){a=a|0;return k[a+36>>2]|0}function pd(a){a=a|0;if((a|0)!=0?(j[a+88>>1]&256)!=0:0)a=k[a+168>>2]|0;else a=0;return a|0}function qd(a){a=a|0;if(!a)a=1;else a=(j[a+88>>1]&8)!=0;return a&1|0}function rd(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;do if(a){b=k[a>>2]|0;if(!b){gd(21,47360,c);k[c>>2]=68910;k[c+4>>2]=10788;gd(21,13648,c);b=21;break}else{a=Tg(b,Sg(a)|0)|0;Rg(b);b=a;break}}else b=0;while(0);r=d;return b|0}function sd(a){a=a|0;var b=0,c=0;if(!a)a=0;else{b=Ug(a)|0;k[a+76>>2]=-1;k[a+80>>2]=0;i[a+86>>0]=2;k[a+40>>2]=-1108210269;k[a+92>>2]=0;k[a+72>>2]=1;i[a+87>>0]=-1;k[a+104>>2]=0;c=a+144|0;k[c>>2]=0;k[c+4>>2]=0;a=Tg(k[a>>2]|0,b)|0}return a|0}function td(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a+68|0;c=j[f>>1]|0;if(c<<16>>16>0){g=a+60|0;b=k[g>>2]|0;e=0;do{d=b+(e*40|0)|0;if(!((j[b+(e*40|0)+8>>1]&9312)==0?(k[b+(e*40|0)+24>>2]|0)==0:0)){Vg(d);b=k[g>>2]|0;c=j[f>>1]|0}j[b+(e*40|0)+8>>1]=1;e=e+1|0}while((e|0)<(c<<16>>16|0))}b=a+88|0;c=j[b>>1]|0;if((c&256)!=0?(k[a+188>>2]|0)!=0:0)j[b>>1]=c|8;return 0}function ud(a){a=a|0;var b=0;b=a+8|0;if(j[b>>1]&18){Wg(a)|0;j[b>>1]=m[b>>1]|0|16;if(!(k[a+12>>2]|0))b=0;else b=k[a+16>>2]|0}else b=Xg(a,1)|0;return b|0}function vd(a){a=a|0;return Xg(a,1)|0}function wd(a){a=a|0;return Yg(a,1)|0}function xd(a){a=a|0;return Yg(a,2)|0}function yd(a){a=a|0;return +(+Zg(a))}function zd(a){a=a|0;a=_g(a)|0;return a|0}function Ad(a){a=a|0;a=_g(a)|0;return a|0}function Bd(a){a=a|0;return Xg(a,2)|0}function Cd(a){a=a|0;return Xg(a,3)|0}function Dd(a){a=a|0;return Xg(a,2)|0}function Ed(a){a=a|0;return l[10064+((m[a+8>>1]|0)&31)>>0]|0|0}function Fd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,0,d);return}function Gd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))hc[e&31](b);if(a){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}}else $g(a,b,c,0,e);return}function Hd))d=Vh(a,b,c,1,0,57,0,0,0)|0;else d=0;return Tg(a,d)|0}function If(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+180|0;d=k[e>>2]|0;k[a+176>>2]=b;k[e>>2]=c;return d|0}function Jf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+188|0;d=k[e>>2]|0;k[a+184>>2]=b;k[e>>2]=c;return d|0}function Kf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+192|0;d=k[e>>2]|0;k[a+196>>2]=b;k[e>>2]=c;return d|0}function Lf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+208|0;d=k[e>>2]|0;k[a+212>>2]=b;k[e>>2]=c;return d|0}function Mf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+200|0;d=k[e>>2]|0;k[a+204>>2]=b;k[e>>2]=c;return d|0}function Nf(a,b){a=a|0;b=b|0;var c=0;if((b|0)>0)c=21;else{b=0;c=0}k[a+216>>2]=c;k[a+220>>2]=b;return 0}function Of(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+220|0;d=k[e>>2]|0;k[a+216>>2]=b;k[e>>2]=c;return d|0}function Pf(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;l=r;r=r+16|0;if((r|0)>=(s|0))ka();f=l;if(d)k[d>>2]=-1;if(e)k[e>>2]=-1;if(c>>>0>3)b=21;else{if((b|0)!=0?(i[b>>0]|0)!=0:0){g=_h(a,b)|0;if((g|0)<0){k[f>>2]=b;zg(a,1,10952,f);b=1}else h=10}else{g=10;h=10}do if((h|0)==10){k[a+452>>2]=0;b=$h(a,g,c,d,e)|0;k[a+52>>2]=b;f=k[a+236>>2]|0;if(f){g=f+8|0;if(!(j[g>>1]&9312)){j[g>>1]=1;break}else{Ag(f);break}}}while(0);b=Tg(a,b)|0}r=l;return b|0}function Qf(a,b){a=a|0;b=b|0;return Pf(a,b,0,0,0)|0}function Rf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;do if(a){b=k[a+76>>2]|0;if(!((b|0)==1266094736|(b|0)==-1607883113|(b|0)==-264537850)){k[e>>2]=15248;gd(21,15256,e);b=11008;break}f=a+65|0;if(!(i[f>>0]|0)){d=a+236|0;b=Xg(k[d>>2]|0,2)|0;if(!b){c=k[a+52>>2]|0;if((c|0)!=516){b=c&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344;zg(a,c,b,e);b=Xg(k[d>>2]|0,2)|0}i[f>>0]=0}else b=10976}else b=10976;while(0);r=g;return b|0}function Sf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129704;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+56>>2]&k[a+52>>2];else a=7}else a=7;while(0);r=c;return a|0}function Tf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129713;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+52>>2]|0;else a=7}else a=7;while(0);r=c;return a|0}function Uf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=k[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Vf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0<=11){d=a+(b<<2)+88|0;a=k[d>>2]|0;if((c|0)>-1){b=k[11088+(b<<2)>>2]|0;k[d>>2]=(b|0)<(c|0)?b:c}}else a=-1;return a|0}function Wf(a,b){a=a|0;b=b|0;return ai(a,b,6,0)|0}function Xf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ai(a,b,c,d)|0}function Yf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[b>>2]=0;c=Qc()|0;if(!c){e=vg(40,0)|0;if(e){a=(a|0)==0?11136:a;c=e+0|0;d=c+40|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(d|0));j[e+8>>1]=1;k[e+32>>2]=0;ah(e,a,-1,2,0)|0}a=Xg(e,1)|0;if(a){c=ai(a,b,6,0)|0;if(!c){c=k[b>>2]|0;a=k[(k[c+16>>2]|0)+12>>2]|0;if(!(j[a+78>>1]&1)){i[c+62>>0]=2;i[a+77>>0]=2;c=0}else c=0}}else c=7;Rh(e);c=c&255}return c|0}function Zf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Tg(a,bi(a,b,c&255,d,e,0)|0)|0}function _f(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 Tg(a,bi(a,b,c&255,d,e,f)|0)|0}function $f(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Wh(a,b,-1)|0;if(!b)b=0;else{c=bi(a,b,c&255,d,e,0)|0;rg(a,b);b=c}return Tg(a,b)|0}function ag(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=c;k[a+228>>2]=0;k[a+232>>2]=b;return 0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=0;k[a+228>>2]=c;k[a+232>>2]=b;return 0}function cg(a){a=a|0;return l[a+63>>0]|0|0}function dg(){return}function eg(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 m=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+16|0;if((r|0)>=(s|0))ka();x=z;y=z+8|0;k[y>>2]=0;n=k[a+20>>2]|0;if((n|0)>0){m=k[a+16>>2]|0;p=0;do{o=k[m+(p<<4)+4>>2]|0;if(o)k[(k[o+4>>2]|0)+4>>2]=k[o>>2];p=p+1|0}while((p|0)!=(n|0))}m=ci(a,y)|0;w=(m|0)!=0;a:do if((!w?(u=di(a,c,b)|0,(u|0)!=0):0)?(k[u+12>>2]|0)==0:0){do if(d){t=j[u+38>>1]|0;b:do if(t<<16>>16>0){b=k[u+4>>2]|0;n=t<<16>>16;q=0;while(1){o=b+(q*24|0)|0;p=q+1|0;if(!(id(k[o>>2]|0,d)|0)){p=q;break b}if((p|0)<(n|0))q=p;else break}}else{p=0;o=0}while(0);if((p|0)==(t<<16>>16|0)){if(i[u+44>>0]&32){b=0;t=0;u=0;o=0;q=0;p=0;break a}if(!(ei(d)|0)){b=0;t=0;u=0;o=0;q=0;p=0;break a}v=j[u+36>>1]|0;n=v<<16>>16;if(v<<16>>16<=-1){b=0;q=0;n=1;v=0;p=11144;break}p=n;o=(k[u+4>>2]|0)+(n*24|0)|0}if(o){if((j[u+36>>1]|0)==(p|0))n=(i[u+44>>0]&8)!=0;else n=0;b=n&1;q=(i[o+20>>0]|0)!=0&1;n=i[o+23>>0]&1;v=k[o+16>>2]|0;p=k[o+12>>2]|0}else{b=0;q=0;n=1;v=0;p=11144}}else{b=0;q=0;n=1;v=0;p=11144}while(0);t=q;o=n;q=(v|0)==0?11152:v}else{b=0;t=0;u=0;o=0;q=0;p=0}while(0);if(e)k[e>>2]=p;if(f)k[f>>2]=q;if(g)k[g>>2]=t;if(h)k[h>>2]=o;if(l)k[l>>2]=b;n=k[y>>2]|0;if(!(w|(u|0)!=0)){rg(a,n);k[x>>2]=c;k[x+4>>2]=d;n=zh(a,11160,x)|0;k[y>>2]=n;m=1}k[x>>2]=n;zg(a,m,(n|0)!=0?10344:0,x);rg(a,k[y>>2]|0);w=Tg(a,m)|0;r=z;return w|0}function fg(a){a=a|0;var b=0;if((Qc()|0)==0?(b=k[2254]|0,(b|0)!=0):0)a=(wc[k[b+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function gg(a,b){a=a|0;b=b|0;k[a+56>>2]=(b|0)!=0?-1:255;return 0}function hg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=fi(a,b)|0;do if(b){a=k[b+4>>2]|0;k[a+4>>2]=k[b>>2];a=k[(k[a>>2]|0)+60>>2]|0;if((c|0)==7){k[d>>2]=a;b=0;break}b=k[a>>2]|0;if(!b)b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ke+160|0;Rc=ke+644|0;qd=ke+152|0;Gd=ke+112|0;cd=ke+640|0;Id=ke+636|0;Uc=ke+632|0;rd=ke+628|0;xd=ke+624|0;td=ke+604|0;yd=ke+600|0;jd=ke+596|0;ud=ke+576|0;Pc=ke+840|0;zd=ke+572|0;Md=ke+104|0;Ad=ke+568|0;Zc=ke+564|0;_c=ke+96|0;Od=ke+88|0;Bd=ke+560|0;Cd=ke+556|0;Dd=ke+552|0;vd=ke+532|0;wd=ke+512|0;bd=ke+508|0;sd=ke+504|0;Vc=ke+488|0;Jd=ke+48|0;Sc=ke+456|0;Oc=ke+444|0;Hd=ke+8|0;pd=ke+440|0;Fd=ke+412|0;Ed=ke;tc=a+4|0;f=k[tc>>2]|0;he=k[a>>2]|0;Gc=i[he+62>>0]|0;Kc=a+8|0;v=k[Kc>>2]|0;je=he+32|0;c=je;d=k[c>>2]|0;c=k[c+4>>2]|0;ie=a+80|0;a:do if((k[ie>>2]|0)==7){u=he+65|0;v=a+44|0;e=d;b=0;g=0;d=0;ee=1317}else{k[ie>>2]=0;$d=a+136|0;k[$d>>2]=0;k[$d+4>>2]=0;$d=a+20|0;k[$d>>2]=0;k[he+452>>2]=0;zc=he+240|0;b:do if(!(k[zc>>2]|0)){Zd=he+292|0;if(k[Zd>>2]|0){e=k[a+124>>2]|0;b=he+300|0;u=k[b>>2]|0;if(!e)sc=b;else{sc=b;u=(e>>>0)%(u>>>0)|0}}else{sc=he+300|0;u=0}de=a+76|0;ce=he+65|0;Vd=he+296|0;pb=a+176|0;qb=a+184|0;rb=a+92|0;sb=he+80|0;tb=he+84|0;ub=Gc&255;vb=Gc<<24>>24==1;wb=he+88|0;xb=a+60|0;Wd=a+144|0;be=a+86|0;fe=a+44|0;yb=a+12|0;zb=Rc+4|0;Ab=Rc+16|0;Bb=Rc+12|0;Cb=Rc+25|0;Db=Rc+20|0;Eb=a+200|0;Fb=a+56|0;Xd=a+72|0;Gb=Gd+16|0;Hb=Gd+8|0;Ib=Gd+24|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+((k[f+(g*20|0)+8>>2]|0)*40|0)|0)|0;n=Xg(Hd,1)|0;k:do if(n){w=di(he,n,k[(k[Td>>2]|0)+(k[f+(g*20|0)+4>>2]<<4)>>2]|0)|0;b=k[k[w+56>>2]>>2]|0;n=gn($a,b,Tc)|0;if((n|0)!=0?(Lc=k[n+8>>2]|0,(Lc|0)!=0):0){b=En(he,w,Lc,k[(k[Lc>>2]|0)+4>>2]|0,fe)|0;if(b)break;w=w+60|0;b=k[w>>2]|0;if(!b){b=0;break}while(1){if((k[b>>2]|0)==(he|0))break;b=k[b+24>>2]|0;if(!b){b=0;break k}}b=Dn(he)|0;if(b)break;b=k[w>>2]|0;l:do if(!b)b=0;else while(1){if((k[b>>2]|0)==(he|0))break l;b=k[b+24>>2]|0;if(!b){b=0;break}}while(0);Q=k[Wa>>2]|0;k[Wa>>2]=Q+1;k[(k[Xa>>2]|0)+(Q<<2)>>2]=b;b=b+12|0;k[b>>2]=(k[b>>2]|0)+1;b=0;break}k[ge>>2]=b;b=zh(he,28320,ge)|0;k[fe>>2]=b;b=1}while(0);if((j[Za>>1]&9312)==0&(k[_a>>2]|0)==0){z=I;P=g;n=b}else{Vg(Hdge);f=11;ee=1309;break}case 1316:{ih(fe,he,10096,ge);e=d;f=18;d=h;ee=1311;break a}}if((ee|0)==41)if((Wl(a)|0)==5){k[ie>>2]=5;e=d;d=b;b=5;break a}else{e=d;d=b;b=(k[ie>>2]|0)!=0?1:101;break a}else if((ee|0)==1309){e=d;g=g+1|0;d=h;ee=1311;break a}else if((ee|0)==1318){h=(i[ce>>0]|0)==0?h:7;if((h|0)==3082){e=d;f=3082;d=q;ee=1311;break a}else if((h|0)!=516){e=h&255;if(e>>>0>26|(e|0)==2)f=16328;else f=k[15488+(e<<2)>>2]|0}else f=16344;k[ge>>2]=f;ih(fe,he,10344,ge);e=d;f=h;d=q;ee=1311;break a}}else{h=a+44|0;e=d;b=0;g=0;d=0}while(0);k[ie>>2]=9;k[ge>>2]=15832;ih(h,he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,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx,tx];var xc=[Cx,ue];var yc=[Dx,pi,se,ye,Ae,Zf,$f,Ve,af,bf,We,cf,gf,Oc,Pf,Ji,Ki,hk,ik,vk,Jk,Zn,_n,Dx,Dx,Dx,Dx,Dx,Dx,Dx,Dx,Dx];return{_i64Subtract:iw,_strcat:mw,_free:aw,_main:Hc,_realloc:bw,_i64Add:ow,_memmove:qw,_bitshift64Ashr:jw,_strlen:lw,_memset:kw,_malloc:$v,_memcpy:pw,_bitshift64Lshr:rw,_llvm_bswap_i32:sw,_bitshift64Shl:nw,runPostSets:hw,_emscripten_replace_memory:_emscripten_replace_memory,stackAlloc:zc,stackSave:Ac,stackRestore:Bc,setThrew:Cc,setTempRet0:Fc,getTempRet0:Gc,dynCall_iiiiiiii:Bw,dynCall_iiii:Cw,dynCall_viiiiii:Dw,dynCall_vi:Ew,dynCall_viiiii:Fw,dynCall_dii:Gw,dynCall_vid:Hw,dynCall_di:Iw,dynCall_i:Jw,dynCall_iiiiiiiiii:Kw,dynCall_vii:Lw,dynCall_iiiiiii:Mw,dynCall_ii:Nw,dynCall_viii:Ow,dynCall_v:Pw,dynCall_iiiiiiiii:Qw,dynCall_iiiii:Rw,dynCall_viiii:Sw,dynCall_iii:Tw,dynCall_iiid:Uw,dynCall_iiiiii:Vw}})