Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Jk

5 Jk>>0]|0)){e=nc[c[47552+220>>2]&127](f,511)|0;if((e|0)>=0){a[g>>0]=d;break}f=c[(Db()|0)>>2]|0;switch(f|0){case 1:{e=3;break}case 13:case 37:case 4:case 16:case 110:case 11:case 17:{e=5;break a}default:e=3850}c[b+20>>2]=f}else{a[g>>0]=d;Ua(f|0,0)|0;e=0}while(0);return e|0}function ek(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=c[b+24>>2]|0;h=b+16|0;a:do if((d[h>>0]|0|0)==(e|0))f=0;else{if((e|0)==1){a[h>>0]=1;f=0;break}do if((hc[c[47552+232>>2]&127](g)|0)<0){f=Db()|0;e=c[f>>2]|0;if((e|0)==20){if((hc[c[47552+196>>2]&127](g)|0)>=0)break;e=c[f>>2]|0}g=(e|0)!=2;f=g?2058:0;if(!g)break a;c[b+20>>2]=e;break a}while(0);a[h>>0]=0;f=0}while(0);return f|0}function fk(a,b){a=a|0;b=b|0;if((d[a+16>>0]|0)>1)a=1;else a=(nc[c[47552+28>>2]&127](c[a+24>>2]|0,0)|0)==0&1;c[b>>2]=a;return 0}function gk(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+80|0;if((i|0)>=(j|0))ba();g=n;a:do switch(b|0){case 6:{c[a+40>>2]=c[e>>2];f=0;break}case 20:{c[e>>2]=to(a)|0;f=0;break}case 16:{f=a+4|0;b=Pc(c[(c[f>>2]|0)+8>>2]|0)|0;if(!b)f=0;else{Wn(c[(c[f>>2]|0)+8>>2]|0,b)|0;c[e>>2]=b;f=0}break}case 12:{c[g>>2]=c[(c[a+4>>2]|0)+16>>2];c[e>>2]=Wc(10344,g)|0;f=0;break}case 1:{c[e>>2]=d[a+16>>0];f=0;break}case 24:{f=0;break}case 10:{so(a,4,e);f=0;break}case 13:{so(a,16,e);f=0;break}case 5:{b=e;e=c[b>>2]|0;b=c[b+4>>2]|0;f=a+40|0;if((c[f>>2]|0)>0){m=a+12|0;if(!(nc[c[47552+64>>2]&127](c[m>>2]|0,g)|0)){f=c[f>>2]|0;k=((f|0)<0)<<31>>31;e=fw(e|0,b|0,-1,-1)|0;e=fw(e|0,C|0,f|0,k|0)|0;l=C;k=nw(e|0,l|0,f|0,k|0)|0;k=$v(e|0,l|0,k|0,C|0)|0;l=C;e=c[g+36>>2]|0;f=((e|0)<0)<<31>>31;do if((l|0)>(f|0)|(l|0)==(f|0)&k>>>0>e>>>0){h=c[g+40>>2]|0;b=e+-1+(h<<1)|0;b=b+~((b|0)%(h|0)|0)|0;e=((b|0)<0)<<31>>31;f=a+20|0;if((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0){g=((h|0)<0)<<31>>31;do{a=(ro(c[m>>2]|0,b,e,10360,1,f)|0)==1;b=fw(b|0,e|0,h|0,g|0)|0;e=C;if(!a){f=778;break a}}while((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0);b=nw(k|0,l|0,h|0,g|0)|0;if((b|0)==0&(C|0)==0)break}b=fw(k|0,l|0,-1,-1)|0;if((ro(c[m>>2]|0,b,C,10360,1,f)|0)!=1){f=778;break a}}while(0);f=0}else f=1802}else f=0;break}case 4:{c[e>>2]=c[a+20>>2];f=0;break}default:f=12}while(0);i=n;return f|0}function hk(a){a=a|0;return 4096}function ik(a){a=a|0;return (b[a+18>>1]&16)<<8|0}function jk(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=c[a+36>>2]|0;i=c[l>>2]|0;m=(1<<f+d)-(1<<d)|0;a:do if(!(g&1)){j=c[i+32>>2]|0;i=(j|0)==0;if(g&4){if(i)g=0;else{g=0;i=j;do{if(m&(e[i+12>>1]|0)){h=5;break a}g=b[i+10>>1]|g;i=c[i+4>>2]|0}while((i|0)!=0)}if((m&(g&65535)|0)==0?(k=uo(a,0,d+120|0,f)|0,(k|0)!=0):0){h=k;break}h=l+10|0;b[h>>1]=e[h>>1]|0|m;h=0;break}if(!i){h=m&65535;g=j;do{if((e[g+12>>1]|0)&h){h=5;break a}if((e[g+10>>1]|0)&h){h=5;break a}g=c[g+4>>2]|0}while((g|0)!=0)}h=uo(a,1,d+120|0,f)|0;if(!h){h=l+12|0;b[h>>1]=e[h>>1]|0|m;h=0}}else{i=c[i+32>>2]|0;if(!i)g=0;else{g=0;do{if((i|0)!=(l|0))g=b[i+10>>1]|g;i=c[i+4>>2]|0}while((i|0)!=0)}if((g&65535&m|0)==0?(h=uo(a,2,d+120|0,f)|0,(h|0)!=0):0)break;g=(m|-65536)^65535;h=l+12|0;b[h>>1]=(e[h>>1]|0)&g;h=l+10|0;b[h>>1]=(e[h>>1]|0)&g;h=0}while(0);return h|0}function kk(a){a=a|0;return}function lk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=a+36|0;g=c[f>>2]|0;if(g){h=c[g>>2]|0;d=h+32|0;while(1){e=c[d>>2]|0;if((e|0)==(g|0))break;else d=e+4|0}c[d>>2]=c[g+4>>2];Sc(g);c[f>>2]=0;e=h+28|0;d=(c[e>>2]|0)+-1|0;c[e>>2]=d;if(!d){if((b|0)!=0?(c[h+12>>2]|0)>-1:0)hc[c[47552+196>>2]&127](c[h+8>>2]|0)|0;vo(a)}}return 0}function mk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=0;return 0}function nk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function ok(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;c[f>>2]=d;b=mb(a|0,b|0,f|0)|0;i=e;return b|0}function pk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+528|0;if((i|0)>=(j|0))ba();f=k;g=k+8|0;c[f>>2]=b;Yc(512,g,10344,f)|0;b=cw(g|0)|0;a:do if((b|0)>1)while(1){e=b+-1|0;if((a[g+b>>0]|0)==47)break a;if((e|0)>1)b=e;else{b=e;break}}while(0);if((b|0)>0){a[g+b>>0]=0;b=Xn(g,0,0)|0;c[d>>2]=b;if((b|0)>-1)b=0;else h=7}else{c[d>>2]=-1;h=7}if((h|0)==7){c[f>>2]=28919;c[f+4>>2]=10788;Zc(14,14848,f);b=_n(14,47896,g,28919)|0}i=k;return b|0}function qk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Gb()|0))a=Mb(a|0,b|0,c|0)|0;else a=0;return a|0}function rk(){return sb(30)|0}function sk(a){a=a|0;qo(a);return 0}function tk(a,b){a=a|0;b=b|0;return 0}function uk(a,b){a=a|0;b=b|0;return 0}function vk(a,b){a=a|0;b=b|0;c[b>>2]=0;return 0}function wk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;Zn(a);yk(a,0)|0;f=c[a+8>>2]|0;if(f){if(c[f+24>>2]|0){b=a+28|0;e=c[b>>2]|0;d=f+28|0;c[e+8>>2]=c[d>>2];c[d>>2]=e;c[a+12>>2]=-1;c[b>>2]=0}d=f+16|0;b=(c[d>>2]|0)+-1|0;c[d>>2]=b;if(!b){wo(a);g=f+36|0;b=c[g>>2]|0;d=f+32|0;e=c[d>>2]|0;if(!b)c[12178]=e;else c[b+32>>2]=e;b=c[d>>2]|0;if(b)c[b+36>>2]=c[g>>2];Sc(f)}}qo(a);return 0}function xk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;o=d+16|0;f=a[o>>0]|0;a:do if((f&255|0)<(e|0)){l=c[d+8>>2]|0;p=l+12|0;g=a[p>>0]|0;if(f<<24>>24!=g<<24>>24?(g&255)>2|(e|0)>1:0){f=5;break}h=(e|0)==1;do if(h)if((g+-1&255)<2){a[o>>0]=1;f=l+8|0;c[f>>2]=(c[f>>2]|0)+1;f=l+24|0;c[f>>2]=(c[f>>2]|0)+1;f=0;break a}else{g=m+8|0;c[g>>2]=1;b[m+2>>1]=0;n=10;break}else{g=m+8|0;c[g>>2]=1;b[m+2>>1]=0;if((e|0)==4)if((f&255)<3)n=10;else{k=g;n=14}else{h=g;n=24}}while(0);if((n|0)==10){b[m>>1]=h&1^1;c[m+4>>2]=c[2514];if(!(xo(d,m)|0)){k=g;n=14}else{g=c[(Db()|0)>>2]|0;switch(g|0){case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break a}case 1:{f=3;break}default:f=3850}c[d+20>>2]=g;break}}b:do if((n|0)==14)if(h){h=m+4|0;c[h>>2]=(c[2514]|0)+2;c[k>>2]=510;c:do if(!(xo(d,m)|0)){f=0;g=0}else{g=c[(Db()|0)>>2]|0;switch(g|0){case 1:{f=3;g=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break c}default:{f=3850;break c}}}while(0);c[h>>2]=c[2514];c[k>>2]=1;b[m>>1]=2;do if((xo(d,m)|0)!=0&(f|0)==0){f=2058;g=c[(Db()|0)>>2]|0}else{if((f|0)==5){f=5;break a}else if(f)break;a[o>>0]=1;m=l+24|0;c[m>>2]=(c[m>>2]|0)+1;c[l+8>>2]=1;break b}while(0);c[d+20>>2]=g;break a}else{h=k;n=24}while(0);do if((n|0)==24){k=(e|0)==4;if(k)if((c[l+8>>2]|0)>1)f=5;else{b[m>>1]=1;g=c[2514]|0;n=29}else{b[m>>1]=1;g=c[2514]|0;if((e|0)==2){c[m+4>>2]=g+1;g=1;n=30}else n=29}if((n|0)==29){c[m+4>>2]=g+2;g=510;n=30}if((n|0)==30){c[h>>2]=g;if(!(xo(d,m)|0))break;g=c[(Db()|0)>>2]|0;switch(g|0){case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break}case 1:{f=3;n=33;break}default:{f=3850;n=33}}if((n|0)==33)c[d+20>>2]=g;if(!k)break a}a[o>>0]=3;a[p>>0]=3;break a}while(0);f=e&255;a[o>>0]=f;a[p>>0]=f;f=0}else f=0;while(0);i=q;return f|0}function yk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;l=d+16|0;f=a[l>>0]|0;a:do if((f&255|0)>(e|0)){m=c[d+8>>2]|0;do if((f&255)>1){if((e|0)==1){b[k>>1]=0;h=k+2|0;b[h>>1]=0;f=k+4|0;c[f>>2]=(c[2514]|0)+2;g=k+8|0;c[g>>2]=510;if(xo(d,k)|0){c[d+20>>2]=c[(Db()|0)>>2];f=2314;break a}}else{g=k+8|0;h=k+2|0;f=k+4|0}b[k>>1]=2;b[h>>1]=0;c[f>>2]=c[2514];c[g>>2]=2;if(!(xo(d,k)|0)){a[m+12>>0]=1;break}else{c[d+20>>2]=c[(Db()|0)>>2];f=2058;break a}}while(0);if(!e){g=m+8|0;f=(c[g>>2]|0)+-1|0;c[g>>2]=f;do if(!f){b[k>>1]=2;b[k+2>>1]=0;c[k+8>>2]=0;c[k+4>>2]=0;if(!(xo(d,k)|0)){a[m+12>>0]=0;f=0;break}else{c[d+20>>2]=c[(Db()|0)>>2];a[m+12>>0]=0;a[l>>0]=0;f=2058;break}}else f=0;while(0);h=m+24|0;g=(c[h>>2]|0)+-1|0;c[h>>2]=g;if(!g)wo(d);if(f)break}a[l>>0]=e;f=0}else f=0;while(0);i=n;return f|0}function zk(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();k=m;l=m+8|0;h=c[e+8>>2]|0;n=(d[h+12>>0]|0)>1;g=n&1;do if(!n)if(!(a[h+13>>0]|0)){b[l+2>>1]=0;c[l+4>>2]=(c[2514]|0)+1;c[l+8>>2]=1;b[l>>1]=1;n=c[11910]|0;h=c[e+12>>2]|0;c[k>>2]=l;if(!(Yb[n&63](h,12,k)|0)){h=0;g=(b[l>>1]|0)==2?g:1;break}else{c[e+20>>2]=c[(Db()|0)>>2];h=3594;break}}else{h=0;g=0}else{h=0;g=1}while(0);c[f>>2]=g;i=m;return h|0}function Ak(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+160|0;if((i|0)>=(j|0))ba();y=A;t=A+76|0;m=dc[c[47552+292>>2]&7]()|0;if((m|0)<32768)z=1;else z=(m|0)/32768|0;w=d+36|0;m=c[w>>2]|0;a:do if(!m){m=Pc(16)|0;if(!m)l=7;else{c[m+0>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;s=d+8|0;q=c[s>>2]|0;l=c[q+20>>2]|0;b:do if(!l){r=d+32|0;n=c[r>>2]|0;if((nc[c[47552+64>>2]&127](c[d+12>>2]|0,t)|0)!=0?(a[q+13>>0]|0)==0:0)l=1802;else x=8;c:do if((x|0)==8){l=cw(n|0)|0;o=l+42|0;u=Pc(o)|0;if(u){bw(u|0,0,o|0)|0;p=u+36|0;c[u+8>>2]=p;c[y>>2]=n;Yc(l+6|0,p,48720,y)|0;l=u+12|0;c[l>>2]=-1;s=c[s>>2]|0;c[s+20>>2]=u;c[u>>2]=s;c[u+4>>2]=8;if(a[q+13>>0]|0){l=u;break b}if(!(bg(c[r>>2]|0,48728,0)|0))o=66;else{a[u+22>>0]=1;o=0}n=Xn(p,o,c[t+12>>2]&511)|0;c[l>>2]=n;if((n|0)<0){c[y>>2]=29706;c[y+4>>2]=10788;Zc(14,14848,y);l=_n(14,47896,p,29706)|0;break}Yb[c[47552+244>>2]&63](n,c[t+20>>2]|0,c[t+24>>2]|0)|0;do if(!(uo(d,1,128,1)|0)){l=c[l>>2]|0;do{n=nc[c[47552+76>>2]&127](l,0)|0;if((n|0)>=0){v=n;x=18;break}}while((c[(Db()|0)>>2]|0)==4);if((x|0)==18?(v|0)==0:0)break;l=_n(4618,47928,p,29722)|0;if(l)break c}while(0);l=uo(d,0,128,1)|0;if(!l){l=u;break b}}else l=7}while(0);vo(d);Sc(m);if(l)break a;m=c[w>>2]|0;x=24;break a}while(0);c[m>>2]=l;x=l+28|0;c[x>>2]=(c[x>>2]|0)+1;c[d+36>>2]=m;x=l+32|0;c[m+4>>2]=c[x>>2];c[x>>2]=m;x=24}}else x=24;while(0);if((x|0)==24){u=c[m>>2]|0;w=z+f|0;w=w-((w|0)%(z|0)|0)|0;t=u+20|0;d:do if((e[t>>1]|0)<(w|0)){l=_(w,g)|0;c[u+16>>2]=g;v=u+12|0;m=c[v>>2]|0;e:do if((m|0)>-1){if(nc[c[47552+64>>2]&127](m,y)|0){m=4874;break d}m=c[y+36>>2]|0;if((m|0)<(l|0)){if(!h){m=0;break d}m=(m|0)/4096|0;l=(l|0)/4096|0;if((m|0)<(l|0)){while(1){s=m<<12|4095;m=m+1|0;if((ro(c[v>>2]|0,s,((s|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((m|0)>=(l|0))break e}m=_n(4874,47976,c[u+8>>2]|0,29853)|0;break d}}}while(0);s=u+24|0;m=Tc(c[s>>2]|0,w<<2)|0;if(m){c[s>>2]=m;m=e[t>>1]|0;if((m|0)<(w|0)){p=_(z,g)|0;q=u+22|0;r=(z|0)>0;while(1){l=c[v>>2]|0;if((l|0)>-1){m=_(m,g)|0;m=gc[c[47552+256>>2]&7](0,p,(a[q>>0]|0)!=0?1:3,1,l,m)|0;if((m|0)==(-1|0))break}else{m=Pc(g)|0;if(!m){m=7;break d}bw(m|0,0,g|0)|0}n=b[t>>1]|0;if(r){l=n&65535;o=0;do{d=m+(_(o,g)|0)|0;c[(c[s>>2]|0)+(l+o<<2)>>2]=d;o=o+1|0}while((o|0)!=(z|0))}m=(n&65535)+z|0;b[t>>1]=m;m=m&65535;if((m|0)>=(w|0)){m=0;break d}}m=_n(5386,48080,c[u+8>>2]|0,29880)|0}else m=0}else m=3082}else m=0;while(0);if((e[t>>1]|0)>(f|0))l=c[(c[u+24>>2]|0)+(f<<2)>>2]|0;else l=0;c[k>>2]=l;l=(a[u+22>>0]|0)!=0&(m|0)==0?8:m}i=A;return l|0}function Bk(a,b){a=a|0;b=b|0;var d=0;if(b)do{d=b;b=c[b+32>>2]|0;Ck(a,c[d+20>>2]|0);Jk(a,c[d+24>>2]|0);Ik(a,c[d+8>>2]|0,1);Dk(a,c[d+28>>2]|0);ig(a,d)}while((b|0)!=0);return}function Ck(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;do if(!(c[f>>2]&16384)){Ck(a,c[b+12>>2]|0);Ck(a,c[b+16>>2]|0);d=c[f>>2]|0;if(d&65536){ig(a,c[b+8>>2]|0);d=c[f>>2]|0}e=b+20|0;if(!(d&2048)){Jk(a,c[e>>2]|0);break}else{Ik(a,c[e>>2]|0,1);break}}while(0);if(!(c[f>>2]&32768))ig(a,b)}return}function Dk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;d=c[b>>2]|0;if((c[f>>2]|0)>0){e=0;do{ig(a,c[d+(e<<3)>>2]|0);e=e+1|0;d=c[b>>2]|0}while((e|0)<(c[f>>2]|0))}ig(a,d);ig(a,b)}return}function Ek(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;m=Zm(b,e,p)|0;do if(!m)if(f){o=mg(16,0)|0;if(!o)g=f;else{c[o+12>>2]=e;c[o+8>>2]=f;n=b+4|0;k=(c[n>>2]|0)+1|0;c[n>>2]=k;if((k>>>0>9?(h=c[b>>2]|0,k>>>0>h<<1>>>0):0)?(l=k<<4>>>0>1024?128:k<<1,(l|0)!=(h|0)):0){g=c[3164]|0;if(g)jc[g&3]();n=mg(l<<3,0)|0;g=c[3166]|0;if(g)jc[g&3]();if(n){m=b+12|0;Sc(c[m>>2]|0);c[m>>2]=n;m=(hc[c[8744+48>>2]&127](n)|0)>>>3;c[b>>2]=m;bw(n|0,0,m<<3|0)|0;f=b+8|0;k=c[f>>2]|0;c[f>>2]=0;if(k)do{l=c[k+12>>2]|0;h=a[l>>0]|0;if(!(h<<24>>24))h=0;else{f=h;h=0;do{l=l+1|0;h=h<<3^h^(d[9328+(f&255)>>0]|0);f=a[l>>0]|0}while(f<<24>>24!=0)}f=k;k=c[k>>2]|0;yo(b,n+(((h>>>0)%(m>>>0)|0)<<3)|0,f)}while((k|0)!=0);g=a[e>>0]|0;if(!(g<<24>>24))g=0;else{k=g;g=0;do{e=e+1|0;g=g<<3^g^(d[9328+(k&255)>>0]|0);k=a[e>>0]|0}while(k<<24>>24!=0)}c[p>>2]=(g>>>0)%((c[b>>2]|0)>>>0)|0}}g=c[b+12>>2]|0;if(!g)g=0;else g=g+(c[p>>2]<<3)|0;yo(b,g,o);g=0}}else g=0;else{k=m+8|0;g=c[k>>2]|0;if(f){c[k>>2]=f;c[m+12>>2]=e;break}l=c[p>>2]|0;k=c[m+4>>2]|0;h=c[m>>2]|0;if(!k)c[b+8>>2]=h;else{c[k>>2]=h;h=c[m>>2]|0}if(h)c[h+4>>2]=k;e=c[b+12>>2]|0;if(e){k=e+(l<<3)+4|0;if((c[k>>2]|0)==(m|0))c[k>>2]=h;p=e+(l<<3)|0;c[p>>2]=(c[p>>2]|0)+-1}Sc(m);o=b+4|0;p=(c[o>>2]|0)+-1|0;c[o>>2]=p;if(!p)Kl(b)}while(0);i=q;return g|0}function Fk(b,d){b=b|0;d=d|0;Ck(b,c[d+36>>2]|0);ig(b,c[d+16>>2]|0);if(a[d+51>>0]&16)ig(b,c[d+32>>2]|0);ig(b,d);return}function Gk(a,b){a=a|0;b=b|0;var d=0;if(b){d=c[b+28>>2]|0;Ck(a,c[d+20>>2]|0);Jk(a,c[d+24>>2]|0);Ik(a,c[d+8>>2]|0,1);Ck(a,c[b+12>>2]|0);ig(a,b)}return}function Hk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=d+4|0;e=c[g>>2]|0;if(e){d=d+38|0;if((b[d>>1]|0)>0){f=0;while(1){ig(a,c[e>>2]|0);Ck(a,c[e+4>>2]|0);ig(a,c[e+8>>2]|0);ig(a,c[e+12>>2]|0);ig(a,c[e+16>>2]|0);f=f+1|0;if((f|0)>=(b[d>>1]|0))break;else e=e+24|0}e=c[g>>2]|0}ig(a,e)}return}function Ik(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b){e=(d|0)==0;d=b;while(1){b=d;d=c[d+52>>2]|0;Jk(a,c[b>>2]|0);zo(a,c[b+32>>2]|0);Ck(a,c[b+36>>2]|0);Jk(a,c[b+40>>2]|0);Ck(a,c[b+44>>2]|0);Jk(a,c[b+48>>2]|0);Ck(a,c[b+60>>2]|0);Ck(a,c[b+64>>2]|0);Mn(a,c[b+68>>2]|0);if(!e)ig(a,b);if(!d)break;else e=0}}return}function Jk
6 function Vr(f,g,k,l,m){f=f|0;g=g|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((i|0)>=(j|0))ba();u=x;v=x+8|0;c[v>>2]=0;a:do if(!g){c[m>>2]=0;n=0}else{o=a[g>>0]|0;if(o<<24>>24==-98)do{g=c[g+12>>2]|0;o=a[g>>0]|0}while(o<<24>>24==-98);if(o<<24>>24==-97)q=d[g+38>>0]|0;else q=o&255;if((q|0)==38){p=Tq(c[g+8>>2]|0,0)|0;n=Vr(f,c[g+12>>2]|0,k,p,m)|0;o=c[m>>2]|0;if(!o)break;cm(o,p,1);bm(c[m>>2]|0,l,1);break}else if((q|0)==157){g=c[g+12>>2]|0;q=a[g>>0]|0;if((q&-2)<<24>>24==-124){p=-1;o=-1;t=q&255;q=26016;w=12}else w=30}else{p=1;o=0;t=q;q=10360;w=12}b:do if((w|0)==12){c:do switch(t|0){case 134:{n=ih(f,40,0)|0;if(!n){c[v>>2]=n;break c}r=n+0|0;s=r+40|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0));b[n+8>>1]=1;c[n+32>>2]=f;c[v>>2]=n;o=(c[g+8>>2]|0)+2|0;g=o;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;v=(g-o&1073741823)+-1|0;Tg(n,Ut(f,o,v)|0,(v|0)/2|0,0,75)|0;o=n;n=0;break b}case 157:{g=c[g+12>>2]|0;w=30;break b}case 101:{n=ih(f,40,0)|0;if(!n){c[v>>2]=n;break c}else{r=n+0|0;s=r+40|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0));b[n+8>>1]=1;c[n+32>>2]=f;c[v>>2]=n;o=n;n=0;break b}}case 97:case 132:case 133:{n=ih(f,40,0)|0;if(!n){c[v>>2]=n;break c}r=n+0|0;s=r+40|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0));b[n+8>>1]=1;c[n+32>>2]=f;c[v>>2]=n;do if(!(c[g+4>>2]&1024)){p=c[g+8>>2]|0;c[u>>2]=q;c[u+4>>2]=p;p=qh(f,19456,u)|0;if(!p)break c;if(n)Tg(n,p,-1,1,75)|0}else{q=c[g+8>>2]|0;q=ow(q|0,((q|0)<0)<<31>>31|0,p|0,o|0)|0;p=C;g=n+8|0;if(!(b[g>>1]&9312)){v=n;c[v>>2]=q;c[v+4>>2]=p;b[g>>1]=4;break}else{Vg(n,q,p);break}}while(0);if((t&-2|0)==132&l<<24>>24==65)bm(n,67,1);else bm(n,l,1);o=n+8|0;g=e[o>>1]|0;if(g&12)b[o>>1]=g&65533;if(k<<24>>24==1){o=n;n=0;break b}o=n;n=Ul(n,k&255)|0;break b}default:{o=0;n=0;break b}}while(0);a[f+65>>0]=1;ig(f,0);Ih(n);n=7;break a}while(0);if((w|0)==30){u=(Vr(f,g,k,l,v)|0)==0;o=c[v>>2]|0;if(u&(o|0)!=0){kp(o);p=o+8|0;g=b[p>>1]|0;do if(!(g&8)){q=o;n=c[q>>2]|0;q=c[q+4>>2]|0;if((n|0)==0&(q|0)==-2147483648){h[o>>3]=9223372036854775808.0;b[p>>1]=g&48640|8;break}else{u=$v(0,0,n|0,q|0)|0;v=o;c[v>>2]=u;c[v+4>>2]=C;break}}else h[o>>3]=-+h[o>>3];while(0);bm(o,l,k);n=0}else n=0}c[m>>2]=o}while(0);i=x;return n|0}function Wr(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>>0]|0,(h&255)<8):0){f=0;e=b+116|0;while(1){if((c[e+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+6>>0]=1;break}else if((f|0)==7){a[g>>0]=h+1<<24>>24;c[b+((h&255)<<2)+24>>2]=d;break}}while(0);return}function Xr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();n=o;e=b+484|0;l=c[e>>2]|0;m=c[b>>2]|0;do if((l|0)!=0?(Zr(b),c[b+512>>2]=0,(c[l+52>>2]|0)>=1):0){if(a[m+145>>0]|0)if(!(Ek((c[l+68>>2]|0)+8|0,c[l>>2]|0,l)|0)){c[e>>2]=0;break}else{a[m+65>>0]=1;break}if(d)c[b+500>>2]=(c[d>>2]|0)-(c[b+496>>2]|0)+(c[d+4>>2]|0);c[n>>2]=b+496;k=qh(m,25256,n)|0;d=c[l+68>>2]|0;a:do if(d){f=c[m+20>>2]|0;if((f|0)>0){g=c[m+16>>2]|0;h=0;while(1){e=h+1|0;if((c[g+(h<<4)+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>>2]|0;h=c[b+384>>2]|0;c[n>>2]=c[(c[m+16>>2]|0)+(e<<4)>>2];c[n+4>>2]=(e|0)==1?13184:13208;c[n+8>>2]=g;c[n+12>>2]=g;c[n+16>>2]=k;c[n+20>>2]=h;xr(b,25280,n);ig(m,k);k=Kq(b)|0;zr(b,e);sh(k,144,0,0,0)|0;c[n>>2]=c[l>>2];Er(k,e,qh(m,25368,n)|0);b=b+72|0;n=(c[b>>2]|0)+1|0;c[b>>2]=n;b=c[l>>2]|0;th(k,sh(k,97,0,n,0)|0,b,0);sh(k,147,e,n,0)|0}while(0);i=o;return}function Yr(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>>2]|0;e=i+1|0;c[h>>2]=e;g=(i<<2)+8|0;f=b+56|0;g=no(a,c[f>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!g){if((i|0)>0){b=0;do{ig(a,c[(c[f>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=(i|0))}ig(a,d);ig(a,c[f>>2]|0);c[h>>2]=0}else{c[g+(i<<2)>>2]=d;c[g+(e<<2)>>2]=0}c[f>>2]=g;return}function Zr(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+512>>2]|0;if((d|0)!=0?(g=c[b+484>>2]|0,(g|0)!=0):0){e=c[b+516>>2]|0;f=c[b>>2]|0;b=fw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=ih(f,b,C)|0;if(!b)b=0;else{gw(b|0,d|0,e|0)|0;a[b+e>>0]=0}Yr(f,g,b)}return}function _r(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,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();l=o;m=c[b>>2]|0;n=Sq(m,e)|0;k=(d|0)!=0;if((n|0)!=0&k?(h=c[d>>2]|0,(h|0)>0):0){e=h;h=0;do{if(!($c(n,c[d+(h<<4)+8>>2]|0)|0)){c[l>>2]=n;ph(b,25184,l);e=c[d>>2]|0}h=h+1|0}while((h|0)<(e|0))}if(k){h=(c[d>>2]<<4)+24|0;h=no(m,d,h,((h|0)<0)<<31>>31)|0;if(!h)e=10;else{d=h;e=11}}else{e=ih(m,24,0)|0;if(!e)e=10;else{h=e+0|0;d=h+24|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(d|0));d=e;e=11}}if((e|0)==10){JkJk;Mt(b,c[r>>2]|0);d=l}l=c[l+20>>2]|0;if(!l)break;else o=o+1|0}}i=s;return}function xt(d,e,f,g,h,i,j,k,l){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=Kq(d)|0;q=c[e+8>>2]|0;if(!q){n=e+44|0;p=0}else{r=(l|0)!=0;n=e+44|0;s=r?17:1;t=w+4|0;u=w+32|0;p=0;v=0;m=q;while(1){o=i+(v<<2)|0;q=c[o>>2]|0;do if(q){if(c[m+36>>2]|0){sh(w,76,q,(c[u>>2]|0)+2|0,0)|0;q=c[o>>2]|0}sh(w,110,v+g|0,q,0)|0;if((a[m+51>>0]&3)==2){q=(a[n>>0]&32)!=0;if(q|r)p=q?s:16;else{p=1;break}}else if(r)p=16;else{p=1;break}q=c[t>>2]|0;if(!q)p=1;else{a[q+(((c[u>>2]|0)+-1|0)*20|0)+3>>0]=p;p=1}}while(0);m=c[m+20>>2]|0;if(!m)break;else v=v+1|0}}if(!(a[n>>0]&32)){o=h+1|0;n=d+19|0;m=a[n>>0]|0;if(!(m<<24>>24)){i=d+72|0;q=(c[i>>2]|0)+1|0;c[i>>2]=q}else{q=m+-1<<24>>24;a[n>>0]=q;q=c[d+((q&255)<<2)+24>>2]|0}n=e+38|0;sh(w,49,o,b[n>>1]|0,q)|0;if(!(p<<24>>24))st(w,e,0);$s(d,o,b[n>>1]|0);o=d+18|0;if(!(a[o>>0]|0))m=(j|0)!=0?5:3;else m=0;if(k)m=(m&255|8)&255;if(!l)n=m;else n=(m&255|16)&255;sh(w,75,f,q,h)|0;if(!(a[o>>0]|0))th(w,-1,c[e>>2]|0,0);m=c[w+4>>2]|0;if(m)a[m+(((c[w+32>>2]|0)+-1|0)*20|0)+3>>0]=n}return}function yt(d,e,f,g,h,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+64|0;if((i|0)>=(j|0))ba();R=Y+52|0;Q=Y+48|0;V=Y+8|0;U=Y;T=Y+40|0;W=Y+32|0;S=Y+24|0;if(((c[(c[d>>2]|0)+24>>2]&524288|0)!=0?(P=e+68|0,l=Zm((c[P>>2]|0)+56|0,c[e>>2]|0,Y+16|0)|0,(l|0)!=0):0)?(m=c[l+8>>2]|0,(m|0)!=0):0){O=(h|0)==0;H=(f|0)!=0;I=H&1;J=W+4|0;K=T+4|0;L=e+4|0;M=S+4|0;N=H?110:109;do{if(!(!O?(Zu(e,m,h,k)|0)==0:0)){E=c[d>>2]|0;D=a[m+I+25>>0]|0;F=D&255;G=m+(I<<2)+28|0;f=c[G>>2]|0;do if(!(D<<24>>24==0|(f|0)!=0)){c[R>>2]=0;c[Q>>2]=0;if(!(It(d,e,m,R,Q)|0)){r=m+20|0;if((c[r>>2]|0)>0){x=34352;w=c[x>>2]|0;x=c[x+4>>2]|0;z=34360;y=c[z>>2]|0;z=c[z+4>>2]|0;A=m+36|0;C=D<<24>>24!=6&(D<<24>>24!=9|H);B=0;o=0;l=0;n=0;do{f=V;c[f>>2]=w;c[f+4>>2]=x;f=U;c[f>>2]=y;c[f+4>>2]=z;f=c[Q>>2]|0;if(!f)f=A;else f=f+(B<<2)|0;q=c[f>>2]|0;s=c[R>>2]|0;if(!s)u=34368;else u=c[(c[L>>2]|0)+((b[(c[s+4>>2]|0)+(B<<1)>>1]|0)*24|0)>>2]|0;c[W>>2]=u;f=c[(c[(c[m>>2]|0)+4>>2]|0)+(q*24|0)>>2]|0;c[T>>2]=f;if(!u)t=0;else{v=u;while(1)if(!(a[v>>0]|0))break;else v=v+1|0;t=v-u&1073741823}c[J>>2]=t;if(!f)p=0;else{u=f;while(1)if(!(a[u>>0]|0))break;else u=u+1|0;p=u-f&1073741823}c[K>>2]=p;v=Vq(d,27,0,0,V)|0;v=Vq(d,122,v,Vq(d,27,0,0,W)|0,0)|0;n=os(E,n,Vq(d,79,v,Vq(d,27,0,0,T)|0,0)|0)|0;if(H){u=Vq(d,27,0,0,V)|0;u=Vq(d,122,u,Vq(d,27,0,0,W)|0,0)|0;v=Vq(d,27,0,0,U)|0;l=os(E,l,Vq(d,73,u,Vq(d,122,v,Vq(d,27,0,0,W)|0,0)|0,0)|0)|0}if(C){do if(D<<24>>24==8){f=c[(c[(c[m>>2]|0)+4>>2]|0)+(q*24|0)+4>>2]|0;if(!f){f=Vq(d,101,0,0,0)|0;break}else{f=Ir(E,f,0,0)|0;break}}else if(D<<24>>24==9){f=Vq(d,27,0,0,U)|0;f=Vq(d,122,f,Vq(d,27,0,0,W)|0,0)|0}else f=Vq(d,101,0,0,0)|0;while(0);o=hr(d,o,f)|0;ir(d,o,T,0)}B=B+1|0}while((B|0)<(c[r>>2]|0));f=m}else{f=m;o=0;l=0;n=0}ig(E,c[Q>>2]|0);v=c[c[f>>2]>>2]|0;if(!v)p=0;else{f=v;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;p=f-v&1073741823}if(D<<24>>24==6){c[S>>2]=v;c[M>>2]=p;f=pt(E,57,34376)|0;if(f)a[f+1>>0]=2;u=hr(d,0,f)|0;u=gr(d,u,lr(E,0,S,0)|0,n,0,0,0,0,0,0)|0;t=0}else{u=0;t=n}q=E+250|0;r=a[q>>0]|0;a[q>>0]=0;f=p+77|0;s=ih(E,f,0)|0;if(s){bw(s|0,0,f|0)|0;n=s+36|0;c[s+28>>2]=n;D=s+76|0;c[s+48>>2]=D;c[s+52>>2]=p;gw(D|0,v|0,p|0)|0;c[s+56>>2]=Ir(E,t,1,0)|0;c[s+60>>2]=Lr(E,o,1)|0;c[s+44>>2]=cr(E,u,1)|0;if(!l){f=s;l=0}else{l=Vq(d,19,l,0,0)|0;c[s+12>>2]=Ir(E,l,1,0)|0;f=s}}else{f=0;n=0}a[q>>0]=r;Ck(E,t);Ck(E,l);Jk(E,o);Ik(E,u,1);if((a[E+65>>0]|0)==1){Gk(E,f);f=0;break}if((F|0)==6)a[n>>0]=119;else if((F|0)==9?!H:0)a[n>>0]=109;else X=49;if((X|0)==49){X=0;a[n>>0]=110}c[n+4>>2]=f;F=c[P>>2]|0;c[s+20>>2]=F;c[s+24>>2]=F;c[G>>2]=f;a[s+8>>0]=N}else f=0}while(0);if(f)$u(d,f,e,g,2,0)}m=c[m+12>>2]|0}while((m|0)!=0)}i=Y;return}function zt(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=b[d+46>>1]|0;a:do if(f<<16>>16==(b[e+46>>1]|0)?(a[d+50>>0]|0)==(a[e+50>>0]|0):0){if(f<<16>>16){g=c[e+4>>2]|0;h=c[d+4>>2]|0;i=e+28|0;j=d+28|0;k=e+32|0;l=d+32|0;p=0;do{if((b[g+(p<<1)>>1]|0)!=(b[h+(p<<1)>>1]|0)){f=0;break a}if((a[(c[i>>2]|0)+p>>0]|0)!=(a[(c[j>>2]|0)+p>>0]|0)){f=0;break a}m=c[(c[k>>2]|0)+(p<<2)>>2]|0;n=c[(c[l>>2]|0)+(p<<2)>>2]|0;o=(n|0)==0;if(!m){if(!o){f=0;break a}}else{if(o){f=0;break a}if($c(m,n)|0){f=0;break a}}p=p+1|0}while((p|0)<(f&65535|0))}f=(yu(c[e+36>>2]|0,c[d+36>>2]|0,-1)|0)==0&1}else f=0;while(0);return f|0}function At(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;do if(!(a[e+44>>0]&8))f=0;else{h=c[b+408>>2]|0;h=(h|0)==0?b:h;g=h+404|0;f=c[g>>2]|0;a:do if(!f)i=5;else while(1){if((c[f+4>>2]|0)==(e|0))break a;f=c[f>>2]|0;if(!f){i=5;break}}while(0);if((i|0)==5){f=ih(c[b>>2]|0,16,0)|0;if(!f){f=0;break}c[f>>2]=c[g>>2];c[g>>2]=f;c[f+4>>2]=e;c[f+8>>2]=d;b=h+72|0;g=c[b>>2]|0;c[f+12>>2]=g+2;c[b>>2]=g+3}f=c[f+12>>2]|0}while(0);return f|0}function Bt(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;g=b[e+36>>1]|0;h=c[a>>2]|0;f=c[e>>2]|0;if(g<<16>>16>-1){g=c[(c[e+4>>2]|0)+((g<<16>>16)*24|0)>>2]|0;c[k>>2]=f;c[k+4>>2]=g;g=1555;f=qh(h,27824,k)|0}else{c[k>>2]=f;g=2579;f=qh(h,34408,k)|0}vs(a,g,d,f,-1,2);i=l;return}function Ct(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=b+316|0;h=c[g>>2]|0;d=hr(b,h,Ir(c[b>>2]|0,d,0,0)|0)|0;if(d){b=(c[d>>2]|0)+-1|0;h=c[d+4>>2]|0;c[h+(b*20|0)+16>>2]=e;b=h+(b*20|0)+13|0;a[b>>0]=a[b>>0]&-5|f<<2&4}c[g>>2]=d;return}function Dt(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,i=0;g=c[e>>2]|0;if(!(g+-1&g)){i=_((g|0)==0?1:g<<1,d)|0;a=no(a,b,i,((i|0)<0)<<31>>31)|0;if(!a){c[f>>2]=-1;a=b}else h=4}else{a=b;h=4}if((h|0)==4){bw(a+(_(g,d)|0)|0,0,d|0)|0;c[f>>2]=g;c[e>>2]=(c[e>>2]|0)+1}return a|0}function Et(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;c[h>>2]=0;b=c[a+12>>2]|0;if((b|0)!=0?(d=c[b+24>>2]|0,(d|0)>0):0){c[h>>2]=d;b=d}else b=0;d=c[a+16>>2]|0;if((d|0)!=0?(e=c[d+24>>2]|0,(e|0)>(b|0)):0)c[h>>2]=e;f=a+4|0;b=a+20|0;if(!(c[f>>2]&2048)){d=c[b>>2]|0;if(d){pu(d,h);b=c[b>>2]|0;if((b|0)!=0?(g=c[b>>2]|0,(g|0)>0):0){e=c[b+4>>2]|0;d=0;b=0;do{b=c[(c[e+(d*20|0)>>2]|0)+4>>2]|b;d=d+1|0}while((d|0)!=(g|0));b=b&2097408}else b=0;c[f>>2]=c[f>>2]|b}}else As(c[b>>2]|0,h);c[a+24>>2]=(c[h>>2]|0)+1;i=k;return}function Ft(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Kq(b)|0;i=b+72|0;h=(c[i>>2]|0)+1|0;c[i>>2]=h;b=ih(c[b>>2]|0,8,0)|0;if(b){i=b;c[i>>2]=e;c[i+4>>2]=f}th(g,sh(g,26,0,h,0)|0,b,-13);eq(g,1);if(!(a[(c[g>>2]|0)+65>>0]|0))Tg(c[g+16>>2]|0,d,-1,1,0)|0;sh(g,35,h,1,0)|0;return}function Gt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=c[b>>2]|0;e=d+16|0;f=c[(c[e>>2]|0)+20>>2]|0;do if(!f)d=0;else{if((a[d+63>>0]|0)!=0?(a[f+8>>0]|0)==0:0){Il(f);c[(c[e>>2]|0)+20>>2]=0;Ag(d);d=0;break}ph(b,32128,g);d=1}while(0);i=h;return d|0}function Ht(b){b=b|0;var e=0,f=0,g=0;if((a[b+63>>0]|0)!=0?(e=c[b+20>>2]|0,(e|0)>0):0){g=b+24|0;f=c[b+16>>2]|0;while(1){e=e+-1|0;b=c[f+4>>2]|0;if(b)po(b,c[g>>2]&28|d[f+8>>0]);if((e|0)<=0)break;else f=f+16|0}}return}function It(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var 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;z=i;i=i+16|0;if((i|0)>=(j|0))ba();w=z;x=c[g+20>>2]|0;m=c[g+40>>2]|0;if((x|0)==1){s=b[f+36>>1]|0;l=s<<16>>16;if(s<<16>>16>-1)if((m|0)!=0?($c(c[(c[f+4>>2]|0)+(l*24|0)>>2]|0,m)|0)!=0:0){v=0;y=8}else k=0;else{v=0;y=8}}else if(k){l=ih(c[d>>2]|0,x<<2,0)|0;if(!l)k=1;else{c[k>>2]=l;v=l;y=8}}else{v=0;y=8}a:do if((y|0)==8){k=c[f+8>>2]|0;b:do if(k){s=(m|0)==0;u=(x|0)>0;r=f+4|0;t=(v|0)==0;c:while(1){do if((e[k+46>>1]|0)==(x|0)?(a[k+50>>0]|0)!=0:0){if(s)if((a[k+51>>0]&3)==2){y=16;break c}else break;d:do if(u){n=c[k+4>>2]|0;o=c[r>>2]|0;p=c[k+32>>2]|0;q=0;while(1){f=b[n+(q<<1)>>1]|0;m=c[o+(f*24|0)+16>>2]|0;if($c(c[p+(q<<2)>>2]|0,(m|0)!=0?m:11152)|0){m=q;break d}m=c[o+(f*24|0)>>2]|0;l=0;while(1){f=l+1|0;if(!($c(c[g+(l<<3)+40>>2]|0,m)|0)){f=l;y=23;break}if((f|0)<(x|0))l=f;else break}if((y|0)==23){y=0;if(!t)c[v+(q<<2)>>2]=c[g+(f<<3)+36>>2]}m=q+1|0;if((f|0)==(x|0)){m=q;break d}if((m|0)<(x|0))q=m;else break}}else m=0;while(0);if((m|0)==(x|0))break c}while(0);k=c[k+20>>2]|0;if(!k)break b}if((y|0)==16)if(!(t|u^1)){l=0;do{c[v+(l<<2)>>2]=c[g+(l<<3)+36>>2];l=l+1|0}while((l|0)!=(x|0))}c[h>>2]=k;k=0;break a}while(0);if(!(a[d+438>>0]|0)){s=c[g+8>>2]|0;c[w>>2]=c[c[g>>2]>>2];c[w+4>>2]=s;ph(d,32008,w)}ig(c[d>>2]|0,v);k=1}while(0);i=z;return k|0}function Jt(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!(c[d+12>>2]|0)){c[h>>2]=0;l=c[b>>2]|0;g=d+4|0;d=c[g>>2]|0;Vr(l,c[d+(e*24|0)+4>>2]|0,a[l+62>>0]|0,a[d+(e*24|0)+21>>0]|0,h)|0;d=c[h>>2]|0;if(d)th(b,-1,d,-8);if((a[(c[g>>2]|0)+(e*24|0)+21>>0]|0)==69)sh(b,39,f,0,0)|0}i=k;return}function Kt(c,d,f){c=c|0;d=d|0;f=f|0;var g=0;if(!d)g=0;else{g=d;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-d&1073741823}g=Oh(c,d,g,2,1,0)|0;if(g){g=g+2|0;b[g>>1]=e[g>>1]|f&255}return}function Lt(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[d+8>>2]|0;r=c[e+12>>2]|0;do if(i){l=e+36|0;if(!(c[l>>2]|0)){c[i>>2]=0;break}else{c[i>>2]=ts(q)|0;c[d+96>>2]=f;p=d+100|0;c[p>>2]=(c[p>>2]|0)+1;ct(d,c[l>>2]|0,c[i>>2]|0,16);break}}while(0);if((h|0)!=0?(a[e+51>>0]&8)!=0:0)l=e+46|0;else l=e+48|0;l=b[l>>1]|0;n=l&65535;o=d+60|0;h=c[o>>2]|0;p=d+56|0;i=c[p>>2]|0;if((i|0)<(n|0)){h=d+72|0;m=c[h>>2]|0;c[h>>2]=m+n;m=m+1|0}else{c[o>>2]=h+n;c[p>>2]=i-n;m=h}do if(!j)h=0;else{if((m|0)==(k|0)?(c[j+36>>2]|0)==0:0){h=j;break}h=0}while(0);if(l<<16>>16){j=(h|0)==0;k=e+4|0;i=h+4|0;l=0;do{if(!j){h=b[(c[k>>2]|0)+(l<<1)>>1]|0;if((b[(c[i>>2]|0)+(l<<1)>>1]|0)!=h<<16>>16)s=21}else{h=b[(c[k>>2]|0)+(l<<1)>>1]|0;s=21}if((s|0)==21){s=0;jt(q,r,f,h<<16>>16,l+m|0);Lq(q,39)|0}l=l+1|0}while((l|0)<(n|0))}if(g)sh(q,49,m,n,g)|0;$s(d,m,n);if((c[p>>2]|0)<(n|0)){c[p>>2]=n;c[o>>2]=m}return m|0}function Mt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(b){d=c[a+8>>2]|0;e=c[d+24>>2]|0;f=~b;if((b|0)<0?(g=c[e+112>>2]|0,(g|0)!=0):0)c[g+(f<<2)>>2]=c[d+32>>2];c[e+88>>2]=(c[d+32>>2]|0)+-1;Zt(a)}return}function Nt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;e=c[d+16>>2]|0;a:do if((e|0)!=0?(f=c[d+64>>2]|0,(f|0)!=0):0){e=c[e+8>>2]|0;b:do if(e){while(1){if(!($c(c[e>>2]|0,f)|0))break;e=c[e+20>>2]|0;if(!e)break b}c[d+68>>2]=e;e=0;break a}while(0);c[g>>2]=f;c[g+4>>2]=0;ph(b,28104,g);a[b+17>>0]=1;e=1}else e=0;while(0);i=h;return e|0}function Ot(a,b){a=a|0;b=b|0;var d=0,e=0;if(a){d=Pt(a,b)|0;if(b&1){e=Ot(c[a+12>>2]|0,b)|0;return e+d+(Ot(c[a+16>>2]|0,b)|0)|0}}else d=0;return d|0}
7 JkJk
8 0,f);if(c[f+36>>2]|0)break a;b[q+28>>1]=b[c[k>>2]>>1]|0;break a}while(0);if((m|0)==11)k=c[o>>2]|0;o=q+42|0;m=n+44|0;b[m>>1]=b[o>>1]|0;Jq(k,1,q+28|0,n);b[o>>1]=b[m>>1]|0}while(0);i=p;return 0}function aq(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;do if(e){if((c[b+12>>2]|0)>>>0<e>>>0){c[k>>2]=e;bn(b,44408,k);f=1;break}g=(c[b+8>>2]|0)+(e>>>3)|0;h=d[g>>0]|0;f=1<<(e&7);if(!(h&f)){a[g>>0]=h|f;f=0;break}else{c[k>>2]=e;bn(b,44432,k);f=1;break}}else f=1;while(0);i=l;return f|0}function bq(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;do if(d){if((b|0)==1){b=d+8|0;c[a>>2]=c[b>>2];c[b>>2]=0;c[d+12>>2]=0;break}b=b+-1|0;d=bq(a,b)|0;e=c[a>>2]|0;if(e){c[e+12>>2]=d;d=e+8|0;c[a>>2]=c[d>>2];c[d>>2]=bq(a,b)|0;return e|0}}else d=0;while(0);return d|0}function cq(b,d){b=b|0;d=d|0;var e=0;if((a[b+43>>0]|0)==2){e=b+24|0;if((c[e>>2]|0)>0){d=b+32|0;b=0;do{Sc(c[(c[d>>2]|0)+(b<<2)>>2]|0);c[(c[d>>2]|0)+(b<<2)>>2]=0;b=b+1|0}while((b|0)<(c[e>>2]|0))}}else{b=c[b+4>>2]|0;nc[c[(c[b>>2]|0)+64>>2]&127](b,d)|0}return}function dq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Jg(b)|0;if(b)$g(c,a,Oe(a)|0,d);i=d;return b|0}function eq(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=c[a>>2]|0;g=a+16|0;h=a+84|0;_g(c[g>>2]|0,(e[h>>1]|0)<<1);ig(f,c[g>>2]|0);b[h>>1]=d;h=d*80|0;f=ih(f,h,0)|0;if(f){bw(f|0,0,h|0)|0;c[g>>2]=f;if((d|0)>0){h=c[a>>2]|0;g=d<<1;while(1){g=g+-1|0;b[f+8>>1]=1;c[f+32>>2]=h;if((g|0)<=0)break;else f=f+40|0}}}else c[g>>2]=0;return}function fq(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;if(!(a[(c[b>>2]|0)+65>>0]|0)){d=(_(e[b+84>>1]|0,f)|0)+d|0;Tg((c[b+16>>2]|0)+(d*40|0)|0,g,-1,1,h)|0}return}function gq(d,e,f,g){d=d|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))ba();l=m;k=c[d>>2]|0;h=k+1|0;c[d>>2]=h;if((k|0)>98){f=d+8|0;h=c[f>>2]|0;c[d>>2]=k;do Ln(d);while((c[d>>2]|0)>-1);ph(h,37160,l);c[f>>2]=h}else{b[d+(h<<4)+12>>1]=e;a[d+(h<<4)+14>>0]=f;f=d+(h<<4)+16|0;c[f+0>>2]=c[g+0>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2]}i=m;return}function hq(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+8>>2]|0;switch(b&255|0){case 207:case 196:case 195:case 163:{Ik(c[a>>2]|0,c[d>>2]|0,1);break}case 223:case 219:case 217:{Dk(c[a>>2]|0,c[d>>2]|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Ck(c[a>>2]|0,c[d>>2]|0);break}case 175:case 174:{Ck(c[a>>2]|0,c[d>>2]|0);break}case 236:{Dk(c[a>>2]|0,c[d+4>>2]|0);break}case 213:case 212:case 201:case 194:{zo(c[a>>2]|0,c[d>>2]|0);break}case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Jk(c[a>>2]|0,c[d>>2]|0);break}case 252:case 197:{Mn(c[a>>2]|0,c[d>>2]|0);break}case 239:case 234:{Bk(c[a>>2]|0,c[d>>2]|0);break}default:{}}return}
9 (((w|0)==12?(w=0,s=r+70|0,(s|0)>-1):0)?(a[39336+s>>0]|0)==70:0){k=e[22184+(s<<1)>>1]|0;break}k=e[38048+(h<<1)>>1]|0}while(0);if((w|0)==6){w=0;k=e[38048+(h<<1)>>1]|0}if(k>>>0<642){w=18;break}if(k>>>0>=969){w=20;break}iq(d,k+-642|0);if(p)break;k=c[d>>2]|0}while((k|0)>-1);if((w|0)==18){gq(d,k,f,v);r=d+4|0;c[r>>2]=(c[r>>2]|0)+-1}else if((w|0)==20){c[u+0>>2]=c[v+0>>2];c[u+4>>2]=c[v+4>>2];c[u+8>>2]=c[v+8>>2];r=c[q>>2]|0;c[t>>2]=u;ph(r,20432,t);c[q>>2]=r;hq(d,o,v)}i=x;return}function Ln(b){b=b|0;var d=0;d=c[b>>2]|0;if((d|0)>=0){hq(b,a[b+(d<<4)+14>>0]|0,b+(d<<4)+16|0);c[b>>2]=(c[b>>2]|0)+-1}return}function Mn(a,b){a=a|0;b=b|0;var d=0;if(b){if((c[b>>2]|0)>0){d=0;do{Jk(a,c[b+(d<<4)+12>>2]|0);Ik(a,c[b+(d<<4)+16>>2]|0,1);ig(a,c[b+(d<<4)+8>>2]|0);d=d+1|0}while((d|0)<(c[b>>2]|0))}ig(a,b)}return}function Nn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+328|0;d=c[h>>2]|0;if(d){i=a+304|0;if((c[i>>2]|0)>0){f=0;do{e=c[d+(f<<2)>>2]|0;d=c[e+8>>2]|0;if((d|0)!=0?(g=c[(c[d>>2]|0)+b>>2]|0,(g|0)!=0):0)hc[g&127](d)|0;c[e+20>>2]=0;wn(e);f=f+1|0;d=c[h>>2]|0}while((f|0)<(c[i>>2]|0))}ig(a,d);c[i>>2]=0;c[h>>2]=0}return}function On(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;do if((d|0)==-2)if(!(c[a+12>>2]|0))d=(c[a+16>>2]|0)==0?0:6;else d=6;else{h=b[a>>1]|0;g=h<<16>>16;if(!((g|0)!=(d|0)&h<<16>>16>-1)){h=(g|0)==(d|0)?4:1;g=f&255;d=e[a+2>>1]|0;if((g|0)==(d&3|0)){d=h|2;break}else return ((d&g)>>>1&1)+h|0}else d=0}while(0);return d|0}
10 a,b,-1)|0;d=Mh(a,b,c,d,e,f,g,h,0)|0;ig(a,b);return Kg(a,d)|0}function yf(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if(!c)e=0;else{e=c;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;e=e-c&1073741823}if(!(Oh(b,c,e,d,1,0)|0))e=Mh(b,c,d,1,0,57,0,0,0)|0;else e=0;return Kg(b,e)|0}function zf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+180|0;e=c[f>>2]|0;c[a+176>>2]=b;c[f>>2]=d;return e|0}function Af(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+188|0;e=c[f>>2]|0;c[a+184>>2]=b;c[f>>2]=d;return e|0}function Bf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+192|0;e=c[f>>2]|0;c[a+196>>2]=b;c[f>>2]=d;return e|0}function Cf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+208|0;e=c[f>>2]|0;c[a+212>>2]=b;c[f>>2]=d;return e|0}function Df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+200|0;e=c[f>>2]|0;c[a+204>>2]=b;c[f>>2]=d;return e|0}function Ef(a,b){a=a|0;b=b|0;var d=0;if((b|0)>0)d=21;else{b=0;d=0}c[a+216>>2]=d;c[a+220>>2]=b;return 0}function Ff(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+220|0;e=c[f>>2]|0;c[a+216>>2]=b;c[f>>2]=d;return e|0}function Gf(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;if(g)c[g>>2]=-1;if(h)c[h>>2]=-1;if(f>>>0>3)e=21;else{if((e|0)!=0?(a[e>>0]|0)!=0:0){l=Rh(d,e)|0;if((l|0)<0){c[k>>2]=e;qg(d,1,10952,k);e=1}else m=10}else{l=10;m=10}do if((m|0)==10){c[d+452>>2]=0;e=Sh(d,l,f,g,h)|0;c[d+52>>2]=e;k=c[d+236>>2]|0;if(k){l=k+8|0;if(!(b[l>>1]&9312)){b[l>>1]=1;break}else{rg(k);break}}}while(0);e=Kg(d,e)|0}i=n;return e|0}function Hf(a,b){a=a|0;b=b|0;return Gf(a,b,0,0,0)|0}function If(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;do if(b){d=c[b+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){c[g>>2]=15248;Zc(21,15256,g);d=11008;break}h=b+65|0;if(!(a[h>>0]|0)){f=b+236|0;d=Og(c[f>>2]|0,2)|0;if(!d){e=c[b+52>>2]|0;if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[15488+(d<<2)>>2]|0}else d=16344;qg(b,e,d,g);d=Og(c[f>>2]|0,2)|0}a[h>>0]=0}else d=10976}else d=10976;while(0);i=k;return d|0}function Jf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129704;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}if(!(a[b+65>>0]|0))b=c[b+56>>2]&c[b+52>>2];else b=7}else b=7;while(0);i=e;return b|0}function Kf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if(b){f=c[b+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[d>>2]=15248;Zc(21,15256,d);c[d>>2]=129713;c[d+4>>2]=10788;Zc(21,13648,d);b=21;break}if(!(a[b+65>>0]|0))b=c[b+52>>2]|0;else b=7}else b=7;while(0);i=e;return b|0}function Lf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=c[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Mf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b>>>0<=11){e=a+(b<<2)+88|0;a=c[e>>2]|0;if((d|0)>-1){b=c[11088+(b<<2)>>2]|0;c[e>>2]=(b|0)<(d|0)?b:d}}else a=-1;return a|0}function Nf(a,b){a=a|0;b=b|0;return Th(a,b,6,0)|0}function Of(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Th(a,b,c,d)|0}function Pf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;c[e>>2]=0;f=Hc()|0;if(!f){h=mg(40,0)|0;if(h){d=(d|0)==0?11136:d;f=h+0|0;g=f+40|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));b[h+8>>1]=1;c[h+32>>2]=0;Tg(h,d,-1,2,0)|0}d=Og(h,1)|0;if(d){f=Th(d,e,6,0)|0;if(!f){f=c[e>>2]|0;d=c[(c[f+16>>2]|0)+12>>2]|0;if(!(b[d+78>>1]&1)){a[f+62>>0]=2;a[d+77>>0]=2;f=0}else f=0}}else f=7;Ih(h);f=f&255}return f|0}function Qf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Kg(a,Uh(a,b,c&255,d,e,0)|0)|0}function Rf(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 Kg(a,Uh(a,b,c&255,d,e,f)|0)|0}function Sf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Nh(a,b,-1)|0;if(!b)b=0;else{c=Uh(a,b,c&255,d,e,0)|0;ig(a,b);b=c}return Kg(a,b)|0}function Tf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+224>>2]=d;c[a+228>>2]=0;c[a+232>>2]=b;return 0}function Uf(a,b,d){a=a|0;b=b|0;d=d|0;c[a+224>>2]=0;c[a+228>>2]=d;c[a+232>>2]=b;return 0}function Vf(a){a=a|0;return d[a+63>>0]|0|0}function Wf(){return}function Xf(d,e,f,g,h,k,l,m,n){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;var 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=i;i=i+16|0;if((i|0)>=(j|0))ba();x=z;y=z+8|0;c[y>>2]=0;p=c[d+20>>2]|0;if((p|0)>0){o=c[d+16>>2]|0;r=0;do{q=c[o+(r<<4)+4>>2]|0;if(q)c[(c[q+4>>2]|0)+4>>2]=c[q>>2];r=r+1|0}while((r|0)!=(p|0))}o=Vh(d,y)|0;w=(o|0)!=0;a:do if((!w?(u=Wh(d,f,e)|0,(u|0)!=0):0)?(c[u+12>>2]|0)==0:0){do if(g){t=b[u+38>>1]|0;b:do if(t<<16>>16>0){e=c[u+4>>2]|0;p=t<<16>>16;s=0;while(1){q=e+(s*24|0)|0;r=s+1|0;if(!($c(c[q>>2]|0,g)|0)){r=s;break b}if((r|0)<(p|0))s=r;else break}}else{r=0;q=0}while(0);if((r|0)==(t<<16>>16|0)){if(a[u+44>>0]&32){e=0;t=0;u=0;q=0;s=0;r=0;break a}if(!(Xh(g)|0)){e=0;t=0;u=0;q=0;s=0;r=0;break a}v=b[u+36>>1]|0;p=v<<16>>16;if(v<<16>>16<=-1){e=0;s=0;p=1;v=0;r=11144;break}r=p;q=(c[u+4>>2]|0)+(p*24|0)|0}if(q){if((b[u+36>>1]|0)==(r|0))p=(a[u+44>>0]&8)!=0;else p=0;e=p&1;s=(a[q+20>>0]|0)!=0&1;p=a[q+23>>0]&1;v=c[q+16>>2]|0;r=c[q+12>>2]|0}else{e=0;s=0;p=1;v=0;r=11144}}else{e=0;s=0;p=1;v=0;r=11144}while(0);t=s;q=p;s=(v|0)==0?11152:v}else{e=0;t=0;u=0;q=0;s=0;r=0}while(0);if(h)c[h>>2]=r;if(k)c[k>>2]=s;if(l)c[l>>2]=t;if(m)c[m>>2]=q;if(n)c[n>>2]=e;p=c[y>>2]|0;if(!(w|(u|0)!=0)){ig(d,p);c[x>>2]=f;c[x+4>>2]=g;p=qh(d,11160,x)|0;c[y>>2]=p;o=1}c[x>>2]=p;qg(d,o,(p|0)!=0?10344:0,x);ig(d,c[y>>2]|0);w=Kg(d,o)|0;i=z;return w|0}function Yf(a){a=a|0;var b=0;if((Hc()|0)==0?(b=c[2254]|0,(b|0)!=0):0)a=(nc[c[b+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function Zf(a,b){a=a|0;b=b|0;c[a+56>>2]=(b|0)!=0?-1:255;return 0}function _f(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=Yh(a,b)|0;do if(b){a=c[b+4>>2]|0;c[a+4>>2]=c[b>>2];a=c[(c[a>>2]|0)+60>>2]|0;if((d|0)==7){c[e>>2]=a;b=0;break}b=c[a>>2]|0;if(!b)b=12;else b=Yb[c[b+40>>2]&63](a,d,e)|0}else b=1;while(0);return b|0}function $f(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=i;i=i+32|0;if((i|0)>=(j|0))ba();p=q+24|0;h=q+8|0;g=q;c[h>>2]=f;do switch(e|0){case 8:{o=c[h>>2]|0;n=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;k=c[o>>2]|0;c[h>>2]=o+4;o=mg(512,0)|0;g=(o|0)==0;if(!g){bw(o|0,0,512)|0;c[o>>2]=n}e=((n+7|0)/8|0)+1|0;m=mg(e,((e|0)<0)<<31>>31)|0;f=(m|0)==0;if(!f)bw(m|0,0,e|0)|0;l=Pc(512)|0;a:do if(!(g|f|(l|0)==0)){h=0;while(1){g=c[k+(h<<2)>>2]|0;if((g|0)==5|(g|0)==2|(g|0)==1){f=k+(h+2<<2)|0;r=c[f>>2]|0;e=r+-1|0;c[p>>2]=e;c[f>>2]=(c[k+(h+3<<2)>>2]|0)+r;f=4}else if(!g)break;else{_c(4,p);e=c[p>>2]|0;f=2}s=k+((h|1)<<2)|0;r=(c[s>>2]|0)+-1|0;c[s>>2]=r;h=((r|0)>0?0:f)+h|0;e=(e&2147483647|0)%(n|0)|0;c[p>>2]=e;e=e+1|0;f=1<<(e&7);if(!(g&1)){e=m+(e>>>3)|0;a[e>>0]=d[e>>0]&(f^255);_h(o,(c[p>>2]|0)+1|0,l);continue}e=m+(e>>>3)|0;a[e>>0]=d[e>>0]|f;if((g|0)==5)continue;if(Zh(o,(c[p>>2]|0)+1|0)|0){g=-1;break a}}k=$h(o,n+1|0)|0;g=$h(o,0)|0;g=k-n+g+(c[o>>2]|0)|0;c[p>>2]=1;if((n|0)>=1){e=1;do{k=(d[m+(e>>3)>>0]&1<<(e&7)|0)!=0&1;f=e;e=e+1|0;if((k|0)!=($h(o,f)|0)){g=f;break a}c[p>>2]=e}while((f|0)<(n|0))}}else g=-1;while(0);Sc(l);Sc(m);ai(o);break}case 11:{g=c[2514]|0;p=c[h>>2]|0;f=c[p>>2]|0;c[h>>2]=p+4;if(f)c[2514]=f;break}case 12:{c[g>>2]=0;g=c[g>>2]|0;break}case 13:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;break}case 22:{g=10;break}case 5:{gw(12672,9064,259)|0;g=0;break}case 6:{gw(9064,12672,259)|0;g=0;break}case 7:{if(!(Hc()|0)){a[9064]=0;g=0}else g=0;break}case 14:{o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;tg(c[(c[p+16>>2]|0)+4>>2]|0,0,g,0)|0;g=0;break}case 15:{o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;b[g+60>>1]=p;g=0;break}case 16:{p=c[h>>2]|0;e=c[p>>2]|0;c[h>>2]=p+4;if(!e)g=0;else{g=e;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}g=(bi(e,g)|0)!=27;g=g?124:0;break}case 24:{o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;c[g+136>>2]=p;g=0;break}case 23:{g=(c[2243]|0)==0&1;break}case 25:{n=c[h>>2]|0;g=c[n>>2]|0;c[h>>2]=n+4;n=c[h>>2]|0;o=c[n>>2]|0;c[h>>2]=n+4;a[g+144>>0]=Rh(g,o)|0;o=c[h>>2]|0;n=c[o>>2]|0;c[h>>2]=o+4;n=n&255;a[g+147>>0]=n;o=g+145|0;a[o>>0]=n;n=c[h>>2]|0;p=c[n>>2]|0;c[h>>2]=n+4;c[g+140>>2]=p;if((a[o>>0]|0)==0&(p|0)>0){Ag(g);g=0}else g=0;break}case 17:{p=c[h>>2]|0;f=c[p>>2]|0;c[h>>2]=p+4;p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;p=c[h>>2]|0;e=c[p>>2]|0;c[h>>2]=p+4;if(f)c[g>>2]=ci(f)|0;di(e);g=0;break}case 18:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;c[2253]=g;g=0;break}case 20:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;c[2192]=g;g=0;break}case 9:{p=c[h>>2]|0;g=c[p>>2]|0;c[h>>2]=p+4;c[2252]=g;if(!g)g=0;else g=hc[g&127](0)|0;break}case 10:{o=c[h>>2]|0;p=c[o>>2]|0;c[h>>2]=o+4;o=c[h>>2]|0;g=c[o>>2]|0;c[h>>2]=o+4;c[3164]=p;c[3166]=g;g=0;break}default:g=0}while(0);i=q;return g|0}function ag(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:do if(!((b|0)==0|(c|0)==0)){d=b;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;e=(d-b&1073741823)+1|0;d=a[b+e>>0]|0;if(d<<24>>24){g=b+e|0;while(1){f=Wv(g,c)|0;e=g;while(1){b=e+1|0;if(!(d<<24>>24))break;d=a[b>>0]|0;e=b}b=e-g&1073741823;d=g+(b+1)|0;if(!f)break a;else e=d;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;g=g+(b+2+(e-d&1073741823))|0;d=a[g>>0]|0;if(!(d<<24>>24)){d=0;break}}}else d=0}else d=0;while(0);return d|0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;a=ag(a,b)|0;b=(c|0)!=0;if(a)b=(ei(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function cg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;a=ag(a,b)|0;if(!a){C=e;i=g;return d|0}else{b=(fi(a,f)|0)==0;a=f;C=b?c[a+4>>2]|0:e;i=g;return (b?c[a>>2]|0:d)|0}return 0}function dg(b,d){b=b|0;d=d|0;b=Yh(b,d)|0;if(b){b=c[c[b+4>>2]>>2]|0;if(!(a[b+15>>0]|0))b=c[b+168>>2]|0;else b=10360}else b=0;return b|0}function eg(a,d){a=a|0;d=d|0;a=Yh(a,d)|0;if(!a)a=-1;else a=b[(c[a+4>>2]|0)+22>>1]&1;return a|0}function fg(a,b){a=a|0;b=b|0;if(b){Bk(a,c[b+28>>2]|0);ig(a,c[b>>2]|0);ig(a,c[b+4>>2]|0);Ck(a,c[b+12>>2]|0);Dk(a,c[b+16>>2]|0);ig(a,b)}return}function gg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;do if(d){h=(a|0)!=0;if(!(h?(c[a+520>>2]|0)!=0:0))e=4;if((e|0)==4?(f=d+40|0,e=(b[f>>1]|0)+-1<<16>>16,b[f>>1]=e,e<<16>>16!=0):0)break;e=c[d+8>>2]|0;if(e){g=a+520|0;do{f=e;e=c[e+20>>2]|0;if(!(h?(c[g>>2]|0)!=0:0))Ek((c[f+24>>2]|0)+24|0,c[f>>2]|0,0)|0;Fk(a,f)}while((e|0)!=0)}e=c[d+16>>2]|0;if(e){j=(a|0)==0;k=d+68|0;l=a+520|0;do{if(!(!j?(c[l>>2]|0)!=0:0)){f=e+16|0;i=c[f>>2]|0;h=e+12|0;g=c[h>>2]|0;if(!i)Ek((c[k>>2]|0)+56|0,c[((g|0)==0?e:g)+8>>2]|0,g)|0;else c[i+12>>2]=g;h=c[h>>2]|0;if(h)c[h+16>>2]=c[f>>2]}Gk(a,c[e+28>>2]|0);Gk(a,c[e+32>>2]|0);f=e;e=c[e+4>>2]|0;ig(a,f)}while((e|0)!=0)}Hk(a,d);ig(a,c[d>>2]|0);ig(a,c[d+20>>2]|0);Ik(a,c[d+12>>2]|0,1);Jk
11 function iq(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;ea=i;i=i+192|0;if((i|0)>=(j|0))ba();_=ea+48|0;Y=ea+24|0;X=ea+160|0;F=ea+156|0;P=ea+152|0;I=ea+148|0;S=ea+144|0;L=ea+140|0;E=ea+16|0;ca=ea;v=ea+128|0;u=ea+116|0;w=ea+96|0;l=ea+88|0;da=f+8|0;$=c[da>>2]|0;aa=c[f>>2]|0;c[ca+0>>2]=c[9286];c[ca+4>>2]=c[9287];c[ca+8>>2]=c[9288];a:do switch(g|0){case 5:{a[$+450>>0]=0;c[$+440>>2]=0;break}case 7:{a[$+450>>0]=2;c[$+440>>2]=0;break}case 6:{a[$+450>>0]=1;c[$+440>>2]=0;break}case 38:{_=c[f+(aa+-2<<4)+16>>2]|0;c[ca>>2]=_;c[ca+4>>2]=(c[$+504>>2]|0)-_+(c[$+508>>2]|0);break}case 39:{u=f+(aa<<4)+16|0;s=c[$>>2]|0;k=c[$+484>>2]|0;b:do if(k){t=k+38|0;if((b[t>>1]|0)>=(c[s+96>>2]|0)){c[_>>2]=c[k>>2];ph($,36528,_);break}r=Sq(s,u)|0;if(r){p=b[t>>1]|0;h=p<<16>>16;c:do if(p<<16>>16>0){q=a[9328+(d[r>>0]|0)>>0]|0;n=c[k+4>>2]|0;o=r+1|0;l=0;while(1){m=c[n+(l*24|0)>>2]|0;if(q<<24>>24==(a[9328+(d[m>>0]|0)>>0]|0)?($c(o,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break c}c[_>>2]=r;ph($,36552,_);ig(s,r);break b}else n=c[k+4>>2]|0;while(0);o=k+4|0;do if(!(h&7)){n=no(s,n,(h*24|0)+192|0,0)|0;if(!n){ig(s,r);break b}else{c[o>>2]=n;p=b[t>>1]|0;break}}while(0);_=p<<16>>16;Z=n+(_*24|0)|0;c[Z+0>>2]=0;c[Z+4>>2]=0;c[Z+8>>2]=0;c[Z+12>>2]=0;c[Z+16>>2]=0;c[Z+20>>2]=0;c[Z>>2]=r;a[n+(_*24|0)+21>>0]=65;a[n+(_*24|0)+22>>0]=1;b[t>>1]=(b[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=c[Y+4>>2]|0;_=ca;c[_>>2]=c[Y>>2];c[_+4>>2]=Z;c[$+324>>2]=0;break}case 22:{Pq($,0,f+(aa<<4)+16|0);break}case 23:{Pq($,1,f+(aa<<4)+16|0);break}case 8:{v=c[$>>2]|0;z=v+65|0;if(((a[z>>0]|0)==0?(a[$+18>>0]|0)==0:0)?(V=$+64|0,(c[V>>2]|0)==0):0){y=Kq($)|0;if(y){do{}while((Lq(y,61)|0)!=0);sh(y,24,0,0,0)|0;do if(!(a[z>>0]|0)){o=$+332|0;s=c[o>>2]|0;if((s|0)==0?(c[$+316>>2]|0)==0:0)break;p=y+32|0;q=c[p>>2]|0;if(q)c[(c[y+4>>2]|0)+8>>2]=q;c[(c[y+24>>2]|0)+88>>2]=q+-1;t=v+20|0;d:do if((c[t>>2]|0)>0){h=y+96|0;k=$+328|0;l=v+16|0;m=v+145|0;n=y+4|0;r=0;while(1){u=1<<r;if(((u&s|0)!=0?(c[h>>2]=c[h>>2]|u,_=c[(c[(c[l>>2]|0)+(r<<4)+12>>2]|0)+4>>2]|0,th(y,sh(y,4,r,(c[k>>2]&u|0)!=0&1,c[$+(r<<2)+336>>2]|0)|0,_,-14),(a[m>>0]|0)==0):0)?(K=c[n>>2]|0,(K|0)!=0):0)a[K+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=1;r=r+1|0;if((r|0)>=(c[t>>2]|0))break d;s=c[o>>2]|0}}while(0);p=$+452|0;if((c[p>>2]|0)>0){o=$+520|0;n=0;do{q=c[(c[(c[o>>2]|0)+(n<<2)>>2]|0)+60>>2]|0;e:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break e;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);th(y,sh(y,146,0,0,0)|0,q,-10);n=n+1|0}while((n|0)<(c[p>>2]|0))}c[p>>2]=0;p=Kq($)|0;o=$+396|0;if((c[o>>2]|0)>0){n=$+400|0;m=0;do{Y=c[n>>2]|0;_=c[Y+(m<<4)+12>>2]|0;th(p,sh(p,145,c[Y+(m<<4)>>2]|0,c[Y+(m<<4)+4>>2]|0,d[Y+(m<<4)+8>>0]|0)|0,_,-2);m=m+1|0}while((m|0)<(c[o>>2]|0))}k=c[$+8>>2]|0;q=c[$+404>>2]|0;if(q){h=(c[$>>2]|0)+16|0;r=k+32|0;s=k+4|0;do{o=c[q+8>>2]|0;p=c[q+12>>2]|0;Mq($,0,o,c[(c[(c[h>>2]|0)+(o<<4)+12>>2]|0)+72>>2]|0,54);o=p+1|0;sh(k,28,0,p,o)|0;n=c[r>>2]|0;l=p+-1|0;m=c[c[q+4>>2]>>2]|0;th(k,sh(k,97,0,l,0)|0,m,0);m=n+9|0;sh(k,108,0,m,0)|0;sh(k,47,0,0,p)|0;sh(k,78,l,n+7|0,p)|0;l=c[s>>2]|0;if(l)a[l+(((c[r>>2]|0)+-1|0)*20|0)+3>>0]=16;sh(k,103,0,o,0)|0;sh(k,47,0,1,p)|0;sh(k,16,0,m,0)|0;sh(k,9,0,n+2|0,0)|0;sh(k,25,0,p,0)|0;sh(k,61,0,0,0)|0;q=c[q>>2]|0}while((q|0)!=0)}p=c[$+316>>2]|0;if((p|0)!=0?(a[$+23>>0]=0,(c[p>>2]|0)>0):0){o=p+4|0;n=0;do{_=c[o>>2]|0;Nq($,c[_+(n*20|0)>>2]|0,c[_+(n*20|0)+16>>2]|0);n=n+1|0}while((n|0)<(c[p>>2]|0))}sh(y,16,0,1,0)|0}while(0);if((c[V>>2]|0)==0?(a[z>>0]|0)==0:0){if((c[$+404>>2]|0)!=0?(W=$+68|0,(c[W>>2]|0)==0):0)c[W>>2]=1;wh(y,$);c[$+12>>2]=101;a[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)c[$+12>>2]=1;c[$+68>>2]=0;c[$+72>>2]=0;c[$+76>>2]=0;c[$+440>>2]=0;c[$+332>>2]=0}break}case 58:{c[v>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[v+4>>2]=c[f+(aa+-1<<4)+16>>2];c[v+8>>2]=c[f+(aa<<4)+24>>2];Uq($,v);break}case 59:{_=f+(aa<<4)+16|0;c[u>>2]=Vq($,97,0,0,_)|0;_=c[_>>2]|0;c[u+4>>2]=_;c[u+8>>2]=_+(c[f+(aa<<4)+20>>2]|0);Uq($,u);break}case 61:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(s=b[l+38>>1]|0,s<<16>>16>=1):0)a[(c[l+4>>2]|0)+(((s<<16>>16)+-1|0)*24|0)+20>>0]=k;break}case 70:{c[ca>>2]=0;break}case 62:{Wq($,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);break}case 63:{Xq($,0,0,0,0,c[f+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 64:{Yq($,c[f+(aa+-1<<4)+16>>2]|0);break}case 9:{l=c[f+(aa+-1<<4)+16>>2]|0;k=c[$>>2]|0;if((Oq($,22,37104,0,0)|0)==0?(B=Kq($)|0,(B|0)!=0):0){if((l|0)!=7?(D=k+20|0,(c[D>>2]|0)>0):0){l=(l|0)==9?2:1;k=B+96|0;n=0;do{sh(B,4,n,l,0)|0;c[k>>2]=c[k>>2]|1<<n;n=n+1|0}while((n|0)<(c[D>>2]|0))}sh(B,3,0,0,0)|0}break}case 24:{Pq($,2,f+(aa<<4)+16|0);break}case 26:{Qq($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,0,0,c[f+(aa+-2<<4)+16>>2]|0);break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{c[ca>>2]=0;break}case 27:{a[(c[$>>2]|0)+250>>0]=0;Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[ca>>2]=1;break}case 32:{Rq($,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0,a[f+(aa<<4)+16>>0]|0,0);break}case 33:{_=f+(aa<<4)+16|0;Rq($,0,0,0,c[_>>2]|0);Ik(c[$>>2]|0,c[_>>2]|0,1);break}case 34:{a[ca>>0]=0;break}case 35:{l=c[f+(aa<<4)+20>>2]|0;k=c[f+(aa<<4)+16>>2]|0;if((l|0)==5?(Bc(k,20456,5)|0)==0:0){a[ca>>0]=32;break a}a[ca>>0]=0;c[_>>2]=l;c[_+4>>2]=k;ph($,20464,_);break}case 44:{l=f+(aa<<4)+16|0;k=c[$+484>>2]|0;if((k|0)!=0?(G=b[k+38>>1]|0,G<<16>>16>=1):0){_=(G<<16>>16)+-1|0;Z=c[k+4>>2]|0;$=Sq(c[$>>2]|0,l)|0;c[Z+(_*24|0)+12>>2]=$;a[Z+(_*24|0)+21>>0]=Tq($,Z+(_*24|0)+22|0)|0}break}case 65:{Zq($,0,f+(aa+-2<<4)+16|0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 66:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(r=c[l+16>>2]|0,(r|0)!=0):0)a[r+24>>0]=k;break}case 67:{n=c[$+484>>2]|0;if((n|0)!=0?(A=(b[n+38>>1]|0)+-1|0,o=c[$>>2]|0,m=Sq(o,f+(aa<<4)+16|0)|0,(m|0)!=0):0){if(!(_q($,m)|0)){ig(o,m);break a}p=n+4|0;ig(o,c[(c[p>>2]|0)+(A*24|0)+16>>2]|0);c[(c[p>>2]|0)+(A*24|0)+16>>2]=m;l=c[n+8>>2]|0;if(l)do{if((b[c[l+4>>2]>>1]|0)==(A|0))c[c[l+32>>2]>>2]=c[(c[p>>2]|0)+(A*24|0)+16>>2];l=c[l+20>>2]|0}while((l|0)!=0)}break}case 47:{$=c[f+(aa+-5<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 49:{$=c[f+(aa+-1<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=$+320|0;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 57:case 55:{Uq($,f+(aa<<4)+16|0);break}case 56:{Uq($,f+(aa+-1<<4)+16|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:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 46:{$=c[f+(aa+-3<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 224:{h=Vq($,119,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=c[ca>>2]|0;Z=_+4|0;c[Z>>2]=c[Z>>2]|2099200;ur($,_)}c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 226:{l=aa+-1|0;k=f+(l<<4)+16|0;o=f+(aa<<4)+16|0;n=lr(c[$>>2]|0,0,k,o)|0;p=aa+-3|0;m=Vq($,75,c[f+(p<<4)+16>>2]|0,0,0)|0;c[ca>>2]=m;if(!m){zo(c[$>>2]|0,n);n=0}else{c[m+20>>2]=gr($,0,n,0,0,0,0,0,0,0)|0;n=c[ca>>2]|0;_=n+4|0;c[_>>2]=c[_>>2]|2099200;ur($,n)}if(c[f+(aa+-2<<4)+16>>2]|0)c[ca>>2]=Vq($,19,n,0,0)|0;c[ca+4>>2]=c[f+(p<<4)+20>>2];h=c[o>>2]|0;if(!h)h=(c[k>>2]|0)+(c[f+(l<<4)+20>>2]|0)|0;else h=h+(c[f+(aa<<4)+20>>2]|0)|0;c[ca+8>>2]=h;break}case 225:{l=aa+-4|0;h=Vq($,75,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);h=0}else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];h=c[ca>>2]|0;_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0;c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 227:{h=Vq($,20,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}c[ca+4>>2]=c[f+(aa+-3<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 228:{k=Vq($,136,c[f+(aa+-3<<4)+16>>2]|0,0,0)|0;c[ca>>2]=k;if(!k){JkJk]|0)+(o<<2)>>2]=p}}else{Y=$+440|0;Z=(c[Y>>2]|0)+1|0;c[Y>>2]=Z;b[M+32>>1]=Z}while(0);if((c[$+64>>2]|0)==0?(c[$+440>>2]|0)>(c[T+124>>2]|0):0)ph($,33344,_)}while(0);$=c[u>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[t>>2]|0);break}case 196:{_=f+(aa+-3<<4)+16|0;c[ca>>2]=sr($,0,_)|0;c[ca+4>>2]=c[_>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 197:{_=f+(aa<<4)+16|0;c[ca>>2]=sr($,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 193:{Z=aa+-2|0;_=f+(aa<<4)+16|0;c[ca>>2]=rr($,c[f+(Z<<4)+16>>2]|0,_,1)|0;c[ca+4>>2]=c[f+(Z<<4)+20>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 194:{c[ca>>2]=Vq($,38,c[f+(aa+-3<<4)+16>>2]|0,0,f+(aa+-1<<4)+16|0)|0;c[ca+4>>2]=c[f+(aa+-5<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 195:{l=f+(aa+-1<<4)+16|0;h=c[l>>2]|0;if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+112>>2]|0)){c[_>>2]=f+(aa+-4<<4)+16;ph($,20576,_);h=c[l>>2]|0}}else h=0;_=f+(aa+-4<<4)+16|0;h=sr($,h,_)|0;c[ca>>2]=h;c[ca+4>>2]=c[_>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);if(!((h|0)==0?1:(b[f+(aa+-2<<4)+16>>1]|0)==0)){$=h+4|0;c[$>>2]=c[$>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{_=aa+-2|0;c[ca>>2]=Vq($,d[f+(aa+-1<<4)+14>>0]|0,c[f+(_<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 206:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;c[ca+8>>2]=0;break}case 207:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;c[ca+8>>2]=1;break}case 208:{l=aa+-2|0;_=aa+-1|0;h=sr($,hr($,hr($,0,c[f+(aa<<4)+16>>2]|0)|0,c[f+(l<<4)+16>>2]|0)|0,f+(_<<4)+16|0)|0;c[ca>>2]=h;if(c[f+(_<<4)+24>>2]|0){h=Vq($,19,h,0,0)|0;c[ca>>2]=h}c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];if(h){$=h+4|0;c[$>>2]=c[$>>2]|128}break}case 210:{_=aa+-1|0;c[ca>>2]=Vq($,d[f+(aa<<4)+14>>0]|0,c[f+(_<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 209:{l=aa+-4|0;_=aa+-3|0;h=sr($,hr($,hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(l<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0,f+(_<<4)+16|0)|0;c[ca>>2]=h;if(c[f+(_<<4)+24>>2]|0){h=Vq($,19,h,0,0)|0;c[ca>>2]=h}c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];if(h){$=h+4|0;c[$>>2]=c[$>>2]|128}break}case 223:{l=f+(aa+-1<<4)+16|0;h=c[l>>2]|0;do if(h){if((c[h>>2]|0)==1){_=c[h+4>>2]|0;h=c[_>>2]|0;c[_>>2]=0;Jk(c[$>>2]|0,c[l>>2]|0);if(h){_=h+4|0;c[_>>2]=c[_>>2]&-769|512}c[ca>>2]=Vq($,(c[f+(aa+-3<<4)+16>>2]|0)!=0?78:79,c[f+(aa+-4<<4)+16>>2]|0,h,0)|0;break}h=Vq($,75,c[f+(aa+-4<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Jk(c[$>>2]|0,c[l>>2]|0);h=0}else{c[h+20>>2]=c[l>>2];h=c[ca>>2]|0;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0}else{c[ca>>2]=Vq($,132,0,0,20616+(c[f+(aa+-3<<4)+16>>2]<<3)|0)|0;Ck(c[$>>2]|0,c[f+(aa+-4<<4)+16>>2]|0)}while(0);c[ca+4>>2]=c[f+(aa+-4<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 211:{_=aa+-2|0;c[ca>>2]=Vq($,77,c[f+(_<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 212:{Y=aa+-2|0;Z=f+(aa<<4)+16|0;_=Vq($,73,c[f+(Y<<4)+16>>2]|0,c[Z>>2]|0,0)|0;c[ca>>2]=_;c[ca+4>>2]=c[f+(Y<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];tr($,c[Z>>2]|0,_,76);break}case 213:{Y=aa+-3|0;Z=f+(aa<<4)+16|0;_=Vq($,148,c[f+(Y<<4)+16>>2]|0,c[Z>>2]|0,0)|0;c[ca>>2]=_;c[ca+4>>2]=c[f+(Y<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];tr($,c[Z>>2]|0,_,77);break}case 215:case 214:{_=aa+-1|0;c[ca>>2]=Vq($,d[f+(_<<4)+14>>0]|0,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 216:{c[ca>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 217:{c[ca>>2]=Vq($,158,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 220:{k=hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;l=aa+-4|0;h=Vq($,74,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h)Jk){if((p|0)<0)p=(c[q+32>>2]|0)+-1|0;if(!(a[(c[q>>2]|0)+65>>0]|0))p=(c[q+4>>2]|0)+(p*20|0)|0;else p=29120;a[p>>0]=120}p=c[f+420>>2]|0;if(p){if((p|0)<0)p=(c[q+32>>2]|0)+-1|0;if(!(a[(c[q>>2]|0)+65>>0]|0))o=(c[q+4>>2]|0)+(p*20|0)|0;else o=29120;a[o>>0]=16}o=N+36|0;if((b[o>>1]|0)>-1){p=hr(f,0,0)|0;if(!p)break;z=gh(c[f>>2]|0,c[(c[N+4>>2]|0)+((b[o>>1]|0)*24|0)>>2]|0)|0;A=c[p+4>>2]|0;c[A+4>>2]=z;a[A+12>>0]=a[f+448>>0]|0;p=Xq(f,0,0,0,p,d[N+45>>0]|0,0,0,0,0)|0;if(!p)break;u=p+51|0;a[u>>0]=a[u>>0]&-4|2;b[o>>1]=-1;u=b[p+46>>1]|0}else{p=c[N+8>>2]|0;c:do if(!p)p=0;else while(1){if((a[p+51>>0]&3)==2)break c;p=c[p+20>>2]|0;if(!p){p=0;break}}while(0);v=p+46|0;q=b[v>>1]|0;if((q&65535)>1){t=c[p+4>>2]|0;s=p+48|0;u=1;o=1;do{m=b[t+(u<<1)>>1]|0;r=o;n=t;while(1){if((r|0)<=0){C=36;break}if((b[n>>1]|0)==m<<16>>16){C=35;break}else{r=r+-1|0;n=n+2|0}}if((C|0)==35){C=0;b[s>>1]=(b[s>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;b[t+(o<<1)>>1]=m;q=b[v>>1]|0;o=o+1|0}u=u+1|0}while((u|0)<(q&65535|0))}else o=1;u=o&65535;b[v>>1]=u}r=p+51|0;q=a[r>>0]|32;a[r>>0]=q;A=u&65535;if(!(a[K+147>>0]|0)){if(u<<16>>16){q=c[p+4>>2]|0;o=c[N+4>>2]|0;n=0;do{a[o+((b[q+(n<<1)>>1]|0)*24|0)+20>>0]=1;n=n+1|0}while((n|0)<(A|0));q=a[r>>0]|0}a[r>>0]=q|8}c[p+40>>2]=c[N+32>>2];r=c[N+8>>2]|0;if(r){x=u<<16>>16==0;y=p+4|0;z=p+32|0;do{d:do if((a[r+51>>0]&3)!=2){do if(x)q=b[r+46>>1]|0;else{s=c[r+4>>2]|0;q=b[r+46>>1]|0;n=q&65535;m=c[y>>2]|0;w=0;o=0;do{t=b[m+(w<<1)>>1]|0;v=n;u=s;while(1){if((v|0)<=0){u=1;break}if((b[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}o=u+o|0;w=w+1|0}while((w|0)<(A|0));n=r+46|0;if(!o)break;if(gs(K,r,(q&65535)+o|0)|0)break b;if(x)break d;t=b[n>>1]|0;w=r+4|0;m=r+32|0;v=t;u=0;t=t&65535;while(1){q=c[w>>2]|0;o=b[(c[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;s=q;while(1){if((v|0)<=0){C=63;break}if((b[s>>1]|0)==o<<16>>16)break;else{v=v+-1|0;s=s+2|0}}if((C|0)==63){C=0;b[q+(t<<1)>>1]=o;c[(c[m>>2]|0)+(t<<2)>>2]=c[(c[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=b[n>>1]|0}}while(0);b[r+48>>1]=q}while(0);r=c[r+20>>2]|0}while((r|0)!=0)}v=N+38|0;q=b[v>>1]|0;o=q<<16>>16;if((A|0)>=(o|0)){b[p+48>>1]=q;break}if((gs(K,p,o)|0)==0?(B=b[v>>1]|0,B<<16>>16>0):0){s=p+4|0;u=p+32|0;q=B;t=0;p=A;do{n=c[s>>2]|0;r=p;o=n;while(1){if((r|0)<=0){C=74;break}if((b[o>>1]|0)==(t|0))break;else{r=r+-1|0;o=o+2|0}}if((C|0)==74){C=0;b[n+(p<<1)>>1]=t;c[(c[u>>2]|0)+(p<<2)>>2]=11152;q=b[v>>1]|0;p=p+1|0}t=t+1|0}while((t|0)<(q<<16>>16|0))}}while(0);C=N+68|0;p=c[C>>2]|0;e:do if(p){o=c[K+20>>2]|0;if((o|0)>0){n=c[K+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0))break e;if((m|0)<(o|0))q=m;else{q=m;break}}}else q=0}else q=-1e6;while(0);n=c[N+24>>2]|0;f:do if(n){c[E+0>>2]=0;c[E+4>>2]=0;c[E+8>>2]=0;c[E+12>>2]=0;c[E+16>>2]=0;c[E+20>>2]=0;c[E+24>>2]=0;c[E+28>>2]=0;p=D+0|0;o=p+80|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(o|0));c[D>>2]=1;c[D+16>>2]=c[N>>2];c[D+24>>2]=N;c[D+48>>2]=-1;c[E>>2]=f;c[E+4>>2]=D;b[E+28>>1]=4;p=n+4|0;if((c[n>>2]|0)>0){o=0;do{if(hs(E,c[(c[p>>2]|0)+(o*20|0)>>2]|0)|0)break f;o=o+1|0}while((o|0)<(c[n>>2]|0))}}while(0);A=N+38|0;m=b[A>>1]|0;if(m<<16>>16>0){p=m<<16>>16;o=c[N+4>>2]|0;n=0;while(1){n=(d[o+22>>0]|0)+n|0;p=p+-1|0;if((p|0)<=0)break;else o=o+24|0}}else n=0;b[N+42>>1]=bs(((e[N+36>>1]|0)>>>15&65535)+n<<2,0)|0;n=c[N+8>>2]|0;if(n)do{is(n);n=c[n+20>>2]|0}while((n|0)!=0);if(!(a[I>>0]|0)){B=Kq(f)|0;if(!B)break;sh(B,61,0,0,0)|0;y=(c[N+12>>2]|0)==0;o=y?36672:36680;y=y?31232:35480;do if(!l){n=k<<24>>24==0?h:f+504|0;l=c[n>>2]|0;p=c[f+496>>2]|0;m=l-p|0;if((a[l>>0]|0)!=59)m=(c[n+4>>2]|0)+m|0;c[J>>2]=o;c[J+4>>2]=m;c[J+8>>2]=p;p=f+388|0;m=N;o=qh(K,36688,J)|0}else{p=f+388|0;sh(B,55,1,c[p>>2]|0,q)|0;o=c[B+4>>2]|0;if(o)a[o+(((c[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;c[f+68>>2]=2;a[F>>0]=14;c[F+4>>2]=1;a[F+1>>0]=0;c[F+8>>2]=0;c[F+12>>2]=0;er(f,l,F)|0;sh(B,61,1,0,0)|0;if(!(c[f+64>>2]|0)){m=js(f,l)|0;if(!m)break a;F=m+38|0;b[A>>1]=b[F>>1]|0;l=m+4|0;c[N+4>>2]=c[l>>2];b[F>>1]=0;c[l>>2]=0;gg(K,m)}z=N+4|0;w=b[A>>1]|0;if(w<<16>>16>0){s=w<<16>>16;t=0;o=0;u=c[z>>2]|0;while(1){m=c[u>>2]|0;n=0;while(1){r=a[m>>0]|0;if(!(r<<24>>24))break;else if(r<<24>>24==34)n=n+1|0;m=m+1|0;n=n+1|0}o=o+7+n|0;t=t+1|0;if((t|0)==(s|0))break;else u=u+24|0}r=o+2|0}else r=2;m=c[N>>2]|0;o=0;while(1){n=a[m>>0]|0;if(n<<24>>24==34)o=o+1|0;else if(!(n<<24>>24))break;m=m+1|0;o=o+1|0}u=o+r|0;x=(u|0)<50;r=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;o=mg(u,((u|0)<0)<<31>>31)|0;if(!o){a[L>>0]=1;m=N;o=0;break}Yc(u,o,36904,J)|0;n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;c[G>>2]=n-o&1073741823;ks(o,G,c[N>>2]|0);m=c[G>>2]|0;s=m+1|0;c[G>>2]=s;a[o+m>>0]=40;m=u-s|0;n=o+s|0;if((b[A>>1]|0)>0){w=0;t=c[z>>2]|0;while(1){Yc(m,n,r,J)|0;n=o+s|0;if(!n)n=0;else{r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;n=r-n&1073741823}c[G>>2]=n+s;ks(o,G,c[t>>2]|0);n=c[36920+((a[t+21>>0]|0)+-65<<2)>>2]|0;r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;s=r-n&1073741823;r=c[G>>2]|0;gw(o+r|0,n|0,s|0)|0;s=r+s|0;c[G>>2]=s;r=w+1|0;m=u-s|0;n=o+s|0;if((r|0)<(b[A>>1]|0)){w=r;t=t+24|0;r=v}else break}}c[J>>2]=x;Yc(m,n,10344,J)|0;m=N}while(0);n=K+16|0;k=c[m>>2]|0;F=c[p>>2]|0;l=c[f+384>>2]|0;c[J>>2]=c[(c[n>>2]|0)+(q<<4)>>2];c[J+4>>2]=(q|0)==1?13184:13208;c[J+8>>2]=y;c[J+12>>2]=k;c[J+16>>2]=k;c[J+20>>2]=F;c[J+24>>2]=o;c[J+28>>2]=l;xr(f,36704,J);ig(K,o);zr(f,q);if((a[N+44>>0]&8)!=0?(H=c[n>>2]|0,(c[(c[H+(q<<4)+12>>2]|0)+72>>2]|0)==0):0){c[J>>2]=c[H+(q<<4)>>2];xr(f,36792,J)}c[J>>2]=c[m>>2];Er(B,q,qh(K,36840,J)|0);if(!(a[I>>0]|0))break}else m=N;if(Ek((c[C>>2]|0)+8|0,c[m>>2]|0,N)|0){a[L>>0]=1;break}c[M>>2]=0;l=K+24|0;c[l>>2]=c[l>>2]|2;if(!(c[N+12>>2]|0)){l=c[f+496>>2]|0;c[N+48>>2]=(Jn(l,(c[((c[g>>2]|0)==0?h:g)>>2]|0)-l|0)|0)+13}}while(0);i=O;return}function Sq(b,d){b=b|0;d=d|0;var e=0,f=0;if(!d)e=0;else{f=c[d>>2]|0;d=c[d+4>>2]|0;if((f|0)!=0?(e=fw(d|0,0,1,0)|0,e=ih(b,e,C)|0,(e|0)!=0):0){gw(e|0,f|0,d|0)|0;a[e+d>>0]=0}else e=0;ho(e)}return e|0}function Tq(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;a:do if(b){g=a[b>>0]|0;b:do if(!(g<<24>>24)){f=67;g=0}else{k=g;f=67;h=0;g=0;do{h=d[9328+(k&255)>>0]|0|h<<8;b=b+1|0;if((h|0)==1919246700)if(f<<24>>24==67){f=69;h=1919246700;l=5}else l=14;else if((h|0)==1952807028){f=66;l=5}else if((h|0)==1668050786){f=66;l=5}else if((h|0)==1718382433)if(f<<24>>24==67){f=69;h=1718382433;l=5}else l=13;else if((h|0)==1667785074){f=66;h=1667785074;g=b;l=5}else if((h|0)==1651273570)if(f<<24>>24==69|f<<24>>24==67){o=a[b>>0]|0;k=o;f=65;h=1651273570;g=o<<24>>24==40?b:g}else l=14;else if((h|0)==1685026146)if(f<<24>>24==67){f=69;h=1685026146;l=5}else l=13;else if((h&16777215|0)==6909556){f=68;break b}else l=5;if((l|0)==13)l=5;else if((l|0)==14)l=5;if((l|0)==5){l=0;k=a[b>>0]|0}}while(k<<24>>24!=0)}while(0);if((e|0)!=0?(a[e>>0]=1,f<<24>>24<67):0){if(!g){a[e>>0]=5;break}b=a[g>>0]|0;if(b<<24>>24){while(1){if(((b&255)+-48|0)>>>0<10)break;g=g+1|0;b=a[g>>0]|0;if(!(b<<24>>24))break a}c[m>>2]=0;zn(g,m)|0;g=((c[m>>2]|0)/4|0)+1|0;g=(g|0)>255?255:g;c[m>>2]=g;a[e>>0]=g}}}else f=67;while(0);i=n;return f|0}function Uq(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;n=c[e>>2]|0;k=c[e+484>>2]|0;do if(k){h=(b[k+38>>1]|0)+-1|0;l=c[k+4>>2]|0;p=c[f>>2]|0;q=(d[n+145>>0]|0)+4|0;c[m+0>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;k=m+20|0;a[k>>0]=q;c[m>>2]=78;c[m+4>>2]=79;c[m+24>>2]=0;ns(m,p)|0;if(!(a[k>>0]|0)){c[m>>2]=c[l+(h*24|0)>>2];ph(e,36480,m);break}k=l+(h*24|0)+4|0;Ck(n,c[k>>2]|0);c[k>>2]=Ir(n,c[f>>2]|0,1,0)|0;l=l+(h*24|0)+8|0;ig(n,c[l>>2]|0);h=c[f+4>>2]|0;k=(c[f+8>>2]|0)-h|0;if((h|0)!=0?(g=fw(k|0,((k|0)<0)<<31>>31|0,1,0)|0,g=ih(n,g,C)|0,(g|0)!=0):0){gw(g|0,h|0,k|0)|0;a[g+k>>0]=0}else g=0;c[l>>2]=g}while(0);Ck(n,c[f>>2]|0);i=o;return}function Vq(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if((b|0)==72&(d|0)!=0&(e|0)!=0?(c[a+64>>2]|0)==0:0)b=os(c[a>>2]|0,d,e)|0;else{b=jr(c[a>>2]|0,b,f,1)|0;ps(c[a>>2]|0,b,d,e)}if((b|0)!=0?(g=c[(c[a>>2]|0)+100>>2]|0,(g|0)<(c[b+24>>2]|0)):0){c[h>>2]=g;ph(a,27152,h)}i=k;return b|0}function Wq(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+16|0;if((i|0)>=(j|0))ba();z=A;x=c[e+484>>2]|0;do if((x|0)!=0?(a[e+451>>0]|0)==0:0){y=x+44|0;m=d[y>>0]|0;if(m&4){c[z>>2]=c[x>>2];ph(e,36376,z);break}v=m|4;a[y>>0]=v;w=(f|0)==0;if(w){m=(b[x+38>>1]|0)+-1|0;t=c[x+4>>2]|0;l=t+(m*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=m;n=1;m=c[t+(m*24|0)+12>>2]|0}else{u=c[f>>2]|0;if((u|0)>0){r=f+4|0;s=x+4|0;q=b[x+38>>1]|0;t=0;m=0;do{a:do if(q<<16>>16>0){o=c[(c[r>>2]|0)+(t*20|0)+4>>2]|0;p=c[s>>2]|0;n=0;while(1){l=n+1|0;if(!($c(o,c[p+(n*24|0)>>2]|0)|0))break;if((l|0)<(q<<16>>16|0))n=l;else break a}l=p+(n*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=n;m=c[p+(n*24|0)+12>>2]|0}else l=0;while(0);t=t+1|0}while((t|0)!=(u|0))}else{l=-1;m=0}n=(u|0)==1}if(n&(m|0)!=0?($c(m,11144)|0|k|0)==0:0){b[x+36>>1]=l;a[x+45>>0]=g;a[y>>0]=v|h<<3;if(w){f=0;break}a[e+448>>0]=a[(c[f+4>>2]|0)+12>>0]|0;break}if(h){ph(e,36424,z);break}m=c[e+8>>2]|0;l=(m|0)!=0;if(l)c[e+420>>2]=sh(m,156,0,0,0)|0;f=Xq(e,0,0,0,f,g,0,0,k,0)|0;if((f|0)!=0?(t=f+51|0,a[t>>0]=a[t>>0]&-4|2,l):0){f=c[e+420>>2]|0;l=c[m+32>>2]|0;if(l>>>0>f>>>0)c[(c[m+4>>2]|0)+(f*20|0)+8>>2]=l;c[(c[m+24>>2]|0)+88>>2]=l+-1;f=0}else f=0}while(0);JkJk(U,l);zo(U,k);ig(U,h);i=V;return r|0}function Yq(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[e+484>>2]|0;h=c[e>>2]|0;if(((g|0)!=0?(a[e+451>>0]|0)==0:0)?(b[(c[(c[(c[h+16>>2]|0)+(d[h+144>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){h=g+24|0;g=hr(e,c[h>>2]|0,f)|0;c[h>>2]=g;if(c[e+324>>2]|0)ir(e,g,e+320|0,1)}else Ck(h,f);return}function Zq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))ba();z=C;B=c[d>>2]|0;A=c[d+484>>2]|0;a:do if((A|0)!=0?(a[d+451>>0]|0)==0:0){w=(e|0)==0;do if(w){y=b[A+38>>1]|0;l=(y<<16>>16)+-1|0;if(y<<16>>16<1){k=0;break a}if(g)if((c[g>>2]|0)==1){l=1;k=13}else{c[z>>2]=c[(c[A+4>>2]|0)+(l*24|0)>>2];c[z+4>>2]=f;ph(d,35712,z);k=0;break a}else{l=1;k=12}}else{if(!g){l=c[e>>2]|0;k=12;break}l=c[g>>2]|0;if((l|0)==(c[e>>2]|0))k=13;else{ph(d,35776,z);k=0;break a}}while(0);if((k|0)==12){m=f+4|0;p=m;t=0;m=(l<<3)+37+(c[m>>2]|0)|0;y=l}else if((k|0)==13){p=f+4|0;m=(l<<3)+37+(c[p>>2]|0)|0;q=c[g>>2]|0;if((q|0)>0){r=c[g+4>>2]|0;s=0;do{o=c[r+(s*20|0)+4>>2]|0;if(!o)k=1;else{n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;k=(n-o&1073741823)+1|0}m=k+m|0;s=s+1|0}while((s|0)<(q|0));t=1;y=l}else{t=1;y=l}}k=ih(B,m,((m|0)<0)<<31>>31)|0;if(k){bw(k|0,0,m|0)|0;c[k>>2]=A;x=A+16|0;c[k+4>>2]=c[x>>2];u=k+36|0;n=u+(y<<3)|0;v=k+8|0;c[v>>2]=n;gw(n|0,c[f>>2]|0,c[p>>2]|0)|0;a[n+(c[p>>2]|0)>>0]=0;ho(n);n=n+((c[p>>2]|0)+1)|0;c[k+20>>2]=y;b:do if(!w){if((y|0)>0){m=A+4|0;f=e+4|0;o=b[A+38>>1]|0;l=0;while(1){c:do if(o<<16>>16>0){s=c[m>>2]|0;r=c[(c[f>>2]|0)+(l*20|0)+4>>2]|0;q=0;while(1){p=q+1|0;if(!($c(c[s+(q*24|0)>>2]|0,r)|0)){p=q;break}if((p|0)<(o<<16>>16|0))q=p;else break c}c[u+(l<<3)>>2]=p}else p=0;while(0);if((p|0)>=(o<<16>>16|0))break;l=l+1|0;if((l|0)>=(y|0))break b}c[z>>2]=c[(c[f>>2]|0)+(l*20|0)+4>>2];ph(d,35872,z);break a}}else c[u>>2]=(b[A+38>>1]|0)+-1;while(0);if(t&(y|0)>0){o=g+4|0;p=0;while(1){m=c[(c[o>>2]|0)+(p*20|0)+4>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[u+(p<<3)+4>>2]=n;gw(n|0,m|0,l|0)|0;a[n+l>>0]=0;p=p+1|0;if((p|0)==(y|0))break;else n=n+(l+1)|0}}a[k+24>>0]=0;a[k+25>>0]=h;a[k+26>>0]=h>>>8;l=Ek((c[A+68>>2]|0)+56|0,c[v>>2]|0,k)|0;if((l|0)==(k|0)){a[B+65>>0]=1;break}if(l){c[k+12>>2]=l;c[l+16>>2]=k}c[x>>2]=k;k=0}else k=0}else k=0;while(0);ig(B,k);Jk(B,e);Jk(B,g);i=C;return}function _q(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b>>2]|0;f=a[e+62>>0]|0;g=a[e+145>>0]|0;e=Un(e,f,d,g&255)|0;do if(!(g<<24>>24)){if((e|0)!=0?(c[e+12>>2]|0)!=0:0)break;e=ss(b,f,e,d)|0}while(0);return e|0}function $q(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();w=y;s=y+12|0;x=c[e>>2]|0;do if(!(a[x+65>>0]|0)){h=(h|0)!=0;if(h){r=x+68|0;a[r>>0]=(a[r>>0]|0)+1<<24>>24;v=Qr(e,g,f+8|0)|0;a[r>>0]=(a[r>>0]|0)+-1<<24>>24}else v=Qr(e,g,f+8|0)|0;if(!v){if(!h)break;vr(e,c[f+12>>2]|0);break}p=v+68|0;l=c[p>>2]|0;a:do if(l){h=c[x+20>>2]|0;if((h|0)>0){k=c[x+16>>2]|0;n=0;while(1){m=n+1|0;if((c[k+(n<<4)+12>>2]|0)==(l|0)){m=n;break a}if((m|0)<(h|0))n=m;else break}}else m=0}else m=-1e6;while(0);t=v+44|0;if((a[t>>0]&16)!=0?(dr(e,v)|0)!=0:0)break;n=(m|0)==1;u=n?13184:13208;h=c[(c[x+16>>2]|0)+(m<<4)>>2]|0;if(!(Oq(e,9,u,0,h)|0)){k=(g|0)!=0;do if(k){l=n?15:17;n=0}else{if(!(a[t>>0]&16)){l=n?13:11;n=0;break}n=v+60|0;while(1){n=c[n>>2]|0;if((c[n>>2]|0)==(x|0))break;else n=n+24|0}l=30;n=c[(c[n+4>>2]|0)+4>>2]|0}while(0);if((Oq(e,l,c[v>>2]|0,n,h)|0)==0?(Oq(e,9,c[v>>2]|0,0,h)|0)==0:0){n=c[v>>2]|0;if((Bc(n,25568,7)|0)==0?(Bc(n,35488,11)|0)!=0:0){c[w>>2]=n;ph(e,35504,w);break}h=v+12|0;l=(c[h>>2]|0)==0;if(k){if(l){c[w>>2]=n;ph(e,35536,w);break}}else if(!l){c[w>>2]=n;ph(e,35576,w);break}if(Kq(e)|0){q=e+408|0;l=c[q>>2]|0;l=(l|0)==0?e:l;wr(e,m);r=1<<m;k=l+328|0;c[k>>2]=c[k>>2]|r;l=l+20|0;a[l>>0]=d[l>>0]|1;yr(e,m,28544,c[v>>2]|0);l=c[e>>2]|0;k=l+24|0;b:do if(((c[k>>2]&524288|0)!=0?(a[t>>0]&16)==0:0)?(c[h>>2]|0)==0:0){o=Kq(e)|0;s=Zm((c[p>>2]|0)+56|0,c[v>>2]|0,s)|0;if((s|0)!=0?(c[s+8>>2]|0)!=0:0)n=0;else{n=c[v+16>>2]|0;if(!n)break;while(1){if(a[n+24>>0]|0)break;if(c[k>>2]&16777216)break;n=c[n+4>>2]|0;if(!n)break b}n=ts(o)|0;sh(o,135,1,n,0)|0}s=e+438|0;a[s>>0]=1;nr(e,us(l,f,0)|0,0);a[s>>0]=0;if(!(c[k>>2]&16777216)){sh(o,135,0,(c[o+32>>2]|0)+2|0,0)|0;vs(e,787,2,0,-2,4)}if(n){l=c[o+24>>2]|0;h=~n;do if((n|0)<0){n=c[l+112>>2]|0;if(!n)break;c[n+(h<<2)>>2]=c[o+32>>2]}while(0);c[l+88>>2]=(c[o+32>>2]|0)+-1}}while(0);o=c[e>>2]|0;p=o+16|0;l=c[p>>2]|0;h=Kq(e)|0;s=c[q>>2]|0;s=(s|0)==0?e:s;wr(e,m);q=s+328|0;c[q>>2]=c[q>>2]|r;s=s+20|0;a[s>>0]=d[s>>0]|1;if(a[t>>0]&16)sh(h,146,0,0,0)|0;n=ws(e,v)|0;if(n)do{Mr(e,n);n=c[n+32>>2]|0}while((n|0)!=0);l=l+(m<<4)|0;if(a[t>>0]&8){s=c[v>>2]|0;c[w>>2]=c[l>>2];c[w+4>>2]=s;xr(e,35608,w)}s=c[v>>2]|0;c[w>>2]=c[l>>2];c[w+4>>2]=u;c[w+8>>2]=s;xr(e,35656,w);if((g|0)==0?(a[t>>0]&16)==0:0)xs(e,v);if(a[t>>0]&16){s=c[v>>2]|0;th(h,sh(h,148,m,0,0)|0,s,0)}k=c[v>>2]|0;th(h,sh(h,124,m,0,0)|0,k,0);zr(e,m);h=c[(c[p>>2]|0)+(m<<4)+12>>2]|0;k=b[h+78>>1]|0;if(k&2){l=c[h+16>>2]|0;if(l){k=l;do{h=c[k+8>>2]|0;if(c[h+12>>2]|0){Hk(o,h);c[h+4>>2]=0;b[h+38>>1]=0}k=c[k>>2]|0}while((k|0)!=0);k=c[(c[p>>2]|0)+(m<<4)+12>>2]|0;h=k;k=b[k+78>>1]|0}b[h+78>>1]=k&65533}}}}}while(0);zo(x,f);i=y;return}function ar(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))ba();k=m;h=c[b>>2]|0;do if((f|0)!=0?(c[f+4>>2]|0)!=0:0){if(a[h+145>>0]|0){ph(b,28488,k);f=b+64|0;c[f>>2]=(c[f>>2]|0)+1;f=-1;break}c[g>>2]=f;g=Sq(h,e)|0;f=Rh(h,g)|0;ig(h,g);if((f|0)<0){c[k>>2]=e;ph(b,28512,k);f=b+64|0;c[f>>2]=(c[f>>2]|0)+1;f=-1}}else l=7;while(0);if((l|0)==7){f=d[h+144>>0]|0;c[g>>2]=e}i=m;return f|0}function br(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Dr(a,c[b>>2]|0)|0){b=1;break a}if(Gr(a,c[b+32>>2]|0)|0){b=1;break a}if(Cr(a,c[b+36>>2]|0)|0){b=1;break a}if(Dr(a,c[b+40>>2]|0)|0){b=1;break a}if(Cr(a,c[b+44>>2]|0)|0){b=1;break a}if(Dr(a,c[b+48>>2]|0)|0){b=1;break a}if(Cr(a,c[b+60>>2]|0)|0){b=1;break a}if(Cr(a,c[b+64>>2]|0)|0){b=1;break a}b=c[b+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function cr(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=ih(d,72,0)|0,(h|0)!=0):0){c[h>>2]=Lr(d,c[f>>2]|0,g)|0;c[h+32>>2]=us(d,c[f+32>>2]|0,g)|0;c[h+36>>2]=Ir(d,c[f+36>>2]|0,g,0)|0;c[h+40>>2]=Lr(d,c[f+40>>2]|0,g)|0;c[h+44>>2]=Ir(d,c[f+44>>2]|0,g,0)|0;c[h+48>>2]=Lr(d,c[f+48>>2]|0,g)|0;a[h+4>>0]=a[f+4>>0]|0;j=cr(d,c[f+52>>2]|0,g)|0;c[h+52>>2]=j;if(j)c[j+56>>2]=h;c[h+56>>2]=0;c[h+60>>2]=Ir(d,c[f+60>>2]|0,g,0)|0;c[h+64>>2]=Ir(d,c[f+64>>2]|0,g,0)|0;c[h+8>>2]=0;c[h+12>>2]=0;b[h+6>>1]=(e[f+6>>1]|0)&65527;c[h+16>>2]=-1;c[h+20>>2]=-1;l=f+24|0;j=c[l+4>>2]|0;g=h+24|0;c[g>>2]=c[l>>2];c[g+4>>2]=j;g=c[f+68>>2]|0;if((g|0)!=0?(k=c[g>>2]<<4|8,i=ih(d,k,((k|0)<0)<<31>>31)|0,(i|0)!=0):0){bw(i|0,0,k|0)|0;c[i>>2]=c[g>>2];if((c[g>>2]|0)>0){f=i+8|0;j=0;do{c[f+(j<<4)+8>>2]=cr(d,c[g+(j<<4)+16>>2]|0,0)|0;c[f+(j<<4)+4>>2]=Lr(d,c[g+(j<<4)+12>>2]|0,0)|0;c[f+(j<<4)>>2]=gh(d,c[g+(j<<4)+8>>2]|0)|0;j=j+1|0}while((j|0)<(c[g>>2]|0))}}else i=0;c[h+68>>2]=i}else h=0;return h|0}function dr(d,f){d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))ba();p=t;k=t+8|0;m=t+4|0;s=c[d>>2]|0;n=f+44|0;h=a[n>>0]|0;a:do if(!(h&16))q=11;else{g=c[f+60>>2]|0;if(g)do{if((c[g>>2]|0)==(s|0)){q=11;break a}g=c[g+24>>2]|0}while((g|0)!=0);g=f+56|0;h=Zm(s+308|0,c[c[g>>2]>>2]|0,k)|0;if((h|0)!=0?(l=c[h+8>>2]|0,(l|0)!=0):0){c[m>>2]=0;l=(vn(s,f,l,c[(c[l>>2]|0)+8>>2]|0,m)|0)==0;h=c[m>>2]|0;if(l){ig(s,h);h=a[n>>0]|0;q=11;break}else{c[p>>2]=h;ph(d,10344,p);ig(s,h);g=1;break}}c[p>>2]=c[c[g>>2]>>2];ph(d,28320,p);g=1}while(0);do if((q|0)==11)if((h&16)==0?(r=f+38|0,o=b[r>>1]|0,o<<16>>16<=0):0){if(o<<16>>16<0){c[p>>2]=c[f>>2];ph(d,26752,p);g=1;break}h=cr(s,c[f+12>>2]|0,0)|0;if(!h)g=1;else{o=s+250|0;n=a[o>>0]|0;q=d+68|0;p=c[q>>2]|0;ys(d,c[h+32>>2]|0);b[r>>1]=-1;a[o>>0]=0;m=s+284|0;l=c[m>>2]|0;c[m>>2]=0;g=js(d,h)|0;c[m>>2]=l;a[o>>0]=n;c[q>>2]=p;if(!g){b[r>>1]=0;g=1}else{d=g+38|0;b[r>>1]=b[d>>1]|0;q=g+4|0;c[f+4>>2]=c[q>>2];b[d>>1]=0;c[q>>2]=0;gg(s,g);g=(c[f+68>>2]|0)+78|0;b[g>>1]=e[g>>1]|0|2;g=0}Ik(s,h,1)}}else g=0;while(0);i=t;return g|0}
12 function er(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0;za=i;i=i+240|0;if((i|0)>=(j|0))ba();oa=za;pa=za+220|0;ha=za+216|0;fa=za+196|0;ga=za+176|0;ra=za+164|0;sa=za+136|0;va=za+88|0;da=za+64|0;ja=za+32|0;xa=f+464|0;ya=c[xa>>2]|0;la=f+468|0;ua=c[la>>2]|0;c[la>>2]=ua+1;c[xa>>2]=ua;ua=c[f>>2]|0;a:do if((((g|0)!=0?(ma=ua+65|0,(a[ma>>0]|0)==0):0)?(k=f+64|0,(c[k>>2]|0)==0):0)?(Oq(f,21,0,0,0)|0)==0:0){A=va+0|0;z=A+48|0;do{c[A>>2]=0;A=A+4|0}while((A|0)<(z|0));ia=g+48|0;if((d[h>>0]|0)<9){JkJkJk(ua,q);wa=444;break}at(f,va);if((a[p+36>>0]|0)>0)sh(ta,16,0,c[p+52>>2]|0,0)|0;Ts(p);bt(f,va)}c[sa>>2]=0;ct(f,da,P,16);Ls(f,g,c[g>>2]|0,-1,0,0,h,P,P);Jk(ua,q);o=ta+24|0}q=c[o>>2]|0;p=~P;do if((P|0)<0){o=c[q+112>>2]|0;if(!o)break;c[o+(p<<2)>>2]=c[ta+32>>2]}while(0);c[q+88>>2]=(c[ta+32>>2]|0)+-1}if((a[ra+1>>0]|0)==3)Xs(f,34808);if(c[sa>>2]|0){u=sa+4|0;Xs(f,(c[u>>2]|0)>0?34840:34864);x=c[Q>>2]|0;s=f+8|0;E=c[s>>2]|0;F=ts(E)|0;D=ts(E)|0;n=c[sa>>2]|0;m=a[h>>0]|0;y=m&255;z=h+4|0;A=c[z>>2]|0;v=sa+16|0;t=c[v>>2]|0;if(t){sh(E,17,c[sa+12>>2]|0,t,0)|0;sh(E,16,0,F,0)|0;ca=c[v>>2]|0;t=c[E+24>>2]|0;k=~ca;do if((ca|0)<0){l=c[t+112>>2]|0;if(!l)break;c[l+(k<<2)>>2]=c[E+32>>2]}while(0);c[t+88>>2]=(c[E+32>>2]|0)+-1}B=c[sa+8>>2]|0;q=m<<24>>24==9;k:do if((m&-5)<<24>>24==9){p=x;r=c[h+8>>2]|0;k=0}else{t=f+19|0;k=a[t>>0]|0;do if(k<<24>>24){ca=k+-1<<24>>24;a[t>>0]=ca;l=c[f+((ca&255)<<2)+24>>2]|0;if(!(ca<<24>>24)){k=l;t=c[f+72>>2]|0;break}else{r=k+-2<<24>>24;a[t>>0]=r;p=1;r=c[f+((r&255)<<2)+24>>2]|0;k=l;break k}}else{k=f+72|0;t=(c[k>>2]|0)+1|0;c[k>>2]=t;k=t}while(0);r=t+1|0;c[f+72>>2]=r;p=1}while(0);o=(c[n>>2]|0)-(c[u>>2]|0)|0;w=sa+24|0;if(!(a[w>>0]&1)){t=sh(E,107,B,F,0)|0;et(E,c[g+12>>2]|0,D);l=1;m=B}else{ca=f+72|0;m=(c[ca>>2]|0)+1|0;c[ca>>2]=m;ca=f+68|0;n=c[ca>>2]|0;c[ca>>2]=n+1;if(!(c[v>>2]|0))l=0;else{ca=Kq(f)|0;aa=f+80|0;l=c[aa>>2]|0;c[aa>>2]=l+1;l=sh(ca,44,l,0,0)|0}sh(E,60,n,m,p+1+o|0)|0;if(l){t=c[E+32>>2]|0;if(t>>>0>l>>>0)c[(c[E+4>>2]|0)+(l*20|0)+8>>2]=t;c[(c[E+24>>2]|0)+88>>2]=t+-1}t=sh(E,106,B,F,0)|0;et(E,c[g+12>>2]|0,D);sh(E,100,B,m,n)|0;l=0;m=n}u=t+1|0;if((p|0)>0){t=l+o|0;l=0;do{sh(E,47,m,t+l|0,l+r|0)|0;l=l+1|0}while((l|0)!=(p|0))}do if((y|0)==12|(y|0)==14){sh(E,74,A,k,0)|0;sh(E,75,A,r,k)|0;q=c[E+4>>2]|0;if(!q)break;a[q+(((c[E+32>>2]|0)+-1|0)*20|0)+3>>0]=8}else if((y|0)==11){th(E,sh(E,49,r,1,k)|0,h+1|0,1);$s(f,r,1);sh(E,110,A,k,0)|0}else if((y|0)!=10)if(q){ca=h+8|0;sh(E,35,c[ca>>2]|0,x,0)|0;$s(f,c[ca>>2]|0,x);break}else{sh(E,22,c[z>>2]|0,0,0)|0;break}else{sh(c[s>>2]|0,32,r,A,1)|0;$s(f,r,1)}while(0);if(k){Wr(f,r);Wr(f,k)}p=E+24|0;r=c[p>>2]|0;s=~D;do if((D|0)<0){q=c[r+112>>2]|0;if(!q)break;c[q+(s<<2)>>2]=c[E+32>>2]}while(0);s=E+32|0;c[r+88>>2]=(c[s>>2]|0)+-1;if(!(a[w>>0]&1))sh(E,9,B,u,0)|0;else sh(E,5,B,u,0)|0;o=c[sa+12>>2]|0;if(o)sh(E,18,o,0,0)|0;o=c[p>>2]|0;n=~F;do if((F|0)<0){m=c[o+112>>2]|0;if(!m)break;c[m+(n<<2)>>2]=c[s>>2]}while(0);c[o+88>>2]=(c[s>>2]|0)+-1}l=c[ta+24>>2]|0;m=~na;do if((na|0)<0){k=c[l+112>>2]|0;if(!k)break;c[k+(m<<2)>>2]=c[ta+32>>2]}while(0);c[l+88>>2]=(c[ta+32>>2]|0)+-1;c[xa>>2]=ya;if((a[h>>0]|0)!=9){k=0;break}Js(f,R,Q);k=0}else wa=444;while(0);if((wa|0)==444){c[xa>>2]=ya;k=1}ig(ua,c[va+28>>2]|0);ig(ua,c[va+40>>2]|0)}else k=1;while(0);i=za;return k|0}function fr(a,b,d,e,f,g,h,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;o=c[a>>2]|0;if((b|0)==0?(l=(h|0)!=0,l|(k|0)!=0):0){c[m>>2]=l?34792:34800;ph(a,34752,m);p=9}else{b=lr(o,b,d,e)|0;if((b|0)!=0?(n=c[b>>2]|0,(n|0)!=0):0){l=n+-1|0;if(c[f+4>>2]|0)c[b+(l*72|0)+20>>2]=Sq(o,f)|0;c[b+(l*72|0)+28>>2]=g;c[b+(l*72|0)+52>>2]=h;c[b+(l*72|0)+56>>2]=k}else p=9}if((p|0)==9){Ck(o,h);Dk(o,k);Ik(o,g,1);b=0}i=q;return b|0}function gr(d,e,f,g,h,k,l,m,n,o){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+80|0;if((i|0)>=(j|0))ba();q=v+72|0;u=v;t=c[d>>2]|0;p=ih(t,72,0)|0;if(!p){r=u+0|0;s=r+72|0;do{c[r>>2]=0;r=r+4|0}while((r|0)<(s|0));p=u}else{r=p+0|0;s=r+72|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0))}if(!e){c[q>>2]=0;c[q+4>>2]=0;e=hr(d,0,jr(t,116,q,0)|0)|0}c[p>>2]=e;if(!f){f=ih(t,80,0)|0;if(f){r=f+0|0;s=r+80|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0))}}c[p+32>>2]=f;c[p+36>>2]=g;c[p+40>>2]=h;c[p+44>>2]=k;c[p+48>>2]=l;b[p+6>>1]=m;a[p+4>>0]=119;c[p+60>>2]=n;c[p+64>>2]=o;c[p+16>>2]=-1;c[p+20>>2]=-1;if(a[t+65>>0]|0){Ik(t,p,(p|0)!=(u|0)&1);p=0}i=v;return p|0}function hr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[b>>2]|0;if(!d){d=ih(g,8,0)|0;if(d){b=d;f=b;a[f>>0]=0;a[f+1>>0]=0;a[f+2>>0]=0;a[f+3>>0]=0;b=b+4|0;a[b>>0]=0;a[b+1>>0]=0;a[b+2>>0]=0;a[b+3>>0]=0;b=ih(g,20,0)|0;c[d+4>>2]=b;if(!b)f=8;else f=7}else{d=0;f=8}}else{b=c[d>>2]|0;if(!(b+-1&b)){f=d+4|0;b=no(g,c[f>>2]|0,b*40|0,0)|0;if(!b)f=8;else{c[f>>2]=b;f=7}}else f=7}if((f|0)==7){b=c[d>>2]|0;c[d>>2]=b+1;b=(c[d+4>>2]|0)+(b*20|0)|0;c[b+0>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b>>2]=e}else if((f|0)==8){Ck(g,e);JkJkJk(ka,l);Ik(ka,g,1);Dk(ka,h);ig(ka,m);i=la;return}function qr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;if(!d){d=ih(b,8,0)|0;if(!d)d=0;else{g=d;k=g;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;g=g+4|0;a[g>>0]=0;a[g+1>>0]=0;a[g+2>>0]=0;a[g+3>>0]=0;g=4}}else g=4;do if((g|0)==4){c[d>>2]=Dt(b,c[d>>2]|0,8,d+4|0,f)|0;f=c[f>>2]|0;if((f|0)<0){Dk(b,d);d=0;break}else{b=Sq(b,e)|0;c[(c[d>>2]|0)+(f<<3)>>2]=b;break}}while(0);i=h;return d|0}function rr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[d+4>>2]|0)!=0?(f=jr(c[a>>2]|0,95,d,e)|0,(f|0)!=0):0){c[f+12>>2]=b;b=f+4|0;c[b>>2]=c[b>>2]|4352;b=f}return b|0}function sr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[a>>2]|0;d=jr(e,153,d,1)|0;if(!d){Jkd=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;if(!b){c[e>>2]=d;a=qh(a,25992,e)|0}else{c[e>>2]=b;c[e+4>>2]=d;e=qh(a,26e3,e)|0;ig(a,b);a=e}i=f;return a|0}function Tr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;e=c[a>>2]|0;f=c[(c[e+16>>2]|0)+28>>2]|0;if((c[b+68>>2]|0)!=(f|0)?(d=ws(a,b)|0,(d|0)!=0):0){b=d;d=0;do{if((c[b+20>>2]|0)==(f|0))d=Sr(e,d,c[b>>2]|0)|0;b=c[b+32>>2]|0}while((b|0)!=0);if(d){b=c[a>>2]|0;c[g>>2]=d;b=qh(b,25968,g)|0;ig(c[a>>2]|0,d);d=b}else d=0}else d=0;i=h;return d|0}function Ur(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;o=Kq(a)|0;if(o){e=c[a>>2]|0;h=c[b+68>>2]|0;a:do if(h){k=c[e+20>>2]|0;if((k|0)>0){f=c[e+16>>2]|0;g=0;while(1){e=g+1|0;if((c[f+(g<<4)+12>>2]|0)==(h|0))break a;if((e|0)<(k|0))g=e;else{g=e;break}}}else g=0}else g=-1e6;while(0);e=ws(a,b)|0;if(e)do{f=c[a>>2]|0;l=c[e+20>>2]|0;b:do if(l){m=c[f+20>>2]|0;if((m|0)>0){k=c[f+16>>2]|0;h=0;while(1){f=h+1|0;if((c[k+(h<<4)+12>>2]|0)==(l|0)){f=h;break b}if((f|0)<(m|0))h=f;else break}}else f=0}else f=-1e6;while(0);m=c[e>>2]|0;th(o,sh(o,126,f,0,0)|0,m,0);e=c[e+32>>2]|0}while((e|0)!=0);e=c[b>>2]|0;th(o,sh(o,124,g,0,0)|0,e,0);e=c[a>>2]|0;c[n>>2]=d;e=qh(e,25952,n)|0;if((e|0)!=0?(Er(o,g,e),p=Tr(a,b)|0,(p|0)!=0):0)Er(o,1,p)}i=q;return}
16 var Xb=[Nw,qe];var Yb=[Ow,hi,mi,oi,ri,ti,me,se,rf,Tf,Uf,Bf,Af,Df,Ke,zf,Cf,yf,te,Mf,lf,Ce,Bc,Ff,Je,af,bg,Uc,Ci,Hi,Ki,ak,gk,ok,Pw,Qw,Rw,qk,xp,yp,wp,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow];var Zb=[Sw,Fd];var _b=[Tw,Sc,Xe,uf,Dd,Nd,Md,Nc,Gi,Oi,Pi,Ri,Wi,_i,Bj,Cj,Dj,Fj,Hj,kk,mo,up,ml,Tw,Tw,Tw,Tw,Tw,Tw,Tw,Tw,Tw];var $b=[Uw,xd];var ac=[Vw,_d];var bc=[Ww,yd];var cc=[Xw,pd];var dc=[Yw,df,ff,Mc,gf,ef,rk,Yw];var ec=[Zw,Xf,wf,Zw];var fc=[_w,ni,Bd,Jd,Kd,Ld,_c,Ii,Ni,nu,ou,_w,_w,_w,_w,_w];var gc=[$w,We,Rf,ke,ax,$w,$w,$w];var hc=[bx,Ud,ue,nf,pf,Vd,bf,cf,Wd,ye,ad,Jf,Oe,If,hd,id,Vf,mf,Pc,jd,Od,of,Pd,ld,nd,od,qd,rd,De,md,sd,td,ud,vd,kd,Ie,Fe,Oc,Kc,Yf,Gc,Jc,Qd,gd,dd,fd,ed,Cc,Ac,jf,Kf,$e,qf,kf,Lf,Ae,ze,Qe,Re,Rc,zi,Fi,Ji,Qi,Ti,Ui,Vi,Zj,hk,ik,cx,dx,ex,sk,wk,Tk,cl,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx];var ic=[fx,li,zd,Ad,Cd,Zc,Li,Xi,Yi,Zi,$i,aj,bj,cj,dj,ej,fj,gj,hj,ij,jj,kj,lj,mj,nj,oj,pj,qj,rj,sj,tj,uj,vj,wj,xj,yj,zj,Aj,Ej,Gj,Ij,Jj,Kj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,Uj,Vj,Wj,Xj,Yj,Ph,fx,fx,fx,fx,fx,fx];var jc=[gx,Wf,Se,gx];var kc=[hx,vf,xf,Ee];var lc=[ix,ii,ji,ne,Ye,Yc,Ge,He,_f,Of,Ec,bd,cg,Xc,Pe,jk,nk,zc,zh,Bh,Fh,Qh,Xm,$p,ix,ix,ix,ix,ix,ix,ix,ix];var mc=[jx,sf,wd,Ed,Gd,Hd,Id,Td,Mi,lg,jx,jx,jx,jx,jx,jx];var nc=[kx,ki,pi,qi,si,ui,vi,wi,xi,yi,Rd,oe,we,ve,tf,Xd,Yd,Zd,he,ie,$d,ae,fe,ge,be,de,ee,ce,_e,Sd,Wc,Nf,Pf,Tc,xe,Vc,Ic,$f,Zf,Be,cd,Lc,Ef,Hf,dg,eg,$c,ag,Qc,Le,Di,Ei,Si,bk,ck,dk,ek,fk,lk,lx,mx,nx,ox,px,qx,pk,rx,sx,tk,uk,vk,xk,yk,zk,Lh,tp,zm,Am,ls,ms,Vs,Ws,cu,du,ku,lu,mu,lv,Ov,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx];var oc=[tx,le];var pc=[ux,gi,je,pe,re,Qf,Sf,Me,Te,Ue,Ne,Ve,Ze,Fc,Gf,Ai,Bi,_j,$j,mk,Ak,Qn,Rn,ux,ux,ux,ux,ux,ux,ux,ux,ux];return{_i64Subtract:$v,_strcat:dw,_free:Tv,_main:yc,_realloc:Uv,_i64Add:fw,_memmove:hw,_bitshift64Ashr:aw,_strlen:cw,_memset:bw,_malloc:Sv,_memcpy:gw,_bitshift64Lshr:iw,_llvm_bswap_i32:jw,_bitshift64Shl:ew,runPostSets:_v,stackAlloc:qc,stackSave:rc,stackRestore:sc,setThrew:tc,setTempRet0:wc,getTempRet0:xc,dynCall_iiiiiiii:sw,dynCall_iiii:tw,dynCall_viiiiii:uw,dynCall_vi:vw,dynCall_viiiii:ww,dynCall_dii:xw,dynCall_vid:yw,dynCall_di:zw,dynCall_i:Aw,dynCall_iiiiiiiiii:Bw,dynCall_vii:Cw,dynCall_iiiiiii:Dw,dynCall_ii:Ew,dynCall_viii:Fw,dynCall_v:Gw,dynCall_iiiiiiiii:Hw,dynCall_iiiii:Iw,dynCall_viiii:Jw,dynCall_iii:Kw,dynCall_iiid:Lw,dynCall_iiiiii:Mw}})