Lines Matching refs:Xq
6 function Zr(f,g,k,l,m){f=f|0;g=g|0;k=k|0;l=l|0;m=m|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+16|0;if((i|0)>=(j|0))fa();y=B;z=B+8|0;c[(z&p)>>2]=0;a:do if(!g){c[(m&p)>>2]=0;r=0}else{s=a[(g&n)>>0]|0;if(s<<24>>24==-98)do{g=c[(g&p)+12>>2]|0;s=a[(g&n)>>0]|0}while(s<<24>>24==-98);if(s<<24>>24==-97)u=d[(g&n)+38>>0]|0;else u=s&255;if((u|0)==38){t=Xq(c[(g&p)+8>>2]|0,0)|0;r=Zr(f,c[(g&p)+12>>2]|0,k,t,m)|0;s=c[(m&p)>>2]|0;if(!s)break;gm(s,t,1);fm(c[(m&p)>>2]|0,l,1);break}else if((u|0)==157){g=c[(g&p)+12>>2]|0;u=a[(g&n)>>0]|0;if((u&-2)<<24>>24==-124){t=-1;s=-1;x=u&255;u=26016;A=12}else A=30}else{t=1;s=0;x=u;u=10360;A=12}b:do if((A|0)==12){c:do switch(x|0){case 157:{g=c[(g&p)+12>>2]|0;A=30;break b}case 97:case 132:case 133:{r=mh(f,40,0)|0;if(!r){c[(z&p)>>2]=r;break c}v=r+0|0;w=v+40|0;do{a[(v&n)>>0]=0;v=v+1|0}while((v|0)<(w|0));b[(r&o)+8>>1]=1;c[(r&p)+32>>2]=f;c[(z&p)>>2]=r;do if(!(c[(g&p)+4>>2]&1024)){t=c[(g&p)+8>>2]|0;c[(y&p)>>2]=u;c[(y&p)+4>>2]=t;t=uh(f,19456,y)|0;if(!t)break c;if(r)Xg(r,t,-1,1,75)|0}else{u=c[(g&p)+8>>2]|0;u=sw(u|0,((u|0)<0)<<31>>31|0,t|0,s|0)|0;t=G;g=r+8|0;if(!(b[(g&o)>>1]&9312)){z=r;c[(z&p)>>2]=u;c[(z&p)+4>>2]=t;b[(g&o)>>1]=4;break}else{Zg(r,u,t);break}}while(0);if((x&-2|0)==132&l<<24>>24==65)fm(r,67,1);else fm(r,l,1);s=r+8|0;g=e[(s&o)>>1]|0;if(g&12)b[(s&o)>>1]=g&65533;if(k<<24>>24==1){s=r;r=0;break b}s=r;r=Yl(r,k&255)|0;break b}case 101:{r=mh(f,40,0)|0;if(!r){c[(z&p)>>2]=r;break c}else{v=r+0|0;w=v+40|0;do{a[(v&n)>>0]=0;v=v+1|0}while((v|0)<(w|0));b[(r&o)+8>>1]=1;c[(r&p)+32>>2]=f;c[(z&p)>>2]=r;s=r;r=0;break b}}case 134:{r=mh(f,40,0)|0;if(!r){c[(z&p)>>2]=r;break c}v=r+0|0;w=v+40|0;do{a[(v&n)>>0]=0;v=v+1|0}while((v|0)<(w|0));b[(r&o)+8>>1]=1;c[(r&p)+32>>2]=f;c[(z&p)>>2]=r;s=(c[(g&p)+8>>2]|0)+2|0;g=s;while(1)if(!(a[(g&n)>>0]|0))break;else g=g+1|0;z=(g-s&1073741823)+-1|0;Xg(r,Yt(f,s,z)|0,(z|0)/2|0,0,75)|0;s=r;r=0;break b}default:{s=0;r=0;break b}}while(0);a[(f&n)+65>>0]=1;mg(f,0);Mh(r);r=7;break a}while(0);if((A|0)==30){y=(Zr(f,g,k,l,z)|0)==0;s=c[(z&p)>>2]|0;if(y&(s|0)!=0){op(s);t=s+8|0;g=b[(t&o)>>1]|0;do if(!(g&8)){u=s;r=c[(u&p)>>2]|0;u=c[(u&p)+4>>2]|0;if((r|0)==0&(u|0)==-2147483648){h[(s&q)>>3]=9223372036854775808.0;b[(t&o)>>1]=g&48640|8;break}else{y=dw(0,0,r|0,u|0)|0;z=s;c[(z&p)>>2]=y;c[(z&p)+4>>2]=G;break}}else h[(s&q)>>3]=-+h[(s&q)>>3];while(0);fm(s,l,k);r=0}else r=0}c[(m&p)>>2]=s}while(0);i=B;return r|0}function _r(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;do if((d|0)!=0?(g=b+19|0,h=a[(g&n)>>0]|0,(h&255)<8):0){f=0;e=b+116|0;while(1){if((c[(e&p)+12>>2]|0)==(d|0)){f=5;break}f=f+1|0;if((f|0)>=10){f=7;break}else e=e+20|0}if((f|0)==5){a[(e&n)+6>>0]=1;break}else if((f|0)==7){a[(g&n)>>0]=h+1<<24>>24;c[(b+((h&255)<<2)&p)+24>>2]=d;break}}while(0);return}function $r(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0;q=i;i=i+32|0;if((i|0)>=(j|0))fa();o=q;e=b+484|0;l=c[(e&p)>>2]|0;m=c[(b&p)>>2]|0;do if((l|0)!=0?(bs(b),c[(b&p)+512>>2]=0,(c[(l&p)+52>>2]|0)>=1):0){if(a[(m&n)+145>>0]|0)if(!(Ik((c[(l&p)+68>>2]|0)+8|0,c[(l&p)>>2]|0,l)|0)){c[(e&p)>>2]=0;break}else{a[(m&n)+65>>0]=1;break}if(d)c[(b&p)+500>>2]=(c[(d&p)>>2]|0)-(c[(b&p)+496>>2]|0)+(c[(d&p)+4>>2]|0);c[(o&p)>>2]=b+496;k=uh(m,25256,o)|0;d=c[(l&p)+68>>2]|0;a:do if(d){f=c[(m&p)+20>>2]|0;if((f|0)>0){g=c[(m&p)+16>>2]|0;h=0;while(1){e=h+1|0;if((c[(g+(h<<4)&p)+12>>2]|0)==(d|0)){e=h;break a}if((e|0)<(f|0))h=e;else break}}else e=0}else e=-1e6;while(0);g=c[(l&p)>>2]|0;h=c[(b&p)+384>>2]|0;c[(o&p)>>2]=c[((c[(m&p)+16>>2]|0)+(e<<4)&p)>>2];c[(o&p)+4>>2]=(e|0)==1?13184:13208;c[(o&p)+8>>2]=g;c[(o&p)+12>>2]=g;c[(o&p)+16>>2]=k;c[(o&p)+20>>2]=h;Br(b,25280,o);mg(m,k);k=Oq(b)|0;Dr(b,e);wh(k,144,0,0,0)|0;c[(o&p)>>2]=c[(l&p)>>2];Ir(k,e,uh(m,25368,o)|0);b=b+72|0;o=(c[(b&p)>>2]|0)+1|0;c[(b&p)>>2]=o;b=c[(l&p)>>2]|0;xh(k,wh(k,97,0,o,0)|0,b,0);wh(k,147,e,o,0)|0}while(0);i=q;return}function as(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+52|0;i=c[(h&p)>>2]|0;e=i+1|0;c[(h&p)>>2]=e;g=(i<<2)+8|0;f=b+56|0;g=ro(a,c[(f&p)>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!g){if((i|0)>0){b=0;do{mg(a,c[((c[(f&p)>>2]|0)+(b<<2)&p)>>2]|0);b=b+1|0}while((b|0)!=(i|0))}mg(a,d);mg(a,c[(f&p)>>2]|0);c[(h&p)>>2]=0}else{c[(g+(i<<2)&p)>>2]=d;c[(g+(e<<2)&p)>>2]=0}c[(f&p)>>2]=g;return}function bs(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[(b&p)+512>>2]|0;if((d|0)!=0?(g=c[(b&p)+484>>2]|0,(g|0)!=0):0){e=c[(b&p)+516>>2]|0;f=c[(b&p)>>2]|0;b=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=mh(f,b,G)|0;if(!b)b=0;else{kw(b|0,d|0,e|0)|0;a[(b+e&n)>>0]=0}as(f,g,b)}return}function cs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();l=q;m=c[(b&p)>>2]|0;o=Wq(m,e)|0;k=(d|0)!=0;if((o|0)!=0&k?(h=c[(d&p)>>2]|0,(h|0)>0):0){e=h;h=0;do{if(!(dd(o,c[(d+(h<<4)&p)+8>>2]|0)|0)){c[(l&p)>>2]=o;th(b,25184,l);e=c[(d&p)>>2]|0}h=h+1|0}while((h|0)<(e|0))}if(k){h=(c[(d&p)>>2]<<4)+24|0;h=ro(m,d,h,((h|0)<0)<<31>>31)|0;if(!h)e=10;else{d=h;e=11}}else{e=mh(m,24,0)|0;if(!e)e=10;else{h=e+0|0;d=h+24|0;do{a[(h&n)>>0]=0;h=h+1|0}while((h|0)<(d|0));d=e;e=11}}if((e|0)==10){Nk(m,f);Mk(m,g,1);mg(m,o)}else if((e|0)==11){m=d+8|0;c[(m+(c[(d&p)>>2]<<4)&p)+8>>2]=g;g=c[(d&p)>>2]|0;c[(m+(g<<4)&p)+4>>2]=f;c[(m+(g<<4)&p)>>2]=o;c[(m+(g<<4)&p)+12>>2]=0;c[(d&p)>>2]=g+1}i=q;return d|0}function ds(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0;q=i;i=i+96|0;if((i|0)>=(j|0))fa();m=q+48|0;f=q;g=c[(c[(b&p)+32>>2]&p)>>2]|0;h=m+0|0;k=g+0|0;l=h+48|0;do{a[(h&n)>>0]=a[(k&n)>>0]|0;h=h+1|0;k=k+1|0}while((h|0)<(l|0));if((a[(b&n)+43>>0]|0)!=2){h=c[(b&p)+4>>2]|0;cc[c[((c[(h&p)>>2]|0)&p)+60>>2]&31](h)}h=f+0|0;k=g+48|0;l=h+48|0;do{a[(h&n)>>0]=a[(k&n)>>0]|0;h=h+1|0;k=k+1|0}while((h|0)<(l|0));if((Zv(m,f,48)|0)==0?(a[(m&n)+12>>0]|0)!=0:0){k=m+40|0;l=m;g=0;f=0;do{g=g+f+(c[(l&p)>>2]|0)|0;f=g+f+(c[(l&p)+4>>2]|0)|0;l=l+8|0}while(l>>>0<k>>>0);if((g|0)==(c[(k&p)>>2]|0)?(f|0)==(c[(m&p)+44>>2]|0):0){f=b+52|0;if(!(Zv(f,m,48)|0))f=0;else{c[(d&p)>>2]=1;h=f+0|0;k=m+0|0;l=h+48|0;do{c[(h&p)>>2]=c[(k&p)>>2];h=h+4|0;k=k+4|0}while((h|0)<(l|0));f=e[(b&o)+66>>1]|0;c[(b&p)+36>>2]=f<<16&65536|f&65024;f=0}}else f=1}else f=1;i=q;return f|0}function es(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;b=tc[c[((c[(a&p)>>2]|0)&p)+8>>2]&31](a,g,4,b,e)|0;if(!b)c[(f&p)>>2]=(d[(g&n)+1>>0]|0)<<16|(d[(g&n)>>0]|0)<<24|(d[(g&n)+2>>0]|0)<<8|(d[(g&n)+3>>0]|0);i=h;return b|0}function fs(a,b){a=a|0;b=b|0;var c=0,d=0,f=0;if(b>>>0<0|(b|0)==0&a>>>0<8)if(b>>>0<0|(b|0)==0&a>>>0<2)a=0;else{c=40;do{c=(c&65535)+65526|0;a=iw(a|0,b|0,1)|0;b=G}while(b>>>0<0|(b|0)==0&a>>>0<8);c=c&65535;f=11}else{if(b>>>0>0|(b|0)==0&a>>>0>255){d=b;c=40;while(1){c=(c&65535)+40|0;f=mw(a|0,d|0,4)|0;b=G;if(d>>>0>0|(d|0)==0&a>>>0>4095){a=f;d=b}else{a=f;break}}c=c&65535}else c=40;if(b>>>0>0|(b|0)==0&a>>>0>15){while(1){c=(c&65535)+10&65535;d=mw(a|0,b|0,1)|0;if(b>>>0>0|(b|0)==0&a>>>0>31){a=d;b=G}else{a=d;break}}f=11}else f=11}if((f|0)==11)a=(c&65535)+65526+(e[((a&7)<<1&o)+13496>>1]|0)&65535;return a|0}function gs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;k=c[(b&p)+408>>2]|0;k=(k|0)==0?b:k;i=k+396|0;h=c[(i&p)>>2]|0;j=c[(k&p)+400>>2]|0;a:do if((h|0)>0){b=0;while(1){if((c[(j+(b<<4)&p)>>2]|0)==(d|0)?(c[(j+(b<<4)&p)+4>>2]|0)==(e|0):0)break;b=b+1|0;if((b|0)>=(h|0)){l=8;break a}}b=j+(b<<4)+8|0;if(!(a[(b&n)>>0]|0))h=f<<24>>24!=0&1;else h=1;a[(b&n)>>0]=h}else l=8;while(0);do if((l|0)==8){b=(h<<4)+16|0;b=Wl(c[(k&p)>>2]|0,j,b,((b|0)<0)<<31>>31)|0;c[(k&p)+400>>2]=b;if(!b){c[(i&p)>>2]=0;a[((c[(k&p)>>2]|0)&n)+65>>0]=1;break}else{h=c[(i&p)>>2]|0;c[(i&p)>>2]=h+1;c[(b+(h<<4)&p)>>2]=d;c[(b+(h<<4)&p)+4>>2]=e;a[(b+(h<<4)&n)+8>>0]=f;c[(b+(h<<4)&p)+12>>2]=g;break}}while(0);return}function hs(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=b[(f&o)+48>>1]|0;l=i&65535;h=e[(f&o)+46>>1]|0;m=d+64|0;if(!(c[(m&p)>>2]|0)){g=c[(d&p)>>2]|0;if(!(a[(f&n)+51>>0]&8))k=Rs(g,l,0)|0;else k=Rs(g,h,l-h|0)|0;if(k){if(i<<16>>16){j=f+32|0;f=f+28|0;h=k+16|0;g=0;do{i=c[((c[(j&p)>>2]|0)+(g<<2)&p)>>2]|0;if(!(_v(i,11152)|0))i=0;else i=cr(d,i)|0;c[(k+(g<<2)&p)+20>>2]=i;a[((c[(h&p)>>2]|0)+g&n)>>0]=a[((c[(f&p)>>2]|0)+g&n)>>0]|0;g=g+1|0}while((g|0)<(l|0))}g=(c[(m&p)>>2]|0)==0;if(!g){g=(c[(k&p)>>2]|0)+-1|0;c[(k&p)>>2]=g;if(!g){Wc(k);g=0}else g=0}else g=g?k:0}else g=0}else g=0;return g|0}function is(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+112|0;if((i|0)>=(j|0))fa();D=I;F=I+100|0;G=I+96|0;m=I+48|0;E=c[(d&p)+8>>2]|0;c[(F&p)>>2]=0;c[(G&p)>>2]=0;C=c[(d&p)>>2]|0;a:do if(!E)g=0;else{b:do if(!f)H=16;else{t=a[(f&n)>>0]|0;s=t&255;do switch(s|0){case 94:case 88:case 87:case 92:case 86:case 85:case 93:case 90:case 91:case 89:case 71:case 72:{D=$t(d,c[(f&p)+12>>2]|0,F)|0;wh(E,s,$t(d,c[(f&p)+16>>2]|0,G)|0,D,g)|0;break b}case 156:{h=c[(f&p)+40>>2]|0;k=b[(f&o)+34>>1]|0;l=c[(h&p)+28>>2]|0;if(!(a[(h&n)>>0]|0)){g=c[(l+(k*24|0)&p)+16>>2]|0;break b}if(a[(h&n)+1>>0]|0){wh(E,47,c[(h&p)+8>>2]|0,c[(l+(k*24|0)&p)+12>>2]|0,g)|0;break b}break}case 79:case 78:case 83:case 80:case 81:case 82:{B=f+12|0;D=$t(d,c[(B&p)>>2]|0,F)|0;C=f+16|0;E=$t(d,c[(C&p)>>2]|0,G)|0;au(d,c[(B&p)>>2]|0,c[(C&p)>>2]|0,s,D,E,g,32);break b}case 133:{_t(E,c[(f&p)+8>>2]|0,0,g);break b}case 97:{D=c[(f&p)+8>>2]|0;xh(E,wh(E,97,0,g,0)|0,D,0);break b}case 158:case 95:{g=is(d,c[(f&p)+12>>2]|0,g)|0;break b}case 38:{k=is(d,c[(f&p)+12>>2]|0,g)|0;if((k|0)!=(g|0))wh(E,34,k,g,0)|0;wh(E,40,g,(Xq
7 Xqd&p)+28>>2]=h;a[(d&n)+13>>0]=2;a[(d&n)+14>>0]=2;f=Ev(d)|0}return f|0}
8 e)}while((b|0)!=0);c[(d&p)>>2]=0;return}function Bo(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+32|0;if((i|0)>=(j|0))fa();h=l;g=l+8|0;k=c[(d&p)+8>>2]|0;f=b[(d&o)+18>>1]|0;if(!(f&1))if((a[(k&n)+13>>0]|0)!=0&(f&2)==0)f=4;else f=7;else if(!(f&2))f=4;else f=7;if((f|0)==4){f=k+13|0;if(!(a[(f&n)>>0]|0)){b[(g&o)+2>>1]=0;c[(g&p)+4>>2]=(c[2514]|0)+2;c[(g&p)+8>>2]=510;b[(g&o)>>1]=1;m=c[11910]|0;e=c[(d&p)+12>>2]|0;c[(h&p)>>2]=g;e=ac[m&63](e,13,h)|0;if((e|0)>=0){a[(f&n)>>0]=1;f=k+24|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1}}else e=0}else if((f|0)==7){g=c[11910]|0;f=c[(d&p)+12>>2]|0;c[(h&p)>>2]=e;e=ac[g&63](f,13,h)|0}i=l;return e|0}function Co(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;do if(b){f=c[(b&p)>>2]|0;if(!f){c[(b&p)>>2]=1;c[(b&p)+4>>2]=d;g=9;break}h=b+4|0;e=c[(h&p)>>2]|0;c[(b&p)>>2]=f+1;c[(h&p)>>2]=d;if(e){c[(d&p)>>2]=e;e=e+4|0;c[(d&p)+4>>2]=c[(e&p)>>2];f=c[(e&p)>>2]|0;if(!f)c[(a&p)+8>>2]=d;else c[(f&p)>>2]=d;c[(e&p)>>2]=d}else g=9}else g=9;while(0);if((g|0)==9){e=a+8|0;f=c[(e&p)>>2]|0;c[(d&p)>>2]=f;if(f)c[(f&p)+4>>2]=d;c[(d&p)+4>>2]=0;c[(e&p)>>2]=d}return}function Do(a,b){a=a|0;b=b|0;var d=0,e=0;if(b){if((c[(b&p)>>2]|0)>0){d=0;e=b+8|0;while(1){mg(a,c[(e&p)+4>>2]|0);mg(a,c[(e&p)+8>>2]|0);mg(a,c[(e&p)+12>>2]|0);mg(a,c[(e&p)+64>>2]|0);kg(a,c[(e&p)+16>>2]|0);Mk(a,c[(e&p)+20>>2]|0,1);Gk(a,c[(e&p)+44>>2]|0);Hk(a,c[(e&p)+48>>2]|0);d=d+1|0;if((d|0)>=(c[(b&p)>>2]|0))break;else e=e+72|0}}mg(a,b)}return}function Eo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Fo(a,d)|0;if((d|0)>0){e=a+12|0;kw((c[(a&p)+8>>2]|0)+(c[(e&p)>>2]|0)|0,b|0,d|0)|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+d}return}function Fo(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;i=b+25|0;do if(!(a[(i&n)>>0]|0)){g=a[(b&n)+24>>0]|0;if(!(g<<24>>24)){f=b+16|0;d=(c[(f&p)>>2]|0)+-1-(c[(b&p)+12>>2]|0)|0;a[(i&n)>>0]=2;c[(f&p)>>2]=0;break}j=b+8|0;h=c[(j&p)>>2]|0;h=(h|0)==(c[(b&p)+4>>2]|0)?0:h;k=b+12|0;r=c[(k&p)>>2]|0;f=((r|0)<0)<<31>>31;u=d+1|0;u=jw(r|0,f|0,u|0,((u|0)<0)<<31>>31|0)|0;s=G;f=jw(u|0,s|0,r|0,f|0)|0;r=G;m=c[(b&p)+20>>2]|0;q=((m|0)<0)<<31>>31;t=(r|0)>(q|0)|(r|0)==(q|0)&f>>>0>m>>>0;f=t?u:f;r=t?s:r;if((r|0)>(q|0)|(r|0)==(q|0)&f>>>0>m>>>0){gn(b);a[(i&n)>>0]=2;c[(b&p)+16>>2]=0;d=0;break}m=b+16|0;c[(m&p)>>2]=f;if(g<<24>>24==1)g=ro(c[(b&p)>>2]|0,h,f,((f|0)<0)<<31>>31)|0;else g=Xc(h,f)|0;if(!g){gn(b);a[(i&n)>>0]=1;c[(m&p)>>2]=0;d=0;break}if((h|0)==0?(l=c[(k&p)>>2]|0,(l|0)>0):0)kw(g|0,c[(j&p)>>2]|0,l|0)|0;c[(j&p)>>2]=g;f=c[(b&p)>>2]|0;do if(!f)f=lc[c[8792>>2]&127](g)|0;else{if((c[(f&p)+276>>2]|0)>>>0<=g>>>0?(c[(f&p)+280>>2]|0)>>>0>g>>>0:0){f=e[(f&o)+248>>1]|0;break}f=lc[c[8792>>2]&127](g)|0}while(0);c[(m&p)>>2]=f}else d=0;while(0);return d|0}function Go(a){a=a|0;var b=0,d=0;if((c[3154]|0)>=(a|0)?(b=c[3160]|0,(b|0)!=0):0){c[3160]=c[(b&p)>>2];d=c[3161]|0;c[3161]=d+-1;c[3162]=(d|0)<=(c[3156]|0)&1;c[2173]=a;if((c[2183]|0)>>>0<a>>>0)c[2183]=a;d=(c[2167]|0)+1|0;c[2167]=d;if(d>>>0>(c[2177]|0)>>>0)c[2177]=d}else{b=qg(a,((a|0)<0)<<31>>31)|0;if(b){d=lc[c[8792>>2]&127](b)|0;c[2173]=a;if((c[2183]|0)>>>0<a>>>0)c[2183]=a;d=(c[2168]|0)+d|0;c[2168]=d;if(d>>>0>(c[2178]|0)>>>0)c[2178]=d}else b=0}return b|0}function Ho(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=a+20|0;if(c[(h&p)>>2]|0){f=a+24|0;i=ac[c[8864>>2]&63](b,(c[(f&p)>>2]|0)+40|0,d[(a&n)+28>>0]|0)|0;if(!i)e=7;else{g=c[2217]|0;e=c[(a&p)+16>>2]|0;if((e|0)<=-1){j=sw(e|0,((e|0)<0)<<31>>31|0,-1024,-1)|0;e=(c[(f&p)>>2]|0)+(c[(h&p)>>2]|0)|0;e=qw(j|0,G|0,e|0,((e|0)<0)<<31>>31|0)|0}jc[g&15](i,e);e=a+40|0;f=c[(e&p)>>2]|0;if(f)cc[c[8892>>2]&31](f);c[(e&p)>>2]=i;c[(a&p)+44>>2]=0;c[(h&p)>>2]=b;e=0}}else e=0;return e|0}function Io(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;f=c[(a&p)+208>>2]|0;if(((f|0)!=0?(b[(f&o)+40>>1]|0)>-1:0)?(e=c[(f&p)+72>>2]|0,(e|0)!=0):0){f=e;h=8}else h=4;do if((h|0)==4){f=g;c[(f&p)>>2]=0;c[(f&p)+4>>2]=0;f=c[(a&p)+60>>2]|0;e=c[(f&p)>>2]|0;if(!e){e=-1;f=-1}else{e=rc[c[(e&p)+24>>2]&127](f,g)|0;if(e)break;e=g;e=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,-1,-1)|0;f=G}g=c[(a&p)+152>>2]|0;h=((g|0)<0)<<31>>31;f=jw(e|0,f|0,g|0,h|0)|0;f=qw(f|0,G|0,g|0,h|0)|0;h=8}while(0);if((h|0)==8){e=a+156|0;if(f>>>0>(c[(e&p)>>2]|0)>>>0)c[(e&p)>>2]=f;c[(d&p)>>2]=f;e=0}i=k;return e|0}function Jo(b){b=b|0;var d=0,e=0;e=b+64|0;if(!((a[(b&n)+7>>0]|0)==0?(d=c[(e&p)>>2]|0,d=rc[c[((c[(d&p)>>2]|0)&p)+20>>2]&127](d,2)|0,(d|0)!=0):0)){d=c[(e&p)>>2]|0;d=rc[c[((c[(d&p)>>2]|0)&p)+24>>2]&127](d,b+80|0)|0}return d|0}function Ko(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0;H=i;i=i+48|0;if((i|0)>=(j|0))fa();E=H+16|0;D=H+8|0;C=H+36|0;y=H;x=H+32|0;w=H+28|0;B=H+24|0;f=c[(b&p)>>2]|0;c[(w&p)>>2]=0;c[(B&p)>>2]=1;A=b+64|0;g=c[(A&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+24>>2]&127](g,y)|0;a:do if(!g){z=b+200|0;g=c[(z&p)>>2]|0;h=uq(c[(A&p)>>2]|0,g,(c[((c[(b&p)>>2]|0)&p)+8>>2]|0)+1|0)|0;if(!h){if(!(a[(g&n)>>0]|0))g=0;else g=pc[c[(f&p)+32>>2]&31](f,g,0,B)|0;b:do if((g|0)==0&(c[(B&p)>>2]|0)!=0){v=b+72|0;u=v;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;u=b+148|0;t=b+152|0;o=b+80|0;r=b+24|0;f=0;k=d;c:while(1){do{g=y;g=vq(b,d,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,x,w)|0;if((g|0)==101)break c;else if(g){F=27;break b}h=c[(x&p)>>2]|0;if((h|0)==-1){s=y;s=dw(c[(s&p)>>2]|0,c[(s&p)+4>>2]|0,c[(u&p)>>2]|0,0)|0;h=(c[(t&p)>>2]|0)+8|0;h=qw(s|0,G|0,h|0,((h|0)<0)<<31>>31|0)|0;c[(x&p)>>2]=h}if(!(h|d)){s=o;g=c[(u&p)>>2]|0;s=jw(g|0,0,c[(s&p)>>2]|0,c[(s&p)+4>>2]|0)|0;q=G;m=v;l=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if((s|0)==(l|0)&(q|0)==(m|0)){m=y;m=dw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,s|0,q|0)|0;h=(c[(t&p)>>2]|0)+8|0;h=qw(m|0,G|0,h|0,((h|0)<0)<<31>>31|0)|0;c[(x&p)>>2]=h;m=q;l=s}}else{l=v;g=c[(u&p)>>2]|0;m=c[(l&p)+4>>2]|0;l=c[(l&p)>>2]|0}if((l|0)==(g|0)&(m|0)==0){g=c[(w&p)>>2]|0;l=Bl(b,g)|0;if(l){e=l;F=25;break a}c[(r&p)>>2]=g}}while((h|0)==0);l=0;while(1){if(k)xn(b);g=wq(b,v,0,1,0)|0;if((g|0)==522)break c;else if((g|0)==101)break;else if(g){F=27;break b}f=f+1|0;g=l+1|0;if(g>>>0<h>>>0){k=0;l=g}else{k=0;continue c}}g=y;s=c[(g&p)+4>>2]|0;k=v;c[(k&p)>>2]=c[(g&p)>>2];c[(k&p)+4>>2]=s;k=0}a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;w=f}else{f=0;F=27}while(0);if((F|0)==27){a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;if(!g)w=f;else{e=g;break}}v=c[(z&p)>>2]|0;g=uq(c[(A&p)>>2]|0,v,(c[((c[(b&p)>>2]|0)&p)+8>>2]|0)+1|0)|0;if(!g){if(((a[(b&n)+16>>0]|0)+-1&255)>2?(e=Ig(b,0)|0,(e|0)!=0):0){f=w;break}e=Cl(b,(a[(v&n)>>0]|0)!=0&1,0)|0;if(!e)if((a[(v&n)>>0]|0)!=0&(c[(B&p)>>2]|0)!=0){t=c[(b&p)>>2]|0;g=t+4|0;f=c[(g&p)>>2]<<1;u=qg(f,((f|0)<0)<<31>>31)|0;if(!u){f=w;e=7}else{fw(u|0,0,f|0)|0;r=u+(c[(g&p)>>2]|0)|0;s=t+24|0;e=tc[c[(s&p)>>2]&31](t,v,u,16385,0)|0;d:do if(!e){e=rc[c[((c[(u&p)>>2]|0)&p)+24>>2]&127](u,D)|0;if(!e){o=(c[(t&p)+8>>2]|0)+1|0;f=D;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,1,0)|0;f=jw(f|0,G|0,o|0,((o|0)<0)<<31>>31|0)|0;f=qg(f,G)|0;if(f){q=D;e=c[(q&p)>>2]|0;q=jw(e|0,c[(q&p)+4>>2]|0,1,0)|0;q=f+q|0;e=tc[c[((c[(u&p)>>2]|0)&p)+8>>2]&31](u,f,e,0,0)|0;if(!e){a[(f+(c[(D&p)>>2]|0)&n)>>0]=0;k=f;B=D;A=c[(B&p)+4>>2]|0;if((A|0)>0|(A|0)==0&(c[(B&p)>>2]|0)>>>0>0){g=t+32|0;l=k;m=f;do{e=pc[c[(g&p)>>2]&31](t,m,0,C)|0;if(e){F=55;break d}do if(c[(C&p)>>2]|0){e=tc[c[(s&p)>>2]&31](t,m,r,2049,0)|0;if(e){F=55;break d}e=uq(r,q,o)|0;h=c[(r&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](r)|0;c[(r&p)>>2]=0}if(e){F=55;break d}if(!(a[(q&n)>>0]|0))break;if(!(_v(q,v)|0)){e=0;F=55;break d}}while(0);if(!m)h=1;else{h=m;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;h=(h-l&1073741823)+1|0}m=m+h|0;l=m;A=l-k|0;y=((A|0)<0)<<31>>31;B=D;z=c[(B&p)+4>>2]|0}while((y|0)<(z|0)|((y|0)==(z|0)?A>>>0<(c[(B&p)>>2]|0)>>>0:0))}e=c[(u&p)>>2]|0;if(e){lc[c[(e&p)+4>>2]&127](u)|0;c[(u&p)>>2]=0}e=ac[c[(t&p)+28>>2]&63](t,v,0)|0;Wc(f)}else F=55}else{e=7;f=0;F=55}}else{f=0;F=55}}else{f=0;F=55}while(0);if((F|0)==55)Wc(f);f=c[(u&p)>>2]|0;if(f){lc[c[(f&p)+4>>2]&127](u)|0;c[(u&p)>>2]=0}Wc(u);f=w}}else{f=w;e=0}else f=w}else{f=w;e=g}}else{f=0;e=h;F=25}}else{f=0;e=g;F=25}while(0);if((F|0)==25)a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;if((d|0)!=0&(f|0)!=0){D=c[(b&p)+172>>2]|0;c[(E&p)>>2]=f;c[(E&p)+4>>2]=D;bd(539,14776,E)}wp(b);i=H;return e|0}function Lo(d){d=d|0;var e=0,f=0;e=d+44|0;if(a[(e&n)>>0]|0){if(!(a[(d&n)+43>>0]|0)){f=c[(d&p)+4>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,0,1,9)|0}a[(e&n)>>0]=0;a[(d&n)+47>>0]=0}e=d+40|0;f=b[(e&o)>>1]|0;if(f<<16>>16>-1){if(!(a[(d&n)+43>>0]|0)){d=c[(d&p)+4>>2]|0;pc[c[((c[(d&p)>>2]|0)&p)+56>>2]&31](d,(f<<16>>16)+3|0,1,5)|0}b[(e&o)>>1]=-1}return}function Mo(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0;if((g|0)>5)if((g|0)>100)f=15;else{if((g|0)>9){g=g+-9|0;g=ca(g*39|0,g)|0}else g=1;h=c[(d&p)>>2]|0;rc[c[(h&p)+60>>2]&127](h,g)|0;h=6}else h=6;a:do if((h|0)==6){do if(!f){f=nq(d,e)|0;do if((f|0)==5){if(!(c[(c[(d&p)+32>>2]&p)>>2]|0)){f=-1;break a}e=d+43|0;if(a[(e&n)>>0]|0){f=-1;break a}g=d+4|0;f=c[(g&p)>>2]|0;f=pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,2,1,6)|0;if((f|0)==5){f=261;break a}else if(f)break;if(a[(e&n)>>0]|0){f=-1;break a}f=c[(g&p)>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,2,1,5)|0;f=-1;break a}while(0);if(f)break a;g=d+32|0;j=(c[(c[(g&p)>>2]&p)>>2]|0)+96|0;e=d+52|0;if((c[(j&p)>>2]|0)==(c[(d&p)+68>>2]|0)){i=d+43|0;h=a[(i&n)>>0]|0;if(!(h<<24>>24)){f=c[(d&p)+4>>2]|0;f=pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,3,1,6)|0;h=a[(i&n)>>0]|0}else f=0;if(h<<24>>24!=2){q=c[(d&p)+4>>2]|0;cc[c[((c[(q&p)>>2]|0)&p)+60>>2]&31](q)}if((f|0)==5){q=g;g=5;break}else if(f)break a;if(!(Zv(c[(c[(g&p)>>2]&p)>>2]|0,e,48)|0)){b[(d&o)+40>>1]=0;f=0;break a}if(a[(i&n)>>0]|0){f=-1;break a}f=c[(d&p)+4>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,3,1,5)|0;f=-1;break a}else{q=g;g=0}}else{j=d+32|0;q=j;j=(c[(c[(j&p)>>2]&p)>>2]|0)+96|0;g=0}while(0);m=d+68|0;e=c[(j&p)+8>>2]|0;i=e>>>0>(c[(m&p)>>2]|0)>>>0;e=i?0:e;i=i&1^1;h=c[(j&p)+12>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[(m&p)>>2]|0)>>>0;i=l?i:2;e=l?e:h}h=c[(j&p)+16>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[(m&p)>>2]|0)>>>0;i=l?i:3;e=l?e:h}h=c[(j&p)+20>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[(m&p)>>2]|0)>>>0;i=l?i:4;e=l?e:h}b:do if((a[(d&n)+46>>0]&2)==0?((i|0)==0?1:e>>>0<(c[(m&p)>>2]|0)>>>0):0){l=d+43|0;k=d+4|0;h=1;while(1){g=h+3|0;if(a[(l&n)>>0]|0){i=h;break}f=c[(k&p)>>2]|0;f=pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,g,1,10)|0;if(!f){i=h;break}else if((f|0)!=5)break a;h=h+1|0;if((h|0)>=5){g=5;break b}}h=c[(m&p)>>2]|0;c[(j+(i<<2)&p)+4>>2]=h;if(!(a[(l&n)>>0]|0)){e=c[(k&p)>>2]|0;pc[c[((c[(e&p)>>2]|0)&p)+56>>2]&31](e,g,1,9)|0;e=h;g=0}else{e=h;g=0}}while(0);if(!i){f=(g|0)==5?-1:520;break}g=i+3|0;f=d+43|0;h=a[(f&n)>>0]|0;do if(!(h<<24>>24)){h=c[(d&p)+4>>2]|0;h=pc[c[((c[(h&p)>>2]|0)&p)+56>>2]&31](h,g,1,6)|0;if(!h){h=a[(f&n)>>0]|0;break}else{f=(h|0)==5?-1:h;break a}}while(0);if(h<<24>>24!=2){m=c[(d&p)+4>>2]|0;cc[c[((c[(m&p)>>2]|0)&p)+60>>2]&31](m)}if((c[(j+(i<<2)&p)+4>>2]|0)==(e|0)?(Zv(c[(c[(q&p)>>2]&p)>>2]|0,d+52|0,48)|0)==0:0){b[(d&o)+40>>1]=i;f=0;break}if(!(a[(f&n)>>0]|0)){f=c[(d&p)+4>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,g,1,5)|0;f=-1}else f=-1}while(0);return f|0}function No(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=b+56|0;ei(c[(e&p)>>2]|0);c[(e&p)>>2]=0;cp(b);e=c[(b&p)+208>>2]|0;if(!e){if(!(a[(b&n)+4>>0]|0)){f=b+60|0;e=c[(f&p)>>2]|0;d=c[(e&p)>>2]|0;if(!(((d|0)!=0?((lc[c[(d&p)+48>>2]&127](e)|0)&2048|0)!=0:0)?(a[(b&n)+5>>0]&5)==1:0))i=7;if((i|0)==7?(g=c[(b&p)+64>>2]|0,h=c[(g&p)>>2]|0,(h|0)!=0):0){lc[c[(h&p)+4>>2]&127](g)|0;c[(g&p)>>2]=0}d=c[(f&p)>>2]|0;e=c[(d&p)>>2]|0;if(e){if(!(a[(b&n)+13>>0]|0))d=rc[c[(e&p)+32>>2]&127](d,0)|0;else d=0;e=b+17|0;if((a[(e&n)>>0]|0)!=5)a[(e&n)>>0]=0;if((d|0)!=0?(a[(b&n)+16>>0]|0)==6:0)a[(e&n)>>0]=5}a[(b&n)+18>>0]=0;a[(b&n)+16>>0]=0}}else{Lo(e);a[(b&n)+16>>0]=0}d=b+40|0;if(c[(d&p)>>2]|0){xn(b);a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;a[(b&n)+16>>0]=0;c[(d&p)>>2]=0}d=b+72|0;a[(b&n)+19>>0]=0;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(d&p)+8>>2]=0;c[(d&p)+12>>2]=0;return}function Oo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[(d&p)+4>>2]|0;f=e+0|0;g=f+40|0;do{c[(f&p)>>2]=0;f=f+4|0}while((f|0)<(g|0));c[(e&p)>>2]=d;c[(e&p)+4>>2]=c[(d&p)>>2];f=e+40|0;c[(e&p)+8>>2]=f;fw(f|0,0,c[(a&p)+24>>2]|0)|0;c[(e&p)+28>>2]=a;c[(e&p)+20>>2]=b;return il(a,b,d)|0}function Po(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();g=l;h=xq
11 function mq(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0;ha=i;i=i+192|0;if((i|0)>=(j|0))fa();ba=ha+48|0;$=ha+24|0;_=ha+160|0;I=ha+156|0;S=ha+152|0;L=ha+148|0;V=ha+144|0;O=ha+140|0;H=ha+16|0;ea=ha;y=ha+128|0;x=ha+116|0;z=ha+96|0;l=ha+88|0;ga=f+8|0;ca=c[(ga&p)>>2]|0;da=c[(f&p)>>2]|0;c[(ea&p)>>2]=c[9286];c[(ea&p)+4>>2]=c[9287];c[(ea&p)+8>>2]=c[9288];a:do switch(g|0){case 9:{l=c[(f+(da+-1<<4)&p)+16>>2]|0;k=c[(ca&p)>>2]|0;if((Sq(ca,22,37104,0,0)|0)==0?(E=Oq(ca)|0,(E|0)!=0):0){if((l|0)!=7?(F=k+20|0,(c[(F&p)>>2]|0)>0):0){l=(l|0)==9?2:1;k=E+96|0;q=0;do{wh(E,4,q,l,0)|0;c[(k&p)>>2]=c[(k&p)>>2]|1<<q;q=q+1|0}while((q|0)<(c[(F&p)>>2]|0))}wh(E,3,0,0,0)|0}break}case 8:{y=c[(ca&p)>>2]|0;C=y+65|0;if(((a[(C&n)>>0]|0)==0?(a[(ca&n)+18>>0]|0)==0:0)?(Y=ca+64|0,(c[(Y&p)>>2]|0)==0):0){B=Oq(ca)|0;if(B){do{}while((Pq(B,61)|0)!=0);wh(B,24,0,0,0)|0;do if(!(a[(C&n)>>0]|0)){r=ca+332|0;v=c[(r&p)>>2]|0;if((v|0)==0?(c[(ca&p)+316>>2]|0)==0:0)break;s=B+32|0;t=c[(s&p)>>2]|0;if(t)c[((c[(B&p)+4>>2]|0)&p)+8>>2]=t;c[((c[(B&p)+24>>2]|0)&p)+88>>2]=t+-1;w=y+20|0;b:do if((c[(w&p)>>2]|0)>0){h=B+96|0;k=ca+328|0;l=y+16|0;m=y+145|0;q=B+4|0;u=0;while(1){x=1<<u;if(((x&v|0)!=0?(c[(h&p)>>2]=c[(h&p)>>2]|x,ba=c[((c[((c[(l&p)>>2]|0)+(u<<4)&p)+12>>2]|0)&p)+4>>2]|0,xh(B,wh(B,4,u,(c[(k&p)>>2]&x|0)!=0&1,c[(ca+(u<<2)&p)+336>>2]|0)|0,ba,-14),(a[(m&n)>>0]|0)==0):0)?(N=c[(q&p)>>2]|0,(N|0)!=0):0)a[(N+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=1;u=u+1|0;if((u|0)>=(c[(w&p)>>2]|0))break b;v=c[(r&p)>>2]|0}}while(0);s=ca+452|0;if((c[(s&p)>>2]|0)>0){r=ca+520|0;q=0;do{t=c[((c[((c[(r&p)>>2]|0)+(q<<2)&p)>>2]|0)&p)+60>>2]|0;c:do if(!t)t=0;else while(1){if((c[(t&p)>>2]|0)==(y|0))break c;t=c[(t&p)+24>>2]|0;if(!t){t=0;break}}while(0);xh(B,wh(B,146,0,0,0)|0,t,-10);q=q+1|0}while((q|0)<(c[(s&p)>>2]|0))}c[(s&p)>>2]=0;s=Oq(ca)|0;r=ca+396|0;if((c[(r&p)>>2]|0)>0){q=ca+400|0;m=0;do{$=c[(q&p)>>2]|0;ba=c[($+(m<<4)&p)+12>>2]|0;xh(s,wh(s,145,c[($+(m<<4)&p)>>2]|0,c[($+(m<<4)&p)+4>>2]|0,d[($+(m<<4)&n)+8>>0]|0)|0,ba,-2);m=m+1|0}while((m|0)<(c[(r&p)>>2]|0))}k=c[(ca&p)+8>>2]|0;t=c[(ca&p)+404>>2]|0;if(t){h=(c[(ca&p)>>2]|0)+16|0;u=k+32|0;v=k+4|0;do{r=c[(t&p)+8>>2]|0;s=c[(t&p)+12>>2]|0;Qq(ca,0,r,c[((c[((c[(h&p)>>2]|0)+(r<<4)&p)+12>>2]|0)&p)+72>>2]|0,54);r=s+1|0;wh(k,28,0,s,r)|0;q=c[(u&p)>>2]|0;l=s+-1|0;m=c[(c[(t&p)+4>>2]&p)>>2]|0;xh(k,wh(k,97,0,l,0)|0,m,0);m=q+9|0;wh(k,108,0,m,0)|0;wh(k,47,0,0,s)|0;wh(k,78,l,q+7|0,s)|0;l=c[(v&p)>>2]|0;if(l)a[(l+(((c[(u&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=16;wh(k,103,0,r,0)|0;wh(k,47,0,1,s)|0;wh(k,16,0,m,0)|0;wh(k,9,0,q+2|0,0)|0;wh(k,25,0,s,0)|0;wh(k,61,0,0,0)|0;t=c[(t&p)>>2]|0}while((t|0)!=0)}s=c[(ca&p)+316>>2]|0;if((s|0)!=0?(a[(ca&n)+23>>0]=0,(c[(s&p)>>2]|0)>0):0){r=s+4|0;q=0;do{ba=c[(r&p)>>2]|0;Rq(ca,c[(ba+(q*20|0)&p)>>2]|0,c[(ba+(q*20|0)&p)+16>>2]|0);q=q+1|0}while((q|0)<(c[(s&p)>>2]|0))}wh(B,16,0,1,0)|0}while(0);if((c[(Y&p)>>2]|0)==0?(a[(C&n)>>0]|0)==0:0){if((c[(ca&p)+404>>2]|0)!=0?(Z=ca+68|0,(c[(Z&p)>>2]|0)==0):0)c[(Z&p)>>2]=1;Ah(B,ca);c[(ca&p)+12>>2]=101;a[(ca&n)+16>>0]=0}else aa=48}else aa=48;if((aa|0)==48)c[(ca&p)+12>>2]=1;c[(ca&p)+68>>2]=0;c[(ca&p)+72>>2]=0;c[(ca&p)+76>>2]=0;c[(ca&p)+440>>2]=0;c[(ca&p)+332>>2]=0}break}case 5:{a[(ca&n)+450>>0]=0;c[(ca&p)+440>>2]=0;break}case 6:{a[(ca&n)+450>>0]=1;c[(ca&p)+440>>2]=0;break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{c[(ea&p)>>2]=0;break}case 27:{a[((c[(ca&p)>>2]|0)&n)+250>>0]=0;aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[(ea&p)>>2]=1;break}case 32:{Vq(ca,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0,a[(f+(da<<4)&n)+16>>0]|0,0);break}case 33:{ba=f+(da<<4)+16|0;Vq(ca,0,0,0,c[(ba&p)>>2]|0);Mk(c[(ca&p)>>2]|0,c[(ba&p)>>2]|0,1);break}case 34:{a[(ea&n)>>0]=0;break}case 35:{l=c[(f+(da<<4)&p)+20>>2]|0;k=c[(f+(da<<4)&p)+16>>2]|0;if((l|0)==5?(Fc(k,20456,5)|0)==0:0){a[(ea&n)>>0]=32;break a}a[(ea&n)>>0]=0;c[(ba&p)>>2]=l;c[(ba&p)+4>>2]=k;th(ca,20464,ba);break}case 59:{ba=f+(da<<4)+16|0;c[(x&p)>>2]=Zq(ca,97,0,0,ba)|0;ba=c[(ba&p)>>2]|0;c[(x&p)+4>>2]=ba;c[(x&p)+8>>2]=ba+(c[(f+(da<<4)&p)+20>>2]|0);Yq(ca,x);break}case 61:{k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(v=b[(l&o)+38>>1]|0,v<<16>>16>=1):0)a[((c[(l&p)+4>>2]|0)+(((v<<16>>16)+-1|0)*24|0)&n)+20>>0]=k;break}case 70:{c[(ea&p)>>2]=0;break}case 71:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2]&~c[(f+(da<<4)&p)+20>>2]|c[(f+(da<<4)&p)+16>>2];break}case 73:case 72:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 74:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];c[(ea&p)+4>>2]=255;break}case 76:{c[(ea&p)>>2]=7;break}case 75:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2]<<8;c[(ea&p)+4>>2]=65280;break}case 65:{br(ca,0,f+(da+-2<<4)+16|0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 66:{k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(u=c[(l&p)+16>>2]|0,(u|0)!=0):0)a[(u&n)+24>>0]=k;break}case 67:{q=c[(ca&p)+484>>2]|0;if((q|0)!=0?(D=(b[(q&o)+38>>1]|0)+-1|0,r=c[(ca&p)>>2]|0,m=Wq(r,f+(da<<4)+16|0)|0,(m|0)!=0):0){if(!(cr(ca,m)|0)){mg(r,m);break a}s=q+4|0;mg(r,c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2]|0);c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2]=m;l=c[(q&p)+8>>2]|0;if(l)do{if((b[(c[(l&p)+4>>2]&o)>>1]|0)==(D|0))c[(c[(l&p)+32>>2]&p)>>2]=c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2];l=c[(l&p)+20>>2]|0}while((l|0)!=0)}break}case 13:{c[(ea&p)>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{c[(ea&p)>>2]=d[(f+(da<<4)&n)+14>>0];break}case 46:{ca=c[(f+(da+-3<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 47:{ca=c[(f+(da+-5<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 49:{ca=c[(f+(da+-1<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 92:case 54:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ca+320|0;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 57:case 55:{Yq(ca,f+(da<<4)+16|0);break}case 56:{Yq(ca,f+(da+-1<<4)+16|0);break}case 58:{c[(y&p)>>2]=Zq(ca,157,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(y&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(y&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];Yq(ca,y);break}case 18:case 17:{if((Sq(ca,22,37136,0,0)|0)==0?(B=Oq(ca)|0,(B|0)!=0):0)wh(B,3,1,0,0)|0;break}case 19:{if((Sq(ca,22,37120,0,0)|0)==0?(A=Oq(ca)|0,(A|0)!=0):0)wh(A,3,1,1,0)|0;break}case 22:{Tq(ca,0,f+(da<<4)+16|0);break}case 38:{ba=c[(f+(da+-2<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=(c[(ca&p)+504>>2]|0)-ba+(c[(ca&p)+508>>2]|0);break}case 39:{x=f+(da<<4)+16|0;v=c[(ca&p)>>2]|0;k=c[(ca&p)+484>>2]|0;d:do if(k){w=k+38|0;if((b[(w&o)>>1]|0)>=(c[(v&p)+96>>2]|0)){c[(ba&p)>>2]=c[(k&p)>>2];th(ca,36528,ba);break}u=Wq(v,x)|0;if(u){s=b[(w&o)>>1]|0;h=s<<16>>16;e:do if(s<<16>>16>0){t=a[((d[(u&n)>>0]|0)&n)+9328>>0]|0;q=c[(k&p)+4>>2]|0;r=u+1|0;l=0;while(1){m=c[(q+(l*24|0)&p)>>2]|0;if(t<<24>>24==(a[((d[(m&n)>>0]|0)&n)+9328>>0]|0)?(dd(r,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break e}c[(ba&p)>>2]=u;th(ca,36552,ba);mg(v,u);break d}else q=c[(k&p)+4>>2]|0;while(0);r=k+4|0;do if(!(h&7)){q=ro(v,q,(h*24|0)+192|0,0)|0;if(!q){mg(v,u);break d}else{c[(r&p)>>2]=q;s=b[(w&o)>>1]|0;break}}while(0);ba=s<<16>>16;aa=q+(ba*24|0)|0;c[(aa&p)>>2]=0;c[(aa&p)+4>>2]=0;c[(aa&p)+8>>2]=0;c[(aa&p)+12>>2]=0;c[(aa&p)+16>>2]=0;c[(aa&p)+20>>2]=0;c[(aa&p)>>2]=u;a[(q+(ba*24|0)&n)+21>>0]=65;a[(q+(ba*24|0)&n)+22>>0]=1;b[(w&o)>>1]=(b[(w&o)>>1]|0)+1<<16>>16}}while(0);$=x;aa=c[($&p)+4>>2]|0;ba=ea;c[(ba&p)>>2]=c[($&p)>>2];c[(ba&p)+4>>2]=aa;c[(ca&p)+324>>2]=0;break}case 62:{_q(ca,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0);break}case 63:{$q(ca,0,0,0,0,c[(f+(da<<4)&p)+16>>2]|0,0,0,0,0)|0;break}case 64:{ar(ca,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 44:{l=f+(da<<4)+16|0;k=c[(ca&p)+484>>2]|0;if((k|0)!=0?(J=b[(k&o)+38>>1]|0,J<<16>>16>=1):0){ba=(J<<16>>16)+-1|0;aa=c[(k&p)+4>>2]|0;ca=Wq(c[(ca&p)>>2]|0,l)|0;c[(aa+(ba*24|0)&p)+12>>2]=ca;a[(aa+(ba*24|0)&n)+21>>0]=Xqxq(e,0,h)|0;do if(!l){if(c[(h&p)>>2]|0){l=ds(e,f)|0;if(!l)g=0;else k=4}else{l=1;k=4}if((k|0)==4){ba=e+43|0;k=(a[(ba&n)>>0]|0)==0;do if(!(a[(e&n)+46>>0]&2)){if(k?(m=e+4|0,aa=c[(m&p)>>2]|0,ac[c[((c[(aa&p)>>2]|0)&p)+40>>2]&63](aa,24,0)|0,m=c[(m&p)>>2]|0,m=pc[c[((c[(m&p)>>2]|0)&p)+56>>2]&31](m,0,1,10)|0,(m|0)!=0):0){h=l;g=m;break}aa=e+44|0;a[(aa&n)>>0]=1;k=xqxqp)+4>>2]|0;if(q)a[(q+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=8;wh(g,61,0,0,0)|0;break a}while(0);mg(x,s)}}while(0);i=y;return}function Vq(f,g,h,k,l){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;R=i;i=i+176|0;if((i|0)>=(j|0))fa();M=R+80|0;J=R+168|0;G=R;H=R+136|0;I=R+112|0;N=c[(f&p)>>2]|0;a:do if((!((h|0)==0&(l|0)==0)?(O=N+65|0,(a[(O&n)>>0]|0)==0):0)?(P=f+484|0,Q=c[(P&p)>>2]|0,(Q|0)!=0):0){L=N+145|0;if(a[(L&n)>>0]|0)c[(Q&p)+32>>2]=c[(N&p)+140>>2];b:do if(k&32){s=Q+44|0;r=d[(s&n)>>0]|0;if(r&8){th(f,36584,M);break a}if(!(r&4)){c[(M&p)>>2]=c[(Q&p)>>2];th(f,36640,M);break}a[(s&n)>>0]=r|32;t=c[(f&p)+8>>2]|0;s=c[(f&p)+416>>2]|0;if(s){if((s|0)<0)s=(c[(t&p)+32>>2]|0)+-1|0;if(!(a[((c[(t&p)>>2]|0)&n)+65>>0]|0))s=(c[(t&p)+4>>2]|0)+(s*20|0)|0;else s=29120;a[(s&n)>>0]=120}s=c[(f&p)+420>>2]|0;if(s){if((s|0)<0)s=(c[(t&p)+32>>2]|0)+-1|0;if(!(a[((c[(t&p)>>2]|0)&n)+65>>0]|0))r=(c[(t&p)+4>>2]|0)+(s*20|0)|0;else r=29120;a[(r&n)>>0]=16}r=Q+36|0;if((b[(r&o)>>1]|0)>-1){s=lr(f,0,0)|0;if(!s)break;C=kh(c[(f&p)>>2]|0,c[((c[(Q&p)+4>>2]|0)+((b[(r&o)>>1]|0)*24|0)&p)>>2]|0)|0;D=c[(s&p)+4>>2]|0;c[(D&p)+4>>2]=C;a[(D&n)+12>>0]=a[(f&n)+448>>0]|0;s=$q(f,0,0,0,s,d[(Q&n)+45>>0]|0,0,0,0,0)|0;if(!s)break;x=s+51|0;a[(x&n)>>0]=a[(x&n)>>0]&-4|2;b[(r&o)>>1]=-1;x=b[(s&o)+46>>1]|0}else{s=c[(Q&p)+8>>2]|0;c:do if(!s)s=0;else while(1){if((a[(s&n)+51>>0]&3)==2)break c;s=c[(s&p)+20>>2]|0;if(!s){s=0;break}}while(0);y=s+46|0;t=b[(y&o)>>1]|0;if((t&65535)>1){w=c[(s&p)+4>>2]|0;v=s+48|0;x=1;r=1;do{m=b[(w+(x<<1)&o)>>1]|0;u=r;q=w;while(1){if((u|0)<=0){F=36;break}if((b[(q&o)>>1]|0)==m<<16>>16){F=35;break}else{u=u+-1|0;q=q+2|0}}if((F|0)==35){F=0;b[(v&o)>>1]=(b[(v&o)>>1]|0)+-1<<16>>16}else if((F|0)==36){F=0;b[(w+(r<<1)&o)>>1]=m;t=b[(y&o)>>1]|0;r=r+1|0}x=x+1|0}while((x|0)<(t&65535|0))}else r=1;x=r&65535;b[(y&o)>>1]=x}u=s+51|0;t=a[(u&n)>>0]|32;a[(u&n)>>0]=t;D=x&65535;if(!(a[(N&n)+147>>0]|0)){if(x<<16>>16){t=c[(s&p)+4>>2]|0;r=c[(Q&p)+4>>2]|0;q=0;do{a[(r+((b[(t+(q<<1)&o)>>1]|0)*24|0)&n)+20>>0]=1;q=q+1|0}while((q|0)<(D|0));t=a[(u&n)>>0]|0}a[(u&n)>>0]=t|8}c[(s&p)+40>>2]=c[(Q&p)+32>>2];u=c[(Q&p)+8>>2]|0;if(u){A=x<<16>>16==0;B=s+4|0;C=s+32|0;do{d:do if((a[(u&n)+51>>0]&3)!=2){do if(A)t=b[(u&o)+46>>1]|0;else{v=c[(u&p)+4>>2]|0;t=b[(u&o)+46>>1]|0;q=t&65535;m=c[(B&p)>>2]|0;z=0;r=0;do{w=b[(m+(z<<1)&o)>>1]|0;y=q;x=v;while(1){if((y|0)<=0){x=1;break}if((b[(x&o)>>1]|0)==w<<16>>16){x=0;break}else{y=y+-1|0;x=x+2|0}}r=x+r|0;z=z+1|0}while((z|0)<(D|0));q=u+46|0;if(!r)break;if(ks(N,u,(t&65535)+r|0)|0)break b;if(A)break d;w=b[(q&o)>>1]|0;z=u+4|0;m=u+32|0;y=w;x=0;w=w&65535;while(1){t=c[(z&p)>>2]|0;r=b[((c[(B&p)>>2]|0)+(x<<1)&o)>>1]|0;y=y&65535;v=t;while(1){if((y|0)<=0){F=63;break}if((b[(v&o)>>1]|0)==r<<16>>16)break;else{y=y+-1|0;v=v+2|0}}if((F|0)==63){F=0;b[(t+(w<<1)&o)>>1]=r;c[((c[(m&p)>>2]|0)+(w<<2)&p)>>2]=c[((c[(C&p)>>2]|0)+(x<<2)&p)>>2];w=w+1|0}x=x+1|0;if((x|0)>=(D|0))break d;y=b[(q&o)>>1]|0}}while(0);b[(u&o)+48>>1]=t}while(0);u=c[(u&p)+20>>2]|0}while((u|0)!=0)}y=Q+38|0;t=b[(y&o)>>1]|0;r=t<<16>>16;if((D|0)>=(r|0)){b[(s&o)+48>>1]=t;break}if((ks(N,s,r)|0)==0?(E=b[(y&o)>>1]|0,E<<16>>16>0):0){v=s+4|0;x=s+32|0;t=E;w=0;s=D;do{q=c[(v&p)>>2]|0;u=s;r=q;while(1){if((u|0)<=0){F=74;break}if((b[(r&o)>>1]|0)==(w|0))break;else{u=u+-1|0;r=r+2|0}}if((F|0)==74){F=0;b[(q+(s<<1)&o)>>1]=w;c[((c[(x&p)>>2]|0)+(s<<2)&p)>>2]=11152;t=b[(y&o)>>1]|0;s=s+1|0}w=w+1|0}while((w|0)<(t<<16>>16|0))}}while(0);F=Q+68|0;s=c[(F&p)>>2]|0;e:do if(s){r=c[(N&p)+20>>2]|0;if((r|0)>0){q=c[(N&p)+16>>2]|0;t=0;while(1){m=t+1|0;if((c[(q+(t<<4)&p)+12>>2]|0)==(s|0))break e;if((m|0)<(r|0))t=m;else{t=m;break}}}else t=0}else t=-1e6;while(0);q=c[(Q&p)+24>>2]|0;f:do if(q){c[(H&p)>>2]=0;c[(H&p)+4>>2]=0;c[(H&p)+8>>2]=0;c[(H&p)+12>>2]=0;c[(H&p)+16>>2]=0;c[(H&p)+20>>2]=0;c[(H&p)+24>>2]=0;c[(H&p)+28>>2]=0;s=G+0|0;r=s+80|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(r|0));c[(G&p)>>2]=1;c[(G&p)+16>>2]=c[(Q&p)>>2];c[(G&p)+24>>2]=Q;c[(G&p)+48>>2]=-1;c[(H&p)>>2]=f;c[(H&p)+4>>2]=G;b[(H&o)+28>>1]=4;s=q+4|0;if((c[(q&p)>>2]|0)>0){r=0;do{if(ls(H,c[((c[(s&p)>>2]|0)+(r*20|0)&p)>>2]|0)|0)break f;r=r+1|0}while((r|0)<(c[(q&p)>>2]|0))}}while(0);D=Q+38|0;m=b[(D&o)>>1]|0;if(m<<16>>16>0){s=m<<16>>16;r=c[(Q&p)+4>>2]|0;q=0;while(1){q=(d[(r&n)+22>>0]|0)+q|0;s=s+-1|0;if((s|0)<=0)break;else r=r+24|0}}else q=0;b[(Q&o)+42>>1]=fs(((e[(Q&o)+36>>1]|0)>>>15&65535)+q<<2,0)|0;q=c[(Q&p)+8>>2]|0;if(q)do{ms(q);q=c[(q&p)+20>>2]|0}while((q|0)!=0);if(!(a[(L&n)>>0]|0)){E=Oq(f)|0;if(!E)break;wh(E,61,0,0,0)|0;B=(c[(Q&p)+12>>2]|0)==0;r=B?36672:36680;B=B?31232:35480;do if(!l){q=k<<24>>24==0?h:f+504|0;l=c[(q&p)>>2]|0;s=c[(f&p)+496>>2]|0;m=l-s|0;if((a[(l&n)>>0]|0)!=59)m=(c[(q&p)+4>>2]|0)+m|0;c[(M&p)>>2]=r;c[(M&p)+4>>2]=m;c[(M&p)+8>>2]=s;s=f+388|0;m=Q;r=uh(N,36688,M)|0}else{s=f+388|0;wh(E,55,1,c[(s&p)>>2]|0,t)|0;r=c[(E&p)+4>>2]|0;if(r)a[(r+(((c[(E&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=4;c[(f&p)+68>>2]=2;a[(I&n)>>0]=14;c[(I&p)+4>>2]=1;a[(I&n)+1>>0]=0;c[(I&p)+8>>2]=0;c[(I&p)+12>>2]=0;ir(f,l,I)|0;wh(E,61,1,0,0)|0;if(!(c[(f&p)+64>>2]|0)){m=ns(f,l)|0;if(!m)break a;I=m+38|0;b[(D&o)>>1]=b[(I&o)>>1]|0;l=m+4|0;c[(Q&p)+4>>2]=c[(l&p)>>2];b[(I&o)>>1]=0;c[(l&p)>>2]=0;kg(N,m)}C=Q+4|0;z=b[(D&o)>>1]|0;if(z<<16>>16>0){v=z<<16>>16;w=0;r=0;x=c[(C&p)>>2]|0;while(1){m=c[(x&p)>>2]|0;q=0;while(1){u=a[(m&n)>>0]|0;if(u<<24>>24==34)q=q+1|0;else if(!(u<<24>>24))break;m=m+1|0;q=q+1|0}r=r+7+q|0;w=w+1|0;if((w|0)==(v|0))break;else x=x+24|0}u=r+2|0}else u=2;m=c[(Q&p)>>2]|0;r=0;while(1){q=a[(m&n)>>0]|0;if(q<<24>>24==34)r=r+1|0;else if(!(q<<24>>24))break;m=m+1|0;r=r+1|0}x=r+u|0;A=(x|0)<50;u=A?10360:36880;y=A?20240:36888;A=A?33952:36896;x=((z<<16>>16)*6|0)+35+x|0;r=qg(x,((x|0)<0)<<31>>31)|0;if(!r){a[(O&n)>>0]=1;m=Q;r=0;break}ad(x,r,36904,M)|0;q=r;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;c[(J&p)>>2]=q-r&1073741823;os(r,J,c[(Q&p)>>2]|0);m=c[(J&p)>>2]|0;v=m+1|0;c[(J&p)>>2]=v;a[(r+m&n)>>0]=40;m=x-v|0;q=r+v|0;if((b[(D&o)>>1]|0)>0){z=0;w=c[(C&p)>>2]|0;while(1){ad(m,q,u,M)|0;q=r+v|0;if(!q)q=0;else{u=q;while(1)if(!(a[(u&n)>>0]|0))break;else u=u+1|0;q=u-q&1073741823}c[(J&p)>>2]=q+v;os(r,J,c[(w&p)>>2]|0);q=c[((a[(w&n)+21>>0]|0)+-65<<2&p)+36920>>2]|0;u=q;while(1)if(!(a[(u&n)>>0]|0))break;else u=u+1|0;v=u-q&1073741823;u=c[(J&p)>>2]|0;kw(r+u|0,q|0,v|0)|0;v=u+v|0;c[(J&p)>>2]=v;u=z+1|0;m=x-v|0;q=r+v|0;if((u|0)<(b[(D&o)>>1]|0)){z=u;w=w+24|0;u=y}else break}}c[(M&p)>>2]=A;ad(m,q,10344,M)|0;m=Q}while(0);q=N+16|0;k=c[(m&p)>>2]|0;I=c[(s&p)>>2]|0;l=c[(f&p)+384>>2]|0;c[(M&p)>>2]=c[((c[(q&p)>>2]|0)+(t<<4)&p)>>2];c[(M&p)+4>>2]=(t|0)==1?13184:13208;c[(M&p)+8>>2]=B;c[(M&p)+12>>2]=k;c[(M&p)+16>>2]=k;c[(M&p)+20>>2]=I;c[(M&p)+24>>2]=r;c[(M&p)+28>>2]=l;Br(f,36704,M);mg(N,r);Dr(f,t);if((a[(Q&n)+44>>0]&8)!=0?(K=c[(q&p)>>2]|0,(c[((c[(K+(t<<4)&p)+12>>2]|0)&p)+72>>2]|0)==0):0){c[(M&p)>>2]=c[(K+(t<<4)&p)>>2];Br(f,36792,M)}c[(M&p)>>2]=c[(m&p)>>2];Ir(E,t,uh(N,36840,M)|0);if(!(a[(L&n)>>0]|0))break}else m=Q;if(Ik((c[(F&p)>>2]|0)+8|0,c[(m&p)>>2]|0,Q)|0){a[(O&n)>>0]=1;break}c[(P&p)>>2]=0;l=N+24|0;c[(l&p)>>2]=c[(l&p)>>2]|2;if(!(c[(Q&p)+12>>2]|0)){l=c[(f&p)+496>>2]|0;c[(Q&p)+48>>2]=(Nn(l,(c[(((c[(g&p)>>2]|0)==0?h:g)&p)>>2]|0)-l|0)|0)+13}}while(0);i=R;return}function Wq(b,d){b=b|0;d=d|0;var e=0,f=0;if(!d)e=0;else{f=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;if((f|0)!=0?(e=jw(d|0,0,1,0)|0,e=mh(b,e,G)|0,(e|0)!=0):0){kw(e|0,f|0,d|0)|0;a[(e+d&n)>>0]=0}else e=0;lo(e)}return e|0}function Xq;q=c[(q&p)+32>>2]|0}while((q|0)!=0);l=l+(m<<4)|0;if(a[(w&n)>>0]&8){v=c[(y&p)>>2]|0;c[(z&p)>>2]=c[(l&p)>>2];c[(z&p)+4>>2]=v;Br(e,35608,z)}v=c[(y&p)>>2]|0;c[(z&p)>>2]=c[(l&p)>>2];c[(z&p)+4>>2]=x;c[(z&p)+8>>2]=v;Br(e,35656,z);if((g|0)==0?(a[(w&n)>>0]&16)==0:0)Bs(e,y);if(a[(w&n)>>0]&16){v=c[(y&p)>>2]|0;xh(h,wh(h,148,m,0,0)|0,v,0)}k=c[(y&p)>>2]|0;xh(h,wh(h,124,m,0,0)|0,k,0);Dr(e,m);h=c[((c[(s&p)>>2]|0)+(m<<4)&p)+12>>2]|0;k=b[(h&o)+78>>1]|0;if(k&2){l=c[(h&p)+16>>2]|0;if(l){k=l;do{h=c[(k&p)+8>>2]|0;if(c[(h&p)+12>>2]|0){Lk(r,h);c[(h&p)+4>>2]=0;b[(h&o)+38>>1]=0}k=c[(k&p)>>2]|0}while((k|0)!=0);k=c[((c[(s&p)>>2]|0)+(m<<4)&p)+12>>2]|0;h=k;k=b[(k&o)+78>>1]|0}b[(h&o)+78>>1]=k&65533}}}}}while(0);Do(A,f);i=B;return}function er(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;h=c[(b&p)>>2]|0;do if((f|0)!=0?(c[(f&p)+4>>2]|0)!=0:0){if(a[(h&n)+145>>0]|0){th(b,28488,k);f=b+64|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=-1;break}c[(g&p)>>2]=f;g=Wq(h,e)|0;f=Vh(h,g)|0;mg(h,g);if((f|0)<0){c[(k&p)>>2]=e;th(b,28512,k);f=b+64|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=-1}}else l=7;while(0);if((l|0)==7){f=d[(h&n)+144>>0]|0;c[(g&p)>>2]=e}i=m;return f|0}function fr(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Hr(a,c[(b&p)>>2]|0)|0){b=1;break a}if(Kr(a,c[(b&p)+32>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+36>>2]|0)|0){b=1;break a}if(Hr(a,c[(b&p)+40>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+44>>2]|0)|0){b=1;break a}if(Hr(a,c[(b&p)+48>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+60>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+64>>2]|0)|0){b=1;break a}b=c[(b&p)+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function gr(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if((f|0)!=0?(h=mh(d,72,0)|0,(h|0)!=0):0){c[(h&p)>>2]=Pr(d,c[(f&p)>>2]|0,g)|0;c[(h&p)+32>>2]=ys(d,c[(f&p)+32>>2]|0,g)|0;c[(h&p)+36>>2]=Mr(d,c[(f&p)+36>>2]|0,g,0)|0;c[(h&p)+40>>2]=Pr(d,c[(f&p)+40>>2]|0,g)|0;c[(h&p)+44>>2]=Mr(d,c[(f&p)+44>>2]|0,g,0)|0;c[(h&p)+48>>2]=Pr(d,c[(f&p)+48>>2]|0,g)|0;a[(h&n)+4>>0]=a[(f&n)+4>>0]|0;j=gr(d,c[(f&p)+52>>2]|0,g)|0;c[(h&p)+52>>2]=j;if(j)c[(j&p)+56>>2]=h;c[(h&p)+56>>2]=0;c[(h&p)+60>>2]=Mr(d,c[(f&p)+60>>2]|0,g,0)|0;c[(h&p)+64>>2]=Mr(d,c[(f&p)+64>>2]|0,g,0)|0;c[(h&p)+8>>2]=0;c[(h&p)+12>>2]=0;b[(h&o)+6>>1]=(e[(f&o)+6>>1]|0)&65527;c[(h&p)+16>>2]=-1;c[(h&p)+20>>2]=-1;l=f+24|0;j=c[(l&p)+4>>2]|0;g=h+24|0;c[(g&p)>>2]=c[(l&p)>>2];c[(g&p)+4>>2]=j;g=c[(f&p)+68>>2]|0;if((g|0)!=0?(k=c[(g&p)>>2]<<4|8,i=mh(d,k,((k|0)<0)<<31>>31)|0,(i|0)!=0):0){fw(i|0,0,k|0)|0;c[(i&p)>>2]=c[(g&p)>>2];if((c[(g&p)>>2]|0)>0){f=i+8|0;j=0;do{c[(f+(j<<4)&p)+8>>2]=gr(d,c[(g+(j<<4)&p)+16>>2]|0,0)|0;c[(f+(j<<4)&p)+4>>2]=Pr(d,c[(g+(j<<4)&p)+12>>2]|0,0)|0;c[(f+(j<<4)&p)>>2]=kh(d,c[(g+(j<<4)&p)+8>>2]|0)|0;j=j+1|0}while((j|0)<(c[(g&p)>>2]|0))}}else i=0;c[(h&p)+68>>2]=i}else h=0;return h|0}function hr(d,f){d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))fa();s=w;k=w+8|0;m=w+4|0;v=c[(d&p)>>2]|0;q=f+44|0;h=a[(q&n)>>0]|0;a:do if(!(h&16))t=11;else{g=c[(f&p)+60>>2]|0;if(g)do{if((c[(g&p)>>2]|0)==(v|0)){t=11;break a}g=c[(g&p)+24>>2]|0}while((g|0)!=0);g=f+56|0;h=bn(v+308|0,c[(c[(g&p)>>2]&p)>>2]|0,k)|0;if((h|0)!=0?(l=c[(h&p)+8>>2]|0,(l|0)!=0):0){c[(m&p)>>2]=0;l=(zn(v,f,l,c[((c[(l&p)>>2]|0)&p)+8>>2]|0,m)|0)==0;h=c[(m&p)>>2]|0;if(l){mg(v,h);h=a[(q&n)>>0]|0;t=11;break}else{c[(s&p)>>2]=h;th(d,10344,s);mg(v,h);g=1;break}}c[(s&p)>>2]=c[(c[(g&p)>>2]&p)>>2];th(d,28320,s);g=1}while(0);do if((t|0)==11)if((h&16)==0?(u=f+38|0,r=b[(u&o)>>1]|0,r<<16>>16<=0):0){if(r<<16>>16<0){c[(s&p)>>2]=c[(f&p)>>2];th(d,26752,s);g=1;break}h=gr(v,c[(f&p)+12>>2]|0,0)|0;if(!h)g=1;else{r=v+250|0;q=a[(r&n)>>0]|0;t=d+68|0;s=c[(t&p)>>2]|0;Cs(d,c[(h&p)+32>>2]|0);b[(u&o)>>1]=-1;a[(r&n)>>0]=0;m=v+284|0;l=c[(m&p)>>2]|0;c[(m&p)>>2]=0;g=ns(d,h)|0;c[(m&p)>>2]=l;a[(r&n)>>0]=q;c[(t&p)>>2]=s;if(!g){b[(u&o)>>1]=0;g=1}else{d=g+38|0;b[(u&o)>>1]=b[(d&o)>>1]|0;t=g+4|0;c[(f&p)+4>>2]=c[(t&p)>>2];b[(d&o)>>1]=0;c[(t&p)>>2]=0;kg(v,g);g=(c[(f&p)+68>>2]|0)+78|0;b[(g&o)>>1]=e[(g&o)>>1]|0|2;g=0}Mk(v,h,1)}}else g=0;while(0);i=w;return g|0}