Lines Matching refs:Kc
5 Kc(11264+(m[12208+(c<<1)>>1]|0)|0,a,b)|0)==0:0)break;c=i[11952+c>>0]|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=l[12456+c>>0]|0}else c=27;while(0);return c|0}function li(a){a=a|0;var b=0,c=0,d=0;k[2174]=a;if((k[2184]|0)>>>0<a>>>0)k[2184]=a;c=k[2264]|0;if((c|0)==0|(k[2235]|0)<(a|0)){b=vg(a,((a|0)<0)<<31>>31)|0;if((k[2186]|0)!=0&(b|0)!=0?(d=qc[k[8744+48>>2]&127](b)|0,d=(k[2170]|0)+d|0,k[2170]=d,d>>>0>(k[2180]|0)>>>0):0)k[2180]=d}else{b=k[2263]|0;k[2263]=k[b>>2];k[2264]=c+-1;a=(k[2169]|0)+1|0;k[2169]=a;if(a>>>0>(k[2179]|0)>>>0)k[2179]=a}return b|0}function mi(a){a=a|0;var b=0;do if(a){if((k[2234]|0)>>>0<=a>>>0&(k[2262]|0)>>>0>a>>>0){k[a>>2]=k[2263];k[2263]=a;k[2264]=(k[2264]|0)+1;k[2169]=(k[2169]|0)+-1;break}if(!(k[2186]|0)){hc[k[8744+40>>2]&31](a);break}else{b=qc[k[8744+48>>2]&127](a)|0;k[2170]=(k[2170]|0)-b;k[2166]=(k[2166]|0)-b;k[2175]=(k[2175]|0)+-1;hc[k[8744+40>>2]&31](a);break}}while(0);return}function ni(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();e=g;d=i[a>>0]|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=i[e>>0]|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((l[11248+e>>0]|0|0)==(f|0)?(KcKcd>>>16;i[n>>0]=d>>>8;i[h>>0]=d;b=yc[k[(k[p>>2]|0)+12>>2]&31](p,z,4,b,L)|0;if(b)break b;b=(k[u>>2]|0)+8|0;p=t;p=ow(b|0,((b|0)<0)<<31>>31|0,k[p>>2]|0,k[p+4>>2]|0)|0;b=t;k[b>>2]=p;k[b+4>>2]=L;b=A+44|0;k[b>>2]=(k[b>>2]|0)+1;b=gi(k[v>>2]|0,k[w>>2]|0)|0;b=ol(A,k[w>>2]|0)|0|b;if(!b){t=34;break}else break b}if((i[u>>0]|0)!=4){t=a+24|0;j[t>>1]=m[t>>1]|4;t=34}else t=34}else t=34;else if((k[A+96>>2]|0)!=0?(Zo(a)|0)!=0:0)t=34;else b=0;while(0);if((t|0)==34)if((k[A+96>>2]|0)>0?(Zo(a)|0)!=0:0)b=_o(a)|0;else b=0;d=A+24|0;c=k[w>>2]|0;if((k[d>>2]|0)>>>0<c>>>0)k[d>>2]=c}while(0);r=B;return b|0}function Al(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+128|0;if((r|0)>=(s|0))ka();h=i;d=k[a>>2]|0;c=(d|0)==0;if(!c){b=d;do{a=b;b=k[b+32>>2]|0;k[a+12>>2]=b}while((b|0)!=0);b=h+0|0;a=b+128|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(a|0));if(c)a=0;else{f=h+124|0;do{b=d+12|0;a=d;d=k[b>>2]|0;k[b>>2]=0;b=0;do{e=h+(b<<2)|0;c=k[e>>2]|0;if(!c){c=e;g=8;break}a=$o(c,a)|0;k[e>>2]=0;b=b+1|0}while((b|0)<31);if((g|0)==8){g=0;k[c>>2]=a}if((b|0)==31){a=$o(k[f>>2]|0,a)|0;k[f>>2]=a}}while((d|0)!=0);a=k[h>>2]|0}}else{b=h+0|0;a=b+128|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=$o(a,k[h+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=32);r=i;return a|0}function Bl(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,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,E=0,F=0,G=0,H=0,I=0;I=r;r=r+80|0;if((r|0)>=(s|0))ka();n=I+32|0;o=I+28|0;z=I;q=I+40|0;G=I+24|0;k[G>>2]=b;w=(d|0)==0;if(!w){k[G>>2]=b;if(!b){b=0;h=0}else{h=0;g=G;do{x=(k[b+20>>2]|0)>>>0>c>>>0;D=b+12|0;h=h+(x&1^1)|0;g=x?g:D;b=k[D>>2]|0;k[g>>2]=b}while((b|0)!=0);b=k[G>>2]|0}}else h=1;D=a+192|0;k[D>>2]=(k[D>>2]|0)+h;if((k[b+20>>2]|0)==1)Dl(b);E=k[a+208>>2]|0;F=k[a+152>>2]|0;p=i[a+10>>0]|0;x=p&255;f=E+40|0;if(!(j[f>>1]|0)){do if(k[(k[k[E+32>>2]>>2]|0)+96>>2]|0){hd(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>>0]=24;i[q+8>>0]=F>>>24;i[q+9>>0]=F>>>16;i[q+10>>0]=F>>>8;i[q+11>>0]=F;v=k[E+104>>2]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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}
7 function Yt(a,b){a=a|0;b=b|0;var c=0;if(b&1)if(!(k[a+12>>2]|0))b=(k[a+20>>2]|0)==0?12:28;else b=28;else b=48;if((k[a+4>>2]&1024|0)==0?(c=k[a+8>>2]|0,(c|0)!=0):0){a=c;while(1)if(!(i[a>>0]|0))break;else a=a+1|0;b=(b|1)+(a-c&1073741823)|0}return b+7&-8|0}function Zt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[a>>2]|0;g=d+20|0;c=k[g>>2]|0;if((c|0)>0){f=0;e=k[d+16>>2]|0;while(1){d=k[(k[e+12>>2]|0)+16>>2]|0;if(d){c=d;do{_t(a,k[c+8>>2]|0,b);c=k[c>>2]|0}while((c|0)!=0);c=k[g>>2]|0}f=f+1|0;if((f|0)>=(c|0))break;else e=e+16|0}}return}function _t(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,l=0,m=0,n=0;d=k[b+8>>2]|0;if(d){m=(c|0)==0;i=b+68|0;l=a+408|0;do{a:do if(!m){g=d+32|0;b=j[d+48>>1]|0;if(b<<16>>16){f=k[d+4>>2]|0;b=b&65535;e=0;do{if((j[f+(e<<1)>>1]|0)>-1?(id(k[(k[g>>2]|0)+(e<<2)>>2]|0,c)|0)==0:0){n=9;break a}e=e+1|0}while((e|0)<(b|0))}}else n=9;while(0);if((n|0)==9){n=0;b=k[a>>2]|0;e=k[i>>2]|0;b:do if(e){h=k[b+20>>2]|0;if((h|0)>0){f=k[b+16>>2]|0;g=0;while(1){b=g+1|0;if((k[f+(g<<4)+12>>2]|0)==(e|0)){b=g;break b}if((b|0)<(h|0))g=b;else break}}else b=0}else b=-1e6;while(0);h=k[l>>2]|0;Fr(a,b);h=((h|0)==0?a:h)+328|0;k[h>>2]=k[h>>2]|1<<b;As(a,d,-1)}d=k[d+20>>2]|0}while((d|0)!=0)}return}function $t(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[(k[(k[a>>2]|0)+16>>2]|0)+(b<<4)+12>>2]|0;f=k[a+408>>2]|0;Fr(a,b);f=((f|0)==0?a:f)+328|0;k[f>>2]=k[f>>2]|1<<b;f=a+68|0;d=k[f>>2]|0;k[f>>2]=d+3;mv(a,b,d,0,0);e=(k[a+72>>2]|0)+1|0;f=k[f>>2]|0;c=k[c+16>>2]|0;if(c)do{nv(a,k[c+8>>2]|0,0,d,e,f);c=k[c>>2]|0}while((c|0)!=0);ov(a,b);return}function au(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=k[a>>2]|0;g=k[b+68>>2]|0;a:do if(g){h=k[d+20>>2]|0;if((h|0)>0){e=k[d+16>>2]|0;d=0;while(1){f=d+1|0;if((k[e+(d<<4)+12>>2]|0)==(g|0)){f=d;break a}if((f|0)<(h|0))d=f;else break}}else f=0}else f=-1e6;while(0);d=k[a+408>>2]|0;Fr(a,f);d=((d|0)==0?a:d)+328|0;k[d>>2]=k[d>>2]|1<<f;d=a+68|0;e=k[d>>2]|0;k[d>>2]=e+3;if(!c)mv(a,f,e,k[b>>2]|0,28544);else mv(a,f,e,k[c>>2]|0,28536);nv(a,b,c,e,(k[a+72>>2]|0)+1|0,k[d>>2]|0);ov(a,f);return}function bu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=((c|0)/2|0)+1|0;e=rh(a,e,((e|0)<0)<<31>>31)|0;a=c+-1|0;if(e){if((a|0)>0){d=0;do{f=i[b+d>>0]|0;g=i[b+(d|1)>>0]|0;i[e+((d|0)/2|0)>>0]=(0-(g>>>6&1)&9)+g&15|(0-(f>>>6&1)&9)+f<<4;d=d+2|0}while((d|0)<(a|0));a=(c&-2|0)/2|0}else a=0;i[e+a>>0]=0}return e|0}function cu(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();f=j+8|0;h=j;g=k[a+8>>2]|0;e=b+8|0;do if(!(k[b+4>>2]&1024)){e=k[e>>2]|0;b=oi(e,h)|0;if((b|0)!=0?!((b|0)==2&(c|0)!=0):0)if(!(KcKc(q,25568,7)|0)!=0):0){l=k[b+68>>2]|0;a:do if(l){h=k[D+20>>2]|0;if((h|0)>0){g=k[D+16>>2]|0;o=0;while(1){n=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(l|0)){n=o;break a}if((n|0)<(h|0))o=n;else break}}else n=0}else n=-1e6;while(0);if(!(Xq(a,28,q,0,k[(k[D+16>>2]|0)+(n<<4)>>2]|0)|0)){ls(a,n,k[p>>2]|0,0,k[b>>2]|0);w=f+1|0;C=f+2|0;q=a+68|0;B=k[q>>2]|0;k[q>>2]=(B|0)>(C|0)?B:C;Vq(a,f,n,b,54);q=k[b>>2]|0;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}function pv(a){a=a|0;var b=0,c=0,d=0;a:while(1){b=k[a+4>>2]|0;do if(b&4096)if(!(b&262144)){a=a+12|0;break}else{a=k[(k[a+20>>2]|0)+4>>2]|0;break}else{if(b&512){a=0;break a}switch(i[a>>0]|0){case -102:case -100:case -97:{d=11;break a}case 38:{d=10;break a}case 119:break;default:{d=14;break a}}a=k[(k[k[a+20>>2]>>2]|0)+4>>2]|0}while(0);a=k[a>>2]|0}if((d|0)==10)a=ar(k[a+8>>2]|0,0)|0;else if((d|0)==11){c=k[a+44>>2]|0;if(c){b=j[a+32>>1]|0;if(b<<16>>16<0)a=68;else a=i[(k[c+4>>2]|0)+((b<<16>>16)*24|0)+21>>0]|0}else d=14}if((d|0)==14)a=i[a+1>>0]|0;return a|0}function qv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Bh(a,25,0,c,0)|0;d=Bh(a,108,b,0,0)|0;Bh(a,47,b,0,c)|0;b=k[a+4>>2]|0;c=k[a+32>>2]|0;if(b)i[b+((c+-1|0)*20|0)+3>>0]=-128;if(c>>>0>d>>>0)k[b+(d*20|0)+8>>2]=c;k[(k[a+24>>2]|0)+88>>2]=c+-1;return}function rv(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,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,E=0;E=r;r=r+32|0;if((r|0)>=(s|0))ka();z=E;C=a+68|0;D=k[C>>2]|0;k[C>>2]=D+1;C=Tq(a)|0;A=(c&4|0)!=0;B=b+4|0;a:do if((((((((((((k[B>>2]&2048|0)!=0?(h=k[b+20>>2]|0,!((k[a+64>>2]|0)!=0|(h|0)==0)):0)?(k[h+52>>2]|0)==0:0)?(j[h+6>>1]&5)==0:0)?(k[h+60>>2]|0)==0:0)?(k[h+36>>2]|0)==0:0)?(g=k[h+32>>2]|0,(k[g>>2]|0)==1):0)?(k[g+28>>2]|0)==0:0)?(t=k[g+24>>2]|0,(t|0)!=0):0)?(i[t+44>>0]&16)==0:0)?(f=k[h>>2]|0,(k[f>>2]|0)==1):0)?(n=k[k[f+4>>2]>>2]|0,(i[n>>0]|0)==-102):0){x=k[a>>2]|0;y=j[n+32>>1]|0;m=k[t+68>>2]|0;b:do if(m){g=k[x+20>>2]|0;if((g|0)>0){f=k[x+16>>2]|0;e=0;while(1){h=e+1|0;if((k[f+(e<<4)+12>>2]|0)==(m|0)){h=e;break b}if((h|0)<(g|0))e=h;else break}}else h=0}else h=-1e6;while(0);v=h<<16>>16;Fr(a,v);ls(a,v,k[t+32>>2]|0,0,k[t>>2]|0);w=y<<16>>16;if(y<<16>>16<0){e=Tq(a)|0;d=a+80|0;f=k[d>>2]|0;k[d>>2]=f+1;f=Bh(e,44,f,0,0)|0;Vq(a,D,v,t,54);e=k[C+32>>2]|0;if(e>>>0>f>>>0)k[(k[C+4>>2]|0)+(f*20|0)+8>>2]=e;k[(k[C+24>>2]|0)+88>>2]=e+-1;e=1;m=49;break}e=Tu(a,k[b+12>>2]|0,n)|0;u=t+4|0;m=i[(k[u>>2]|0)+(w*24|0)+21>>0]|0;h=(sv(b)|0)<<24>>24;if((h|0)==65)h=1;else if((h|0)==66)h=m<<24>>24==66&1;else h=m<<24>>24>66&1;m=k[t+8>>2]|0;if((m|0)!=0&(h|0)!=0){n=x+62|0;h=a+80|0;g=a+8|0;f=(d|0)==0;o=C+32|0;q=C+4|0;t=C+24|0;p=a+72|0;c:while(1){do if((j[k[m+4>>2]>>1]|0)==y<<16>>16?(bo(x,i[n>>0]|0,k[k[m+32>>2]>>2]|0,0)|0)==(e|0):0){if(!A)break c;if((j[m+46>>1]|0)!=1)break;if(i[m+50>>0]|0)break c}while(0);m=k[m+20>>2]|0;if(!m){m=38;break a}}B=Tq(a)|0;e=k[h>>2]|0;k[h>>2]=e+1;h=Bh(B,44,e,0,0)|0;Bh(C,54,D,k[m+40>>2]|0,v)|0;e=k[g>>2]|0;Ch(e,-1,ms(a,m)|0,-6);e=(l[k[m+28>>2]>>0]|0)+3|0;if(!f?(i[(k[u>>2]|0)+(w*24|0)+20>>0]|0)==0:0){B=(k[p>>2]|0)+1|0;k[p>>2]=B;k[d>>2]=B;qv(C,D,B)}f=k[o>>2]|0;if(f>>>0>h>>>0)k[(k[q>>2]|0)+(h*20|0)+8>>2]=f;k[(k[t>>2]|0)+88>>2]=f+-1;m=49}else m=38}else m=38;while(0);do if((m|0)==38){if((c&1|0)!=0?(k[B>>2]&2048|0)==0:0){c=b+12|0;y=k[c>>2]|0;k[c>>2]=0;k[z+0>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;k[z+12>>2]=0;k[z+16>>2]=0;k[z+20>>2]=0;C=z+20|0;i[C>>0]=1;k[z>>2]=78;k[z+4>>2]=79;k[z+24>>2]=0;ws(z,b)|0;C=i[C>>0]|0;k[c>>2]=y;if(!(C<<24>>24)){e=5;m=49;break}if((k[k[b+20>>2]>>2]|0)<3){e=5;m=49;break}}g=a+424|0;h=k[g>>2]|0;if(A){k[g>>2]=0;if((j[(k[b+12>>2]|0)+32>>1]|0)<0){e=((k[B>>2]|0)>>>11&1)+1|0;f=0}else{e=2;f=0}}else if(!d){e=2;f=0}else{e=a+72|0;f=(k[e>>2]|0)+1|0;k[e>>2]=f;k[d>>2]=f;e=2}ju(a,b,f,(e|0)==1&1)|0;k[g>>2]=h}while(0);if((m|0)==49)k[b+28>>2]=D;r=E;return e|0}function sv(a){a=a|0;var b=0,c=0;b=pv(k[a+12>>2]|0)|0;c=k[a+16>>2]|0;do if(!c)if(!(k[a+4>>2]&2048))return (b<<24>>24==0?65:b)|0;else{b=Gu(k[k[(k[k[a+20>>2]>>2]|0)+4>>2]>>2]|0,b)|0;break}else b=Gu(c,b)|0;while(0);return b|0}function tv(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,l=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,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;Z=r;r=r+16|0;if((r|0)>=(s|0))ka();W=Z;U=k[a>>2]|0;X=f+28|0;k[X>>2]=-1;T=f+44|0;k[T>>2]=0;a:do if((b|0)!=0?(j[e+28>>1]&20)==0:0){o=k[U+20>>2]|0;if((o|0)>0){m=k[U+16>>2]|0;n=0;while(1){if(!(id(k[m+(n<<4)>>2]|0,b)|0))break;n=n+1|0;if((n|0)>=(o|0)){S=b;b=0;break a}}S=b;b=k[m+(n<<4)+12>>2]|0}else{S=b;b=0}}else{S=0;b=0}while(0);Q=(S|0)==0;N=Q&(c|0)!=0;h=a+412|0;I=a+436|0;J=f+1|0;Y=f+32|0;K=a+428|0;M=a+432|0;R=(c|0)==0;P=f+4|0;g=e;p=0;l=0;o=0;n=0;b:while(1){H=(g|0)!=0;m=g+4|0;G=g+8|0;q=0;t=p;while(1){p=(q|0)==0;if(!(H&p)){V=82;break b}q=k[m>>2]|0;if(q){F=k[q>>2]|0;if((F|0)>0){p=0;E=0;D=q+8|0;while(1){C=k[D+16>>2]|0;u=k[D+20>>2]|0;if((u|0)!=0?(j[u+6>>1]&512)!=0:0){u=k[u>>2]|0;A=k[u>>2]|0;if((A|0)>0){B=k[u+4>>2]|0;u=0;w=0;do{if(Av(k[B+(w*20|0)+8>>2]|0,d,c,S)|0){j[Y>>1]=w;p=p+1|0;t=2;u=1;n=D}w=w+1|0}while((w|0)<(A|0))}else u=0;if(!((u|0)!=0|R)){v=t;V=21}}else{v=t;V=21}c:do if((V|0)==21){V=0;if(!Q?(k[C+68>>2]|0)!=(b|0):0){t=v;break}if(!R){u=k[D+12>>2]|0;if(!u)u=k[C>>2]|0;if(id(u,c)|0){t=v;break}}t=v+1|0;n=(v|0)==0?D:n;u=j[C+38>>1]|0;if(u<<16>>16>0){q=(p|0)==1;x=D+36|0;y=D+48|0;A=0;B=k[C+4>>2]|0;d:while(1){e:do if(!(id(k[B>>2]|0,d)|0)){if(!q){n=A;break d}if(!(i[x>>0]&4)){w=k[y>>2]|0;if(!w){n=A;break d}z=k[w+4>>2]|0;if((z|0)<=0){n=A;break d}w=k[w>>2]|0;v=0;while(1){if(!(id(k[w+(v<<3)>>2]|0,d)|0))break e;v=v+1|0;if((v|0)>=(z|0)){n=A;break d}}}}while(0);A=A+1|0;if((A|0)>=(u<<16>>16|0))break c;else B=B+24|0}j[Y>>1]=(n|0)==(j[C+36>>1]|0)?-1:n&65535;p=p+1|0;n=D}}while(0);E=E+1|0;if((E|0)>=(F|0))break;else D=D+72|0}}else p=0;if(!n)B=0;else{k[X>>2]=k[n+40>>2];q=k[n+16>>2]|0;k[T>>2]=q;if(i[n+36>>0]&8)k[P>>2]=k[P>>2]|1048576;B=n;b=k[q+68>>2]|0}}else{p=0;B=n}do if(N&(t|0)==0)if(k[h>>2]|0){q=i[I>>0]|0;if(q<<24>>24!=109)if(id(27560,c)|0)if(q<<24>>24==108){v=p;t=0;w=l;break}else V=49;else w=1;else V=49;if((V|0)==49){V=0;if(!(id(27568,c)|0))w=0;else{v=p;t=0;w=l;break}}k[X>>2]=w;v=k[h>>2]|0;if(v){b=k[v+68>>2]|0;u=j[v+38>>1]|0;f:do if(u<<16>>16>0){q=0;t=k[v+4>>2]|0;while(1){if(!(id(k[t>>2]|0,d)|0))break;q=q+1|0;if((q|0)<(u<<16>>16|0))t=t+24|0;else break f}q=(q|0)==(j[v+36>>1]|0)?-1:q}else q=0;while(0);n=u<<16>>16;if((q|0)>=(n|0)?(ei(d)|0)!=0:0)t=(i[v+44>>0]&32)==0?-1:q;else t=q;if((t|0)<(n|0)){p=p+1|0;do if((t|0)>=0){q=(t|0)>31?-1:1<<t;if(!w){k[K>>2]=k[K>>2]|q;break}else{k[M>>2]=k[M>>2]|q;break}}else i[J>>0]=68;while(0);j[Y>>1]=t;k[T>>2]=v;t=1;l=1;V=66}else{t=1;V=66}}else{v=p;t=0;w=l}}else{v=p;t=0;w=l}else V=66;while(0);if((V|0)==66){V=0;if((p|0)==0&(t|0)==1&(B|0)!=0)if((ei(d)|0)!=0?(i[(k[B+16>>2]|0)+44>>0]&32)==0:0){j[Y>>1]=-1;i[J>>0]=68;q=1;n=B;continue}else{v=0;w=l}else{v=p;w=l}}p=k[G>>2]|0;u=(v|0)==0;if((p|0)!=0&R&u?(O=k[p>>2]|0,(O|0)>0):0){l=k[p+4>>2]|0;n=0;do{q=k[l+(n*20|0)+4>>2]|0;if((q|0)!=0?(id(q,d)|0)==0:0){V=75;break b}n=n+1|0}while((n|0)<(O|0))}if(u){q=t;l=w;n=B;break}else{q=v;l=w;n=B}}g=k[g+16>>2]|0;p=q;o=o+1|0}do if((V|0)==75){if((j[g+28>>1]&1)==0?(k[(k[l+(n*20|0)>>2]|0)+4>>2]&2|0)!=0:0){k[W>>2]=q;yh(a,27576,W);e=2;break}Dv(a,p,n,f,10360,o);if((i[f>>0]|0)==24)V=115;else V=96}else if((V|0)==82){if(p&R?(k[P>>2]&64|0)!=0:0){i[f>>0]=97;k[T>>2]=0;e=1;break}q=(q|0)==1;if(!q){p=p?27608:27624;do if(Q)if(R){k[W>>2]=p;k[W+4>>2]=d;yh(a,27680,W);break}else{k[W>>2]=p;k[W+4>>2]=c;k[W+8>>2]=d;yh(a,27664,W);break}else{k[W>>2]=p;k[W+4>>2]=S;k[W+8>>2]=c;k[W+12>>2]=d;yh(a,27648,W)}while(0);i[a+17>>0]=1;E=e+24|0;k[E>>2]=(k[E>>2]|0)+1}o=j[Y>>1]|0;if(o<<16>>16>-1&(n|0)!=0){B=o<<16>>16>63;C=nw(1,0,o<<16>>16|0)|0;E=n+56|0;A=E;D=k[A+4>>2]|(B?-2147483648:L);k[E>>2]=k[A>>2]|(B?0:C);k[E+4>>2]=D}E=f+12|0;Lk(U,k[E>>2]|0);k[E>>2]=0;E=f+16|0;Lk(U,k[E>>2]|0);k[E>>2]=0;i[f>>0]=(l|0)!=0?62:-102;if(q)V=96;else e=2}while(0);g:do if((V|0)==96){p=k[m>>2]|0;l=k[a>>2]|0;if(!((k[l+284>>2]|0)==0|(b|0)==0)){o=k[l+20>>2]|0;if((o|0)>0){m=k[l+16>>2]|0;n=0;while(1){l=n+1|0;if((k[m+(n<<4)+12>>2]|0)==(b|0)){l=n;break}if((l|0)<(o|0))n=l;else break}if((l|0)<0){V=115;break}else b=l}else b=0;if((i[f>>0]|0)!=62){m=k[p>>2]|0;if((m|0)<=0){V=115;break}h=k[X>>2]|0;l=0;while(1){if((h|0)==(k[p+(l*72|0)+48>>2]|0))break;l=l+1|0;if((l|0)>=(m|0)){V=115;break g}}h=p+(l*72|0)+24|0}m=k[h>>2]|0;h=j[Y>>1]|0;l=h<<16>>16;if(m){if(h<<16>>16<=-1){h=j[m+36>>1]|0;if(h<<16>>16>-1)h=k[(k[m+4>>2]|0)+((h<<16>>16)*24|0)>>2]|0;else h=12944}else h=k[(k[m+4>>2]|0)+(l*24|0)>>2]|0;if((jv(a,k[m>>2]|0,h,b)|0)==2){i[f>>0]=101;V=115}else V=115}else V=115}else V=115}while(0);if((V|0)==115){E=e+20|0;k[E>>2]=(k[E>>2]|0)+1;if((g|0)==(e|0))e=1;else{do{e=k[e+16>>2]|0;E=e+20|0;k[E>>2]=(k[E>>2]|0)+1}while((e|0)!=(g|0));e=1}}r=Z;return e|0}function uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i[b>>0]|0;a:do if(c<<24>>24==-100|c<<24>>24==-102){c=k[a+24>>2]|0;d=k[c>>2]|0;b:do if((d|0)!=0?(e=k[d>>2]|0,(e|0)>0):0){a=k[b+28>>2]|0;b=0;while(1){if((a|0)==(k[d+(b*72|0)+48>>2]|0))break;b=b+1|0;if((b|0)>=(e|0))break b}a=c+4|0;k[a>>2]=(k[a>>2]|0)+1;break a}while(0);a=c+8|0;k[a>>2]=(k[a>>2]|0)+1}while(0);return 0}function vv(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,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0;w=r;r=r+16|0;if((r|0)>=(s|0))ka();v=w;o=w+12|0;a:do if(!c)e=0;else{t=k[k[b>>2]>>2]|0;u=k[a>>2]|0;b:do if((k[c>>2]|0)>0){e=0;p=k[c+4>>2]|0;c:while(1){m=k[p>>2]|0;d:do if(!m)f=0;else{f=m;while(1){g=k[f+4>>2]|0;if(!(g&4096))break d;if(!(g&262144))f=f+12|0;else f=k[(k[f+20>>2]|0)+4>>2]|0;f=k[f>>2]|0;if(!f){f=0;break}}}while(0);if((i[d>>0]|0)!=71?(n=wv(k[b>>2]|0,f)|0,k[o>>2]=n,(n|0)>0):0)j[p+16>>1]=n;else q=13;do if((q|0)==13){q=0;if(Rs(f,o)|0){f=k[o>>2]|0;if((f+-1|0)>>>0>65534)break c;j[p+16>>1]=f;break}h=p+16|0;j[h>>1]=0;if(qs(a,m)|0){e=1;break a}g=k[b>>2]|0;l=k[g>>2]|0;if((l|0)>0){g=k[g+4>>2]|0;f=0;do{x=f;f=f+1|0;if(!(Hu(m,k[g+(x*20|0)>>2]|0,-1)|0))j[h>>1]=f}while((f|0)<(l|0))}}while(0);e=e+1|0;if((e|0)>=(k[c>>2]|0))break b;else p=p+20|0}k[v>>2]=e+1;k[v+4>>2]=d;k[v+8>>2]=t;yh(u,27064,v);e=1;break a}while(0);e=Bu(u,b,c,d)|0}while(0);r=w;return e|0}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((i[b>>0]|0)==27?(d=k[b+8>>2]|0,e=k[a>>2]|0,(e|0)>0):0){a=k[a+4>>2]|0;b=0;while(1){c=k[a+(b*20|0)+4>>2]|0;if((c|0)!=0?(id(c,d)|0)==0:0)break;b=b+1|0;if((b|0)>=(e|0)){b=0;break a}}b=b+1|0}else b=0;while(0);return b|0}function xv(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+38>>1]|0;a:do if(c<<16>>16>0){d=k[a+4>>2]|0;c=c<<16>>16;a=0;while(1){if(!(id(k[d+(a*24|0)>>2]|0,b)|0))break a;a=a+1|0;if((a|0)>=(c|0)){a=-1;break}}}else a=-1;while(0);return a|0}function yv(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;var i=0;i=k[a>>2]|0;c=Wv(i,b,c,d)|0;d=Wv(i,b,e,f)|0;f=cr(a,79,c,d,0)|0;if((f|0)!=0&(g|0)!=0){c=f+4|0;k[c>>2]=k[c>>2]|1;j[f+36>>1]=k[d+28>>2]}f=xs(i,k[h>>2]|0,f)|0;k[h>>2]=f;return}function zv(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=b&65535;do{d=a+4|0;k[d>>2]=k[d>>2]|1;j[a+36>>1]=c;zv(k[a+12>>2]|0,b);a=k[a+16>>2]|0}while((a|0)!=0)}return}function Av(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;e=0;while(1){f=i[a+e>>0]|0;if(f<<24>>24==46|f<<24>>24==0)break;e=e+1|0}if(d)if((Kc(a,d,e)|0)==0?(i[d+e>>0]|0)==0:0)g=7;else e=0;else g=7;do if((g|0)==7){d=e+1|0;g=a+d|0;f=0;while(1){h=i[a+(f+d)>>0]|0;if(h<<24>>24==46|h<<24>>24==0)break;f=f+1|0}if(c){if(Kc
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
9 |0;t=k[b+52>>2]|0;k[u>>2]=0;k[w>>2]=k[b>>2];y=zh(a,10344,w)|0;do if(!y)f=7;else{v=rh(a,28,0)|0;if(!v){rg(a,y);f=7;break}n=v+0|0;m=n+28|0;do{i[n>>0]=0;n=n+1|0}while((n|0)<(m|0));k[v>>2]=a;k[v+4>>2]=c;o=k[b+68>>2]|0;a:do if(o){n=k[a+20>>2]|0;if((n|0)>0){h=k[a+16>>2]|0;g=0;while(1){m=g+1|0;if((k[h+(g<<4)+12>>2]|0)==(o|0)){m=g;break a}if((m|0)<(n|0))g=m;else break}}else m=0}else m=-1e6;while(0);k[(k[f>>2]|0)+4>>2]=k[(k[a+16>>2]|0)+(m<<4)>>2];n=p+4|0;k[n>>2]=b;k[p>>2]=v;o=a+324|0;h=k[o>>2]|0;k[o>>2]=p;m=v+8|0;f=pc[d&7](a,k[c+8>>2]|0,t,q,m,u)|0;k[o>>2]=h;do if((f|0)==7){i[a+65>>0]=1;x=11}else if(!f){h=k[m>>2]|0;if(h){k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[k[m>>2]>>2]=k[c>>2];k[v+12>>2]=1;if(k[n>>2]|0){k[w>>2]=k[b>>2];f=zh(a,28376,w)|0;k[e>>2]=f;Fn(v);f=1;break}u=b+60|0;k[v+24>>2]=k[u>>2];k[u>>2]=v;u=b+38|0;f=j[u>>1]|0;if(f<<16>>16>0){t=b+4|0;g=k[t>>2]|0;d=0;while(1){p=k[g+(d*24|0)+12>>2]|0;if(p){h=p;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;m=h-p|0;o=m&1073741823;if((Kc(28424,p,6)|0)==0?(q=i[p+6>>0]|0,q<<24>>24==32|q<<24>>24==0):0)h=0;else x=24;b:do if((x|0)==24){x=0;if(!o)h=0;else{h=0;while(1){if((Kc0))}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 function zc(a){a=a|0;var b=0;b=r;r=r+a|0;r=r+15&-16;if((r|0)>=(s|0))ka();return b|0}function Ac(){return r|0}function Bc(a){a=a|0;r=a}function Cc(a,b){a=a|0;b=b|0;if(!w){w=a;x=b}}function Dc(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0]}function Ec(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0];i[t+4>>0]=i[a+4>>0];i[t+5>>0]=i[a+5>>0];i[t+6>>0]=i[a+6>>0];i[t+7>>0]=i[a+7>>0]}function Fc(a){a=a|0;L=a}function Gc(){return L|0}function Hc(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();c=f+4|0;d=f;e=0;a:while(1){k[c>>2]=0;k[d>>2]=0;i[280]=0;if(Wf(14640,c)|0){b=4;break}b=k[c>>2]|0;a=0;do{if(Ve(b,k[8+(a<<2)>>2]|0,17,0,d)|0){b=7;break a}a=a+1|0;b=k[c>>2]|0}while((a|0)!=5);yf(b)|0;if(dw(280,8504)|0){b=9;break}e=e+1|0;if((e|0)>=3){b=11;break}}if((b|0)==4)nb(8472,8488,47,8496);else if((b|0)==7)nb(8472,8488,50,8496);else if((b|0)==9)nb(8600,8488,53,8496);else if((b|0)==11){r=f;return 0}return 0}function Ic(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)>0)while(1){b=b+-1|0;mw(280,k[d>>2]|0)|0;a=280+(lw(280)|0)|0;i[a>>0]=61;i[a+1>>0]=0;a=k[c>>2]|0;mw(280,((a|0)==0?20304:a)|0)|0;if((b|0)<=0)break;else{c=c+4|0;d=d+4|0}}return 0}function Jc(a){a=a|0;var b=0,c=0,d=0;d=(Kc(a,8640,7)|0)==0;d=d?a+7|0:a;if(!d)a=0;else{a=d;while(1)if(!(i[a>>0]|0))break;else a=a+1|0;a=a-d&1073741823}c=0;while(1){b=k[8648+(c<<2)>>2]|0;if((Kc(d,b,a)|0)==0?(i[10368+(l[b+a>>0]|0)>>0]&70)==0:0){a=1;break}c=c+1|0;if((c|0)>=4){a=0;break}}return a|0}function Kcn Re(a){a=a|0;if((a|0)!=0?(k[a+20>>2]|0)!=0:0)a=k[a+4>>2]|0;else a=0;return a|0}function Se(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();d=g;e=g+8|0;if(!a){k[d>>2]=77720;k[d+4>>2]=10788;gd(21,13648,d);b=21}else{f=k[a+24>>2]|0;if(k[a+20>>2]|0){b=Gh(a,b,c,e)|0;if(!b)b=0;else{c=k[e>>2]|0;k[d>>2]=c;zg(f,b,(c|0)!=0?10344:0,d);rg(f,c)}}else b=4;b=Tg(f,b)|0}r=g;return b|0}function Te(a,b,c){a=a|0;b=b|0;c=c|0;k[a+284>>2]=b;k[a+288>>2]=c;a=k[a+4>>2]|0;if(a)do{c=a+88|0;j[c>>1]=j[c>>1]|8;a=k[a+52>>2]|0}while((a|0)!=0);return 0}function Ue(a,b){a=a|0;b=b|0;return (Lh(a,b,10352,0)|0)==0|0}function Ve(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,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;B=r;r=r+16|0;if((r|0)>=(s|0))ka();g=B;x=B+12|0;y=B+8|0;k[y>>2]=0;do if(Mh(a)|0){f=(b|0)==0?10360:b;z=a+52|0;k[z>>2]=0;A=a+236|0;g=k[A>>2]|0;do if(g){b=g+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(g);break}}while(0);u=(c|0)==0;v=a+24|0;g=0;a:while(1){do{if(g){h=39;break a}if(!(i[f>>0]|0)){g=0;h=39;break a}k[y>>2]=0;g=nh(a,f,-1,1,0,y,x)|0}while((g|0)!=0);f=k[y>>2]|0;if(!f){f=k[x>>2]|0;g=0;continue}t=j[f+84>>1]|0;p=t&65535;q=p<<3|1;t=t<<16>>16==0;b=0;h=0;m=0;b:do{g=Xd(f)|0;do if(!u){n=(g|0)==100;if(!n){if((g|0)!=101|(m|0)!=0)break b;if(!(k[v>>2]&256)){m=0;break}}if(!m){b=rh(a,q,0)|0;if(!b){b=0;h=40;break a}kw(b|0,0,q|0)|0;if(t)o=1;else{m=0;do{o=oe(f,m)|0;k[b+(m<<2)>>2]=o;m=m+1|0}while((m|0)<(p|0));o=1}}else o=m;c:do if(n){h=b+(p<<2)|0;if(!t){m=0;while(1){n=ke(f,m)|0;k[b+(m+p<<2)>>2]=n;if((n|0)==0?(w=k[y>>2]|0,(ne(w,m)|0)!=5):0){g=w;h=27;break a}m=m+1|0;if((m|0)>=(p|0))break c;f=k[y>>2]|0}}}while(0);if(!(uc[c&31](d,p,h,b)|0))m=o;else{f=b;h=31;break a}}while(0);f=k[y>>2]|0}while((g|0)==100);g=Sg(f)|0;k[y>>2]=0;f=k[x>>2]|0;while(1)if(!(i[10368+(l[f>>0]|0)>>0]&1))break;else f=f+1|0;rg(a,b)}do if((h|0)==27){i[a+65>>0]=1;f=g;g=100;h=40}else if((h|0)==31){Sg(k[y>>2]|0)|0;k[y>>2]=0;k[z>>2]=4;g=k[A>>2]|0;if(g){b=g+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;b=f;g=4;break}else{Ag(g);b=f;g=4;break}}else{b=f;g=4}}else if((h|0)==39){f=k[y>>2]|0;b=0;h=40}while(0);if((h|0)==40)if(f)Sg(f)|0;rg(a,b);f=Tg(a,g)|0;b=(e|0)!=0;if(!((f|0)!=0&b)){if(!b)break;k[e>>2]=0;break}b=Xe(a)|0;if(!b)b=1;else{g=b;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;b=(g-b&1073741823)+1|0}g=vg(b,((b|0)<0)<<31>>31)|0;k[e>>2]=g;if(g){pw(g|0,Xe(a)|0,b|0)|0;break}k[z>>2]=7;f=k[A>>2]|0;if(f){b=f+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;f=7;break}else{Ag(f);f=7;break}}else f=7}else{k[g>>2]=101334;k[g+4>>2]=10788;gd(21,13648,g);f=21}while(0);r=B;return f|0}function We(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,1,0,d,e)|0}function Xe(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]=129635;k[b+4>>2]=10788;gd(21,13648,b);b=16120;break}if(!(i[a+65>>0]|0)){b=Xg(k[a+236>>2]|0,1)|0;if(!b){b=k[a+52>>2]|0;if((b|0)!=516){b=b&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344}}else b=15776}else b=15776;while(0);r=c;return b|0}function Ye(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,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();q=u;t=u+8|0;p=k[a>>2]|0;k[t>>2]=0;j=(b|0)==0;if(j)e=0;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;e=h-b&1073741823}n=e+300|0;m=(d|0)!=0;if(m)k[d>>2]=0;do if(!(k[a+24>>2]&4194304))if(m){e=dd(25216,q)|0;k[d>>2]=e;e=1}else e=1;else{l=(c|0)!=0?c:41192;g=p+40|0;h=wc[k[g>>2]&127](p,b)|0;if(!h){k[q>>2]=b;k[q+4>>2]=41184;f=dd(27824,q)|0;if(!f){e=7;break}h=wc[k[g>>2]&127](p,f)|0;$c(f);if(!h){if(!m){e=1;break}h=Yc(n)|0;k[t>>2]=h;k[d>>2]=h;if(!h){e=1;break}k[q>>2]=b;fd(n,h,41216,q)|0;rc[k[p+44>>2]&63](p,e+299|0,h);e=1;break}else o=h}else o=h;e=p+48|0;h=fc[k[e>>2]&63](p,o,l)|0;if((h|0)==0&(c|0)==0){if(j)h=0;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;h=h-b&1073741823}c=Yc(h+30|0)|0;if(!c){oc[k[p+52>>2]&15](p,o);e=7;break}l=c;j=l;i[j>>0]=115;i[j+1>>0]=113;i[j+2>>0]=108;i[j+3>>0]=105;l=l+4|0;i[l>>0]=116;i[l+1>>0]=101;i[l+2>>0]=51;i[l+3>>0]=95;while(1){g=h+-1|0;if((h|0)<=0)break;if((i[b+g>>0]|0)==47)break;else h=g}f=(KcKc(a,10712,6)|0)==0:0){c=4;break c}c=2;break}case 84:case 116:{if((e|0)==7){if(!(Kc(a,10720,7)|0)){c=6;break c}}else if((e|0)==4){if(!(Kc(a,10728,4)|0)){c=5;break c}}else if((e|0)==9?(Kc(a,10736,9)|0)==0:0){c=5;break c}c=2;break}case 69:case 101:{if((e|0)==3){if(!(Kc(a,10752,3)|0)){c=7;break c}}else if((e|0)==7?(Kc&9312))j[c>>1]=1;else Ag(a);p[d>>3]=b;p[e>>3]=+p[d>>3];if(!(+p[d>>3]!=+p[e>>3])){p[a>>3]=b;j[c>>1]=8}r=f;return}function ch(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(!(j[d>>1]&9312))j[d>>1]=1;else Ag(a);k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4;return}function dh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;if(j[c>>1]&9312)Ag(a);k[a+0>>2]=k[b+0>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];e=m[c>>1]|0;d=e&64511;j[c>>1]=d;if((e&18|0)!=0?(j[b+8>>1]&2048)==0:0){j[c>>1]=d|4096;c=_l(a)|0}else c=0;return c|0}function eh(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;if(!((j[c>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);j[c>>1]=16400;k[a+12>>2]=0;k[a>>2]=(b|0)<0?0:b;i[a+10>>0]=1;k[a+16>>2]=0;return}function fh(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;if(a)if(!(k[a>>2]|0)){gd(21,47360,b);a=1}else a=0;else{gd(21,47320,b);a=1}r=c;return a|0}function gh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;if((k[a>>2]|0)>1?(c=k[a+72>>2]|0,(c|0)!=0):0)c=wc[c&127](a,b)|0;else{c=wc[k[a+64>>2]&127](a,d)|0;f=+p[d>>3]*864.0e5;a=+W(f)>=1.0?(f>0.0?~~+ia(+V(f/4294967296.0),4294967295.0)>>>0:~~+ga((f-+(~~f>>>0))/4294967296.0)>>>0):0;k[b>>2]=~~f>>>0;k[b+4>>2]=a}r=e;return c|0}function hh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((a|0)!=0&(b|0)!=0){f=a+(b*40|0)|0;g=k[a+32>>2]|0;d=g+65|0;e=i[d>>0]|0;if(k[g+520>>2]|0){b=a;while(1){if(k[b+24>>2]|0)rg(g,k[b+20>>2]|0);b=b+40|0;if(b>>>0>=f>>>0)break a}}do{b=a+8|0;if(!(j[b>>1]&9312)){c=a+24|0;if(k[c>>2]|0){rg(g,k[a+20>>2]|0);k[c>>2]=0}}else Vg(a);j[b>>1]=128;a=a+40|0}while(a>>>0<f>>>0);i[d>>0]=e}while(0);return}function ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;d=$k(b,c,f)|0;rg(b,k[a>>2]|0);k[a>>2]=d;r=e;return}function jh(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,l=0,n=0,o=0;i=a+24|0;d=k[i>>2]|0;do if((d|0)<(b|0)){h=(b|0)<32?32:b;b=(d|0)>0;if((c|0)!=0&b?(e=a+16|0,f=k[e>>2]|0,g=a+20|0,(f|0)==(k[g>>2]|0)):0){d=$l(k[a+32>>2]|0,f,h,((h|0)<0)<<31>>31)|0;k[g>>2]=d;k[e>>2]=d;c=0}else{d=a+32|0;if(b){b=a+20|0;rg(k[d>>2]|0,k[b>>2]|0)}else b=a+20|0;d=rh(k[d>>2]|0,h,((h|0)<0)<<31>>31)|0;k[b>>2]=d}if(!d){c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);k[a+16>>2]=0;k[i>>2]=0;c=7;break}b=k[a+32>>2]|0;do if(!b)b=qc[k[8744+48>>2]&127](d)|0;else{if((k[b+276>>2]|0)>>>0<=d>>>0?(k[b+280>>2]|0)>>>0>d>>>0:0){b=m[b+248>>1]|0;break}b=qc[k[8744+48>>2]&127](d)|0}while(0);k[i>>2]=b;o=21}else o=21;while(0);if((o|0)==21){if(((c|0)!=0?(l=k[a+16>>2]|0,(l|0)!=0):0)?(n=k[a+20>>2]|0,(l|0)!=(n|0)):0)pw(n|0,l|0,k[a+12>>2]|0)|0;b=a+8|0;c=j[b>>1]|0;if(!(c&1024))d=a+16|0;else{d=a+16|0;hc[k[a+36>>2]&31](k[d>>2]|0);c=j[b>>1]|0}k[d>>2]=k[a+20>>2];j[b>>1]=c&58367;c=0}return c|0}function kh(a,b){a=a|0;b=b|0;if((k[a+24>>2]|0)<(b|0))a=jh(a,b,0)|0;else{k[a+16>>2]=k[a+20>>2];a=a+8|0;j[a>>1]=(m[a>>1]|0)&13;a=0}return a|0}
11 function rq(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,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,ba=0,ca=0,da=0;da=r;r=r+192|0;if((r|0)>=(s|0))ka();_=da+48|0;Y=da+24|0;X=da+160|0;E=da+156|0;P=da+152|0;H=da+148|0;S=da+144|0;K=da+140|0;D=da+16|0;ba=da;v=da+128|0;u=da+116|0;w=da+96|0;e=da+88|0;ca=a+8|0;$=k[ca>>2]|0;aa=k[a>>2]|0;k[ba+0>>2]=k[9286];k[ba+4>>2]=k[9287];k[ba+8>>2]=k[9288];a:do switch(b|0){case 8:{v=k[$>>2]|0;z=v+65|0;if(((i[z>>0]|0)==0?(i[$+18>>0]|0)==0:0)?(V=$+64|0,(k[V>>2]|0)==0):0){y=Tq($)|0;if(y){do{}while((Uq(y,61)|0)!=0);Bh(y,24,0,0,0)|0;do if(!(i[z>>0]|0)){h=$+332|0;q=k[h>>2]|0;if((q|0)==0?(k[$+316>>2]|0)==0:0)break;n=y+32|0;o=k[n>>2]|0;if(o)k[(k[y+4>>2]|0)+8>>2]=o;k[(k[y+24>>2]|0)+88>>2]=o+-1;t=v+20|0;b:do if((k[t>>2]|0)>0){c=y+96|0;d=$+328|0;e=v+16|0;f=v+145|0;g=y+4|0;p=0;while(1){u=1<<p;if(((u&q|0)!=0?(k[c>>2]=k[c>>2]|u,_=k[(k[(k[e>>2]|0)+(p<<4)+12>>2]|0)+4>>2]|0,Ch(y,Bh(y,4,p,(k[d>>2]&u|0)!=0&1,k[$+(p<<2)+336>>2]|0)|0,_,-14),(i[f>>0]|0)==0):0)?(J=k[g>>2]|0,(J|0)!=0):0)i[J+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=1;p=p+1|0;if((p|0)>=(k[t>>2]|0))break b;q=k[h>>2]|0}}while(0);n=$+452|0;if((k[n>>2]|0)>0){h=$+520|0;g=0;do{o=k[(k[(k[h>>2]|0)+(g<<2)>>2]|0)+60>>2]|0;c:do if(!o)o=0;else while(1){if((k[o>>2]|0)==(v|0))break c;o=k[o+24>>2]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12>>2]=101;i[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)k[$+12>>2]=1;k[$+68>>2]=0;k[$+72>>2]=0;k[$+76>>2]=0;k[$+440>>2]=0;k[$+332>>2]=0}break}case 33:{_=a+(aa<<4)+16|0;_q($,0,0,0,k[_>>2]|0);Rk(k[$>>2]|0,k[_>>2]|0,1);break}case 35:{e=k[a+(aa<<4)+20>>2]|0;d=k[a+(aa<<4)+16>>2]|0;if((e|0)==5?(KcKcKc(x,25568,7)|0)==0?(i[U+145>>0]|0)==0:0)?(Kc(x+7|0,35976,9)|0)!=0:0){k[S>>2]=x;yh(a,35992,S);p=0;c=0;break}if(k[u+12>>2]|0){yh(a,36024,S);p=0;c=0;break}N=u+44|0;if(i[N>>0]&16){yh(a,36056,S);p=0;c=0;break}D=(c|0)==0;if(!D){c=$q(U,c)|0;if(!c){p=0;c=0;break}if(Qr(a,c)|0){p=0;break}if((i[U+145>>0]|0)==0?(di(U,c,0)|0)!=0:0){k[S>>2]=c;yh(a,36096,S);p=0;break}if(gq(U,c,k[b>>2]|0)|0)if(!o){k[S>>2]=c;yh(a,36136,S);p=0;break}else{Fr(a,q);p=0;break}else t=c}else{p=k[u+8>>2]|0;if(!p)t=1;else{t=1;do{t=t+1|0;p=k[p+20>>2]|0}while((p|0)!=0)}k[S>>2]=x;k[S+4>>2]=t;t=zh(U,36160,S)|0;if(!t){p=0;c=0;break}}b=k[b>>2]|0;p=(q|0)==1;L=p?13184:13208;if((Xq(a,18,L,0,b)|0)==0?(Xq(a,p?3:1,t,k[u>>2]|0,b)|0)==0:0){if(!e){e=qr(a,0,0)|0;if(!e){e=0;p=0;c=t;break}F=ph(k[a>>2]|0,k[(k[u+4>>2]|0)+(((j[u+38>>1]|0)+-1|0)*24|0)>>2]|0)|0;G=k[e+4>>2]|0;k[G+4>>2]=F;i[G+12>>0]=n}A=k[e>>2]|0;if((A|0)>0){x=k[e+4>>2]|0;v=0;b=0;do{p=k[x+(v*20|0)>>2]|0;if(p){c=k[p+8>>2]|0;if(!c)p=1;else{p=c;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;p=(p-c&1073741823)+1|0}b=p+b|0}v=v+1|0}while((v|0)<(A|0));c=b}else c=0;if(!t)p=0;else{b=t;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;p=b-t&1073741823}F=(J|0)!=0;if(F)b=m[J+46>>1]|0;else b=1;M=zs(U,A+b&65535,c+1+p|0,K)|0;c:do if(!(i[P>>0]|0)){E=k[K>>2]|0;k[M>>2]=E;I=p+1|0;z=E+I|0;k[K>>2]=z;pw(E|0,t|0,I|0)|0;k[M+12>>2]=u;I=M+50|0;i[I>>0]=f;E=M+51|0;i[E>>0]=i[E>>0]&-12|((f|0)!=0&1)<<3&255|D&1;H=M+24|0;k[H>>2]=k[(k[O>>2]|0)+(q<<4)+12>>2];b=k[e>>2]|0;G=M+46|0;j[G>>1]=b;if(h){k[B+0>>2]=0;k[B+4>>2]=0;k[B+8>>2]=0;k[B+12>>2]=0;k[B+16>>2]=0;k[B+20>>2]=0;k[B+24>>2]=0;k[B+28>>2]=0;x=S+0|0;c=x+80|0;do{k[x>>2]=0;x=x+4|0}while((x|0)<(c|0));k[S>>2]=1;k[S+16>>2]=k[u>>2];k[S+24>>2]=u;k[S+48>>2]=-1;k[B>>2]=a;k[B+4>>2]=S;j[B+28>>1]=16;qs(B,h)|0;k[M+36>>2]=h;b=k[e>>2]|0}w=(l[(k[C+(q<<4)+12>>2]|0)+76>>0]|0)>3;d:do if((b|0)>0){D=u+4|0;C=u+38|0;B=M+4|0;h=U+145|0;b=M+32|0;v=M+28|0;c=0;n=k[e+4>>2]|0;while(1){p=k[n+4>>2]|0;x=j[C>>1]|0;e:do if(x<<16>>16>0){A=0;y=k[D>>2]|0;while(1){if(!(id(p,k[y>>2]|0)|0)){o=A;break e}A=A+1|0;if((A|0)<(x<<16>>16|0))y=y+24|0;else{o=A;break}}}else o=0;while(0);if((o|0)>=(x<<16>>16|0))break;j[(k[B>>2]|0)+(c<<1)>>1]=o;A=k[n>>2]|0;if(!A){A=k[(k[D>>2]|0)+(o*24|0)+16>>2]|0;A=(A|0)!=0?A:11152}else{y=k[A+8>>2]|0;if(!y)A=1;else{A=y;while(1)if(!(i[A>>0]|0))break;else A=A+1|0;A=(A-y&1073741823)+1|0}pw(z|0,y|0,A|0)|0;y=k[K>>2]|0;z=y+A|0;k[K>>2]=z;A=y}if((i[h>>0]|0)==0?(hr(a,A)|0)==0:0){c=0;p=0;T=134;break c}k[(k[b>>2]|0)+(c<<2)>>2]=A;i[(k[v>>2]|0)+c>>0]=w?i[n+12>>0]|0:0;if(!(i[(k[D>>2]|0)+(o*24|0)+20>>0]|0))i[E>>0]=i[E>>0]&-9;c=c+1|0;if((c|0)<(k[e>>2]|0))n=n+20|0;else break d}k[S>>2]=k[u>>2];k[S+4>>2]=p;yh(a,36184,S);i[a+17>>0]=1;c=0;p=0;T=134;break c}else c=0;while(0);do if(F){w=J+46|0;x=j[w>>1]|0;if(!(x<<16>>16))break;B=J+4|0;C=M+4|0;D=M+48|0;n=J+32|0;o=M+32|0;b=J+28|0;v=M+28|0;h=0;do{y=j[(k[B>>2]|0)+(h<<1)>>1]|0;p=k[C>>2]|0;A=m[G>>1]|0;z=p;while(1){if((A|0)<=0){T=92;break}if((j[z>>1]|0)==y<<16>>16){T=91;break}else{A=A+-1|0;z=z+2|0}}if((T|0)==91){T=0;j[D>>1]=(j[D>>1]|0)+-1<<16>>16}else if((T|0)==92){T=0;j[p+(c<<1)>>1]=y;k[(k[o>>2]|0)+(c<<2)>>2]=k[(k[n>>2]|0)+(h<<2)>>2];i[(k[v>>2]|0)+c>>0]=i[(k[b>>2]|0)+h>>0]|0;x=j[w>>1]|0;c=c+1|0}h=h+1|0}while((h|0)<(x&65535|0))}else{j[(k[M+4>>2]|0)+(c<<1)>>1]=-1;k[(k[M+32>>2]|0)+(c<<2)>>2]=11152}while(0);hq(M);h=a+484|0;b=k[h>>2]|0;if(!b){rs(M);b=k[h>>2]|0}f:do if((u|0)==(b|0)){p=k[u+8>>2]|0;if(!p)break;y=j[G>>1]|0;z=M+4|0;A=M+32|0;while(1){if((j[p+46>>1]|0)==y<<16>>16){g:do if(!(y<<16>>16)){h=0;b=0}else{v=k[p+4>>2]|0;w=k[z>>2]|0;x=p+32|0;b=0;while(1){if((j[v+(b<<1)>>1]|0)!=(j[w+(b<<1)>>1]|0)){h=y;break g}h=k[(k[x>>2]|0)+(b<<2)>>2]|0;c=k[(k[A>>2]|0)+(b<<2)>>2]|0;if((h|0)!=(c|0)?(id(h,c)|0)!=0:0){h=y;break g}b=b+1|0;if((b|0)>=(y&65535|0)){h=y;break}}}while(0);if((b|0)==(h&65535|0))break}p=k[p+20>>2]|0;if(!p)break f}b=p+50|0;c=i[b>>0]|0;h=i[I>>0]|0;if(c<<24>>24==h<<24>>24){c=0;break c}if(!(c<<24>>24==10|h<<24>>24==10)){k[S>>2]=0;yh(a,36216,S);c=i[b>>0]|0}if(c<<24>>24!=10){c=0;T=134;break c}i[b>>0]=i[I>>0]|0;c=0;break c}while(0);c=U+145|0;do if(!(i[c>>0]|0)){if(k[a+64>>2]|0){T=126;break}if(!((i[N>>0]&32)==0|R)){T=126;break}p=a+72|0;h=(k[p>>2]|0)+1|0;k[p>>2]=h;p=Tq(a)|0;if(!p){c=0;p=0;T=134;break c}G=k[a+408>>2]|0;G=(G|0)==0?a:G;Fr(a,q);F=G+328|0;k[F>>2]=k[F>>2]|1<<q;G=G+20|0;i[G>>0]=l[G>>0]|1;Bh(p,120,q,h,0)|0;if(!g)b=0;else{b=k[k[Q>>2]>>2]|0;G=(k[a+504>>2]|0)-b+(k[a+508>>2]|0)|0;F=G+-1|0;G=(i[b+F>>0]|0)==59?F:G;k[S>>2]=(f|0)==0?10360:36288;k[S+4>>2]=G;k[S+8>>2]=b;b=zh(U,36264,S)|0}F=k[M>>2]|0;G=k[u>>2]|0;k[S>>2]=k[(k[O>>2]|0)+(q<<4)>>2];k[S+4>>2]=L;k[S+8>>2]=F;k[S+12>>2]=G;k[S+16>>2]=h;k[S+20>>2]=b;Gr(a,36296,S);rg(U,b);if(!R)break;As(a,M,h);Ir(a,q);k[S>>2]=k[M>>2];Nr(p,q,zh(U,36344,S)|0);Bh(p,144,0,0,0)|0;T=126}else{if(Nk((k[H>>2]|0)+24|0,k[M>>2]|0,M)|0){i[P>>0]=1;c=0;p=0;T=134;break c}G=U+24|0;k[G>>2]=k[G>>2]|2;if(!R)break;k[M+40>>2]=k[U+140>>2];T=126}while(0);if((T|0)==126?!((i[c>>0]|0)!=0|(d|0)==0):0){c=0;p=0;T=134;break}c=k[u+8>>2]|0;do if((f|0)==5){if(!c){c=0;break}if((i[c+50>>0]|0)==5)break;do{p=c+20|0;c=k[p>>2]|0;if(!c){c=0;break}}while((i[c+50>>0]|0)!=5);k[M+20>>2]=c;k[p>>2]=M;h=0;p=M;c=t;break a}while(0);k[M+20>>2]=c;k[u+8>>2]=M;h=0;p=M;c=t;break a}else{c=h;p=0;T=134}while(0);if((T|0)==134)if(!M){h=c;c=t;break}Ok(U,M);h=c;c=t}else{p=0;c=t}}else{p=0;c=0}while(0);Lk(U,h);Sk(U,e);Io(U,d);rg(U,c);r=V;return p|0}function fr(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+484>>2]|0;d=k[a>>2]|0;if(((c|0)!=0?(i[a+451>>0]|0)==0:0)?(j[(k[(k[(k[d+16>>2]|0)+(l[d+144>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){d=c+24|0;c=qr(a,k[d>>2]|0,b)|0;k[d>>2]=c;if(k[a+324>>2]|0)rr(a,c,a+320|0,1)}else Lk(d,b);return}function gr(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,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;C=r;r=r+16|0;if((r|0)>=(s|0))ka();z=C;B=k[a>>2]|0;A=k[a+484>>2]|0;a:do if((A|0)!=0?(i[a+451>>0]|0)==0:0){w=(b|0)==0;do if(w){y=j[A+38>>1]|0;g=(y<<16>>16)+-1|0;if(y<<16>>16<1){f=0;break a}if(d)if((k[d>>2]|0)==1){g=1;f=13}else{k[z>>2]=k[(k[A+4>>2]|0)+(g*24|0)>>2];k[z+4>>2]=c;yh(a,35712,z);f=0;break a}else{g=1;f=12}}else{if(!d){g=k[b>>2]|0;f=12;break}g=k[d>>2]|0;if((g|0)==(k[b>>2]|0))f=13;else{yh(a,35776,z);f=0;break a}}while(0);if((f|0)==12){h=c+4|0;n=h;t=0;h=(g<<3)+37+(k[h>>2]|0)|0;y=g}else if((f|0)==13){n=c+4|0;h=(g<<3)+37+(k[n>>2]|0)|0;o=k[d>>2]|0;if((o|0)>0){p=k[d+4>>2]|0;q=0;do{m=k[p+(q*20|0)+4>>2]|0;if(!m)f=1;else{l=m;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;f=(l-m&1073741823)+1|0}h=f+h|0;q=q+1|0}while((q|0)<(o|0));t=1;y=g}else{t=1;y=g}}f=rh(B,h,((h|0)<0)<<31>>31)|0;if(f){kw(f|0,0,h|0)|0;k[f>>2]=A;x=A+16|0;k[f+4>>2]=k[x>>2];u=f+36|0;l=u+(y<<3)|0;v=f+8|0;k[v>>2]=l;pw(l|0,k[c>>2]|0,k[n>>2]|0)|0;i[l+(k[n>>2]|0)>>0]=0;qo(l);l=l+((k[n>>2]|0)+1)|0;k[f+20>>2]=y;b:do if(!w){if((y|0)>0){h=A+4|0;c=b+4|0;m=j[A+38>>1]|0;g=0;while(1){c:do if(m<<16>>16>0){q=k[h>>2]|0;p=k[(k[c>>2]|0)+(g*20|0)+4>>2]|0;o=0;while(1){n=o+1|0;if(!(id(k[q+(o*24|0)>>2]|0,p)|0)){n=o;break}if((n|0)<(m<<16>>16|0))o=n;else break c}k[u+(g<<3)>>2]=n}else n=0;while(0);if((n|0)>=(m<<16>>16|0))break;g=g+1|0;if((g|0)>=(y|0))break b}k[z>>2]=k[(k[c>>2]|0)+(g*20|0)+4>>2];yh(a,35872,z);break a}}else k[u>>2]=(j[A+38>>1]|0)+-1;while(0);if(t&(y|0)>0){m=d+4|0;n=0;while(1){h=k[(k[m>>2]|0)+(n*20|0)+4>>2]|0;if(!h)g=0;else{g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-h&1073741823}k[u+(n<<3)+4>>2]=l;pw(l|0,h|0,g|0)|0;i[l+g>>0]=0;n=n+1|0;if((n|0)==(y|0))break;else l=l+(g+1)|0}}i[f+24>>0]=0;i[f+25>>0]=e;i[f+26>>0]=e>>>8;g=Nk((k[A+68>>2]|0)+56|0,k[v>>2]|0,f)|0;if((g|0)==(f|0)){i[B+65>>0]=1;break}if(g){k[f+12>>2]=g;k[g+16>>2]=f}k[x>>2]=f;f=0}else f=0}else f=0;while(0);rg(B,f);Sk(B,b);Sk(B,d);r=C;return}function hr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a>>2]|0;d=i[c+62>>0]|0;e=i[c+145>>0]|0;c=bo(c,d,b,e&255)|0;do if(!(e<<24>>24)){if((c|0)!=0?(k[c+12>>2]|0)!=0:0)break;c=Bs(a,d,c,b)|0}while(0);return c|0}function ir(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,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;q=y+12|0;x=k[a>>2]|0;do if(!(i[x+65>>0]|0)){d=(d|0)!=0;if(d){p=x+68|0;i[p>>0]=(i[p>>0]|0)+1<<24>>24;v=Zr(a,c,b+8|0)|0;i[p>>0]=(i[p>>0]|0)+-1<<24>>24}else v=Zr(a,c,b+8|0)|0;if(!v){if(!d)break;Er(a,k[b+12>>2]|0);break}n=v+68|0;f=k[n>>2]|0;a:do if(f){d=k[x+20>>2]|0;if((d|0)>0){e=k[x+16>>2]|0;h=0;while(1){g=h+1|0;if((k[e+(h<<4)+12>>2]|0)==(f|0)){g=h;break a}if((g|0)<(d|0))h=g;else break}}else g=0}else g=-1e6;while(0);t=v+44|0;if((i[t>>0]&16)!=0?(mr(a,v)|0)!=0:0)break;h=(g|0)==1;u=h?13184:13208;d=k[(k[x+16>>2]|0)+(g<<4)>>2]|0;if(!(Xq(a,9,u,0,d)|0)){e=(c|0)!=0;do if(e){f=h?15:17;h=0}else{if(!(i[t>>0]&16)){f=h?13:11;h=0;break}h=v+60|0;while(1){h=k[h>>2]|0;if((k[h>>2]|0)==(x|0))break;else h=h+24|0}f=30;h=k[(k[h+4>>2]|0)+4>>2]|0}while(0);if((Xq(a,f,k[v>>2]|0,h,d)|0)==0?(Xq(a,9,k[v>>2]|0,0,d)|0)==0:0){h=k[v>>2]|0;if((Kc(h,25568,7)|0)==0?(Kc
12 o{if(u)Bh(ta,47,v,f,f+n|0)|0;else{i[va>>0]=1;Wq(a,k[(k[e>>2]|0)+(f*20|0)>>2]|0,f+n|0)}f=f+1|0;d=k[t>>2]|0}while((f|0)<(d|0))}if(D)k[D>>2]=(k[D>>2]|0)+1;Ch(ta,Bh(ta,42,h,n,d)|0,D,-6);d=k[x>>2]|0;ba=d+1|0;Bh(ta,43,ba,0,ba)|0;t=k[t>>2]|0;Bh(k[a+8>>2]|0,32,n,h,t)|0;it(a,n,t);Bh(ta,17,J,H,0)|0;Bh(ta,137,F,P,0)|0;Bh(ta,17,N,K,0)|0;t=k[x>>2]|0;if(t>>>0>d>>>0)k[(k[ta+4>>2]|0)+(d*20|0)+8>>2]=t;h=ta+24|0;k[(k[h>>2]|0)+88>>2]=t+-1;jt(a,va);Bh(ta,25,1,I,0)|0;if(u)Bh(ta,5,k[q>>2]|0,g,0)|0;else{at(o);Eh(ta,p)}Bh(ta,17,J,H,0)|0;Bh(ta,16,0,P,0)|0;f=k[x>>2]|0;Bh(ta,25,1,F,0)|0;Bh(ta,18,J,0,0)|0;d=k[h>>2]|0;e=~H;do if((H|0)<0){t=k[d+112>>2]|0;if(!t)break;k[t+(e<<2)>>2]=k[x>>2]}while(0);q=k[x>>2]|0;k[d+88>>2]=q+-1;Bh(ta,137,I,q+2|0,0)|0;Bh(ta,18,J,0,0)|0;kt(a,va);q=q+1|0;lt(a,ca,q,16);Us(a,b,k[b>>2]|0,-1,sa,ra,c,q,f);Bh(ta,18,J,0,0)|0;q=k[h>>2]|0;p=~K;do if((K|0)<0){o=k[q+112>>2]|0;if(!o)break;k[o+(p<<2)>>2]=k[x>>2]}while(0);k[q+88>>2]=(k[x>>2]|0)+-1;mt(a,va);Bh(ta,18,N,0,0)|0}else{do if(!(k[D>>2]|0)){p=k[b>>2]|0;if((k[p>>2]|0)!=1){wa=372;break}q=k[ja>>2]|0;if((k[q>>2]|0)!=1){wa=372;break}if(k[q+28>>2]|0){wa=372;break}x=k[q+24>>2]|0;q=k[k[p+4>>2]>>2]|0;w=x+44|0;if(i[w>>0]&16){wa=372;break}if((i[q>>0]|0)!=-101|(d|0)==0){wa=372;break}v=va+40|0;if(!(j[(k[(k[v>>2]|0)+4>>2]|0)+2>>1]&256)){wa=372;break}if((x|0)==0?1:(k[q+4>>2]&16|0)!=0){wa=372;break}q=k[a>>2]|0;d=k[x+68>>2]|0;i:do if(!d)p=-1e6;else{e=k[q+20>>2]|0;if((e|0)<=0){p=0;break}q=k[q+16>>2]|0;t=0;while(1){p=t+1|0;if((k[q+(t<<4)+12>>2]|0)==(d|0)){p=t;break i}if((p|0)<(e|0))t=p;else break}}while(0);t=a+68|0;g=k[t>>2]|0;k[t>>2]=g+1;t=x+32|0;d=k[t>>2]|0;Fr(a,p);ls(a,p,k[t>>2]|0,0,k[x>>2]|0);t=k[x+8>>2]|0;j:do if(!(i[w>>0]&32)){q=0;wa=351}else{if(!t){e=1;f=0;t=0;break}else q=t;while(1){if((i[q+51>>0]&3)==2){wa=351;break j}q=k[q+20>>2]|0;if(!q){q=0;wa=351;break}}}while(0);do if((wa|0)==351){if(t){f=x+42|0;e=t;do{do if(!(i[e+51>>0]&4)){t=j[e+44>>1]|0;if(t<<16>>16>=(j[f>>1]|0))break;if(k[e+36>>2]|0)break;if((q|0)!=0?t<<16>>16>=(j[q+44>>1]|0):0)break;q=e}while(0);e=k[e+20>>2]|0}while((e|0)!=0)}if(!q){e=1;f=0;t=0;break}d=k[q+40>>2]|0;e=0;f=q;t=ms(a,q)|0}while(0);Ch(ta,Bh(ta,54,g,d,p)|0,1,-14);if(t)Ch(ta,-1,t,-6);Bh(ta,50,g,k[(k[v>>2]|0)+8>>2]|0,0)|0;Bh(ta,61,g,0,0)|0;if((i[a+450>>0]|0)!=2){o=0;break}do if(e){q=k[x>>2]|0;p=10360;n=10360;o=k[a>>2]|0}else{if(i[w>>0]&32){ba=(i[f+51>>0]&3)!=2;o=k[a>>2]|0;q=k[x>>2]|0;p=ba?34920:10360;if(!ba){n=10360;break}}else{p=34920;q=k[x>>2]|0;o=k[a>>2]|0}n=k[f>>2]|0}while(0);k[oa>>2]=q;k[oa+4>>2]=p;k[oa+8>>2]=n;o=zh(o,34896,oa)|0;ba=k[a+8>>2]|0;Ch(ba,Bh(ba,157,k[xa>>2]|0,0,0)|0,o,-1);o=0}else wa=372;while(0);if((wa|0)==372){do if((k[E>>2]|0)==0&(d|0)==1){o=k[k[va+40>>2]>>2]|0;q=k[o+20>>2]|0;if(!q){o=0;n=0;break}if((k[q>>2]|0)!=1){o=0;n=0;break}if((i[k[k[q+4>>2]>>2]>>0]|0)!=-100){o=0;n=0;break}o=k[o+8>>2]|0;if(id(o,18760)|0)if(!(id(o,18768)|0))n=2;else{o=0;n=0;break}else n=1;o=Ur(ua,q,0)|0;if(!o){o=0;break}if(i[ma>>0]|0)break;ba=k[o+4>>2]|0;i[ba+12>>0]=n<<24>>24!=1&1;i[k[ba>>2]>>0]=-102}else{o=0;n=0}while(0);mt(a,va);n=_s(a,R,y,o,0,n&255,0)|0;if(!n){Sk(ua,o);wa=444;break}jt(a,va);if((i[n+36>>0]|0)>0)Bh(ta,16,0,k[n+52>>2]|0,0)|0;at(n);kt(a,va)}k[sa>>2]=0;lt(a,ca,P,16);Us(a,b,k[b>>2]|0,-1,0,0,c,P,P);Sk(ua,o);h=ta+24|0}o=k[h>>2]|0;n=~P;do if((P|0)<0){h=k[o+112>>2]|0;if(!h)break;k[h+(n<<2)>>2]=k[ta+32>>2]}while(0);k[o+88>>2]=(k[ta+32>>2]|0)+-1}if((i[ra+1>>0]|0)==3)et(a,34808);if(k[sa>>2]|0){u=sa+4|0;et(a,(k[u>>2]|0)>0?34840:34864);x=k[Q>>2]|0;q=a+8|0;D=k[q>>2]|0;E=Cs(D)|0;C=Cs(D)|0;g=k[sa>>2]|0;f=i[c>>0]|0;y=f&255;z=c+4|0;A=k[z>>2]|0;v=sa+16|0;t=k[v>>2]|0;if(t){Bh(D,17,k[sa+12>>2]|0,t,0)|0;Bh(D,16,0,E,0)|0;ba=k[v>>2]|0;t=k[D+24>>2]|0;d=~ba;do if((ba|0)<0){e=k[t+112>>2]|0;if(!e)break;k[e+(d<<2)>>2]=k[D+32>>2]}while(0);k[t+88>>2]=(k[D+32>>2]|0)+-1}B=k[sa+8>>2]|0;o=f<<24>>24==9;k:do if((f&-5)<<24>>24==9){n=x;p=k[c+8>>2]|0;d=0}else{t=a+19|0;d=i[t>>0]|0;do if(d<<24>>24){ba=d+-1<<24>>24;i[t>>0]=ba;e=k[a+((ba&255)<<2)+24>>2]|0;if(!(ba<<24>>24)){d=e;t=k[a+72>>2]|0;break}else{p=d+-2<<24>>24;i[t>>0]=p;n=1;p=k[a+((p&255)<<2)+24>>2]|0;d=e;break k}}else{d=a+72|0;t=(k[d>>2]|0)+1|0;k[d>>2]=t;d=t}while(0);p=t+1|0;k[a+72>>2]=p;n=1}while(0);h=(k[g>>2]|0)-(k[u>>2]|0)|0;w=sa+24|0;if(!(i[w>>0]&1)){t=Bh(D,107,B,E,0)|0;nt(D,k[b+12>>2]|0,C);e=1;f=B}else{ba=a+72|0;f=(k[ba>>2]|0)+1|0;k[ba>>2]=f;ba=a+68|0;g=k[ba>>2]|0;k[ba>>2]=g+1;if(!(k[v>>2]|0))e=0;else{ba=Tq(a)|0;aa=a+80|0;e=k[aa>>2]|0;k[aa>>2]=e+1;e=Bh(ba,44,e,0,0)|0}Bh(D,60,g,f,n+1+h|0)|0;if(e){t=k[D+32>>2]|0;if(t>>>0>e>>>0)k[(k[D+4>>2]|0)+(e*20|0)+8>>2]=t;k[(k[D+24>>2]|0)+88>>2]=t+-1}t=Bh(D,106,B,E,0)|0;nt(D,k[b+12>>2]|0,C);Bh(D,100,B,f,g)|0;e=0;f=g}u=t+1|0;if((n|0)>0){t=e+h|0;e=0;do{Bh(D,47,f,t+e|0,e+p|0)|0;e=e+1|0}while((e|0)!=(n|0))}do if((y|0)==12|(y|0)==14){Bh(D,74,A,d,0)|0;Bh(D,75,A,p,d)|0;o=k[D+4>>2]|0;if(!o)break;i[o+(((k[D+32>>2]|0)+-1|0)*20|0)+3>>0]=8}else if((y|0)==11){Ch(D,Bh(D,49,p,1,d)|0,c+1|0,1);it(a,p,1);Bh(D,110,A,d,0)|0}else if((y|0)!=10)if(o){ba=c+8|0;Bh(D,35,k[ba>>2]|0,x,0)|0;it(a,k[ba>>2]|0,x);break}else{Bh(D,22,k[z>>2]|0,0,0)|0;break}else{Bh(k[q>>2]|0,32,p,A,1)|0;it(a,p,1)}while(0);if(d){ds(a,p);ds(a,d)}n=D+24|0;p=k[n>>2]|0;q=~C;do if((C|0)<0){o=k[p+112>>2]|0;if(!o)break;k[o+(q<<2)>>2]=k[D+32>>2]}while(0);q=D+32|0;k[p+88>>2]=(k[q>>2]|0)+-1;if(!(i[w>>0]&1))Bh(D,9,B,u,0)|0;else Bh(D,5,B,u,0)|0;h=k[sa+12>>2]|0;if(h)Bh(D,18,h,0,0)|0;h=k[n>>2]|0;g=~E;do if((E|0)<0){f=k[h+112>>2]|0;if(!f)break;k[f+(g<<2)>>2]=k[q>>2]}while(0);k[h+88>>2]=(k[q>>2]|0)+-1}e=k[ta+24>>2]|0;f=~na;do if((na|0)<0){d=k[e+112>>2]|0;if(!d)break;k[d+(f<<2)>>2]=k[ta+32>>2]}while(0);k[e+88>>2]=(k[ta+32>>2]|0)+-1;k[xa>>2]=ya;if((i[c>>0]|0)!=9){d=0;break}Ss(a,R,Q);d=0}else wa=444;while(0);if((wa|0)==444){k[xa>>2]=ya;d=1}rg(ua,k[va+28>>2]|0);rg(ua,k[va+40>>2]|0)}else d=1;while(0);r=za;return d|0}function or(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;var i=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;m=k[a>>2]|0;if((b|0)==0?(i=(g|0)!=0,i|(h|0)!=0):0){k[j>>2]=i?34792:34800;yh(a,34752,j);n=9}else{b=ur(m,b,c,d)|0;if((b|0)!=0?(l=k[b>>2]|0,(l|0)!=0):0){i=l+-1|0;if(k[e+4>>2]|0){e=$q(m,e)|0;k[b+(i*72|0)+20>>2]=e}k[b+(i*72|0)+28>>2]=f;k[b+(i*72|0)+52>>2]=g;k[b+(i*72|0)+56>>2]=h}else n=9}if((n|0)==9){Lk(m,g);Mk(m,h);Rk(m,f,1);b=0}r=o;return b|0}function pr(a,b,c,d,e,f,g,h,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;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+80|0;if((r|0)>=(s|0))ka();o=v+72|0;u=v;t=k[a>>2]|0;n=rh(t,72,0)|0;if(!n){p=u+0|0;q=p+72|0;do{k[p>>2]=0;p=p+4|0}while((p|0)<(q|0));n=u}else{p=n+0|0;q=p+72|0;do{i[p>>0]=0;p=p+1|0}while((p|0)<(q|0))}if(!b){k[o>>2]=0;k[o+4>>2]=0;b=qr(a,0,sr(t,116,o,0)|0)|0}k[n>>2]=b;if(!c){c=rh(t,80,0)|0;if(c){p=c+0|0;q=p+80|0;do{i[p>>0]=0;p=p+1|0}while((p|0)<(q|0))}}k[n+32>>2]=c;k[n+36>>2]=d;k[n+40>>2]=e;k[n+44>>2]=f;k[n+48>>2]=g;j[n+6>>1]=h;i[n+4>>0]=119;k[n+60>>2]=l;k[n+64>>2]=m;k[n+16>>2]=-1;k[n+20>>2]=-1;if(i[t+65>>0]|0){Rk(t,n,(n|0)!=(u|0)&1);n=0}r=v;return n|0}function qr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[a>>2]|0;if(!b){b=rh(e,8,0)|0;if(b){a=b;d=a;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;a=a+4|0;i[a>>0]=0;i[a+1>>0]=0;i[a+2>>0]=0;i[a+3>>0]=0;a=rh(e,20,0)|0;k[b+4>>2]=a;if(!a)d=8;else d=7}else{b=0;d=8}}else{a=k[b>>2]|0;if(!(a+-1&a)){d=b+4|0;a=wo(e,k[d>>2]|0,a*40|0,0)|0;if(!a)d=8;else{k[d>>2]=a;d=7}}else d=7}if((d|0)==7){a=k[b>>2]|0;k[b>>2]=a+1;a=(k[b+4>>2]|0)+(a*20|0)|0;k[a+0>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a>>2]=c}else if((d|0)==8){Lk(e,c);Sk(e,b);b=0}return b|0}function rr(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;do if(b){h=(k[b>>2]|0)+-1|0;e=k[b+4>>2]|0;f=k[c>>2]|0;b=k[c+4>>2]|0;if((f|0)!=0?(c=k[a>>2]|0,g=ow(b|0,0,1,0)|0,g=rh(c,g,L)|0,(g|0)!=0):0){pw(g|0,f|0,b|0)|0;i[g+b>>0]=0;k[e+(h*20|0)+4>>2]=g;if(!d)break;qo(g);break}k[e+(h*20|0)+4>>2]=0}while(0);return}function sr(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,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();h=o;k[h>>2]=0;f=(c|0)!=0;do if(f){if(((b|0)==132?(e=k[c>>2]|0,(e|0)!=0):0)?(In(e,h)|0)!=0:0){m=0;break}m=(k[c+4>>2]|0)+1|0}else m=0;while(0);g=m+48|0;l=rh(a,g,0)|0;if(l){kw(l|0,0,g|0)|0;i[l>>0]=b;j[l+34>>1]=-1;do if(f){if(!m){d=l+4|0;k[d>>2]=k[d>>2]|1024;k[l+8>>2]=k[h>>2];break}e=l+48|0;g=l+8|0;k[g>>2]=e;f=c+4|0;a=k[f>>2]|0;if(!a)e=48;else{pw(e|0,k[c>>2]|0,a|0)|0;e=(k[f>>2]|0)+48|0}i[l+e>>0]=0;if(((d|0)!=0&(m|0)>2?(d=i[k[c>>2]>>0]|0,n=d<<24>>24==34,d<<24>>24==34|d<<24>>24==39|d<<24>>24==91|d<<24>>24==96):0)?(qo(k[g>>2]|0),n):0){d=l+4|0;k[d>>2]=k[d>>2]|64}}while(0);k[l+24>>2]=1}r=o;return l|0}function tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;do if((b|0)!=0?(d=k[b>>2]|0,(d|0)>0):0){d=d+-1|0;if((k[c+4>>2]|0)==1?(k[c>>2]|0)==0:0){d=b+(d*72|0)+45|0;i[d>>0]=i[d>>0]|1;break}c=$q(k[a>>2]|0,c)|0;k[b+(d*72|0)+72>>2]=c}while(0);return}function ur(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(!b){b=rh(a,80,0)|0;if(!b)b=0;else{f=b+0|0;e=f+80|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(e|0));k[b+4>>2]=1;f=4}}else f=4;do if((f|0)==4){b=Ks(a,b,1,k[b>>2]|0)|0;if(i[a+65>>0]|0){Io(a,b);b=0;break}f=(k[b>>2]|0)+-1|0;if(!d)e=0;else e=(k[d>>2]|0)==0?0:d;d=(e|0)==0;e=$q(a,d?c:e)|0;k[b+(f*72|0)+16>>2]=e;e=$q(a,d?0:c)|0;k[b+(f*72|0)+12>>2]=e}while(0);return b|0}function vr(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,m=0,n=0,o=0;o=r;r=r+32|0;if((r|0)>=(s|0))ka();m=o;i=o+16|0;k[i>>2]=b;k[i+4>>2]=c;k[i+8>>2]=d;h=b;j=1;e=0;a:while(1){if(!h)break;g=k[h+4>>2]|0;f=0;while(1){if((g|0)==(l[34625+(f*3|0)>>0]|0|0)?(Kc[(k[Q+4>>2]|0)+(f*20|0)+8>>2]=e;k[(k[Q+24>>2]|0)+88>>2]=e+-1;break a}case 18:{nq(Q,1);if(!(i[(k[Q>>2]|0)+65>>0]|0))ah(k[Q+16>>2]|0,30936,-1,1,0)|0;c:do if(R){d=R;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;f=d-R&1073741823;d=0;while(1){if(!(Kc:{if(!R)e=k[T+216>>2]|0;else{k[D>>2]=0;In(R,D)|0;e=k[D>>2]|0;if((e|0)>0)f=21;else{e=0;f=0}k[T+216>>2]=f;k[T+220>>2]=e;e=f}if((e|0)==21){e=k[T+220>>2]|0;f=e;e=((e|0)<0)<<31>>31}else{f=0;e=0}Ot(a,31944,f,e);break a}case 27:{if((R|0)!=0?(oi(R,u)|0)==0:0){D=u;Uc(k[D>>2]|0,k[D+4>>2]|0)|0}C=(Qc()|0)==0;D=9032;Ot(a,31976,C?k[D>>2]|0:-1,C?k[D+4>>2]|0:-1);break a}case 33:{if((R|0)!=0?(B=(oi(R,n)|0)==0,D=n,C=k[D+4>>2]|0,B&((C|0)>-1|(C|0)==-1&(k[D>>2]|0)>>>0>4294967295)):0)k[T+132>>2]=0;D=k[T+132>>2]|0;Ot(a,31992,D,((D|0)<0)<<31>>31);break a}case 16:{if(!R)break a;d=di(T,R,I)|0;if(!d)break a;g=Tq(a)|0;nq(g,5);k[P>>2]=5;Fr(a,N);if(((((i[(k[g>>2]|0)+65>>0]|0)==0?(ah(k[g+16>>2]|0,31288,-1,1,0)|0,(i[(k[g>>2]|0)+65>>0]|0)==0):0)?(ah((k[g+16>>2]|0)+40|0,31184,-1,1,0)|0,(i[(k[g>>2]|0)+65>>0]|0)==0):0)?(ah((k[g+16>>2]|0)+80|0,31296,-1,1,0)|0,(i[(k[g>>2]|0)+65>>0]|0)==0):0)?(ah((k[g+16>>2]|0)+120|0,31304,-1,1,0)|0,(i[(k[g>>2]|0)+65>>0]|0)==0):0)ah((k[g+16>>2]|0)+160|0,31312,-1,1,0)|0;f=k[d+8>>2]|0;if(!f)break a;else e=0;while(1){Bh(g,25,e,1,0)|0;D=k[f>>2]|0;Ch(g,Bh(g,97,0,2,0)|0,D,0);Bh(g,25,(i[f+50>>0]|0)!=0&1,3,0)|0;D=k[31336+((i[f+51>>0]&3)<<2)>>2]|0;Ch(g,Bh(g,97,0,4,0)|0,D,0);Bh(g,25,(k[f+36>>2]|0)!=0&1,5,0)|0;Bh(g,35,1,5,0)|0;f=k[f+20>>2]|0;if(!f)break;else e=e+1|0}break}case 10:{g=1<<N;C=Q+96|0;k[C>>2]=k[C>>2]|g;if(R){k[D>>2]=0;In(R,D)|0;d=k[D>>2]|0;if((d|0)<=-1)d=(d|0)==-2147483648?2147483647:0-d|0;D=k[a+408>>2]|0;Fr(a,N);D=((D|0)==0?a:D)+328|0;k[D>>2]=k[D>>2]|g;Bh(Q,25,d,1,0)|0;Bh(Q,52,N,3,1)|0;k[(k[z+(N<<4)+12>>2]|0)+80>>2]=d;uq(k[z+(N<<4)+4>>2]|0,d);break a}nq(Q,1);if(!(i[(k[Q>>2]|0)+65>>0]|0))ah(k[Q+16>>2]|0,30848,-1,1,0)|0;k[P>>2]=(k[P>>2]|0)+2;d=Dh(Q,9,30808)|0;e=k[Q+32>>2]|0;if(e>>>0>d>>>0)k[(k[Q+4>>2]|0)+(d*20|0)+4>>2]=N;f=d+1|0;if(e>>>0>f>>>0)k[(k[Q+4>>2]|0)+(f*20|0)+4>>2]=N;f=d+6|0;if(e>>>0<=f>>>0)break a;k[(k[Q+4>>2]|0)+(f*20|0)+4>>2]=2e3;break a}case 2:{if(!R){Ot(a,b,(k[30128+(t*12|0)>>2]&k[T+24>>2]|0)!=0&1,0);break a}e=k[30128+(t*12|0)>>2]|0;e=(i[T+63>>0]|0)==0?e&-524289:e;if(!((ni(R,1,0)|0)<<24>>24)){D=T+24|0;k[D>>2]=k[D>>2]&~e;if((e|0)==16777216){D=T+512|0;k[D>>2]=0;k[D+4>>2]=0}}else{D=T+24|0;k[D>>2]=k[D>>2]|e}Bh(Q,144,0,0,0)|0;Qt(T);break a}default:{if(!R)e=k[T+492>>2]|0;else{k[D>>2]=0;In(R,D)|0;e=k[D>>2]|0;D=(e|0)>0;e=D?e:0;k[T+444>>2]=D?74:0;k[T+448>>2]=D?T:0;k[h>>2]=0;k[T+492>>2]=e}Ot(a,31968,e,((e|0)<0)<<31>>31);break a}}while(0)}else if(!b){d=k[g>>2]|0;if(!d)break;f=(k[P>>2]|0)+1|0;k[P>>2]=f;Ch(Q,Bh(Q,97,0,f,0)|0,d,0);nq(Q,1);if(!(i[(k[Q>>2]|0)+65>>0]|0))ah(k[Q+16>>2]|0,30112,-1,1,0)|0;Bh(Q,35,f,1,0)|0;$c(k[g>>2]|0);break}else{d=k[g>>2]|0;if(d){k[D>>2]=d;yh(a,10344,D);$c(k[g>>2]|0)}D=a+64|0;k[D>>2]=(k[D>>2]|0)+1;k[a+12>>2]=b;break}}while(0);rg(T,S);rg(T,R)}}while(0);r=U;return}function Lr(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();e=f;a:do if(!b)b=0;else{d=b;while(1){if((i[d>>0]|0)==-121){b=k[a>>2]|0;if(!(i[(k[b>>2]|0)+145>>0]|0))break;i[d>>0]=101}b=k[d+4>>2]|0;if(b&16384){b=0;break a}c=d+20|0;if(!(b&2048)){if(Mr(a,k[c>>2]|0)|0){b=1;break a}}else if(kr(a,k[c>>2]|0)|0){b=1;break a}if(Lr(a,k[d+16>>2]|0)|0){b=1;break a}d=k[d+12>>2]|0;if(!d){b=0;break a}}k[e>>2]=k[a+16>>2];yh(b,29984,e);b=1}while(0);r=f;return b|0}function Mr(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((b|0)!=0?(k[b>>2]|0)>0:0){c=0;d=k[b+4>>2]|0;while(1){if(Lr(a,k[d>>2]|0)|0){c=1;break a}c=c+1|0;if((c|0)>=(k[b>>2]|0)){c=0;break}else d=d+20|0}}else c=0;while(0);return c|0}function Nr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Ch(a,Bh(a,122,b,0,0)|0,c,-1);c=k[(k[a>>2]|0)+20>>2]|0;if((c|0)>0){d=a+96|0;b=k[d>>2]|0;a=0;do{b=b|1<<a;a=a+1|0}while((a|0)<(c|0));k[d>>2]=b}return}function Or(a,b){a=a|0;b=b|0;var c=0,d=0;c=b+8|0;d=Zr(a,0,c)|0;b=b+24|0;pg(k[a>>2]|0,k[b>>2]|0);k[b>>2]=d;if(d){b=d+40|0;j[b>>1]=(j[b>>1]|0)+1<<16>>16}c=(Wt(a,c)|0)==0;return (c?d:0)|0}function Pr(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,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();j=l;a:do if((b|0)!=0?(e=k[a+12>>2]|0,(k[b>>2]|0)>0):0){f=a+8|0;g=a+4|0;h=0;i=b+8|0;while(1){if(!(k[f>>2]|0)){d=i+4|0;c=k[d>>2]|0;if((c|0)!=0?(id(c,e)|0)!=0:0)break;rg(k[k[a>>2]>>2]|0,c);k[d>>2]=0;k[i>>2]=k[g>>2]}if(kr(a,k[i+20>>2]|0)|0){c=1;break a}if(Lr(a,k[i+44>>2]|0)|0){c=1;break a}h=h+1|0;if((h|0)>=(k[b>>2]|0)){c=0;break a}else i=i+72|0}b=k[a>>2]|0;i=k[a+20>>2]|0;k[j>>2]=k[a+16>>2];k[j+4>>2]=i;k[j+8>>2]=c;yh(b,29936,j);c=1}else c=0;while(0);r=l;return c|0}function Qr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;e=k[a>>2]|0;if((((i[e+145>>0]|0)==0?(i[a+18>>0]|0)==0:0)?(k[e+24>>2]&2048|0)==0:0)?(KcKc(b,25568,7)|0)==0:0){k[d>>2]=b;yh(a,25576,d);c=1}else c=0}else c=0;r=e;return c|0}function $r(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();d=e;if(!b){k[d>>2]=c;a=zh(a,25992,d)|0}else{k[d>>2]=b;k[d+4>>2]=c;d=zh(a,26e3,d)|0;rg(a,b);a=d}r=e;return a|0}function as(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;d=k[a>>2]|0;e=k[(k[d+16>>2]|0)+28>>2]|0;if((k[b+68>>2]|0)!=(e|0)?(c=Fs(a,b)|0,(c|0)!=0):0){b=c;c=0;do{if((k[b+20>>2]|0)==(e|0))c=$r(d,c,k[b>>2]|0)|0;b=k[b+32>>2]|0}while((b|0)!=0);if(c){b=k[a>>2]|0;k[f>>2]=c;b=zh(b,25968,f)|0;rg(k[a>>2]|0,c);c=b}else c=0}else c=0;r=g;return c|0}function bs(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,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();l=o;m=Tq(a)|0;if(m){d=k[a>>2]|0;g=k[b+68>>2]|0;a:do if(g){h=k[d+20>>2]|0;if((h|0)>0){e=k[d+16>>2]|0;f=0;while(1){d=f+1|0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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|0;Jb=a+87|0;Yd=he+156|0;Kb=he+500|0;Lb=he+496|0;ae=he+63|0;Mb=he+488|0;Nb=he+504|0;Ob=he+512|0;Pb=he+70|0;Qb=he+24|0;Rb=he+20|0;Td=he+16|0;Sb=he+4|0;Ud=a+88|0;Tb=a+104|0;Ub=a+152|0;Vb=a+160|0;Wb=he+152|0;Xb=he+64|0;Yb=td+4|0;Zb=td+6|0;_b=td+8|0;$b=ud+4|0;ac=ud+8|0;bc=he+212|0;cc=he+208|0;dc=a+116|0;ec=vd+4|0;hc=vd+6|0;ic=vd+8|0;jc=Xc+8|0;kckc>>2]=he;k[lc>>2]=0;g=sm(n,0,k[Pd>>2]|0,1,Xc)|0;do if(!g){g=k[mc>>2]|0;n=i[g>>0]|0;if(n<<24>>24>-1){z=n&255;k[nd>>2]=z}else{rm(g,nd)|0;z=k[nd>>2]|0}if(!(z>>>0<3?1:(z|0)>(k[nc>>2]|0))){w=(k[mc>>2]|0)+(z+-1)|0;g=i[w>>0]|0;if(g<<24>>24>-1){g=g&255;k[Kd>>2]=g}else{rm(w,Kd)|0;g=k[Kd>>2]|0}if(!((g+-1|0)>>>0>8|(g|0)==7)){if(g>>>0>11)w=(g+-12|0)>>>1;else w=l[34336+g>>0]|0;n=k[nc>>2]|0;if(n>>>0>=(w+z|0)>>>0){tm((k[mc>>2]|0)+(n-w)|0,g,Nd)|0;g=Nd;w=k[g>>2]|0;g=k[g+4>>2]|0;if((j[jc>>1]&9312)==0&(k[lc>>2]|0)==0){B=0;break}Vg(Xc);B=0;break}}}if(!((j[jc>>1]&9312)==0&(k[lc>>2]|0)==0))Vg(Xc);k[ge>>2]=68698;k[ge+4>>2]=10788;gd(11,13600,ge);B=11;w=0;g=0}else{B=g;w=0;g=0}while(0);if(B){g=e;h=B;ee=1318;break c}O=I;k[O>>2]=w;k[O+4>>2]=g;j[o>>1]=4;O=v;w=f;P=R;Q=S;n=I}else{O=v;w=f;P=R;Q=S;n=I}break}case 865:{ee=0;o=k[z>>2]|0;z=k[(k[Td>>2]|0)+(J<<4)+12>>2]|0;w=k[z+16>>2]|0;if(w)do{g=(k[w+8>>2]|0)+32|0;if((k[g>>2]|0)==(x|0))k[g>>2]=o;w=k[w>>2]|0}while((w|0)!=0);g=k[z+32>>2]|0;if(g)do{w=(k[g+8>>2]|0)+40|0;if((k[w>>2]|0)==(x|0))k[w>>2]=o;g=k[g>>2]|0}while((g|0)!=0);O=v;w=f;P=R;Q=S;q=J+1&255;break}case 878:{ee=0;dn(he,n);O=v;w=f;P=R;Q=S;n=F;break}case 881:{ee=0;Q=k[f+(e*20|0)+4>>2]|0;k[Vc>>2]=he;k[ba>>2]=Q;k[ca>>2]=fe;n=k[f+(e*20|0)+16>>2]|0;k[ge>>2]=k[(k[Td>>2]|0)+(Q<<4)>>2];k[ge+4>>2]=(Q|0)==1?13184:13208;k[ge+8>>2]=n;n=zh(he,42048,ge)|0;if(!n){g=e;h=q;ee=882;break c}i[da>>0]=1;k[ea>>2]=0;g=Ve(he,n,22,Vc,0)|0;g=(g|0)==0?k[ea>>2]|0:g;rg(he,n);i[da>>0]=0;if(!g){O=v;w=f;P=R;Q=S;n=F}else{f=g;g=e;h=q;ee=884;break c}break}case 886:{ee=0;pg(he,Nk((k[(k[Td>>2]|0)+(k[f+(e*20|0)+4>>2]<<4)+12>>2]|0)+8|0,k[f+(e*20|0)+16>>2]|0,0)|0);k[Qb>>2]=k[Qb>>2]|2;O=v;w=f;P=R;Q=S;break}case 887:{ee=0;z=Nk((k[(k[Td>>2]|0)+(k[f+(e*20|0)+4>>2]<<4)+12>>2]|0)+24|0,k[f+(e*20|0)+16>>2]|0,0)|0;if(z){g=(k[z+12>>2]|0)+8|0;n=k[g>>2]|0;z:do if((n|0)==(z|0))k[g>>2]=k[z+20>>2];else{do{if(!n)break z;g=n+20|0;n=k[g>>2]|0}while((n|0)!=(z|0));k[g>>2]=k[z+20>>2]}while(0);Ok(he,z)}k[Qb>>2]=k[Qb>>2]|2;O=v;w=f;P=R;Q=S;n=F;break}case 895:{ee=0;z=Nk((k[(k[Td>>2]|0)+(k[f+(e*20|0)+4>>2]<<4)+12>>2]|0)+40|0,k[f+(e*20|0)+16>>2]|0,0)|0;if(!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0]=0;i[wa>>0]=2;k[oa>>2]=43592;z=k[(k[M+12>>2]|0)+56>>2]|0;hn(Pd,1,l[z+33>>0]<<16|l[z+32>>0]<<24|l[z+34>>0]<<8|l[z+35>>0],l[z+37>>0]<<16|l[z+36>>0]<<24|l[z+38>>0]<<8|l[z+39>>0]);k[oa>>2]=0;z=k[la>>2]|0;if(!((J|0)<1|(z|0)==0)){C=M+17|0;D=0;do{E=e+(D<<2)|0;F=k[E>>2]|0;if(F){if((i[C>>0]|0)!=0&(F|0)>1){jn(Pd,F,1,0);F=k[E>>2]|0}k[oa>>2]=43608;kn(Pd,F,0,0)|0;k[oa>>2]=0;z=k[la>>2]|0}D=D+1|0}while(!((D|0)>=(J|0)|(z|0)==0))}if(!((k[ja>>2]|0)==0|(z|0)==0)){B=M+17|0;z=M+36|0;I=1;do{D=I>>>3;F=i[(k[pa>>2]|0)+D>>0]|0;C=1<<(I&7);do if(!(F&255&C)){if(I>>>0<2)E=0;else{E=I+-2|0;E=E-((E>>>0)%(((((k[z>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;E=((E+1|0)==(((k[2514]|0)>>>0)/((k[K>>2]|0)>>>0)|0|0)?3:2)+E|0}if((E|0)==(I|0)?(i[B>>0]|0)!=0:0)break;k[ge>>2]=I;ln(Pd,43632,ge);F=i[(k[pa>>2]|0)+D>>0]|0}while(0);do if(F&255&C){if(I>>>0<2)F=0;else{F=I+-2|0;F=F-((F>>>0)%(((((k[z>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;F=((F+1|0)==(((k[2514]|0)>>>0)/((k[K>>2]|0)>>>0)|0|0)?3:2)+F|0}if((F|0)!=(I|0))break;if(!(i[B>>0]|0))break;k[ge>>2]=I;ln(Pd,43656,ge)}while(0);I=I+1|0}while(!((k[la>>2]|0)==0?1:I>>>0>(k[ja>>2]|0)>>>0))}z=k[(k[(k[M>>2]|0)+204>>2]|0)+12>>2]|0;if((o|0)!=(z|0)){k[ge>>2]=o;k[ge+4>>2]=z;ln(Pd,43696,ge)}$c(k[pa>>2]|0);if(k[na>>2]|0){mn(qa);x=0;z=(k[ma>>2]|0)+1|0;break}z=k[ma>>2]|0;if(!z)mn(qa);x=yg(qa)|0}while(0);rg(he,e);Q=N;Q=iw(k[Q>>2]|0,k[Q+4>>2]|0,z|0,((z|0)<0)<<31>>31|0)|0;w=N;k[w>>2]=Q;k[w+4>>2]=L;w=v+(H*40|0)+8|0;if(!(j[w>>1]&9312))j[w>>1]=1;else Ag(G);if(z){if(!x){u=ce;v=fe;e=d;d=q;ee=1317;break a}ah(G,x,-1,1,1)|0}bm(G,ub)|0;O=v;w=f;P=R;Q=S;e=g;break}case 947:{ee=0;o=k[f+(g*20|0)+4>>2]|0;e=v+(o*40|0)|0;n=k[f+(g*20|0)+8>>2]|0;o=v+(o*40|0)+8|0;if((j[o>>1]&32)==0?(nn(e),(j[o>>1]&32)==0):0){u=ce;v=fe;e=d;d=q;ee=1317;break a}O=v+(n*40|0)|0;on(k[e>>2]|0,k[O>>2]|0,k[O+4>>2]|0);O=v;w=f;P=R;Q=S;n=F;e=g;break}case 966:{ee=0;w=k[f+(g*20|0)+4>>2]|0;N=v+(w*40|0)|0;M=v+((k[f+(g*20|0)+12>>2]|0)*40|0)|0;K=k[f+(g*20|0)+16>>2]|0;w=v+(w*40|0)+8|0;if((j[w>>1]&32)==0?(nn(N),(j[w>>1]&32)==0):0){u=ce;v=fe;e=d;d=q;ee=1317;break a}if(K){I=k[N>>2]|0;G=M;J=k[G>>2]|0;G=k[G+4>>2]|0;o=I+28|0;if((k[o>>2]|0)!=(K|0)){e=I+8|0;F=k[e>>2]|0;if(F){E=I+20|0;H=I+26|0;if(!(j[H>>1]&1))F=pn(F)|0;D=k[E>>2]|0;A:do if(!D){dd=F;od=E;ee=978}else{while(1){E=D+12|0;C=k[E>>2]|0;if(!C)break;B=D+8|0;qn(C,ge,Pd);k[E>>2]=0;F=rn(k[ge>>2]|0,F)|0;D=k[B>>2]|0;if(!D){dd=F;od=B;ee=978;break A}}Q=sn(F)|0;k[E>>2]=Q}while(0);if((ee|0)==978?(ee=0,Hc=tn(I)|0,k[od>>2]=Hc,(Hc|0)!=0):0){Q=Hc;k[Q>>2]=0;k[Q+4>>2]=0;k[Hc+8>>2]=0;Q=sn(dd)|0;k[Hc+12>>2]=Q}k[e>>2]=0;k[I+12>>2]=0;j[H>>1]=m[H>>1]|1}k[o>>2]=K}z=k[I+20>>2]|0;B:do if(z){C:while(1){x=k[z+12>>2]|0;if(x)do{w=x;B=k[w>>2]|0;w=k[w+4>>2]|0;if((w|0)<(G|0)|(w|0)==(G|0)&B>>>0<J>>>0)x=x+8|0;else{if(!((w|0)>(G|0)|(w|0)==(G|0)&B>>>0>J>>>0))break C;x=x+12|0}x=k[x>>2]|0}while((x|0)!=0);z=k[z+8>>2]|0;if(!z)break B}O=v;w=f;P=R;Q=S;e=(k[f+(g*20|0)+8>>2]|0)+-1|0;break q}while(0);if((K|0)>-1)z=M;else{O=v;w=f;P=R;Q=S;e=g;break}}else z=M;O=z;on(k[N>>2]|0,k[O>>2]|0,k[O+4>>2]|0);O=v;w=f;P=R;Q=S;e=g;break}case 993:{ee=0;o=k[f+(e*20|0)+16>>2]|0;E=k[f+(e*20|0)+12>>2]|0;I=v+(E*40|0)|0;if((i[f+(e*20|0)+3>>0]|0)!=0?(Ic=k[o+20>>2]|0,fd=k[pb>>2]|0,(fd|0)!=0):0){w=fd;while(1){if((k[w+28>>2]|0)==(Ic|0)){O=v;w=f;P=R;Q=S;break q}w=k[w+4>>2]|0;if(!w){g=e;break}}}else g=e;e=k[qb>>2]|0;if((e|0)>=(k[ya>>2]|0)){h=q;ee=998;break c}B=v+(E*40|0)+8|0;if(!(j[B>>1]&64)){z=o+12|0;x=k[z>>2]|0;w=x+(k[o+8>>2]|0)|0;f=o+16|0;x=(x<<2)+80+(k[f>>2]|0)+(w*40|0)|0;F=rh(he,x,((x|0)<0)<<31>>31)|0;if(!F){u=ce;v=fe;e=d;d=q;ee=1317;break a}kw(F|0,0,x|0)|0;if(!((j[B>>1]&9312)==0?(k[v+(E*40|0)+24>>2]|0)==0:0))Vg(I);j[B>>1]=64;k[I>>2]=F;k[F>>2]=a;k[F+60>>2]=w;k[F+64>>2]=k[z>>2];k[F+44>>2]=g;k[F+16>>2]=k[Kc>>2];k[F+52>>2]=k[za>>2];k[F+24>>2]=k[Fb>>2];k[F+40>>2]=k[Aa>>2];k[F+8>>2]=k[tc>>2];k[F+48>>2]=k[Ba>>2];k[F+28>>2]=k[o+20>>2];k[F+20>>2]=k[Eb>>2];k[F+56>>2]=k[Ca>>2];v=F+80|0;e=v+(w*40|0)|0;if((v|0)!=(e|0))do{j[v+8>>1]=128;k[v+32>>2]=he;v=v+40|0}while((v|0)!=(e|0));e=k[qb>>2]|0;v=F}else{f=o+16|0;v=k[I>>2]|0}k[qb>>2]=e+1;k[v+4>>2]=k[pb>>2];O=v+32|0;k[O>>2]=d;k[O+4>>2]=c;k[v+68>>2]=k[rb>>2];k[v+72>>2]=k[(k[a>>2]|0)+80>>2];k[rb>>2]=0;k[pb>>2]=v;O=v+40|0;k[KcKc>>2]|0;P=R;Q=S}else if((ee|0)==488){ee=0;w=xm(he,z,x)|0;if(!w){O=v;w=f;P=R;Q=S}else{g=e;h=w;ee=1318;break}}v=O;f=w;R=P;S=Q;g=e+1|0}switch(ee|0){case 30:{k[ie>>2]=g;i[be>>0]=k[f+(e*20|0)+8>>2];k[de>>2]=e;ee=41;break}case 34:{k[ie>>2]=g;i[be>>0]=k[f+(e*20|0)+8>>2];k[de>>2]=e;g=i[f+(e*20|0)+3>>0]|0;if(!(g<<24>>24)){f=k[f+(e*20|0)+16>>2]|0;if(!f){f=0;ee=39}else{k[ge>>2]=f;ih(fe,he,10344,ge)}}else{h=k[41536+((g&255)+-1<<2)>>2]|0;g=k[f+(e*20|0)+16>>2]|0;if(!g){f=h;ee=39}else{k[ge>>2]=h;k[ge+4>>2]=g;ih(fe,he,41624,ge)}}if((ee|0)==39){k[ge>>2]=f;ih(fe,he,41656,ge)}ee=k[u>>2]|0;kd=k[_d>>2]|0;nd=k[fe>>2]|0;k[ge>>2]=e;k[ge+4>>2]=kd;k[ge+8>>2]=nd;gd(ee,41600,ge);ee=41;break}case 80:{q=k[Zd>>2]|0;if(!((q|0)==0|b>>>0<u>>>0)?(qc[q&127](k[Vd>>2]|0)|0)!=0:0){e=d;f=9;d=h;ee=1311;break a}nd=Wd;kd=k[nd+4>>2]|0;if((kd|0)>0|(kd|0)==0&(k[nd>>2]|0)>>>0>0){f=k[a>>2]|0;k[ie>>2]=787;i[be>>0]=2;ih(fe,f,34376,ge);f=1;ee=1309;break}q=em(a,1)|0;if(!q){k[Xd>>2]=(k[Xd>>2]|0)+2|1;u=k[f+(g*20|0)+4>>2]|0;k[$d>>2]=v+(u*40|0);e=f+(g*20|0)+8|0;if((k[e>>2]|0)>0){q=0;do{n=q+u|0;o=v+(n*40|0)|0;n=v+(n*40|0)+8|0;f=j[n>>1]|0;if(f&4096){if(_l(o)|0){u=ce;v=fe;e=d;d=h;ee=1317;break a}f=j[n>>1]|0}if((f&514)==2)fm(o)|0;q=q+1|0}while((q|0)<(k[e>>2]|0))}if(i[ce>>0]|0){u=ce;v=fe;e=d;d=h;ee=1317;break a}k[de>>2]=g+1;e=d;d=b;b=100;break a}else{f=q;ee=1309}break}case 313:{k[ge>>2]=73058;k[ge+4>>2]=10788;gd(11,13600,ge);f=11;ee=1309;break}case 343:{k[ge>>2]=73142;k[ge+4>>2]=10788;gd(11,13600,ge);f=11;ee=1309;break}case 447:{ih(fe,he,41712,ge);g=e;f=5;ee=1309;break}case 460:{k[ge>>2]=f;ih(fe,he,41768,ge);f=1;ee=1309;break}case 462:{ih(fe,he,41792,ge);f=5;ee=1309;break}case 467:{k[de>>2]=b;i[ae>>0]=0;k[ie>>2]=5;b=5;break a}case 489:{n=k[f+(g*20|0)+4>>2]|0;f=k[f+(g*20|0)+8>>2]|0;b=(n|0)!=0;if(b){f=(f|0)!=0;if(!(f|(i[ae>>0]|0)!=0))if((k[Yd>>2]|0)>0){ih(fe,he,41848,ge);b=d;d=e;f=5;ee=1309;break}else f=0}else f=(f|0)!=0;if((n|0)==(l[ae>>0]|0)){if(b)b=f?41952:42e3;else b=41904;ih(fe,he,b,ge);b=d;d=e;f=1;ee=1309;break}if(!f){b=ym(a,1)|0;if(b)break a;i[ae>>0]=n;if((Wl(a)|0)==5){k[de>>2]=g;i[ae>>0]=1-n;k[ie>>2]=5;b=5;break a}}else{Pl(he,516);i[ae>>0]=1}Ql(he);b=(k[ie>>2]|0)==0?101:1;break a}case 508:{k[de>>2]=b;k[ie>>2]=5;b=5;break a}case 522:{rg(he,k[fe>>2]|0);nd=ph(he,16040)|0;k[fe>>2]=nd;f=k[f>>2]|0;if((k[k[(k[Td>>2]|0)+(f<<4)+12>>2]>>2]|0)!=(n|0))Am(he,f);j[Ud>>1]=j[Ud>>1]|8;f=17;ee=1309;break}case 542:{k[ge>>2]=73997;k[ge+4>>2]=10788;gd(11,13600,ge);h=11;q=f;ee=1318;break}case 560:{k[f+56>>2]=0;f=7;ee=1309;break}case 832:{i[be>>0]=2;f=6;ee=1309;break}case 882:{Jg(he);u=ce;v=fe;e=d;d=h;ee=1317;break a}case 884:{Jg(he);if((f|0)==7){u=ce;v=fe;e=d;d=h;ee=1317;break a}else ee=1309;break}case 998:{ih(fe,he,42112,ge);f=1;ee=1309;break}case 1080:{k[ge>>2]=f?42208:42216;ih(fe,he,42152,ge);f=1;ee=1309;break}case 1101:{ih(fe,he,42344,ge);f=1;ee=1309;break}case 1103:{ih(fe,he,42384,ge);f=1;ee=1309;break}case 1145:{k[ge>>2]=56343;k[ge+4>>2]=10788;gd(11,13600,ge);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,10344,ge);f=9;ee=1311}while(0);if((ee|0)==1317){i[u>>0]=1;ih(v,he,15776,ge);f=7;ee=1311}if((ee|0)==1311){k[ie>>2]=f;kd=k[a+168>>2]|0;nd=k[a+44>>2]|0;k[ge>>2]=g;k[ge+4>>2]=kd;k[ge+8>>2]=nd;gd(f,42256,ge);Wl(a)|0;if((f|0)==3082)i[he+65>>0]=1;if(!(d<<24>>24)){d=b;b=1}else{Am(he,(d&255)+-1|0);d=b;b=1}}nd=je;k[nd>>2]=e;k[nd+4>>2]=c;nd=a+124|0;k[nd>>2]=(k[nd>>2]|0)+d;r=ke;return b|0}
14 31)&-2|g;return (L=l,m)|0}function Bw(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 ec[a&1](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function Cw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return fc[a&63](b|0,c|0,d|0)|0}function Dw(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;gc[a&1](b|0,c|0,d|0,e|0,f|0,g|0)}function Ew(a,b){a=a|0;b=b|0;hc[a&31](b|0)}function Fw(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ic[a&1](b|0,c|0,d|0,e|0,f|0)}function Gw(a,b,c){a=a|0;b=b|0;c=c|0;return +jc[a&1](b|0,c|0)}function Hw(a,b,c){a=a|0;b=b|0;c=+c;kc[a&1](b|0,+c)}function Iw(a,b){a=a|0;b=b|0;return +lc[a&1](b|0)}function Jw(a){a=a|0;return mc[a&7]()|0}function Kw(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 nc[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)|0}function Lw(a,b,c){a=a|0;b=b|0;c=c|0;oc[a&15](b|0,c|0)}function Mw(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 pc[a&7](b|0,c|0,d|0,e|0,f|0,g|0)|0}function Nw(a,b){a=a|0;b=b|0;return qc[a&127](b|0)|0}function Ow(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rc[a&63](b|0,c|0,d|0)}function Pw(a){a=a|0;sc[a&3]()}function Qw(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 tc[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function Rw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return uc[a&31](b|0,c|0,d|0,e|0)|0}function Sw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;vc[a&15](b|0,c|0,d|0,e|0)}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;return wc[a&127](b|0,c|0)|0}function Uw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;return xc[a&1](b|0,c|0,+d)|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;return yc[a&31](b|0,c|0,d|0,e|0,f|0)|0}function Ww(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;ma(0);return 0}function Xw(a,b,c){a=a|0;b=b|0;c=c|0;na(1);return 0}function Yw(a,b,c){a=a|0;b=b|0;c=c|0;return yb(a|0,b|0,c|0)|0}function Zw(a,b,c){a=a|0;b=b|0;c=c|0;return bc(a|0,b|0,c|0)|0}function _w(a,b,c){a=a|0;b=b|0;c=c|0;return Kb(a|0,b|0,c|0)|0}function $w(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;oa(2)}function ax(a){a=a|0;pa(3)}function bx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;qa(4)}function cx(a,b){a=a|0;b=b|0;ra(5);return 0.0}function dx(a,b){a=a|0;b=+b;sa(6)}function ex(a){a=a|0;ta(7);return 0.0}function fx(){ua(8);return 0}function gx(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;va(9);return 0}function hx(a,b){a=a|0;b=b|0;wa(10)}function ix(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;xa(11);return 0}function jx(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 Zb(a|0,b|0,c|0,d|0,e|0,f|0)|0}function kx(a){a=a|0;ya(12);return 0}function lx(a){a=a|0;return ac(a|0)|0}function mx(a){a=a|0;return Ab(a|0)|0}function nx(a){a=a|0;return mb(a|0)|0}function ox(a,b,c){a=a|0;b=b|0;c=c|0;za(13)}function px(){Aa(14)}function qx(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;Ba(15);return 0}function rx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ca(16);return 0}function sx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Da(17)}function tx(a,b){a=a|0;b=b|0;Ea(18);return 0}function ux(a,b){a=a|0;b=b|0;return jb(a|0,b|0)|0}function vx(a,b){a=a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x,tx,tx,tx,tx,tx,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}})