>>0?v:F;F=E>>>0>134217728?134217728:E;w=0;E=ya(665,F<<2|0)|0;A=w;w=0;if(A&1){M=91;break d}if(!(p<<24>>24)){A=k[e+4>>2]|0;J0a(E|0,A|0,k[e+8>>2]<<2|0)|0;GPa(A);fa=i[e+13>>0]|0}else{J0a(E|0,e|0,k[e+8>>2]<<2|0)|0;i[e+13>>0]=0;fa=0}k[e+8>>2]=v;k[e>>2]=F;k[e+4>>2]=E;ga=fa}else{k[e+8>>2]=v;ga=p}p=ga<<24>>24==0;if(p)ha=k[e+4>>2]|0;else ha=e;k[ha+(I<<2)>>2]=ca;do if((da|0)!=(x+-1|0)){if(!p){v=1-x+da|0;F0a(e|0,0,(v>>>0>1?v:1)<<2|0)|0;break}v=k[e+4>>2]|0;E=0;do{k[v+(E<<2)>>2]=0;E=E+1|0}while(E>>>0>>0)}while(0);w=0;if((i[a+12>>0]|0)!=0^(i[e+12>>0]|0)!=0){uq(a,a,e);p=w;w=0;if(p&1){M=91;break d}else break}else{vq(a,a,e);p=w;w=0;if(p&1){M=91;break d}else break}}else{if(ca>>>0<~H>>>0){k[J>>2]=H+ca;break}p=(I+1|0)>>>0>134217728?134217728:I+1|0;E=i[e+13>>0]|0;if(!(E<<24>>24))ia=k[e>>2]|0;else ia=2;if(p>>>0>ia>>>0){v=ia<<2;F=v>>>0>>0?p:v;v=F>>>0>134217728?134217728:F;w=0;F=ya(665,v<<2|0)|0;A=w;w=0;if(A&1){M=91;break d}if(!(E<<24>>24)){A=k[e+4>>2]|0;J0a(F|0,A|0,k[e+8>>2]<<2|0)|0;GPa(A);ja=i[e+13>>0]|0}else{J0a(F|0,e|0,k[e+8>>2]<<2|0)|0;i[e+13>>0]=0;ja=0}k[e+8>>2]=p;k[e>>2]=v;k[e+4>>2]=F;ka=ja}else{k[e+8>>2]=p;ka=E}E=ka<<24>>24==0;if(E)la=k[e+4>>2]|0;else la=e;k[la+(I<<2)>>2]=ca;do if((da|0)!=(x+-1|0)){if(!E){p=1-x+da|0;F0a(e|0,0,(p>>>0>1?p:1)<<2|0)|0;break}p=k[e+4>>2]|0;F=0;do{k[p+(F<<2)>>2]=0;F=F+1|0}while(F>>>0>>0)}while(0);w=0;if((i[a+12>>0]|0)!=0^(i[e+12>>0]|0)!=0){vq(a,a,e);E=w;w=0;if(E&1){M=91;break d}else break}else{uq(a,a,e);E=w;w=0;if(E&1){M=91;break d}else break}}}while(0);E=I+1+(k[c+32>>2]|0)|0;H=E>>>0>134217728?134217728:E;E=i[e+13>>0]|0;if(!(E<<24>>24))ma=k[e>>2]|0;else ma=2;if(H>>>0>ma>>>0){J=ma<<2;F=J>>>0>>0?H:J;J=F>>>0>134217728?134217728:F;w=0;F=ya(665,J<<2|0)|0;p=w;w=0;if(p&1){M=91;break}if(!(E<<24>>24)){p=k[e+4>>2]|0;J0a(F|0,p|0,k[e+8>>2]<<2|0)|0;GPa(p);na=i[e+13>>0]|0}else{J0a(F|0,e|0,k[e+8>>2]<<2|0)|0;i[e+13>>0]=0;na=0}k[e+8>>2]=H;k[e>>2]=J;k[e+4>>2]=F;oa=na}else{k[e+8>>2]=H;oa=E}if(!(oa<<24>>24))pa=k[e+4>>2]|0;else pa=e;if((da|0)!=(x+-1|0)){E=1-x+da|0;F0a(pa|0,0,(E>>>0>1?E:1)<<2|0)|0}do if(!(k[c+32>>2]|0))M=208;else{E=0;H=0;F=0;while(1){J=Q0a(k[c+(F<<2)>>2]|0,0,ca|0,0)|0;p=G0a(J|0,L|0,E|0,H|0)|0;qa=L;k[pa+(F+I<<2)>>2]=p;F=F+1|0;if(F>>>0>=(k[c+32>>2]|0)>>>0)break;else{E=qa;H=0}}if((qa|0)==0&0==0){M=208;break}H=k[e+8>>2]|0;k[pa+(H+-1<<2)>>2]=qa;ra=H}while(0);do if((M|0)==208){M=0;I=k[e+8>>2]|0;H=(I+-1|0)>>>0>134217728?134217728:I+-1|0;E=(i[e+13>>0]|0)==0;if(E)sa=k[e>>2]|0;else sa=2;if(H>>>0<=sa>>>0){k[e+8>>2]=H;ra=H;break}F=sa<<2;p=F>>>0>>0?H:F;F=p>>>0>134217728?134217728:p;w=0;p=ya(665,F<<2|0)|0;J=w;w=0;if(J&1){M=91;break d}if(E){E=k[e+4>>2]|0;J0a(p|0,E|0,I<<2|0)|0;GPa(E)}else{J0a(p|0,e|0,I<<2|0)|0;i[e+13>>0]=0}k[e+8>>2]=H;k[e>>2]=F;k[e+4>>2]=p;ra=H}while(0);H=i[d+12>>0]|0;p=j[e+12>>1]|0;F=H<<24>>24!=0^(p&255)<<24>>24!=0;do if(!F){I=k[d+8>>2]|0;e:do if((I|0)==(ra|0)){E=(i[Z>>0]|0)==0?k[_>>2]|0:$;J=((p&65535)>>>8&255)<<24>>24==0?k[e+4>>2]|0:e;v=ra;do{v=v+-1|0;if((v|0)<=-1){ta=0;break e}ua=k[E+(v<<2)>>2]|0;va=k[J+(v<<2)>>2]|0}while((ua|0)==(va|0));ta=ua>>>0>va>>>0?1:-1}else ta=I>>>0>ra>>>0?1:-1;while(0);if(((H<<24>>24!=0?0-ta|0:ta)|0)<=0){wa=I;M=230;break}if(F){M=228;break}w=0;cb(212,d|0,d|0,e|0);v=w;w=0;if(v&1){M=91;break d}else{xa=N;za=O}}else{if(!(H<<24>>24)){M=228;break}wa=k[d+8>>2]|0;M=230}while(0);if((M|0)==228){M=0;w=0;cb(211,d|0,d|0,e|0);v=w;w=0;if(v&1){M=91;break}else{xa=N;za=O}}else if((M|0)==230){M=0;v=k[d>>2]|0;J=k[d+4>>2]|0;E=k[e+4>>2]|0;k[d>>2]=k[e>>2];k[d+4>>2]=E;k[e>>2]=v;k[e+4>>2]=J;i[d+12>>0]=p;i[e+12>>0]=H;J=i[Z>>0]|0;i[Z>>0]=(p&65535)>>>8;i[e+13>>0]=J;k[d+8>>2]=k[e+8>>2];k[e+8>>2]=wa;w=0;if(F){uq(d,d,e);J=w;w=0;if(J&1){M=91;break}}else{vq(d,d,e);J=w;w=0;if(J&1){M=91;break}}xa=(i[Z>>0]|0)==0?k[_>>2]|0:$;za=O^1}do if((a|0)!=0&K){J=k[a+8>>2]|0;if(!(k[ba+(J+-1<<2)>>2]|0)){Aa=J+-1|0;Ba=J}else{Ca=0;break}while(1){J=Ba;Ba=Aa>>>0>134217728?134217728:Aa;v=(i[Y>>0]|0)==0;if(v)Da=k[a>>2]|0;else Da=2;if(Ba>>>0>Da>>>0){E=Da<<2;A=E>>>0>>0?Ba:E;E=A>>>0>134217728?134217728:A;w=0;A=ya(665,E<<2|0)|0;G=w;w=0;if(G&1){M=90;break d}if(v){v=k[a+4>>2]|0;J0a(A|0,v|0,J<<2|0)|0;GPa(v)}else{J0a(A|0,a|0,J<<2|0)|0;i[Y>>0]=0}k[a+8>>2]=Ba;k[a>>2]=E;k[a+4>>2]=A}else k[a+8>>2]=Ba;Aa=Ba+-1|0;if(k[ba+(Aa<<2)>>2]|0){Ca=0;break}}}else Ca=K;while(0);F=k[d+8>>2]|0;p=P;P=F+-1|0;if(P>>>0<(x+-1|0)>>>0){Ea=F;Fa=za;M=254;break}if(P>>>0>(x+-1|0)>>>0){K=Ca;N=xa;O=za;P=P;continue}p=k[c+32>>2]|0;if((F|0)!=(p|0))if(F>>>0>p>>>0){K=Ca;N=xa;O=za;P=P;continue}else{Ea=F;Fa=za;M=254;break}p=(i[Z>>0]|0)==0?k[_>>2]|0:$;H=F;while(1){H=H+-1|0;if((H|0)<=-1){K=Ca;N=xa;O=za;P=P;continue d}Ga=k[p+(H<<2)>>2]|0;Ha=k[c+(H<<2)>>2]|0;if((Ga|0)!=(Ha|0))break}if(Ga>>>0<=Ha>>>0){Ea=F;Fa=za;M=254;break}else{K=Ca;N=xa;O=za}}if((M|0)==90){O=Ib()|0;Ia=O;Ja=L;break}else if((M|0)==91){O=Ib()|0;Ia=O;Ja=L;break}else if((M|0)==254){if(!Fa)break b;if((Ea|0)==1?(k[((i[Z>>0]|0)==0?k[_>>2]|0:$)>>2]|0)==0:0)break b;do if(a){O=i[Y>>0]|0;if(!(i[a+12>>0]|0)){N=O<<24>>24==0?k[a+4>>2]|0:a;K=k[N>>2]|0;if(!K){w=0;cb(214,a|0,a|0,16656);P=w;w=0;if(P&1){M=92;break c}else break}else{k[N>>2]=K+-1;break}}else{K=O<<24>>24==0?k[a+4>>2]|0:a;O=k[K>>2]|0;if((O|0)==-1){w=0;cb(213,a|0,a|0,16656);N=w;w=0;if(N&1){M=92;break c}else break}else{k[K>>2]=O+1;break}}}while(0);w=0;if(!(i[d+12>>0]|0)){Pya(d,c,d);O=w;w=0;if(O&1){M=92;break}else break b}else{Oya(d,c,d);O=w;w=0;if(O&1){M=92;break}else break b}}}else{O=k[u+4>>2]|0;K=k[u>>2]|0;N=k[c+4>>2]|0;P=k[c>>2]|0;if(a){H=R0a(K|0,O|0,P|0,N|0)|0;p=L;I=(i[a+13>>0]|0)==0;if(I)Ka=k[a+4>>2]|0;else Ka=a;k[Ka>>2]=H;k[Ka+4>>2]=p;H=(p|0)!=0?2:1;if(I)La=k[a>>2]|0;else La=2;if(H>>>0>La>>>0){p=La<<2;A=p>>>0>>0?H:p;p=A>>>0>134217728?134217728:A;w=0;A=ya(665,p<<2|0)|0;E=w;w=0;if(E&1){M=92;break}if(I){I=k[a+4>>2]|0;J0a(A|0,I|0,k[a+8>>2]<<2|0)|0;GPa(I);Ma=a+4|0;Na=a+8|0}else{J0a(A|0,a|0,k[a+8>>2]<<2|0)|0;i[a+13>>0]=0;Ma=a+4|0;Na=a+8|0}k[Na>>2]=H;k[a>>2]=p;k[Ma>>2]=A}else k[a+8>>2]=H;i[a+12>>0]=0}H=S0a(K|0,O|0,P|0,N|0)|0;N=L;P=(i[d+13>>0]|0)==0;O=k[d+4>>2]|0;K=P?O:d;k[K>>2]=H;k[K+4>>2]=N;K=(N|0)!=0?2:1;N=P?k[d>>2]|0:2;if(K>>>0>N>>>0){H=N<<2>>>0>>0?K:N<<2;N=H>>>0>134217728?134217728:H;w=0;H=ya(665,N<<2|0)|0;A=w;w=0;if(A&1){M=92;break}if(P){J0a(H|0,O|0,k[d+8>>2]<<2|0)|0;GPa(O);Oa=d+8|0}else{J0a(H|0,d|0,k[d+8>>2]<<2|0)|0;i[d+13>>0]=0;Oa=d+8|0}k[Oa>>2]=K;k[d>>2]=N;k[d+4>>2]=H}else k[d+8>>2]=K;i[d+12>>0]=0;break b}while(0);if((M|0)==92){b=Ib()|0;Ia=b;Ja=L}if(i[e+13>>0]|0){n=Ia;o=Ja;Hb(n|0)}GPa(k[e+4>>2]|0);n=Ia;o=Ja;Hb(n|0)}while(0);if(!(i[e+13>>0]|0))GPa(k[e+4>>2]|0);r=e;return}function Oya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,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;d=k[b+32>>2]|0;e=k[c+8>>2]|0;f=d>>>0>>0?d:e;g=d>>>0>>0?e:d;if((g|0)==1){h=G0a(k[((i[c+13>>0]|0)==0?k[c+4>>2]|0:c)>>2]|0,0,k[b>>2]|0,0)|0;j=L;l=(i[a+13>>0]|0)==0;m=k[a+4>>2]|0;n=l?m:a;k[n>>2]=h;k[n+4>>2]=j;n=(j|0)!=0?2:1;j=l?k[a>>2]|0:2;if(n>>>0>j>>>0){h=j<<2>>>0>>0?n:j<<2;j=h>>>0>134217728?134217728:h;h=EPa(j<<2)|0;if(l){J0a(h|0,m|0,k[a+8>>2]<<2|0)|0;GPa(m);o=a+8|0}else{J0a(h|0,a|0,k[a+8>>2]<<2|0)|0;i[a+13>>0]=0;o=a+8|0}k[o>>2]=n;k[a>>2]=j;k[a+4>>2]=h}else k[a+8>>2]=n;i[a+12>>0]=0;return}n=g>>>0>134217728?134217728:g;h=i[a+13>>0]|0;j=k[a>>2]|0;o=h<<24>>24==0?j:2;if(n>>>0>o>>>0){m=o<<2>>>0>>0?n:o<<2;o=m>>>0>134217728?134217728:m;m=EPa(o<<2)|0;if(!(h<<24>>24)){l=k[a+4>>2]|0;J0a(m|0,l|0,k[a+8>>2]<<2|0)|0;GPa(l);p=a+4|0;q=a+8|0}else{J0a(m|0,a|0,k[a+8>>2]<<2|0)|0;i[a+13>>0]=0;p=a+4|0;q=a+8|0}k[q>>2]=n;k[a>>2]=o;k[p>>2]=m;r=o;s=i[a+13>>0]|0}else{k[a+8>>2]=n;r=j;s=h}h=(i[c+13>>0]|0)==0?k[c+4>>2]|0:c;c=s<<24>>24==0;j=k[a+4>>2]|0;n=c?j:a;o=d>>>0>>0?h:b;if(!f){t=o;u=0;v=0;w=n}else{m=((-8-((e>>>0>d>>>0?d:e)<<2^-4)|0)>>>2)+1|0;p=o;o=d>>>0>>0?b:h;h=0;b=0;e=n;while(1){x=p;d=o;q=k[d>>2]|0;l=G0a(k[x>>2]|0,0,h|0,b|0)|0;y=G0a(l|0,L|0,q|0,0)|0;z=L;k[e>>2]=y;e=e+4|0;if((e|0)==(n+(f<<2)|0))break;else{p=x+4|0;o=d+4|0;h=z;b=0}}t=x+4|0;u=z;v=0;w=n+(m<<2)|0}m=(u|0)==0&(v|0)==0;do if((w|0)==(n+(f<<2)+(g-f<<2)|0))if(m){A=s;B=j}else{C=u;D=26}else{z=t;x=u;b=v;h=m;o=w;while(1){E=z;if(h){F=z;G=o;break}p=G0a(k[E>>2]|0,0,x|0,b|0)|0;x=L;k[o>>2]=p;o=o+4|0;h=(x|0)==0&0==0;if((o|0)==(n+(f<<2)+(g-f<<2)|0)){D=24;break}else{z=E+4|0;b=0}}if((D|0)==24)if(h){A=s;B=j;break}else{C=x;D=26;break}if((E|0)==(G|0)){A=s;B=j}else{K0a(G|0,F|0,E+(n+(f<<2)+(g-f<<2)-G>>2<<2)-F|0)|0;A=i[a+13>>0]|0;B=k[a+4>>2]|0}}while(0);if((D|0)==26){D=(g+1|0)>>>0>134217728?134217728:g+1|0;F=c?r:2;if(D>>>0>F>>>0){r=F<<2>>>0>>0?D:F<<2;F=r>>>0>134217728?134217728:r;r=EPa(F<<2)|0;if(c){J0a(r|0,j|0,k[a+8>>2]<<2|0)|0;GPa(j);H=a+8|0}else{J0a(r|0,a|0,k[a+8>>2]<<2|0)|0;i[a+13>>0]=0;H=a+8|0}k[H>>2]=D;k[a>>2]=F;k[a+4>>2]=r;I=i[a+13>>0]|0;J=r}else{k[a+8>>2]=D;I=s;J=j}k[(I<<24>>24==0?J:a)+(g<<2)>>2]=C;A=I;B=J}J=A<<24>>24==0?B:a;B=(k[a+8>>2]|0)+-1|0;a:do if(B){A=B;do{if(k[J+(A<<2)>>2]|0)break a;k[a+8>>2]=A;A=A+-1|0}while((A|0)!=0)}while(0);i[a+12>>0]=0;return}function Pya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=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;d=k[b+32>>2]|0;e=k[c+8>>2]|0;f=d>>>0>>0?d:e;g=d>>>0>>0?e:d;if((g|0)==1){h=k[b>>2]|0;j=k[((i[c+13>>0]|0)==0?k[c+4>>2]|0:c)>>2]|0;l=(j>>>0>h>>>0?j:h)-(j>>>0>h>>>0?h:j)|0;m=i[a+13>>0]|0;do if(m<<24>>24==0&(k[a>>2]|0)==0){w=0;n=ya(665,4)|0;o=w;w=0;if(o&1){o=Ib(0)|0;Zc(o)}else{o=k[a+4>>2]|0;J0a(n|0,o|0,k[a+8>>2]<<2|0)|0;GPa(o);k[a+8>>2]=1;k[a>>2]=1;k[a+4>>2]=n;p=i[a+13>>0]|0;q=n;break}}else{k[a+8>>2]=1;p=m;q=k[a+4>>2]|0}while(0);m=p<<24>>24==0;k[(m?q:a)>>2]=l;i[a+12>>0]=j>>>0>h>>>0&1;if(j>>>0<=h>>>0)return;if(k[(m?q:a)>>2]|0)return;i[a+12>>0]=0;return}a:do if((d|0)==(e|0)){q=(i[c+13>>0]|0)==0?k[c+4>>2]|0:c;m=d;do{m=m+-1|0;if((m|0)<=-1){r=0;break a}s=k[b+(m<<2)>>2]|0;t=k[q+(m<<2)>>2]|0}while((s|0)==(t|0));r=s>>>0>t>>>0?1:-1}else r=d>>>0>e>>>0?1:-1;while(0);e=g>>>0>134217728?134217728:g;d=i[a+13>>0]|0;t=k[a>>2]|0;s=d<<24>>24==0?t:2;if(e>>>0>s>>>0){m=s<<2>>>0>>0?e:s<<2;s=m>>>0>134217728?134217728:m;m=EPa(s<<2)|0;if(!(d<<24>>24)){q=k[a+4>>2]|0;J0a(m|0,q|0,k[a+8>>2]<<2|0)|0;GPa(q);u=a+4|0;v=a+8|0}else{J0a(m|0,a|0,k[a+8>>2]<<2|0)|0;i[a+13>>0]=0;u=a+4|0;v=a+8|0}k[v>>2]=e;k[a>>2]=s;k[u>>2]=m;x=i[a+13>>0]|0;y=s}else{k[a+8>>2]=e;x=d;y=t}t=(i[c+13>>0]|0)==0?k[c+4>>2]|0:c;c=x<<24>>24==0;d=k[a+4>>2]|0;e=c?d:a;if((r|0)>=0)if(!r){do if(c&(y|0)==0){w=0;r=ya(665,4)|0;s=w;w=0;if(s&1){s=Ib(0)|0;Zc(s)}else{J0a(r|0,d|0,k[a+8>>2]<<2|0)|0;GPa(d);k[a+8>>2]=1;k[a>>2]=1;k[a+4>>2]=r;z=i[a+13>>0]|0;A=r;break}}else{k[a+8>>2]=1;z=x;A=d}while(0);k[(z<<24>>24==0?A:a)>>2]=0;i[a+12>>0]=0;return}else{B=b;C=t;D=0}else{B=t;C=b;D=1}if(f){b=B;t=C;C=0;A=0;z=0;while(1){y=E0a(k[b+(z<<2)>>2]|0,0,k[t+(z<<2)>>2]|0,0)|0;c=E0a(y|0,L|0,C|0,A|0)|0;k[e+(z<<2)>>2]=c;E=L&1;z=z+1|0;if(z>>>0>=f>>>0)break;else{C=E;A=0}}if(((E|0)!=0|0!=0)&g>>>0>f>>>0){A=B;C=E;E=0;z=f;while(1){t=E0a(k[A+(z<<2)>>2]|0,0,C|0,E|0)|0;k[e+(z<<2)>>2]=t;C=L&1;t=z+1|0;if(!(((C|0)!=0|0!=0)&g>>>0>t>>>0)){F=t;break}else{E=0;z=t}}}else F=f}else F=0;if((g|0)!=(F|0)?(f=B,(f|0)!=(e|0)):0){K0a(e+(F<<2)|0,f+(F<<2)|0,g-F<<2|0)|0;G=i[a+13>>0]|0;H=k[a+4>>2]|0}else{G=x;H=d}d=G<<24>>24==0?H:a;H=k[a+8>>2]|0;b:do if(!(H+-1|0))I=H;else{G=H+-1|0;x=H;while(1){if(k[d+(G<<2)>>2]|0){I=x;break b}k[a+8>>2]=G;F=G+-1|0;if(!F){I=G;break}else{g=G;G=F;x=g}}}while(0);i[a+12>>0]=0;if(!D)return;i[a+12>>0]=1;if((I|0)!=1)return;if(k[d>>2]|0)return;i[a+12>>0]=0;return}function Qya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;k[a+72>>2]=k[b+72>>2];j[a+72+4>>1]=j[b+72+4>>1]|0;k[a+80>>2]=k[b+80>>2];d=k[b+84>>2]|0;k[a+84>>2]=d;if(d)OSa(d);w=0;ua(1064,a+88|0,b+88|0);d=w;w=0;if(!(d&1)){d=k[b+100+4>>2]|0;k[a+100>>2]=k[b+100>>2];k[a+100+4>>2]=d;r=c;return}d=Ib()|0;b=L;e=k[a+84>>2]|0;if(e)QSa(e);e=k[a+52>>2]|0;if(e){f=k[a+56>>2]|0;if((f|0)==(e|0))g=e;else{h=f;do{f=h+-36|0;k[a+56>>2]=f;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+60|0,f);h=k[a+56>>2]|0}while((h|0)!=(e|0));g=k[a+52>>2]|0}GPa(g)}g=k[a+48>>2]|0;if(!g){l=b;m=d}else{QSa(g);l=b;m=d}}else{d=Ib()|0;b=L;g=k[a+48>>2]|0;if(g)QSa(g);l=b;m=d}d=k[a+16>>2]|0;if(d){b=k[a+20>>2]|0;if((b|0)==(d|0))n=d;else{l=b;do{b=l+-36|0;k[a+20>>2]=b;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,b);l=k[a+20>>2]|0}while((l|0)!=(d|0));n=k[a+16>>2]|0}GPa(n)}n=k[a+12>>2]|0;if(!n)Hb(m|0);QSa(n);Hb(m|0)}function Rya(a){a=a|0;k[a>>2]=38484;ila(a+4|0);return}function Sya(a){a=a|0;k[a>>2]=38484;ila(a+4|0);GPa(a);return}function Tya(a){a=a|0;var b=0;b=EPa(112)|0;k[b>>2]=38484;w=0;ua(1083,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function Uya(a,b){a=a|0;b=b|0;k[b>>2]=38484;aza(b+4|0,a+4|0);return}function Vya(a){a=a|0;ila(a+4|0);return}function Wya(a){a=a|0;ila(a+4|0);GPa(a);return}function Xya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;_ya(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function Yya(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==254797?a+4|0:0)|0}function Zya(a){a=a|0;return 9144}function _ya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;c=r;r=r+48|0;d=(Ska(b)|0)+4|0;e=ih(k[d>>2]|0)|0;if((k[e>>2]|0)==0?(k[e+32>>2]|0)==1:0){k[a>>2]=0;k[a+32>>2]=1;r=c;return}e=(Ska(b+36|0)|0)+4|0;d=ih(k[e>>2]|0)|0;k[c+16>>2]=0;e=c+16+8|0;k[e>>2]=1;i[c+16+12>>0]=0;f=c+16+13|0;i[f>>0]=1;g=k[d+32>>2]|0;h=g>>>0>134217728?134217728:g;if(h>>>0>2){g=h>>>0>8?h:8;j=EPa(g<<2)|0;k[j>>2]=k[c+16>>2];i[f>>0]=0;k[e>>2]=h;k[c+16>>2]=g;k[c+16+4>>2]=j;l=j}else{k[e>>2]=h;l=c+16|0}j=k[d+32>>2]|0;J0a(l|0,d|0,(h>>>0>>0?h:j)<<2|0)|0;i[c+16+12>>0]=0;if(!(i[f>>0]|0))m=k[c+16+4>>2]|0;else m=c+16|0;j=(k[e>>2]|0)+-1|0;a:do if(j){h=j;do{if(k[m+(h<<2)>>2]|0)break a;k[e>>2]=h;h=h+-1|0}while((h|0)!=0)}while(0);w=0;e=ya(749,b+72|0)|0;m=w;w=0;b:do if(!(m&1)?(w=0,j=ya(682,k[e+4>>2]|0)|0,h=w,w=0,!(h&1)):0){k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;h=k[j+32>>2]|0;d=h>>>0>134217728?134217728:h;do if(d>>>0>2){h=d>>>0>8?d:8;w=0;l=ya(665,h<<2|0)|0;g=w;w=0;if(g&1){g=Ib()|0;n=L;o=g;p=32;break b}else{k[l>>2]=k[c>>2];i[c+13>>0]=0;k[c+8>>2]=d;k[c>>2]=h;k[c+4>>2]=l;q=l;break}}else{k[c+8>>2]=d;q=c}while(0);l=k[j+32>>2]|0;J0a(q|0,j|0,(d>>>0>>0?d:l)<<2|0)|0;i[c+12>>0]=0;if(!(i[c+13>>0]|0))s=k[c+4>>2]|0;else s=c;l=(k[c+8>>2]|0)+-1|0;c:do if(l){h=l;do{if(k[s+(h<<2)>>2]|0)break c;k[c+8>>2]=h;h=h+-1|0}while((h|0)!=0)}while(0);w=0;l=ya(749,b|0)|0;d=w;w=0;if((!(d&1)?(w=0,d=ya(682,k[l+4>>2]|0)|0,l=w,w=0,!(l&1)):0)?(k[c+32>>2]=c+16,k[c+32+4>>2]=c,k[c+32+8>>2]=d,k[a>>2]=0,k[a+32>>2]=1,w=0,cb(431,a|0,c+32|0,c+44|0),d=w,w=0,!(d&1)):0){if(!(i[c+13>>0]|0))GPa(k[c+4>>2]|0);if(i[f>>0]|0){r=c;return}GPa(k[c+16+4>>2]|0);r=c;return}d=Ib()|0;l=L;if(!(i[c+13>>0]|0)){GPa(k[c+4>>2]|0);t=l;u=d}else{t=l;u=d}}else p=31;while(0);if((p|0)==31){a=Ib()|0;n=L;o=a;p=32}if((p|0)==32){t=n;u=o}if(i[f>>0]|0)Hb(u|0);GPa(k[c+16+4>>2]|0);Hb(u|0)}function $ya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=r;r=r+32|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[b>>2]|0;e=k[b+4>>2]|0;w=0;if((i[d+12>>0]|0)!=0^(i[e+12>>0]|0)!=0){vq(c,d,e);f=w;w=0;if(!(f&1))g=4}else{uq(c,d,e);e=w;w=0;if(!(e&1))g=4}if((g|0)==4?(k[c+16>>2]=k[b+8>>2],w=0,cb(430,c|0,c+16|0,c+20|0),b=w,w=0,!(b&1)):0){AN(a,c,c+16|0,c+20|0);if(i[c+13>>0]|0){r=c;return}GPa(k[c+4>>2]|0);r=c;return}a=Ib()|0;if(i[c+13>>0]|0)Hb(a|0);GPa(k[c+4>>2]|0);Hb(a|0)}function aza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;k[a+72>>2]=k[b+72>>2];j[a+72+4>>1]=j[b+72+4>>1]|0;k[a+80>>2]=k[b+80>>2];d=k[b+84>>2]|0;k[a+84>>2]=d;if(d)OSa(d);w=0;ua(1064,a+88|0,b+88|0);d=w;w=0;if(!(d&1)){d=k[b+100+4>>2]|0;k[a+100>>2]=k[b+100>>2];k[a+100+4>>2]=d;r=c;return}d=Ib()|0;b=L;e=k[a+84>>2]|0;if(e)QSa(e);e=k[a+52>>2]|0;if(e){f=k[a+56>>2]|0;if((f|0)==(e|0))g=e;else{h=f;do{f=h+-36|0;k[a+56>>2]=f;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+60|0,f);h=k[a+56>>2]|0}while((h|0)!=(e|0));g=k[a+52>>2]|0}GPa(g)}g=k[a+48>>2]|0;if(!g){l=b;m=d}else{QSa(g);l=b;m=d}}else{d=Ib()|0;b=L;g=k[a+48>>2]|0;if(g)QSa(g);l=b;m=d}d=k[a+16>>2]|0;if(d){b=k[a+20>>2]|0;if((b|0)==(d|0))n=d;else{l=b;do{b=l+-36|0;k[a+20>>2]=b;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,b);l=k[a+20>>2]|0}while((l|0)!=(d|0));n=k[a+16>>2]|0}GPa(n)}n=k[a+12>>2]|0;if(!n)Hb(m|0);QSa(n);Hb(m|0)}function bza(a){a=a|0;k[a>>2]=38440;jla(a+4|0);return}function cza(a){a=a|0;k[a>>2]=38440;jla(a+4|0);GPa(a);return}function dza(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38440;w=0;ua(1084,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function eza(a,b){a=a|0;b=b|0;k[b>>2]=38440;lza(b+4|0,a+4|0);return}function fza(a){a=a|0;jla(a+4|0);return}function gza(a){a=a|0;jla(a+4|0);GPa(a);return}function hza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;kza(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function iza(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==255134?a+4|0:0)|0}function jza(a){a=a|0;return 9168}function kza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;c=r;r=r+160|0;d=(Ska(b)|0)+4|0;e=ih(k[d>>2]|0)|0;if((k[e>>2]|0)>>>0>31?1:(k[e+32>>2]|0)>>>0>1){k[a>>2]=0;k[a+32>>2]=1;r=c;return}e=(Ska(b+36|0)|0)+4|0;d=ih(k[e>>2]|0)|0;e=(Ska(b)|0)+4|0;b=ih(k[e>>2]|0)|0;k[c+80>>2]=0;k[c+80+32>>2]=1;k[c+120>>2]=31;k[c+120+32>>2]=1;Zh(c+80|0,c+120|0,b);b=c;e=c+80|0;f=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));k[c+120>>2]=0;g=c+120+32|0;h=k[c+32>>2]|0;i=h>>>0>8?8:h;k[g>>2]=i;if((c+120|0)!=(c+120+(i<<2)|0)){h=0;j=0;l=c+120|0;m=c;while(1){n=I0a(k[m>>2]|0,0,3)|0;o=G0a(n|0,L|0,h|0,j|0)|0;p=L;k[l>>2]=o;l=l+4|0;if((l|0)==(c+120+(i<<2)|0))break;else{h=p;j=0;m=m+4|0}}if(!((p|0)==0&0==0)?(m=k[g>>2]|0,j=(m+1|0)>>>0>8?8:m+1|0,k[g>>2]=j,j>>>0>m>>>0):0)k[c+120+(m<<2)>>2]=p}p=(k[g>>2]|0)+-1|0;a:do if(p){m=p;do{if(k[c+120+(m<<2)>>2]|0)break a;k[g>>2]=m;m=m+-1|0}while((m|0)!=0)}while(0);g=k[c+120>>2]|0;b=c+120|0;e=d;f=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));do if(g){d=k[c+120+32>>2]|0;if(d>>>0<=g>>>5>>>0){k[c+120+32>>2]=1;k[c+120>>2]=0;break}p=((((k[c+120+(d+-1<<2)>>2]|0)>>>(g&31)|0)==0)<<31>>31)+(d-(g>>>5))|0;if(!p){k[c+120+32>>2]=1;k[c+120>>2]=0;break}if(g&31){m=(k[c+120+(g>>>5<<2)>>2]|0)>>>(g&31);k[c+120>>2]=m;if(((g>>>5)+1|0)>>>0>>0){j=(g>>>5)+1|0;h=m;m=c+120|0;i=0;while(1){k[m>>2]=k[c+120+(j<<2)>>2]<<32-(g&31)|h;i=i+1|0;l=i+(g>>>5)|0;h=(k[c+120+(l<<2)>>2]|0)>>>(g&31);m=c+120+(i<<2)|0;k[m>>2]=h;if((i|0)==(d+-1-(g>>>5)|0))break;else j=l+1|0}}}else{j=0;do{k[c+120+(j<<2)>>2]=k[c+120+(j+(g>>>5)<<2)>>2];j=j+1|0}while((j|0)!=(p|0))}k[c+120+32>>2]=p>>>0>8?8:p}while(0);b=c+40|0;e=c+120|0;f=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));k[c+80>>2]=0;k[c+80+32>>2]=1;k[c+120>>2]=255;k[c+120+32>>2]=1;Jja(c+80|0,c+40|0,c+120|0);b=a;e=c+80|0;f=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(f|0));r=c;return}function lza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function mza(a){a=a|0;k[a>>2]=38396;kla(a+4|0);return}function nza(a){a=a|0;k[a>>2]=38396;kla(a+4|0);GPa(a);return}function oza(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38396;w=0;ua(1085,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function pza(a,b){a=a|0;b=b|0;k[b>>2]=38396;vza(b+4|0,a+4|0);return}function qza(a){a=a|0;kla(a+4|0);return}function rza(a){a=a|0;kla(a+4|0);GPa(a);return}function sza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;k[c+40+32>>2]=1;Ula(c+40|0,e,b);b=c;e=c+40|0;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;b=f+16|0;e=c;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function tza(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==255471?a+4|0:0)|0}function uza(a){a=a|0;return 9192}function vza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function wza(a){a=a|0;k[a>>2]=38352;lla(a+4|0);return}function xza(a){a=a|0;k[a>>2]=38352;lla(a+4|0);GPa(a);return}function yza(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38352;w=0;ua(1086,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function zza(a,b){a=a|0;b=b|0;k[b>>2]=38352;Fza(b+4|0,a+4|0);return}function Aza(a){a=a|0;lla(a+4|0);return}function Bza(a){a=a|0;lla(a+4|0);GPa(a);return}function Cza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;k[c+40+32>>2]=1;W5(c+40|0,e,b);b=c;e=c+40|0;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;b=f+16|0;e=c;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function Dza(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==255808?a+4|0:0)|0}function Eza(a){a=a|0;return 9216}function Fza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function Gza(a){a=a|0;k[a>>2]=38308;mla(a+4|0);return}function Hza(a){a=a|0;k[a>>2]=38308;mla(a+4|0);GPa(a);return}function Iza(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38308;w=0;ua(1087,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function Jza(a,b){a=a|0;b=b|0;k[b>>2]=38308;Pza(b+4|0,a+4|0);return}function Kza(a){a=a|0;mla(a+4|0);return}function Lza(a){a=a|0;mla(a+4|0);GPa(a);return}function Mza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;k[c+40+32>>2]=1;Jja(c+40|0,e,b);b=c;e=c+40|0;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;b=f+16|0;e=c;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function Nza(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==256145?a+4|0:0)|0}function Oza(a){a=a|0;return 9240}function Pza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function Qza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;k[a>>2]=38264;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){r=b;return}QSa(e);r=b;return}function Rza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;k[a>>2]=38264;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){GPa(a);r=b;return}QSa(e);GPa(a);r=b;return}function Sza(a){a=a|0;var b=0,c=0;b=EPa(40)|0;k[b>>2]=38264;k[b+4>>2]=k[a+4>>2];j[b+4+4>>1]=j[a+4+4>>1]|0;k[b+12>>2]=k[a+12>>2];c=k[a+16>>2]|0;k[b+16>>2]=c;if(c)OSa(c);w=0;ua(1064,b+20|0,a+20|0);c=w;w=0;if(!(c&1)){c=k[a+32+4>>2]|0;k[b+32>>2]=k[a+32>>2];k[b+32+4>>2]=c;return b|0}c=Ib()|0;a=k[b+16>>2]|0;if(!a){GPa(b);Hb(c|0)}QSa(a);GPa(b);Hb(c|0);return 0}function Tza(a,b){a=a|0;b=b|0;var c=0;k[b>>2]=38264;k[b+4>>2]=k[a+4>>2];j[b+4+4>>1]=j[a+4+4>>1]|0;k[b+12>>2]=k[a+12>>2];c=k[a+16>>2]|0;k[b+16>>2]=c;if(c)OSa(c);w=0;ua(1064,b+20|0,a+20|0);c=w;w=0;if(!(c&1)){c=k[a+32+4>>2]|0;k[b+32>>2]=k[a+32>>2];k[b+32+4>>2]=c;return}c=Ib()|0;a=k[b+16>>2]|0;if(!a)Hb(c|0);QSa(a);Hb(c|0)}function Uza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){r=b;return}QSa(e);r=b;return}function Vza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){GPa(a);r=b;return}QSa(e);GPa(a);r=b;return}function Wza(a,b){a=a|0;b=b|0;var c=0;c=(Ska(b+4|0)|0)+4|0;b=ih(k[c>>2]|0)|0;c=((k[b>>2]|0)==0?(k[b+32>>2]|0)==1:0)&1;k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;k[b+16>>2]=c;k[b+48>>2]=1;k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;return}function Xza(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==256482?a+4|0:0)|0}function Yza(a){a=a|0;return 9264}function Zza(a){a=a|0;k[a>>2]=38220;dla(a+4|0);return}function _za(a){a=a|0;k[a>>2]=38220;dla(a+4|0);GPa(a);return}function $za(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38220;w=0;ua(1088,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function aAa(a,b){a=a|0;b=b|0;k[b>>2]=38220;gAa(b+4|0,a+4|0);return}function bAa(a){a=a|0;dla(a+4|0);return}function cAa(a){a=a|0;dla(a+4|0);GPa(a);return}function dAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+32|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;d=k[e+32>>2]|0;a:do if((d|0)==(k[b+32>>2]|0))if((e|0)==(e+(d<<2)|0))f=1;else{g=e;h=b;while(1){if((k[g>>2]|0)!=(k[h>>2]|0)){f=0;break a}g=g+4|0;if((g|0)==(e+(d<<2)|0)){f=1;break}else h=h+4|0}}else f=0;while(0);k[a>>2]=2;i[a+4>>0]=1;d=EPa(56)|0;k[d+4>>2]=0;k[d+8>>2]=0;k[d>>2]=15180;k[d+16>>2]=f;k[d+20>>2]=k[c>>2];k[d+20+4>>2]=k[c+4>>2];k[d+20+8>>2]=k[c+8>>2];k[d+20+12>>2]=k[c+12>>2];k[d+20+16>>2]=k[c+16>>2];k[d+20+20>>2]=k[c+20>>2];k[d+20+24>>2]=k[c+24>>2];k[d+48>>2]=1;k[a+8>>2]=d+16;k[a+12>>2]=d;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function eAa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==256819?a+4|0:0)|0}function fAa(a){a=a|0;return 9288}function gAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function hAa(a){a=a|0;k[a>>2]=38176;nla(a+4|0);return}function iAa(a){a=a|0;k[a>>2]=38176;nla(a+4|0);GPa(a);return}function jAa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38176;w=0;ua(1089,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function kAa(a,b){a=a|0;b=b|0;k[b>>2]=38176;tAa(b+4|0,a+4|0);return}function lAa(a){a=a|0;nla(a+4|0);return}function mAa(a){a=a|0;nla(a+4|0);GPa(a);return}function nAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;qAa(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function oAa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==257156?a+4|0:0)|0}function pAa(a){a=a|0;return 9312}function qAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0;c=r;r=r+160|0;d=(Ska(b)|0)+4|0;e=c+80|0;f=ih(k[d>>2]|0)|0;d=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(d|0));rAa(c+120|0,c+80|0);g=(Ska(b+36|0)|0)+4|0;e=c;f=ih(k[g>>2]|0)|0;d=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(d|0));rAa(c+40|0,c);f=(i[c+120+34>>0]|0)!=0;if(f^(i[c+40+34>>0]|0)!=0){h=f?-1:1;l=(h|0)>0;m=l&1;k[a>>2]=m;n=a+32|0;k[n>>2]=1;r=c;return}e=j[c+120+32>>1]|0;d=j[c+40+32>>1]|0;a:do if(e<<16>>16==d<<16>>16){g=e&65535;do{if((g|0)<=0){o=0;break a}g=g+-1|0;p=k[c+120+(g<<2)>>2]|0;q=k[c+40+(g<<2)>>2]|0}while((p|0)==(q|0));o=p>>>0>q>>>0?1:-1}else o=(e&65535)>(d&65535)?1:-1;while(0);h=f?0-o|0:o;l=(h|0)>0;m=l&1;k[a>>2]=m;n=a+32|0;k[n>>2]=1;r=c;return}function rAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+48|0;do if((i[9320]|0)==0?(qb(9320)|0)!=0:0){k[c>>2]=1;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;k[c+24>>2]=256;k[c+32>>2]=c;k[c+32+4>>2]=c+24;k[2332]=0;k[2334]=1;i[9340]=0;i[9341]=1;w=0;cb(228,9328,c+32|0,c+40|0);d=w;w=0;if(!(d&1)){if(!(i[c+13>>0]|0))GPa(k[c+4>>2]|0);yb(9320);break}d=Ib()|0;if(!(i[9341]|0))GPa(k[2333]|0);if(i[c+13>>0]|0){bc(9320);Hb(d|0)}GPa(k[c+4>>2]|0);bc(9320);Hb(d|0)}while(0);d=k[b+32>>2]|0;if(d>>>0>7?(k[b+28>>2]|0)<0:0){k[c+16>>2]=9328;k[c+16+4>>2]=b;k[a>>2]=0;j[a+32>>1]=1;i[a+34>>0]=0;sAa(a,c+16|0,c+40|0);r=c;return}k[a>>2]=0;e=d>>>0>8?8:d;j[a+32>>1]=e;J0a(a|0,b|0,((e&65535)>>>0>>0?e&65535:d)<<2|0)|0;i[a+34>>0]=0;d=j[a+32>>1]|0;a:do if(!((d&65535)+-1|0))f=d;else{e=(d&65535)+-1|0;b=d;while(1){if(k[a+(e<<2)>>2]|0){f=b;break a}g=b+-1<<16>>16;j[a+32>>1]=g;e=(g&65535)+-1|0;if(!e){f=g;break}else b=g}}while(0);if(f<<16>>16!=1){r=c;return}if(k[a>>2]|0){r=c;return}i[a+34>>0]=0;r=c;return}function sAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0;c=r;r=r+16|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[b>>2]|0;e=k[b+4>>2]|0;w=0;if(!(i[d+12>>0]|0)){BN(c,d,e);b=w;w=0;if(b&1)f=9}else{CN(c,d,e);e=w;w=0;if(e&1)f=9}if((f|0)==9){f=Ib()|0;if(i[c+13>>0]|0)Hb(f|0);GPa(k[c+4>>2]|0);Hb(f|0)}f=j[c+12>>1]|0;i[c+12>>0]=f&255^1;e=k[c+8>>2]|0;if((f&255)<<24>>24!=1&(e|0)==1){if(!(((f&65535)>>>8&255)<<24>>24))g=k[c+4>>2]|0;else g=c;if(!(k[g>>2]|0)){i[c+12>>0]=0;h=0}else h=f&255^1}else h=f&255^1;g=e>>>0>8?8:e;j[a+32>>1]=g;d=k[c+4>>2]|0;J0a(a|0,(((f&65535)>>>8&255)<<24>>24==0?d:c)|0,((g&65535)>>>0>>0?g&65535:e)<<2|0)|0;i[a+34>>0]=h;e=j[a+32>>1]|0;if(h<<24>>24!=0&e<<16>>16==1)if(!(k[a>>2]|0)){i[a+34>>0]=0;l=1}else l=1;else l=e;e=(l&65535)+-1|0;a:do if(!e)m=l;else{h=e;g=l;while(1){if(k[a+(h<<2)>>2]|0){m=g;break a}b=g+-1<<16>>16;j[a+32>>1]=b;h=(b&65535)+-1|0;if(!h){m=b;break}else g=b}}while(0);if(m<<16>>16==1?(k[a>>2]|0)==0:0)i[a+34>>0]=0;if(((f&65535)>>>8&255)<<24>>24){r=c;return}GPa(d);r=c;return}function tAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function uAa(a){a=a|0;k[a>>2]=38132;ola(a+4|0);return}function vAa(a){a=a|0;k[a>>2]=38132;ola(a+4|0);GPa(a);return}function wAa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38132;w=0;ua(1090,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function xAa(a,b){a=a|0;b=b|0;k[b>>2]=38132;EAa(b+4|0,a+4|0);return}function yAa(a){a=a|0;ola(a+4|0);return}function zAa(a){a=a|0;ola(a+4|0);GPa(a);return}function AAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;DAa(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function BAa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==257493?a+4|0:0)|0}function CAa(a){a=a|0;return 9360}function DAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;c=r;r=r+160|0;d=(Ska(b)|0)+4|0;e=c+80|0;f=ih(k[d>>2]|0)|0;d=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(d|0));rAa(c+120|0,c+80|0);g=(Ska(b+36|0)|0)+4|0;e=c;f=ih(k[g>>2]|0)|0;d=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(d|0));rAa(c+40|0,c);f=(i[c+120+34>>0]|0)!=0;if(f^(i[c+40+34>>0]|0)!=0){h=f?-1:1;l=h>>>31;k[a>>2]=l;m=a+32|0;k[m>>2]=1;r=c;return}e=j[c+120+32>>1]|0;d=j[c+40+32>>1]|0;a:do if(e<<16>>16==d<<16>>16){g=e&65535;do{if((g|0)<=0){n=0;break a}g=g+-1|0;o=k[c+120+(g<<2)>>2]|0;p=k[c+40+(g<<2)>>2]|0}while((o|0)==(p|0));n=o>>>0>p>>>0?1:-1}else n=(e&65535)>(d&65535)?1:-1;while(0);h=f?0-n|0:n;l=h>>>31;k[a>>2]=l;m=a+32|0;k[m>>2]=1;r=c;return}function EAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function FAa(a){a=a|0;k[a>>2]=38088;pla(a+4|0);return}function GAa(a){a=a|0;k[a>>2]=38088;pla(a+4|0);GPa(a);return}function HAa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38088;w=0;ua(1091,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function IAa(a,b){a=a|0;b=b|0;k[b>>2]=38088;OAa(b+4|0,a+4|0);return}function JAa(a){a=a|0;pla(a+4|0);return}function KAa(a){a=a|0;pla(a+4|0);GPa(a);return}function LAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=r;r=r+32|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;d=k[e+32>>2]|0;f=k[b+32>>2]|0;a:do if((d|0)==(f|0)){g=d;do{g=g+-1|0;if((g|0)<=-1){h=0;break a}j=k[e+(g<<2)>>2]|0;l=k[b+(g<<2)>>2]|0}while((j|0)==(l|0));h=j>>>0>l>>>0?1:-1}else h=d>>>0>f>>>0?1:-1;while(0);k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;k[f+16>>2]=(h|0)>0&1;k[f+20>>2]=k[c>>2];k[f+20+4>>2]=k[c+4>>2];k[f+20+8>>2]=k[c+8>>2];k[f+20+12>>2]=k[c+12>>2];k[f+20+16>>2]=k[c+16>>2];k[f+20+20>>2]=k[c+20>>2];k[f+20+24>>2]=k[c+24>>2];k[f+48>>2]=1;k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function MAa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==257830?a+4|0:0)|0}function NAa(a){a=a|0;return 9384}function OAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function PAa(a){a=a|0;k[a>>2]=38044;qla(a+4|0);return}function QAa(a){a=a|0;k[a>>2]=38044;qla(a+4|0);GPa(a);return}function RAa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=38044;w=0;ua(1092,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function SAa(a,b){a=a|0;b=b|0;k[b>>2]=38044;YAa(b+4|0,a+4|0);return}function TAa(a){a=a|0;qla(a+4|0);return}function UAa(a){a=a|0;qla(a+4|0);GPa(a);return}function VAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=r;r=r+32|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;d=k[e+32>>2]|0;f=k[b+32>>2]|0;a:do if((d|0)==(f|0)){g=d;do{g=g+-1|0;if((g|0)<=-1){h=0;break a}j=k[e+(g<<2)>>2]|0;l=k[b+(g<<2)>>2]|0}while((j|0)==(l|0));h=j>>>0<=l>>>0&1}else h=d>>>0<=f>>>0&1;while(0);k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;k[f+16>>2]=h;k[f+20>>2]=k[c>>2];k[f+20+4>>2]=k[c+4>>2];k[f+20+8>>2]=k[c+8>>2];k[f+20+12>>2]=k[c+12>>2];k[f+20+16>>2]=k[c+16>>2];k[f+20+20>>2]=k[c+20>>2];k[f+20+24>>2]=k[c+24>>2];k[f+48>>2]=1;k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function WAa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==258165?a+4|0:0)|0}function XAa(a){a=a|0;return 9408}function YAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function ZAa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;k[a>>2]=38e3;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){r=b;return}QSa(e);r=b;return}function _Aa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;k[a>>2]=38e3;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){GPa(a);r=b;return}QSa(e);GPa(a);r=b;return}function $Aa(a){a=a|0;var b=0,c=0;b=EPa(40)|0;k[b>>2]=38e3;k[b+4>>2]=k[a+4>>2];j[b+4+4>>1]=j[a+4+4>>1]|0;k[b+12>>2]=k[a+12>>2];c=k[a+16>>2]|0;k[b+16>>2]=c;if(c)OSa(c);w=0;ua(1064,b+20|0,a+20|0);c=w;w=0;if(!(c&1)){c=k[a+32+4>>2]|0;k[b+32>>2]=k[a+32>>2];k[b+32+4>>2]=c;return b|0}c=Ib()|0;a=k[b+16>>2]|0;if(!a){GPa(b);Hb(c|0)}QSa(a);GPa(b);Hb(c|0);return 0}function aBa(a,b){a=a|0;b=b|0;var c=0;k[b>>2]=38e3;k[b+4>>2]=k[a+4>>2];j[b+4+4>>1]=j[a+4+4>>1]|0;k[b+12>>2]=k[a+12>>2];c=k[a+16>>2]|0;k[b+16>>2]=c;if(c)OSa(c);w=0;ua(1064,b+20|0,a+20|0);c=w;w=0;if(!(c&1)){c=k[a+32+4>>2]|0;k[b+32>>2]=k[a+32>>2];k[b+32+4>>2]=c;return}c=Ib()|0;a=k[b+16>>2]|0;if(!a)Hb(c|0);QSa(a);Hb(c|0)}function bBa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){r=b;return}QSa(e);r=b;return}function cBa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+16|0;c=k[a+20>>2]|0;if(c){d=k[a+24>>2]|0;if((d|0)==(c|0))e=c;else{f=d;do{d=f+-36|0;k[a+24>>2]=d;i[b+1>>0]=i[b>>0]|0;_ka(b+1|0,a+28|0,d);f=k[a+24>>2]|0}while((f|0)!=(c|0));e=k[a+20>>2]|0}GPa(e)}e=k[a+16>>2]|0;if(!e){GPa(a);r=b;return}QSa(e);GPa(a);r=b;return}function dBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;d=k[b+32>>2]|0;k[c+40+32>>2]=8;if(!d)e=8;else{f=0;do{k[c+40+(f<<2)>>2]=~k[b+(f<<2)>>2];f=f+1|0}while((f|0)!=(d|0));e=k[c+40+32>>2]|0}if(d>>>0>>0){f=d;do{k[c+40+(f<<2)>>2]=-1;f=f+1|0;d=k[c+40+32>>2]|0}while(f>>>0>>0);g=d}else g=e;e=g+-1|0;a:do if(e){g=e;do{if(k[c+40+(g<<2)>>2]|0)break a;k[c+40+32>>2]=g;g=g+-1|0}while((g|0)!=0)}while(0);e=c;g=c+40|0;f=e+40|0;do{k[e>>2]=k[g>>2];e=e+4|0;g=g+4|0}while((e|0)<(f|0));k[a>>2]=2;i[a+4>>0]=1;d=EPa(56)|0;k[d+4>>2]=0;k[d+8>>2]=0;k[d>>2]=15180;e=d+16|0;g=c;f=e+40|0;do{k[e>>2]=k[g>>2];e=e+4|0;g=g+4|0}while((e|0)<(f|0));k[a+8>>2]=d+16;k[a+12>>2]=d;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function eBa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==258500?a+4|0:0)|0}function fBa(a){a=a|0;return 9432}function gBa(a){a=a|0;k[a>>2]=37956;ela(a+4|0);return}function hBa(a){a=a|0;k[a>>2]=37956;ela(a+4|0);GPa(a);return}function iBa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37956;w=0;ua(1093,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function jBa(a,b){a=a|0;b=b|0;k[b>>2]=37956;tBa(b+4|0,a+4|0);return}function kBa(a){a=a|0;ela(a+4|0);return}function lBa(a){a=a|0;ela(a+4|0);GPa(a);return}function mBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;pBa(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function nBa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==258835?a+4|0:0)|0}function oBa(a){a=a|0;return 9456}function pBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;c=r;r=r+80|0;d=(Ska(b)|0)+4|0;e=ih(k[d>>2]|0)|0;k[c+32>>2]=0;d=c+32+8|0;k[d>>2]=1;i[c+32+12>>0]=0;f=c+32+13|0;i[f>>0]=1;g=k[e+32>>2]|0;h=g>>>0>134217728?134217728:g;if(h>>>0>2){g=h>>>0>8?h:8;j=EPa(g<<2)|0;k[j>>2]=k[c+32>>2];i[f>>0]=0;k[d>>2]=h;k[c+32>>2]=g;k[c+32+4>>2]=j;l=j}else{k[d>>2]=h;l=c+32|0}j=k[e+32>>2]|0;J0a(l|0,e|0,(h>>>0>>0?h:j)<<2|0)|0;i[c+32+12>>0]=0;if(!(i[f>>0]|0))m=k[c+32+4>>2]|0;else m=c+32|0;j=(k[d>>2]|0)+-1|0;a:do if(j){h=j;do{if(k[m+(h<<2)>>2]|0)break a;k[d>>2]=h;h=h+-1|0}while((h|0)!=0)}while(0);w=0;d=ya(749,b+36|0)|0;b=w;w=0;b:do if(!(b&1)?(w=0,m=ya(682,k[d+4>>2]|0)|0,j=w,w=0,!(j&1)):0){k[c+16>>2]=0;j=c+16+8|0;k[j>>2]=1;i[c+16+12>>0]=0;h=c+16+13|0;i[h>>0]=1;e=k[m+32>>2]|0;l=e>>>0>134217728?134217728:e;do if(l>>>0>2){e=l>>>0>8?l:8;w=0;g=ya(665,e<<2|0)|0;n=w;w=0;if(n&1){n=Ib()|0;o=L;p=n;q=30;break b}else{k[g>>2]=k[c+16>>2];i[h>>0]=0;k[j>>2]=l;k[c+16>>2]=e;k[c+16+4>>2]=g;s=g;break}}else{k[j>>2]=l;s=c+16|0}while(0);g=k[m+32>>2]|0;J0a(s|0,m|0,(l>>>0>>0?l:g)<<2|0)|0;i[c+16+12>>0]=0;if(!(i[h>>0]|0))t=k[c+16+4>>2]|0;else t=c+16|0;g=(k[j>>2]|0)+-1|0;c:do if(g){e=g;do{if(k[t+(e<<2)>>2]|0)break c;k[j>>2]=e;e=e+-1|0}while((e|0)!=0)}while(0);k[c>>2]=1;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;k[c+48>>2]=256;k[c+52>>2]=c+72;k[c+52+4>>2]=c+32;k[c+52+8>>2]=c+16;k[c+52+12>>2]=c;k[c+52+16>>2]=c+48;k[a>>2]=0;k[a+32>>2]=1;w=0;Sa(680,a|0,c+52|0)|0;j=w;w=0;if(j&1){j=Ib()|0;g=L;if(!(i[c+13>>0]|0))GPa(k[c+4>>2]|0);if(i[h>>0]|0){u=g;v=j;break}GPa(k[c+16+4>>2]|0);u=g;v=j;break}if(!(i[c+13>>0]|0))GPa(k[c+4>>2]|0);if(!(i[h>>0]|0))GPa(k[c+16+4>>2]|0);if(i[f>>0]|0){r=c;return}GPa(k[c+32+4>>2]|0);r=c;return}else q=29;while(0);if((q|0)==29){a=Ib()|0;o=L;p=a;q=30}if((q|0)==30){u=o;v=p}if(i[f>>0]|0)Hb(v|0);GPa(k[c+32+4>>2]|0);Hb(v|0)}function qBa(a,b){a=a|0;b=b|0;var c=0;c=r;r=r+32|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;w=0;Ka(67,c|0,k[b>>2]|0,k[b+4>>2]|0,k[b+8>>2]|0,b+12|0,c+17|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[c+13>>0]|0)Hb(b|0);GPa(k[c+4>>2]|0);Hb(b|0)}else{AN(a,c,c+17|0,c+16|0);if(i[c+13>>0]|0){r=c;return a|0}GPa(k[c+4>>2]|0);r=c;return a|0}return 0}function rBa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=r;r=r+32|0;k[f>>2]=0;k[f+8>>2]=1;i[f+12>>0]=0;i[f+13>>0]=1;w=0;cb(228,f|0,e|0,f+16|0);e=w;w=0;if(e&1){e=Ib()|0;if(i[f+13>>0]|0)Hb(e|0);GPa(k[f+4>>2]|0);Hb(e|0)}w=0;kb(199,a|0,c|0,d|0,f|0);d=w;w=0;if(d&1){d=Ib()|0;if(i[f+13>>0]|0)Hb(d|0);GPa(k[f+4>>2]|0);Hb(d|0)}else{if(i[f+13>>0]|0){r=f;return}GPa(k[f+4>>2]|0);r=f;return}}function sBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;e=r;r=r+80|0;f=k[c+8>>2]|0;if(!((f|0)==1?(k[((i[c+13>>0]|0)==0?k[c+4>>2]|0:c)>>2]|0)==0:0))g=3;if((g|0)==3?(i[c+12>>0]|0)!=0:0){XSa(e+64|0,258982);w=0;kb(86,e+64|0,259017,259332,281);w=0;h=Ib()|0;VPa(e+64|0);Hb(h|0)}k[e+64>>2]=0;k[e+64+8>>2]=1;h=e+64+12|0;i[h>>0]=0;l=e+64+13|0;i[l>>0]=1;k[e+48>>2]=0;k[e+48+8>>2]=0;m=e+48+13|0;i[m>>0]=1;n=k[b+8>>2]|0;o=n>>>0>134217728?134217728:n;do if(o>>>0>2){p=o>>>0>8?o:8;w=0;q=ya(665,p<<2|0)|0;s=w;w=0;if(s&1){s=Ib()|0;t=L;u=s;break}else{i[m>>0]=0;k[e+48+8>>2]=o;k[e+48>>2]=p;k[e+48+4>>2]=q;v=q;g=9;break}}else{k[e+48+8>>2]=o;v=e+48|0;g=9}while(0);if((g|0)==9){J0a(v|0,((i[b+13>>0]|0)==0?k[b+4>>2]|0:b)|0,n<<2|0)|0;i[e+48+12>>0]=i[b+12>>0]|0;k[e+32>>2]=0;k[e+32+8>>2]=0;i[e+32+13>>0]=1;b=f>>>0>134217728?134217728:f;do if(b>>>0>2){n=b>>>0>8?b:8;w=0;v=ya(665,n<<2|0)|0;o=w;w=0;if(o&1){o=Ib()|0;x=L;y=o;break}else{i[e+32+13>>0]=0;k[e+32+8>>2]=b;k[e+32>>2]=n;k[e+32+4>>2]=v;z=v;g=13;break}}else{k[e+32+8>>2]=b;z=e+32|0;g=13}while(0);if((g|0)==13){J0a(z|0,((i[c+13>>0]|0)==0?k[c+4>>2]|0:c)|0,f<<2|0)|0;i[e+32+12>>0]=i[c+12>>0]|0;k[e+16>>2]=0;k[e+16+8>>2]=1;i[e+16+12>>0]=0;i[e+16+13>>0]=1;k[e+64+8>>2]=1;k[e+64>>2]=1;i[h>>0]=0;while(1){c=k[e+32+8>>2]|0;if((c|0)==1){f=j[e+32+12>>1]|0;if((f&255)<<24>>24==0?(k[((i[e+32+13>>0]|0)==0?k[e+32+4>>2]|0:e+32|0)>>2]|0)!=0:0){A=(f&65535)>>>8&255;g=18}else{B=(f&65535)>>>8&255;g=35;break}}else{f=j[e+32+12>>1]|0;if((f&255)<<24>>24){B=(f&65535)>>>8&255;g=35;break}if(c){A=(f&65535)>>>8&255;g=18}}if((g|0)==18?(g=0,(k[(A<<24>>24==0?k[e+32+4>>2]|0:e+32|0)>>2]&1|0)!=0):0){w=0;cb(229,e+16|0,e+64|0,e+48|0);f=w;w=0;if(f&1){g=26;break}f=i[e+16+12>>0]|0;w=0;kb(116,0,e+16|0,d|0,e+64|0);c=w;w=0;if(c&1){g=26;break}i[h>>0]=f;if((f<<24>>24!=0?(k[e+64+8>>2]|0)==1:0)?(k[((i[l>>0]|0)==0?k[e+64+4>>2]|0:e+64|0)>>2]|0)==0:0)i[h>>0]=0}w=0;cb(229,e+16|0,e+48|0,e+48|0);f=w;w=0;if(f&1){g=26;break}f=i[e+16+12>>0]|0;w=0;kb(116,0,e+16|0,d|0,e+48|0);c=w;w=0;if(c&1){g=26;break}i[e+48+12>>0]=f;if((f<<24>>24!=0?(k[e+48+8>>2]|0)==1:0)?(k[((i[m>>0]|0)==0?k[e+48+4>>2]|0:e+48|0)>>2]|0)==0:0)i[e+48+12>>0]=0;w=0;cb(210,e+32|0,1,0);f=w;w=0;if(f&1){g=26;break}}a:do if((g|0)==26){A=Ib()|0;C=A;D=L;g=28}else if((g|0)==35){k[e>>2]=0;k[e+8>>2]=0;i[e+13>>0]=1;A=k[e+64+8>>2]|0;f=A>>>0>134217728?134217728:A;do if(f>>>0>2){c=f>>>0>8?f:8;w=0;z=ya(665,c<<2|0)|0;b=w;w=0;if(b&1){b=Ib()|0;C=b;D=L;g=28;break a}else{i[e+13>>0]=0;k[e+8>>2]=f;k[e>>2]=c;k[e+4>>2]=z;E=z;break}}else{k[e+8>>2]=f;E=e}while(0);J0a(E|0,((i[l>>0]|0)==0?k[e+64+4>>2]|0:e+64|0)|0,A<<2|0)|0;f=i[h>>0]|0;i[e+12>>0]=f;w=0;kb(116,0,e|0,d|0,a|0);z=w;w=0;if(z&1){z=Ib()|0;c=L;if(i[e+13>>0]|0){F=c;G=z;break}GPa(k[e+4>>2]|0);F=c;G=z;break}i[a+12>>0]=f;if((f<<24>>24!=0?(k[a+8>>2]|0)==1:0)?(k[((i[a+13>>0]|0)==0?k[a+4>>2]|0:a)>>2]|0)==0:0)i[a+12>>0]=0;if(!(i[e+13>>0]|0))GPa(k[e+4>>2]|0);if(!(i[e+16+13>>0]|0))GPa(k[e+16+4>>2]|0);if(!(B<<24>>24))GPa(k[e+32+4>>2]|0);if(!(i[m>>0]|0))GPa(k[e+48+4>>2]|0);if(i[l>>0]|0){r=e;return}GPa(k[e+64+4>>2]|0);r=e;return}while(0);if((g|0)==28){F=D;G=C}if(!(i[e+16+13>>0]|0))GPa(k[e+16+4>>2]|0);if(!(i[e+32+13>>0]|0)){GPa(k[e+32+4>>2]|0);x=F;y=G}else{x=F;y=G}}if(!(i[m>>0]|0)){GPa(k[e+48+4>>2]|0);t=x;u=y}else{t=x;u=y}}if(i[l>>0]|0)Hb(u|0);GPa(k[e+64+4>>2]|0);Hb(u|0)}function tBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function uBa(a){a=a|0;k[a>>2]=37912;rla(a+4|0);return}function vBa(a){a=a|0;k[a>>2]=37912;rla(a+4|0);GPa(a);return}function wBa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37912;w=0;ua(1094,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function xBa(a,b){a=a|0;b=b|0;k[b>>2]=37912;HBa(b+4|0,a+4|0);return}function yBa(a){a=a|0;rla(a+4|0);return}function zBa(a){a=a|0;rla(a+4|0);GPa(a);return}function ABa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;DBa(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function BBa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==259591?a+4|0:0)|0}function CBa(a){a=a|0;return 9480}function DBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+208|0;d=(Ska(b)|0)+4|0;e=ih(k[d>>2]|0)|0;if((k[e>>2]|0)==0?(k[e+32>>2]|0)==1:0){k[a>>2]=0;k[a+32>>2]=1;r=c;return}else{e=(Ska(b+36|0)|0)+4|0;d=c+80|0;f=ih(k[e>>2]|0)|0;e=d+40|0;do{k[d>>2]=k[f>>2];d=d+4|0;f=f+4|0}while((d|0)<(e|0));rAa(c+120|0,c+80|0);g=(Ska(b)|0)+4|0;d=c;f=ih(k[g>>2]|0)|0;e=d+40|0;do{k[d>>2]=k[f>>2];d=d+4|0;f=f+4|0}while((d|0)<(e|0));rAa(c+40|0,c);EBa(c+160|0,c+120|0,c+40|0);lO(a,c+160|0);r=c;return}}function EBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=r;r=r+48|0;k[d+16>>2]=0;k[d+16+8>>2]=1;i[d+16+12>>0]=0;i[d+16+13>>0]=1;w=0;kb(200,d+16|0,b|0,d+42|0,d+41|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[d+16+13>>0]|0)Hb(b|0);GPa(k[d+16+4>>2]|0);Hb(b|0)}k[d>>2]=0;k[d+8>>2]=1;i[d+12>>0]=0;i[d+13>>0]=1;w=0;kb(200,d|0,c|0,d+41|0,d+40|0);c=w;w=0;do if(c&1){b=Ib()|0;e=L;if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);f=e;g=b}else{k[d+32>>2]=d+16;k[d+32+4>>2]=d;k[a>>2]=0;j[a+32>>1]=1;i[a+34>>0]=0;w=0;cb(432,a|0,d+32|0,d+42|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;if(i[d+13>>0]|0){f=e;g=b;break}GPa(k[d+4>>2]|0);f=e;g=b;break}if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);if(i[d+16+13>>0]|0){r=d;return}GPa(k[d+16+4>>2]|0);r=d;return}while(0);if(i[d+16+13>>0]|0)Hb(g|0);GPa(k[d+16+4>>2]|0);Hb(g|0)}function FBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,n=0,o=0,p=0,q=0,r=0;d=m[b+32>>1]|0;c=i[a+13>>0]|0;if(!(c<<24>>24))e=k[a>>2]|0;else e=2;if(d>>>0>e>>>0){f=e<<2;e=f>>>0>>0?d:f;f=e>>>0>134217728?134217728:e;e=EPa(f<<2)|0;if(!(c<<24>>24)){g=k[a+4>>2]|0;J0a(e|0,g|0,k[a+8>>2]<<2|0)|0;GPa(g);h=a+4|0;j=a+8|0}else{J0a(e|0,a|0,k[a+8>>2]<<2|0)|0;i[a+13>>0]=0;h=a+4|0;j=a+8|0}k[j>>2]=d;k[a>>2]=f;k[h>>2]=e;l=i[a+13>>0]|0}else{k[a+8>>2]=d;l=c}if(!(l<<24>>24))n=k[a+4>>2]|0;else n=a;l=m[b+32>>1]|0;c=k[a+8>>2]|0;J0a(n|0,b|0,(c>>>0>>0?c:l)<<2|0)|0;l=i[b+34>>0]|0;i[a+12>>0]=l;if(l<<24>>24!=0?(k[a+8>>2]|0)==1:0){if(!(i[a+13>>0]|0))o=k[a+4>>2]|0;else o=a;if(!(k[o>>2]|0))i[a+12>>0]=0}if(!(i[a+13>>0]|0))p=k[a+4>>2]|0;else p=a;o=(k[a+8>>2]|0)+-1|0;if(!o)return;else q=o;while(1){if(k[p+(q<<2)>>2]|0){r=25;break}k[a+8>>2]=q;q=q+-1|0;if(!q){r=25;break}}if((r|0)==25)return}function GBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;c=r;r=r+16|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[b>>2]|0;e=i[d+12>>0]|0;w=0;kb(116,0,d|0,k[b+4>>2]|0,c|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[c+13>>0]|0)Hb(b|0);GPa(k[c+4>>2]|0);Hb(b|0)}i[c+12>>0]=e;b=k[c+8>>2]|0;d=i[c+13>>0]|0;if(e<<24>>24!=0&(b|0)==1){f=k[c+4>>2]|0;if(!(k[(d<<24>>24==0?f:c)>>2]|0)){i[c+12>>0]=0;g=f;h=0;l=f}else{g=f;h=e;l=f}}else{f=k[c+4>>2]|0;g=f;h=e;l=f}f=b>>>0>8?8:b;j[a+32>>1]=f;J0a(a|0,(d<<24>>24==0?g:c)|0,((f&65535)>>>0>>0?f&65535:b)<<2|0)|0;i[a+34>>0]=h;b=j[a+32>>1]|0;if(h<<24>>24!=0&b<<16>>16==1)if(!(k[a>>2]|0)){i[a+34>>0]=0;m=1}else m=1;else m=b;b=(m&65535)+-1|0;a:do if(!b)n=m;else{h=b;f=m;while(1){if(k[a+(h<<2)>>2]|0){n=f;break a}g=f+-1<<16>>16;j[a+32>>1]=g;h=(g&65535)+-1|0;if(!h){n=g;break}else f=g}}while(0);if(n<<16>>16==1?(k[a>>2]|0)==0:0)i[a+34>>0]=0;if(d<<24>>24){r=c;return}GPa(l);r=c;return}function HBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function IBa(a){a=a|0;k[a>>2]=37868;sla(a+4|0);return}function JBa(a){a=a|0;k[a>>2]=37868;sla(a+4|0);GPa(a);return}function KBa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37868;w=0;ua(1095,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function LBa(a,b){a=a|0;b=b|0;k[b>>2]=37868;TBa(b+4|0,a+4|0);return}function MBa(a){a=a|0;sla(a+4|0);return}function NBa(a){a=a|0;sla(a+4|0);GPa(a);return}function OBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;if((k[e>>2]|0)==0?(k[e+32>>2]|0)==1:0){k[c>>2]=0;k[c+32>>2]=1}else{e=(Ska(b+40|0)|0)+4|0;d=ih(k[e>>2]|0)|0;e=(Ska(b+4|0)|0)+4|0;RBa(c,d,ih(k[e>>2]|0)|0)}k[a>>2]=2;i[a+4>>0]=1;e=EPa(56)|0;k[e+4>>2]=0;k[e+8>>2]=0;k[e>>2]=15180;d=e+16|0;b=c;f=d+40|0;do{k[d>>2]=k[b>>2];d=d+4|0;b=b+4|0}while((d|0)<(f|0));k[a+8>>2]=e+16;k[a+12>>2]=e;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function PBa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==259926?a+4|0:0)|0}function QBa(a){a=a|0;return 9504}function RBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;d=r;r=r+48|0;k[d+16>>2]=0;e=d+16+8|0;k[e>>2]=1;i[d+16+12>>0]=0;f=d+16+13|0;i[f>>0]=1;g=k[b+32>>2]|0;h=g>>>0>134217728?134217728:g;if(h>>>0>2){j=h>>>0>8?h:8;l=EPa(j<<2)|0;k[l>>2]=k[d+16>>2];i[f>>0]=0;k[e>>2]=h;k[d+16>>2]=j;k[d+16+4>>2]=l;m=l}else{k[e>>2]=h;m=d+16|0}J0a(m|0,b|0,(g>>>0>134217728?536870912:g<<2)|0)|0;i[d+16+12>>0]=0;if(!(i[f>>0]|0))n=k[d+16+4>>2]|0;else n=d+16|0;g=(k[e>>2]|0)+-1|0;a:do if(g){b=g;do{if(k[n+(b<<2)>>2]|0)break a;k[e>>2]=b;b=b+-1|0}while((b|0)!=0)}while(0);k[d>>2]=0;k[d+8>>2]=1;i[d+12>>0]=0;i[d+13>>0]=1;e=k[c+32>>2]|0;n=e>>>0>134217728?134217728:e;do if(n>>>0>2){g=n>>>0>8?n:8;w=0;b=ya(665,g<<2|0)|0;m=w;w=0;if(m&1){m=Ib()|0;o=L;p=m;break}else{k[b>>2]=k[d>>2];i[d+13>>0]=0;k[d+8>>2]=n;k[d>>2]=g;k[d+4>>2]=b;q=b;s=13;break}}else{k[d+8>>2]=n;q=d;s=13}while(0);do if((s|0)==13){J0a(q|0,c|0,(e>>>0>134217728?536870912:e<<2)|0)|0;i[d+12>>0]=0;if(!(i[d+13>>0]|0))t=k[d+4>>2]|0;else t=d;n=(k[d+8>>2]|0)+-1|0;b:do if(n){b=n;do{if(k[t+(b<<2)>>2]|0)break b;k[d+8>>2]=b;b=b+-1|0}while((b|0)!=0)}while(0);k[d+32>>2]=d+16;k[d+32+4>>2]=d;k[a>>2]=0;k[a+32>>2]=1;w=0;cb(433,a|0,d+32|0,d+40|0);n=w;w=0;if(n&1){n=Ib()|0;b=L;if(i[d+13>>0]|0){o=b;p=n;break}GPa(k[d+4>>2]|0);o=b;p=n;break}if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);if(i[f>>0]|0){r=d;return}GPa(k[d+16+4>>2]|0);r=d;return}while(0);if(i[f>>0]|0)Hb(p|0);GPa(k[d+16+4>>2]|0);Hb(p|0)}function SBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=r;r=r+32|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[b>>2]|0;e=i[d+12>>0]|0;w=0;kb(116,0,d|0,k[b+4>>2]|0,c|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[c+13>>0]|0)Hb(b|0);GPa(k[c+4>>2]|0);Hb(b|0)}i[c+12>>0]=e;if((e<<24>>24!=0?(k[c+8>>2]|0)==1:0)?(k[((i[c+13>>0]|0)==0?k[c+4>>2]|0:c)>>2]|0)==0:0)i[c+12>>0]=0;AN(a,c,c+17|0,c+16|0);if(i[c+13>>0]|0){r=c;return}GPa(k[c+4>>2]|0);r=c;return}function TBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function UBa(a){a=a|0;k[a>>2]=37824;tla(a+4|0);return}function VBa(a){a=a|0;k[a>>2]=37824;tla(a+4|0);GPa(a);return}function WBa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37824;w=0;ua(1096,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function XBa(a,b){a=a|0;b=b|0;k[b>>2]=37824;eCa(b+4|0,a+4|0);return}function YBa(a){a=a|0;tla(a+4|0);return}function ZBa(a){a=a|0;tla(a+4|0);GPa(a);return}function _Ba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;bCa(c,b+4|0);k[a>>2]=2;i[a+4>>0]=1;b=EPa(56)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=15180;d=b+16|0;e=c;f=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));k[a+8>>2]=b+16;k[a+12>>2]=b;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function $Ba(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==260261?a+4|0:0)|0}function aCa(a){a=a|0;return 9528}function bCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+208|0;d=(Ska(b)|0)+4|0;e=ih(k[d>>2]|0)|0;if((k[e>>2]|0)==0?(k[e+32>>2]|0)==1:0){k[a>>2]=0;k[a+32>>2]=1;r=c;return}else{e=(Ska(b+36|0)|0)+4|0;d=c+80|0;f=ih(k[e>>2]|0)|0;e=d+40|0;do{k[d>>2]=k[f>>2];d=d+4|0;f=f+4|0}while((d|0)<(e|0));rAa(c+120|0,c+80|0);g=(Ska(b)|0)+4|0;d=c;f=ih(k[g>>2]|0)|0;e=d+40|0;do{k[d>>2]=k[f>>2];d=d+4|0;f=f+4|0}while((d|0)<(e|0));rAa(c+40|0,c);cCa(c+160|0,c+120|0,c+40|0);lO(a,c+160|0);r=c;return}}function cCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=r;r=r+48|0;k[d+16>>2]=0;k[d+16+8>>2]=1;i[d+16+12>>0]=0;i[d+16+13>>0]=1;w=0;kb(200,d+16|0,b|0,d+42|0,d+41|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[d+16+13>>0]|0)Hb(b|0);GPa(k[d+16+4>>2]|0);Hb(b|0)}k[d>>2]=0;k[d+8>>2]=1;i[d+12>>0]=0;i[d+13>>0]=1;w=0;kb(200,d|0,c|0,d+41|0,d+40|0);c=w;w=0;do if(c&1){b=Ib()|0;e=L;if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);f=e;g=b}else{k[d+32>>2]=d+16;k[d+32+4>>2]=d;k[a>>2]=0;j[a+32>>1]=1;i[a+34>>0]=0;w=0;cb(434,a|0,d+32|0,d+42|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;if(i[d+13>>0]|0){f=e;g=b;break}GPa(k[d+4>>2]|0);f=e;g=b;break}if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);if(i[d+16+13>>0]|0){r=d;return}GPa(k[d+16+4>>2]|0);r=d;return}while(0);if(i[d+16+13>>0]|0)Hb(g|0);GPa(k[d+16+4>>2]|0);Hb(g|0)}function dCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0;c=r;r=r+32|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;w=0;cb(269,c|0,b|0,c+16|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[c+13>>0]|0)Hb(b|0);GPa(k[c+4>>2]|0);Hb(b|0)}b=k[c+8>>2]|0;d=b>>>0>8?8:b;j[a+32>>1]=d;e=k[c+4>>2]|0;J0a(a|0,((i[c+13>>0]|0)==0?e:c)|0,((d&65535)>>>0>>0?d&65535:b)<<2|0)|0;b=j[c+12>>1]|0;i[a+34>>0]=b;d=j[a+32>>1]|0;if((b&255)<<24>>24!=0&d<<16>>16==1)if(!(k[a>>2]|0)){i[a+34>>0]=0;f=1}else f=1;else f=d;d=(f&65535)+-1|0;a:do if(!d)g=f;else{h=d;l=f;while(1){if(k[a+(h<<2)>>2]|0){g=l;break a}m=l+-1<<16>>16;j[a+32>>1]=m;h=(m&65535)+-1|0;if(!h){g=m;break}else l=m}}while(0);if(g<<16>>16==1?(k[a>>2]|0)==0:0)i[a+34>>0]=0;if((b&65535)>=256){r=c;return}GPa(e);r=c;return}function eCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function fCa(a){a=a|0;k[a>>2]=37780;ula(a+4|0);return}function gCa(a){a=a|0;k[a>>2]=37780;ula(a+4|0);GPa(a);return}function hCa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37780;w=0;ua(1097,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function iCa(a,b){a=a|0;b=b|0;k[b>>2]=37780;pCa(b+4|0,a+4|0);return}function jCa(a){a=a|0;ula(a+4|0);return}function kCa(a){a=a|0;ula(a+4|0);GPa(a);return}function lCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+48|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;if((k[e>>2]|0)==0?(k[e+32>>2]|0)==1:0){k[c>>2]=0;k[c+32>>2]=1}else{e=(Ska(b+40|0)|0)+4|0;d=ih(k[e>>2]|0)|0;e=(Ska(b+4|0)|0)+4|0;oCa(c,d,ih(k[e>>2]|0)|0)}k[a>>2]=2;i[a+4>>0]=1;e=EPa(56)|0;k[e+4>>2]=0;k[e+8>>2]=0;k[e>>2]=15180;d=e+16|0;b=c;f=d+40|0;do{k[d>>2]=k[b>>2];d=d+4|0;b=b+4|0}while((d|0)<(f|0));k[a+8>>2]=e+16;k[a+12>>2]=e;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function mCa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==260596?a+4|0:0)|0}function nCa(a){a=a|0;return 9552}function oCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;d=r;r=r+64|0;k[d+16>>2]=0;e=d+16+8|0;k[e>>2]=1;i[d+16+12>>0]=0;f=d+16+13|0;i[f>>0]=1;g=k[b+32>>2]|0;h=g>>>0>134217728?134217728:g;if(h>>>0>2){j=h>>>0>8?h:8;l=EPa(j<<2)|0;k[l>>2]=k[d+16>>2];i[f>>0]=0;k[e>>2]=h;k[d+16>>2]=j;k[d+16+4>>2]=l;m=l}else{k[e>>2]=h;m=d+16|0}J0a(m|0,b|0,(g>>>0>134217728?536870912:g<<2)|0)|0;i[d+16+12>>0]=0;if(!(i[f>>0]|0))n=k[d+16+4>>2]|0;else n=d+16|0;g=(k[e>>2]|0)+-1|0;a:do if(g){b=g;do{if(k[n+(b<<2)>>2]|0)break a;k[e>>2]=b;b=b+-1|0}while((b|0)!=0)}while(0);k[d>>2]=0;k[d+8>>2]=1;i[d+12>>0]=0;i[d+13>>0]=1;e=k[c+32>>2]|0;n=e>>>0>134217728?134217728:e;do if(n>>>0>2){g=n>>>0>8?n:8;w=0;b=ya(665,g<<2|0)|0;m=w;w=0;if(m&1){m=Ib()|0;o=L;p=m;break}else{k[b>>2]=k[d>>2];i[d+13>>0]=0;k[d+8>>2]=n;k[d>>2]=g;k[d+4>>2]=b;q=b;s=13;break}}else{k[d+8>>2]=n;q=d;s=13}while(0);do if((s|0)==13){J0a(q|0,c|0,(e>>>0>134217728?536870912:e<<2)|0)|0;i[d+12>>0]=0;if(!(i[d+13>>0]|0))t=k[d+4>>2]|0;else t=d;n=(k[d+8>>2]|0)+-1|0;b:do if(n){b=n;do{if(k[t+(b<<2)>>2]|0)break b;k[d+8>>2]=b;b=b+-1|0}while((b|0)!=0)}while(0);k[d+48>>2]=d+16;k[d+48+4>>2]=d;k[a>>2]=0;k[a+32>>2]=1;k[d+32>>2]=0;k[d+32+8>>2]=1;i[d+32+12>>0]=0;i[d+32+13>>0]=1;w=0;cb(269,d+32|0,d+48|0,d+57|0);n=w;w=0;if(n&1){n=Ib()|0;b=L;if(!(i[d+32+13>>0]|0))GPa(k[d+32+4>>2]|0);if(i[d+13>>0]|0){o=b;p=n;break}GPa(k[d+4>>2]|0);o=b;p=n;break}AN(a,d+32|0,d+57|0,d+56|0);if(!(i[d+32+13>>0]|0))GPa(k[d+32+4>>2]|0);if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);if(i[f>>0]|0){r=d;return}GPa(k[d+16+4>>2]|0);r=d;return}while(0);if(i[f>>0]|0)Hb(p|0);GPa(k[d+16+4>>2]|0);Hb(p|0)}function pCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function qCa(a){a=a|0;k[a>>2]=37736;vla(a+4|0);return}function rCa(a){a=a|0;k[a>>2]=37736;vla(a+4|0);GPa(a);return}function sCa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37736;w=0;ua(1098,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function tCa(a,b){a=a|0;b=b|0;k[b>>2]=37736;zCa(b+4|0,a+4|0);return}function uCa(a){a=a|0;vla(a+4|0);return}function vCa(a){a=a|0;vla(a+4|0);GPa(a);return}function wCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;k[c+40+32>>2]=1;Zh(c+40|0,e,b);b=c;e=c+40|0;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;b=f+16|0;e=c;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function xCa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==260931?a+4|0:0)|0}function yCa(a){a=a|0;return 9576}function zCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function ACa(a){a=a|0;k[a>>2]=37692;wla(a+4|0);return}function BCa(a){a=a|0;k[a>>2]=37692;wla(a+4|0);GPa(a);return}function CCa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37692;w=0;ua(1099,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function DCa(a,b){a=a|0;b=b|0;k[b>>2]=37692;JCa(b+4|0,a+4|0);return}function ECa(a){a=a|0;wla(a+4|0);return}function FCa(a){a=a|0;wla(a+4|0);GPa(a);return}function GCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;k[c+40+32>>2]=1;rma(c+40|0,e,b);b=c;e=c+40|0;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;b=f+16|0;e=c;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function HCa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==261266?a+4|0:0)|0}function ICa(a){a=a|0;return 9600}function JCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function KCa(a){a=a|0;k[a>>2]=37648;xla(a+4|0);return}function LCa(a){a=a|0;k[a>>2]=37648;xla(a+4|0);GPa(a);return}function MCa(a){a=a|0;var b=0;b=EPa(76)|0;k[b>>2]=37648;w=0;ua(1100,b+4|0,a+4|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(b);Hb(a|0)}else return b|0;return 0}function NCa(a,b){a=a|0;b=b|0;k[b>>2]=37648;TCa(b+4|0,a+4|0);return}function OCa(a){a=a|0;xla(a+4|0);return}function PCa(a){a=a|0;xla(a+4|0);GPa(a);return}function QCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+80|0;d=(Ska(b+4|0)|0)+4|0;e=ih(k[d>>2]|0)|0;d=(Ska(b+40|0)|0)+4|0;b=ih(k[d>>2]|0)|0;k[c+40>>2]=0;k[c+40+32>>2]=1;_h(c+40|0,e,b);b=c;e=c+40|0;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a>>2]=2;i[a+4>>0]=1;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;b=f+16|0;e=c;d=b+40|0;do{k[b>>2]=k[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(d|0));k[a+8>>2]=f+16;k[a+12>>2]=f;k[a+16>>2]=0;k[a+16+4>>2]=0;k[a+16+8>>2]=0;k[a+16+12>>2]=0;k[a+16+16>>2]=0;r=c;return}function RCa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==261601?a+4|0:0)|0}function SCa(a){a=a|0;return 9624}function TCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];j[a+4>>1]=j[b+4>>1]|0;k[a+8>>2]=k[b+8>>2];d=k[b+12>>2]|0;k[a+12>>2]=d;if(d)OSa(d);w=0;ua(1064,a+16|0,b+16|0);d=w;w=0;if(d&1){d=Ib()|0;e=k[a+12>>2]|0;if(!e)Hb(d|0);QSa(e);Hb(d|0)}d=k[b+28+4>>2]|0;k[a+28>>2]=k[b+28>>2];k[a+28+4>>2]=d;k[a+36>>2]=k[b+36>>2];j[a+36+4>>1]=j[b+36+4>>1]|0;k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;if(d)OSa(d);w=0;ua(1064,a+52|0,b+52|0);d=w;w=0;if(!(d&1)){d=k[b+64+4>>2]|0;k[a+64>>2]=k[b+64>>2];k[a+64+4>>2]=d;r=c;return}d=Ib()|0;b=k[a+48>>2]|0;if(b)QSa(b);b=k[a+16>>2]|0;if(b){e=k[a+20>>2]|0;if((e|0)==(b|0))f=b;else{g=e;do{e=g+-36|0;k[a+20>>2]=e;i[c+1>>0]=i[c>>0]|0;_ka(c+1|0,a+24|0,e);g=k[a+20>>2]|0}while((g|0)!=(b|0));f=k[a+16>>2]|0}GPa(f)}f=k[a+12>>2]|0;if(!f)Hb(d|0);QSa(f);Hb(d|0)}function UCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;d=r;r=r+240|0;e=ih(b)|0;k[d>>2]=1;k[d+32>>2]=1;f=d+80|0;g=d;h=f+40|0;do{k[f>>2]=k[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));wd(d+80|0,64,0);f=d+40|0;g=d+80|0;h=f+40|0;do{k[f>>2]=k[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(h|0));g=k[e+32>>2]|0;f=k[d+40+32>>2]|0;a:do if((g|0)==(f|0)){h=g;do{h=h+-1|0;if((h|0)<=-1){j=7;break a}l=k[e+(h<<2)>>2]|0;m=k[d+40+(h<<2)>>2]|0}while((l|0)==(m|0));if(l>>>0>m>>>0)j=7}else if(g>>>0>f>>>0)j=7;while(0);if((j|0)==7){k[d+208>>2]=0;k[d+208+4>>2]=0;k[d+208+8>>2]=0;k[d+208+12>>2]=0;k[d+208+16>>2]=0;k[d+208+20>>2]=-1;k[d+208>>2]=43012;k[d+208+4>>2]=43036;w=0;cb(138,d+176|0,262046,32);j=w;w=0;if(j&1){j=Ib()|0;n=L;o=j}else{k[d+192>>2]=13804;w=0;ua(724,d+192+4|0,d+176|0);j=w;w=0;if(j&1){j=Ib()|0;p=L;q=j}else{w=0;j=Sa(585,d+208|0,d+192|0)|0;f=w;w=0;if(!(f&1)){k[j+(k[(k[j>>2]|0)+-24>>2]|0)+8>>2]=262079;k[j+(k[(k[j>>2]|0)+-24>>2]|0)+12>>2]=262157;k[j+(k[(k[j>>2]|0)+-24>>2]|0)+16>>2]=31;w=0;sa(1645,j|0);w=0}j=Ib()|0;f=L;k[d+192>>2]=13804;dTa(d+192+4|0);p=f;q=j}dTa(d+176|0);n=p;o=q}k[d+208+4>>2]=13668;q=k[d+208+8>>2]|0;if(q){w=0;p=ya(k[(k[q>>2]|0)+16>>2]|0,q|0)|0;q=w;w=0;if(q&1){q=Ib(0)|0;Zc(q)}if(p)k[d+208+8>>2]=0}s=n;t=o;Hb(t|0)}switch(k[b>>2]|0){case 8:case 4:break;default:{k[d+152>>2]=0;k[d+152+4>>2]=0;k[d+152+8>>2]=0;k[d+152+12>>2]=0;k[d+152+16>>2]=0;k[d+152+20>>2]=-1;k[d+152>>2]=43012;k[d+152+4>>2]=43036;w=0;cb(138,d+120|0,282012,0);o=w;w=0;if(o&1){o=Ib()|0;u=L;v=o}else{k[d+136>>2]=13804;w=0;ua(724,d+136+4|0,d+120|0);o=w;w=0;if(o&1){o=Ib()|0;x=L;y=o}else{w=0;o=Sa(585,d+152|0,d+136|0)|0;n=w;w=0;if(!(n&1)){k[o+(k[(k[o>>2]|0)+-24>>2]|0)+8>>2]=262079;k[o+(k[(k[o>>2]|0)+-24>>2]|0)+12>>2]=262157;k[o+(k[(k[o>>2]|0)+-24>>2]|0)+16>>2]=33;w=0;sa(1645,o|0);w=0}o=Ib()|0;n=L;k[d+136>>2]=13804;dTa(d+136+4|0);x=n;y=o}dTa(d+120|0);u=x;v=y}k[d+152+4>>2]=13668;y=k[d+152+8>>2]|0;if(y){w=0;x=ya(k[(k[y>>2]|0)+16>>2]|0,y|0)|0;y=w;w=0;if(y&1){y=Ib(0)|0;Zc(y)}if(x)k[d+152+8>>2]=0}s=u;t=v;Hb(t|0)}}k[a>>2]=k[b>>2];i[a+4>>0]=i[b+4>>0]|0;k[a+8>>2]=k[b+8>>2];v=k[b+12>>2]|0;k[a+12>>2]=v;if(v)OSa(v);v=k[b+16+4>>2]|0;k[a+16>>2]=k[b+16>>2];k[a+16+4>>2]=v;k[a+24>>2]=k[b+24>>2];v=k[b+28>>2]|0;k[a+28>>2]=v;if(v)OSa(v);k[a+32>>2]=k[b+32>>2];k[a+36>>2]=k[b+36>>2];v=k[b+40>>2]|0;k[a+40>>2]=v;if(v)OSa(v);k[a>>2]=4;w=0;v=ya(682,b|0)|0;b=w;w=0;if(!(b&1)?(w=0,cb(435,a|0,c|0,k[v>>2]|0),v=w,w=0,!(v&1)):0){r=d;return}d=Ib()|0;v=L;c=k[a+40>>2]|0;if(c)QSa(c);c=k[a+28>>2]|0;if(c)QSa(c);c=k[a+12>>2]|0;if(!c){s=v;t=d;Hb(t|0)}QSa(c);s=v;t=d;Hb(t|0)}function VCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;d=r;r=r+208|0;switch(k[a>>2]|0){case 8:case 4:break;default:{k[d+176>>2]=0;k[d+176+4>>2]=0;k[d+176+8>>2]=0;k[d+176+12>>2]=0;k[d+176+16>>2]=0;k[d+176+20>>2]=-1;k[d+176>>2]=43012;k[d+176+4>>2]=43036;w=0;cb(138,d+148|0,282012,0);e=w;w=0;if(e&1){e=Ib()|0;f=L;g=e}else{k[d+160>>2]=13804;w=0;ua(724,d+160+4|0,d+148|0);e=w;w=0;if(e&1){e=Ib()|0;h=L;i=e}else{w=0;e=Sa(585,d+176|0,d+160|0)|0;j=w;w=0;if(!(j&1)){k[e+(k[(k[e>>2]|0)+-24>>2]|0)+8>>2]=262198;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+12>>2]=262157;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+16>>2]=48;w=0;sa(1645,e|0);w=0}e=Ib()|0;j=L;k[d+160>>2]=13804;dTa(d+160+4|0);h=j;i=e}dTa(d+148|0);f=h;g=i}k[d+176+4>>2]=13668;i=k[d+176+8>>2]|0;if(!i)Hb(g|0);w=0;h=ya(k[(k[i>>2]|0)+16>>2]|0,i|0)|0;i=w;w=0;if(i&1){i=Ib(0)|0;Zc(i)}if(!h)Hb(g|0);k[d+176+8>>2]=0;Hb(g|0)}}k[d+80>>2]=b+1;b=d+80+4|0;k[b>>2]=k[d+120>>2];k[b+4>>2]=k[d+120+4>>2];k[b+8>>2]=k[d+120+8>>2];k[b+12>>2]=k[d+120+12>>2];k[b+16>>2]=k[d+120+16>>2];k[b+20>>2]=k[d+120+20>>2];k[b+24>>2]=k[d+120+24>>2];k[d+80+32>>2]=1;wd(d+80|0,64,0);b=d;g=d+80|0;h=b+40|0;do{k[b>>2]=k[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(h|0));k[d+80>>2]=0;i=d+80+32|0;f=k[d+32>>2]|0;e=f>>>0>8?8:f;k[i>>2]=e;a:do if(c)if(!e){l=1;m=e;n=c;o=0}else{f=c;j=0;p=0;while(1){q=G0a(k[d+(p<<2)>>2]|0,0,f|0,j|0)|0;s=L;k[d+80+(p<<2)>>2]=q;t=p+1|0;u=k[i>>2]|0;if((s|0)==0&0==0){l=0;m=u;n=0;o=t;break a}if(t>>>0>>0){f=s;j=0;p=t}else break}l=1;m=u;n=s;o=t}else{l=0;m=e;n=0;o=0}while(0);if(o>>>0>>0){e=o;do{k[d+80+(e<<2)>>2]=k[d+(e<<2)>>2];e=e+1|0;o=k[i>>2]|0}while(e>>>0>>0);v=o}else v=m;if(l){l=v+1|0;m=l>>>0>8?8:l;k[i>>2]=m;if(m>>>0>v>>>0){k[d+80+(v<<2)>>2]=n;x=k[i>>2]|0}else x=m}else x=v;v=x+-1|0;if(!v){b=d+40|0;g=d+80|0;h=b+40|0;do{k[b>>2]=k[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(h|0));bDa(a,d+40|0);r=d;return}else y=v;while(1){if(k[d+80+(y<<2)>>2]|0){z=30;break}k[i>>2]=y;y=y+-1|0;if(!y){z=30;break}}if((z|0)==30){b=d+40|0;g=d+80|0;h=b+40|0;do{k[b>>2]=k[g>>2];b=b+4|0;g=g+4|0}while((b|0)<(h|0));bDa(a,d+40|0);r=d;return}}function WCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=r;r=r+224|0;switch(k[b>>2]|0){case 8:case 4:{d=ih(b)|0;k[c>>2]=1;k[c+32>>2]=1;e=c+120|0;f=c;g=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));wd(c+120|0,64,0);e=c+40|0;f=c+120|0;g=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));k[c+80>>2]=0;k[c+80+32>>2]=1;k[c+120>>2]=0;k[c+120+32>>2]=1;Xh(c+80|0,d,c+40|0,c+120|0);d=(k[c+80>>2]|0)+-1|0;f=ih(b)|0;b=k[f>>2]|0;k[a>>2]=d;k[a+4>>2]=b;r=c;return}default:{}}k[c+192>>2]=0;k[c+192+4>>2]=0;k[c+192+8>>2]=0;k[c+192+12>>2]=0;k[c+192+16>>2]=0;k[c+192+20>>2]=-1;k[c+192>>2]=43012;k[c+192+4>>2]=43036;w=0;cb(138,c+160|0,282012,0);b=w;w=0;if(b&1){b=Ib()|0;h=L;i=b}else{k[c+176>>2]=13804;w=0;ua(724,c+176+4|0,c+160|0);b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b}else{w=0;b=Sa(585,c+192|0,c+176|0)|0;a=w;w=0;if(!(a&1)){k[b+(k[(k[b>>2]|0)+-24>>2]|0)+8>>2]=262265;k[b+(k[(k[b>>2]|0)+-24>>2]|0)+12>>2]=262157;k[b+(k[(k[b>>2]|0)+-24>>2]|0)+16>>2]=42;w=0;sa(1645,b|0);w=0}b=Ib()|0;a=L;k[c+176>>2]=13804;dTa(c+176+4|0);j=a;l=b}dTa(c+160|0);h=j;i=l}k[c+192+4>>2]=13668;l=k[c+192+8>>2]|0;if(!l)Hb(i|0);w=0;j=ya(k[(k[l>>2]|0)+16>>2]|0,l|0)|0;l=w;w=0;if(l&1){l=Ib(0)|0;Zc(l)}if(!j)Hb(i|0);k[c+192+8>>2]=0;Hb(i|0)}function XCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;c=r;r=r+64|0;switch(k[a>>2]|0){case 3:{d=33;r=c;return d|0}case 2:{e=c;f=ih(a)|0;a=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(a|0));f=k[c+32>>2]|0;e=k[c>>2]|0;if((f|0)!=1|(e|0)!=0){a=e;e=f;f=0;while(1){g=f+1|0;do if(!e){k[c+32>>2]=1;k[c>>2]=0;h=1;i=0}else{j=e+-1|0;l=(((k[c+(j<<2)>>2]|0)>>>0<256)<<31>>31)+e|0;if(!l){k[c+32>>2]=1;k[c>>2]=0;h=1;i=0;break}m=a>>>8;k[c>>2]=m;if(e>>>0>1){n=1;o=m;p=c;q=0;while(1){k[p>>2]=k[c+(n<<2)>>2]<<24|o;s=q+1|0;p=c+(s<<2)|0;o=(k[p>>2]|0)>>>8;k[p>>2]=o;if((s|0)==(j|0))break;else{n=q+2|0;q=s}}t=k[c>>2]|0}else t=m;q=l>>>0>8?8:l;k[c+32>>2]=q;h=q;i=t}while(0);if((i|0)!=0|(h|0)!=1){a=i;e=h;f=g}else{u=g;break}}}else u=0;d=(u>>>0>1?u:1)+1|0;r=c;return d|0}case 7:case 6:{d=5;r=c;return d|0}case 5:case 9:case 4:{d=b+1|0;r=c;return d|0}case 11:case 10:{d=21;r=c;return d|0}case 8:case 1:{d=1;r=c;return d|0}default:{k[c+40>>2]=0;k[c+40+4>>2]=0;k[c+40+8>>2]=0;k[c+40+12>>2]=0;k[c+40+16>>2]=0;k[c+40+20>>2]=-1;k[c+40>>2]=16032;k[c+40+4>>2]=16056;w=0;kb(201,c+40|0,262338,262157,76);w=0;d=Ib()|0;k[c+40+4>>2]=13668;b=k[c+40+8>>2]|0;if(!b)Hb(d|0);w=0;u=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!u)Hb(d|0);k[c+40+8>>2]=0;Hb(d|0)}}return 0}function YCa(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;if((k[a>>2]|0)!=1){c=0;r=b;return c|0}kka(b,cja(a)|0);a=k[b+16>>2]|0;dTa(b);c=a;r=b;return c|0}function ZCa(a){a=a|0;var b=0,c=0;b=r;r=r+32|0;switch(k[a>>2]|0){case 1:{kka(b,cja(a)|0);a=k[b+20>>2]|0;dTa(b);c=a;break}case 11:case 10:case 7:case 6:case 5:case 9:case 4:case 3:case 2:{c=1;break}case 8:{c=0;break}default:c=0}r=b;return c|0}function _Ca(a){a=a|0;var b=0,c=0;switch(k[a>>2]|0){case 1:{b=cja(a)|0;if(b<<24>>24<0&(b&255)<144)c=0;else c=((cja(a)|0)&-16)<<24>>24!=-112;break}case 11:case 10:case 7:case 6:case 5:case 9:case 4:case 3:case 2:{c=1;break}case 8:{c=0;break}default:c=0}return c|0}function $Ca(a,b){a=a|0;b=b|0;switch(k[b+32>>2]|0){case 1:{aTa(a,262409,4);return}case 2:{aTa(a,262414,5);return}default:{aTa(a,282012,0);return}}}function aDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;c=r;r=r+848|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;a:do switch(k[b>>2]|0){case 1:{w=0;d=ya(739,b|0)|0;e=w;w=0;if(!(e&1)?(w=0,e=ya(752,d|0)|0,d=w,w=0,!(d&1)):0){if(e){w=0;e=ya(739,b|0)|0;d=w;w=0;if(d&1)break a;w=0;ua(986,c+744|0,e|0);e=w;w=0;if(e&1)break a;k[c+832>>2]=k[c+744>>2];k[c+832+4>>2]=k[c+744+4>>2];k[c+832+8>>2]=k[c+744+8>>2];k[c+744>>2]=0;k[c+744+4>>2]=0;k[c+744+8>>2]=0;dTa(c+744|0);e=i[c+832>>0]|0;d=(e&1)==0?c+832+1|0:k[c+832+8>>2]|0;f=(e&1)==0?(e&255)>>>1:k[c+832+4>>2]|0;b:do if(!f)g=25;else{e=d;h=d;while(1){w=0;j=ya(730,l[e>>0]|0|0)|0;m=w;w=0;if(m&1)break;i[h>>0]=j;e=e+1|0;if((e|0)==(d+f|0)){g=25;break b}else h=h+1|0}h=Ib()|0;n=h;o=L}while(0);do if((g|0)==25){w=0;Sa(535,a|0,c+832|0)|0;f=w;w=0;if(f&1){f=Ib()|0;n=f;o=L;break}else{dTa(c+832|0);g=224;break a}}while(0);dTa(c+832|0);p=o;q=n;dTa(a);Hb(q|0)}k[c+808>>2]=0;k[c+808+4>>2]=0;k[c+808+8>>2]=0;k[c+808+12>>2]=0;k[c+808+16>>2]=0;k[c+808+20>>2]=-1;k[c+808>>2]=41936;k[c+808+4>>2]=41960;w=0;cb(138,c+776|0,262420,20);f=w;w=0;if(f&1){f=Ib()|0;s=L;t=f}else{k[c+792>>2]=13804;w=0;ua(724,c+792+4|0,c+776|0);f=w;w=0;if(f&1){f=Ib()|0;u=L;v=f}else{w=0;f=Sa(681,c+808|0,c+792|0)|0;d=w;w=0;if(!(d&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=262441;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=262157;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=154;w=0;sa(1680,f|0);w=0}f=Ib()|0;d=L;k[c+792>>2]=13804;dTa(c+792+4|0);u=d;v=f}dTa(c+776|0);s=u;t=v}k[c+808+4>>2]=13668;f=k[c+808+8>>2]|0;if(f){w=0;d=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;f=w;w=0;if(f&1){f=Ib(0)|0;Zc(f)}if(d)k[c+808+8>>2]=0}p=s;q=t;dTa(a);Hb(q|0)}break}case 2:{w=0;d=ya(682,b|0)|0;f=w;w=0;if(!(f&1)){x=c+120|0;y=d;z=x+40|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));w=0;cb(436,c+716|0,c+120|0,1);d=w;w=0;if(!(d&1)){w=0;kb(99,c+728|0,c+716|0,1,1);d=w;w=0;if(d&1){d=Ib()|0;f=L;h=k[c+716>>2]|0;if(!h){p=f;q=d;dTa(a);Hb(q|0)}if((k[c+716+4>>2]|0)!=(h|0))k[c+716+4>>2]=h;GPa(h);p=f;q=d;dTa(a);Hb(q|0)}if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)};k[a>>2]=k[c+728>>2];k[a+4>>2]=k[c+728+4>>2];k[a+8>>2]=k[c+728+8>>2];k[c+728>>2]=0;k[c+728+4>>2]=0;k[c+728+8>>2]=0;dTa(c+728|0);d=k[c+716>>2]|0;if(!d)g=224;else{if((k[c+716+4>>2]|0)!=(d|0))k[c+716+4>>2]=d;GPa(d);g=224}}}break}case 3:{w=0;cb(138,c+692|0,263125,5);d=w;w=0;if(!(d&1)){w=0;d=ya(682,b|0)|0;f=w;w=0;do if(!(f&1)){x=c+80|0;y=d;z=x+40|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));w=0;cb(437,c+680|0,c+80|0,0);h=w;w=0;if(!(h&1)){h=i[c+680>>0]|0;w=0;e=Ea(68,c+692|0,((h&1)==0?c+680+1|0:k[c+680+8>>2]|0)|0,((h&1)==0?(h&255)>>>1:k[c+680+4>>2]|0)|0)|0;h=w;w=0;if(h&1){h=Ib()|0;j=L;dTa(c+680|0);A=j;B=h;break};k[c+704>>2]=k[e>>2];k[c+704+4>>2]=k[e+4>>2];k[c+704+8>>2]=k[e+8>>2];k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);e=w;w=0;if(e&1){e=Ib(0)|0;Zc(e)}else{k[a>>2]=k[c+704>>2];k[a+4>>2]=k[c+704+4>>2];k[a+8>>2]=k[c+704+8>>2];k[c+704>>2]=0;k[c+704+4>>2]=0;k[c+704+8>>2]=0;dTa(c+704|0);dTa(c+680|0);dTa(c+692|0);g=224;break a}}else g=56}else g=56;while(0);if((g|0)==56){d=Ib()|0;A=L;B=d}dTa(c+692|0);p=A;q=B;dTa(a);Hb(q|0)}break}case 4:{w=0;ua(1101,c+672|0,b|0);d=w;w=0;if(!(d&1)){d=k[c+672>>2]|0;f=k[c+672+4>>2]|0;w=0;if((d|0)==-1){aTa(c+644|0,262495,4);e=w;w=0;if(e&1)break a;w=0;ua(784,c+632|0,f|0);e=w;w=0;do if(!(e&1)){h=i[c+632>>0]|0;w=0;j=Ea(68,c+644|0,((h&1)==0?c+632+1|0:k[c+632+8>>2]|0)|0,((h&1)==0?(h&255)>>>1:k[c+632+4>>2]|0)|0)|0;h=w;w=0;if(h&1){h=Ib()|0;m=L;dTa(c+632|0);C=m;D=h;break};k[c+656>>2]=k[j>>2];k[c+656+4>>2]=k[j+4>>2];k[c+656+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}else{k[a>>2]=k[c+656>>2];k[a+4>>2]=k[c+656+4>>2];k[a+8>>2]=k[c+656+8>>2];k[c+656>>2]=0;k[c+656+4>>2]=0;k[c+656+8>>2]=0;dTa(c+656|0);dTa(c+632|0);dTa(c+644|0);g=224;break a}}else{j=Ib()|0;C=L;D=j}while(0);dTa(c+644|0);p=C;q=D;dTa(a);Hb(q|0)}aTa(c+584|0,262495,4);e=w;w=0;if(!(e&1)){w=0;ua(784,c+572|0,d|0);e=w;w=0;if(e&1){e=Ib()|0;E=L;F=e}else{e=i[c+572>>0]|0;w=0;j=Ea(68,c+584|0,((e&1)==0?c+572+1|0:k[c+572+8>>2]|0)|0,((e&1)==0?(e&255)>>>1:k[c+572+4>>2]|0)|0)|0;e=w;w=0;if(e&1){e=Ib()|0;G=L;H=e}else{k[c+596>>2]=k[j>>2];k[c+596+4>>2]=k[j+4>>2];k[c+596+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;w=0;j=Sa(549,c+596|0,262500)|0;e=w;w=0;if(e&1){e=Ib()|0;I=L;J=e}else{k[c+608>>2]=k[j>>2];k[c+608+4>>2]=k[j+4>>2];k[c+608+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;w=0;ua(784,c+560|0,f|0);j=w;w=0;do if(!(j&1)){e=i[c+560>>0]|0;w=0;h=Ea(68,c+608|0,((e&1)==0?c+560+1|0:k[c+560+8>>2]|0)|0,((e&1)==0?(e&255)>>>1:k[c+560+4>>2]|0)|0)|0;e=w;w=0;if(e&1){e=Ib()|0;m=L;dTa(c+560|0);K=m;M=e;break};k[c+620>>2]=k[h>>2];k[c+620+4>>2]=k[h+4>>2];k[c+620+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}else{k[a>>2]=k[c+620>>2];k[a+4>>2]=k[c+620+4>>2];k[a+8>>2]=k[c+620+8>>2];k[c+620>>2]=0;k[c+620+4>>2]=0;k[c+620+8>>2]=0;dTa(c+620|0);dTa(c+560|0);dTa(c+608|0);dTa(c+596|0);dTa(c+572|0);dTa(c+584|0);g=224;break a}}else{h=Ib()|0;K=L;M=h}while(0);dTa(c+608|0);I=K;J=M}dTa(c+596|0);G=I;H=J}dTa(c+572|0);E=G;F=H}dTa(c+584|0);p=E;q=F;dTa(a);Hb(q|0)}}break}case 8:{w=0;j=ya(682,b|0)|0;f=w;w=0;if(!(f&1)){if(!((k[j>>2]|0)>>>0<65536?(k[j+32>>2]|0)>>>0<2:0)){k[c+536>>2]=0;k[c+536+4>>2]=0;k[c+536+8>>2]=0;k[c+536+12>>2]=0;k[c+536+16>>2]=0;k[c+536+20>>2]=-1;k[c+536>>2]=41936;k[c+536+4>>2]=41960;w=0;cb(138,c+504|0,262502,32);j=w;w=0;if(j&1){j=Ib()|0;N=L;O=j}else{k[c+520>>2]=13804;w=0;ua(724,c+520+4|0,c+504|0);j=w;w=0;if(j&1){j=Ib()|0;P=L;Q=j}else{w=0;j=Sa(681,c+536|0,c+520|0)|0;f=w;w=0;if(!(f&1)){k[j+(k[(k[j>>2]|0)+-24>>2]|0)+8>>2]=262441;k[j+(k[(k[j>>2]|0)+-24>>2]|0)+12>>2]=262157;k[j+(k[(k[j>>2]|0)+-24>>2]|0)+16>>2]=178;w=0;sa(1680,j|0);w=0}j=Ib()|0;f=L;k[c+520>>2]=13804;dTa(c+520+4|0);P=f;Q=j}dTa(c+504|0);N=P;O=Q}k[c+536+4>>2]=13668;j=k[c+536+8>>2]|0;if(j){w=0;f=ya(k[(k[j>>2]|0)+16>>2]|0,j|0)|0;j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}if(f)k[c+536+8>>2]=0}p=N;q=O;dTa(a);Hb(q|0)}w=0;cb(138,c+468|0,262495,4);f=w;w=0;if(!(f&1)){w=0;f=ya(682,b|0)|0;j=w;w=0;if(!(j&1)?(w=0,ua(784,c+456|0,k[f>>2]|0),f=w,w=0,!(f&1)):0){f=i[c+456>>0]|0;w=0;j=Ea(68,c+468|0,((f&1)==0?c+456+1|0:k[c+456+8>>2]|0)|0,((f&1)==0?(f&255)>>>1:k[c+456+4>>2]|0)|0)|0;f=w;w=0;do if(!(f&1)){k[c+480>>2]=k[j>>2];k[c+480+4>>2]=k[j+4>>2];k[c+480+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;w=0;d=Sa(549,c+480|0,276102)|0;h=w;w=0;if(h&1){h=Ib()|0;e=L;dTa(c+480|0);R=e;S=h;break};k[c+492>>2]=k[d>>2];k[c+492+4>>2]=k[d+4>>2];k[c+492+8>>2]=k[d+8>>2];k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}else{k[a>>2]=k[c+492>>2];k[a+4>>2]=k[c+492+4>>2];k[a+8>>2]=k[c+492+8>>2];k[c+492>>2]=0;k[c+492+4>>2]=0;k[c+492+8>>2]=0;dTa(c+492|0);dTa(c+480|0);dTa(c+456|0);dTa(c+468|0);g=224;break a}}else{d=Ib()|0;R=L;S=d}while(0);dTa(c+456|0);T=R;U=S}else{j=Ib()|0;T=L;U=j}dTa(c+468|0);p=T;q=U;dTa(a);Hb(q|0)}}break}case 9:{w=0;cb(138,c+432|0,263125,5);j=w;w=0;if(!(j&1)){w=0;j=ya(682,b|0)|0;f=w;w=0;do if(!(f&1)){x=c+40|0;y=j;z=x+40|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));w=0;cb(437,c+420|0,c+40|0,0);d=w;w=0;if(!(d&1)){d=i[c+420>>0]|0;w=0;h=Ea(68,c+432|0,((d&1)==0?c+420+1|0:k[c+420+8>>2]|0)|0,((d&1)==0?(d&255)>>>1:k[c+420+4>>2]|0)|0)|0;d=w;w=0;if(d&1){d=Ib()|0;e=L;dTa(c+420|0);V=e;W=d;break};k[c+444>>2]=k[h>>2];k[c+444+4>>2]=k[h+4>>2];k[c+444+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}else{k[a>>2]=k[c+444>>2];k[a+4>>2]=k[c+444+4>>2];k[a+8>>2]=k[c+444+8>>2];k[c+444>>2]=0;k[c+444+4>>2]=0;k[c+444+8>>2]=0;dTa(c+444|0);dTa(c+420|0);dTa(c+432|0);g=224;break a}}else g=136}else g=136;while(0);if((g|0)==136){j=Ib()|0;V=L;W=j}dTa(c+432|0);p=V;q=W;dTa(a);Hb(q|0)}break}case 5:{w=0;cb(138,c+384|0,262535,15);j=w;w=0;if(!(j&1)){w=0;j=ya(682,b|0)|0;f=w;w=0;if(!(f&1)?(w=0,ua(784,c+372|0,k[j>>2]|0),j=w,w=0,!(j&1)):0){j=i[c+372>>0]|0;w=0;f=Ea(68,c+384|0,((j&1)==0?c+372+1|0:k[c+372+8>>2]|0)|0,((j&1)==0?(j&255)>>>1:k[c+372+4>>2]|0)|0)|0;j=w;w=0;do if(!(j&1)){k[c+396>>2]=k[f>>2];k[c+396+4>>2]=k[f+4>>2];k[c+396+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;w=0;h=Sa(549,c+396|0,276051)|0;d=w;w=0;if(d&1){d=Ib()|0;e=L;dTa(c+396|0);X=e;Y=d;break};k[c+408>>2]=k[h>>2];k[c+408+4>>2]=k[h+4>>2];k[c+408+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}else{k[a>>2]=k[c+408>>2];k[a+4>>2]=k[c+408+4>>2];k[a+8>>2]=k[c+408+8>>2];k[c+408>>2]=0;k[c+408+4>>2]=0;k[c+408+8>>2]=0;dTa(c+408|0);dTa(c+396|0);dTa(c+372|0);dTa(c+384|0);g=224;break a}}else{h=Ib()|0;X=L;Y=h}while(0);dTa(c+372|0);Z=X;_=Y}else{f=Ib()|0;Z=L;_=f}dTa(c+384|0);p=Z;q=_;dTa(a);Hb(q|0)}break}case 6:{w=0;cb(138,c+336|0,262551,13);f=w;w=0;if(!(f&1)){w=0;f=ya(682,b|0)|0;j=w;w=0;if(!(j&1)?(w=0,ua(784,c+324|0,k[f>>2]|0),f=w,w=0,!(f&1)):0){f=i[c+324>>0]|0;w=0;j=Ea(68,c+336|0,((f&1)==0?c+324+1|0:k[c+324+8>>2]|0)|0,((f&1)==0?(f&255)>>>1:k[c+324+4>>2]|0)|0)|0;f=w;w=0;do if(!(f&1)){k[c+348>>2]=k[j>>2];k[c+348+4>>2]=k[j+4>>2];k[c+348+8>>2]=k[j+8>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;w=0;h=Sa(549,c+348|0,276051)|0;d=w;w=0;if(d&1){d=Ib()|0;e=L;dTa(c+348|0);$=e;aa=d;break};k[c+360>>2]=k[h>>2];k[c+360+4>>2]=k[h+4>>2];k[c+360+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}else{k[a>>2]=k[c+360>>2];k[a+4>>2]=k[c+360+4>>2];k[a+8>>2]=k[c+360+8>>2];k[c+360>>2]=0;k[c+360+4>>2]=0;k[c+360+8>>2]=0;dTa(c+360|0);dTa(c+348|0);dTa(c+324|0);dTa(c+336|0);g=224;break a}}else{h=Ib()|0;$=L;aa=h}while(0);dTa(c+324|0);ba=$;ca=aa}else{j=Ib()|0;ba=L;ca=j}dTa(c+336|0);p=ba;q=ca;dTa(a);Hb(q|0)}break}case 7:{w=0;cb(138,c+312|0,262565,12);j=w;w=0;if(!(j&1)){if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}else{k[a>>2]=k[c+312>>2];k[a+4>>2]=k[c+312+4>>2];k[a+8>>2]=k[c+312+8>>2];k[c+312>>2]=0;k[c+312+4>>2]=0;k[c+312+8>>2]=0;dTa(c+312|0);g=224;break a}}break}case 10:{w=0;cb(138,c+276|0,262578,14);j=w;w=0;if(!(j&1)){w=0;j=ya(682,b|0)|0;f=w;w=0;if(!(f&1)){x=c;y=j;z=x+40|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));w=0;cb(437,c+264|0,c|0,0);j=w;w=0;if(!(j&1)){j=i[c+264>>0]|0;w=0;f=Ea(68,c+276|0,((j&1)==0?c+264+1|0:k[c+264+8>>2]|0)|0,((j&1)==0?(j&255)>>>1:k[c+264+4>>2]|0)|0)|0;j=w;w=0;if(j&1){j=Ib()|0;da=L;ea=j}else{k[c+288>>2]=k[f>>2];k[c+288+4>>2]=k[f+4>>2];k[c+288+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;w=0;cb(138,c+252|0,262593,2);f=w;w=0;do if(!(f&1)){j=i[c+252>>0]|0;w=0;h=Ea(68,c+288|0,((j&1)==0?c+252+1|0:k[c+252+8>>2]|0)|0,((j&1)==0?(j&255)>>>1:k[c+252+4>>2]|0)|0)|0;j=w;w=0;if(j&1){j=Ib()|0;d=L;dTa(c+252|0);fa=d;ga=j;break};k[c+300>>2]=k[h>>2];k[c+300+4>>2]=k[h+4>>2];k[c+300+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}else{k[a>>2]=k[c+300>>2];k[a+4>>2]=k[c+300+4>>2];k[a+8>>2]=k[c+300+8>>2];k[c+300>>2]=0;k[c+300+4>>2]=0;k[c+300+8>>2]=0;dTa(c+300|0);dTa(c+252|0);dTa(c+288|0);dTa(c+264|0);dTa(c+276|0);g=224;break a}}else{h=Ib()|0;fa=L;ga=h}while(0);dTa(c+288|0);da=fa;ea=ga}dTa(c+264|0);ha=da;ia=ea}else g=190}else g=190;if((g|0)==190){f=Ib()|0;ha=L;ia=f}dTa(c+276|0);p=ha;q=ia;dTa(a);Hb(q|0)}break}case 11:{w=0;cb(138,c+240|0,262596,19);f=w;w=0;if(!(f&1)){if(!(i[a>>0]&1)){i[a+1>>0]=0;i[a>>0]=0}else{i[k[a+8>>2]>>0]=0;k[a+4>>2]=0}w=0;ua(708,a|0,0);f=w;w=0;if(f&1){f=Ib(0)|0;Zc(f)}else{k[a>>2]=k[c+240>>2];k[a+4>>2]=k[c+240+4>>2];k[a+8>>2]=k[c+240+8>>2];k[c+240>>2]=0;k[c+240+4>>2]=0;k[c+240+8>>2]=0;dTa(c+240|0);g=224;break a}}break}case 0:{k[c+216>>2]=0;k[c+216+4>>2]=0;k[c+216+8>>2]=0;k[c+216+12>>2]=0;k[c+216+16>>2]=0;k[c+216+20>>2]=-1;k[c+216>>2]=41936;k[c+216+4>>2]=41960;w=0;cb(138,c+184|0,262616,22);f=w;w=0;if(f&1){f=Ib()|0;ja=L;ka=f}else{k[c+200>>2]=13804;w=0;ua(724,c+200+4|0,c+184|0);f=w;w=0;if(f&1){f=Ib()|0;la=L;ma=f}else{w=0;f=Sa(681,c+216|0,c+200|0)|0;h=w;w=0;if(!(h&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=262441;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=262157;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=200;w=0;sa(1680,f|0);w=0}f=Ib()|0;h=L;k[c+200>>2]=13804;dTa(c+200+4|0);la=h;ma=f}dTa(c+184|0);ja=la;ka=ma}k[c+216+4>>2]=13668;f=k[c+216+8>>2]|0;if(f){w=0;h=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;f=w;w=0;if(f&1){f=Ib(0)|0;Zc(f)}if(h)k[c+216+8>>2]=0}p=ja;q=ka;dTa(a);Hb(q|0);break}default:{k[c+160>>2]=0;k[c+160+4>>2]=0;k[c+160+8>>2]=0;k[c+160+12>>2]=0;k[c+160+16>>2]=0;k[c+160+20>>2]=-1;k[c+160>>2]=16032;k[c+160+4>>2]=16056;w=0;kb(201,c+160|0,262441,262157,203);w=0;h=Ib()|0;f=L;k[c+160+4>>2]=13668;j=k[c+160+8>>2]|0;if(j){w=0;d=ya(k[(k[j>>2]|0)+16>>2]|0,j|0)|0;j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}if(d)k[c+160+8>>2]=0}p=f;q=h;dTa(a);Hb(q|0)}}while(0);do if((g|0)==224){if(((k[b+32>>2]|0)+-1|0)>>>0>=2){r=c;return}w=0;Sa(549,a|0,262639)|0;ka=w;w=0;if(!(ka&1)){w=0;if((k[b+32>>2]|0)==1){lTa(a,262643)|0;ka=w;w=0;if(ka&1)break;r=c;return}else{lTa(a,262647)|0;ka=w;w=0;if(ka&1)break;r=c;return}}}while(0);c=Ib()|0;p=L;q=c;dTa(a);Hb(q|0)}function bDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=r;r=r+64|0;if((k[a>>2]|0)!=1){d=EPa(56)|0;k[d+4>>2]=0;k[d+8>>2]=0;k[d>>2]=15180;e=d+16|0;f=b;b=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(b|0));k[a+8>>2]=d+16;f=k[a+12>>2]|0;k[a+12>>2]=d;if(!f){r=c;return}QSa(f);r=c;return}k[c+32>>2]=0;k[c+32+4>>2]=0;k[c+32+8>>2]=0;k[c+32+12>>2]=0;k[c+32+16>>2]=0;k[c+32+20>>2]=-1;k[c+32>>2]=43012;k[c+32+4>>2]=43036;w=0;cb(138,c|0,282012,0);f=w;w=0;if(f&1){f=Ib()|0;g=L;h=f}else{k[c+16>>2]=13804;w=0;ua(724,c+16+4|0,c|0);f=w;w=0;if(f&1){f=Ib()|0;i=L;j=f}else{w=0;f=Sa(585,c+32|0,c+16|0)|0;d=w;w=0;if(!(d&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=262722;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=262773;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=90;w=0;sa(1645,f|0);w=0}f=Ib()|0;d=L;k[c+16>>2]=13804;dTa(c+16+4|0);i=d;j=f}dTa(c);g=i;h=j}k[c+32+4>>2]=13668;j=k[c+32+8>>2]|0;if(!j)Hb(h|0);w=0;i=ya(k[(k[j>>2]|0)+16>>2]|0,j|0)|0;j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}if(!i)Hb(h|0);k[c+32+8>>2]=0;Hb(h|0)}function cDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+32|0;k[e>>2]=45752;f=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[e+4>>2]=13668;a=k[f+4>>2]|0;k[e+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;Hb(a|0)}a=k[f+8+4>>2]|0;k[e+12>>2]=k[f+8>>2];k[e+12+4>>2]=a;k[e>>2]=16032;k[e+4>>2]=16056;k[e+12>>2]=b;k[e+16>>2]=c;k[e+20>>2]=d;w=0;sa(1648,e|0);w=0;d=Ib()|0;k[e+4>>2]=13668;c=k[e+8>>2]|0;if(!c)Hb(d|0);w=0;b=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!b)Hb(d|0);k[e+8>>2]=0;Hb(d|0)}function dDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;c=r;r=r+32|0;d=EPa(16)|0;k[d>>2]=13804;w=0;ua(724,d+4|0,b+4|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;GPa(d);f=e;g=b;Hb(g|0)}k[c+16>>2]=d;k[c+16+4>>2]=0;w=0;cb(144,c+16|0,d|0,c+16+4|0);d=w;w=0;if(d&1){d=Ib()|0;b=k[c+16+4>>2]|0;if(!b)Hb(d|0);e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){h=Ib(0)|0;i=L;Zc(h)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){h=Ib(0)|0;i=L;Zc(h)}else Hb(d|0)}d=a+(k[(k[a>>2]|0)+-24>>2]|0)+4|0;h=k[d>>2]|0;do if(!h){w=0;i=ya(665,32)|0;b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b;m=c+16+4|0;break}else{k[i>>2]=13932;k[i+8>>2]=0;k[i+12>>2]=0;k[i+4>>2]=i+8;k[i+16>>2]=0;k[i+16+4>>2]=0;k[i+16+8>>2]=0;k[d>>2]=i;k[i+28>>2]=1;n=i;o=15;break}}else{n=h;o=15}while(0);do if((o|0)==15){h=k[(k[n>>2]|0)+8>>2]|0;k[c+8>>2]=k[c+16>>2];d=c+16+4|0;i=k[d>>2]|0;k[c+8+4>>2]=i;if(i)k[i+4>>2]=(k[i+4>>2]|0)+1;k[c>>2]=256;w=0;cb(h|0,n|0,c+8|0,c|0);h=w;w=0;if(h&1){h=Ib()|0;i=L;b=k[c+8+4>>2]|0;if(!b){j=i;l=h;m=d;break}e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){p=Ib(0)|0;q=L;Zc(p)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(!(b&1)){j=i;l=h;m=d;break}p=Ib(0)|0;q=L;Zc(p)}h=k[c+8+4>>2]|0;if((h|0)!=0?(i=k[h+4>>2]|0,k[h+4>>2]=i+-1,(i|0)==1):0){w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);i=w;w=0;if(i&1){s=Ib(0)|0;t=L;Zc(s)}i=k[h+8>>2]|0;k[h+8>>2]=i+-1;if((i|0)==1?(w=0,sa(k[(k[h>>2]|0)+12>>2]|0,h|0),h=w,w=0,h&1):0){s=Ib(0)|0;t=L;Zc(s)}}h=k[d>>2]|0;if(!h){r=c;return a|0}d=k[h+4>>2]|0;k[h+4>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);d=w;w=0;if(d&1){u=Ib(0)|0;v=L;Zc(u)}d=k[h+8>>2]|0;k[h+8>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+12>>2]|0,h|0);h=w;w=0;if(h&1){u=Ib(0)|0;v=L;Zc(u)}else{r=c;return a|0}}while(0);a=k[m>>2]|0;if(!a){f=j;g=l;Hb(g|0)}m=k[a+4>>2]|0;k[a+4>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+8>>2]|0,a|0);m=w;w=0;if(m&1){x=Ib(0)|0;y=L;Zc(x)}m=k[a+8>>2]|0;k[a+8>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+12>>2]|0,a|0);a=w;w=0;if(a&1){x=Ib(0)|0;y=L;Zc(x)}else{f=j;g=l;Hb(g|0)}return 0}function eDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;b=r;r=r+32|0;c=vb(28)|0;k[b>>2]=45752;d=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[d+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;e=L;f=a}else{k[b+12>>2]=k[d+8>>2];k[b+12+4>>2]=k[d+8+4>>2];k[b+12+8>>2]=k[d+8+8>>2];k[b>>2]=41936;k[b+4>>2]=41960;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=-1;k[c>>2]=42e3;k[c+4>>2]=42032;k[c+24>>2]=42060;w=0;ua(723,c+4|0,b+4|0);d=w;w=0;if(d&1){d=Ib()|0;a=L;k[c+4>>2]=13668;g=k[c+8>>2]|0;if(g){w=0;h=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(h)k[c+8>>2]=0}i=1;j=a;l=d}else{w=0;cb(142,c|0,9632,1402);w=0;d=Ib()|0;i=0;j=L;l=d}k[b+4>>2]=13668;d=k[b+8>>2]|0;if(d){w=0;a=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(a)k[b+8>>2]=0}if(i){e=j;f=l}else{m=j;n=l;Hb(n|0)}}ub(c|0);m=e;n=f;Hb(n|0)}function fDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;d=r;r=r+128|0;e=d+80|0;f=b;g=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));h=k[d+80+32>>2]|0;j=k[d+80>>2]|0;if((h|0)!=1|(j|0)!=0){l=h;h=j;j=0;while(1){m=j+1|0;do if(!l){k[d+80+32>>2]=1;k[d+80>>2]=0;n=1;o=0}else{p=l+-1|0;q=(((k[d+80+(p<<2)>>2]|0)>>>0<256)<<31>>31)+l|0;if(!q){k[d+80+32>>2]=1;k[d+80>>2]=0;n=1;o=0;break}s=h>>>8;k[d+80>>2]=s;if(l>>>0>1){t=1;u=s;v=d+80|0;x=0;while(1){k[v>>2]=k[d+80+(t<<2)>>2]<<24|u;y=x+1|0;v=d+80+(y<<2)|0;u=(k[v>>2]|0)>>>8;k[v>>2]=u;if((y|0)==(p|0))break;else{t=x+2|0;x=y}}z=k[d+80>>2]|0}else z=s;x=q>>>0>8?8:q;k[d+80+32>>2]=x;n=x;o=z}while(0);if((n|0)!=1|(o|0)!=0){l=n;h=o;j=m}else{A=m;break}}}else A=0;j=A>>>0>c>>>0?A:c;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;if(!j){e=d;f=b;g=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));B=d+40|0;r=d;return}if(!((j|0)<0?(w=0,sa(1641,a|0),c=w,w=0,c&1):0))C=6;if((C|0)==6?(w=0,C=ya(665,j|0)|0,c=w,w=0,!(c&1)):0){k[a+4>>2]=C;k[a>>2]=C;k[a+8>>2]=C+j;c=j;j=C;while(1){i[j>>0]=0;D=(k[a+4>>2]|0)+1|0;k[a+4>>2]=D;c=c+-1|0;if(!c)break;else j=D}j=k[a>>2]|0;e=d;f=b;g=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));if((D|0)==(j|0)){B=d+40|0;r=d;return}f=D-j|0;do{k[d+40>>2]=255;k[d+40+32>>2]=1;k[d+80>>2]=0;k[d+80+32>>2]=1;Jja(d+80|0,d,d+40|0);f=f+-1|0;i[(k[a>>2]|0)+f>>0]=k[d+80>>2];j=k[d+32>>2]|0;do if(!j){k[d+32>>2]=1;k[d>>2]=0}else{D=(((k[d+(j+-1<<2)>>2]|0)>>>0<256)<<31>>31)+j|0;if(!D){k[d+32>>2]=1;k[d>>2]=0;break}e=(k[d>>2]|0)>>>8;k[d>>2]=e;if(j>>>0>1){g=1;b=e;e=d;c=0;while(1){k[e>>2]=k[d+(g<<2)>>2]<<24|b;C=c+1|0;e=d+(C<<2)|0;b=(k[e>>2]|0)>>>8;k[e>>2]=b;if((C|0)==(j+-1|0))break;else{g=c+2|0;c=C}}}k[d+32>>2]=D>>>0>8?8:D}while(0)}while((f|0)!=0);B=d+40|0;r=d;return}d=Ib()|0;B=k[a>>2]|0;if(!B)Hb(d|0);if((k[a+4>>2]|0)!=(B|0))k[a+4>>2]=B;GPa(B);Hb(d|0)}function gDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;d=r;r=r+144|0;e=EPa(32)|0;k[d+120>>2]=e;k[d+120+8>>2]=e+32;f=e;g=f+32|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(g|0));k[d+120+4>>2]=e+32;f=d;h=b;g=f+40|0;do{k[f>>2]=k[h>>2];f=f+4|0;h=h+4|0}while((f|0)<(g|0));h=32;do{k[d+40>>2]=255;k[d+40+32>>2]=1;k[d+80>>2]=0;k[d+80+32>>2]=1;Jja(d+80|0,d,d+40|0);h=h+-1|0;i[e+h>>0]=k[d+80>>2];f=k[d+32>>2]|0;do if(!f){k[d+32>>2]=1;k[d>>2]=0}else{g=(((k[d+(f+-1<<2)>>2]|0)>>>0<256)<<31>>31)+f|0;if(!g){k[d+32>>2]=1;k[d>>2]=0;break}b=(k[d>>2]|0)>>>8;k[d>>2]=b;if(f>>>0>1){j=1;l=b;b=d;m=0;while(1){k[b>>2]=k[d+(j<<2)>>2]<<24|l;n=m+1|0;b=d+(n<<2)|0;l=(k[b>>2]|0)>>>8;k[b>>2]=l;if((n|0)==(f+-1|0))break;else{j=m+2|0;m=n}}}k[d+32>>2]=g>>>0>8?8:g}while(0)}while((h|0)!=0);w=0;kb(99,d+132|0,d+120|0,2,0);h=w;w=0;if(h&1){h=Ib()|0;f=L;k[d+120+4>>2]=e;GPa(e);o=f;p=h;Hb(p|0)}k[d+120+4>>2]=e;GPa(e);do if((c|0)!=1){w=0;ua(724,a|0,d+132|0);e=w;w=0;if(e&1){e=Ib()|0;q=L;s=e;break}else{dTa(d+132|0);r=d;return}}else{k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;e=i[d+132>>0]|0;h=(e&1)==0?(e&255)>>>1:k[d+132+4>>2]|0;w=0;kb(82,a|0,268195,2,h+2|0);e=w;w=0;if(!(e&1)?(w=0,Ea(68,a|0,((i[d+132>>0]&1)==0?d+132+1|0:k[d+132+8>>2]|0)|0,h|0)|0,h=w,w=0,!(h&1)):0){dTa(d+132|0);r=d;return}h=Ib()|0;e=L;dTa(a);q=e;s=h}while(0);dTa(d+132|0);o=q;p=s;Hb(p|0)}function hDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=r;r=r+128|0;d=c;e=b;b=d+40|0;do{k[d>>2]=k[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(b|0));e=32;do{k[c+40>>2]=255;k[c+40+32>>2]=1;k[c+80>>2]=0;k[c+80+32>>2]=1;Jja(c+80|0,c,c+40|0);e=e+-1|0;i[a+e>>0]=k[c+80>>2];d=k[c+32>>2]|0;do if(!d){k[c+32>>2]=1;k[c>>2]=0}else{b=(((k[c+(d+-1<<2)>>2]|0)>>>0<256)<<31>>31)+d|0;if(!b){k[c+32>>2]=1;k[c>>2]=0;break}f=(k[c>>2]|0)>>>8;k[c>>2]=f;if(d>>>0>1){g=1;h=f;f=c;j=0;while(1){k[f>>2]=k[c+(g<<2)>>2]<<24|h;l=j+1|0;f=c+(l<<2)|0;h=(k[f>>2]|0)>>>8;k[f>>2]=h;if((l|0)==(d+-1|0))break;else{g=j+2|0;j=l}}}k[c+32>>2]=b>>>0>8?8:b}while(0)}while((e|0)!=0);r=c;return}function iDa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function jDa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function kDa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(28)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(438,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-32>>2]|0)|0}return 0}function lDa(a){a=a|0;var b=0,c=0;b=vb(28)|0;k[b>>2]=45752;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[c+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;ub(b|0);Hb(a|0)}k[b+12>>2]=k[c+8>>2];k[b+12+4>>2]=k[c+8+4>>2];k[b+12+8>>2]=k[c+8+8>>2];k[b>>2]=42e3;k[b+4>>2]=42032;k[b+24>>2]=42060;Xb(b|0,9632,1402)}function mDa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function nDa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function oDa(a){a=a|0;var b=0,c=0,d=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(28)|0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42e3;k[a+4>>2]=42032;k[a+24>>2]=42060;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return a+(k[(k[a>>2]|0)+-32>>2]|0)|0;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c){GPa(a);Hb(b|0)}w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d){GPa(a);Hb(b|0)}k[a+8>>2]=0;GPa(a);Hb(b|0);return 0}function pDa(a){a=a|0;lDa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function qDa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function rDa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function sDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42e3;k[a+4>>2]=42032;k[a+24>>2]=42060;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c)Hb(b|0);w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d)Hb(b|0);k[a+8>>2]=0;Hb(b|0)}function tDa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function uDa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function vDa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function wDa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function xDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;c=r;r=r+224|0;d=(i[a+40>>0]|0)==0;if(i[b+40>>0]|0){if(!d){r=c;return a|0}k[a>>2]=0;k[a+4>>2]=k[c+180>>2];k[a+4+4>>2]=k[c+180+4>>2];k[a+4+8>>2]=k[c+180+8>>2];k[a+4+12>>2]=k[c+180+12>>2];k[a+4+16>>2]=k[c+180+16>>2];k[a+4+20>>2]=k[c+180+20>>2];k[a+4+24>>2]=k[c+180+24>>2];k[a+32>>2]=1;i[a+40>>0]=1;r=c;return a|0}if(!d){r=c;return a|0}k[c+80>>2]=0;d=c+80+8|0;k[d>>2]=1;i[c+80+12>>0]=0;e=c+80+13|0;i[e>>0]=1;f=k[a+32>>2]|0;g=f>>>0>134217728?134217728:f;if(g>>>0>2){h=g>>>0>8?g:8;j=EPa(h<<2)|0;k[j>>2]=k[c+80>>2];i[e>>0]=0;k[d>>2]=g;k[c+80>>2]=h;k[c+80+4>>2]=j;l=j}else{k[d>>2]=g;l=c+80|0}J0a(l|0,a|0,(f>>>0>134217728?536870912:f<<2)|0)|0;i[c+80+12>>0]=0;if(!(i[e>>0]|0))m=k[c+80+4>>2]|0;else m=c+80|0;f=(k[d>>2]|0)+-1|0;a:do if(f){l=f;do{if(k[m+(l<<2)>>2]|0)break a;k[d>>2]=l;l=l+-1|0}while((l|0)!=0)}while(0);k[c+96>>2]=0;k[c+96+8>>2]=1;i[c+96+12>>0]=0;i[c+96+13>>0]=1;w=0;cb(439,c+96|0,c+80|0,b|0);b=w;w=0;if(b&1){b=Ib()|0;d=L;if(!(i[c+96+13>>0]|0))GPa(k[c+96+4>>2]|0);if(i[e>>0]|0){n=d;o=b;Hb(o|0)}GPa(k[c+80+4>>2]|0);n=d;o=b;Hb(o|0)}if(!(i[e>>0]|0))GPa(k[c+80+4>>2]|0);if((i[9664]|0)==0?(qb(9664)|0)!=0:0){k[c+112+32>>2]=8;k[c+112>>2]=-1;e=1;do{k[c+112+(e<<2)>>2]=-1;e=e+1|0;p=k[c+112+32>>2]|0}while(e>>>0>>0);b:do if(p+-1|0){e=p+-1|0;do{if(k[c+112+(e<<2)>>2]|0)break b;k[c+112+32>>2]=e;e=e+-1|0}while((e|0)!=0)}while(0);q=9672;s=c+112|0;t=q+40|0;do{k[q>>2]=k[s>>2];q=q+4|0;s=s+4|0}while((q|0)<(t|0));yb(9664)}q=c+40|0;s=9672;t=q+40|0;do{k[q>>2]=k[s>>2];q=q+4|0;s=s+4|0}while((q|0)<(t|0));w=0;p=Sa(621,c+96|0,c+40|0)|0;e=w;w=0;if(e&1){e=Ib()|0;b=L;if(i[c+96+13>>0]|0){n=b;o=e;Hb(o|0)}GPa(k[c+96+4>>2]|0);n=b;o=e;Hb(o|0)}if(p){k[a>>2]=0;k[a+4>>2]=k[c+152>>2];k[a+4+4>>2]=k[c+152+4>>2];k[a+4+8>>2]=k[c+152+8>>2];k[a+4+12>>2]=k[c+152+12>>2];k[a+4+16>>2]=k[c+152+16>>2];k[a+4+20>>2]=k[c+152+20>>2];k[a+4+24>>2]=k[c+152+24>>2];k[a+32>>2]=1;i[a+40>>0]=1}else{k[c>>2]=0;k[c+32>>2]=1;AN(c,c+96|0,c+112|0,c+208|0);q=a;s=c;t=q+36|0;do{k[q>>2]=k[s>>2];q=q+4|0;s=s+4|0}while((q|0)<(t|0))}if(!(i[c+96+13>>0]|0))GPa(k[c+96+4>>2]|0);r=c;return a|0}function yDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;e=r;r=r+2256|0;k[a>>2]=0;k[a+32>>2]=1;i[a+40>>0]=0;switch(k[c>>2]|0){case 11:case 10:case 7:case 6:case 5:case 3:case 9:case 4:case 2:{f=zDa(96)|0;k[a>>2]=f;k[a+4>>2]=k[e+2156>>2];k[a+4+4>>2]=k[e+2156+4>>2];k[a+4+8>>2]=k[e+2156+8>>2];k[a+4+12>>2]=k[e+2156+12>>2];k[a+4+16>>2]=k[e+2156+16>>2];k[a+4+20>>2]=k[e+2156+20>>2];k[a+4+24>>2]=k[e+2156+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case 8:{k[a>>2]=1;k[a+4>>2]=k[e+2128>>2];k[a+4+4>>2]=k[e+2128+4>>2];k[a+4+8>>2]=k[e+2128+8>>2];k[a+4+12>>2]=k[e+2128+12>>2];k[a+4+16>>2]=k[e+2128+16>>2];k[a+4+20>>2]=k[e+2128+20>>2];k[a+4+24>>2]=k[e+2128+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case 1:{f=k[(k[b>>2]|0)+56>>2]|0;do switch((cja(c)|0)<<24>>24){case 85:{h=k[b>>2]|0;k[e+2112>>2]=-1;k[e+2112+4>>2]=-1;k[e+2112+8>>2]=0;k[e+2112+12>>2]=0;w=0;j=Ea(104,h|0,0,e+2112|0)|0;h=w;w=0;if(h&1){h=Ib()|0;l=L;m=k[e+2112+12>>2]|0;if(!m){n=h;o=l;Hb(n|0)}QSa(m);n=h;o=l;Hb(n|0)}l=k[e+2112+12>>2]|0;if(l)QSa(l);l=k[b>>2]|0;k[e+2096>>2]=-1;k[e+2096+4>>2]=-1;k[e+2096+8>>2]=0;k[e+2096+12>>2]=0;w=0;h=Ea(104,l|0,-1,e+2096|0)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;p=k[e+2096+12>>2]|0;if(!p){n=l;o=m;Hb(n|0)}QSa(p);n=l;o=m;Hb(n|0)}m=k[e+2096+12>>2]|0;if(m)QSa(m);a:do if(!(Xja(f,h)|0)){m=k[(k[b>>2]|0)+24>>2]|0;b:do if(m){l=m;while(1){p=k[l+16>>2]|0;if(j>>>0
>>0)q=l;else{if(p>>>0>=j>>>0){s=m;break}q=l+4|0}l=k[q>>2]|0;if(!l)break b}while(1){l=k[s+16>>2]|0;if(j>>>0>>0){p=k[s>>2]|0;if(!p)break;else t=p}else{if(l>>>0>=j>>>0){u=s;v=23;break}l=k[s+4>>2]|0;if(!l)break;else t=l}s=t}if((v|0)==23?(u|0)!=0:0)if(Uja(f,k[u+20>>2]|0)|0)break a;else break;l=vb(8)|0;w=0;ua(756,l|0,269474);p=w;w=0;if(p&1){p=Ib()|0;ub(l|0);Hb(p|0)}else{k[l>>2]=45832;Xb(l|0,11184,530)}}while(0);k[a>>2]=2e4;k[a+4>>2]=k[e+2036>>2];k[a+4+4>>2]=k[e+2036+4>>2];k[a+4+8>>2]=k[e+2036+8>>2];k[a+4+12>>2]=k[e+2036+12>>2];k[a+4+16>>2]=k[e+2036+16>>2];k[a+4+20>>2]=k[e+2036+20>>2];k[a+4+24>>2]=k[e+2036+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}while(0);k[a>>2]=5e3;k[a+4>>2]=k[e+2064>>2];k[a+4+4>>2]=k[e+2064+4>>2];k[a+4+8>>2]=k[e+2064+8>>2];k[a+4+12>>2]=k[e+2064+12>>2];k[a+4+16>>2]=k[e+2064+16>>2];k[a+4+20>>2]=k[e+2064+20>>2];k[a+4+24>>2]=k[e+2064+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case 84:{k[a>>2]=(k[b+8>>2]|0)>0?200:50;k[a+4>>2]=k[e+2008>>2];k[a+4+4>>2]=k[e+2008+4>>2];k[a+4+8>>2]=k[e+2008+8>>2];k[a+4+12>>2]=k[e+2008+12>>2];k[a+4+16>>2]=k[e+2008+16>>2];k[a+4+20>>2]=k[e+2008+20>>2];k[a+4+24>>2]=k[e+2008+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case -3:case -13:{j=zDa(cja(c)|0)|0;k[a>>2]=j;k[a+4>>2]=k[e+1980>>2];k[a+4+4>>2]=k[e+1980+4>>2];k[a+4+8>>2]=k[e+1980+8>>2];k[a+4+12>>2]=k[e+1980+12>>2];k[a+4+16>>2]=k[e+1980+16>>2];k[a+4+20>>2]=k[e+1980+20>>2];k[a+4+24>>2]=k[e+1980+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;ADa(e+992|0,b,0,-1);xDa(a,e+992|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case 82:case 81:{j=zDa(cja(c)|0)|0;k[a>>2]=j;k[a+4>>2]=k[e+1952>>2];k[a+4+4>>2]=k[e+1952+4>>2];k[a+4+8>>2]=k[e+1952+8>>2];k[a+4+12>>2]=k[e+1952+12>>2];k[a+4+16>>2]=k[e+1952+16>>2];k[a+4+20>>2]=k[e+1952+20>>2];k[a+4+24>>2]=k[e+1952+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;k[e+1908>>2]=1;i[e+1908+4>>0]=1;k[e+1908+8>>2]=0;k[e+1908+12>>2]=0;k[e+1908+16>>2]=-1;k[e+1908+16+4>>2]=-1;j=e+1908+24|0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;k[j+12>>2]=0;k[j+16>>2]=0;j=k[b>>2]|0;k[e+1880>>2]=-1;k[e+1880+4>>2]=-1;k[e+1880+8>>2]=0;k[e+1880+12>>2]=0;w=0;h=Ea(104,j|0,0,e+1880|0)|0;j=w;w=0;do if(!(j&1)){k[e+904>>2]=32;k[e+904+32>>2]=1;x=e+2184|0;y=e+904+4|0;z=x+36|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));k[e+1832>>2]=2;k[e+1832+8>>2]=0;k[e+1832+12>>2]=0;k[e+1832+16>>2]=-1;k[e+1832+16+4>>2]=-1;m=e+1832+24|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[m+16>>2]=0;w=0;m=ya(665,56)|0;l=w;w=0;if(l&1){l=Ib()|0;A=l;B=L;break}k[m+4>>2]=0;k[m+8>>2]=0;k[m>>2]=15180;k[m+16>>2]=32;x=m+20|0;y=e+2184|0;z=x+36|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));k[e+1832+8>>2]=m+16;k[e+1832+12>>2]=m;k[e+1820>>2]=0;l=e+1820+4|0;k[l>>2]=0;k[e+1820+8>>2]=0;w=0;p=Ua(63,f|0,e+1832|0,e+1820|0,1,0)|0;C=w;w=0;do if(!(C&1)){k[e+1896>>2]=0;D=e+1896+4|0;k[D>>2]=0;k[e+1896+8>>2]=0;w=0;E=ya(665,8)|0;F=w;w=0;if(F&1){F=Ib()|0;G=L;H=F;v=69;break}k[e+1896>>2]=E;k[e+1896+8>>2]=E+8;k[E>>2]=h;k[E+4>>2]=p;k[D>>2]=E+8;w=0;E=Ua(63,f|0,e+1908|0,e+1896|0,1,0)|0;F=w;w=0;if((!(F&1)?(w=0,cb(440,e+944|0,b|0,E|0),E=w,w=0,!(E&1)):0)?(w=0,Sa(583,a|0,e+944|0)|0,E=w,w=0,!(E&1)):0){E=k[e+1896>>2]|0;if(E){F=k[D>>2]|0;if((F|0)!=(E|0))k[D>>2]=F+(~((F+-4-E|0)>>>2)<<2);GPa(E)}E=k[e+1820>>2]|0;if(E){F=k[l>>2]|0;if((F|0)!=(E|0))k[l>>2]=F+(~((F+-4-E|0)>>>2)<<2);GPa(E)}E=k[e+1832+40>>2]|0;if(E)QSa(E);E=k[e+1832+28>>2]|0;if(E)QSa(E);E=k[e+1832+12>>2]|0;if(E)QSa(E);E=k[e+1880+12>>2]|0;if(E)QSa(E);E=k[e+1908+40>>2]|0;if(E)QSa(E);E=k[e+1908+28>>2]|0;if(E)QSa(E);E=k[e+1908+12>>2]|0;if(!E){g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}QSa(E);g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}E=Ib()|0;F=L;I=k[e+1896>>2]|0;if(!I){J=E;K=F}else{M=k[D>>2]|0;if((M|0)!=(I|0))k[D>>2]=M+(~((M+-4-I|0)>>>2)<<2);GPa(I);J=E;K=F}}else{F=Ib()|0;G=L;H=F;v=69}while(0);if((v|0)==69){J=H;K=G}p=k[e+1820>>2]|0;if(p){C=k[l>>2]|0;if((C|0)!=(p|0))k[l>>2]=C+(~((C+-4-p|0)>>>2)<<2);GPa(p)}p=k[e+1832+40>>2]|0;if(p)QSa(p);p=k[e+1832+28>>2]|0;if(p)QSa(p);p=k[e+1832+12>>2]|0;if(!p){A=J;B=K}else{QSa(p);A=J;B=K}}else{p=Ib()|0;A=p;B=L}while(0);h=k[e+1880+12>>2]|0;if(h)QSa(h);h=k[e+1908+40>>2]|0;if(h)QSa(h);h=k[e+1908+28>>2]|0;if(h)QSa(h);h=k[e+1908+12>>2]|0;if(!h){n=A;o=B;Hb(n|0)}QSa(h);n=A;o=B;Hb(n|0);break}case 83:{h=zDa(cja(c)|0)|0;k[a>>2]=h;k[a+4>>2]=k[e+1792>>2];k[a+4+4>>2]=k[e+1792+4>>2];k[a+4+8>>2]=k[e+1792+8>>2];k[a+4+12>>2]=k[e+1792+12>>2];k[a+4+16>>2]=k[e+1792+16>>2];k[a+4+20>>2]=k[e+1792+20>>2];k[a+4+24>>2]=k[e+1792+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;k[e+1748>>2]=1;i[e+1748+4>>0]=1;k[e+1748+8>>2]=0;k[e+1748+12>>2]=0;k[e+1748+16>>2]=-1;k[e+1748+16+4>>2]=-1;h=e+1748+24|0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;h=k[b>>2]|0;k[e+1720>>2]=-1;k[e+1720+4>>2]=-1;k[e+1720+8>>2]=0;k[e+1720+12>>2]=0;w=0;j=Ea(104,h|0,0,e+1720|0)|0;h=w;w=0;do if(!(h&1)){k[e+816>>2]=1;k[e+816+32>>2]=1;x=e+1040|0;y=e+816+4|0;z=x+36|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));k[e+1672>>2]=2;k[e+1672+8>>2]=0;k[e+1672+12>>2]=0;k[e+1672+16>>2]=-1;k[e+1672+16+4>>2]=-1;l=e+1672+24|0;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[l+16>>2]=0;w=0;l=ya(665,56)|0;p=w;w=0;if(p&1){p=Ib()|0;N=p;O=L;break}k[l+4>>2]=0;k[l+8>>2]=0;k[l>>2]=15180;k[l+16>>2]=1;x=l+20|0;y=e+1040|0;z=x+36|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));k[e+1672+8>>2]=l+16;k[e+1672+12>>2]=l;k[e+1660>>2]=0;p=e+1660+4|0;k[p>>2]=0;k[e+1660+8>>2]=0;w=0;C=Ua(63,f|0,e+1672|0,e+1660|0,1,0)|0;m=w;w=0;do if(!(m&1)){k[e+1736>>2]=0;F=e+1736+4|0;k[F>>2]=0;k[e+1736+8>>2]=0;w=0;E=ya(665,8)|0;I=w;w=0;if(I&1){I=Ib()|0;P=L;Q=I;v=125;break}k[e+1736>>2]=E;k[e+1736+8>>2]=E+8;k[E>>2]=j;k[E+4>>2]=C;k[F>>2]=E+8;w=0;E=Ua(63,f|0,e+1748|0,e+1736|0,1,0)|0;I=w;w=0;if((!(I&1)?(w=0,cb(440,e+856|0,b|0,E|0),E=w,w=0,!(E&1)):0)?(w=0,Sa(583,a|0,e+856|0)|0,E=w,w=0,!(E&1)):0){E=k[e+1736>>2]|0;if(E){I=k[F>>2]|0;if((I|0)!=(E|0))k[F>>2]=I+(~((I+-4-E|0)>>>2)<<2);GPa(E)}E=k[e+1660>>2]|0;if(E){I=k[p>>2]|0;if((I|0)!=(E|0))k[p>>2]=I+(~((I+-4-E|0)>>>2)<<2);GPa(E)}E=k[e+1672+40>>2]|0;if(E)QSa(E);E=k[e+1672+28>>2]|0;if(E)QSa(E);E=k[e+1672+12>>2]|0;if(E)QSa(E);E=k[e+1720+12>>2]|0;if(E)QSa(E);E=k[e+1748+40>>2]|0;if(E)QSa(E);E=k[e+1748+28>>2]|0;if(E)QSa(E);E=k[e+1748+12>>2]|0;if(!E){g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}QSa(E);g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}E=Ib()|0;I=L;M=k[e+1736>>2]|0;if(!M){R=E;S=I}else{D=k[F>>2]|0;if((D|0)!=(M|0))k[F>>2]=D+(~((D+-4-M|0)>>>2)<<2);GPa(M);R=E;S=I}}else{I=Ib()|0;P=L;Q=I;v=125}while(0);if((v|0)==125){R=Q;S=P}C=k[e+1660>>2]|0;if(C){m=k[p>>2]|0;if((m|0)!=(C|0))k[p>>2]=m+(~((m+-4-C|0)>>>2)<<2);GPa(C)}C=k[e+1672+40>>2]|0;if(C)QSa(C);C=k[e+1672+28>>2]|0;if(C)QSa(C);C=k[e+1672+12>>2]|0;if(!C){N=R;O=S}else{QSa(C);N=R;O=S}}else{C=Ib()|0;N=C;O=L}while(0);j=k[e+1720+12>>2]|0;if(j)QSa(j);j=k[e+1748+40>>2]|0;if(j)QSa(j);j=k[e+1748+28>>2]|0;if(j)QSa(j);j=k[e+1748+12>>2]|0;if(!j){n=N;o=O;Hb(n|0)}QSa(j);n=N;o=O;Hb(n|0);break}case 32:{k[a>>2]=30;k[a+4>>2]=k[e+1632>>2];k[a+4+4>>2]=k[e+1632+4>>2];k[a+4+8>>2]=k[e+1632+8>>2];k[a+4+12>>2]=k[e+1632+12>>2];k[a+4+16>>2]=k[e+1632+16>>2];k[a+4+20>>2]=k[e+1632+20>>2];k[a+4+24>>2]=k[e+1632+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;j=k[b>>2]|0;k[e+1616>>2]=-1;k[e+1616+4>>2]=-1;k[e+1616+8>>2]=0;k[e+1616+12>>2]=0;w=0;h=Ea(104,j|0,-1,e+1616|0)|0;j=w;w=0;if((!(j&1)?(w=0,kb(202,e+768|0,b|0,9712,h|0),h=w,w=0,!(h&1)):0)?(w=0,Sa(583,a|0,e+768|0)|0,h=w,w=0,!(h&1)):0){h=k[e+1616+12>>2]|0;if(h)QSa(h);ADa(e+720|0,b,0,-1);xDa(a,e+720|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}h=Ib()|0;j=L;C=k[e+1616+12>>2]|0;if(!C){n=h;o=j;Hb(n|0)}QSa(C);n=h;o=j;Hb(n|0);break}case 62:case 57:case 55:{j=zDa(cja(c)|0)|0;k[a>>2]=j;k[a+4>>2]=k[e+1584>>2];k[a+4+4>>2]=k[e+1584+4>>2];k[a+4+8>>2]=k[e+1584+8>>2];k[a+4+12>>2]=k[e+1584+12>>2];k[a+4+16>>2]=k[e+1584+16>>2];k[a+4+20>>2]=k[e+1584+20>>2];k[a+4+24>>2]=k[e+1584+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;ADa(e+672|0,b,0,-2);xDa(a,e+672|0)|0;j=k[b>>2]|0;k[e+1568>>2]=-1;k[e+1568+4>>2]=-1;k[e+1568+8>>2]=0;k[e+1568+12>>2]=0;w=0;h=Ea(104,j|0,-2,e+1568|0)|0;j=w;w=0;if((!(j&1)?(w=0,kb(202,e+624|0,b|0,9752,h|0),h=w,w=0,!(h&1)):0)?(w=0,Sa(583,a|0,e+624|0)|0,h=w,w=0,!(h&1)):0){h=k[e+1568+12>>2]|0;if(!h){g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}QSa(h);g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}h=Ib()|0;j=L;C=k[e+1568+12>>2]|0;if(!C){n=h;o=j;Hb(n|0)}QSa(C);n=h;o=j;Hb(n|0);break}case 59:{k[a>>2]=(k[b+8>>2]|0)>0?700:20;k[a+4>>2]=k[e+1540>>2];k[a+4+4>>2]=k[e+1540+4>>2];k[a+4+8>>2]=k[e+1540+8>>2];k[a+4+12>>2]=k[e+1540+12>>2];k[a+4+16>>2]=k[e+1540+16>>2];k[a+4+20>>2]=k[e+1540+20>>2];k[a+4+24>>2]=k[e+1540+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case 60:{k[a>>2]=(k[b+8>>2]|0)>0?700:20;k[a+4>>2]=k[e+1512>>2];k[a+4+4>>2]=k[e+1512+4>>2];k[a+4+8>>2]=k[e+1512+8>>2];k[a+4+12>>2]=k[e+1512+12>>2];k[a+4+16>>2]=k[e+1512+16>>2];k[a+4+20>>2]=k[e+1512+20>>2];k[a+4+24>>2]=k[e+1512+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;ADa(e+576|0,b,-1,-3);xDa(a,e+576|0)|0;j=k[b>>2]|0;k[e+1496>>2]=-1;k[e+1496+4>>2]=-1;k[e+1496+8>>2]=0;k[e+1496+12>>2]=0;w=0;h=Ea(104,j|0,-3,e+1496|0)|0;j=w;w=0;if((!(j&1)?(w=0,kb(202,e+528|0,b|0,9792,h|0),h=w,w=0,!(h&1)):0)?(w=0,Sa(583,a|0,e+528|0)|0,h=w,w=0,!(h&1)):0){h=k[e+1496+12>>2]|0;if(!h){g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}QSa(h);g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}h=Ib()|0;j=L;C=k[e+1496+12>>2]|0;if(!C){n=h;o=j;Hb(n|0)}QSa(C);n=h;o=j;Hb(n|0);break}case -92:case -93:case -94:case -95:case -96:{j=(((cja(c)|0)&255)*375|0)+-59625|0;k[a>>2]=j;k[a+4>>2]=k[e+1464>>2];k[a+4+4>>2]=k[e+1464+4>>2];k[a+4+8>>2]=k[e+1464+8>>2];k[a+4+12>>2]=k[e+1464+12>>2];k[a+4+16>>2]=k[e+1464+16>>2];k[a+4+20>>2]=k[e+1464+20>>2];k[a+4+24>>2]=k[e+1464+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;ADa(e+480|0,b,0,-1);xDa(a,e+480|0)|0;j=k[b>>2]|0;k[e+1448>>2]=-1;k[e+1448+4>>2]=-1;k[e+1448+8>>2]=0;k[e+1448+12>>2]=0;w=0;h=Ea(104,j|0,-1,e+1448|0)|0;j=w;w=0;if(!(j&1)?(w=0,j=Sa(673,f|0,h|0)|0,h=w,w=0,!(h&1)):0){h=k[e+1448+12>>2]|0;if(h)QSa(h);if(!j){k[a>>2]=0;k[a+4>>2]=k[e+1416>>2];k[a+4+4>>2]=k[e+1416+4>>2];k[a+4+8>>2]=k[e+1416+8>>2];k[a+4+12>>2]=k[e+1416+12>>2];k[a+4+16>>2]=k[e+1416+16>>2];k[a+4+20>>2]=k[e+1416+20>>2];k[a+4+24>>2]=k[e+1416+24>>2];k[a+32>>2]=1;i[a+40>>0]=1;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}k[e+1040>>2]=0;k[e+1040+32>>2]=1;h=k[j+32>>2]|0;if((e+1040|0)==(j|0)){T=j+32|0;U=h}else{C=h>>>0>8?8:h;k[e+1040+32>>2]=C;T=e+1040+32|0;U=C}C=e+1040+(U<<2)|0;if((e+1040|0)!=(C|0)){h=0;m=0;l=e+1040|0;I=j;while(1){j=I0a(k[I>>2]|0,0,3)|0;E=G0a(j|0,L|0,h|0,m|0)|0;V=L;k[l>>2]=E;l=l+4|0;if((l|0)==(C|0))break;else{h=V;m=0;I=I+4|0}}if(!((V|0)==0&0==0)?(I=k[T>>2]|0,m=(I+1|0)>>>0>8?8:I+1|0,k[T>>2]=m,m>>>0>I>>>0):0)k[e+1040+(I<<2)>>2]=V}I=(k[T>>2]|0)+-1|0;c:do if(I){m=I;do{if(k[e+1040+(m<<2)>>2]|0)break c;k[T>>2]=m;m=m+-1|0}while((m|0)!=0)}while(0);x=e+432|0;y=e+1040|0;z=x+40|0;do{k[x>>2]=k[y>>2];x=x+4|0;y=y+4|0}while((x|0)<(z|0));i[e+432+40>>0]=0;xDa(a,e+432|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}I=Ib()|0;m=L;p=k[e+1448+12>>2]|0;if(!p){n=I;o=m;Hb(n|0)}QSa(p);n=I;o=m;Hb(n|0);break}case -6:case -12:case -14:case -15:{if(d){k[a>>2]=0;k[a+4>>2]=k[e+1388>>2];k[a+4+4>>2]=k[e+1388+4>>2];k[a+4+8>>2]=k[e+1388+8>>2];k[a+4+12>>2]=k[e+1388+12>>2];k[a+4+16>>2]=k[e+1388+16>>2];k[a+4+20>>2]=k[e+1388+20>>2];k[a+4+24>>2]=k[e+1388+24>>2];k[a+32>>2]=1;i[a+40>>0]=1;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}k[a>>2]=(k[b+8>>2]|0)>0?700:40;k[a+4>>2]=k[e+1360>>2];k[a+4+4>>2]=k[e+1360+4>>2];k[a+4+8>>2]=k[e+1360+8>>2];k[a+4+12>>2]=k[e+1360+12>>2];k[a+4+16>>2]=k[e+1360+16>>2];k[a+4+20>>2]=k[e+1360+20>>2];k[a+4+24>>2]=k[e+1360+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;m=k[b>>2]|0;k[e+1344>>2]=-1;k[e+1344+4>>2]=-1;k[e+1344+8>>2]=0;k[e+1344+12>>2]=0;w=0;I=Ea(104,m|0,0,e+1344|0)|0;m=w;w=0;if(!(m&1)?(w=0,m=Sa(673,f|0,I|0)|0,I=w,w=0,!(I&1)):0){I=k[e+1344+12>>2]|0;if(I)QSa(I);if(!m){k[a>>2]=0;k[a+4>>2]=k[e+1312>>2];k[a+4+4>>2]=k[e+1312+4>>2];k[a+4+8>>2]=k[e+1312+8>>2];k[a+4+12>>2]=k[e+1312+12>>2];k[a+4+16>>2]=k[e+1312+16>>2];k[a+4+20>>2]=k[e+1312+20>>2];k[a+4+24>>2]=k[e+1312+24>>2];k[a+32>>2]=1;i[a+40>>0]=1}else{K0a(e+384|0,m|0,40)|0;i[e+384+40>>0]=0;xDa(a,e+384|0)|0}if((cja(c)|0)<<24>>24==-15){k[e+336>>2]=25e3;k[e+336+32>>2]=1;i[e+336+40>>0]=0;xDa(a,e+336|0)|0}do if((cja(c)|0)<<24>>24!=-12?(cja(c)|0)<<24>>24!=-6:0){m=k[b>>2]|0;k[e+1296>>2]=-1;k[e+1296+4>>2]=-1;k[e+1296+8>>2]=0;k[e+1296+12>>2]=0;w=0;I=Ea(104,m|0,-2,e+1296|0)|0;m=w;w=0;if(!(m&1)?(w=0,m=Sa(671,f|0,I|0)|0,I=w,w=0,!(I&1)):0){I=k[e+1296+12>>2]|0;if(I)QSa(I);if(m){W=1;break}k[e+288>>2]=9e3;k[e+288+32>>2]=1;i[e+288+40>>0]=0;xDa(a,e+288|0)|0;W=1;break}m=Ib()|0;I=L;p=k[e+1296+12>>2]|0;if(!p){n=m;o=I;Hb(n|0)}QSa(p);n=m;o=I;Hb(n|0)}else W=0;while(0);ADa(e+240|0,b,-2-W|0,-3-W|0);xDa(a,e+240|0)|0;ADa(e+192|0,b,-4-W|0,-5-W|0);xDa(a,e+192|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}I=Ib()|0;m=L;p=k[e+1344+12>>2]|0;if(!p){n=I;o=m;Hb(n|0)}QSa(p);n=I;o=m;Hb(n|0);break}case -1:{k[a>>2]=(k[b+8>>2]|0)>0?5e3:0;k[a+4>>2]=k[e+1268>>2];k[a+4+4>>2]=k[e+1268+4>>2];k[a+4+8>>2]=k[e+1268+8>>2];k[a+4+12>>2]=k[e+1268+12>>2];k[a+4+16>>2]=k[e+1268+16>>2];k[a+4+20>>2]=k[e+1268+20>>2];k[a+4+24>>2]=k[e+1268+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;k[e+144>>2]=25e3;k[e+144+32>>2]=1;i[e+144+40>>0]=0;xDa(a,e+144|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}case -5:case -16:{if(d){k[a>>2]=0;k[a+4>>2]=k[e+1240>>2];k[a+4+4>>2]=k[e+1240+4>>2];k[a+4+8>>2]=k[e+1240+8>>2];k[a+4+12>>2]=k[e+1240+12>>2];k[a+4+16>>2]=k[e+1240+16>>2];k[a+4+20>>2]=k[e+1240+20>>2];k[a+4+24>>2]=k[e+1240+24>>2];k[a+32>>2]=1;i[a+40>>0]=1;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}else{k[a>>2]=32e3;k[a+4>>2]=k[e+1212>>2];k[a+4+4>>2]=k[e+1212+4>>2];k[a+4+8>>2]=k[e+1212+8>>2];k[a+4+12>>2]=k[e+1212+12>>2];k[a+4+16>>2]=k[e+1212+16>>2];k[a+4+20>>2]=k[e+1212+20>>2];k[a+4+24>>2]=k[e+1212+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;ADa(e+96|0,b,-1,-2);xDa(a,e+96|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}break}case 10:{k[a>>2]=10;k[a+4>>2]=k[e+1184>>2];k[a+4+4>>2]=k[e+1184+4>>2];k[a+4+8>>2]=k[e+1184+8>>2];k[a+4+12>>2]=k[e+1184+12>>2];k[a+4+16>>2]=k[e+1184+16>>2];k[a+4+20>>2]=k[e+1184+20>>2];k[a+4+24>>2]=k[e+1184+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;m=k[b>>2]|0;k[e+1168>>2]=-1;k[e+1168+4>>2]=-1;k[e+1168+8>>2]=0;k[e+1168+12>>2]=0;w=0;I=Ea(104,m|0,-1,e+1168|0)|0;m=w;w=0;if(!(m&1)?(w=0,m=Sa(673,f|0,I|0)|0,I=w,w=0,!(I&1)):0){I=k[e+1168+12>>2]|0;if(I)QSa(I);I=(k[b+8>>2]|0)>1?50:10;if(!m){k[e>>2]=I<<5;k[e+32>>2]=1;i[e+40>>0]=0;xDa(a,e)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}else{hDa(e+2224|0,m);m=ha(32-((EDa(e+2224|0)|0)>>>3)|0,I)|0;k[e+48>>2]=m;k[e+48+32>>2]=1;i[e+48+40>>0]=0;xDa(a,e+48|0)|0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}}m=Ib()|0;I=L;p=k[e+1168+12>>2]|0;if(!p){n=m;o=I;Hb(n|0)}QSa(p);n=m;o=I;Hb(n|0);break}case 49:{k[a>>2]=(k[b+8>>2]|0)>0?400:20;k[a+4>>2]=k[e+1136>>2];k[a+4+4>>2]=k[e+1136+4>>2];k[a+4+8>>2]=k[e+1136+8>>2];k[a+4+12>>2]=k[e+1136+12>>2];k[a+4+16>>2]=k[e+1136+16>>2];k[a+4+20>>2]=k[e+1136+20>>2];k[a+4+24>>2]=k[e+1136+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}default:{I=zDa(cja(c)|0)|0;k[a>>2]=I;k[a+4>>2]=k[e+1108>>2];k[a+4+4>>2]=k[e+1108+4>>2];k[a+4+8>>2]=k[e+1108+8>>2];k[a+4+12>>2]=k[e+1108+12>>2];k[a+4+16>>2]=k[e+1108+16>>2];k[a+4+20>>2]=k[e+1108+20>>2];k[a+4+24>>2]=k[e+1108+24>>2];k[a+32>>2]=1;i[a+40>>0]=0;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}}while(0);break}default:{k[a>>2]=0;k[a+4>>2]=k[e+1080>>2];k[a+4+4>>2]=k[e+1080+4>>2];k[a+4+8>>2]=k[e+1080+8>>2];k[a+4+12>>2]=k[e+1080+12>>2];k[a+4+16>>2]=k[e+1080+16>>2];k[a+4+20>>2]=k[e+1080+20>>2];k[a+4+24>>2]=k[e+1080+24>>2];k[a+32>>2]=1;i[a+40>>0]=1;g=k[b>>2]|0;zja(e+1040|0,g,c,0);r=e;return}}}function zDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=r;r=r+128|0;if(a<<24>>24==91){c=1;r=b;return c|0}kka(b+88|0,a);d=k[b+88+28>>2]|0;dTa(b+88|0);switch(d|0){case 1:{c=2;r=b;return c|0}case 2:{c=3;r=b;return c|0}case 3:{c=5;r=b;return c|0}case 4:{c=8;r=b;return c|0}case 5:{c=10;r=b;return c|0}case 6:{c=20;r=b;return c|0}case 0:{c=0;r=b;return c|0}default:{k[b+64>>2]=0;k[b+64+4>>2]=0;k[b+64+8>>2]=0;k[b+64+12>>2]=0;k[b+64+16>>2]=0;k[b+64+20>>2]=-1;k[b+64>>2]=34316;k[b+64+4>>2]=34340;w=0;ua(986,b|0,a|0);a=w;w=0;if(a&1){a=Ib()|0;e=L;f=a}else{w=0;a=Ea(70,b|0,0,262813)|0;c=w;w=0;if(c&1){c=Ib()|0;g=L;h=c}else{k[b+32>>2]=k[a>>2];k[b+32+4>>2]=k[a+4>>2];k[b+32+8>>2]=k[a+8>>2];k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[b+48>>2]=13804;w=0;ua(724,b+48+4|0,b+32|0);a=w;w=0;if(a&1){a=Ib()|0;i=L;j=a}else{w=0;a=Sa(669,b+64|0,b+48|0)|0;c=w;w=0;if(!(c&1)){k[a+(k[(k[a>>2]|0)+-24>>2]|0)+8>>2]=262847;k[a+(k[(k[a>>2]|0)+-24>>2]|0)+12>>2]=262922;k[a+(k[(k[a>>2]|0)+-24>>2]|0)+16>>2]=257;w=0;sa(1677,a|0);w=0}a=Ib()|0;c=L;k[b+48>>2]=13804;dTa(b+48+4|0);i=c;j=a}dTa(b+32|0);g=i;h=j}dTa(b);e=g;f=h}k[b+64+4>>2]=13668;h=k[b+64+8>>2]|0;if(!h)Hb(f|0);w=0;g=ya(k[(k[h>>2]|0)+16>>2]|0,h|0)|0;h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}if(!g)Hb(f|0);k[b+64+8>>2]=0;Hb(f|0)}}return 0}function ADa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;e=r;r=r+112|0;f=k[b>>2]|0;g=k[f+56>>2]|0;k[e+88>>2]=-1;k[e+88+4>>2]=-1;k[e+88+8>>2]=0;k[e+88+12>>2]=0;w=0;h=Ea(104,f|0,d|0,e+88|0)|0;f=w;w=0;if(!(f&1)?(w=0,f=Sa(671,g|0,h|0)|0,h=w,w=0,!(h&1)):0){h=k[e+88+12>>2]|0;if(h)QSa(h);if(f){k[a>>2]=0;k[a+32>>2]=1;i[a+40>>0]=0;r=e;return}k[e+44>>2]=1;i[e+44+4>>0]=1;k[e+44+8>>2]=0;k[e+44+12>>2]=0;k[e+44+16>>2]=-1;k[e+44+16+4>>2]=-1;f=e+44+24|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;f=k[b>>2]|0;k[e+16>>2]=-1;k[e+16+4>>2]=-1;k[e+16+8>>2]=0;k[e+16+12>>2]=0;w=0;h=Ea(104,f|0,c|0,e+16|0)|0;c=w;w=0;if(!(c&1)){c=k[b>>2]|0;k[e>>2]=-1;k[e+4>>2]=-1;k[e+8>>2]=0;k[e+12>>2]=0;w=0;f=Ea(104,c|0,d|0,e|0)|0;d=w;w=0;do if(!(d&1)){k[e+32>>2]=0;c=e+32+4|0;k[c>>2]=0;k[e+32+8>>2]=0;w=0;j=ya(665,8)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;n=l;o=31;break}k[e+32>>2]=j;k[e+32+8>>2]=j+8;k[j>>2]=h;k[j+4>>2]=f;k[c>>2]=j+8;w=0;j=Ua(63,g|0,e+44|0,e+32|0,1,0)|0;l=w;w=0;if(!(l&1)?(w=0,cb(440,a|0,b|0,j|0),j=w,w=0,!(j&1)):0){j=k[e+32>>2]|0;if(j){l=k[c>>2]|0;if((l|0)!=(j|0))k[c>>2]=l+(~((l+-4-j|0)>>>2)<<2);GPa(j)}j=k[e+12>>2]|0;if(j)QSa(j);j=k[e+16+12>>2]|0;if(j)QSa(j);j=k[e+44+40>>2]|0;if(j)QSa(j);j=k[e+44+28>>2]|0;if(j)QSa(j);j=k[e+44+12>>2]|0;if(!j){r=e;return}QSa(j);r=e;return}j=Ib()|0;l=L;p=k[e+32>>2]|0;if(!p){q=l;s=j}else{t=k[c>>2]|0;if((t|0)!=(p|0))k[c>>2]=t+(~((t+-4-p|0)>>>2)<<2);GPa(p);q=l;s=j}}else{j=Ib()|0;m=L;n=j;o=31}while(0);if((o|0)==31){q=m;s=n}n=k[e+12>>2]|0;if(!n){u=q;v=s}else{QSa(n);u=q;v=s}}else{s=Ib()|0;u=L;v=s}s=k[e+16+12>>2]|0;if(s)QSa(s);s=k[e+44+40>>2]|0;if(s)QSa(s);s=k[e+44+28>>2]|0;if(s)QSa(s);s=k[e+44+12>>2]|0;if(!s){x=u;y=v;Hb(y|0)}QSa(s);x=u;y=v;Hb(y|0)}v=Ib()|0;u=L;s=k[e+88+12>>2]|0;if(!s){x=u;y=v;Hb(y|0)}QSa(s);x=u;y=v;Hb(y|0)}function BDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;d=r;r=r+208|0;e=Wja(k[(k[b>>2]|0)+56>>2]|0,c)|0;if(!e){k[a>>2]=0;k[a+32>>2]=1;i[a+40>>0]=1;r=d;return}c=k[e+32>>2]|0;f=k[b+48>>2]|0;a:do if((c|0)==(f|0)){g=c;do{g=g+-1|0;if((g|0)<=-1)break a;h=k[e+(g<<2)>>2]|0;j=k[b+16+(g<<2)>>2]|0}while((h|0)==(j|0));if(h>>>0<=j>>>0)l=9}else if(c>>>0<=f>>>0)l=9;while(0);if((l|0)==9){k[d+80>>2]=0;k[d+80+32>>2]=1;m=a;n=d+80|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));i[a+40>>0]=0;r=d;return}m=d+120|0;n=b+16|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));if((b+16|0)!=(e|0)){k[b+48>>2]=k[e+32>>2];J0a(b+16|0,e|0,k[e+32>>2]<<2|0)|0}FDa(d+40|0,e);FDa(d,d+120|0);k[d+160>>2]=0;k[d+160+32>>2]=1;Zh(d+160|0,d+40|0,d);m=a;n=d+160|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));i[a+40>>0]=0;r=d;return}function CDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;e=r;r=r+208|0;f=Wja(k[(k[b>>2]|0)+56>>2]|0,d)|0;if(!f){k[a>>2]=0;k[a+32>>2]=1;i[a+40>>0]=1;r=e;return}k[e+160>>2]=0;k[e+160+32>>2]=1;if((e+160|0)!=(f|0)){d=k[f+32>>2]|0;k[e+160+32>>2]=d>>>0>8?8:d;g=e+160+32|0}else g=f+32|0;d=31;b=0;h=0;while(1){if(h>>>0>=(k[g>>2]|0)>>>0){j=d;l=h;m=8;break}n=G0a(k[f+(h<<2)>>2]|0,0,d|0,b|0)|0;d=L;k[e+160+(h<<2)>>2]=n;n=h+1|0;if((d|0)==0&0==0){o=0;p=0;q=n;break}else{b=0;h=n}}if((m|0)==8){o=1;p=j;q=l}if((e+160|0)!=(f|0)?q>>>0<(k[g>>2]|0)>>>0:0){l=q;do{k[e+160+(l<<2)>>2]=k[f+(l<<2)>>2];l=l+1|0}while(l>>>0<(k[g>>2]|0)>>>0)}if(o?(o=k[g>>2]|0,l=(o+1|0)>>>0>8?8:o+1|0,k[g>>2]=l,l>>>0>o>>>0):0)k[e+160+(o<<2)>>2]=p;p=(k[g>>2]|0)+-1|0;a:do if(p){o=p;do{if(k[e+160+(o<<2)>>2]|0)break a;k[g>>2]=o;o=o+-1|0}while((o|0)!=0)}while(0);g=e;p=e+160|0;o=g+40|0;do{k[g>>2]=k[p>>2];g=g+4|0;p=p+4|0}while((g|0)<(o|0));k[e+40>>2]=0;k[e+40+32>>2]=1;k[e+120>>2]=32;k[e+120+32>>2]=1;k[e+160>>2]=0;k[e+160+32>>2]=1;Xh(e+40|0,e,e+120|0,e+160|0);g=e+80|0;p=e+40|0;o=g+40|0;do{k[g>>2]=k[p>>2];g=g+4|0;p=p+4|0}while((g|0)<(o|0));k[e+160>>2]=0;k[e+160+32>>2]=1;rma(e+160|0,c,e+80|0);g=a;p=e+160|0;o=g+40|0;do{k[g>>2]=k[p>>2];g=g+4|0;p=p+4|0}while((g|0)<(o|0));i[a+40>>0]=0;r=e;return}function DDa(){var a=0,b=0,c=0,d=0;a=r;r=r+48|0;if(i[9832]|0){r=a;return}if((i[9664]|0)==0?(qb(9664)|0)!=0:0){k[a+32>>2]=8;k[a>>2]=-1;b=1;do{k[a+(b<<2)>>2]=-1;b=b+1|0;c=k[a+32>>2]|0}while(b>>>0>>0);a:do if(c+-1|0){b=c+-1|0;do{if(k[a+(b<<2)>>2]|0)break a;k[a+32>>2]=b;b=b+-1|0}while((b|0)!=0)}while(0);c=9672;b=a;d=c+40|0;do{k[c>>2]=k[b>>2];c=c+4|0;b=b+4|0}while((c|0)<(d|0));yb(9664)}k[2458]=1;k[2459]=0;r=a;return}function EDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=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,A=0;b=i[a>>0]|0;do if(!(b<<24>>24)){c=i[a+1>>0]|0;if(!(c<<24>>24)){d=i[a+2>>0]|0;if(!(d<<24>>24)){e=i[a+3>>0]|0;if(!(e<<24>>24)){f=i[a+4>>0]|0;if(!(f<<24>>24)){g=i[a+5>>0]|0;if(!(g<<24>>24)){h=i[a+6>>0]|0;if(!(h<<24>>24)){j=i[a+7>>0]|0;if(!(j<<24>>24)){k=i[a+8>>0]|0;if(!(k<<24>>24)){l=i[a+9>>0]|0;if(!(l<<24>>24)){m=i[a+10>>0]|0;if(!(m<<24>>24)){n=i[a+11>>0]|0;if(!(n<<24>>24)){o=i[a+12>>0]|0;if(!(o<<24>>24)){p=i[a+13>>0]|0;if(!(p<<24>>24)){q=i[a+14>>0]|0;if(!(q<<24>>24)){r=i[a+15>>0]|0;if(!(r<<24>>24)){s=i[a+16>>0]|0;if(!(s<<24>>24)){t=i[a+17>>0]|0;if(!(t<<24>>24)){u=i[a+18>>0]|0;if(!(u<<24>>24)){v=i[a+19>>0]|0;if(v<<24>>24){w=v;x=152;break}v=i[a+20>>0]|0;if(v<<24>>24){w=v;x=160;break}v=i[a+21>>0]|0;if(v<<24>>24){w=v;x=168;break}v=i[a+22>>0]|0;if(v<<24>>24){w=v;x=176;break}v=i[a+23>>0]|0;if(v<<24>>24){w=v;x=184;break}v=i[a+24>>0]|0;if(v<<24>>24){w=v;x=192;break}v=i[a+25>>0]|0;if(v<<24>>24){w=v;x=200;break}v=i[a+26>>0]|0;if(v<<24>>24){w=v;x=208;break}v=i[a+27>>0]|0;if(v<<24>>24){w=v;x=216;break}v=i[a+28>>0]|0;if(v<<24>>24){w=v;x=224;break}v=i[a+29>>0]|0;if(v<<24>>24){w=v;x=232;break}v=i[a+30>>0]|0;if(v<<24>>24){w=v;x=240;break}v=i[a+31>>0]|0;if(!(v<<24>>24))y=256;else{w=v;x=248;break}return y|0}else{w=u;x=144}}else{w=t;x=136}}else{w=s;x=128}}else{w=r;x=120}}else{w=q;x=112}}else{w=p;x=104}}else{w=o;x=96}}else{w=n;x=88}}else{w=m;x=80}}else{w=l;x=72}}else{w=k;x=64}}else{w=j;x=56}}else{w=h;x=48}}else{w=g;x=40}}else{w=f;x=32}}else{w=e;x=24}}else{w=d;x=16}}else{w=c;x=8}}else{w=b;x=0}while(0);b=w&255;if(!(b&128)){z=b;A=x}else{y=x;return y|0}while(1){x=A+1|0;b=z<<1;if(!(b&128)){z=b&254;A=x}else{y=x;break}}return y|0}function FDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;c=r;r=r+320|0;k[c+280>>2]=0;k[c+280+32>>2]=1;if((c+280|0)!=(b|0)){d=k[b+32>>2]|0;k[c+280+32>>2]=d>>>0>8?8:d;e=c+280+32|0}else e=b+32|0;d=31;f=0;g=0;while(1){if(g>>>0>=(k[e>>2]|0)>>>0){h=d;i=g;j=6;break}l=G0a(k[b+(g<<2)>>2]|0,0,d|0,f|0)|0;d=L;k[c+280+(g<<2)>>2]=l;l=g+1|0;if((d|0)==0&0==0){m=0;n=0;o=l;break}else{f=0;g=l}}if((j|0)==6){m=1;n=h;o=i}if((c+280|0)!=(b|0)?o>>>0<(k[e>>2]|0)>>>0:0){i=o;do{k[c+280+(i<<2)>>2]=k[b+(i<<2)>>2];i=i+1|0}while(i>>>0<(k[e>>2]|0)>>>0)}if(m?(m=k[e>>2]|0,i=(m+1|0)>>>0>8?8:m+1|0,k[e>>2]=i,i>>>0>m>>>0):0)k[c+280+(m<<2)>>2]=n;n=(k[e>>2]|0)+-1|0;a:do if(n){m=n;do{if(k[c+280+(m<<2)>>2]|0)break a;k[e>>2]=m;m=m+-1|0}while((m|0)!=0)}while(0);e=c+160|0;n=c+280|0;m=e+40|0;do{k[e>>2]=k[n>>2];e=e+4|0;n=n+4|0}while((e|0)<(m|0));k[c+200>>2]=0;k[c+200+32>>2]=1;k[c+240>>2]=32;k[c+240+32>>2]=1;k[c+280>>2]=0;k[c+280+32>>2]=1;Xh(c+200|0,c+160|0,c+240|0,c+280|0);e=c;n=c+200|0;m=e+40|0;do{k[e>>2]=k[n>>2];e=e+4|0;n=n+4|0}while((e|0)<(m|0));k[c+280>>2]=0;i=c+280+32|0;b=k[c+32>>2]|0;o=b>>>0>8?8:b;k[i>>2]=o;if((c+280|0)!=(c+280+(o<<2)|0)){b=0;h=0;j=c+280|0;g=c;while(1){f=Q0a(k[g>>2]|0,0,3,0)|0;d=G0a(f|0,L|0,b|0,h|0)|0;p=L;k[j>>2]=d;j=j+4|0;if((j|0)==(c+280+(o<<2)|0))break;else{b=p;h=0;g=g+4|0}}if(!((p|0)==0&0==0)?(g=k[i>>2]|0,h=(g+1|0)>>>0>8?8:g+1|0,k[i>>2]=h,h>>>0>g>>>0):0)k[c+280+(g<<2)>>2]=p}p=(k[i>>2]|0)+-1|0;b:do if(p){g=p;do{if(k[c+280+(g<<2)>>2]|0)break b;k[i>>2]=g;g=g+-1|0}while((g|0)!=0)}while(0);e=c+120|0;n=c+280|0;m=e+40|0;do{k[e>>2]=k[n>>2];e=e+4|0;n=n+4|0}while((e|0)<(m|0));k[c+280>>2]=0;k[c+280+32>>2]=1;rma(c+280|0,c,c);e=c+40|0;n=c+280|0;m=e+40|0;do{k[e>>2]=k[n>>2];e=e+4|0;n=n+4|0}while((e|0)<(m|0));k[c+200>>2]=0;k[c+200+32>>2]=1;k[c+240>>2]=512;k[c+240+32>>2]=1;k[c+280>>2]=0;k[c+280+32>>2]=1;Xh(c+200|0,c+40|0,c+240|0,c+280|0);e=c+80|0;n=c+200|0;m=e+40|0;do{k[e>>2]=k[n>>2];e=e+4|0;n=n+4|0}while((e|0)<(m|0));k[c+280>>2]=0;k[c+280+32>>2]=1;_h(c+280|0,c+120|0,c+80|0);e=a;n=c+280|0;m=e+40|0;do{k[e>>2]=k[n>>2];e=e+4|0;n=n+4|0}while((e|0)<(m|0));r=c;return}function GDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;c=r;r=r+64|0;if((k[a+124>>2]|0)<=-1){k[c+32>>2]=0;k[c+32+4>>2]=0;k[c+32+8>>2]=0;k[c+32+12>>2]=0;k[c+32+16>>2]=0;k[c+32+20>>2]=-1;k[c+32>>2]=41936;k[c+32+4>>2]=41960;w=0;cb(138,c|0,262959,16);d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d}else{k[c+16>>2]=13804;w=0;ua(724,c+16+4|0,c|0);d=w;w=0;if(d&1){d=Ib()|0;g=L;h=d}else{w=0;d=Sa(681,c+32|0,c+16|0)|0;j=w;w=0;if(!(j&1)){k[d+(k[(k[d>>2]|0)+-24>>2]|0)+8>>2]=262976;k[d+(k[(k[d>>2]|0)+-24>>2]|0)+12>>2]=263065;k[d+(k[(k[d>>2]|0)+-24>>2]|0)+16>>2]=328;w=0;sa(1680,d|0);w=0}d=Ib()|0;j=L;k[c+16>>2]=13804;dTa(c+16+4|0);g=j;h=d}dTa(c);e=g;f=h}k[c+32+4>>2]=13668;h=k[c+32+8>>2]|0;if(!h)Hb(f|0);w=0;g=ya(k[(k[h>>2]|0)+16>>2]|0,h|0)|0;h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}if(!g)Hb(f|0);k[c+32+8>>2]=0;Hb(f|0)}f=ZCa(b)|0;g=f-(YCa(b)|0)|0;k[a+124>>2]=g+(k[a+124>>2]|0);g=k[a+20>>2]|0;if((g|0)==(k[a+24>>2]|0)){Eda(a+16|0,b);l=k[a+20>>2]|0}else{k[g>>2]=k[b>>2];i[g+4>>0]=i[b+4>>0]|0;k[g+8>>2]=k[b+8>>2];f=k[b+12>>2]|0;k[g+12>>2]=f;if(f)OSa(f);f=k[b+16+4>>2]|0;k[g+16>>2]=k[b+16>>2];k[g+16+4>>2]=f;k[g+24>>2]=k[b+24>>2];f=k[b+28>>2]|0;k[g+28>>2]=f;if(f)OSa(f);k[g+32>>2]=k[b+32>>2];k[g+36>>2]=k[b+36>>2];f=k[b+40>>2]|0;k[g+40>>2]=f;if(f)OSa(f);f=(k[a+20>>2]|0)+44|0;k[a+20>>2]=f;l=f}if((k[l+-28>>2]|0)!=-1){m=k[a+20>>2]|0;n=m+-44|0;r=c;return n|0}if((k[l+-24>>2]|0)!=-1){m=k[a+20>>2]|0;n=m+-44|0;r=c;return n|0}if((k[a+128>>2]|0)==-1?(k[a+132>>2]|0)==-1:0){m=k[a+20>>2]|0;n=m+-44|0;r=c;return n|0}f=k[a+128+4>>2]|0;g=l+-28|0;k[g>>2]=k[a+128>>2];k[g+4>>2]=f;f=k[a+136>>2]|0;g=k[a+140>>2]|0;if(g)OSa(g);k[l+-20>>2]=f;f=l+-16|0;l=k[f>>2]|0;k[f>>2]=g;if(!l){m=k[a+20>>2]|0;n=m+-44|0;r=c;return n|0}QSa(l);m=k[a+20>>2]|0;n=m+-44|0;r=c;return n|0}function HDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,pa=0,qa=0,ra=0,ta=0;e=r;r=r+464|0;k[e+160>>2]=0;f=e+160+4|0;k[f>>2]=0;k[e+160+8>>2]=0;k[e+160+12>>2]=-1;g=e+160+16|0;k[g>>2]=-1;h=e+160+20|0;k[h>>2]=0;j=e+160+24|0;k[j>>2]=0;l=e+160+28|0;k[l>>2]=b;k[e+160+32>>2]=c;k[e+160+36>>2]=d;m=k[a+16>>2]|0;n=k[a+20>>2]|0;a:do if((m|0)==(n|0))o=3;else{p=e+160+12|0;q=m;b:while(1){s=q+16|0;t=k[s>>2]|0;if(!((t|0)==-1?(k[q+20>>2]|0)==-1:0))o=6;c:do if((o|0)==6){o=0;d:do if((t|0)==(k[p>>2]|0)?(k[q+20>>2]|0)==(k[g>>2]|0):0){u=k[q+24>>2]|0;v=k[h>>2]|0;if((u|0)==0|(v|0)==0)if((u|0)==0&(v|0)==0)break c;else break;x=i[u>>0]|0;y=(x&1)==0?(x&255)>>>1:k[u+4>>2]|0;z=i[v>>0]|0;if((y|0)==(((z&1)==0?(z&255)>>>1:k[v+4>>2]|0)|0)){A=(z&1)==0?v+1|0:k[v+8>>2]|0;if(x&1)if(!($Qa(k[u+8>>2]|0,A,y)|0))break c;else break;if(!y)break c;y=(x&255)>>>1;x=u+1|0;u=A;while(1){if((i[x>>0]|0)!=(i[u>>0]|0))break d;y=y+-1|0;if(!y)break c;else{x=x+1|0;u=u+1|0}}}}while(0);w=0;sa(1681,e+160|0);u=w;w=0;if(u&1){o=140;break b}u=k[s+4>>2]|0;k[p>>2]=k[s>>2];k[p+4>>2]=u;u=k[q+24>>2]|0;x=k[q+28>>2]|0;if(x)OSa(x);k[e+160+20>>2]=u;y=k[j>>2]|0;k[j>>2]=x;if(!y)B=u;else{QSa(y);B=k[h>>2]|0}if(!((B|0)==0?(k[g>>2]&k[p>>2]|0)==-1:0)){y=k[e+160+32>>2]|0;u=i[y>>0]|0;w=0;x=Ea(71,k[l>>2]|0,((u&1)==0?y+1|0:k[y+8>>2]|0)|0,((u&1)==0?(u&255)>>>1:k[y+4>>2]|0)|0)|0;y=w;w=0;if(y&1){o=140;break b}w=0;Ea(71,x|0,263102,6)|0;x=w;w=0;if(x&1){o=140;break b}x=k[h>>2]|0;if(x){y=k[l>>2]|0;k[e+332>>2]=0;k[e+332+4>>2]=0;k[e+332+8>>2]=0;u=i[x>>0]|0;A=(u&1)==0?(u&255)>>>1:k[x+4>>2]|0;w=0;kb(82,e+332|0,263109,2,A+2|0);u=w;w=0;if(u&1){o=29;break b}w=0;Ea(68,e+332|0,((i[x>>0]&1)==0?x+1|0:k[x+8>>2]|0)|0,A|0)|0;A=w;w=0;if(A&1){o=29;break b}w=0;A=Sa(549,e+332|0,268453)|0;x=w;w=0;if(x&1){o=33;break b};k[e+372>>2]=k[A>>2];k[e+372+4>>2]=k[A+4>>2];k[e+372+8>>2]=k[A+8>>2];k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;A=i[e+372>>0]|0;w=0;Ea(71,y|0,((A&1)==0?e+372+1|0:k[e+372+8>>2]|0)|0,((A&1)==0?(A&255)>>>1:k[e+372+4>>2]|0)|0)|0;A=w;w=0;if(A&1){o=34;break b}dTa(e+372|0);dTa(e+332|0)}if((k[g>>2]&k[p>>2]|0)!=-1){w=0;A=Ea(71,k[l>>2]|0,276102,1)|0;y=w;w=0;if(y&1){o=140;break b}w=0;ua(759,e+272|0,k[p>>2]|0);y=w;w=0;if(y&1){o=140;break b}w=0;y=Sa(549,e+272|0,276102)|0;x=w;w=0;if(x&1){o=44;break b};k[e+296>>2]=k[y>>2];k[e+296+4>>2]=k[y+4>>2];k[e+296+8>>2]=k[y+8>>2];k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=0;w=0;ua(759,e+248|0,k[g>>2]|0);y=w;w=0;if(y&1){o=45;break b}y=i[e+248>>0]|0;w=0;x=Ea(68,e+296|0,((y&1)==0?e+248+1|0:k[e+248+8>>2]|0)|0,((y&1)==0?(y&255)>>>1:k[e+248+4>>2]|0)|0)|0;y=w;w=0;if(y&1){o=46;break b};k[e+308>>2]=k[x>>2];k[e+308+4>>2]=k[x+4>>2];k[e+308+8>>2]=k[x+8>>2];k[x>>2]=0;k[x+4>>2]=0;k[x+8>>2]=0;x=i[e+308>>0]|0;w=0;Ea(71,A|0,((x&1)==0?e+308+1|0:k[e+308+8>>2]|0)|0,((x&1)==0?(x&255)>>>1:k[e+308+4>>2]|0)|0)|0;x=w;w=0;if(x&1){o=47;break b}dTa(e+308|0);dTa(e+248|0);dTa(e+296|0);dTa(e+272|0)}w=0;x=Ea(71,k[l>>2]|0,270661,2)|0;A=w;w=0;if(A&1){o=140;break b}A=k[e+160+36>>2]|0;y=k[p>>2]|0;u=k[g>>2]|0;do if(((u&y|0)!=-1?(k[A+8>>2]|0)!=0:0)?!((y|0)<0|(u|0)<=(y|0)):0){v=SDa(A,k[h>>2]|0)|0;if((v|0)==(A+4|0)){w=0;cb(138,e+224|0,282012,0);z=w;w=0;if(z&1){o=140;break b}else break}z=i[v+28>>0]|0;if(!(z&1))C=(z&255)>>>1;else C=k[v+32>>2]|0;if(y>>>0>=C>>>0){w=0;cb(138,e+224|0,282012,0);z=w;w=0;if(z&1){o=140;break b}else break}w=0;oa(47,e+412|0,v+28|0,y|0,u-y|0,v+28|0);v=w;w=0;if(v&1){o=140;break b}v=i[e+412>>0]|0;z=(v&1)==0?e+412+1|0:k[e+412+8>>2]|0;D=(v&1)==0?(v&255)>>>1:k[e+412+4>>2]|0;e:do if(D){v=z;while(1){if((i[v>>0]|0)==10){E=v;break}v=v+1|0;if((v|0)==(z+D|0))break e}if((E|0)==(z+D|0)|(E-z|0)==-1)break;w=0;oa(47,e+388|0,e+412|0,0,E-z|0,e+412|0);v=w;w=0;if(v&1){o=77;break b}w=0;v=Sa(549,e+388|0,263112)|0;F=w;w=0;if(F&1){o=78;break b};k[e+400>>2]=k[v>>2];k[e+400+4>>2]=k[v+4>>2];k[e+400+8>>2]=k[v+8>>2];k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=0;if(!(i[e+412>>0]&1)){i[e+412+1>>0]=0;i[e+412>>0]=0}else{i[k[e+412+8>>2]>>0]=0;k[e+412+4>>2]=0}w=0;ua(708,e+412|0,0);v=w;w=0;if(v&1){o=75;break b};k[e+412>>2]=k[e+400>>2];k[e+412+4>>2]=k[e+400+4>>2];k[e+412+8>>2]=k[e+400+8>>2];k[e+400>>2]=0;k[e+400+4>>2]=0;k[e+400+8>>2]=0;dTa(e+400|0);dTa(e+388|0)}while(0);k[e+224>>2]=k[e+412>>2];k[e+224+4>>2]=k[e+412+4>>2];k[e+224+8>>2]=k[e+412+8>>2];k[e+412>>2]=0;k[e+412+4>>2]=0;k[e+412+8>>2]=0;dTa(e+412|0)}else o=55;while(0);if((o|0)==55?(o=0,w=0,cb(138,e+224|0,282012,0),y=w,w=0,y&1):0){o=140;break b}y=i[e+224>>0]|0;w=0;Ea(71,x|0,((y&1)==0?e+224+1|0:k[e+224+8>>2]|0)|0,((y&1)==0?(y&255)>>>1:k[e+224+4>>2]|0)|0)|0;y=w;w=0;if(y&1){o=89;break b}dTa(e+224|0);w=0;y=Ea(71,k[l>>2]|0,263116,3)|0;u=w;w=0;if(u&1){o=140;break b}w=0;u=ya(669,y+(k[(k[y>>2]|0)+-12>>2]|0)|0)|0;A=w;w=0;if(A&1){o=140;break b}k[e+384>>2]=u;w=0;u=Sa(548,e+384|0,51616)|0;A=w;w=0;if(A&1){o=86;break b}w=0;A=Sa(k[(k[u>>2]|0)+28>>2]|0,u|0,10)|0;u=w;w=0;if(u&1){o=86;break b}YYa(e+384|0);w=0;Sa(589,y|0,A|0)|0;A=w;w=0;if(A&1){o=140;break b}w=0;ya(685,y|0)|0;y=w;w=0;if(y&1){o=140;break b}}}while(0);w=0;s=ya(753,q|0)|0;t=w;w=0;if(t&1){o=140;break}if(s){w=0;s=ya(743,q|0)|0;t=w;w=0;if(t&1){o=140;break}if((s|0)<2){w=0;s=ya(744,q|0)|0;t=w;w=0;if(t&1){o=140;break}if((s|0)<=(((k[f>>2]|0)-(k[e+160>>2]|0)|0)/12|0|0)){w=0;ua(1102,e+200|0,q|0);s=w;w=0;if(s&1){o=140;break}w=0;s=ya(744,q|0)|0;t=w;w=0;if(t&1){o=120;break}if((s|0)>0){w=0;Sa(549,e+200|0,276049)|0;s=w;w=0;if(s&1){o=120;break}else G=0;while(1){w=0;s=ya(744,q|0)|0;t=w;w=0;if(t&1){o=119;break b}if((G|0)>=(s|0))break;s=k[f>>2]|0;t=i[s+-12>>0]|0;w=0;Ea(68,e+200|0,((t&1)==0?s+-12+1|0:k[s+-4>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[s+-8>>2]|0)|0)|0;s=w;w=0;if(s&1){o=119;break b}s=k[f>>2]|0;t=s;do{y=t+-12|0;k[f>>2]=y;dTa(y);t=k[f>>2]|0}while((t|0)!=(s+-12|0));s=G;G=G+1|0;w=0;s=ya(744,q|0)|0;t=w;w=0;if(t&1){o=119;break b}if((G|0)>=(s|0)){G=G;continue}w=0;Sa(549,e+200|0,267916)|0;s=w;w=0;if(s&1){o=119;break b}}w=0;Sa(549,e+200|0,276051)|0;s=w;w=0;if(s&1){o=120;break}}s=k[f>>2]|0;w=0;if((s|0)==(k[e+160+8>>2]|0)){Gg(e+160|0,e+200|0);t=w;w=0;if(t&1){o=120;break}}else{$Sa(s,e+200|0);s=w;w=0;if(s&1){o=120;break}k[f>>2]=(k[f>>2]|0)+12}w=0;s=ya(743,q|0)|0;t=w;w=0;if(t&1){o=120;break}if((s|0)!=1?(w=0,sa(1681,e+160|0),s=w,w=0,s&1):0){o=120;break}dTa(e+200|0)}else o=98}else o=98}else o=98;if((o|0)==98){o=0;w=0;sa(1681,e+160|0);s=w;w=0;if(s&1){o=140;break}s=k[e+160+32>>2]|0;t=i[s>>0]|0;w=0;x=Ea(71,k[l>>2]|0,((t&1)==0?s+1|0:k[s+8>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[s+4>>2]|0)|0)|0;s=w;w=0;if(s&1){o=140;break}s=(k[q>>2]|0)==8;w=0;t=Ea(71,x|0,(s?282012:270661)|0,(s?0:2)|0)|0;s=w;w=0;if(s&1){o=140;break}w=0;ua(1102,e+212|0,q|0);s=w;w=0;if(s&1){o=140;break}s=i[e+212>>0]|0;w=0;x=Ea(71,t|0,((s&1)==0?e+212+1|0:k[e+212+8>>2]|0)|0,((s&1)==0?(s&255)>>>1:k[e+212+4>>2]|0)|0)|0;s=w;w=0;if(s&1){o=110;break}w=0;s=ya(669,x+(k[(k[x>>2]|0)+-12>>2]|0)|0)|0;t=w;w=0;if(t&1){o=110;break}k[e+424>>2]=s;w=0;s=Sa(548,e+424|0,51616)|0;t=w;w=0;if(t&1){o=106;break}w=0;t=Sa(k[(k[s>>2]|0)+28>>2]|0,s|0,10)|0;s=w;w=0;if(s&1){o=106;break}YYa(e+424|0);w=0;Sa(589,x|0,t|0)|0;t=w;w=0;if(t&1){o=110;break}w=0;ya(685,x|0)|0;x=w;w=0;if(x&1){o=110;break}dTa(e+212|0)}q=q+44|0;if((q|0)==(n|0)){o=3;break a}}switch(o|0){case 29:{q=Ib()|0;p=L;dTa(e+332|0);H=p;I=q;o=142;break a;break}case 33:{q=Ib()|0;J=L;K=q;o=35;break}case 34:{q=Ib()|0;p=L;dTa(e+372|0);J=p;K=q;o=35;break}case 44:{q=Ib()|0;M=L;N=q;o=50;break}case 45:{q=Ib()|0;O=L;P=q;o=49;break}case 46:{q=Ib()|0;Q=L;R=q;o=48;break}case 47:{q=Ib()|0;p=L;dTa(e+308|0);Q=p;R=q;o=48;break}case 75:{Zc(Ib(0)|0);break}case 77:{q=Ib()|0;S=L;T=q;o=80;break}case 78:{q=Ib()|0;p=L;dTa(e+388|0);S=p;T=q;o=80;break}case 86:{q=Ib()|0;p=L;YYa(e+384|0);H=p;I=q;o=142;break a;break}case 89:{q=Ib()|0;p=L;dTa(e+224|0);U=p;V=q;break}case 106:{q=Ib()|0;p=L;YYa(e+424|0);W=p;X=q;o=111;break}case 110:{q=Ib()|0;W=L;X=q;o=111;break}case 119:{Y=Ib()|0;Z=L;o=121;break}case 120:{Y=Ib()|0;Z=L;o=121;break}case 140:{q=Ib()|0;H=L;I=q;o=142;break a;break}}if((o|0)==35){dTa(e+332|0);U=J;V=K}else if((o|0)==48){dTa(e+248|0);O=Q;P=R;o=49}else if((o|0)==80){dTa(e+412|0);H=S;I=T;o=142;break}else if((o|0)==111){dTa(e+212|0);_=W;$=X;o=136}else if((o|0)==121){dTa(e+200|0);_=Z;$=Y;o=136}if((o|0)==49){dTa(e+296|0);M=O;N=P;o=50}else if((o|0)==136){H=_;I=$;o=142;break}if((o|0)==50){dTa(e+272|0);U=M;V=N}H=U;I=V;o=142}while(0);f:do if((o|0)==3){w=0;sa(1681,e+160|0);V=w;w=0;g:do if(!(V&1)){if(!((k[a+36>>2]|0)==0?(k[a+52>>2]|0)==(k[a+56>>2]|0):0))o=145;h:do if((o|0)==145){U=i[c>>0]|0;w=0;N=Ea(71,b|0,((U&1)==0?c+1|0:k[c+8>>2]|0)|0,((U&1)==0?(U&255)>>>1:k[c+4>>2]|0)|0)|0;U=w;w=0;if(U&1)break g;w=0;U=Ea(71,N|0,263120,4)|0;N=w;w=0;if(N&1)break g;w=0;N=ya(669,U+(k[(k[U>>2]|0)+-12>>2]|0)|0)|0;M=w;w=0;if(M&1)break g;k[e+428>>2]=N;w=0;N=Sa(548,e+428|0,51616)|0;M=w;w=0;if(!(M&1)?(w=0,M=Sa(k[(k[N>>2]|0)+28>>2]|0,N|0,10)|0,N=w,w=0,!(N&1)):0){YYa(e+428|0);w=0;Sa(589,U|0,M|0)|0;M=w;w=0;if(M&1)break g;w=0;ya(685,U|0)|0;U=w;w=0;if(U&1)break g;U=k[a+28>>2]|0;i:do if((U|0)==(a+32|0)){aa=a+56|0;ba=a+52|0}else{M=e+120+4|0;N=e+80+4|0;$=e+80+4|0;_=U;while(1){P=_+16|0;O=_+48|0;Y=0;Z=1;X=P;while(1){W=i[X>>0]|0;k[e+120>>2]=Y;k[M>>2]=k[e+344>>2];k[M+4>>2]=k[e+344+4>>2];k[M+8>>2]=k[e+344+8>>2];k[M+12>>2]=k[e+344+12>>2];k[M+16>>2]=k[e+344+16>>2];k[M+20>>2]=k[e+344+20>>2];k[M+24>>2]=k[e+344+24>>2];k[e+120+32>>2]=Z;wd(e+120|0,8,0);ca=e+40|0;da=e+120|0;ea=ca+40|0;do{k[ca>>2]=k[da>>2];ca=ca+4|0;da=da+4|0}while((ca|0)<(ea|0));k[e+80>>2]=0;k[e+80+32>>2]=1;k[e+120>>2]=W&255;k[e+120+32>>2]=1;W5(e+80|0,e+40|0,e+120|0);fa=k[e+80>>2]|0;k[e+436>>2]=k[N>>2];k[e+436+4>>2]=k[N+4>>2];k[e+436+8>>2]=k[N+8>>2];k[e+436+12>>2]=k[N+12>>2];k[e+436+16>>2]=k[N+16>>2];k[e+436+20>>2]=k[N+20>>2];k[e+436+24>>2]=k[N+24>>2];ga=k[e+80+32>>2]|0;k[e+344>>2]=k[e+436>>2];k[e+344+4>>2]=k[e+436+4>>2];k[e+344+8>>2]=k[e+436+8>>2];k[e+344+12>>2]=k[e+436+12>>2];k[e+344+16>>2]=k[e+436+16>>2];k[e+344+20>>2]=k[e+436+20>>2];k[e+344+24>>2]=k[e+436+24>>2];X=X+1|0;if((X|0)==(O|0))break;else{Y=fa;Z=ga}}if(ga>>>0>1?1:fa>>>0>=(k[a+56>>2]|0)-(k[a+52>>2]|0)>>3>>>0){Z=i[c>>0]|0;w=0;Y=Ea(71,b|0,((Z&1)==0?c+1|0:k[c+8>>2]|0)|0,((Z&1)==0?(Z&255)>>>1:k[c+4>>2]|0)|0)|0;Z=w;w=0;if(Z&1){o=139;break}w=0;Z=Ea(71,Y|0,263125,5)|0;Y=w;w=0;if(Y&1){o=139;break}k[e>>2]=0;k[e+32>>2]=1;Y=P;do{X=i[Y>>0]|0;ca=e+120|0;da=e;ea=ca+40|0;do{k[ca>>2]=k[da>>2];ca=ca+4|0;da=da+4|0}while((ca|0)<(ea|0));wd(e+120|0,8,0);ca=e+40|0;da=e+120|0;ea=ca+40|0;do{k[ca>>2]=k[da>>2];ca=ca+4|0;da=da+4|0}while((ca|0)<(ea|0));k[e+80>>2]=0;k[e+80+32>>2]=1;k[e+120>>2]=X&255;k[e+120+32>>2]=1;W5(e+80|0,e+40|0,e+120|0);W=k[e+80>>2]|0;k[e+436>>2]=k[$>>2];k[e+436+4>>2]=k[$+4>>2];k[e+436+8>>2]=k[$+8>>2];k[e+436+12>>2]=k[$+12>>2];k[e+436+16>>2]=k[$+16>>2];k[e+436+20>>2]=k[$+20>>2];k[e+436+24>>2]=k[$+24>>2];T=k[e+80+32>>2]|0;k[e>>2]=W;k[e+4>>2]=k[e+436>>2];k[e+4+4>>2]=k[e+436+4>>2];k[e+4+8>>2]=k[e+436+8>>2];k[e+4+12>>2]=k[e+436+12>>2];k[e+4+16>>2]=k[e+436+16>>2];k[e+4+20>>2]=k[e+436+20>>2];k[e+4+24>>2]=k[e+436+24>>2];k[e+32>>2]=T;Y=Y+1|0}while((Y|0)!=(O|0));w=0;cb(437,e+320|0,e|0,0);O=w;w=0;if(O&1){o=139;break}O=i[e+320>>0]|0;w=0;Y=Ea(71,Z|0,((O&1)==0?e+320+1|0:k[e+320+8>>2]|0)|0,((O&1)==0?(O&255)>>>1:k[e+320+4>>2]|0)|0)|0;O=w;w=0;if(O&1){o=177;break}w=0;O=Ea(71,Y|0,267911,1)|0;Y=w;w=0;if(Y&1){o=177;break}w=0;kb(99,e+284|0,_+48|0,2,0);Y=w;w=0;if(Y&1){o=177;break}Y=i[e+284>>0]|0;w=0;P=Ea(71,O|0,((Y&1)==0?e+284+1|0:k[e+284+8>>2]|0)|0,((Y&1)==0?(Y&255)>>>1:k[e+284+4>>2]|0)|0)|0;Y=w;w=0;if(Y&1){o=178;break}w=0;Y=ya(669,P+(k[(k[P>>2]|0)+-12>>2]|0)|0)|0;O=w;w=0;if(O&1){o=178;break}k[e+432>>2]=Y;w=0;Y=Sa(548,e+432|0,51616)|0;O=w;w=0;if(O&1){o=173;break}w=0;O=Sa(k[(k[Y>>2]|0)+28>>2]|0,Y|0,10)|0;Y=w;w=0;if(Y&1){o=173;break}YYa(e+432|0);w=0;Sa(589,P|0,O|0)|0;O=w;w=0;if(O&1){o=178;break}w=0;ya(685,P|0)|0;P=w;w=0;if(P&1){o=178;break}dTa(e+284|0);dTa(e+320|0)}P=k[_+4>>2]|0;if(!P){O=_;while(1){Y=k[O+8>>2]|0;if((k[Y>>2]|0)==(O|0)){ha=Y;break}else O=Y}}else{O=P;while(1){Z=k[O>>2]|0;if(!Z){ha=O;break}else O=Z}}if((ha|0)==(a+32|0)){aa=a+56|0;ba=a+52|0;break i}else _=ha}if((o|0)==139){_=Ib()|0;H=L;I=_;o=142;break f}else if((o|0)==173){_=Ib()|0;$=L;YYa(e+432|0);ia=$;ja=_;o=179}else if((o|0)==177){_=Ib()|0;ka=_;la=L}else if((o|0)==178){_=Ib()|0;ia=L;ja=_;o=179}if((o|0)==179){dTa(e+284|0);ka=ja;la=ia}dTa(e+320|0);ma=ka;na=la;break f}while(0);if((k[aa>>2]|0)==(k[ba>>2]|0))break;U=0;while(1){w=0;_=ya(669,b+(k[(k[b>>2]|0)+-12>>2]|0)|0)|0;$=w;w=0;if($&1){o=138;break}k[e+40>>2]=_;w=0;_=Sa(548,e+40|0,51616)|0;$=w;w=0;if($&1){o=189;break}w=0;$=Sa(k[(k[_>>2]|0)+28>>2]|0,_|0,10)|0;_=w;w=0;if(_&1){o=189;break}YYa(e+40|0);w=0;Sa(589,b|0,$|0)|0;$=w;w=0;if($&1){o=138;break}w=0;ya(685,b|0)|0;$=w;w=0;if($&1){o=138;break}$=i[c>>0]|0;w=0;_=Ea(71,b|0,(($&1)==0?c+1|0:k[c+8>>2]|0)|0,(($&1)==0?($&255)>>>1:k[c+4>>2]|0)|0)|0;$=w;w=0;if($&1){o=138;break}w=0;$=Ea(71,_|0,263131,4)|0;_=w;w=0;if(_&1){o=138;break}w=0;_=Sa(593,$|0,U|0)|0;$=w;w=0;if($&1){o=138;break}w=0;Ea(71,_|0,263136,13)|0;_=w;w=0;if(_&1){o=138;break}_=k[(k[a+52>>2]|0)+(U<<3)>>2]|0;k[e+260>>2]=0;k[e+260+4>>2]=0;k[e+260+8>>2]=0;$=i[c>>0]|0;N=($&1)==0?($&255)>>>1:k[c+4>>2]|0;w=0;kb(82,e+260|0,(($&1)==0?c+1|0:k[c+8>>2]|0)|0,N|0,N+4|0);N=w;w=0;if(N&1){o=198;break}w=0;Ea(68,e+260|0,263150,4)|0;N=w;w=0;if(N&1){o=198;break}w=0;kb(203,_|0,b|0,e+260|0,d|0);_=w;w=0;if(_&1){o=209;break}dTa(e+260|0);_=i[c>>0]|0;w=0;N=Ea(71,b|0,((_&1)==0?c+1|0:k[c+8>>2]|0)|0,((_&1)==0?(_&255)>>>1:k[c+4>>2]|0)|0)|0;_=w;w=0;if(_&1){o=138;break}w=0;_=Ea(71,N|0,276075,1)|0;N=w;w=0;if(N&1){o=138;break}w=0;N=ya(669,_+(k[(k[_>>2]|0)+-12>>2]|0)|0)|0;$=w;w=0;if($&1){o=138;break}k[e+80>>2]=N;w=0;N=Sa(548,e+80|0,51616)|0;$=w;w=0;if($&1){o=205;break}w=0;$=Sa(k[(k[N>>2]|0)+28>>2]|0,N|0,10)|0;N=w;w=0;if(N&1){o=205;break}YYa(e+80|0);w=0;Sa(589,_|0,$|0)|0;$=w;w=0;if($&1){o=138;break}w=0;ya(685,_|0)|0;_=w;w=0;if(_&1){o=138;break}U=U+1|0;if(U>>>0>=(k[aa>>2]|0)-(k[ba>>2]|0)>>3>>>0)break h}if((o|0)==138){U=Ib()|0;H=L;I=U;o=142;break f}else if((o|0)==189){U=Ib()|0;_=L;YYa(e+40|0);H=_;I=U;o=142;break f}else if((o|0)==198){U=Ib()|0;_=L;dTa(e+260|0);H=_;I=U;o=142;break f}else if((o|0)==205){U=Ib()|0;_=L;YYa(e+80|0);H=_;I=U;o=142;break f}else if((o|0)==209){U=Ib()|0;_=L;dTa(e+260|0);ma=U;na=_;break f}}_=Ib()|0;U=L;YYa(e+428|0);H=U;I=_;o=142;break f}while(0);j:do if((k[a+44>>2]|0)!=(k[a+40>>2]|0)){w=0;_=ya(669,b+(k[(k[b>>2]|0)+-12>>2]|0)|0)|0;U=w;w=0;if(U&1)break g;k[e+120>>2]=_;w=0;_=Sa(548,e+120|0,51616)|0;U=w;w=0;if(!(U&1)?(w=0,U=Sa(k[(k[_>>2]|0)+28>>2]|0,_|0,10)|0,_=w,w=0,!(_&1)):0){YYa(e+120|0);w=0;Sa(589,b|0,U|0)|0;U=w;w=0;if(U&1)break g;w=0;ya(685,b|0)|0;U=w;w=0;if(U&1)break g;U=i[c>>0]|0;w=0;_=Ea(71,b|0,((U&1)==0?c+1|0:k[c+8>>2]|0)|0,((U&1)==0?(U&255)>>>1:k[c+4>>2]|0)|0)|0;U=w;w=0;if(U&1)break g;w=0;U=Ea(71,_|0,263155,11)|0;_=w;w=0;if(_&1)break g;w=0;kb(99,e+236|0,a+40|0,2,0);_=w;w=0;if(_&1)break g;_=i[e+236>>0]|0;w=0;$=Ea(71,U|0,((_&1)==0?e+236+1|0:k[e+236+8>>2]|0)|0,((_&1)==0?(_&255)>>>1:k[e+236+4>>2]|0)|0)|0;_=w;w=0;k:do if(!(_&1)?(w=0,U=ya(669,$+(k[(k[$>>2]|0)+-12>>2]|0)|0)|0,N=w,w=0,!(N&1)):0){k[e+436>>2]=U;w=0;U=Sa(548,e+436|0,51616)|0;N=w;w=0;do if(!(N&1)){w=0;M=Sa(k[(k[U>>2]|0)+28>>2]|0,U|0,10)|0;O=w;w=0;if(O&1)break;YYa(e+436|0);w=0;Sa(589,$|0,M|0)|0;M=w;w=0;if(M&1){o=228;break k}w=0;ya(685,$|0)|0;M=w;w=0;if(M&1){o=228;break k}dTa(e+236|0);break j}while(0);U=Ib()|0;N=L;YYa(e+436|0);pa=N;qa=U}else o=228;while(0);if((o|0)==228){$=Ib()|0;pa=L;qa=$}dTa(e+236|0);ma=qa;na=pa;break f}$=Ib()|0;_=L;YYa(e+120|0);H=_;I=$;o=142;break f}while(0);$=k[j>>2]|0;if($)QSa($);$=k[e+160>>2]|0;if(!$){r=e;return}_=k[f>>2]|0;if((_|0)==($|0))ra=$;else{U=_;do{_=U+-12|0;k[f>>2]=_;dTa(_);U=k[f>>2]|0}while((U|0)!=($|0));ra=k[e+160>>2]|0}GPa(ra);r=e;return}while(0);V=Ib()|0;H=L;I=V;o=142}while(0);if((o|0)==142){ma=I;na=H}H=k[j>>2]|0;if(H)QSa(H);H=k[e+160>>2]|0;if(!H)Hb(ma|0);j=k[f>>2]|0;if((j|0)==(H|0))ta=H;else{na=j;do{j=na+-12|0;k[f>>2]=j;dTa(j);na=k[f>>2]|0}while((na|0)!=(H|0));ta=k[e+160>>2]|0}GPa(ta);Hb(ma|0)}function IDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;d=r;r=r+176|0;e=d+16+56|0;f=d+16+4|0;k[d+16>>2]=15008;k[e>>2]=15028;w=0;ua(725,d+16+56|0,f|0);g=w;w=0;if(g&1){g=Ib()|0;h=L;i=g;QTa(e);Hb(i|0)}k[d+16+128>>2]=0;k[d+16+132>>2]=-1;k[d+16>>2]=13968;k[d+16+56>>2]=13988;w=0;sa(1635,f|0);g=w;w=0;do if(g&1){j=Ib()|0;l=L;m=j}else{k[f>>2]=14004;j=d+16+36|0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;k[j+12>>2]=0;k[d+16+52>>2]=16;k[d+152>>2]=0;k[d+152+4>>2]=0;k[d+152+8>>2]=0;w=0;ua(726,f|0,d+152|0);n=w;w=0;if(n&1){n=Ib()|0;o=L;dTa(d+152|0);dTa(j);VTa(f);l=o;m=n;break}dTa(d+152|0);w=0;cb(138,d|0,282012,0);n=w;w=0;do if(!(n&1)){w=0;kb(203,b|0,d+16|0,d|0,c|0);o=w;w=0;if(o&1){o=Ib()|0;p=L;dTa(d);q=p;s=o;k[d+16>>2]=13968;k[e>>2]=13988;k[f>>2]=14004;dTa(j);VTa(f);QTa(e);Hb(s|0)}else{dTa(d);w=0;ua(727,a|0,f|0);o=w;w=0;if(o&1)break;k[d+16>>2]=13968;k[e>>2]=13988;k[f>>2]=14004;dTa(j);VTa(f);QTa(e);r=d;return}}while(0);n=Ib()|0;q=L;s=n;k[d+16>>2]=13968;k[e>>2]=13988;k[f>>2]=14004;dTa(j);VTa(f);QTa(e);Hb(s|0)}while(0);h=l;i=m;QTa(e);Hb(i|0)}function JDa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;g=r;r=r+128|0;FGa(a,0);w=0;h=Sa(537,a|0,263167)|0;j=w;w=0;a:do if(!(j&1)?(w=0,ua(710,g+96|0,b|0),l=w,w=0,!(l&1)):0){w=0;Sa(538,h|0,g+96|0)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;QGa(g+96|0);n=m;o=l;QGa(a);Hb(o|0)}QGa(g+96|0);w=0;l=Sa(537,a|0,263172)|0;m=w;w=0;if(!(m&1)?(w=0,ua(718,g+72|0,c|0),m=w,w=0,!(m&1)):0){w=0;Sa(538,l|0,g+72|0)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;QGa(g+72|0);n=m;o=l;QGa(a);Hb(o|0)}QGa(g+72|0);w=0;l=Sa(537,a|0,263178)|0;m=w;w=0;if(!(m&1)?(w=0,ua(718,g+48|0,d|0),m=w,w=0,!(m&1)):0){w=0;Sa(538,l|0,g+48|0)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;QGa(g+48|0);n=m;o=l;QGa(a);Hb(o|0)}QGa(g+48|0);l=i[e>>0]|0;if(!(l&1))p=(l&255)>>>1;else p=k[e+4>>2]|0;do if(p){w=0;l=Sa(537,a|0,263182)|0;m=w;w=0;if(m&1)break a;w=0;ua(710,g+24|0,e|0);m=w;w=0;if(m&1)break a;w=0;Sa(538,l|0,g+24|0)|0;l=w;w=0;if(!(l&1)){QGa(g+24|0);break}l=Ib()|0;m=L;QGa(g+24|0);n=m;o=l;QGa(a);Hb(o|0)}while(0);l=i[f>>0]|0;if(!(l&1))q=(l&255)>>>1;else q=k[f+4>>2]|0;if(!q){r=g;return}w=0;l=Sa(537,a|0,263188)|0;m=w;w=0;if(!(m&1)?(w=0,ua(710,g|0,f|0),m=w,w=0,!(m&1)):0){w=0;Sa(538,l|0,g|0)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;QGa(g);n=m;o=l;QGa(a);Hb(o|0)}else{QGa(g);r=g;return}}}}}while(0);g=Ib()|0;n=L;o=g;QGa(a);Hb(o|0)}function KDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=r;r=r+160|0;k[c+8>>2]=14472;k[c>>2]=14512;k[c+64>>2]=14532;k[c+4>>2]=0;w=0;ua(725,c+64|0,c+12|0);d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d;QTa(c+64|0);Hb(f|0)}k[c+136>>2]=0;k[c+140>>2]=-1;k[c>>2]=14452;k[c+64>>2]=14492;k[c+8>>2]=14472;w=0;sa(1635,c+12|0);d=w;w=0;do if(!(d&1)){k[c+12>>2]=14004;k[c+44>>2]=0;k[c+44+4>>2]=0;k[c+44+8>>2]=0;k[c+44+12>>2]=0;k[c+60>>2]=24;k[c+144>>2]=0;k[c+144+4>>2]=0;k[c+144+8>>2]=0;w=0;ua(726,c+12|0,c+144|0);g=w;w=0;if(g&1){g=Ib()|0;h=L;dTa(c+144|0);dTa(c+44|0);VTa(c+12|0);i=h;j=g;break}dTa(c+144|0);g=c+8+(k[(k[c+8>>2]|0)+-12>>2]|0)+4|0;k[g>>2]=k[g>>2]&-75|8;w=0;Sa(586,c+8|0,b|0)|0;g=w;w=0;if(g&1){l=Ib()|0;m=L;k[c>>2]=14452;k[c+64>>2]=14492;k[c+8>>2]=14472;k[c+12>>2]=14004;dTa(c+44|0);VTa(c+12|0);QTa(c+64|0);Hb(l|0)}w=0;ua(727,a|0,c+12|0);g=w;w=0;if(g&1){l=Ib()|0;m=L;k[c>>2]=14452;k[c+64>>2]=14492;k[c+8>>2]=14472;k[c+12>>2]=14004;dTa(c+44|0);VTa(c+12|0);QTa(c+64|0);Hb(l|0)}else{k[c>>2]=14452;k[c+64>>2]=14492;k[c+8>>2]=14472;k[c+12>>2]=14004;dTa(c+44|0);VTa(c+12|0);QTa(c+64|0);r=c;return}}else{g=Ib()|0;i=L;j=g}while(0);e=i;f=j;QTa(c+64|0);Hb(f|0)}function LDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0;d=r;r=r+1600|0;FGa(a,0);w=0;e=Sa(537,a|0,263197)|0;f=w;w=0;a:do if(!(f&1)?(w=0,ua(709,d+568|0,6),g=w,w=0,!(g&1)):0){w=0;g=Sa(538,e|0,d+568|0)|0;h=w;w=0;if(h&1){h=Ib()|0;j=L;QGa(d+568|0);l=h;m=j;QGa(a);Hb(l|0)}QGa(d+568|0);j=k[b+16>>2]|0;h=k[b+20>>2]|0;b:do if((j|0)!=(h|0)){n=j;c:while(1){d:do switch(k[n>>2]|0){case 1:{w=0;o=ya(739,n|0)|0;p=w;w=0;if(p&1){q=8;break c}w=0;ua(986,d+1416|0,o|0);o=w;w=0;if(o&1){q=8;break c};k[d+1448>>2]=k[d+1416>>2];k[d+1448+4>>2]=k[d+1416+4>>2];k[d+1448+8>>2]=k[d+1416+8>>2];k[d+1416>>2]=0;k[d+1416+4>>2]=0;k[d+1416+8>>2]=0;o=k[n+16>>2]|0;p=k[n+20>>2]|0;w=0;ua(1103,d+1404|0,n|0);s=w;w=0;if(s&1){q=19;break c};k[d+1364>>2]=0;k[d+1364+4>>2]=0;k[d+1364+8>>2]=0;w=0;Ka(68,d+504|0,d+1448|0,o|0,p|0,d+1404|0,d+1364|0);p=w;w=0;if(p&1){q=20;break c}w=0;Sa(536,g|0,d+504|0)|0;p=w;w=0;if(p&1){q=21;break c}QGa(d+504|0);dTa(d+1364|0);dTa(d+1404|0);dTa(d+1448|0);dTa(d+1416|0);break}case 2:{w=0;cb(138,d+1352|0,263203,4);p=w;w=0;if(p&1){q=8;break c}p=k[n+16>>2]|0;o=k[n+20>>2]|0;w=0;s=ya(682,n|0)|0;t=w;w=0;if(t&1){q=31;break c}u=d+440|0;v=s;x=u+40|0;do{k[u>>2]=k[v>>2];u=u+4|0;v=v+4|0}while((u|0)<(x|0));w=0;ua(1104,d+1340|0,d+440|0);s=w;w=0;if(s&1){q=31;break c}w=0;ua(1103,d+1172|0,n|0);s=w;w=0;if(s&1){q=32;break c}w=0;Ka(68,d+480|0,d+1352|0,p|0,o|0,d+1340|0,d+1172|0);s=w;w=0;if(s&1){q=33;break c}w=0;Sa(536,g|0,d+480|0)|0;s=w;w=0;if(s&1){q=34;break c}QGa(d+480|0);dTa(d+1172|0);dTa(d+1340|0);dTa(d+1352|0);break}case 3:{w=0;cb(138,d+1160|0,263208,8);s=w;w=0;if(s&1){q=8;break c}s=k[n+16>>2]|0;t=k[n+20>>2]|0;w=0;y=ya(682,n|0)|0;z=w;w=0;if(z&1){q=46;break c}w=0;ua(1105,d+1560|0,y|0);y=w;w=0;if(y&1){q=46;break c}w=0;y=Sa(682,b+64|0,d+1560|0)|0;z=w;w=0;if(z&1){q=46;break c}w=0;ua(724,d+1148|0,y|0);y=w;w=0;if(y&1){q=46;break c};k[d+1136>>2]=0;k[d+1136+4>>2]=0;k[d+1136+8>>2]=0;w=0;Ka(68,d+416|0,d+1160|0,s|0,t|0,d+1148|0,d+1136|0);t=w;w=0;if(t&1){q=47;break c}w=0;Sa(536,g|0,d+416|0)|0;t=w;w=0;if(t&1){q=48;break c}QGa(d+416|0);dTa(d+1136|0);dTa(d+1148|0);dTa(d+1160|0);break}case 4:{w=0;t=ya(682,n|0)|0;s=w;w=0;if(s&1){q=8;break c}w=0;if((k[t>>2]|0)==0?(k[t+32>>2]|0)==1:0){aTa(d+1124|0,263217,15);t=w;w=0;if(t&1){q=8;break c}t=k[n+16>>2]|0;s=k[n+20>>2]|0;w=0;cb(138,d+1112|0,282012,0);y=w;w=0;if(y&1){q=58;break c};k[d+1100>>2]=0;k[d+1100+4>>2]=0;k[d+1100+8>>2]=0;w=0;Ka(68,d+392|0,d+1124|0,t|0,s|0,d+1112|0,d+1100|0);s=w;w=0;if(s&1){q=59;break c}w=0;Sa(536,g|0,d+392|0)|0;s=w;w=0;if(s&1){q=60;break c}QGa(d+392|0);dTa(d+1100|0);dTa(d+1112|0);dTa(d+1124|0);break d}aTa(d+1088|0,263233,10);s=w;w=0;if(s&1){q=8;break c}s=k[n+16>>2]|0;t=k[n+20>>2]|0;w=0;y=ya(682,n|0)|0;z=w;w=0;if(z&1){q=75;break c};k[d+1076>>2]=0;k[d+1076+4>>2]=0;k[d+1076+8>>2]=0;w=0;kb(142,d+1376|0,y|0,0,d+528|0);y=w;w=0;if(y&1){q=71;break c}if(!(i[d+1076>>0]&1)){i[d+1076+1>>0]=0;i[d+1076>>0]=0}else{i[k[d+1076+8>>2]>>0]=0;k[d+1076+4>>2]=0}w=0;ua(708,d+1076|0,0);y=w;w=0;if(y&1){q=70;break c};k[d+1076>>2]=k[d+1376>>2];k[d+1076+4>>2]=k[d+1376+4>>2];k[d+1076+8>>2]=k[d+1376+8>>2];k[d+1376>>2]=0;k[d+1376+4>>2]=0;k[d+1376+8>>2]=0;dTa(d+1376|0);k[d+1064>>2]=0;k[d+1064+4>>2]=0;k[d+1064+8>>2]=0;w=0;Ka(68,d+368|0,d+1088|0,s|0,t|0,d+1076|0,d+1064|0);t=w;w=0;if(t&1){q=77;break c}w=0;Sa(536,g|0,d+368|0)|0;t=w;w=0;if(t&1){q=78;break c}QGa(d+368|0);dTa(d+1064|0);dTa(d+1076|0);dTa(d+1088|0);break}case 5:{w=0;cb(138,d+1052|0,263244,8);t=w;w=0;if(t&1){q=8;break c}t=k[n+16>>2]|0;s=k[n+20>>2]|0;w=0;y=ya(682,n|0)|0;z=w;w=0;if(z&1){q=88;break c}w=0;ua(1105,d+1528|0,y|0);y=w;w=0;if(y&1){q=88;break c}w=0;ua(1106,d+1040|0,d+1528|0);y=w;w=0;if(y&1){q=88;break c};k[d+1028>>2]=0;k[d+1028+4>>2]=0;k[d+1028+8>>2]=0;w=0;Ka(68,d+344|0,d+1052|0,t|0,s|0,d+1040|0,d+1028|0);s=w;w=0;if(s&1){q=89;break c}w=0;Sa(536,g|0,d+344|0)|0;s=w;w=0;if(s&1){q=90;break c}QGa(d+344|0);dTa(d+1028|0);dTa(d+1040|0);dTa(d+1052|0);break}case 6:{w=0;cb(138,d+1016|0,263253,9);s=w;w=0;if(s&1){q=8;break c}s=k[n+16>>2]|0;t=k[n+20>>2]|0;w=0;y=ya(682,n|0)|0;z=w;w=0;if(z&1){q=100;break c}w=0;ua(1105,d+1496|0,y|0);y=w;w=0;if(y&1){q=100;break c}w=0;ua(1106,d+1004|0,d+1496|0);y=w;w=0;if(y&1){q=100;break c};k[d+992>>2]=0;k[d+992+4>>2]=0;k[d+992+8>>2]=0;w=0;Ka(68,d+320|0,d+1016|0,s|0,t|0,d+1004|0,d+992|0);t=w;w=0;if(t&1){q=101;break c}w=0;Sa(536,g|0,d+320|0)|0;t=w;w=0;if(t&1){q=102;break c}QGa(d+320|0);dTa(d+992|0);dTa(d+1004|0);dTa(d+1016|0);break}case 7:{w=0;cb(138,d+980|0,263263,8);t=w;w=0;if(t&1){q=8;break c}t=k[n+16>>2]|0;s=k[n+20>>2]|0;k[d+968>>2]=0;k[d+968+4>>2]=0;k[d+968+8>>2]=0;k[d+956>>2]=0;k[d+956+4>>2]=0;k[d+956+8>>2]=0;w=0;Ka(68,d+296|0,d+980|0,t|0,s|0,d+968|0,d+956|0);s=w;w=0;if(s&1){q=109;break c}w=0;Sa(536,g|0,d+296|0)|0;s=w;w=0;if(s&1){q=110;break c}QGa(d+296|0);dTa(d+956|0);dTa(d+968|0);dTa(d+980|0);break}case 10:{w=0;cb(138,d+944|0,263272,7);s=w;w=0;if(s&1){q=8;break c}s=k[n+16>>2]|0;t=k[n+20>>2]|0;w=0;y=ya(682,n|0)|0;z=w;w=0;if(z&1){q=120;break c}w=0;ua(1105,d+1464|0,y|0);y=w;w=0;if(y&1){q=120;break c}w=0;y=Sa(682,b+76|0,d+1464|0)|0;z=w;w=0;if(z&1){q=120;break c}w=0;ua(724,d+932|0,y|0);y=w;w=0;if(y&1){q=120;break c};k[d+920>>2]=0;k[d+920+4>>2]=0;k[d+920+8>>2]=0;w=0;Ka(68,d+272|0,d+944|0,s|0,t|0,d+932|0,d+920|0);t=w;w=0;if(t&1){q=121;break c}w=0;Sa(536,g|0,d+272|0)|0;t=w;w=0;if(t&1){q=122;break c}QGa(d+272|0);dTa(d+920|0);dTa(d+932|0);dTa(d+944|0);break}case 11:{w=0;cb(138,d+908|0,263280,17);t=w;w=0;if(t&1){q=8;break c}t=k[n+16>>2]|0;s=k[n+20>>2]|0;k[d+896>>2]=0;k[d+896+4>>2]=0;k[d+896+8>>2]=0;k[d+884>>2]=0;k[d+884+4>>2]=0;k[d+884+8>>2]=0;w=0;Ka(68,d+248|0,d+908|0,t|0,s|0,d+896|0,d+884|0);s=w;w=0;if(s&1){q=129;break c}w=0;Sa(536,g|0,d+248|0)|0;s=w;w=0;if(s&1){q=130;break c}QGa(d+248|0);dTa(d+884|0);dTa(d+896|0);dTa(d+908|0);break}case 8:{w=0;cb(138,d+872|0,263298,3);s=w;w=0;if(s&1){q=8;break c}s=n+16|0;t=k[s>>2]|0;y=n+20|0;z=k[y>>2]|0;w=0;A=ya(682,n|0)|0;B=w;w=0;if(B&1){q=147;break c};k[d+860>>2]=0;k[d+860+4>>2]=0;k[d+860+8>>2]=0;w=0;kb(142,d+592|0,A|0,0,d+632|0);A=w;w=0;if(A&1){q=140;break c}if(!(i[d+860>>0]&1)){i[d+860+1>>0]=0;i[d+860>>0]=0}else{i[k[d+860+8>>2]>>0]=0;k[d+860+4>>2]=0}w=0;ua(708,d+860|0,0);A=w;w=0;if(A&1){q=139;break c};k[d+860>>2]=k[d+592>>2];k[d+860+4>>2]=k[d+592+4>>2];k[d+860+8>>2]=k[d+592+8>>2];k[d+592>>2]=0;k[d+592+4>>2]=0;k[d+592+8>>2]=0;dTa(d+592|0);k[d+848>>2]=0;k[d+848+4>>2]=0;k[d+848+8>>2]=0;w=0;Ka(68,d+224|0,d+872|0,t|0,z|0,d+860|0,d+848|0);z=w;w=0;if(z&1){q=149;break c}w=0;Sa(536,g|0,d+224|0)|0;z=w;w=0;if(z&1){q=150;break c}QGa(d+224|0);dTa(d+848|0);dTa(d+860|0);dTa(d+872|0);w=0;cb(138,d+836|0,263302,8);z=w;w=0;if(z&1){q=8;break c}z=k[s>>2]|0;s=k[y>>2]|0;k[d+824>>2]=0;k[d+824+4>>2]=0;k[d+824+8>>2]=0;k[d+812>>2]=0;k[d+812+4>>2]=0;k[d+812+8>>2]=0;w=0;Ka(68,d+200|0,d+836|0,z|0,s|0,d+824|0,d+812|0);s=w;w=0;if(s&1){q=153;break c}w=0;Sa(536,g|0,d+200|0)|0;s=w;w=0;if(s&1){q=154;break c}QGa(d+200|0);dTa(d+812|0);dTa(d+824|0);dTa(d+836|0);break}case 9:{w=0;cb(138,d+800|0,263311,9);s=w;w=0;if(s&1){q=8;break c}s=k[n+16>>2]|0;z=k[n+20>>2]|0;w=0;y=ya(682,n|0)|0;t=w;w=0;if(t&1){q=162;break c}u=d+136|0;v=y;x=u+40|0;do{k[u>>2]=k[v>>2];u=u+4|0;v=v+4|0}while((u|0)<(x|0));w=0;ua(1104,d+788|0,d+136|0);o=w;w=0;if(o&1){q=162;break c};k[d+776>>2]=0;k[d+776+4>>2]=0;k[d+776+8>>2]=0;w=0;Ka(68,d+176|0,d+800|0,s|0,z|0,d+788|0,d+776|0);o=w;w=0;if(o&1){q=163;break c}w=0;Sa(536,g|0,d+176|0)|0;o=w;w=0;if(o&1){q=164;break c}QGa(d+176|0);dTa(d+776|0);dTa(d+788|0);dTa(d+800|0);break}default:{q=167;break c}}while(0);n=n+44|0;if((n|0)==(h|0))break b}switch(q|0){case 8:{n=Ib()|0;C=L;D=n;break a;break}case 19:{E=Ib()|0;F=L;q=23;break}case 20:{G=Ib()|0;H=L;q=22;break}case 21:{n=Ib()|0;o=L;QGa(d+504|0);G=n;H=o;q=22;break}case 31:{I=Ib()|0;J=L;break}case 32:{K=Ib()|0;M=L;q=36;break}case 33:{N=Ib()|0;O=L;q=35;break}case 34:{o=Ib()|0;n=L;QGa(d+480|0);N=o;O=n;q=35;break}case 46:{P=Ib()|0;Q=L;q=50;break}case 47:{R=Ib()|0;S=L;q=49;break}case 48:{n=Ib()|0;o=L;QGa(d+416|0);R=n;S=o;q=49;break}case 58:{T=Ib()|0;U=L;q=62;break}case 59:{V=Ib()|0;W=L;q=61;break}case 60:{o=Ib()|0;n=L;QGa(d+392|0);V=o;W=n;q=61;break}case 70:{Zc(Ib(0)|0);break}case 71:{n=Ib()|0;o=L;dTa(d+1076|0);X=o;Y=n;q=76;break}case 75:{n=Ib()|0;X=L;Y=n;q=76;break}case 77:{Z=Ib()|0;_=L;q=79;break}case 78:{n=Ib()|0;o=L;QGa(d+368|0);Z=n;_=o;q=79;break}case 88:{$=Ib()|0;aa=L;q=92;break}case 89:{ba=Ib()|0;ca=L;q=91;break}case 90:{o=Ib()|0;n=L;QGa(d+344|0);ba=o;ca=n;q=91;break}case 100:{da=Ib()|0;ea=L;q=104;break}case 101:{fa=Ib()|0;ga=L;q=103;break}case 102:{n=Ib()|0;o=L;QGa(d+320|0);fa=n;ga=o;q=103;break}case 109:{ha=Ib()|0;ia=L;q=111;break}case 110:{o=Ib()|0;n=L;QGa(d+296|0);ha=o;ia=n;q=111;break}case 120:{ja=Ib()|0;ka=L;q=124;break}case 121:{la=Ib()|0;ma=L;q=123;break}case 122:{n=Ib()|0;o=L;QGa(d+272|0);la=n;ma=o;q=123;break}case 129:{na=Ib()|0;oa=L;q=131;break}case 130:{o=Ib()|0;n=L;QGa(d+248|0);na=o;oa=n;q=131;break}case 139:{Zc(Ib(0)|0);break}case 140:{n=Ib()|0;o=L;dTa(d+860|0);pa=o;qa=n;q=148;break}case 147:{n=Ib()|0;pa=L;qa=n;q=148;break}case 149:{ra=Ib()|0;ta=L;q=151;break}case 150:{n=Ib()|0;o=L;QGa(d+224|0);ra=n;ta=o;q=151;break}case 153:{va=Ib()|0;wa=L;q=155;break}case 154:{o=Ib()|0;n=L;QGa(d+200|0);va=o;wa=n;q=155;break}case 162:{xa=Ib()|0;za=L;q=166;break}case 163:{Aa=Ib()|0;Ba=L;q=165;break}case 164:{n=Ib()|0;o=L;QGa(d+176|0);Aa=n;Ba=o;q=165;break}case 167:{k[d+752>>2]=0;k[d+752+4>>2]=0;k[d+752+8>>2]=0;k[d+752+12>>2]=0;k[d+752+16>>2]=0;k[d+752+20>>2]=-1;k[d+752>>2]=16032;k[d+752+4>>2]=16056;w=0;kb(201,d+752|0,263321,263065,301);w=0;o=Ib()|0;n=L;k[d+752+4>>2]=13668;p=k[d+752+8>>2]|0;if(p){w=0;y=ya(k[(k[p>>2]|0)+16>>2]|0,p|0)|0;p=w;w=0;if(p&1){p=Ib(0)|0;Zc(p)}if(y)k[d+752+8>>2]=0}l=o;m=n;QGa(a);Hb(l|0);break}}switch(q|0){case 22:{dTa(d+1364|0);dTa(d+1404|0);E=G;F=H;q=23;break}case 35:{dTa(d+1172|0);K=N;M=O;q=36;break}case 49:{dTa(d+1136|0);dTa(d+1148|0);P=R;Q=S;q=50;break}case 61:{dTa(d+1100|0);dTa(d+1112|0);T=V;U=W;q=62;break}case 76:{Ca=Y;Da=X;q=80;break}case 79:{dTa(d+1064|0);dTa(d+1076|0);Ca=Z;Da=_;q=80;break}case 91:{dTa(d+1028|0);dTa(d+1040|0);$=ba;aa=ca;q=92;break}case 103:{dTa(d+992|0);dTa(d+1004|0);da=fa;ea=ga;q=104;break}case 111:{dTa(d+956|0);dTa(d+968|0);dTa(d+980|0);l=ha;m=ia;QGa(a);Hb(l|0);break}case 123:{dTa(d+920|0);dTa(d+932|0);ja=la;ka=ma;q=124;break}case 131:{dTa(d+884|0);dTa(d+896|0);dTa(d+908|0);l=na;m=oa;QGa(a);Hb(l|0);break}case 148:{Ea=qa;Fa=pa;q=152;break}case 151:{dTa(d+848|0);dTa(d+860|0);Ea=ra;Fa=ta;q=152;break}case 155:{dTa(d+812|0);dTa(d+824|0);dTa(d+836|0);l=va;m=wa;QGa(a);Hb(l|0);break}case 165:{dTa(d+776|0);dTa(d+788|0);xa=Aa;za=Ba;q=166;break}}switch(q|0){case 23:{dTa(d+1448|0);dTa(d+1416|0);l=E;m=F;QGa(a);Hb(l|0);break}case 36:{dTa(d+1340|0);I=K;J=M;break}case 50:{dTa(d+1160|0);l=P;m=Q;QGa(a);Hb(l|0);break}case 62:{dTa(d+1124|0);l=T;m=U;QGa(a);Hb(l|0);break}case 80:{dTa(d+1088|0);l=Ca;m=Da;QGa(a);Hb(l|0);break}case 92:{dTa(d+1052|0);l=$;m=aa;QGa(a);Hb(l|0);break}case 104:{dTa(d+1016|0);l=da;m=ea;QGa(a);Hb(l|0);break}case 124:{dTa(d+944|0);l=ja;m=ka;QGa(a);Hb(l|0);break}case 152:{dTa(d+872|0);l=Ea;m=Fa;QGa(a);Hb(l|0);break}case 166:{dTa(d+800|0);l=xa;m=za;QGa(a);Hb(l|0);break}}dTa(d+1352|0);l=I;m=J;QGa(a);Hb(l|0)}while(0);if(!((k[b+36>>2]|0)==0?(k[b+52>>2]|0)==(k[b+56>>2]|0):0))q=175;e:do if((q|0)==175){w=0;h=Sa(537,a|0,263391)|0;g=w;w=0;if(g&1){q=9;break a}w=0;ua(709,d+112|0,7);g=w;w=0;if(g&1){q=9;break a}w=0;g=Sa(538,h|0,d+112|0)|0;h=w;w=0;if(h&1){h=Ib()|0;j=L;QGa(d+112|0);l=h;m=j;QGa(a);Hb(l|0)}QGa(d+112|0);j=k[b+28>>2]|0;f:do if((j|0)==(b+32|0)){Ga=b+56|0;Ha=b+52|0}else{h=d+632+4|0;n=d+592+4|0;o=d+592+4|0;y=d+72+4|0;p=j;while(1){t=p+16|0;A=p+48|0;B=0;Ia=1;Ja=t;while(1){La=i[Ja>>0]|0;k[d+632>>2]=B;k[h>>2]=k[d+720>>2];k[h+4>>2]=k[d+720+4>>2];k[h+8>>2]=k[d+720+8>>2];k[h+12>>2]=k[d+720+12>>2];k[h+16>>2]=k[d+720+16>>2];k[h+20>>2]=k[d+720+20>>2];k[h+24>>2]=k[d+720+24>>2];k[d+632+32>>2]=Ia;wd(d+632|0,8,0);u=d+528|0;v=d+632|0;x=u+40|0;do{k[u>>2]=k[v>>2];u=u+4|0;v=v+4|0}while((u|0)<(x|0));k[d+592>>2]=0;k[d+592+32>>2]=1;k[d+632>>2]=La&255;k[d+632+32>>2]=1;W5(d+592|0,d+528|0,d+632|0);Ma=k[d+592>>2]|0;k[d+1376>>2]=k[n>>2];k[d+1376+4>>2]=k[n+4>>2];k[d+1376+8>>2]=k[n+8>>2];k[d+1376+12>>2]=k[n+12>>2];k[d+1376+16>>2]=k[n+16>>2];k[d+1376+20>>2]=k[n+20>>2];k[d+1376+24>>2]=k[n+24>>2];Na=k[d+592+32>>2]|0;k[d+720>>2]=k[d+1376>>2];k[d+720+4>>2]=k[d+1376+4>>2];k[d+720+8>>2]=k[d+1376+8>>2];k[d+720+12>>2]=k[d+1376+12>>2];k[d+720+16>>2]=k[d+1376+16>>2];k[d+720+20>>2]=k[d+1376+20>>2];k[d+720+24>>2]=k[d+1376+24>>2];Ja=Ja+1|0;if((Ja|0)==(A|0))break;else{B=Ma;Ia=Na}}if(Na>>>0>1?1:Ma>>>0>=(k[b+56>>2]|0)-(k[b+52>>2]|0)>>3>>>0){k[d+72>>2]=0;k[d+72+32>>2]=1;Ia=t;do{B=i[Ia>>0]|0;u=d+632|0;v=d+72|0;x=u+40|0;do{k[u>>2]=k[v>>2];u=u+4|0;v=v+4|0}while((u|0)<(x|0));wd(d+632|0,8,0);u=d+528|0;v=d+632|0;x=u+40|0;do{k[u>>2]=k[v>>2];u=u+4|0;v=v+4|0}while((u|0)<(x|0));k[d+592>>2]=0;k[d+592+32>>2]=1;k[d+632>>2]=B&255;k[d+632+32>>2]=1;W5(d+592|0,d+528|0,d+632|0);La=k[d+592>>2]|0;k[d+1376>>2]=k[o>>2];k[d+1376+4>>2]=k[o+4>>2];k[d+1376+8>>2]=k[o+8>>2];k[d+1376+12>>2]=k[o+12>>2];k[d+1376+16>>2]=k[o+16>>2];k[d+1376+20>>2]=k[o+20>>2];k[d+1376+24>>2]=k[o+24>>2];Ja=k[d+592+32>>2]|0;k[d+72>>2]=La;k[y>>2]=k[d+1376>>2];k[y+4>>2]=k[d+1376+4>>2];k[y+8>>2]=k[d+1376+8>>2];k[y+12>>2]=k[d+1376+12>>2];k[y+16>>2]=k[d+1376+16>>2];k[y+20>>2]=k[d+1376+20>>2];k[y+24>>2]=k[d+1376+24>>2];k[d+72+32>>2]=Ja;Ia=Ia+1|0}while((Ia|0)!=(A|0));w=0;ua(1104,d+708|0,d+72|0);A=w;w=0;if(A&1){q=7;break}w=0;A=Sa(540,g|0,d+708|0)|0;Ia=w;w=0;if(Ia&1){q=195;break}w=0;kb(99,d+696|0,p+48|0,2,0);Ia=w;w=0;if(Ia&1){q=195;break}w=0;ua(710,d+48|0,d+696|0);Ia=w;w=0;if(Ia&1){q=196;break}w=0;Sa(538,A|0,d+48|0)|0;A=w;w=0;if(A&1){q=197;break}QGa(d+48|0);dTa(d+696|0);dTa(d+708|0)}A=k[p+4>>2]|0;if(!A){Ia=p;while(1){t=k[Ia+8>>2]|0;if((k[t>>2]|0)==(Ia|0)){Oa=t;break}else Ia=t}}else{Ia=A;while(1){t=k[Ia>>2]|0;if(!t){Oa=Ia;break}else Ia=t}}if((Oa|0)==(b+32|0)){Ga=b+56|0;Ha=b+52|0;break f}else p=Oa}if((q|0)==7){p=Ib()|0;C=L;D=p;break a}else if((q|0)==195){p=Ib()|0;Pa=p;Qa=L}else if((q|0)==196){p=Ib()|0;Ra=p;Ta=L;q=198}else if((q|0)==197){p=Ib()|0;y=L;QGa(d+48|0);Ra=p;Ta=y;q=198}if((q|0)==198){dTa(d+696|0);Pa=Ra;Qa=Ta}dTa(d+708|0);l=Pa;m=Qa;QGa(a);Hb(l|0)}while(0);if((k[Ga>>2]|0)!=(k[Ha>>2]|0)){j=d+1184+64|0;y=d+1184+12|0;p=d+1184+44|0;o=d+1184+8|0;n=0;while(1){k[d+1184+8>>2]=14472;k[d+1184>>2]=14512;k[j>>2]=14532;k[d+1184+4>>2]=0;w=0;ua(725,d+1184+64|0,y|0);h=w;w=0;if(h&1){q=209;break}k[d+1184+136>>2]=0;k[d+1184+140>>2]=-1;k[d+1184>>2]=14452;k[d+1184+64>>2]=14492;k[d+1184+8>>2]=14472;w=0;sa(1635,y|0);h=w;w=0;if(h&1){q=210;break}k[y>>2]=14004;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;k[p+12>>2]=0;k[d+1184+60>>2]=24;k[d+1328>>2]=0;k[d+1328+4>>2]=0;k[d+1328+8>>2]=0;w=0;ua(726,y|0,d+1328|0);h=w;w=0;if(h&1){q=208;break}dTa(d+1328|0);h=o+(k[(k[o>>2]|0)+-12>>2]|0)+4|0;k[h>>2]=k[h>>2]&-75|8;w=0;Sa(593,o|0,n|0)|0;h=w;w=0;if(h&1){q=219;break}w=0;ua(727,d+684|0,y|0);h=w;w=0;if(h&1){q=219;break}w=0;h=Sa(540,g|0,d+684|0)|0;Ia=w;w=0;if(Ia&1){q=220;break}w=0;cb(441,d+24|0,k[(k[b+52>>2]|0)+(n<<3)>>2]|0,c|0);Ia=w;w=0;if(Ia&1){q=220;break}w=0;Sa(538,h|0,d+24|0)|0;h=w;w=0;if(h&1){q=221;break}QGa(d+24|0);dTa(d+684|0);k[d+1184>>2]=14452;k[j>>2]=14492;k[o>>2]=14472;k[y>>2]=14004;dTa(p);VTa(y);QTa(j);n=n+1|0;if(n>>>0>=(k[Ga>>2]|0)-(k[Ha>>2]|0)>>3>>>0)break e}if((q|0)==208){n=Ib()|0;g=L;dTa(d+1328|0);dTa(p);VTa(y);Ua=g;Va=n;q=211}else if((q|0)==209){n=Ib()|0;Wa=L;Xa=n;q=212}else if((q|0)==210){n=Ib()|0;Ua=L;Va=n;q=211}else if((q|0)==219){n=Ib()|0;Ya=n;Za=L}else if((q|0)==220){n=Ib()|0;_a=n;$a=L;q=222}else if((q|0)==221){n=Ib()|0;g=L;QGa(d+24|0);_a=n;$a=g;q=222}if((q|0)==211){Wa=Ua;Xa=Va;q=212}else if((q|0)==222){dTa(d+684|0);Ya=_a;Za=$a}if((q|0)==212){QTa(j);C=Wa;D=Xa;break a}k[d+1184>>2]=14452;k[j>>2]=14492;k[o>>2]=14472;k[y>>2]=14004;dTa(p);VTa(y);QTa(j);l=Ya;m=Za;QGa(a);Hb(l|0)}}while(0);if((k[b+44>>2]|0)==(k[b+40>>2]|0)){r=d;return}w=0;g=Sa(537,a|0,263397)|0;n=w;w=0;if(!(n&1)?(w=0,kb(99,d+672|0,b+40|0,2,0),n=w,w=0,!(n&1)):0){w=0;ua(710,d|0,d+672|0);n=w;w=0;do if(n&1){h=Ib()|0;ab=h;bb=L}else{w=0;Sa(538,g|0,d|0)|0;h=w;w=0;if(h&1){h=Ib()|0;Ia=L;QGa(d);ab=h;bb=Ia;break}QGa(d);dTa(d+672|0);r=d;return}while(0);dTa(d+672|0);l=ab;m=bb;QGa(a);Hb(l|0)}else q=9}else q=9;while(0);if((q|0)==9){q=Ib()|0;C=L;D=q}l=D;m=C;QGa(a);Hb(l|0)}function MDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;d=r;r=r+192|0;e=i[c>>0]|0;f=(e&1)==0?(e&255)>>>1:k[c+4>>2]|0;if(!f){k[d+128>>2]=0;k[d+128+4>>2]=0;k[d+128+8>>2]=0;k[d+128+12>>2]=0;k[d+128+16>>2]=0;k[d+128+20>>2]=-1;k[d+128>>2]=41936;k[d+128+4>>2]=41960;w=0;cb(138,d+100|0,263406,16);g=w;w=0;if(g&1){g=Ib()|0;h=L;j=g}else{k[d+112>>2]=13804;w=0;ua(724,d+112+4|0,d+100|0);g=w;w=0;if(g&1){g=Ib()|0;l=L;m=g}else{w=0;g=Sa(681,d+128|0,d+112|0)|0;n=w;w=0;if(!(n&1)){k[g+(k[(k[g>>2]|0)+-24>>2]|0)+8>>2]=263423;k[g+(k[(k[g>>2]|0)+-24>>2]|0)+12>>2]=263065;k[g+(k[(k[g>>2]|0)+-24>>2]|0)+16>>2]=338;w=0;sa(1680,g|0);w=0}g=Ib()|0;n=L;k[d+112>>2]=13804;dTa(d+112+4|0);l=n;m=g}dTa(d+100|0);h=l;j=m}k[d+128+4>>2]=13668;m=k[d+128+8>>2]|0;if(m){w=0;l=ya(k[(k[m>>2]|0)+16>>2]|0,m|0)|0;m=w;w=0;if(m&1){m=Ib(0)|0;Zc(m)}if(l)k[d+128+8>>2]=0}o=h;p=j;Hb(p|0)}j=k[b+8>>2]|0;a:do if(!j)q=23;else{h=(e&1)==0?c+1|0:k[c+8>>2]|0;l=j;while(1){m=l+16|0;g=i[m>>0]|0;n=(g&1)==0?(g&255)>>>1:k[l+20>>2]|0;s=(g&1)==0?m+1|0:k[l+24>>2]|0;m=$Qa(h,s,n>>>0>>0?n:f)|0;if((((m|0)==0?(f>>>0>>0?-2147483648:0):m)|0)<0)t=l;else{m=$Qa(s,h,f>>>0>>0?f:n)|0;if((((m|0)==0?(n>>>0>>0?-2147483648:0):m)|0)>=0)break a;t=l+4|0}l=k[t>>2]|0;if(!l){q=23;break}}}while(0);do if((q|0)==23){t=k[b>>2]|0;k[b>>2]=t+1;k[d+56>>2]=8;k[d+56+8>>2]=0;k[d+56+12>>2]=0;k[d+56+16>>2]=-1;k[d+56+16+4>>2]=-1;f=d+56+24|0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;k[f+16>>2]=0;f=EPa(56)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;k[f+16>>2]=t;k[f+20>>2]=k[d+152>>2];k[f+20+4>>2]=k[d+152+4>>2];k[f+20+8>>2]=k[d+152+8>>2];k[f+20+12>>2]=k[d+152+12>>2];k[f+20+16>>2]=k[d+152+16>>2];k[f+20+20>>2]=k[d+152+20>>2];k[f+20+24>>2]=k[d+152+24>>2];k[f+48>>2]=1;k[d+56+8>>2]=f+16;k[d+56+12>>2]=f;w=0;t=ya(682,d+56|0)|0;j=w;w=0;if(!(j&1)?(j=k[t>>2]|0,w=0,t=Sa(576,b+4|0,c|0)|0,e=w,w=0,!(e&1)):0){k[t>>2]=j;QSa(f);break}j=Ib()|0;t=L;QSa(f);o=t;p=j;Hb(p|0)}while(0);q=eh(b+4|0,d+152|0,c)|0;c=k[q>>2]|0;if(!c){q=vb(8)|0;w=0;ua(756,q|0,269474);b=w;w=0;if(b&1){b=Ib()|0;ub(q|0);Hb(b|0)}else{k[q>>2]=45832;Xb(q|0,11184,530)}}k[d>>2]=k[c+28>>2];k[d+32>>2]=1;k[d+40>>2]=-1;k[d+40+4>>2]=-1;k[d+40+8>>2]=0;k[d+40+12>>2]=0;w=0;kb(175,a|0,8,d|0,d+40|0);a=w;w=0;if(!(a&1)){r=d;return}d=Ib()|0;o=L;p=d;Hb(p|0)}function NDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=r;r=r+256|0;e=i[c>>0]|0;f=(e&1)==0?(e&255)>>>1:k[c+4>>2]|0;g=(e&1)==0?c+1|0:k[c+8>>2]|0;e=d+216|0;h=e+32|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(h|0));k[d+40>>2]=g;k[d+40+4>>2]=f;k[d>>2]=d+216;k[d+4>>2]=32;k[d+120>>2]=k[d+40>>2];k[d+120+4>>2]=k[d+40+4>>2];k[d+160>>2]=k[d>>2];k[d+160+4>>2]=k[d+4>>2];cJa(d+120|0,d+160|0)|0;eTa(VDa(b+76|0,d+216|0)|0,c)|0;k[d+80>>2]=0;k[d+80+32>>2]=1;c=d+216|0;do{b=i[c>>0]|0;e=d+160|0;f=d+80|0;h=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));wd(d+160|0,8,0);e=d;f=d+160|0;h=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));k[d+120>>2]=0;k[d+120+32>>2]=1;k[d+160>>2]=b&255;k[d+160+32>>2]=1;W5(d+120|0,d,d+160|0);e=d+40|0;f=d+120|0;h=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));e=d+80|0;f=d+40|0;h=e+36|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(h|0));c=c+1|0}while((c|0)!=(d+216+32|0));k[d+200>>2]=-1;k[d+200+4>>2]=-1;k[d+200+8>>2]=0;k[d+200+12>>2]=0;QZ(a,10,d+80|0,d+200|0);r=d;return}function ODa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=r;r=r+48|0;k[f>>2]=0;j[f+4>>1]=0;k[f+8>>2]=3;k[f+12>>2]=200;i[f>>0]=d&1;i[f+1>>0]=1;i[f+2>>0]=1;if(b){i[f+3>>0]=1;i[f+4>>0]=1;i[f+5>>0]=1}k[f+8>>2]=k[c>>2];k[f+12>>2]=e;k[f+16+4>>2]=0;k[f+16+8>>2]=0;k[f+16>>2]=f+16+4;w=0;kb(204,f+28|0,a|0,f|0,f+16|0);e=w;w=0;if(e&1){e=Ib()|0;Xl(f+16|0,k[f+16+4>>2]|0);Hb(e|0)}else{WDa(f+28|0,k[f+28+4>>2]|0);Xl(f+16|0,k[f+16+4>>2]|0);r=f;return a|0}return 0}function PDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0;e=r;r=r+496|0;f=k[b+52>>2]|0;a:do if((k[b+56>>2]|0)!=(f|0)){g=f;h=0;while(1){k[e+480>>2]=k[c>>2];k[e+480+4>>2]=k[c+4>>2];k[e+480+8>>2]=k[c+8>>2];k[e+480+12>>2]=k[c+12>>2];i[e+480>>0]=0;j=k[g+(h<<3)>>2]|0;eFa(e+456|0,b+16|0,h);w=0;kb(204,e+468|0,j|0,e+480|0,e+456|0);j=w;w=0;if(j&1){l=8;break}Xl(e+456|0,k[e+456+4>>2]|0);w=0;Ea(113,b+16|0,e+468|0,h|0)|0;j=w;w=0;if(j&1){l=9;break}WDa(e+468|0,k[e+468+4>>2]|0);h=h+1|0;g=k[b+52>>2]|0;if(h>>>0>=(k[b+56>>2]|0)-g>>3>>>0){m=b+16|0;break a}}if((l|0)==8){g=Ib()|0;h=L;Xl(e+456|0,k[e+456+4>>2]|0);n=g;o=h;Hb(n|0)}else if((l|0)==9){h=Ib()|0;g=L;WDa(e+468|0,k[e+468+4>>2]|0);n=h;o=g;Hb(n|0)}}else m=b+16|0;while(0);k[a+4>>2]=0;k[a+8>>2]=0;k[a>>2]=a+4;f=e+336+4|0;g=e+24+192|0;h=e+360+4|0;j=e+376+8|0;b:while(1){if(!(i[c+1>>0]|0))p=0;else{k[e+424>>2]=m;w=0;q=Sa(683,e+424|0,d|0)|0;s=w;w=0;if(s&1){l=14;break}p=q&1}if(!(i[c+2>>0]|0))t=p;else{k[e+376>>2]=m;k[e+376+4>>2]=0;k[j>>2]=0;k[e+376+12>>2]=0;q=p;while(1){w=0;s=ya(754,e+376|0)|0;u=w;w=0;if(u&1){l=26;break b}if(!s){v=q;break}q=q+1|0;if(q>>>0>=64e3){l=22;break b}}q=k[e+376+4>>2]|0;if(q){s=k[j>>2]|0;if((s|0)==(q|0))x=q;else{u=s;do{k[j>>2]=u+-44;s=k[u+-4>>2]|0;if(s)QSa(s);s=k[u+-16>>2]|0;if(s)QSa(s);s=k[u+-32>>2]|0;if(s)QSa(s);u=k[j>>2]|0}while((u|0)!=(q|0));x=k[e+376+4>>2]|0}GPa(x)}t=v}if(!(i[c+3>>0]|0))y=t;else{k[e+360+4>>2]=0;k[e+360+8>>2]=0;k[e+360>>2]=h;k[e+360+12>>2]=m;w=0;q=ya(755,e+360|0)|0;u=w;w=0;if(u&1){l=78;break}if(q){q=k[e+360>>2]|0;if((q|0)!=(h|0)){u=q;s=q;while(1){w=0;q=ya(665,96)|0;z=w;w=0;if(z&1){l=77;break b}z=q+16|0;A=u+16|0;B=z+40|0;do{k[z>>2]=k[A>>2];z=z+4|0;A=A+4|0}while((z|0)<(B|0));z=q+56|0;A=u+56|0;B=z+40|0;do{k[z>>2]=k[A>>2];z=z+4|0;A=A+4|0}while((z|0)<(B|0));k[e+424>>2]=a+4;k[e+480>>2]=k[e+424>>2];A=XDa(a,e+480|0,e+468|0,q+16|0)|0;z=k[A>>2]|0;if(z){if((z|0)!=(q|0))GPa(q)}else{z=k[e+468>>2]|0;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=z;k[A>>2]=q;z=k[k[a>>2]>>2]|0;if(!z)C=q;else{k[a>>2]=z;C=k[A>>2]|0}$c(k[a+4>>2]|0,C);k[a+8>>2]=(k[a+8>>2]|0)+1}A=k[s+4>>2]|0;if(!A){z=s;while(1){B=k[z+8>>2]|0;if((k[B>>2]|0)==(z|0)){D=B;break}else z=B}}else{z=A;while(1){q=k[z>>2]|0;if(!q){D=z;break}else z=q}}if((D|0)==(h|0))break;else{u=D;s=D}}}E=t+1|0}else E=t;WDa(e+360|0,k[h>>2]|0);y=E}if(!(i[c+4>>0]|0))F=y;else{k[e+336>>2]=0;k[f>>2]=0;k[e+336+8>>2]=0;s=k[m>>2]|0;u=k[b+20>>2]|0;if((s|0)==(u|0)){G=u;H=u;I=0;J=0;K=s;M=u;N=0;O=0;P=y}else{u=s;z=s;s=y;while(1){w=0;Q=ya(665,48)|0;A=w;w=0;if(A&1){l=91;break b}k[Q+4>>2]=0;k[Q+8>>2]=0;k[Q>>2]=16180;k[Q+12>>2]=0;k[Q+16>>2]=0;k[Q+20>>2]=0;k[Q+28>>2]=0;k[Q+32>>2]=0;k[Q+24>>2]=Q+28;k[Q+36>>2]=0;k[Q+40>>2]=0;k[Q+44>>2]=0;k[e+352>>2]=Q+12;k[e+352+4>>2]=Q;w=0;ua(783,e+240|0,e+352|0);A=w;w=0;if(A&1){l=92;break b}QSa(Q);w=0;ua(1056,e+24|0,e+240|0);A=w;w=0;if(A&1){l=93;break b}w=0;ua(1056,e+24+96|0,e+240|0);A=w;w=0;if(A&1){l=87;break b};k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[e+232>>2]=u;k[e+16>>2]=k[b+20>>2];w=0;k[e+468>>2]=k[e+232>>2];k[e+480>>2]=k[e+16>>2];R=Ea(114,e+24|0,e+468|0,e+480|0)|0;A=w;w=0;if(A&1){l=95;break b}A=u;u=R;k[e+20>>2]=0;w=0;ua(1107,e+4|0,e+24|0);q=w;w=0;do if(q&1){B=Ib(9840,9864)|0;S=L;if((S|0)==(Cb(9840)|0)){Eb(B|0)|0;w=0;eb(44);T=w;w=0;if(T&1){l=107;break b}else{U=0;l=108;break}}if((S|0)!=(Cb(9864)|0)){V=B;W=S;l=144;break b}Eb(B|0)|0;w=0;eb(44);B=w;w=0;if(B&1){l=107;break b}else{U=0;l=108}}else{X=k[e+4>>2]|0;B=k[e+4+4>>2]|0;k[e+20>>2]=B;k[e+4+8>>2]=0;k[e+4+4>>2]=0;k[e+4>>2]=0;if((B-X|0)>>>0<(u-A|0)>>>0){S=s+1|0;if((X|0)==(B|0)){Y=X;Z=S}else{T=X;while(1){_=k[f>>2]|0;if(_>>>0>=(k[e+336+8>>2]|0)>>>0){w=0;ua(1032,e+336|0,T|0);$=w;w=0;if($&1){l=105;break b}}else{k[_>>2]=k[T>>2];i[_+4>>0]=i[T+4>>0]|0;$=T+8|0;k[_+8>>2]=k[$>>2];aa=T+12|0;k[_+12>>2]=k[aa>>2];k[$>>2]=0;k[aa>>2]=0;k[_+16>>2]=k[T+16>>2];k[_+20>>2]=k[T+20>>2];aa=T+24|0;k[_+24>>2]=k[aa>>2];$=T+28|0;k[_+28>>2]=k[$>>2];k[aa>>2]=0;k[$>>2]=0;k[_+32>>2]=k[T+32>>2];$=T+36|0;k[_+36>>2]=k[$>>2];aa=T+40|0;k[_+40>>2]=k[aa>>2];k[$>>2]=0;k[aa>>2]=0;k[f>>2]=(k[f>>2]|0)+44}T=T+44|0;if((T|0)==(B|0)){Y=X;Z=S;break}}}}else{U=X;l=108}}while(0);if((l|0)==108){l=0;if((z|0)==(R|0)){Y=U;Z=s}else{A=z;while(1){q=k[f>>2]|0;if((q|0)==(k[e+336+8>>2]|0)){w=0;ua(1035,e+336|0,A|0);S=w;w=0;if(S&1){ba=U;l=106;break b}}else{k[q>>2]=k[A>>2];i[q+4>>0]=i[A+4>>0]|0;k[q+8>>2]=k[A+8>>2];S=k[A+12>>2]|0;k[q+12>>2]=S;if(S)OSa(S);S=A+16|0;B=k[S+4>>2]|0;k[q+16>>2]=k[S>>2];k[q+16+4>>2]=B;k[q+24>>2]=k[A+24>>2];B=k[A+28>>2]|0;k[q+28>>2]=B;if(B)OSa(B);k[q+32>>2]=k[A+32>>2];k[q+36>>2]=k[A+36>>2];B=k[A+40>>2]|0;k[q+40>>2]=B;if(B)OSa(B);k[f>>2]=(k[f>>2]|0)+44}A=A+44|0;if((A|0)==(R|0)){Y=U;Z=s;break}}}}A=Y;if(Y){B=k[e+20>>2]|0;if((B|0)!=(A|0)){q=B;do{B=q;q=q+-44|0;k[e+20>>2]=q;S=k[B+-4>>2]|0;if(S)QSa(S);S=k[B+-16>>2]|0;if(S)QSa(S);S=k[B+-32>>2]|0;if(S)QSa(S)}while((q|0)!=(A|0))}GPa(Y)}A=k[g>>2]|0;if(A){q=k[e+24+196>>2]|0;if((q|0)!=(A|0))k[e+24+196>>2]=q+(~((q+-16-A|0)>>>4)<<4);GPa(A)}Io(e+24+96|0);Io(e+24|0);Io(e+240|0);ca=k[b+20>>2]|0;if((R|0)==(ca|0)){da=Z;break}else{z=R;s=Z}}s=k[f>>2]|0;z=k[e+336>>2]|0;u=k[m>>2]|0;G=ca;H=R;I=z;J=s;K=u;M=u;N=z;O=s;P=da}if((J-I|0)>>>0>=(G-K|0)>>>0)if(!N)ea=P;else{if((O|0)==(N|0))fa=N;else{s=O;do{k[f>>2]=s+-44;z=k[s+-4>>2]|0;if(z)QSa(z);z=k[s+-16>>2]|0;if(z)QSa(z);z=k[s+-32>>2]|0;if(z)QSa(z);s=k[f>>2]|0}while((s|0)!=(N|0));fa=k[e+336>>2]|0}GPa(fa);ea=P}else{if(!M){ga=I;ha=J}else{if((H|0)==(M|0))ia=M;else{s=H;do{k[b+20>>2]=s+-44;z=k[s+-4>>2]|0;if(z)QSa(z);z=k[s+-16>>2]|0;if(z)QSa(z);z=k[s+-32>>2]|0;if(z)QSa(z);s=k[b+20>>2]|0}while((s|0)!=(M|0));ia=k[m>>2]|0}GPa(ia);k[b+24>>2]=0;k[b+20>>2]=0;k[b+16>>2]=0;ga=k[e+336>>2]|0;ha=k[f>>2]|0}k[m>>2]=ga;k[b+20>>2]=ha;k[b+24>>2]=k[e+336+8>>2];k[e+336+8>>2]=0;k[f>>2]=0;k[e+336>>2]=0;ea=P+1|0}F=ea}if(!F){l=10;break}}switch(l|0){case 10:{if(!(i[c+5>>0]|0)){r=e;return}F=(i[c>>0]|0)!=0;ea=F?1:k[c+12>>2]|0;k[e>>2]=k[c+8>>2];w=0;k[e+480>>2]=k[e>>2];Ua(67,F|0,ea|0,e+480|0,b|0,m|0)|0;m=w;w=0;if(m&1){m=Ib()|0;ja=m;ka=L;l=16;break}else{r=e;return}break}case 14:{ja=Ib()|0;ka=L;l=16;break}case 22:{k[e+432>>2]=0;k[e+432+4>>2]=0;k[e+432+8>>2]=0;k[e+432+12>>2]=0;k[e+432+16>>2]=0;k[e+432+20>>2]=-1;k[e+432>>2]=34316;k[e+432+4>>2]=34340;w=0;cb(138,e+392|0,263491,37);m=w;w=0;if(m&1){m=Ib()|0;la=m;ma=L}else{k[e+408>>2]=13804;w=0;ua(724,e+408+4|0,e+392|0);m=w;w=0;if(m&1){m=Ib()|0;na=m;oa=L}else{w=0;m=Sa(669,e+432|0,e+408|0)|0;b=w;w=0;if(!(b&1)){k[m+(k[(k[m>>2]|0)+-24>>2]|0)+8>>2]=263529;k[m+(k[(k[m>>2]|0)+-24>>2]|0)+12>>2]=263065;k[m+(k[(k[m>>2]|0)+-24>>2]|0)+16>>2]=419;w=0;sa(1677,m|0);w=0}m=Ib()|0;b=L;k[e+408>>2]=13804;dTa(e+408+4|0);na=m;oa=b}dTa(e+392|0);la=na;ma=oa}k[e+432+4>>2]=13668;oa=k[e+432+8>>2]|0;if(oa){w=0;na=ya(k[(k[oa>>2]|0)+16>>2]|0,oa|0)|0;oa=w;w=0;if(oa&1){oa=Ib(0)|0;Zc(oa)}if(na)k[e+432+8>>2]=0}pa=la;qa=ma;l=49;break}case 26:{pa=Ib()|0;qa=L;l=49;break}case 77:{ra=Ib()|0;ta=L;l=79;break}case 78:{ra=Ib()|0;ta=L;l=79;break}case 87:{ma=Ib()|0;la=L;Io(e+24|0);va=la;wa=ma;l=94;break}case 91:{xa=Ib()|0;za=L;l=177;break}case 92:{ma=Ib()|0;la=L;QSa(Q);xa=ma;za=la;l=177;break}case 93:{la=Ib()|0;va=L;wa=la;l=94;break}case 95:{V=Ib()|0;W=L;l=144;break}case 105:{Aa=X;Ba=Ib()|0;Ca=L;l=134;break}case 106:{Aa=ba;Ba=Ib()|0;Ca=L;l=134;break}case 107:{V=Ib()|0;W=L;l=144;break}}if((l|0)==16){Da=ja;Fa=ka}else if((l|0)==49){ka=k[e+376+4>>2]|0;if(!ka){Da=pa;Fa=qa}else{ja=k[j>>2]|0;if((ja|0)==(ka|0))Ga=ka;else{ba=ja;do{k[j>>2]=ba+-44;ja=k[ba+-4>>2]|0;if(ja)QSa(ja);ja=k[ba+-16>>2]|0;if(ja)QSa(ja);ja=k[ba+-32>>2]|0;if(ja)QSa(ja);ba=k[j>>2]|0}while((ba|0)!=(ka|0));Ga=k[e+376+4>>2]|0}GPa(Ga);Da=pa;Fa=qa}}else if((l|0)==79){WDa(e+360|0,k[h>>2]|0);Da=ra;Fa=ta}else if((l|0)==94){Ha=wa;Ia=va;l=149}else if((l|0)==134){va=Aa;if(!Aa){V=Ba;W=Ca;l=144}else{wa=k[e+20>>2]|0;if((wa|0)!=(va|0)){ta=wa;do{wa=ta;ta=ta+-44|0;k[e+20>>2]=ta;ra=k[wa+-4>>2]|0;if(ra)QSa(ra);ra=k[wa+-16>>2]|0;if(ra)QSa(ra);ra=k[wa+-32>>2]|0;if(ra)QSa(ra)}while((ta|0)!=(va|0))}GPa(Aa);V=Ba;W=Ca;l=144}}if((l|0)==144){Ca=k[g>>2]|0;if(Ca){g=k[e+24+196>>2]|0;if((g|0)!=(Ca|0))k[e+24+196>>2]=g+(~((g+-16-Ca|0)>>>4)<<4);GPa(Ca)}Io(e+24+96|0);Io(e+24|0);Ha=V;Ia=W;l=149}if((l|0)==149){Io(e+240|0);xa=Ha;za=Ia;l=177}if((l|0)==177){l=k[e+336>>2]|0;if(!l){Da=xa;Fa=za}else{Ia=k[f>>2]|0;if((Ia|0)==(l|0))Ja=l;else{Ha=Ia;do{k[f>>2]=Ha+-44;Ia=k[Ha+-4>>2]|0;if(Ia)QSa(Ia);Ia=k[Ha+-16>>2]|0;if(Ia)QSa(Ia);Ia=k[Ha+-32>>2]|0;if(Ia)QSa(Ia);Ha=k[f>>2]|0}while((Ha|0)!=(l|0));Ja=k[e+336>>2]|0}GPa(Ja);Da=xa;Fa=za}}WDa(a,k[a+4>>2]|0);n=Da;o=Fa;Hb(n|0)}function QDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=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,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,_c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0;b=r;r=r+880|0;if((k[a+88>>2]|0)!=(k[a+92>>2]|0)){r=b;return a+88|0}c=k[a+52>>2]|0;d=k[a+56>>2]|0;if((c|0)==(d|0))e=1;else{f=c;c=1;while(1){QDa(k[f>>2]|0)|0;g=k[f>>2]|0;h=k[g+112>>2]|0;j=k[g+116>>2]|0;if((h|0)==(j|0))l=c;else{g=h;h=c;while(1){m=k[g>>2]|0;n=(m|0)!=-1&m>>>0>h>>>0?m:h;g=g+4|0;if((g|0)==(j|0)){l=n;break}else h=n}}f=f+8|0;if((f|0)==(d|0)){e=l;break}else c=l}}l=e;while(1){e=k[a+28>>2]|0;if((e|0)==(a+32|0))o=1;else{c=e;e=1;while(1){d=(k[c+52>>2]|0)+e-(k[c+48>>2]|0)|0;f=k[c+4>>2]|0;if(!f){h=c;while(1){j=k[h+8>>2]|0;if((k[j>>2]|0)==(h|0)){p=j;break}else h=j}}else{h=f;while(1){j=k[h>>2]|0;if(!j){p=h;break}else h=j}}if((p|0)==(a+32|0)){o=d;break}else{c=p;e=d}}}e=k[a+16>>2]|0;c=k[a+20>>2]|0;if((e|0)==(c|0))q=o;else{h=e;e=o;while(1){f=(XCa(h,l)|0)+e|0;h=h+44|0;if((h|0)==(c|0)){q=f;break}else e=f}}if(!q){s=0;break}else{t=q;u=0}while(1){v=u+1|0;t=t>>>8;if(!t)break;else u=v}if(v>>>0>l>>>0)l=l+1|0;else{s=q;break}}q=k[a>>2]|0;k[b+760>>2]=0;l=b+760+4|0;k[l>>2]=0;k[b+760+8>>2]=0;do if(!q){x=0;y=0}else{if(!(q>>>0>1073741823?(w=0,sa(1641,b+760|0),v=w,w=0,v&1):0))z=18;if((z|0)==18?(w=0,v=ya(665,q<<2|0)|0,u=w,w=0,!(u&1)):0){k[b+760>>2]=v;k[b+760+8>>2]=v+(q<<2);F0a(v|0,-1,q<<2|0)|0;k[l>>2]=v+(q<<2);x=v+(q<<2)|0;y=v;break}v=Ib()|0;u=k[b+760>>2]|0;if(!u)Hb(v|0);t=k[l>>2]|0;if((t|0)!=(u|0))k[l>>2]=t+(~((t+-4-u|0)>>>2)<<2);GPa(u);Hb(v|0)}while(0);q=k[a+112>>2]|0;if(!q){A=a+120|0;B=b+760+8|0;C=y;D=x;E=x}else{x=k[a+116>>2]|0;if((x|0)!=(q|0))k[a+116>>2]=x+(~((x+-4-q|0)>>>2)<<2);GPa(q);k[a+120>>2]=0;k[a+116>>2]=0;k[a+112>>2]=0;A=a+120|0;B=b+760+8|0;C=k[b+760>>2]|0;D=k[l>>2]|0;E=k[b+760+8>>2]|0}k[a+112>>2]=C;k[a+116>>2]=D;k[A>>2]=E;k[B>>2]=0;k[l>>2]=0;k[b+760>>2]=0;k[b+748+4>>2]=0;k[b+748+8>>2]=0;l=b+748+4|0;k[b+748>>2]=l;k[b+736+4>>2]=0;k[b+736+8>>2]=0;B=b+736+4|0;k[b+736>>2]=B;k[b+724+4>>2]=0;k[b+724+8>>2]=0;E=b+724+4|0;k[b+724>>2]=E;k[b+712>>2]=0;A=b+712+4|0;k[A>>2]=0;k[b+712+8>>2]=0;if(!s)F=0;else{D=s;C=0;while(1){q=C+1|0;D=D>>>8;if(!D){F=q;break}else C=q}}C=F+95&255;D=s+1+(k[a+44>>2]|0)-(k[a+40>>2]|0)|0;s=k[a+52>>2]|0;q=k[a+56>>2]|0;a:do if((s|0)==(q|0)){G=D;z=36}else{x=s;y=D;while(1){w=0;v=ya(681,k[x>>2]|0)|0;u=w;w=0;if(u&1)break;u=(k[v+4>>2]|0)+y-(k[v>>2]|0)|0;x=x+8|0;if((x|0)==(q|0)){G=u;z=36;break a}else y=u}y=Ib()|0;H=y;I=L;z=50}while(0);b:do if((z|0)==36){q=(G|0)==0;if(q)J=0;else{D=G;s=0;while(1){y=s+1|0;D=D>>>8;if(!D){J=y;break}else s=y}}s=J+95&255;D=k[a+88>>2]|0;do if(((k[a+96>>2]|0)-D|0)>>>0>>0){y=(k[a+92>>2]|0)-D|0;if(!q){w=0;x=ya(665,G|0)|0;u=w;w=0;if(u&1)break;else K=x}else K=0;x=K+y|0;J0a(x+(0-y)|0,D|0,y|0)|0;k[a+88>>2]=x+(0-y);k[a+92>>2]=x;k[a+96>>2]=K+G;if(D){GPa(D);z=53}else z=53}else z=53;while(0);c:do if((z|0)==53){D=k[a+16>>2]|0;q=k[a+20>>2]|0;d:do if((D|0)!=(q|0)){x=D;e:while(1){y=k[x>>2]|0;f:do if((y|0)==8){w=0;u=ya(682,x|0)|0;v=w;w=0;if(v&1){z=47;break e}if(!((k[u>>2]|0)!=0?1:(k[u+32>>2]|0)!=1)){z=340;break e}w=0;ua(1101,b+576|0,x|0);u=w;w=0;if(u&1){z=47;break e}if((k[b+576>>2]|0)!=-1){z=356;break e}if(((k[a+92>>2]|0)-(k[a+88>>2]|0)|0)==-1){z=371;break e}w=0;u=ya(682,x|0)|0;v=w;w=0;if(v&1){z=47;break e}if((k[(k[a+112>>2]|0)+(k[u>>2]<<2)>>2]|0)!=-1){z=387;break e}u=k[a+92>>2]|0;v=k[a+88>>2]|0;w=0;t=ya(682,x|0)|0;o=w;w=0;if(o&1){z=47;break e}k[(k[a+112>>2]|0)+(k[t>>2]<<2)>>2]=u-v;v=k[a+92>>2]|0;u=k[a+96>>2]|0;if(v>>>0>>0){i[v>>0]=91;k[a+92>>2]=(k[a+92>>2]|0)+1;break}t=k[a+88>>2]|0;if((v-t+1|0)<0){w=0;sa(1641,a+88|0);o=w;w=0;if(o&1){z=47;break e}M=k[a+88>>2]|0;N=k[a+96>>2]|0}else{M=t;N=u}u=M;o=N-M|0;if(o>>>0<1073741823){p=o<<1>>>0<(v-t+1|0)>>>0?v-t+1|0:o<<1;o=k[a+92>>2]|0;t=o-M|0;if(!p){O=0;P=0;Q=t;R=o}else{S=p;T=o;U=t;z=410}}else{t=k[a+92>>2]|0;S=2147483647;T=t;U=t-M|0;z=410}if((z|0)==410){z=0;w=0;t=ya(665,S|0)|0;o=w;w=0;if(o&1){z=47;break e}else{O=S;P=t;Q=U;R=T}}t=P+Q|0;i[t>>0]=91;o=R-M|0;J0a(t+(0-o)|0,u|0,o|0)|0;k[a+88>>2]=t+(0-o);k[a+92>>2]=t+1;k[a+96>>2]=P+O;if(!M)break;GPa(u)}else{u=k[a+112>>2]|0;if((k[u>>2]|0)==-1)k[u>>2]=(k[a+92>>2]|0)-(k[a+88>>2]|0);do switch(y|0){case 1:{w=0;u=ya(739,x|0)|0;t=w;w=0;if(t&1){z=47;break e}t=k[a+92>>2]|0;o=k[a+96>>2]|0;if(t>>>0>>0){i[t>>0]=u;k[a+92>>2]=(k[a+92>>2]|0)+1;break f}p=k[a+88>>2]|0;if((t-p+1|0)<0){w=0;sa(1641,a+88|0);v=w;w=0;if(v&1){z=47;break e}V=k[a+88>>2]|0;W=k[a+96>>2]|0}else{V=p;W=o}o=V;v=W-V|0;if(v>>>0<1073741823){e=v<<1>>>0<(t-p+1|0)>>>0?t-p+1|0:v<<1;v=k[a+92>>2]|0;p=v-V|0;if(!e){X=0;Y=0;Z=p;_=v}else{$=e;aa=v;ba=p;z=69}}else{p=k[a+92>>2]|0;$=2147483647;aa=p;ba=p-V|0;z=69}if((z|0)==69){z=0;w=0;p=ya(665,$|0)|0;v=w;w=0;if(v&1){z=47;break e}else{X=$;Y=p;Z=ba;_=aa}}p=Y+Z|0;i[p>>0]=u;u=_-V|0;J0a(p+(0-u)|0,o|0,u|0)|0;k[a+88>>2]=p+(0-u);k[a+92>>2]=p+1;k[a+96>>2]=Y+X;if(!V)break f;GPa(o);break f;break}case 3:{o=k[a+92>>2]|0;p=k[a+96>>2]|0;do if(o>>>0>>0){i[o>>0]=127;k[a+92>>2]=(k[a+92>>2]|0)+1}else{u=k[a+88>>2]|0;if((o-u+1|0)<0){w=0;sa(1641,a+88|0);v=w;w=0;if(v&1){z=47;break e}ca=k[a+88>>2]|0;da=k[a+96>>2]|0}else{ca=u;da=p}v=ca;e=da-ca|0;if(e>>>0<1073741823){t=e<<1>>>0<(o-u+1|0)>>>0?o-u+1|0:e<<1;e=k[a+92>>2]|0;u=e-ca|0;if(!t){ea=0;fa=0;ga=u;ha=e}else{ia=t;ja=e;ka=u;z=80}}else{u=k[a+92>>2]|0;ia=2147483647;ja=u;ka=u-ca|0;z=80}if((z|0)==80){z=0;w=0;u=ya(665,ia|0)|0;e=w;w=0;if(e&1){z=47;break e}else{ea=ia;fa=u;ga=ka;ha=ja}}u=fa+ga|0;i[u>>0]=127;e=ha-ca|0;J0a(u+(0-e)|0,v|0,e|0)|0;k[a+88>>2]=u+(0-e);k[a+92>>2]=u+1;k[a+96>>2]=fa+ea;if(!ca)break;GPa(v)}while(0);w=0;o=ya(682,x|0)|0;p=w;w=0;if(p&1){z=47;break e}w=0;ua(1105,b+840|0,o|0);o=w;w=0;if(o&1){z=47;break e}w=0;o=Sa(682,a+64|0,b+840|0)|0;p=w;w=0;if(p&1){z=47;break e}p=i[o>>0]|0;v=(p&1)==0?o+1|0:k[o+8>>2]|0;u=(p&1)==0?(p&255)>>>1:k[o+4>>2]|0;if(u){o=v;p=0;while(1){la=p+1|0;if(la>>>0>32)break f;e=i[o>>0]|0;t=k[a+92>>2]|0;c=k[a+96>>2]|0;do if(t>>>0>>0){i[t>>0]=e;k[a+92>>2]=(k[a+92>>2]|0)+1}else{h=k[a+88>>2]|0;if((t-h+1|0)<0){w=0;sa(1641,a+88|0);f=w;w=0;if(f&1){z=46;break e}ma=k[a+88>>2]|0;na=k[a+96>>2]|0}else{ma=h;na=c}f=ma;j=na-ma|0;if(j>>>0<1073741823){g=j<<1>>>0<(t-h+1|0)>>>0?t-h+1|0:j<<1;j=k[a+92>>2]|0;h=j-ma|0;if(!g){oa=0;pa=0;qa=h;ra=j}else{ta=g;va=j;wa=h;z=97}}else{h=k[a+92>>2]|0;ta=2147483647;va=h;wa=h-ma|0;z=97}if((z|0)==97){z=0;w=0;h=ya(665,ta|0)|0;j=w;w=0;if(j&1){z=46;break e}else{oa=ta;pa=h;qa=wa;ra=va}}h=pa+qa|0;i[h>>0]=e;j=ra-ma|0;J0a(h+(0-j)|0,f|0,j|0)|0;k[a+88>>2]=h+(0-j);k[a+92>>2]=h+1;k[a+96>>2]=pa+oa;if(!ma)break;GPa(f)}while(0);o=o+1|0;if((o|0)==(v+u|0))break;else p=la}if(la>>>0<32)xa=la;else break f}else xa=0;do{xa=xa+1|0;p=k[a+92>>2]|0;u=k[a+96>>2]|0;do if(p>>>0>>0){i[p>>0]=0;k[a+92>>2]=(k[a+92>>2]|0)+1}else{v=k[a+88>>2]|0;if((p-v+1|0)<0){w=0;sa(1641,a+88|0);o=w;w=0;if(o&1){z=45;break e}za=k[a+88>>2]|0;Aa=k[a+96>>2]|0}else{za=v;Aa=u}o=za;e=Aa-za|0;if(e>>>0<1073741823){t=e<<1>>>0<(p-v+1|0)>>>0?p-v+1|0:e<<1;e=k[a+92>>2]|0;v=e-za|0;if(!t){Ba=0;Ca=0;Da=v;Ea=e}else{Fa=t;Ga=e;Ha=v;z=110}}else{v=k[a+92>>2]|0;Fa=2147483647;Ga=v;Ha=v-za|0;z=110}if((z|0)==110){z=0;w=0;v=ya(665,Fa|0)|0;e=w;w=0;if(e&1){z=45;break e}else{Ba=Fa;Ca=v;Da=Ha;Ea=Ga}}v=Ca+Da|0;i[v>>0]=0;e=Ea-za|0;J0a(v+(0-e)|0,o|0,e|0)|0;k[a+88>>2]=v+(0-e);k[a+92>>2]=v+1;k[a+96>>2]=Ca+Ba;if(!za)break;GPa(o)}while(0)}while(xa>>>0<32);break}case 2:{w=0;p=ya(682,x|0)|0;u=w;w=0;if(u&1){z=47;break e}Ia=b+40|0;Ja=p;Ka=Ia+40|0;do{k[Ia>>2]=k[Ja>>2];Ia=Ia+4|0;Ja=Ja+4|0}while((Ia|0)<(Ka|0));p=k[b+40+32>>2]|0;u=k[b+40>>2]|0;if((p|0)!=1|(u|0)!=0){o=p;p=u;u=0;while(1){v=u+1|0;do if(!o){k[b+40+32>>2]=1;k[b+40>>2]=0;La=1;Ma=0}else{e=o+-1|0;t=(((k[b+40+(e<<2)>>2]|0)>>>0<256)<<31>>31)+o|0;if(!t){k[b+40+32>>2]=1;k[b+40>>2]=0;La=1;Ma=0;break}c=p>>>8;k[b+40>>2]=c;if(o>>>0>1){f=1;h=c;j=b+40|0;g=0;while(1){k[j>>2]=k[b+40+(f<<2)>>2]<<24|h;n=g+1|0;j=b+40+(n<<2)|0;h=(k[j>>2]|0)>>>8;k[j>>2]=h;if((n|0)==(e|0))break;else{f=g+2|0;g=n}}Na=k[b+40>>2]|0}else Na=c;g=t>>>0>8?8:t;k[b+40+32>>2]=g;La=g;Ma=Na}while(0);if((Ma|0)!=0|(La|0)!=1){o=La;p=Ma;u=v}else{Oa=v;break}}}else Oa=0;u=Oa>>>0>1?Oa:1;p=k[a+92>>2]|0;o=k[a+96>>2]|0;do if(p>>>0>>0){i[p>>0]=u+95;g=(k[a+92>>2]|0)+1|0;k[a+92>>2]=g;Pa=g;Qa=g}else{g=k[a+88>>2]|0;if((p-g+1|0)<0){w=0;sa(1641,a+88|0);f=w;w=0;if(f&1){z=47;break e}Ra=k[a+88>>2]|0;Ta=k[a+96>>2]|0}else{Ra=g;Ta=o}f=Ra;e=Ta-Ra|0;if(e>>>0<1073741823){h=e<<1>>>0<(p-g+1|0)>>>0?p-g+1|0:e<<1;e=k[a+92>>2]|0;g=e-Ra|0;if(!h){Ua=0;Va=0;Wa=g;Xa=e}else{Ya=h;Za=e;_a=g;z=132}}else{g=k[a+92>>2]|0;Ya=2147483647;Za=g;_a=g-Ra|0;z=132}if((z|0)==132){z=0;w=0;g=ya(665,Ya|0)|0;e=w;w=0;if(e&1){z=47;break e}else{Ua=Ya;Va=g;Wa=_a;Xa=Za}}g=Va+Wa|0;i[g>>0]=u+95;e=Xa-Ra|0;J0a(g+(0-e)|0,f|0,e|0)|0;k[a+88>>2]=g+(0-e);k[a+92>>2]=g+1;k[a+96>>2]=Va+Ua;if(!Ra){Pa=g+1|0;Qa=g+1|0;break}GPa(f);f=k[a+92>>2]|0;Pa=f;Qa=f}while(0);p=k[a+88>>2]|0;o=Qa-p|0;f=Qa;do if(o>>>0<(o+(u&255)|0)>>>0){w=0;ua(1060,a+88|0,u&255|0);g=w;w=0;if(g&1){z=47;break e}$a=k[a+92>>2]|0}else{if(o>>>0<=(o+(u&255)|0)>>>0){$a=Pa;break}if((f|0)==(p+(o+(u&255))|0)){$a=Pa;break}k[a+92>>2]=p+(o+(u&255));$a=p+(o+(u&255))|0}while(0);o=$a+(0-(u&255))|0;w=0;p=ya(682,x|0)|0;f=w;w=0;if(f&1){z=47;break e}Ia=b;Ja=p;Ka=Ia+40|0;do{k[Ia>>2]=k[Ja>>2];Ia=Ia+4|0;Ja=Ja+4|0}while((Ia|0)<(Ka|0));if(u&255){p=u&255;do{k[b+80>>2]=255;k[b+80+32>>2]=1;k[b+120>>2]=0;k[b+120+32>>2]=1;Jja(b+120|0,b,b+80|0);p=p+-1|0;i[o+p>>0]=k[b+120>>2];f=k[b+32>>2]|0;do if(!f){k[b+32>>2]=1;k[b>>2]=0}else{g=(((k[b+(f+-1<<2)>>2]|0)>>>0<256)<<31>>31)+f|0;if(!g){k[b+32>>2]=1;k[b>>2]=0;break}e=(k[b>>2]|0)>>>8;k[b>>2]=e;if(f>>>0>1){h=1;j=e;e=b;n=0;while(1){k[e>>2]=k[b+(h<<2)>>2]<<24|j;m=n+1|0;e=b+(m<<2)|0;j=(k[e>>2]|0)>>>8;k[e>>2]=j;if((m|0)==(f+-1|0))break;else{h=n+2|0;n=m}}}k[b+32>>2]=g>>>0>8?8:g}while(0)}while((p|0)!=0)}break f;break}case 4:{p=k[a+92>>2]|0;do if((p|0)==(k[a+96>>2]|0)){o=k[a+88>>2]|0;if((p-o+1|0)<0){w=0;sa(1641,a+88|0);u=w;w=0;if(u&1){z=47;break e}ab=k[a+88>>2]|0;bb=k[a+96>>2]|0}else{ab=o;bb=p}u=ab;f=bb-ab|0;if(f>>>0<1073741823){v=f<<1>>>0<(p-o+1|0)>>>0?p-o+1|0:f<<1;f=k[a+92>>2]|0;o=f-ab|0;if(!v){db=0;eb=0;fb=o;gb=f}else{hb=v;ib=f;jb=o;z=160}}else{o=k[a+92>>2]|0;hb=2147483647;ib=o;jb=o-ab|0;z=160}if((z|0)==160){z=0;w=0;o=ya(665,hb|0)|0;f=w;w=0;if(f&1){z=47;break e}else{db=hb;eb=o;fb=jb;gb=ib}}o=eb+fb|0;i[o>>0]=C;f=gb-ab|0;J0a(o+(0-f)|0,u|0,f|0)|0;k[a+88>>2]=o+(0-f);k[a+92>>2]=o+1;k[a+96>>2]=eb+db;if(!ab){lb=o+1|0;break}GPa(u);lb=k[a+92>>2]|0}else{i[p>>0]=C;u=(k[a+92>>2]|0)+1|0;k[a+92>>2]=u;lb=u}while(0);p=lb-(k[a+88>>2]|0)|0;u=k[l>>2]|0;do if(u){o=u;while(1){f=k[o+16>>2]|0;if(p>>>0>>0){v=k[o>>2]|0;if(!v){mb=o;nb=o;z=166;break}else ob=v}else{if(f>>>0>=p>>>0){pb=o;z=172;break}qb=o+4|0;f=k[qb>>2]|0;if(!f){rb=o;z=170;break}else ob=f}o=ob}if((z|0)==166){z=0;k[b+80>>2]=nb;sb=mb;tb=nb;z=173;break}else if((z|0)==170){z=0;k[b+80>>2]=rb;sb=qb;tb=rb;z=173;break}else if((z|0)==172){z=0;k[b+80>>2]=pb;if(!pb){sb=b+80|0;tb=pb;z=173;break}else{ub=pb;break}}}else{k[b+80>>2]=l;sb=l;tb=l;z=173}while(0);if((z|0)==173){z=0;w=0;u=ya(665,28)|0;o=w;w=0;if(o&1){z=47;break e}k[u+16>>2]=p;k[u+20>>2]=0;k[u+24>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=tb;k[sb>>2]=u;o=k[k[b+748>>2]>>2]|0;if(!o)vb=u;else{k[b+748>>2]=o;vb=k[sb>>2]|0}$c(k[b+748+4>>2]|0,vb);k[b+748+8>>2]=(k[b+748+8>>2]|0)+1;ub=u}w=0;ua(1101,b+704|0,x|0);u=w;w=0;if(u&1){z=47;break e}k[ub+20>>2]=k[b+704>>2];k[ub+24>>2]=k[b+704+4>>2];u=k[a+92>>2]|0;o=k[a+88>>2]|0;f=u-o+F|0;if((u-o|0)>>>0>>0){w=0;ua(1060,a+88|0,F|0);v=w;w=0;if(v&1){z=47;break e}else break f}if((u-o|0)>>>0<=f>>>0)break f;if((u|0)==(o+f|0))break f;k[a+92>>2]=o+f;break f;break}case 9:{f=k[a+92>>2]|0;do if((f|0)==(k[a+96>>2]|0)){o=k[a+88>>2]|0;if((f-o+1|0)<0){w=0;sa(1641,a+88|0);u=w;w=0;if(u&1){z=47;break e}wb=k[a+88>>2]|0;xb=k[a+96>>2]|0}else{wb=o;xb=f}u=wb;v=xb-wb|0;if(v>>>0<1073741823){n=v<<1>>>0<(f-o+1|0)>>>0?f-o+1|0:v<<1;v=k[a+92>>2]|0;o=v-wb|0;if(!n){yb=0;zb=0;Ab=o;Bb=v}else{Cb=n;Db=v;Eb=o;z=191}}else{o=k[a+92>>2]|0;Cb=2147483647;Db=o;Eb=o-wb|0;z=191}if((z|0)==191){z=0;w=0;o=ya(665,Cb|0)|0;v=w;w=0;if(v&1){z=47;break e}else{yb=Cb;zb=o;Ab=Eb;Bb=Db}}o=zb+Ab|0;i[o>>0]=s;v=Bb-wb|0;J0a(o+(0-v)|0,u|0,v|0)|0;k[a+88>>2]=o+(0-v);k[a+92>>2]=o+1;k[a+96>>2]=zb+yb;if(!wb)break;GPa(u)}else{i[f>>0]=s;k[a+92>>2]=(k[a+92>>2]|0)+1}while(0);w=0;f=ya(682,x|0)|0;p=w;w=0;if(p&1){z=47;break e}w=0;ua(1105,b+808|0,f|0);f=w;w=0;if(f&1){z=47;break e}f=k[a+92>>2]|0;p=k[a+88>>2]|0;Ia=b+672|0;Ja=b+808|0;Ka=Ia+32|0;do{i[Ia>>0]=i[Ja>>0]|0;Ia=Ia+1|0;Ja=Ja+1|0}while((Ia|0)<(Ka|0));w=0;u=ya(665,52)|0;o=w;w=0;if(o&1){z=47;break e}Ia=u+16|0;Ja=b+672|0;Ka=Ia+32|0;do{i[Ia>>0]=i[Ja>>0]|0;Ia=Ia+1|0;Ja=Ja+1|0}while((Ia|0)<(Ka|0));k[u+48>>2]=f-p;o=k[B>>2]|0;do if(o){v=o;while(1){n=0;while(1){h=i[u+16+n>>0]|0;j=i[v+16+n>>0]|0;if((h&255)<(j&255)){z=201;break}n=n+1|0;if(!(n>>>0<32&(h&255)<=(j&255))){z=203;break}}if((z|0)==201){z=0;n=k[v>>2]|0;if(!n){Fb=v;Gb=v;z=202;break}else Jb=n}else if((z|0)==203){z=0;Kb=v+4|0;n=k[Kb>>2]|0;if(!n){Lb=v;z=205;break}else Jb=n}v=Jb}if((z|0)==202){z=0;Mb=Fb;Nb=Gb;break}else if((z|0)==205){z=0;Mb=Kb;Nb=Lb;break}}else{Mb=B;Nb=B}while(0);k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=Nb;k[Mb>>2]=u;o=k[k[b+736>>2]>>2]|0;if(!o)Ob=u;else{k[b+736>>2]=o;Ob=k[Mb>>2]|0}$c(k[b+736+4>>2]|0,Ob);k[b+736+8>>2]=(k[b+736+8>>2]|0)+1;o=k[a+92>>2]|0;p=k[a+88>>2]|0;f=o-p+J|0;if((o-p|0)>>>0>>0){w=0;ua(1060,a+88|0,J|0);v=w;w=0;if(v&1){z=47;break e}else break f}if((o-p|0)>>>0<=f>>>0)break f;if((o|0)==(p+f|0))break f;k[a+92>>2]=p+f;break f;break}case 5:{f=k[a+92>>2]|0;do if((f|0)==(k[a+96>>2]|0)){p=k[a+88>>2]|0;if((f-p+1|0)<0){w=0;sa(1641,a+88|0);o=w;w=0;if(o&1){z=47;break e}Pb=k[a+88>>2]|0;Qb=k[a+96>>2]|0}else{Pb=p;Qb=f}o=Pb;v=Qb-Pb|0;if(v>>>0<1073741823){n=v<<1>>>0<(f-p+1|0)>>>0?f-p+1|0:v<<1;v=k[a+92>>2]|0;p=v-Pb|0;if(!n){Rb=0;Sb=0;Tb=p;Ub=v}else{Vb=n;Wb=v;Xb=p;z=221}}else{p=k[a+92>>2]|0;Vb=2147483647;Wb=p;Xb=p-Pb|0;z=221}if((z|0)==221){z=0;w=0;p=ya(665,Vb|0)|0;v=w;w=0;if(v&1){z=47;break e}else{Rb=Vb;Sb=p;Tb=Xb;Ub=Wb}}p=Sb+Tb|0;i[p>>0]=s;v=Ub-Pb|0;J0a(p+(0-v)|0,o|0,v|0)|0;k[a+88>>2]=p+(0-v);k[a+92>>2]=p+1;k[a+96>>2]=Sb+Rb;if(!Pb)break;GPa(o)}else{i[f>>0]=s;k[a+92>>2]=(k[a+92>>2]|0)+1}while(0);w=0;f=ya(682,x|0)|0;u=w;w=0;if(u&1){z=47;break e}u=k[f>>2]|0;f=k[a+92>>2]|0;o=k[a+88>>2]|0;w=0;p=ya(665,24)|0;v=w;w=0;if(v&1){z=47;break e}k[p+16>>2]=u;k[p+20>>2]=f-o;o=k[E>>2]|0;do if(o){f=o;while(1){if(u>>>0<(k[f+16>>2]|0)>>>0){v=k[f>>2]|0;if(!v){Yb=f;Zb=f;z=229;break}else _b=v}else{$b=f+4|0;v=k[$b>>2]|0;if(!v){ac=f;z=232;break}else _b=v}f=_b}if((z|0)==229){z=0;bc=Yb;cc=Zb;break}else if((z|0)==232){z=0;bc=$b;cc=ac;break}}else{bc=E;cc=E}while(0);k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=cc;k[bc>>2]=p;u=k[k[b+724>>2]>>2]|0;if(!u)dc=p;else{k[b+724>>2]=u;dc=k[bc>>2]|0}$c(k[b+724+4>>2]|0,dc);k[b+724+8>>2]=(k[b+724+8>>2]|0)+1;u=k[a+92>>2]|0;o=k[a+88>>2]|0;f=u-o+J|0;if((u-o|0)>>>0>>0){w=0;ua(1060,a+88|0,J|0);v=w;w=0;if(v&1){z=47;break e}else break f}if((u-o|0)>>>0<=f>>>0)break f;if((u|0)==(o+f|0))break f;k[a+92>>2]=o+f;break f;break}case 6:{w=0;f=ya(682,x|0)|0;o=w;w=0;if(o&1){z=47;break e}o=k[f>>2]|0;f=k[a+52>>2]|0;if((k[a+56>>2]|0)-f>>3>>>0>o>>>0)ec=f;else{w=0;sa(1642,a+52|0);f=w;w=0;if(f&1){z=47;break e}ec=k[a+52>>2]|0}w=0;f=ya(681,k[ec+(o<<3)>>2]|0)|0;o=w;w=0;if(o&1){z=47;break e}o=k[f+4>>2]|0;u=k[f>>2]|0;w=0;f=ya(665,56)|0;v=w;w=0;if(v&1){z=47;break e}k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=15180;k[f+16>>2]=o-u;k[f+20>>2]=k[b+644>>2];k[f+20+4>>2]=k[b+644+4>>2];k[f+20+8>>2]=k[b+644+8>>2];k[f+20+12>>2]=k[b+644+12>>2];k[f+20+16>>2]=k[b+644+16>>2];k[f+20+20>>2]=k[b+644+20>>2];k[f+20+24>>2]=k[b+644+24>>2];k[f+48>>2]=1;k[x+36>>2]=f+16;v=x+40|0;n=k[v>>2]|0;k[v>>2]=f;if(n)QSa(n);if((o|0)==(u|0))fc=0;else{n=o-u|0;f=0;while(1){v=f+1|0;n=n>>>8;if(!n){fc=v;break}else f=v}}f=fc>>>0>1?fc:1;n=k[a+92>>2]|0;p=k[a+96>>2]|0;do if(n>>>0>>0){i[n>>0]=f+95;v=(k[a+92>>2]|0)+1|0;k[a+92>>2]=v;gc=v;hc=v}else{v=k[a+88>>2]|0;if((n-v+1|0)<0){w=0;sa(1641,a+88|0);g=w;w=0;if(g&1){z=47;break e}ic=k[a+88>>2]|0;jc=k[a+96>>2]|0}else{ic=v;jc=p}g=ic;j=jc-ic|0;if(j>>>0<1073741823){h=j<<1>>>0<(n-v+1|0)>>>0?n-v+1|0:j<<1;j=k[a+92>>2]|0;v=j-ic|0;if(!h){kc=0;lc=0;mc=v;nc=j}else{oc=h;pc=j;qc=v;z=259}}else{v=k[a+92>>2]|0;oc=2147483647;pc=v;qc=v-ic|0;z=259}if((z|0)==259){z=0;w=0;v=ya(665,oc|0)|0;j=w;w=0;if(j&1){z=47;break e}else{kc=oc;lc=v;mc=qc;nc=pc}}v=lc+mc|0;i[v>>0]=f+95;j=nc-ic|0;J0a(v+(0-j)|0,g|0,j|0)|0;k[a+88>>2]=v+(0-j);k[a+92>>2]=v+1;k[a+96>>2]=lc+kc;if(!ic){gc=v+1|0;hc=v+1|0;break}GPa(g);g=k[a+92>>2]|0;gc=g;hc=g}while(0);n=k[a+88>>2]|0;p=hc-n|0;g=hc;do if(p>>>0<(p+(f&255)|0)>>>0){w=0;ua(1060,a+88|0,f&255|0);v=w;w=0;if(v&1){z=47;break e}rc=k[a+92>>2]|0}else{if(p>>>0<=(p+(f&255)|0)>>>0){rc=gc;break}if((g|0)==(n+(p+(f&255))|0)){rc=gc;break}k[a+92>>2]=n+(p+(f&255));rc=n+(p+(f&255))|0}while(0);p=rc+(0-(f&255))|0;if(!(f&255))break f;else{sc=o-u|0;tc=f&255}while(1){tc=tc+-1|0;i[p+tc>>0]=sc;if(!tc)break;else sc=sc>>>8}break}case 7:{p=k[a+92>>2]|0;do if((p|0)==(k[a+96>>2]|0)){f=k[a+88>>2]|0;if((p-f+1|0)<0){w=0;sa(1641,a+88|0);u=w;w=0;if(u&1){z=47;break e}uc=k[a+88>>2]|0;vc=k[a+96>>2]|0}else{uc=f;vc=p}u=uc;o=vc-uc|0;if(o>>>0<1073741823){n=o<<1>>>0<(p-f+1|0)>>>0?p-f+1|0:o<<1;o=k[a+92>>2]|0;f=o-uc|0;if(!n){wc=0;xc=0;yc=f;zc=o}else{Ac=n;Bc=o;Cc=f;z=278}}else{f=k[a+92>>2]|0;Ac=2147483647;Bc=f;Cc=f-uc|0;z=278}if((z|0)==278){z=0;w=0;f=ya(665,Ac|0)|0;o=w;w=0;if(o&1){z=47;break e}else{wc=Ac;xc=f;yc=Cc;zc=Bc}}f=xc+yc|0;i[f>>0]=s;o=zc-uc|0;J0a(f+(0-o)|0,u|0,o|0)|0;k[a+88>>2]=f+(0-o);k[a+92>>2]=f+1;k[a+96>>2]=xc+wc;if(!uc){Dc=f+1|0;break}GPa(u);Dc=k[a+92>>2]|0}else{i[p>>0]=s;u=(k[a+92>>2]|0)+1|0;k[a+92>>2]=u;Dc=u}while(0);p=k[a+88>>2]|0;u=Dc-p|0;k[b+640>>2]=u;f=k[A>>2]|0;if(f>>>0<(k[b+712+8>>2]|0)>>>0){k[f>>2]=u;k[A>>2]=f+4;Ec=p;Fc=Dc}else{w=0;ua(1059,b+712|0,b+640|0);p=w;w=0;if(p&1){z=47;break e}Ec=k[a+88>>2]|0;Fc=k[a+92>>2]|0}p=Fc-Ec|0;f=p+J|0;u=Ec;o=Fc;if(p>>>0>>0){w=0;ua(1060,a+88|0,J|0);n=w;w=0;if(n&1){z=47;break e}else break f}if(p>>>0<=f>>>0)break f;if((o|0)==(u+f|0))break f;k[a+92>>2]=u+f;break f;break}case 10:{f=k[a+92>>2]|0;u=k[a+96>>2]|0;do if(f>>>0>>0){i[f>>0]=115;o=(k[a+92>>2]|0)+1|0;k[a+92>>2]=o;Gc=o}else{o=k[a+88>>2]|0;if((f-o+1|0)<0){w=0;sa(1641,a+88|0);p=w;w=0;if(p&1){z=47;break e}Hc=k[a+88>>2]|0;Ic=k[a+96>>2]|0}else{Hc=o;Ic=u}p=Hc;n=Ic-Hc|0;if(n>>>0<1073741823){g=n<<1>>>0<(f-o+1|0)>>>0?f-o+1|0:n<<1;n=k[a+92>>2]|0;o=n-Hc|0;if(!g){Jc=0;Kc=0;Lc=o;Mc=n}else{Nc=g;Oc=n;Pc=o;z=298}}else{o=k[a+92>>2]|0;Nc=2147483647;Oc=o;Pc=o-Hc|0;z=298}if((z|0)==298){z=0;w=0;o=ya(665,Nc|0)|0;n=w;w=0;if(n&1){z=47;break e}else{Jc=Nc;Kc=o;Lc=Pc;Mc=Oc}}o=Kc+Lc|0;i[o>>0]=115;n=Mc-Hc|0;J0a(o+(0-n)|0,p|0,n|0)|0;k[a+88>>2]=o+(0-n);k[a+92>>2]=o+1;k[a+96>>2]=Kc+Jc;if(!Hc){Gc=o+1|0;break}GPa(p);Gc=k[a+92>>2]|0}while(0);f=Gc-(k[a+88>>2]|0)|0;u=k[a+104>>2]|0;do if(u){p=u;while(1){o=k[p+16>>2]|0;if(f>>>0>>0){n=k[p>>2]|0;if(!n){Qc=p;Rc=p;z=304;break}else Sc=n}else{if(o>>>0>=f>>>0){Tc=p;z=310;break}Uc=p+4|0;o=k[Uc>>2]|0;if(!o){Vc=p;z=308;break}else Sc=o}p=Sc}if((z|0)==304){z=0;k[b+120>>2]=Rc;Wc=Qc;Xc=Rc;z=311;break}else if((z|0)==308){z=0;k[b+120>>2]=Vc;Wc=Uc;Xc=Vc;z=311;break}else if((z|0)==310){z=0;k[b+120>>2]=Tc;if(!Tc){Wc=b+120|0;Xc=Tc;z=311;break}else{Yc=Tc;break}}}else{k[b+120>>2]=a+104;Wc=a+104|0;Xc=a+104|0;z=311}while(0);if((z|0)==311){z=0;w=0;u=ya(665,32)|0;p=w;w=0;if(p&1){z=47;break e}k[u+16>>2]=f;k[u+20>>2]=0;k[u+20+4>>2]=0;k[u+20+8>>2]=0;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=Xc;k[Wc>>2]=u;p=k[k[a+100>>2]>>2]|0;if(!p)_c=u;else{k[a+100>>2]=p;_c=k[Wc>>2]|0}$c(k[a+104>>2]|0,_c);k[a+108>>2]=(k[a+108>>2]|0)+1;Yc=u}w=0;u=ya(682,x|0)|0;p=w;w=0;if(p&1){z=47;break e}w=0;ua(1105,b+776|0,u|0);u=w;w=0;if(u&1){z=47;break e}w=0;u=Sa(682,a+76|0,b+776|0)|0;p=w;w=0;if(p&1){z=47;break e}w=0;Sa(535,Yc+20|0,u|0)|0;u=w;w=0;if(u&1){z=47;break e}u=k[a+92>>2]|0;p=k[a+88>>2]|0;if((u-p|0)>>>0<4294967276){w=0;ua(1060,a+88|0,20);o=w;w=0;if(o&1){z=47;break e}else break f}if((u|0)==(p+(u-p+20)|0))break f;k[a+92>>2]=p+(u-p+20);break f;break}case 11:{p=k[a+92>>2]|0;u=k[a+96>>2]|0;do if(p>>>0>>0){i[p>>0]=115;o=(k[a+92>>2]|0)+1|0;k[a+92>>2]=o;ad=o}else{o=k[a+88>>2]|0;if((p-o+1|0)<0){w=0;sa(1641,a+88|0);n=w;w=0;if(n&1){z=47;break e}bd=k[a+88>>2]|0;cd=k[a+96>>2]|0}else{bd=o;cd=u}n=bd;g=cd-bd|0;if(g>>>0<1073741823){v=g<<1>>>0<(p-o+1|0)>>>0?p-o+1|0:g<<1;g=k[a+92>>2]|0;o=g-bd|0;if(!v){dd=0;ed=0;fd=o;gd=g}else{hd=v;id=g;jd=o;z=331}}else{o=k[a+92>>2]|0;hd=2147483647;id=o;jd=o-bd|0;z=331}if((z|0)==331){z=0;w=0;o=ya(665,hd|0)|0;g=w;w=0;if(g&1){z=47;break e}else{dd=hd;ed=o;fd=jd;gd=id}}o=ed+fd|0;i[o>>0]=115;g=gd-bd|0;J0a(o+(0-g)|0,n|0,g|0)|0;k[a+88>>2]=o+(0-g);k[a+92>>2]=o+1;k[a+96>>2]=ed+dd;if(!bd){ad=o+1|0;break}GPa(n);ad=k[a+92>>2]|0}while(0);p=k[a+88>>2]|0;u=ad-p|0;if(u>>>0<4294967276){w=0;ua(1060,a+88|0,20);f=w;w=0;if(f&1){z=47;break e}else break f}if((ad|0)==(p+(u+20)|0))break f;k[a+92>>2]=p+(u+20);break f;break}default:{z=413;break e}}while(0)}while(0);x=x+44|0;if((x|0)==(q|0))break d}if((z|0)==45){x=Ib()|0;H=x;I=L;z=50;break b}else if((z|0)==46){x=Ib()|0;H=x;I=L;z=50;break b}else if((z|0)==47){x=Ib()|0;H=x;I=L;z=50;break b}else if((z|0)==340){k[b+616>>2]=0;k[b+616+4>>2]=0;k[b+616+8>>2]=0;k[b+616+12>>2]=0;k[b+616+16>>2]=0;k[b+616+20>>2]=-1;k[b+616>>2]=41936;k[b+616+4>>2]=41960;w=0;cb(138,b+584|0,263655,21);x=w;w=0;if(x&1){x=Ib()|0;kd=L;ld=x}else{k[b+600>>2]=13804;w=0;ua(724,b+600+4|0,b+584|0);x=w;w=0;if(x&1){x=Ib()|0;md=L;nd=x}else{w=0;x=Sa(681,b+616|0,b+600|0)|0;y=w;w=0;if(!(y&1)){k[x+(k[(k[x>>2]|0)+-24>>2]|0)+8>>2]=263677;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+12>>2]=263065;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+16>>2]=605;w=0;sa(1680,x|0);w=0}x=Ib()|0;y=L;k[b+600>>2]=13804;dTa(b+600+4|0);md=y;nd=x}dTa(b+584|0);kd=md;ld=nd}k[b+616+4>>2]=13668;x=k[b+616+8>>2]|0;if(x){w=0;y=ya(k[(k[x>>2]|0)+16>>2]|0,x|0)|0;x=w;w=0;if(x&1){x=Ib(0)|0;Zc(x)}if(y)k[b+616+8>>2]=0}od=kd;pd=ld;break b}else if((z|0)==356){k[b+552>>2]=0;k[b+552+4>>2]=0;k[b+552+8>>2]=0;k[b+552+12>>2]=0;k[b+552+16>>2]=0;k[b+552+20>>2]=-1;k[b+552>>2]=41936;k[b+552+4>>2]=41960;w=0;cb(138,b+520|0,263744,12);y=w;w=0;if(y&1){y=Ib()|0;qd=L;rd=y}else{k[b+536>>2]=13804;w=0;ua(724,b+536+4|0,b+520|0);y=w;w=0;if(y&1){y=Ib()|0;sd=L;td=y}else{w=0;y=Sa(681,b+552|0,b+536|0)|0;x=w;w=0;if(!(x&1)){k[y+(k[(k[y>>2]|0)+-24>>2]|0)+8>>2]=263677;k[y+(k[(k[y>>2]|0)+-24>>2]|0)+12>>2]=263065;k[y+(k[(k[y>>2]|0)+-24>>2]|0)+16>>2]=606;w=0;sa(1680,y|0);w=0}y=Ib()|0;x=L;k[b+536>>2]=13804;dTa(b+536+4|0);sd=x;td=y}dTa(b+520|0);qd=sd;rd=td}k[b+552+4>>2]=13668;y=k[b+552+8>>2]|0;if(y){w=0;x=ya(k[(k[y>>2]|0)+16>>2]|0,y|0)|0;y=w;w=0;if(y&1){y=Ib(0)|0;Zc(y)}if(x)k[b+552+8>>2]=0}od=qd;pd=rd;break b}else if((z|0)==371){k[b+496>>2]=0;k[b+496+4>>2]=0;k[b+496+8>>2]=0;k[b+496+12>>2]=0;k[b+496+16>>2]=0;k[b+496+20>>2]=-1;k[b+496>>2]=41936;k[b+496+4>>2]=41960;w=0;cb(138,b+464|0,263757,14);x=w;w=0;if(x&1){x=Ib()|0;ud=x;vd=L}else{k[b+480>>2]=13804;w=0;ua(724,b+480+4|0,b+464|0);x=w;w=0;if(x&1){x=Ib()|0;wd=x;xd=L}else{w=0;x=Sa(681,b+496|0,b+480|0)|0;y=w;w=0;if(!(y&1)){k[x+(k[(k[x>>2]|0)+-24>>2]|0)+8>>2]=263677;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+12>>2]=263065;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+16>>2]=607;w=0;sa(1680,x|0);w=0}x=Ib()|0;y=L;k[b+480>>2]=13804;dTa(b+480+4|0);wd=x;xd=y}dTa(b+464|0);ud=wd;vd=xd}k[b+496+4>>2]=13668;y=k[b+496+8>>2]|0;if(y){w=0;x=ya(k[(k[y>>2]|0)+16>>2]|0,y|0)|0;y=w;w=0;if(y&1){y=Ib(0)|0;Zc(y)}if(x)k[b+496+8>>2]=0}od=vd;pd=ud;break b}else if((z|0)==387){k[b+440>>2]=0;k[b+440+4>>2]=0;k[b+440+8>>2]=0;k[b+440+12>>2]=0;k[b+440+16>>2]=0;k[b+440+20>>2]=-1;k[b+440>>2]=41936;k[b+440+4>>2]=41960;w=0;cb(138,b+408|0,263772,23);x=w;w=0;if(x&1){x=Ib()|0;yd=x;zd=L}else{k[b+424>>2]=13804;w=0;ua(724,b+424+4|0,b+408|0);x=w;w=0;if(x&1){x=Ib()|0;Ad=x;Bd=L}else{w=0;x=Sa(681,b+440|0,b+424|0)|0;y=w;w=0;if(!(y&1)){k[x+(k[(k[x>>2]|0)+-24>>2]|0)+8>>2]=263677;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+12>>2]=263065;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+16>>2]=608;w=0;sa(1680,x|0);w=0}x=Ib()|0;y=L;k[b+424>>2]=13804;dTa(b+424+4|0);Ad=x;Bd=y}dTa(b+408|0);yd=Ad;zd=Bd}k[b+440+4>>2]=13668;y=k[b+440+8>>2]|0;if(y){w=0;x=ya(k[(k[y>>2]|0)+16>>2]|0,y|0)|0;y=w;w=0;if(y&1){y=Ib(0)|0;Zc(y)}if(x)k[b+440+8>>2]=0}od=zd;pd=yd;break b}else if((z|0)==413){k[b+384>>2]=0;k[b+384+4>>2]=0;k[b+384+8>>2]=0;k[b+384+12>>2]=0;k[b+384+16>>2]=0;k[b+384+20>>2]=-1;k[b+384>>2]=16032;k[b+384+4>>2]=16056;w=0;kb(201,b+384|0,263677,263065,613);w=0;x=Ib()|0;y=L;k[b+384+4>>2]=13668;u=k[b+384+8>>2]|0;if(u){w=0;p=ya(k[(k[u>>2]|0)+16>>2]|0,u|0)|0;u=w;w=0;if(u&1){u=Ib(0)|0;Zc(u)}if(p)k[b+384+8>>2]=0}od=y;pd=x;break b}}while(0);if(!(((k[a+52>>2]|0)==(k[a+56>>2]|0)?(k[a+36>>2]|0)==0:0)?(k[a+40>>2]|0)==(k[a+44>>2]|0):0))z=422;do if((z|0)==422){q=k[a+92>>2]|0;D=k[a+96>>2]|0;if(q>>>0>>0){i[q>>0]=0;k[a+92>>2]=(k[a+92>>2]|0)+1;break}d=k[a+88>>2]|0;if((q-d+1|0)<0){w=0;sa(1641,a+88|0);x=w;w=0;if(x&1)break c;Cd=k[a+88>>2]|0;Dd=k[a+96>>2]|0}else{Cd=d;Dd=D}D=Cd;x=Dd-Cd|0;if(x>>>0<1073741823){y=x<<1>>>0<(q-d+1|0)>>>0?q-d+1|0:x<<1;x=k[a+92>>2]|0;d=x-Cd|0;if(!y){Ed=0;Fd=0;Gd=d;Hd=x}else{Id=y;Jd=x;Kd=d;z=430}}else{d=k[a+92>>2]|0;Id=2147483647;Jd=d;Kd=d-Cd|0;z=430}if((z|0)==430){w=0;d=ya(665,Id|0)|0;x=w;w=0;if(x&1)break c;else{Ed=Id;Fd=d;Gd=Kd;Hd=Jd}}d=Fd+Gd|0;i[d>>0]=0;x=Hd-Cd|0;J0a(d+(0-x)|0,D|0,x|0)|0;k[a+88>>2]=d+(0-x);k[a+92>>2]=d+1;k[a+96>>2]=Fd+Ed;if(Cd)GPa(D)}while(0);D=k[a+56>>2]|0;d=k[a+52>>2]|0;g:do if((D|0)==(d|0)){Ld=d;Md=D;Nd=D}else{x=(J|0)==0;y=d;q=d;p=d;u=D;f=0;while(1){n=k[E>>2]|0;h:do if(!n){Od=E;z=467}else{o=E;g=n;i:while(1){v=g;while(1){j=k[v+16>>2]|0;if(f>>>0>>0){Pd=v;break}if(j>>>0>=f>>>0){Qd=o;Rd=v;break i}v=k[v+4>>2]|0;if(!v){Od=o;z=467;break h}}g=k[Pd>>2]|0;if(!g){Od=Pd;z=467;break h}else o=Pd}o=k[Rd>>2]|0;j:do if(!o)Sd=Rd;else{g=Rd;v=o;while(1){j=v;while(1){if((k[j+16>>2]|0)>>>0>=f>>>0){Td=j;break}j=k[j+4>>2]|0;if(!j){Sd=g;break j}}v=k[Td>>2]|0;if(!v){Sd=Td;break}else g=Td}}while(0);o=Sd;g=k[Rd+4>>2]|0;k:do if(!g)Ud=Qd;else{v=Qd;j=g;while(1){h=j;while(1){if(f>>>0<(k[h+16>>2]|0)>>>0){Vd=h;break}h=k[h+4>>2]|0;if(!h){Ud=v;break k}}j=k[Vd>>2]|0;if(!j){Ud=Vd;break}else v=Vd}}while(0);Wd=o;Xd=Ud}while(0);if((z|0)==467){z=0;n=Od;Wd=n;Xd=n}n=Wd;g=Xd;if((n|0)==(g|0)){Yd=y;Zd=p;_d=u;$d=q}else{if(x){v=Wd;while(1){j=v;h=k[j+4>>2]|0;if(!h){e=j;while(1){j=k[e+8>>2]|0;if((k[j>>2]|0)==(e|0)){ae=j;break}else e=j}}else{e=h;while(1){o=k[e>>2]|0;if(!o){ae=e;break}else e=o}}if((ae|0)==(g|0)){be=y;break}else v=ae}}else{v=n;e=Wd;while(1){h=k[a+88>>2]|0;o=h+(k[v+20>>2]|0)|0;j=(k[a+92>>2]|0)-h|0;h=J;while(1){h=h+-1|0;i[o+h>>0]=j;if(!h)break;else j=j>>>8}j=e;h=k[j+4>>2]|0;if(!h){o=j;while(1){j=k[o+8>>2]|0;if((k[j>>2]|0)==(o|0)){ce=j;break}else o=j}}else{o=h;while(1){j=k[o>>2]|0;if(!j){ce=o;break}else o=j}}if((ce|0)==(g|0))break;else{v=ce;e=ce}}be=k[a+52>>2]|0}w=0;e=ya(681,k[be+(f<<3)>>2]|0)|0;v=w;w=0;if(v&1)break;w=0;ua(1108,a+88|0,e|0);e=w;w=0;if(e&1)break;e=k[a+52>>2]|0;Yd=e;Zd=e;_d=k[a+56>>2]|0;$d=e}f=f+1|0;if(f>>>0>=_d-Zd>>3>>>0){Ld=$d;Md=_d;Nd=Zd;break g}else{y=Yd;q=$d;p=Zd;u=_d}}u=Ib()|0;H=u;I=L;z=50;break b}while(0);D=k[b+748>>2]|0;l:do if((D|0)!=(l|0)){m:do if(!F){d=Ld;u=D;p=Nd;while(1){q=k[u+20>>2]|0;y=k[u+24>>2]|0;if((q|0)==-1){de=a;ee=p}else{if(q>>>0>=Md-p>>3>>>0){z=489;break m}de=k[Ld+(q<<3)>>2]|0;ee=d}q=k[de+112>>2]|0;if(y>>>0>=(k[de+116>>2]|0)-q>>2>>>0){z=505;break m}f=k[q+(y<<2)>>2]|0;switch(f|0){case -1:{z=520;break m;break}case 0:break;default:{y=f;f=0;while(1){fe=f+1|0;y=y>>>8;if(!y)break;else f=fe}if(fe){z=536;break m}}}f=k[u+4>>2]|0;if(!f){y=u;while(1){q=k[y+8>>2]|0;if((k[q>>2]|0)==(y|0)){ge=q;break}else y=q}}else{y=f;while(1){q=k[y>>2]|0;if(!q){ge=y;break}else y=q}}if((ge|0)==(l|0))break l;else{u=ge;p=ee}}}else{p=D;while(1){u=k[p+20>>2]|0;d=k[p+24>>2]|0;if((u|0)==-1)he=a;else{y=k[a+52>>2]|0;if(u>>>0>=(k[a+56>>2]|0)-y>>3>>>0){z=489;break m}he=k[y+(u<<3)>>2]|0}u=k[he+112>>2]|0;if(d>>>0>=(k[he+116>>2]|0)-u>>2>>>0){z=505;break m}y=k[u+(d<<2)>>2]|0;switch(y|0){case -1:{z=520;break m;break}case 0:break;default:{d=y;u=0;while(1){ie=u+1|0;d=d>>>8;if(!d)break;else u=ie}if(ie>>>0>F>>>0){z=536;break m}}}u=(k[a+88>>2]|0)+(k[p+16>>2]|0)|0;d=y;f=F;while(1){f=f+-1|0;i[u+f>>0]=d;if(!f)break;else d=d>>>8}d=k[p+4>>2]|0;if(!d){f=p;while(1){u=k[f+8>>2]|0;if((k[u>>2]|0)==(f|0)){je=u;break}else f=u}}else{f=d;while(1){u=k[f>>2]|0;if(!u){je=f;break}else f=u}}if((je|0)==(l|0))break l;else p=je}}while(0);if((z|0)==489){k[b+360>>2]=0;k[b+360+4>>2]=0;k[b+360+8>>2]=0;k[b+360+12>>2]=0;k[b+360+16>>2]=0;k[b+360+20>>2]=-1;k[b+360>>2]=41936;k[b+360+4>>2]=41960;w=0;cb(138,b+328|0,263796,14);p=w;w=0;if(p&1){p=Ib()|0;ke=p;le=L}else{k[b+344>>2]=13804;w=0;ua(724,b+344+4|0,b+328|0);p=w;w=0;if(p&1){p=Ib()|0;me=p;ne=L}else{w=0;p=Sa(681,b+360|0,b+344|0)|0;f=w;w=0;if(!(f&1)){k[p+(k[(k[p>>2]|0)+-24>>2]|0)+8>>2]=263677;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+12>>2]=263065;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+16>>2]=638;w=0;sa(1680,p|0);w=0}p=Ib()|0;f=L;k[b+344>>2]=13804;dTa(b+344+4|0);me=p;ne=f}dTa(b+328|0);ke=me;le=ne}k[b+360+4>>2]=13668;f=k[b+360+8>>2]|0;do if(f){w=0;p=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(!p)break;k[b+360+8>>2]=0}while(0);od=le;pd=ke;break b}else if((z|0)==505){k[b+304>>2]=0;k[b+304+4>>2]=0;k[b+304+8>>2]=0;k[b+304+12>>2]=0;k[b+304+16>>2]=0;k[b+304+20>>2]=-1;k[b+304>>2]=41936;k[b+304+4>>2]=41960;w=0;cb(138,b+272|0,263811,30);f=w;w=0;if(f&1){f=Ib()|0;oe=f;pe=L}else{k[b+288>>2]=13804;w=0;ua(724,b+288+4|0,b+272|0);f=w;w=0;if(f&1){f=Ib()|0;qe=f;re=L}else{w=0;f=Sa(681,b+304|0,b+288|0)|0;p=w;w=0;if(!(p&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=263677;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=263065;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=643;w=0;sa(1680,f|0);w=0}f=Ib()|0;p=L;k[b+288>>2]=13804;dTa(b+288+4|0);qe=f;re=p}dTa(b+272|0);oe=qe;pe=re}k[b+304+4>>2]=13668;p=k[b+304+8>>2]|0;do if(p){w=0;f=ya(k[(k[p>>2]|0)+16>>2]|0,p|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(!f)break;k[b+304+8>>2]=0}while(0);od=pe;pd=oe;break b}else if((z|0)==520){k[b+248>>2]=0;k[b+248+4>>2]=0;k[b+248+8>>2]=0;k[b+248+12>>2]=0;k[b+248+16>>2]=0;k[b+248+20>>2]=-1;k[b+248>>2]=41936;k[b+248+4>>2]=41960;w=0;cb(138,b+216|0,263842,34);p=w;w=0;if(p&1){p=Ib()|0;se=p;te=L}else{k[b+232>>2]=13804;w=0;ua(724,b+232+4|0,b+216|0);p=w;w=0;if(p&1){p=Ib()|0;ue=p;ve=L}else{w=0;p=Sa(681,b+248|0,b+232|0)|0;f=w;w=0;if(!(f&1)){k[p+(k[(k[p>>2]|0)+-24>>2]|0)+8>>2]=263677;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+12>>2]=263065;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+16>>2]=645;w=0;sa(1680,p|0);w=0}p=Ib()|0;f=L;k[b+232>>2]=13804;dTa(b+232+4|0);ue=p;ve=f}dTa(b+216|0);se=ue;te=ve}k[b+248+4>>2]=13668;f=k[b+248+8>>2]|0;do if(f){w=0;p=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(!p)break;k[b+248+8>>2]=0}while(0);od=te;pd=se;break b}else if((z|0)==536){k[b+192>>2]=0;k[b+192+4>>2]=0;k[b+192+8>>2]=0;k[b+192+12>>2]=0;k[b+192+16>>2]=0;k[b+192+20>>2]=-1;k[b+192>>2]=41936;k[b+192+4>>2]=41960;w=0;cb(138,b+160|0,263877,33);f=w;w=0;if(f&1){f=Ib()|0;we=f;xe=L}else{k[b+176>>2]=13804;w=0;ua(724,b+176+4|0,b+160|0);f=w;w=0;if(f&1){f=Ib()|0;ye=f;ze=L}else{w=0;f=Sa(681,b+192|0,b+176|0)|0;p=w;w=0;if(!(p&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=263677;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=263065;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=646;w=0;sa(1680,f|0);w=0}f=Ib()|0;p=L;k[b+176>>2]=13804;dTa(b+176+4|0);ye=f;ze=p}dTa(b+160|0);we=ye;xe=ze}k[b+192+4>>2]=13668;p=k[b+192+8>>2]|0;do if(p){w=0;f=ya(k[(k[p>>2]|0)+16>>2]|0,p|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(!f)break;k[b+192+8>>2]=0}while(0);od=xe;pd=we;break b}}while(0);D=k[a+28>>2]|0;n:do if((D|0)!=(a+32|0)){p=(J|0)==0;f=D;while(1){ZDa(b+120|0,b+736|0,f+16|0);d=k[b+120>>2]|0;u=k[b+120+4>>2]|0;if((d|0)!=(u|0)){if(p){y=d;while(1){q=y;x=k[q+4>>2]|0;if(!x){e=q;while(1){q=k[e+8>>2]|0;if((k[q>>2]|0)==(e|0)){Ae=q;break}else e=q}}else{e=x;while(1){q=k[e>>2]|0;if(!q){Ae=e;break}else e=q}}if((Ae|0)==(u|0))break;else y=Ae}}else{y=d;e=d;while(1){x=k[a+88>>2]|0;q=x+(k[y+48>>2]|0)|0;v=(k[a+92>>2]|0)-x|0;x=J;while(1){x=x+-1|0;i[q+x>>0]=v;if(!x)break;else v=v>>>8}v=e;x=k[v+4>>2]|0;if(!x){q=v;while(1){v=k[q+8>>2]|0;if((k[v>>2]|0)==(q|0)){Be=v;break}else q=v}}else{q=x;while(1){v=k[q>>2]|0;if(!v){Be=q;break}else q=v}}if((Be|0)==(u|0))break;else{y=Be;e=Be}}}w=0;Sa(584,a+88|0,f+48|0)|0;e=w;w=0;if(e&1)break}e=k[f+4>>2]|0;if(!e){y=f;while(1){u=k[y+8>>2]|0;if((k[u>>2]|0)==(y|0)){Ce=u;break}else y=u}}else{y=e;while(1){u=k[y>>2]|0;if(!u){Ce=y;break}else y=u}}if((Ce|0)==(a+32|0))break n;else f=Ce}f=Ib()|0;H=f;I=L;z=50;break b}while(0);w=0;Sa(584,a+88|0,a+40|0)|0;D=w;w=0;if(!(D&1)){D=k[b+712>>2]|0;f=k[A>>2]|0;if((D|0)!=(f|0)?(J|0)!=0:0){p=D;do{y=k[a+88>>2]|0;e=y+(k[p>>2]|0)|0;u=(k[a+92>>2]|0)-y|0;y=J;while(1){y=y+-1|0;i[e+y>>0]=u;if(!y)break;else u=u>>>8}p=p+4|0}while((p|0)!=(f|0));De=k[b+712>>2]|0}else De=D;f=De;if(De){p=k[A>>2]|0;if((p|0)!=(De|0))k[A>>2]=p+(~((p+-4-f|0)>>>2)<<2);GPa(De)}rm(b+724|0,k[E>>2]|0);_Da(b+736|0,k[B>>2]|0);$Da(b+748|0,k[l>>2]|0);r=b;return a+88|0}}while(0);s=Ib()|0;H=s;I=L;z=50}while(0);if((z|0)==50){od=I;pd=H}H=k[b+712>>2]|0;if(!H){Ee=k[E>>2]|0;rm(b+724|0,Ee);Fe=k[B>>2]|0;_Da(b+736|0,Fe);Ge=k[l>>2]|0;$Da(b+748|0,Ge);Hb(pd|0)}I=k[A>>2]|0;if((I|0)!=(H|0))k[A>>2]=I+(~((I+-4-H|0)>>>2)<<2);GPa(H);Ee=k[E>>2]|0;rm(b+724|0,Ee);Fe=k[B>>2]|0;_Da(b+736|0,Fe);Ge=k[l>>2]|0;$Da(b+748|0,Ge);Hb(pd|0);return 0}function RDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;b=r;r=r+16|0;c=k[a>>2]|0;d=k[a+4>>2]|0;if((c|0)==(d|0)){r=b;return}e=c;while(1){c=k[a+32>>2]|0;f=i[c>>0]|0;g=se(se(k[a+28>>2]|0,(f&1)==0?c+1|0:k[c+8>>2]|0,(f&1)==0?(f&255)>>>1:k[c+4>>2]|0)|0,270661,2)|0;c=i[e>>0]|0;f=se(g,(c&1)==0?e+1|0:k[e+8>>2]|0,(c&1)==0?(c&255)>>>1:k[e+4>>2]|0)|0;c=STa(f+(k[(k[f>>2]|0)+-12>>2]|0)|0)|0;k[b>>2]=c;w=0;c=Sa(548,b|0,51616)|0;g=w;w=0;if(g&1){h=8;break}w=0;g=Sa(k[(k[c>>2]|0)+28>>2]|0,c|0,10)|0;c=w;w=0;if(c&1){h=8;break}YYa(b);zUa(f,g)|0;nUa(f)|0;e=e+12|0;if((e|0)==(d|0)){h=3;break}}if((h|0)==3){d=k[a>>2]|0;e=k[a+4>>2]|0;if((e|0)==(d|0)){r=b;return}else j=e;do{e=j+-12|0;k[a+4>>2]=e;dTa(e);j=k[a+4>>2]|0}while((j|0)!=(d|0));r=b;return}else if((h|0)==8){h=Ib()|0;YYa(b);Hb(h|0)}}function SDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;c=k[a+4>>2]|0;if(c){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;f=(d&1)==0?b+1|0:k[b+8>>2]|0;b=a+4|0;d=c;a:while(1){c=d;while(1){g=c+16|0;h=i[g>>0]|0;j=(h&1)==0?(h&255)>>>1:k[c+20>>2]|0;l=$Qa((h&1)==0?g+1|0:k[c+24>>2]|0,f,e>>>0>>0?e:j)|0;if((((l|0)==0?(j>>>0>>0?-2147483648:0):l)|0)>=0){m=c;break}c=k[c+4>>2]|0;if(!c){n=b;break a}}d=k[m>>2]|0;if(!d){n=m;break}else b=m}if((n|0)!=(a+4|0)?(m=n+16|0,b=i[m>>0]|0,d=(b&1)==0?(b&255)>>>1:k[n+20>>2]|0,c=$Qa(f,(b&1)==0?m+1|0:k[n+24>>2]|0,d>>>0>>0?d:e)|0,(((c|0)==0?(e>>>0>>0?-2147483648:0):c)|0)>=0):0){o=n;return o|0}}o=a+4|0;return o|0}function TDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=k[a+4>>2]|0;a:do if(c){a=c;b:while(1){d=0;while(1){e=i[b+d>>0]|0;f=i[a+16+d>>0]|0;if((e&255)<(f&255)){g=5;break}d=d+1|0;if(!(d>>>0<32&(e&255)<=(f&255))){h=0;g=6;break}}if((g|0)==5){g=0;d=k[a>>2]|0;if(!d)break a;else j=d}else if((g|0)==6){while(1){g=0;d=i[a+16+h>>0]|0;f=i[b+h>>0]|0;if((d&255)<(f&255))break;h=h+1|0;if(!(h>>>0<32&(d&255)<=(f&255))){l=a;break b}else g=6}f=k[a+4>>2]|0;if(!f)break a;else j=f}a=j}return l+48|0}while(0);l=vb(8)|0;w=0;ua(756,l|0,269474);j=w;w=0;if(j&1){j=Ib()|0;ub(l|0);Hb(j|0)}else{k[l>>2]=45832;Xb(l|0,11184,530)}return 0}function UDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=r;r=r+160|0;k[c>>2]=15008;k[c+56>>2]=15028;w=0;ua(725,c+56|0,c+4|0);d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d;QTa(c+56|0);Hb(f|0)}k[c+128>>2]=0;k[c+132>>2]=-1;k[c>>2]=13968;k[c+56>>2]=13988;w=0;sa(1635,c+4|0);d=w;w=0;do if(!(d&1)){k[c+4>>2]=14004;k[c+36>>2]=0;k[c+36+4>>2]=0;k[c+36+8>>2]=0;k[c+36+12>>2]=0;k[c+52>>2]=16;k[c+136>>2]=0;k[c+136+4>>2]=0;k[c+136+8>>2]=0;w=0;ua(726,c+4|0,c+136|0);g=w;w=0;if(g&1){g=Ib()|0;h=L;dTa(c+136|0);dTa(c+36|0);VTa(c+4|0);i=h;j=g;break}dTa(c+136|0);w=0;Sa(684,c|0,b|0)|0;g=w;w=0;if(g&1){l=Ib()|0;m=L;k[c>>2]=13968;k[c+56>>2]=13988;k[c+4>>2]=14004;dTa(c+36|0);VTa(c+4|0);QTa(c+56|0);Hb(l|0)}w=0;ua(727,a|0,c+4|0);g=w;w=0;if(g&1){l=Ib()|0;m=L;k[c>>2]=13968;k[c+56>>2]=13988;k[c+4>>2]=14004;dTa(c+36|0);VTa(c+4|0);QTa(c+56|0);Hb(l|0)}else{k[c>>2]=13968;k[c+56>>2]=13988;k[c+4>>2]=14004;dTa(c+36|0);VTa(c+4|0);QTa(c+56|0);r=c;return}}else{g=Ib()|0;i=L;j=g}while(0);e=i;f=j;QTa(c+56|0);Hb(f|0)}function VDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=r;r=r+16|0;d=k[a+4>>2]|0;do if(d){e=d;a:while(1){f=0;while(1){g=i[b+f>>0]|0;h=i[e+16+f>>0]|0;if((g&255)<(h&255)){j=5;break}f=f+1|0;if(!(f>>>0<32&(g&255)<=(h&255))){l=0;j=7;break}}if((j|0)==5){j=0;f=k[e>>2]|0;if(!f){m=e;n=e;j=6;break}else o=f}else if((j|0)==7){while(1){j=0;f=i[e+16+l>>0]|0;h=i[b+l>>0]|0;if((f&255)<(h&255))break;l=l+1|0;if(!(l>>>0<32&(f&255)<=(h&255))){p=e;j=12;break a}else j=7}q=e+4|0;h=k[q>>2]|0;if(!h){s=e;j=11;break}else o=h}e=o}if((j|0)==6){k[c>>2]=n;t=m;u=n;break}else if((j|0)==11){k[c>>2]=s;t=q;u=s;break}else if((j|0)==12){k[c>>2]=p;v=c;w=p;x=p;j=14;break}}else{k[c>>2]=a+4;v=a+4|0;w=d;x=a+4|0;j=14}while(0);if((j|0)==14)if(!w){t=v;u=x}else{y=w;z=y+48|0;r=c;return z|0}w=EPa(60)|0;x=w+16|0;v=b;b=x+32|0;do{i[x>>0]=i[v>>0]|0;x=x+1|0;v=v+1|0}while((x|0)<(b|0));k[w+48>>2]=0;k[w+48+4>>2]=0;k[w+48+8>>2]=0;k[w>>2]=0;k[w+4>>2]=0;k[w+8>>2]=u;k[t>>2]=w;u=k[k[a>>2]>>2]|0;if(!u)A=w;else{k[a>>2]=u;A=k[t>>2]|0}$c(k[a+4>>2]|0,A);k[a+8>>2]=(k[a+8>>2]|0)+1;y=w;z=y+48|0;r=c;return z|0}function WDa(a,b){a=a|0;b=b|0;if(!b)return;else{WDa(a,k[b>>2]|0);WDa(a,k[b+4>>2]|0);GPa(b);return}}function XDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,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;e=k[b>>2]|0;a:do if((e|0)!=(a+4|0)){b=k[d+32>>2]|0;f=k[e+48>>2]|0;b:do if((b|0)==(f|0)){g=b;while(1){g=g+-1|0;if((g|0)<=-1)break;h=k[d+(g<<2)>>2]|0;i=k[e+16+(g<<2)>>2]|0;if((h|0)!=(i|0)){j=7;break}}if((j|0)==7?h>>>0<=i>>>0:0)break a;if((b|0)==(f|0)){g=b;do{g=g+-1|0;if((g|0)<=-1){j=78;break b}l=k[e+16+(g<<2)>>2]|0;m=k[d+(g<<2)>>2]|0}while((l|0)==(m|0));if(l>>>0>m>>>0)j=78}else j=41}else if(b>>>0>f>>>0)j=41;else break a;while(0);if((j|0)==41?f>>>0>b>>>0:0)j=78;if((j|0)==78){k[c>>2]=e;n=c;return n|0}g=k[e+4>>2]|0;if(!g){o=e;while(1){p=k[o+8>>2]|0;if((k[p>>2]|0)==(o|0)){q=p;break}else o=p}}else{o=g;while(1){f=k[o>>2]|0;if(!f){q=o;break}else o=f}}c:do if((q|0)!=(a+4|0)){o=k[q+48>>2]|0;d:do if((b|0)==(o|0)){f=q+16|0;p=b;do{p=p+-1|0;if((p|0)<=-1)break d;r=k[d+(p<<2)>>2]|0;s=k[f+(p<<2)>>2]|0}while((r|0)==(s|0));if(r>>>0<=s>>>0)break c}else if(b>>>0<=o>>>0)break c;while(0);o=k[a+4>>2]|0;if(!o){k[c>>2]=a+4;n=a+4|0;return n|0}p=o;e:while(1){o=k[p+48>>2]|0;do if((b|0)==(o|0)){f=p+16|0;t=b;while(1){t=t+-1|0;if((t|0)<=-1){u=b;break}v=k[d+(t<<2)>>2]|0;w=k[f+(t<<2)>>2]|0;if((v|0)!=(w|0)){j=66;break}}if((j|0)==66){j=0;if(v>>>0>w>>>0)u=b;else{j=67;break}}do{u=u+-1|0;if((u|0)<=-1){x=p;j=76;break e}y=k[f+(u<<2)>>2]|0;z=k[d+(u<<2)>>2]|0}while((y|0)==(z|0));if(y>>>0>z>>>0){x=p;j=76;break e}else j=73}else if(b>>>0>o>>>0)if(o>>>0>b>>>0){x=p;j=76;break e}else j=73;else j=67;while(0);if((j|0)==67){j=0;o=k[p>>2]|0;if(!o){A=p;B=p;j=68;break}else C=o}else if((j|0)==73){j=0;D=p+4|0;o=k[D>>2]|0;if(!o){E=p;j=75;break}else C=o}p=C}if((j|0)==68){k[c>>2]=B;n=A;return n|0}else if((j|0)==75){k[c>>2]=E;n=D;return n|0}else if((j|0)==76){k[c>>2]=x;n=c;return n|0}}while(0);if(!g){k[c>>2]=e;n=e+4|0;return n|0}else{k[c>>2]=q;n=q;return n|0}}while(0);f:do if((e|0)!=(k[a>>2]|0)){q=k[e>>2]|0;if(!q){x=e;while(1){D=k[x+8>>2]|0;if((k[D>>2]|0)==(x|0))x=D;else{F=D;break}}}else{x=q;while(1){g=k[x+4>>2]|0;if(!g){F=x;break}else x=g}}x=F;q=k[F+48>>2]|0;g=k[d+32>>2]|0;g:do if((q|0)==(g|0)){D=F+16|0;E=q;do{E=E+-1|0;if((E|0)<=-1)break g;G=k[D+(E<<2)>>2]|0;H=k[d+(E<<2)>>2]|0}while((G|0)==(H|0));if(G>>>0<=H>>>0){I=x;break f}}else if(q>>>0<=g>>>0){I=x;break f}while(0);x=k[a+4>>2]|0;if(!x){k[c>>2]=a+4;n=a+4|0;return n|0}q=x;h:while(1){x=k[q+48>>2]|0;do if((g|0)==(x|0)){E=q+16|0;D=g;while(1){D=D+-1|0;if((D|0)<=-1){J=g;break}K=k[d+(D<<2)>>2]|0;L=k[E+(D<<2)>>2]|0;if((K|0)!=(L|0)){j=28;break}}if((j|0)==28){j=0;if(K>>>0>L>>>0)J=g;else{j=29;break}}do{J=J+-1|0;if((J|0)<=-1){M=q;j=38;break h}N=k[E+(J<<2)>>2]|0;O=k[d+(J<<2)>>2]|0}while((N|0)==(O|0));if(N>>>0>O>>>0){M=q;j=38;break h}else j=35}else if(g>>>0>x>>>0)if(x>>>0>g>>>0){M=q;j=38;break h}else j=35;else j=29;while(0);if((j|0)==29){j=0;x=k[q>>2]|0;if(!x){P=q;Q=q;j=30;break}else R=x}else if((j|0)==35){j=0;S=q+4|0;x=k[S>>2]|0;if(!x){T=q;j=37;break}else R=x}q=R}if((j|0)==30){k[c>>2]=Q;n=P;return n|0}else if((j|0)==37){k[c>>2]=T;n=S;return n|0}else if((j|0)==38){k[c>>2]=M;n=c;return n|0}}else I=e;while(0);if(!(k[e>>2]|0)){k[c>>2]=e;n=e;return n|0}else{e=I;k[c>>2]=e;n=e+4|0;return n|0}return 0}function YDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;d=r;r=r+64|0;if(!(k[a+204>>2]|0)){e=k[b>>2]|0;f=k[c>>2]|0;a:do if((e|0)==(f|0))g=e;else{c=e;while(1){if(Dka(c)|0){g=c;break a}lFa(a,c,0);c=c+44|0;k[b>>2]=c;if((c|0)==(f|0)){h=f;break}}r=d;return h|0}while(0);if((g|0)==(f|0)){h=f;r=d;return h|0}f=g+44|0;k[b>>2]=f;k[a+204>>2]=g;h=f;r=d;return h|0}k[d+32>>2]=0;k[d+32+4>>2]=0;k[d+32+8>>2]=0;k[d+32+12>>2]=0;k[d+32+16>>2]=0;k[d+32+20>>2]=-1;k[d+32>>2]=34316;k[d+32+4>>2]=34340;w=0;cb(138,d|0,263983,45);h=w;w=0;if(h&1){h=Ib()|0;i=L;j=h}else{k[d+16>>2]=13804;w=0;ua(724,d+16+4|0,d|0);h=w;w=0;if(h&1){h=Ib()|0;l=L;m=h}else{w=0;h=Sa(669,d+32|0,d+16|0)|0;f=w;w=0;if(!(f&1)){k[h+(k[(k[h>>2]|0)+-24>>2]|0)+8>>2]=264029;k[h+(k[(k[h>>2]|0)+-24>>2]|0)+12>>2]=264222;k[h+(k[(k[h>>2]|0)+-24>>2]|0)+16>>2]=174;w=0;sa(1677,h|0);w=0}h=Ib()|0;f=L;k[d+16>>2]=13804;dTa(d+16+4|0);l=f;m=h}dTa(d);i=l;j=m}k[d+32+4>>2]=13668;m=k[d+32+8>>2]|0;if(!m)Hb(j|0);w=0;l=ya(k[(k[m>>2]|0)+16>>2]|0,m|0)|0;m=w;w=0;if(m&1){m=Ib(0)|0;Zc(m)}if(!l)Hb(j|0);k[d+32+8>>2]=0;Hb(j|0);return 0}function ZDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;d=k[b+4>>2]|0;a:do if(!d)e=b+4|0;else{f=b+4|0;g=d;b:while(1){h=g;c:while(1){j=0;while(1){l=i[c+j>>0]|0;m=i[h+16+j>>0]|0;if((l&255)<(m&255)){n=h;break c}j=j+1|0;if(!(j>>>0<32&(l&255)<=(m&255))){o=0;break}}while(1){j=i[h+16+o>>0]|0;m=i[c+o>>0]|0;if((j&255)<(m&255))break;o=o+1|0;if(!(o>>>0<32&(j&255)<=(m&255))){p=f;q=h;break b}}h=k[h+4>>2]|0;if(!h){e=f;break a}}g=k[n>>2]|0;if(!g){e=n;break a}else f=n}f=k[q>>2]|0;d:do if(!f)r=q;else{g=q;h=f;while(1){m=h;e:while(1){j=0;while(1){l=i[m+16+j>>0]|0;s=i[c+j>>0]|0;if((l&255)<(s&255))break;j=j+1|0;if(!(j>>>0<32&(l&255)<=(s&255))){t=m;break e}}m=k[m+4>>2]|0;if(!m){r=g;break d}}h=k[t>>2]|0;if(!h){r=t;break}else g=t}}while(0);f=r;g=k[q+4>>2]|0;f:do if(!g)u=p;else{h=p;m=g;while(1){j=m;g:while(1){s=0;do{l=i[c+s>>0]|0;v=i[j+16+s>>0]|0;if((l&255)<(v&255)){w=j;break g}s=s+1|0}while(s>>>0<32&(l&255)<=(v&255));j=k[j+4>>2]|0;if(!j){u=h;break f}}m=k[w>>2]|0;if(!m){u=w;break}else h=w}}while(0);k[a>>2]=f;k[a+4>>2]=u;return}while(0);u=e;k[a>>2]=u;k[a+4>>2]=u;return}function _Da(a,b){a=a|0;b=b|0;if(!b)return;else{_Da(a,k[b>>2]|0);_Da(a,k[b+4>>2]|0);GPa(b);return}}function $Da(a,b){a=a|0;b=b|0;if(!b)return;else{$Da(a,k[b>>2]|0);$Da(a,k[b+4>>2]|0);GPa(b);return}}function aEa(a,b){a=a|0;b=b|0;var c=0,d=0;k[a>>2]=k[b>>2];i[a+4>>0]=i[b+4>>0]|0;c=k[b+8>>2]|0;d=k[b+12>>2]|0;if(d)OSa(d);k[a+8>>2]=c;c=k[a+12>>2]|0;k[a+12>>2]=d;if(c)QSa(c);c=k[b+16+4>>2]|0;k[a+16>>2]=k[b+16>>2];k[a+16+4>>2]=c;c=k[b+24>>2]|0;d=k[b+28>>2]|0;if(d)OSa(d);k[a+24>>2]=c;c=k[a+28>>2]|0;k[a+28>>2]=d;if(c)QSa(c);k[a+32>>2]=k[b+32>>2];c=k[b+36>>2]|0;d=k[b+40>>2]|0;if(d)OSa(d);k[a+36>>2]=c;c=k[a+40>>2]|0;k[a+40>>2]=d;if(!c)return a|0;QSa(c);return a|0}function bEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+48|0;cEa(c,a+(k[(k[a>>2]|0)+-12>>2]|0)|0);d=a+(k[(k[a>>2]|0)+-12>>2]|0)+4|0;k[d>>2]=k[d>>2]&-513;d=a+(k[(k[a>>2]|0)+-12>>2]|0)+4|0;k[d>>2]=k[d>>2]&-75|8;k[a+(k[(k[a>>2]|0)+-12>>2]|0)+76>>2]=48;d=k[(k[a>>2]|0)+-12>>2]|0;e=0;while(1){k[a+d+12>>2]=2;w=0;Sa(565,a|0,l[b+e>>0]|0|0)|0;f=w;w=0;if(f&1){g=2;break}e=e+1|0;h=k[(k[a>>2]|0)+-12>>2]|0;if(e>>>0>=32){g=7;break}else d=h}if((g|0)==2){d=Ib()|0;w=0;sa(1682,c|0);e=w;w=0;if(e&1){e=Ib(0)|0;YYa(c+36|0);Zc(e)}else{YYa(c+36|0);Hb(d|0)}}else if((g|0)==7){k[a+h+4>>2]=k[a+h+4>>2]&-75|2;w=0;sa(1682,c|0);h=w;w=0;if(h&1){h=Ib(0)|0;YYa(c+36|0);Zc(h)}else{YYa(c+36|0);r=c;return a|0}}return 0}function cEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;c=r;r=r+16|0;k[a>>2]=b;k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];k[a+20>>2]=k[b+20>>2];k[a+24>>2]=k[b+72>>2];k[a+28>>2]=k[b+24>>2];d=k[b+76>>2]|0;if((d|0)!=-1){e=d;f=e&255;i[a+32>>0]=f;g=STa(b)|0;h=a+36|0;k[h>>2]=g;r=c;return}d=STa(b)|0;k[c>>2]=d;w=0;d=Sa(548,c|0,51616)|0;j=w;w=0;if(j&1){l=Ib()|0;m=L;YYa(c);Hb(l|0)}w=0;j=Sa(k[(k[d>>2]|0)+28>>2]|0,d|0,32)|0;d=w;w=0;if(d&1){l=Ib()|0;m=L;YYa(c);Hb(l|0)}YYa(c);k[b+76>>2]=j<<24>>24;e=j<<24>>24;f=e&255;i[a+32>>0]=f;g=STa(b)|0;h=a+36|0;k[h>>2]=g;r=c;return}function dEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=r;r=r+32|0;c=k[a>>2]|0;d=STa(c)|0;k[b+12>>2]=d;w=0;d=Sa(685,c|0,a+36|0)|0;e=w;w=0;if(e&1){f=Ib()|0;g=L;YYa(b+12|0);Hb(f|0)}k[b+8>>2]=d;YYa(b+8|0);d=k[c+24>>2]|0;do if(d){w=0;ua(k[(k[d>>2]|0)+8>>2]|0,d|0,a+36|0);c=w;w=0;if(c&1){f=Ib()|0;g=L;YYa(b+12|0);Hb(f|0)}else{XYa(b+16|0,d+4|0);ZYa(d+4|0,a+36|0)|0;k[b+4>>2]=k[b+16>>2];YYa(b+4|0);break}}while(0);k[b>>2]=k[b+12>>2];YYa(b);k[(k[a>>2]|0)+76>>2]=i[a+32>>0];d=k[a>>2]|0;k[d+24>>2]=k[a+28>>2];OTa(d,0);k[(k[a>>2]|0)+72>>2]=k[a+24>>2];d=k[a>>2]|0;k[d+20>>2]=k[a+20>>2];OTa(d,k[d+16>>2]|0);OTa(k[a>>2]|0,k[a+16>>2]|0);k[(k[a>>2]|0)+12>>2]=k[a+12>>2];k[(k[a>>2]|0)+8>>2]=k[a+8>>2];k[(k[a>>2]|0)+4>>2]=k[a+4>>2];r=b;return}function eEa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,va=0,wa=0,xa=0,za=0,Aa=0,Ba=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,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0;f=r;r=r+272|0;k[f+252+4>>2]=0;k[f+252+8>>2]=0;g=f+252+4|0;k[f+252>>2]=g;h=k[e>>2]|0;l=k[e+4>>2]|0;do if((h|0)==(l|0))m=g;else{n=h;while(1){if((k[n>>2]|0)==2){w=0;o=Sa(686,f+252|0,n|0)|0;p=w;w=0;if(p&1)break;k[o>>2]=(k[o>>2]|0)+1}n=n+44|0;if((n|0)==(l|0)){q=3;break}}if((q|0)==3){m=k[f+252>>2]|0;break}n=Ib()|0;s=n;t=L;u=k[g>>2]|0;uEa(f+252|0,u);Hb(s|0)}while(0);k[f+240+4>>2]=0;k[f+240+8>>2]=0;l=f+240+4|0;k[f+240>>2]=l;if((m|0)==(g|0)){v=0;x=k[l>>2]|0;tEa(f+240|0,x);y=k[g>>2]|0;uEa(f+252|0,y);r=f;return v|0}h=f+72+4|0;n=f+16+4|0;o=f+88+32|0;p=m;m=0;a:while(1){z=p+16|0;k[f+192>>2]=k[z>>2];i[f+192+4>>0]=i[z+4>>0]|0;k[f+192+8>>2]=k[p+24>>2];A=k[p+28>>2]|0;k[f+192+12>>2]=A;if(A)OSa(A);z=p+32|0;B=k[z+4>>2]|0;k[f+192+16>>2]=k[z>>2];k[f+192+16+4>>2]=B;k[f+192+24>>2]=k[p+40>>2];C=k[p+44>>2]|0;k[f+192+28>>2]=C;if(C)OSa(C);k[f+192+32>>2]=k[p+48>>2];k[f+192+36>>2]=k[p+52>>2];D=k[p+56>>2]|0;k[f+192+40>>2]=D;if(D)OSa(D);B=k[p+60>>2]|0;k[f+192+44>>2]=B;w=0;z=ya(682,f+192|0)|0;E=w;w=0;if(E&1){F=A;G=(A|0)==0;H=C;I=(C|0)==0;J=D;K=(D|0)==0;q=21;break}if((k[z>>2]|0)>>>0<256?(k[z+32>>2]|0)>>>0<2:0)M=m;else{k[f+176+8>>2]=B;i[f+176>>0]=a&1;k[f+176+4>>2]=b;k[f+176+12>>2]=k[c>>2];w=0;B=ya(682,f+192|0)|0;z=w;w=0;if(z&1){F=A;G=(A|0)==0;H=C;I=(C|0)==0;J=D;K=(D|0)==0;q=21;break};k[f+152+4>>2]=k[f+176>>2];k[f+152+4+4>>2]=k[f+176+4>>2];k[f+152+4+8>>2]=k[f+176+8>>2];k[f+152+4+12>>2]=k[f+176+12>>2];k[f+152+20>>2]=B;k[f+152>>2]=42100;w=0;ua(672,f+32|0,f+152|0);B=w;w=0;if(B&1){F=A;G=(A|0)==0;H=C;I=(C|0)==0;J=D;K=(D|0)==0;q=21;break}w=0;B=ya(682,f+192|0)|0;z=w;w=0;if(z&1){N=A;O=(A|0)==0;P=C;Q=(C|0)==0;R=D;S=(D|0)==0;q=60;break};k[f+128+4>>2]=k[f+176>>2];k[f+128+4+4>>2]=k[f+176+4>>2];k[f+128+4+8>>2]=k[f+176+8>>2];k[f+128+4+12>>2]=k[f+176+12>>2];k[f+128+20>>2]=B;k[f+128>>2]=42084;w=0;ua(671,f+16|0,f+128|0);B=w;w=0;if(B&1){N=A;O=(A|0)==0;P=C;Q=(C|0)==0;R=D;S=(D|0)==0;q=60;break}w=0;B=ya(682,f+192|0)|0;z=w;w=0;if(z&1){T=A;U=(A|0)==0;V=C;W=(C|0)==0;X=D;Y=(D|0)==0;q=61;break}w=0;cb(442,f+88|0,f+176|0,B|0);B=w;w=0;if(B&1){T=A;U=(A|0)==0;V=C;W=(C|0)==0;X=D;Y=(D|0)==0;q=61;break}w=0;cb(443,f|0,f+88|0,f+88+28|0);B=w;w=0;if(B&1){q=62;break}k[f+72>>2]=0;k[h>>2]=0;k[f+72+8>>2]=0;B=j[f+16+12>>1]|0;z=j[f+32+12>>1]|0;if((B&255)<<24>>24!=0^(z&255)<<24>>24!=0)if((B&255)<<24>>24)q=38;else q=76;else{E=k[f+16+8>>2]|0;Z=k[f+32+8>>2]|0;b:do if((E|0)==(Z|0)){_=((B&65535)>>>8&255)<<24>>24==0?k[n>>2]|0:f+16|0;$=((z&65535)>>>8&255)<<24>>24==0?k[f+32+4>>2]|0:f+32|0;aa=E;do{aa=aa+-1|0;if((aa|0)<=-1){ba=0;break b}ca=k[_+(aa<<2)>>2]|0;da=k[$+(aa<<2)>>2]|0}while((ca|0)==(da|0));ba=ca>>>0>da>>>0?1:-1}else ba=E>>>0>Z>>>0?1:-1;while(0);if((((B&255)<<24>>24!=0?0-ba|0:ba)|0)<0)q=38;else q=76}do if((q|0)==38){q=0;Z=j[f+12>>1]|0;if((B&255)<<24>>24!=0^(Z&255)<<24>>24!=0){if(!((B&255)<<24>>24)){q=76;break}}else{E=k[f+16+8>>2]|0;aa=k[f+8>>2]|0;c:do if((E|0)==(aa|0)){$=((B&65535)>>>8&255)<<24>>24==0?k[n>>2]|0:f+16|0;_=(Z&65535)<256?k[f+4>>2]|0:f;ea=E;do{ea=ea+-1|0;if((ea|0)<=-1){fa=0;break c}ga=k[$+(ea<<2)>>2]|0;ha=k[_+(ea<<2)>>2]|0}while((ga|0)==(ha|0));fa=ga>>>0>ha>>>0?1:-1}else fa=E>>>0>aa>>>0?1:-1;while(0);if((((B&255)<<24>>24!=0?0-fa|0:fa)|0)>=0){q=76;break}}w=0;cb(129,f+60|0,f+128|0,d|0);aa=w;w=0;if(aa&1){ia=A;ja=(A|0)==0;ka=C;la=(C|0)==0;ma=D;na=(D|0)==0;q=63;break a}aa=k[f+72>>2]|0;if(aa){E=k[h>>2]|0;if((E|0)==(aa|0))oa=aa;else{Z=E;do{k[h>>2]=Z+-44;E=k[Z+-4>>2]|0;if(E)QSa(E);E=k[Z+-16>>2]|0;if(E)QSa(E);E=k[Z+-32>>2]|0;if(E)QSa(E);Z=k[h>>2]|0}while((Z|0)!=(aa|0));oa=k[f+72>>2]|0}GPa(oa);k[f+72+8>>2]=0;k[h>>2]=0;k[f+72>>2]=0}aa=k[f+60>>2]|0;k[f+72>>2]=aa;Z=k[f+60+4>>2]|0;k[h>>2]=Z;k[f+72+8>>2]=k[f+60+8>>2];k[f+60+8>>2]=0;k[f+60+4>>2]=0;k[f+60>>2]=0;pa=Z;qa=aa;q=107}while(0);do if((q|0)==76){q=0;aa=j[f+12>>1]|0;if((aa&255)<<24>>24!=0^(z&255)<<24>>24!=0){if(!((aa&255)<<24>>24)){ra=m;break}}else{Z=k[f+8>>2]|0;E=k[f+32+8>>2]|0;d:do if((Z|0)==(E|0)){ea=((aa&65535)>>>8&255)<<24>>24==0?k[f+4>>2]|0:f;_=((z&65535)>>>8&255)<<24>>24==0?k[f+32+4>>2]|0:f+32|0;$=Z;do{$=$+-1|0;if(($|0)<=-1){sa=0;break d}ta=k[ea+($<<2)>>2]|0;va=k[_+($<<2)>>2]|0}while((ta|0)==(va|0));sa=ta>>>0>va>>>0?1:-1}else sa=Z>>>0>E>>>0?1:-1;while(0);if((((aa&255)<<24>>24!=0?0-sa|0:sa)|0)>=0){ra=m;break}}if((aa&255)<<24>>24!=0^(B&255)<<24>>24!=0){if(!((aa&255)<<24>>24)){ra=m;break}}else{E=k[f+8>>2]|0;Z=k[f+16+8>>2]|0;e:do if((E|0)==(Z|0)){$=((aa&65535)>>>8&255)<<24>>24==0?k[f+4>>2]|0:f;_=((B&65535)>>>8&255)<<24>>24==0?k[n>>2]|0:f+16|0;ea=E;do{ea=ea+-1|0;if((ea|0)<=-1){wa=0;break e}xa=k[$+(ea<<2)>>2]|0;za=k[_+(ea<<2)>>2]|0}while((xa|0)==(za|0));wa=xa>>>0>za>>>0?1:-1}else wa=E>>>0>Z>>>0?1:-1;while(0);if((((aa&255)<<24>>24!=0?0-wa|0:wa)|0)>=1){ra=m;break}}w=0;ua(1038,f+48|0,f+88+28|0);Z=w;w=0;if(Z&1){ia=A;ja=(A|0)==0;ka=C;la=(C|0)==0;ma=D;na=(D|0)==0;q=63;break a}Z=k[f+72>>2]|0;if(Z){E=k[h>>2]|0;if((E|0)==(Z|0))Aa=Z;else{ea=E;do{k[h>>2]=ea+-44;E=k[ea+-4>>2]|0;if(E)QSa(E);E=k[ea+-16>>2]|0;if(E)QSa(E);E=k[ea+-32>>2]|0;if(E)QSa(E);ea=k[h>>2]|0}while((ea|0)!=(Z|0));Aa=k[f+72>>2]|0}GPa(Aa);k[f+72+8>>2]=0;k[h>>2]=0;k[f+72>>2]=0}Z=k[f+48>>2]|0;k[f+72>>2]=Z;ea=k[f+48+4>>2]|0;k[h>>2]=ea;k[f+72+8>>2]=k[f+48+8>>2];k[f+48+8>>2]=0;k[f+48+4>>2]=0;k[f+48>>2]=0;pa=ea;qa=Z;q=107}while(0);do if((q|0)==107){q=0;B=m+1|0;if((qa|0)!=(pa|0)){w=0;z=ya(682,f+192|0)|0;Z=w;w=0;if(Z&1){ia=A;ja=(A|0)==0;ka=C;la=(C|0)==0;ma=D;na=(D|0)==0;q=63;break a}w=0;Z=Sa(687,f+240|0,z|0)|0;z=w;w=0;if(z&1){ia=A;ja=(A|0)==0;ka=C;la=(C|0)==0;ma=D;na=(D|0)==0;q=63;break a}if((Z|0)==(f+72|0)){ra=B;break}w=0;cb(444,Z|0,k[f+72>>2]|0,k[h>>2]|0);Z=w;w=0;if(Z&1){ia=A;ja=(A|0)==0;ka=C;la=(C|0)==0;ma=D;na=(D|0)==0;q=63;break a}else ra=B}else ra=B}while(0);B=k[f+72>>2]|0;if(B){Z=k[h>>2]|0;if((Z|0)==(B|0))Ba=B;else{z=Z;do{k[h>>2]=z+-44;Z=k[z+-4>>2]|0;if(Z)QSa(Z);Z=k[z+-16>>2]|0;if(Z)QSa(Z);Z=k[z+-32>>2]|0;if(Z)QSa(Z);z=k[h>>2]|0}while((z|0)!=(B|0));Ba=k[f+72>>2]|0}GPa(Ba)}if(!(i[f+13>>0]|0))GPa(k[f+4>>2]|0);k[f+88>>2]=42116;B=k[f+88+28>>2]|0;if(B){z=k[o>>2]|0;if((z|0)==(B|0))Ca=B;else{Z=z;do{k[o>>2]=Z+-44;z=k[Z+-4>>2]|0;if(z)QSa(z);z=k[Z+-16>>2]|0;if(z)QSa(z);z=k[Z+-32>>2]|0;if(z)QSa(z);Z=k[o>>2]|0}while((Z|0)!=(B|0));Ca=k[f+88+28>>2]|0}GPa(Ca)}if(!(i[f+16+13>>0]|0))GPa(k[n>>2]|0);if(!(i[f+32+13>>0]|0))GPa(k[f+32+4>>2]|0);M=ra}if(D)QSa(D);if(C)QSa(C);if(A)QSa(A);B=k[p+4>>2]|0;if(!B){Z=p;while(1){z=k[Z+8>>2]|0;if((k[z>>2]|0)==(Z|0)){Da=z;break}else Z=z}}else{Z=B;while(1){z=k[Z>>2]|0;if(!z){Da=Z;break}else Z=z}}if((Da|0)==(g|0)){Ea=M;q=11;break}else{p=Da;m=M}}do if((q|0)==11){if(!(k[f+240+8>>2]|0)){v=Ea;x=k[l>>2]|0;tEa(f+240|0,x);y=k[g>>2]|0;uEa(f+252|0,y);r=f;return v|0}w=0;ua(1109,e|0,f+240|0);M=w;w=0;if(M&1){M=Ib()|0;Fa=M;Ga=L;break}else{v=Ea;x=k[l>>2]|0;tEa(f+240|0,x);y=k[g>>2]|0;uEa(f+252|0,y);r=f;return v|0}}else if((q|0)==21){M=Ib()|0;Ha=M;Ia=L;Ja=J;Ka=H;La=F;Ma=K;Na=I;Oa=G;q=167}else if((q|0)==60){M=Ib()|0;Pa=M;Qa=L;Ra=S;Ta=R;Ua=Q;Va=P;Wa=O;Xa=N;q=165}else if((q|0)==61){M=Ib()|0;Ya=M;Za=L;_a=Y;$a=X;ab=W;bb=V;db=U;eb=T;q=163}else if((q|0)==62){M=Ib()|0;fb=M;gb=L;hb=(D|0)==0;ib=D;jb=(C|0)==0;kb=C;lb=(A|0)==0;mb=A;q=152}else if((q|0)==63){M=Ib()|0;m=L;Da=k[f+72>>2]|0;if(Da){p=k[h>>2]|0;if((p|0)==(Da|0))nb=Da;else{ra=p;do{k[h>>2]=ra+-44;p=k[ra+-4>>2]|0;if(p)QSa(p);p=k[ra+-16>>2]|0;if(p)QSa(p);p=k[ra+-32>>2]|0;if(p)QSa(p);ra=k[h>>2]|0}while((ra|0)!=(Da|0));nb=k[f+72>>2]|0}GPa(nb)}if(!(i[f+13>>0]|0)){GPa(k[f+4>>2]|0);fb=M;gb=m;hb=na;ib=ma;jb=la;kb=ka;lb=ja;mb=ia;q=152}else{fb=M;gb=m;hb=na;ib=ma;jb=la;kb=ka;lb=ja;mb=ia;q=152}}while(0);if((q|0)==152){k[f+88>>2]=42116;ia=k[f+88+28>>2]|0;if(!ia){Ya=fb;Za=gb;_a=hb;$a=ib;ab=jb;bb=kb;db=lb;eb=mb;q=163}else{ja=k[o>>2]|0;if((ja|0)==(ia|0))ob=ia;else{ka=ja;do{k[o>>2]=ka+-44;ja=k[ka+-4>>2]|0;if(ja)QSa(ja);ja=k[ka+-16>>2]|0;if(ja)QSa(ja);ja=k[ka+-32>>2]|0;if(ja)QSa(ja);ka=k[o>>2]|0}while((ka|0)!=(ia|0));ob=k[f+88+28>>2]|0}GPa(ob);Ya=fb;Za=gb;_a=hb;$a=ib;ab=jb;bb=kb;db=lb;eb=mb;q=163}}if((q|0)==163)if(!(i[f+16+13>>0]|0)){GPa(k[n>>2]|0);Pa=Ya;Qa=Za;Ra=_a;Ta=$a;Ua=ab;Va=bb;Wa=db;Xa=eb;q=165}else{Pa=Ya;Qa=Za;Ra=_a;Ta=$a;Ua=ab;Va=bb;Wa=db;Xa=eb;q=165}if((q|0)==165)if(!(i[f+32+13>>0]|0)){GPa(k[f+32+4>>2]|0);Ha=Pa;Ia=Qa;Ja=Ta;Ka=Va;La=Xa;Ma=Ra;Na=Ua;Oa=Wa;q=167}else{Ha=Pa;Ia=Qa;Ja=Ta;Ka=Va;La=Xa;Ma=Ra;Na=Ua;Oa=Wa;q=167}if((q|0)==167){if(!Ma)QSa(Ja);if(!Na)QSa(Ka);if(Oa){Fa=Ha;Ga=Ia}else{QSa(La);Fa=Ha;Ga=Ia}}tEa(f+240|0,k[l>>2]|0);s=Fa;t=Ga;u=k[g>>2]|0;uEa(f+252|0,u);Hb(s|0);return 0}function fEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0;c=r;r=r+208|0;k[c+104>>2]=1;i[c+104+4>>0]=96;k[c+104+8>>2]=0;k[c+104+12>>2]=0;k[c+104+16>>2]=-1;k[c+104+16+4>>2]=-1;d=c+104+24|0;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;k[c+148>>2]=0;k[c+148+4>>2]=0;k[c+148+8>>2]=0;w=0;d=ya(665,44)|0;e=w;w=0;if(e&1){e=Ib()|0;f=L;g=e;Hb(g|0)}k[c+148>>2]=d;k[c+148+8>>2]=d+44;k[d>>2]=k[c+104>>2];i[d+4>>0]=i[c+104+4>>0]|0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=-1;k[d+16+4>>2]=-1;k[d+24>>2]=0;k[d+28>>2]=0;k[d+32>>2]=0;k[d+36>>2]=0;k[d+40>>2]=0;k[c+148+4>>2]=d+44;w=0;ua(1110,c+48|0,c+148|0);e=w;w=0;if(!(e&1)){e=i[b+4>>0]|0;h=c+64|0;j=k[b+20>>2]|0;l=h+40|0;do{k[h>>2]=k[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(l|0));w=0;cb(436,c+160|0,c+64|0,1);j=w;w=0;do if(!(j&1)){w=0;cb(445,c+16|0,b|0,c+160|0);h=w;w=0;if(h&1){h=Ib()|0;l=L;m=k[c+160>>2]|0;if(!m){n=l;o=h;p=39;break}if((k[c+160+4>>2]|0)!=(m|0))k[c+160+4>>2]=m;GPa(m);n=l;o=h;p=39;break}h=k[c+160>>2]|0;if(h){if((k[c+160+4>>2]|0)!=(h|0))k[c+160+4>>2]=h;GPa(h)}k[c+32>>2]=0;k[c+32+8>>2]=1;i[c+32+12>>0]=0;i[c+32+13>>0]=1;k[c+172>>2]=e<<24>>24!=0?68:200;w=0;if(!(i[c+16+12>>0]|0)){kq(c+32|0,c+16|0,c+172|0);h=w;w=0;if(h&1)p=16;else p=18}else{jq(c+32|0,c+16|0,c+172|0);h=w;w=0;if(h&1)p=16;else p=18}do if((p|0)==16){h=Ib()|0;l=L;if(!(i[c+32+13>>0]|0))GPa(k[c+32+4>>2]|0);q=l;s=h}else if((p|0)==18){k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;k[c+176>>2]=b+8;k[c+176+4>>2]=c+48;k[c+176+8>>2]=b+12;k[c+176+12>>2]=c+32;k[c+176+16>>2]=c;k[a>>2]=0;k[a+8>>2]=1;i[a+12>>0]=0;i[a+13>>0]=1;w=0;cb(446,a|0,c+176|0,c+196|0);h=w;w=0;if(h&1){h=Ib()|0;l=L;if(!(i[a+13>>0]|0))GPa(k[a+4>>2]|0);if(!(i[c+13>>0]|0))GPa(k[c+4>>2]|0);if(i[c+32+13>>0]|0){q=l;s=h;break}GPa(k[c+32+4>>2]|0);q=l;s=h;break}if(!(i[c+13>>0]|0))GPa(k[c+4>>2]|0);if(!(i[c+32+13>>0]|0))GPa(k[c+32+4>>2]|0);if(!(i[c+16+13>>0]|0))GPa(k[c+16+4>>2]|0);if(!(i[c+48+13>>0]|0))GPa(k[c+48+4>>2]|0);h=k[d+40>>2]|0;if(h)QSa(h);h=k[d+28>>2]|0;if(h)QSa(h);h=k[d+12>>2]|0;if(!h){GPa(d);r=c;return}QSa(h);GPa(d);r=c;return}while(0);if(!(i[c+16+13>>0]|0)){GPa(k[c+16+4>>2]|0);t=q;u=s}else{t=q;u=s}}else{h=Ib()|0;n=L;o=h;p=39}while(0);if((p|0)==39){t=n;u=o}if(!(i[c+48+13>>0]|0)){GPa(k[c+48+4>>2]|0);v=t;x=u}else{v=t;x=u}}else{u=Ib()|0;v=L;x=u}u=k[d+40>>2]|0;if(u)QSa(u);u=k[d+28>>2]|0;if(u)QSa(u);u=k[d+12>>2]|0;if(u)QSa(u);k[c+148+4>>2]=d;GPa(d);f=v;g=x;Hb(g|0)}function gEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;c=r;r=r+144|0;lEa()|0;jEa(c+72|0,42124);k[c+88>>2]=0;k[c+88+8>>2]=1;i[c+88+12>>0]=0;i[c+88+13>>0]=1;k[c+116>>2]=3;w=0;if(!(i[c+72+12>>0]|0)){kq(c+88|0,c+72|0,c+116|0);d=w;w=0;if(d&1)e=4;else e=6}else{jq(c+88|0,c+72|0,c+116|0);d=w;w=0;if(d&1)e=4;else e=6}if((e|0)==4){d=Ib()|0;f=L;if(!(i[c+88+13>>0]|0))GPa(k[c+88+4>>2]|0);g=f;h=d}else if((e|0)==6){w=0;Ya(45)|0;d=w;w=0;a:do if(!(d&1)){f=k[10531]|0;j=k[10532]|0;b:do if((f|0)==(j|0))l=0;else{m=f;n=0;while(1){w=0;o=Sa(688,m|0,3)|0;p=w;w=0;if(p&1)break;p=o+n|0;m=m+44|0;if((m|0)==(j|0)){l=p;break b}else n=p}n=Ib()|0;q=n;s=L;e=31;break a}while(0);j=ha((i[b+4>>0]|0)!=0?68:200,l)|0;k[c+56>>2]=j;k[c+56+8>>2]=1;i[c+56+12>>0]=0;i[c+56+13>>0]=1;j=c;f=k[b+20>>2]|0;n=j+40|0;do{k[j>>2]=k[f>>2];j=j+4|0;f=f+4|0}while((j|0)<(n|0));w=0;ua(1111,c+104|0,c|0);f=w;w=0;if(!(f&1)){w=0;cb(445,c+40|0,b|0,c+104|0);f=w;w=0;do if(f&1){j=Ib()|0;t=L;u=j}else{k[c+120>>2]=b+8;k[c+120+4>>2]=c+88;k[c+120+8>>2]=b+12;k[c+120+12>>2]=c+56;k[c+120+16>>2]=c+40;k[a>>2]=0;k[a+8>>2]=1;i[a+12>>0]=0;i[a+13>>0]=1;w=0;cb(446,a|0,c+120|0,c+140|0);j=w;w=0;if(j&1){j=Ib()|0;n=L;if(!(i[a+13>>0]|0))GPa(k[a+4>>2]|0);if(i[c+40+13>>0]|0){t=n;u=j;break}GPa(k[c+40+4>>2]|0);t=n;u=j;break}if(!(i[c+40+13>>0]|0))GPa(k[c+40+4>>2]|0);j=k[c+104>>2]|0;if(j){if((k[c+104+4>>2]|0)!=(j|0))k[c+104+4>>2]=j;GPa(j)}if(!(i[c+56+13>>0]|0))GPa(k[c+56+4>>2]|0);if(!(i[c+88+13>>0]|0))GPa(k[c+88+4>>2]|0);if(i[c+72+13>>0]|0){r=c;return}GPa(k[c+72+4>>2]|0);r=c;return}while(0);f=k[c+104>>2]|0;if(!f){v=t;x=u}else{if((k[c+104+4>>2]|0)!=(f|0))k[c+104+4>>2]=f;GPa(f);v=t;x=u}}else{f=Ib()|0;v=L;x=f}if(!(i[c+56+13>>0]|0)){GPa(k[c+56+4>>2]|0);y=v;z=x}else{y=v;z=x}}else{f=Ib()|0;q=f;s=L;e=31}while(0);if((e|0)==31){y=s;z=q}if(!(i[c+88+13>>0]|0)){GPa(k[c+88+4>>2]|0);g=y;h=z}else{g=y;h=z}}if(i[c+72+13>>0]|0)Hb(h|0);GPa(k[c+72+4>>2]|0);Hb(h|0)}function hEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;d=r;r=r+96|0;e=d;f=k[b+20>>2]|0;b=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(b|0));wEa(d+84|0,d);w=0;Ya(45)|0;f=w;w=0;do if(!(f&1)?(w=0,ua(1038,a|0,42124),e=w,w=0,!(e&1)):0){e=k[a>>2]|0;w=0;cb(447,d+40|0,c|0,d+84|0);b=w;w=0;if(b&1){b=Ib()|0;g=L;h=k[a>>2]|0;if(!h){j=g;l=b;break}m=k[a+4>>2]|0;if((m|0)==(h|0))n=h;else{o=m;do{k[a+4>>2]=o+-44;m=k[o+-4>>2]|0;if(m)QSa(m);m=k[o+-16>>2]|0;if(m)QSa(m);m=k[o+-32>>2]|0;if(m)QSa(m);o=k[a+4>>2]|0}while((o|0)!=(h|0));n=k[a>>2]|0}GPa(n);j=g;l=b;break}k[e+176>>2]=k[d+40>>2];i[e+176+4>>0]=i[d+40+4>>0]|0;h=k[d+40+8>>2]|0;o=k[d+40+12>>2]|0;k[d+40+8>>2]=0;k[d+40+12>>2]=0;k[e+184>>2]=h;h=k[e+188>>2]|0;k[e+188>>2]=o;if(h)QSa(h);k[e+192>>2]=k[d+40+16>>2];k[e+196>>2]=k[d+40+20>>2];h=k[d+40+24>>2]|0;o=k[d+40+28>>2]|0;k[d+40+24>>2]=0;k[d+40+28>>2]=0;k[e+200>>2]=h;h=k[e+204>>2]|0;k[e+204>>2]=o;if(h)QSa(h);k[e+208>>2]=k[d+40+32>>2];h=k[d+40+36>>2]|0;o=k[d+40+40>>2]|0;k[d+40+36>>2]=0;k[d+40+40>>2]=0;k[e+212>>2]=h;h=k[e+216>>2]|0;k[e+216>>2]=o;if(h)QSa(h);h=k[d+84>>2]|0;if(!h){r=d;return}if((k[d+84+4>>2]|0)!=(h|0))k[d+84+4>>2]=h;GPa(h);r=d;return}else p=15;while(0);if((p|0)==15){p=Ib()|0;j=L;l=p}p=k[d+84>>2]|0;if(!p)Hb(l|0);if((k[d+84+4>>2]|0)!=(p|0))k[d+84+4>>2]=p;GPa(p);Hb(l|0)}function iEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;c=r;r=r+16|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;d=k[a>>2]|0;e=k[a+4>>2]|0;do if((d|0)==(e|0))f=d;else{g=d;a:while(1){b:do if((k[g>>2]|0)==2){w=0;h=ya(682,g|0)|0;j=w;w=0;if(j&1)break a;j=k[b+4>>2]|0;if(j){l=k[h+32>>2]|0;m=b+4|0;n=j;c:while(1){j=n;d:while(1){o=k[j+48>>2]|0;if((o|0)==(l|0)){p=j+16|0;q=l;do{q=q+-1|0;if((q|0)<=-1){s=j;break d}t=k[p+(q<<2)>>2]|0;u=k[h+(q<<2)>>2]|0}while((t|0)==(u|0));if(t>>>0>u>>>0){s=j;break}}else if(o>>>0>l>>>0){s=j;break}j=k[j+4>>2]|0;if(!j){v=m;break c}}n=k[s>>2]|0;if(!n){v=s;break}else m=s}if((v|0)!=(b+4|0)){m=k[v+48>>2]|0;e:do if((l|0)==(m|0)){n=v+16|0;j=l;do{j=j+-1|0;if((j|0)<=-1)break e;x=k[h+(j<<2)>>2]|0;y=k[n+(j<<2)>>2]|0}while((x|0)==(y|0));if(x>>>0<=y>>>0){z=50;break b}}else if(l>>>0<=m>>>0){z=50;break b}while(0);w=0;Sa(689,c|0,v+56|0)|0;m=w;w=0;if(m&1)break a}else z=50}else z=50}else z=50;while(0);do if((z|0)==50){z=0;m=k[c+4>>2]|0;if((m|0)==(k[c+8>>2]|0)){w=0;ua(1035,c|0,g|0);l=w;w=0;if(l&1)break a;else break};k[m>>2]=k[g>>2];i[m+4>>0]=i[g+4>>0]|0;k[m+8>>2]=k[g+8>>2];l=k[g+12>>2]|0;k[m+12>>2]=l;if(l)OSa(l);l=g+16|0;h=k[l+4>>2]|0;k[m+16>>2]=k[l>>2];k[m+16+4>>2]=h;k[m+24>>2]=k[g+24>>2];h=k[g+28>>2]|0;k[m+28>>2]=h;if(h)OSa(h);k[m+32>>2]=k[g+32>>2];k[m+36>>2]=k[g+36>>2];h=k[g+40>>2]|0;k[m+40>>2]=h;if(h)OSa(h);k[c+4>>2]=(k[c+4>>2]|0)+44}while(0);g=g+44|0;if((g|0)==(e|0)){z=3;break}}if((z|0)==3){f=k[a>>2]|0;break}g=Ib()|0;h=k[c>>2]|0;if(!h)Hb(g|0);m=k[c+4>>2]|0;if((m|0)==(h|0))A=h;else{l=m;do{k[c+4>>2]=l+-44;m=k[l+-4>>2]|0;if(m)QSa(m);m=k[l+-16>>2]|0;if(m)QSa(m);m=k[l+-32>>2]|0;if(m)QSa(m);l=k[c+4>>2]|0}while((l|0)!=(h|0));A=k[c>>2]|0}GPa(A);Hb(g|0)}while(0);if(!f){B=a+8|0;C=k[c>>2]|0;k[a>>2]=C;D=k[c+4>>2]|0;k[a+4>>2]=D;E=c+8|0;F=k[E>>2]|0;k[B>>2]=F;r=c;return}A=k[a+4>>2]|0;if((A|0)==(f|0))G=f;else{z=A;do{k[a+4>>2]=z+-44;A=k[z+-4>>2]|0;if(A)QSa(A);A=k[z+-16>>2]|0;if(A)QSa(A);A=k[z+-32>>2]|0;if(A)QSa(A);z=k[a+4>>2]|0}while((z|0)!=(f|0));G=k[a>>2]|0}GPa(G);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;B=a+8|0;C=k[c>>2]|0;k[a>>2]=C;D=k[c+4>>2]|0;k[a+4>>2]=D;E=c+8|0;F=k[E>>2]|0;k[B>>2]=F;r=c;return}function jEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[a>>2]=0;k[a+8>>2]=1;i[a+12>>0]=0;i[a+13>>0]=1;d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)==(e|0)){r=c;return}b=d;a:while(1){b:do switch(k[b>>2]|0){case 2:{w=0;d=ya(756,96)|0;f=w;w=0;if(f&1)break a;k[c+8>>2]=d;w=0;if(!(i[a+12>>0]|0)){kq(a,a,c+8|0);d=w;w=0;if(d&1)break a}else{jq(a,a,c+8|0);d=w;w=0;if(d&1)break a}break}case 1:{w=0;d=ya(739,b|0)|0;f=w;w=0;if(f&1)break a;if(d<<24>>24==10){k[c+4>>2]=10;w=0;if(!(i[a+12>>0]|0)){kq(a,a,c+4|0);d=w;w=0;if(d&1)break a}else{jq(a,a,c+4|0);d=w;w=0;if(d&1)break a}break b}w=0;d=ya(739,b|0)|0;f=w;w=0;if(f&1)break a;w=0;f=ya(756,d|0)|0;d=w;w=0;if(d&1)break a;k[c>>2]=f;w=0;if(!(i[a+12>>0]|0)){kq(a,a,c);f=w;w=0;if(f&1)break a}else{jq(a,a,c);f=w;w=0;if(f&1)break a}break}default:{}}while(0);b=b+44|0;if((b|0)==(e|0)){g=3;break}}if((g|0)==3){r=c;return}c=Ib()|0;if(i[a+13>>0]|0)Hb(c|0);GPa(k[a+4>>2]|0);Hb(c|0)}function kEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0;d=r;r=r+48|0;if(!(i[b+4>>0]|0)){e=d;f=k[b+20>>2]|0;b=e+40|0;do{k[e>>2]=k[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(b|0));f=k[d+32>>2]|0;e=k[d>>2]|0;if((f|0)!=1|(e|0)!=0){b=f;f=e;e=0;while(1){g=e+1|0;do if(!b){k[d+32>>2]=1;k[d>>2]=0;h=1;j=0}else{l=b+-1|0;m=(((k[d+(l<<2)>>2]|0)>>>0<256)<<31>>31)+b|0;if(!m){k[d+32>>2]=1;k[d>>2]=0;h=1;j=0;break}n=f>>>8;k[d>>2]=n;if(b>>>0>1){o=1;p=n;q=d;s=0;while(1){k[q>>2]=k[d+(o<<2)>>2]<<24|p;t=s+1|0;q=d+(t<<2)|0;p=(k[q>>2]|0)>>>8;k[q>>2]=p;if((t|0)==(l|0))break;else{o=s+2|0;s=t}}u=k[d>>2]|0}else u=n;s=m>>>0>8?8:m;k[d+32>>2]=s;h=s;j=u}while(0);if((j|0)!=0|(h|0)!=1){b=h;f=j;e=g}else{v=g;break}}}else v=0;k[a>>2]=(v>>>0>1?v:1)*200;k[a+8>>2]=1;i[a+12>>0]=0;i[a+13>>0]=1;r=d;return}k[a>>2]=0;k[a+8>>2]=1;i[a+12>>0]=0;i[a+13>>0]=1;v=k[c>>2]|0;e=k[c+4>>2]|0;if((v|0)==(e|0)){r=d;return}c=v;v=0;while(1){k[d>>2]=(i[c>>0]|0)!=0?68:4;w=0;if(!(v<<24>>24)){kq(a,a,d);j=w;w=0;if(j&1)break}else{jq(a,a,d);j=w;w=0;if(j&1)break}j=c+1|0;if((j|0)==(e|0)){x=23;break}c=j;v=i[a+12>>0]|0}if((x|0)==23){r=d;return}d=Ib()|0;if(i[a+13>>0]|0)Hb(d|0);GPa(k[a+4>>2]|0);Hb(d|0)}function lEa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;a=r;r=r+720|0;if(i[9920]|0){r=a;return 42124}if(!(qb(9920)|0)){r=a;return 42124}k[a+80>>2]=0;k[a+80+32>>2]=1;b=a+196|0;c=a+80+4|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+232>>2]=2;k[a+232+8>>2]=0;k[a+232+12>>2]=0;k[a+232+16>>2]=-1;k[a+232+16+4>>2]=-1;e=a+232+24|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;w=0;e=ya(665,56)|0;f=w;w=0;do if(f&1){g=Ib()|0;h=L;j=g;l=a+232|0}else{k[e+4>>2]=0;k[e+8>>2]=0;k[e>>2]=15180;k[e+16>>2]=0;b=e+20|0;c=a+196|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+232+8>>2]=e+16;k[a+232+12>>2]=e;k[a+232+44>>2]=1;i[a+232+48>>0]=-128;k[a+232+52>>2]=0;k[a+232+56>>2]=0;k[a+232+60>>2]=-1;k[a+232+60+4>>2]=-1;g=a+232+68|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+232+88>>2]=1;i[a+232+92>>0]=81;k[a+232+96>>2]=0;k[a+232+100>>2]=0;k[a+232+104>>2]=-1;k[a+232+104+4>>2]=-1;g=a+232+112|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+40>>2]=32;k[a+40+32>>2]=1;b=a+120|0;c=a+40+4|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+232+132>>2]=2;k[a+232+140>>2]=0;k[a+232+144>>2]=0;k[a+232+148>>2]=-1;k[a+232+148+4>>2]=-1;g=a+232+156|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;w=0;g=ya(665,56)|0;m=w;w=0;if(m&1){m=Ib()|0;h=L;j=m;l=a+232+132|0;break}k[g+4>>2]=0;k[g+8>>2]=0;k[g>>2]=15180;k[g+16>>2]=32;b=g+20|0;c=a+120|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+232+140>>2]=g+16;k[a+232+144>>2]=g;k[a>>2]=1;k[a+32>>2]=1;b=a+120|0;c=a;d=b+40|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));wd(a+120|0,16,0);g=k[a+120>>2]|0;b=a+160|0;c=a+120+4|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+232+176>>2]=9;k[a+232+184>>2]=0;k[a+232+188>>2]=0;k[a+232+192>>2]=-1;k[a+232+192+4>>2]=-1;m=a+232+200|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[m+16>>2]=0;w=0;m=ya(665,56)|0;n=w;w=0;if(n&1){n=Ib()|0;h=L;j=n;l=a+232+176|0;break}k[m+4>>2]=0;k[m+8>>2]=0;k[m>>2]=15180;k[m+16>>2]=g;b=m+20|0;c=a+160|0;d=b+36|0;do{k[b>>2]=k[c>>2];b=b+4|0;c=c+4|0}while((b|0)<(d|0));k[a+232+184>>2]=m+16;k[a+232+188>>2]=m;k[a+232+220>>2]=1;i[a+232+224>>0]=-125;k[a+232+228>>2]=0;k[a+232+232>>2]=0;k[a+232+236>>2]=-1;k[a+232+236+4>>2]=-1;g=a+232+244|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+232+264>>2]=1;i[a+232+268>>0]=57;k[a+232+272>>2]=0;k[a+232+276>>2]=0;k[a+232+280>>2]=-1;k[a+232+280+4>>2]=-1;g=a+232+288|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+232+308>>2]=1;i[a+232+312>>0]=-127;k[a+232+316>>2]=0;k[a+232+320>>2]=0;k[a+232+324>>2]=-1;k[a+232+324+4>>2]=-1;g=a+232+332|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+232+352>>2]=1;i[a+232+356>>0]=81;k[a+232+360>>2]=0;k[a+232+364>>2]=0;k[a+232+368>>2]=-1;k[a+232+368+4>>2]=-1;g=a+232+376|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+232+396>>2]=1;i[a+232+400>>0]=-111;k[a+232+404>>2]=0;k[a+232+408>>2]=0;k[a+232+412>>2]=-1;k[a+232+412+4>>2]=-1;g=a+232+420|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[a+232+440>>2]=1;i[a+232+444>>0]=82;k[a+232+448>>2]=0;k[a+232+452>>2]=0;k[a+232+456>>2]=-1;k[a+232+456+4>>2]=-1;g=a+232+464|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[10531]=0;k[10532]=0;k[10533]=0;w=0;g=ya(665,484)|0;n=w;w=0;if(n&1){n=Ib()|0;o=L;p=a+232+484|0;do{q=k[p+-4>>2]|0;if(q)QSa(q);q=k[p+-16>>2]|0;if(q)QSa(q);q=k[p+-32>>2]|0;p=p+-44|0;if(q)QSa(q)}while((p|0)!=(a+232|0));s=o;t=n;bc(9920);Hb(t|0)}k[10532]=g;k[10531]=g;k[10533]=g+484;p=a+232|0;m=g;do{k[m>>2]=k[p>>2];i[m+4>>0]=i[p+4>>0]|0;k[m+8>>2]=k[p+8>>2];q=k[p+12>>2]|0;k[m+12>>2]=q;if(q)OSa(q);q=p+16|0;u=k[q+4>>2]|0;v=m+16|0;k[v>>2]=k[q>>2];k[v+4>>2]=u;k[m+24>>2]=k[p+24>>2];u=k[p+28>>2]|0;k[m+28>>2]=u;if(u)OSa(u);k[m+32>>2]=k[p+32>>2];k[m+36>>2]=k[p+36>>2];u=k[p+40>>2]|0;k[m+40>>2]=u;if(u)OSa(u);m=(k[10532]|0)+44|0;k[10532]=m;p=p+44|0}while((p|0)!=(a+232+484|0));x=a+232+484|0;do{p=k[x+-4>>2]|0;if(p)QSa(p);p=k[x+-16>>2]|0;if(p)QSa(p);p=k[x+-32>>2]|0;x=x+-44|0;if(p)QSa(p)}while((x|0)!=(a+232|0));yb(9920);r=a;return 42124}while(0);if((a+232|0)==(l|0)){s=h;t=j;bc(9920);Hb(t|0)}else y=l;do{l=k[y+-4>>2]|0;if(l)QSa(l);l=k[y+-16>>2]|0;if(l)QSa(l);l=k[y+-32>>2]|0;y=y+-44|0;if(l)QSa(l)}while((y|0)!=(a+232|0));s=h;t=j;bc(9920);Hb(t|0);return 0}function mEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,va=0,wa=0,xa=0,za=0,Aa=0,Ba=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,Ta=0,Ua=0,Va=0;d=r;r=r+1216|0;e=k[c+32>>2]|0;f=k[c>>2]|0;if(e>>>0<2&f>>>0<65536){g=d+984|0;h=c+4|0;l=g+36|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+1168>>2]=2;k[d+1168+8>>2]=0;k[d+1168+12>>2]=0;k[d+1168+16>>2]=-1;k[d+1168+16+4>>2]=-1;m=d+1168+24|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[m+16>>2]=0;w=0;m=ya(665,56)|0;n=w;w=0;if(n&1){n=Ib()|0;o=n;p=L;Hb(o|0)}k[m+4>>2]=0;k[m+8>>2]=0;k[m>>2]=15180;k[m+16>>2]=f;g=m+20|0;h=d+984|0;l=g+36|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+1168+8>>2]=m+16;k[d+1168+12>>2]=m;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;w=0;n=ya(665,44)|0;q=w;w=0;if(q&1){q=Ib()|0;s=L;QSa(m);o=q;p=s;Hb(o|0)}else{k[a+4>>2]=n;k[a>>2]=n;k[a+8>>2]=n+44;k[n>>2]=k[d+1168>>2];i[n+4>>0]=i[d+1168+4>>0]|0;k[n+8>>2]=m+16;k[n+12>>2]=m;OSa(m);k[n+16>>2]=-1;k[n+16+4>>2]=-1;k[n+24>>2]=0;k[n+28>>2]=0;k[n+32>>2]=0;k[n+36>>2]=0;k[n+40>>2]=0;k[a+4>>2]=(k[a+4>>2]|0)+44;QSa(m);r=d;return}}k[d+544>>2]=0;k[d+544+32>>2]=8;if(!e)t=8;else{k[d+544>>2]=~f;if((e|0)!=1){m=1;do{k[d+544+(m<<2)>>2]=~k[c+(m<<2)>>2];m=m+1|0}while((m|0)!=(e|0))}t=k[d+544+32>>2]|0}if(e>>>0>>0){m=e;do{k[d+544+(m<<2)>>2]=-1;m=m+1|0;n=k[d+544+32>>2]|0}while(m>>>0>>0);u=n}else u=t;t=u+-1|0;a:do if(t){u=t;do{if(k[d+544+(u<<2)>>2]|0)break a;k[d+544+32>>2]=u;u=u+-1|0}while((u|0)!=0)}while(0);g=d+448|0;h=d+544|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));t=k[d+448+32>>2]|0;u=k[d+448>>2]|0;if((t|0)!=1|(u|0)!=0){m=u;u=t;t=0;while(1){n=t+1|0;do if(!u){k[d+448+32>>2]=1;k[d+448>>2]=0;v=1;x=0}else{s=u+-1|0;q=(((k[d+448+(s<<2)>>2]|0)>>>0<256)<<31>>31)+u|0;if(!q){k[d+448+32>>2]=1;k[d+448>>2]=0;v=1;x=0;break}y=m>>>8;k[d+448>>2]=y;if(u>>>0>1){z=1;A=y;B=d+448|0;C=0;while(1){k[B>>2]=k[d+448+(z<<2)>>2]<<24|A;D=C+1|0;B=d+448+(D<<2)|0;A=(k[B>>2]|0)>>>8;k[B>>2]=A;if((D|0)==(s|0))break;else{z=C+2|0;C=D}}E=k[d+448>>2]|0}else E=y;C=q>>>0>8?8:q;k[d+448+32>>2]=C;v=C;x=E}while(0);if((x|0)!=0|(v|0)!=1){m=x;u=v;t=n}else{F=n;break}}}else F=0;g=d+408|0;h=c;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));t=k[d+408+32>>2]|0;v=k[d+408>>2]|0;if((t|0)!=1|(v|0)!=0){u=t;t=v;v=0;while(1){x=v+1|0;do if(!u){k[d+408+32>>2]=1;k[d+408>>2]=0;G=1;H=0}else{m=u+-1|0;E=(((k[d+408+(m<<2)>>2]|0)>>>0<256)<<31>>31)+u|0;if(!E){k[d+408+32>>2]=1;k[d+408>>2]=0;G=1;H=0;break}C=t>>>8;k[d+408>>2]=C;if(u>>>0>1){z=1;s=C;A=d+408|0;B=0;while(1){k[A>>2]=k[d+408+(z<<2)>>2]<<24|s;D=B+1|0;A=d+408+(D<<2)|0;s=(k[A>>2]|0)>>>8;k[A>>2]=s;if((D|0)==(m|0))break;else{z=B+2|0;B=D}}I=k[d+408>>2]|0}else I=C;B=E>>>0>8?8:E;k[d+408+32>>2]=B;G=B;H=I}while(0);if((H|0)!=0|(G|0)!=1){u=G;t=H;v=x}else{J=x;break}}}else J=0;if(F>>>0>>0){k[d+544>>2]=0;k[d+544+32>>2]=8;if(!e)K=8;else{k[d+544>>2]=~f;if((e|0)!=1){J=1;do{k[d+544+(J<<2)>>2]=~k[c+(J<<2)>>2];J=J+1|0}while((J|0)!=(e|0))}K=k[d+544+32>>2]|0}if(e>>>0>>0){J=e;do{k[d+544+(J<<2)>>2]=-1;J=J+1|0;e=k[d+544+32>>2]|0}while(J>>>0>>0);M=e}else M=K;K=M+-1|0;b:do if(K){M=K;do{if(k[d+544+(M<<2)>>2]|0)break b;k[d+544+32>>2]=M;M=M+-1|0}while((M|0)!=0)}while(0);g=d+368|0;h=d+544|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));mEa(d+1156|0,b,d+368|0);k[d+1100>>2]=1;i[d+1100+4>>0]=25;k[d+1100+8>>2]=0;k[d+1100+12>>2]=0;k[d+1100+16>>2]=-1;k[d+1100+16+4>>2]=-1;K=d+1100+24|0;k[K>>2]=0;k[K+4>>2]=0;k[K+8>>2]=0;k[K+12>>2]=0;k[K+16>>2]=0;k[d+1144>>2]=0;K=d+1144+4|0;k[K>>2]=0;k[d+1144+8>>2]=0;w=0;M=ya(665,44)|0;x=w;w=0;do if(x&1){J=Ib()|0;N=J;O=L}else{k[d+1144>>2]=M;k[d+1144+8>>2]=M+44;k[M>>2]=k[d+1100>>2];i[M+4>>0]=i[d+1100+4>>0]|0;k[M+8>>2]=0;k[M+12>>2]=0;k[M+16>>2]=-1;k[M+16+4>>2]=-1;k[M+24>>2]=0;k[M+28>>2]=0;k[M+32>>2]=0;k[M+36>>2]=0;k[M+40>>2]=0;k[K>>2]=M+44;w=0;cb(448,a|0,d+1156|0,d+1144|0);J=w;w=0;if(J&1){J=Ib()|0;e=L;F=k[d+1144>>2]|0;if(!F){N=J;O=e;break}v=k[K>>2]|0;if((v|0)==(F|0))P=F;else{H=v;do{k[K>>2]=H+-44;v=k[H+-4>>2]|0;if(v)QSa(v);v=k[H+-16>>2]|0;if(v)QSa(v);v=k[H+-32>>2]|0;if(v)QSa(v);H=k[K>>2]|0}while((H|0)!=(F|0));P=k[d+1144>>2]|0}GPa(P);N=J;O=e;break}F=k[d+1144>>2]|0;if(F){H=k[K>>2]|0;if((H|0)==(F|0))Q=F;else{v=H;do{k[K>>2]=v+-44;H=k[v+-4>>2]|0;if(H)QSa(H);H=k[v+-16>>2]|0;if(H)QSa(H);H=k[v+-32>>2]|0;if(H)QSa(H);v=k[K>>2]|0}while((v|0)!=(F|0));Q=k[d+1144>>2]|0}GPa(Q)}F=k[d+1156>>2]|0;if(!F){r=d;return}v=k[d+1156+4>>2]|0;if((v|0)==(F|0))R=F;else{e=v;do{k[d+1156+4>>2]=e+-44;v=k[e+-4>>2]|0;if(v)QSa(v);v=k[e+-16>>2]|0;if(v)QSa(v);v=k[e+-32>>2]|0;if(v)QSa(v);e=k[d+1156+4>>2]|0}while((e|0)!=(F|0));R=k[d+1156>>2]|0}GPa(R);r=d;return}while(0);R=k[d+1156>>2]|0;if(!R){o=N;p=O;Hb(o|0)}Q=k[d+1156+4>>2]|0;if((Q|0)==(R|0))S=R;else{K=Q;do{k[d+1156+4>>2]=K+-44;Q=k[K+-4>>2]|0;if(Q)QSa(Q);Q=k[K+-16>>2]|0;if(Q)QSa(Q);Q=k[K+-32>>2]|0;if(Q)QSa(Q);K=k[d+1156+4>>2]|0}while((K|0)!=(R|0));S=k[d+1156>>2]|0}GPa(S);o=N;p=O;Hb(o|0)}g=d+1020|0;h=c+4|0;l=g+36|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+1056>>2]=2;k[d+1056+8>>2]=0;k[d+1056+12>>2]=0;k[d+1056+16>>2]=-1;k[d+1056+16+4>>2]=-1;O=d+1056+24|0;k[O>>2]=0;k[O+4>>2]=0;k[O+8>>2]=0;k[O+12>>2]=0;k[O+16>>2]=0;w=0;O=ya(665,56)|0;N=w;w=0;if(N&1){N=Ib()|0;o=N;p=L;Hb(o|0)}k[O+4>>2]=0;k[O+8>>2]=0;k[O>>2]=15180;k[O+16>>2]=f;g=O+20|0;h=d+1020|0;l=g+36|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+1056+8>>2]=O+16;k[d+1056+12>>2]=O;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;w=0;f=ya(665,44)|0;N=w;w=0;if(N&1){N=Ib()|0;S=L;QSa(O);o=N;p=S;Hb(o|0)}k[a+4>>2]=f;k[a>>2]=f;k[a+8>>2]=f+44;k[f>>2]=k[d+1056>>2];i[f+4>>0]=i[d+1056+4>>0]|0;k[f+8>>2]=O+16;k[f+12>>2]=O;OSa(O);k[f+16>>2]=-1;k[f+16+4>>2]=-1;k[f+24>>2]=0;k[f+28>>2]=0;k[f+32>>2]=0;k[f+36>>2]=0;k[f+40>>2]=0;k[a+4>>2]=(k[a+4>>2]|0)+44;QSa(O);w=0;cb(443,d+312|0,b|0,a|0);O=w;w=0;if(!(O&1)){O=d+136+8|0;f=d+136+12|0;S=d+136+13|0;N=d+136+4|0;R=d+152+32|0;K=d+960+4|0;Q=d+792+24|0;P=d+792+68|0;M=d+792+112|0;x=d+924+4|0;F=d+684+24|0;e=d+728+4|0;v=d+752+4|0;J=d+740+4|0;H=d+960+8|0;t=d+628+24|0;G=d+672+4|0;u=d+584+24|0;I=d+936+4|0;n=255;c:while(1){if(!(k[b+24>>2]|0)){T=98;break}B=n+-8|0;g=d+544|0;h=c;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));z=k[d+544+32>>2]|0;do if(z>>>0>B>>>5>>>0){m=((((k[d+544+(z+-1<<2)>>2]|0)>>>(B&31)|0)==0)<<31>>31)+(z-(B>>>5))|0;if(!m){k[d+544+32>>2]=1;k[d+544>>2]=0;break}if(B&31){s=(k[d+544+(B>>>5<<2)>>2]|0)>>>(B&31);k[d+544>>2]=s;if(((B>>>5)+1|0)>>>0>>0){A=(B>>>5)+1|0;q=s;s=d+544|0;y=0;while(1){k[s>>2]=k[d+544+(A<<2)>>2]<<32-(B&31)|q;y=y+1|0;D=y+(B>>>5)|0;q=(k[d+544+(D<<2)>>2]|0)>>>(B&31);s=d+544+(y<<2)|0;k[s>>2]=q;if((y|0)==(z+-1-(B>>>5)|0))break;else A=D+1|0}}}else{A=0;do{k[d+544+(A<<2)>>2]=k[d+544+(A+(B>>>5)<<2)>>2];A=A+1|0}while((A|0)!=(m|0))}k[d+544+32>>2]=m>>>0>8?8:m}else{k[d+544+32>>2]=1;k[d+544>>2]=0}while(0);if(((k[d+544>>2]&511)+-255|0)>>>0<=1){k[d+328>>2]=1;k[d+328+32>>2]=1;g=d+544|0;h=d+328|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));wd(d+544|0,n,0);g=d+232|0;h=d+544|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));g=d+544|0;h=c;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));B=n>>>5;z=n&31;A=k[d+544+32>>2]|0;do if(A>>>0>B>>>0){y=((((k[d+544+(A+-1<<2)>>2]|0)>>>z|0)==0)<<31>>31)+(A-B)|0;if(!y){k[d+544+32>>2]=1;k[d+544>>2]=0;break}do if(!z){q=0;do{k[d+544+(q<<2)>>2]=k[d+544+(q+B<<2)>>2];q=q+1|0}while((q|0)!=(y|0))}else{q=(k[d+544+(B<<2)>>2]|0)>>>z;k[d+544>>2]=q;if((B+1|0)>>>0>=A>>>0)break;s=B+1|0;E=q;q=d+544|0;C=0;while(1){k[q>>2]=k[d+544+(s<<2)>>2]<<32-z|E;C=C+1|0;D=C+B|0;E=(k[d+544+(D<<2)>>2]|0)>>>z;q=d+544+(C<<2)|0;k[q>>2]=E;if((C|0)==(A+-1-B|0))break;else s=D+1|0}}while(0);k[d+544+32>>2]=y>>>0>8?8:y}else{k[d+544+32>>2]=1;k[d+544>>2]=0}while(0);g=d+152|0;h=d+544|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+504>>2]=0;k[d+504+32>>2]=1;k[d+544>>2]=1;$h(d+504|0,d+232|0,d+544|0);g=d+192|0;h=d+504|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+544>>2]=0;k[d+544+32>>2]=1;Jja(d+544|0,c,d+192|0);g=d+272|0;h=d+544|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+136>>2]=0;k[O>>2]=1;i[f>>0]=0;i[S>>0]=1;B=k[d+272+32>>2]|0;A=B>>>0>134217728?134217728:B;if(A>>>0>2){z=A>>>0>8?A:8;w=0;m=ya(665,z<<2|0)|0;s=w;w=0;if(s&1){T=115;break}k[m>>2]=k[d+136>>2];i[S>>0]=0;k[O>>2]=A;k[d+136>>2]=z;k[N>>2]=m;U=m}else{k[O>>2]=A;U=d+136|0}J0a(U|0,d+272|0,(B>>>0>134217728?536870912:B<<2)|0)|0;i[f>>0]=0;if(!(i[S>>0]|0))V=k[N>>2]|0;else V=d+136|0;B=(k[O>>2]|0)+-1|0;d:do if(B){A=B;do{if(k[V+(A<<2)>>2]|0)break d;k[O>>2]=A;A=A+-1|0}while((A|0)!=0)}while(0);k[d+976>>2]=d+232;k[d+976+4>>2]=d+136;w=0;B=Sa(690,d+136|0,d+976|0)|0;A=w;w=0;if(A&1){T=149;break}e:do if(B){w=0;if(!(i[f>>0]|0)){BN(d+136|0,d+136|0,d+232|0);A=w;w=0;if(A&1){T=149;break c}}else{CN(d+136|0,d+136|0,d+232|0);A=w;w=0;if(A&1){T=149;break c}}A=k[d+152>>2]|0;if((A|0)==-1){W=1;X=0;Y=0}else{k[d+152>>2]=A+1;break}while(1){Z=k[R>>2]|0;if(Y>>>0>=Z>>>0){_=W;T=144;break}A=d+152+(Y<<2)|0;y=G0a(k[A>>2]|0,0,W|0,X|0)|0;W=L;k[A>>2]=y;if((W|0)==0&0==0)break;else{X=0;Y=Y+1|0}}do if((T|0)==144){T=0;y=(Z+1|0)>>>0>8?8:Z+1|0;k[R>>2]=y;if(y>>>0<=Z>>>0)break;k[d+152+(Z<<2)>>2]=_}while(0);y=(k[R>>2]|0)+-1|0;if(!y)break;else $=y;do{if(k[d+152+($<<2)>>2]|0)break e;k[R>>2]=$;$=$+-1|0}while(($|0)!=0)}while(0);do if(!((k[R>>2]|0)==1&(k[d+152>>2]|0)==0)){k[d+952>>2]=d+544;k[d+952+4>>2]=d+136;g=d+544|0;h=d+232|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));B=k[d+544+32>>2]|0;do if(!B){k[d+544+32>>2]=1;k[d+544>>2]=0}else{y=(((k[d+544+(B+-1<<2)>>2]|0)>>>0<256)<<31>>31)+B|0;if(!y){k[d+544+32>>2]=1;k[d+544>>2]=0;break}A=(k[d+544>>2]|0)>>>8;k[d+544>>2]=A;if(B>>>0>1){m=1;z=A;A=d+544|0;s=0;while(1){k[A>>2]=k[d+544+(m<<2)>>2]<<24|z;C=s+1|0;A=d+544+(C<<2)|0;z=(k[A>>2]|0)>>>8;k[A>>2]=z;if((C|0)==(B+-1|0))break;else{m=s+2|0;s=C}}}k[d+544+32>>2]=y>>>0>8?8:y}while(0);g=d+80|0;h=d+544|0;l=g+40|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));w=0;B=Sa(691,d+952|0,d+80|0)|0;s=w;w=0;if(s&1){T=149;break c}if(B)break;k[d+960>>2]=0;k[K>>2]=0;k[d+960+8>>2]=0;B=j[f>>1]|0;s=k[O>>2]|0;if(!((B&255)<<24>>24==0&(s|0)==1?(k[(((B&65535)>>>8&255)<<24>>24==0?k[N>>2]|0:d+136|0)>>2]|0)==0:0))T=162;do if((T|0)==162){T=0;k[d+40>>2]=0;k[d+40+32>>2]=1;k[d+488>>2]=0;i[d+488+12>>0]=0;i[d+488+13>>0]=1;k[d+488+8>>2]=0;m=s>>>0>134217728?134217728:s;if(m>>>0>2){z=m>>>0>8?m:8;w=0;A=ya(665,z<<2|0)|0;C=w;w=0;if(C&1){T=166;break c}i[d+488+13>>0]=0;k[d+488+8>>2]=m;k[d+488>>2]=z;k[d+488+4>>2]=A;aa=A}else{k[d+488+8>>2]=m;aa=d+488|0}J0a(aa|0,(((B&65535)>>>8&255)<<24>>24==0?k[N>>2]|0:d+136|0)|0,s<<2|0)|0;i[d+488+12>>0]=0;AN(d+40|0,d+488|0,d+544|0,d+504|0);if(!(i[d+488+13>>0]|0))GPa(k[d+488+4>>2]|0);w=0;cb(449,d+936|0,b|0,d+40|0);m=w;w=0;if(m&1){T=187;break c}m=k[d+936>>2]|0;A=k[I>>2]|0;if((m|0)==(A|0))ba=m;else{z=m;do{m=k[K>>2]|0;if(m>>>0>=(k[H>>2]|0)>>>0){w=0;ua(1032,d+960|0,z|0);C=w;w=0;if(C&1){T=189;break c}}else{k[m>>2]=k[z>>2];i[m+4>>0]=i[z+4>>0]|0;C=z+8|0;k[m+8>>2]=k[C>>2];E=z+12|0;k[m+12>>2]=k[E>>2];k[C>>2]=0;k[E>>2]=0;k[m+16>>2]=k[z+16>>2];k[m+20>>2]=k[z+20>>2];E=z+24|0;k[m+24>>2]=k[E>>2];C=z+28|0;k[m+28>>2]=k[C>>2];k[E>>2]=0;k[C>>2]=0;k[m+32>>2]=k[z+32>>2];C=z+36|0;k[m+36>>2]=k[C>>2];E=z+40|0;k[m+40>>2]=k[E>>2];k[C>>2]=0;k[E>>2]=0;k[K>>2]=(k[K>>2]|0)+44}z=z+44|0}while((z|0)!=(A|0));ba=k[d+936>>2]|0}if(!ba)break;A=k[I>>2]|0;if((A|0)==(ba|0))ca=ba;else{z=A;do{k[I>>2]=z+-44;A=k[z+-4>>2]|0;if(A)QSa(A);A=k[z+-16>>2]|0;if(A)QSa(A);A=k[z+-32>>2]|0;if(A)QSa(A);z=k[I>>2]|0}while((z|0)!=(ba|0));ca=k[d+936>>2]|0}GPa(ca)}while(0);k[d+504>>2]=k[d+764>>2];k[d+504+4>>2]=k[d+764+4>>2];k[d+504+8>>2]=k[d+764+8>>2];k[d+504+12>>2]=k[d+764+12>>2];k[d+504+16>>2]=k[d+764+16>>2];k[d+504+20>>2]=k[d+764+20>>2];k[d+504+24>>2]=k[d+764+24>>2];k[d+792>>2]=2;k[d+792+8>>2]=0;k[d+792+12>>2]=0;k[d+792+16>>2]=-1;k[d+792+16+4>>2]=-1;k[Q>>2]=0;k[Q+4>>2]=0;k[Q+8>>2]=0;k[Q+12>>2]=0;k[Q+16>>2]=0;w=0;s=ya(665,56)|0;B=w;w=0;if(B&1){T=200;break c}k[s+4>>2]=0;k[s+8>>2]=0;k[s>>2]=15180;k[s+16>>2]=n;k[s+20>>2]=k[d+504>>2];k[s+20+4>>2]=k[d+504+4>>2];k[s+20+8>>2]=k[d+504+8>>2];k[s+20+12>>2]=k[d+504+12>>2];k[s+20+16>>2]=k[d+504+16>>2];k[s+20+20>>2]=k[d+504+20>>2];k[s+20+24>>2]=k[d+504+24>>2];k[s+48>>2]=1;k[d+792+8>>2]=s+16;k[d+792+12>>2]=s;k[d>>2]=2;k[d+32>>2]=1;g=d+544|0;h=d+4|0;l=g+36|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+792+44>>2]=2;k[d+792+52>>2]=0;k[d+792+56>>2]=0;k[d+792+60>>2]=-1;k[d+792+60+4>>2]=-1;k[P>>2]=0;k[P+4>>2]=0;k[P+8>>2]=0;k[P+12>>2]=0;k[P+16>>2]=0;w=0;B=ya(665,56)|0;z=w;w=0;if(z&1){T=202;break c}k[B+4>>2]=0;k[B+8>>2]=0;k[B>>2]=15180;k[B+16>>2]=2;g=B+20|0;h=d+544|0;l=g+36|0;do{k[g>>2]=k[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(l|0));k[d+792+52>>2]=B+16;k[d+792+56>>2]=B;k[d+792+88>>2]=1;i[d+792+92>>0]=10;k[d+792+96>>2]=0;k[d+792+100>>2]=0;k[d+792+104>>2]=-1;k[d+792+104+4>>2]=-1;k[M>>2]=0;k[M+4>>2]=0;k[M+8>>2]=0;k[M+12>>2]=0;k[M+16>>2]=0;k[d+924>>2]=0;k[x>>2]=0;k[d+924+8>>2]=0;w=0;z=ya(665,132)|0;A=w;w=0;if(A&1){T=280;break c}k[x>>2]=z;k[d+924>>2]=z;k[d+924+8>>2]=z+132;k[z>>2]=k[d+792>>2];i[z+4>>0]=i[d+792+4>>0]|0;k[z+8>>2]=s+16;k[z+12>>2]=s;OSa(s);A=k[d+792+16+4>>2]|0;y=k[d+792+24>>2]|0;E=k[d+792+28>>2]|0;k[z+16>>2]=k[d+792+16>>2];k[z+16+4>>2]=A;k[z+24>>2]=y;k[z+28>>2]=E;if(E)OSa(E);k[z+32>>2]=k[d+792+32>>2];k[z+36>>2]=k[d+792+36>>2];E=k[d+792+40>>2]|0;k[z+40>>2]=E;if(E)OSa(E);k[x>>2]=z+44;k[z+44>>2]=k[d+792+44>>2];i[z+44+4>>0]=i[d+792+44+4>>0]|0;k[z+52>>2]=k[d+792+52>>2];E=k[d+792+56>>2]|0;k[z+56>>2]=E;if(E)OSa(E);E=k[d+792+60+4>>2]|0;k[z+60>>2]=k[d+792+60>>2];k[z+60+4>>2]=E;k[z+68>>2]=k[d+792+68>>2];E=k[d+792+72>>2]|0;k[z+72>>2]=E;if(E)OSa(E);k[z+76>>2]=k[d+792+76>>2];k[z+80>>2]=k[d+792+80>>2];E=k[d+792+84>>2]|0;k[z+84>>2]=E;if(E)OSa(E);E=k[x>>2]|0;k[x>>2]=E+44;k[E+44>>2]=k[d+792+88>>2];i[E+44+4>>0]=i[d+792+88+4>>0]|0;k[E+52>>2]=k[d+792+96>>2];z=k[d+792+100>>2]|0;k[E+56>>2]=z;if(z)OSa(z);z=k[d+792+104+4>>2]|0;k[E+60>>2]=k[d+792+104>>2];k[E+60+4>>2]=z;k[E+68>>2]=k[d+792+112>>2];z=k[d+792+116>>2]|0;k[E+72>>2]=z;if(z)OSa(z);k[E+76>>2]=k[d+792+120>>2];k[E+80>>2]=k[d+792+124>>2];z=k[d+792+128>>2]|0;k[E+84>>2]=z;if(z)OSa(z);k[x>>2]=E+88;z=k[d+924>>2]|0;if((z|0)!=(E+88|0)){y=z;do{A=k[K>>2]|0;if(A>>>0>=(k[H>>2]|0)>>>0){w=0;ua(1032,d+960|0,y|0);C=w;w=0;if(C&1){T=281;break c}}else{k[A>>2]=k[y>>2];i[A+4>>0]=i[y+4>>0]|0;C=y+8|0;k[A+8>>2]=k[C>>2];m=y+12|0;k[A+12>>2]=k[m>>2];k[C>>2]=0;k[m>>2]=0;k[A+16>>2]=k[y+16>>2];k[A+20>>2]=k[y+20>>2];m=y+24|0;k[A+24>>2]=k[m>>2];C=y+28|0;k[A+28>>2]=k[C>>2];k[m>>2]=0;k[C>>2]=0;k[A+32>>2]=k[y+32>>2];C=y+36|0;k[A+36>>2]=k[C>>2];m=y+40|0;k[A+40>>2]=k[m>>2];k[C>>2]=0;k[m>>2]=0;k[K>>2]=(k[K>>2]|0)+44}y=y+44|0}while((y|0)!=(E+88|0));y=k[d+924>>2]|0;if(y){da=y;ea=y;T=215}}else{da=z;ea=E+88|0;T=215}if((T|0)==215){T=0;y=k[x>>2]|0;if((y|0)==(ea|0))fa=ea;else{s=y;do{y=k[s+-4>>2]|0;if(y)QSa(y);y=k[s+-16>>2]|0;if(y)QSa(y);y=k[s+-32>>2]|0;s=s+-44|0;if(y)QSa(y)}while((s|0)!=(ea|0));k[x>>2]=ea;fa=da}GPa(fa)}s=k[d+792+128>>2]|0;if(s)QSa(s);s=k[d+792+116>>2]|0;if(s)QSa(s);s=k[d+792+100>>2]|0;if(s)QSa(s);s=k[d+792+84>>2]|0;if(s)QSa(s);s=k[d+792+72>>2]|0;if(s)QSa(s);s=k[d+792+56>>2]|0;if(s)QSa(s);s=k[d+792+40>>2]|0;if(s)QSa(s);s=k[d+792+28>>2]|0;if(s)QSa(s);s=k[d+792+12>>2]|0;if(s)QSa(s);do if((k[R>>2]|0)!=1?1:(k[d+152>>2]|0)!=1){w=0;cb(449,d+740|0,b|0,d+152|0);s=w;w=0;if(s&1){T=187;break c}k[d+684>>2]=1;i[d+684+4>>0]=2;k[d+684+8>>2]=0;k[d+684+12>>2]=0;k[d+684+16>>2]=-1;k[d+684+16+4>>2]=-1;k[F>>2]=0;k[F+4>>2]=0;k[F+8>>2]=0;k[F+12>>2]=0;k[F+16>>2]=0;k[d+728>>2]=0;k[e>>2]=0;k[d+728+8>>2]=0;w=0;s=ya(665,44)|0;E=w;w=0;if(E&1){T=307;break c}k[d+728>>2]=s;k[d+728+8>>2]=s+44;k[s>>2]=k[d+684>>2];i[s+4>>0]=i[d+684+4>>0]|0;k[s+8>>2]=0;k[s+12>>2]=0;k[s+16>>2]=-1;k[s+16+4>>2]=-1;k[s+24>>2]=0;k[s+28>>2]=0;k[s+32>>2]=0;k[s+36>>2]=0;k[s+40>>2]=0;k[e>>2]=s+44;w=0;cb(448,d+752|0,d+740|0,d+728|0);s=w;w=0;if(s&1){T=308;break c}s=k[d+752>>2]|0;E=k[v>>2]|0;if((s|0)==(E|0))ga=s;else{z=s;do{s=k[K>>2]|0;if(s>>>0>=(k[H>>2]|0)>>>0){w=0;ua(1032,d+960|0,z|0);y=w;w=0;if(y&1){T=309;break c}}else{k[s>>2]=k[z>>2];i[s+4>>0]=i[z+4>>0]|0;y=z+8|0;k[s+8>>2]=k[y>>2];B=z+12|0;k[s+12>>2]=k[B>>2];k[y>>2]=0;k[B>>2]=0;k[s+16>>2]=k[z+16>>2];k[s+20>>2]=k[z+20>>2];B=z+24|0;k[s+24>>2]=k[B>>2];y=z+28|0;k[s+28>>2]=k[y>>2];k[B>>2]=0;k[y>>2]=0;k[s+32>>2]=k[z+32>>2];y=z+36|0;k[s+36>>2]=k[y>>2];B=z+40|0;k[s+40>>2]=k[B>>2];k[y>>2]=0;k[B>>2]=0;k[K>>2]=(k[K>>2]|0)+44}z=z+44|0}while((z|0)!=(E|0));ga=k[d+752>>2]|0}if(ga){E=k[v>>2]|0;if((E|0)==(ga|0))ha=ga;else{z=E;do{k[v>>2]=z+-44;E=k[z+-4>>2]|0;if(E)QSa(E);E=k[z+-16>>2]|0;if(E)QSa(E);E=k[z+-32>>2]|0;if(E)QSa(E);z=k[v>>2]|0}while((z|0)!=(ga|0));ha=k[d+752>>2]|0}GPa(ha)}z=k[d+728>>2]|0;if(z){E=k[e>>2]|0;if((E|0)==(z|0))ia=z;else{B=E;do{k[e>>2]=B+-44;E=k[B+-4>>2]|0;if(E)QSa(E);E=k[B+-16>>2]|0;if(E)QSa(E);E=k[B+-32>>2]|0;if(E)QSa(E);B=k[e>>2]|0}while((B|0)!=(z|0));ia=k[d+728>>2]|0}GPa(ia)}z=k[d+684+40>>2]|0;if(z)QSa(z);z=k[d+684+28>>2]|0;if(z)QSa(z);z=k[d+684+12>>2]|0;if(z)QSa(z);z=k[d+740>>2]|0;if(!z)break;B=k[J>>2]|0;if((B|0)==(z|0))ja=z;else{E=B;do{k[J>>2]=E+-44;B=k[E+-4>>2]|0;if(B)QSa(B);B=k[E+-16>>2]|0;if(B)QSa(B);B=k[E+-32>>2]|0;if(B)QSa(B);E=k[J>>2]|0}while((E|0)!=(z|0));ja=k[d+740>>2]|0}GPa(ja)}while(0);z=j[f>>1]|0;do if(!((z&255)<<24>>24)){if((k[O>>2]|0)>>>0<=1?(k[((z&65535)<256?k[N>>2]|0:d+136|0)>>2]|0)==0:0)break;k[d+628>>2]=1;i[d+628+4>>0]=1;k[d+628+8>>2]=0;k[d+628+12>>2]=0;k[d+628+16>>2]=-1;k[d+628+16+4>>2]=-1;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=0;k[t+12>>2]=0;k[t+16>>2]=0;k[d+672>>2]=0;k[G>>2]=0;k[d+672+8>>2]=0;w=0;E=ya(665,44)|0;B=w;w=0;if(B&1){T=372;break c}k[d+672>>2]=E;k[d+672+8>>2]=E+44;k[E>>2]=k[d+628>>2];i[E+4>>0]=i[d+628+4>>0]|0;k[E+8>>2]=0;k[E+12>>2]=0;k[E+16>>2]=-1;k[E+16+4>>2]=-1;k[E+24>>2]=0;k[E+28>>2]=0;k[E+32>>2]=0;k[E+36>>2]=0;k[E+40>>2]=0;k[G>>2]=E+44;B=k[K>>2]|0;if(B>>>0>=(k[H>>2]|0)>>>0){w=0;ua(1032,d+960|0,E|0);y=w;w=0;if(y&1){T=373;break c}}else{k[B>>2]=k[E>>2];i[B+4>>0]=i[E+4>>0]|0;k[B+8>>2]=k[E+8>>2];k[B+12>>2]=k[E+12>>2];k[E+8>>2]=0;k[E+12>>2]=0;k[B+16>>2]=k[E+16>>2];k[B+20>>2]=k[E+20>>2];k[B+24>>2]=k[E+24>>2];k[B+28>>2]=k[E+28>>2];k[E+24>>2]=0;k[E+28>>2]=0;k[B+32>>2]=k[E+32>>2];k[B+36>>2]=k[E+36>>2];k[B+40>>2]=k[E+40>>2];k[E+36>>2]=0;k[E+40>>2]=0;k[K>>2]=(k[K>>2]|0)+44}E=k[d+672>>2]|0;if(E){B=k[G>>2]|0;if((B|0)!=(E|0)){y=B;do{B=k[y+-4>>2]|0;if(B)QSa(B);B=k[y+-16>>2]|0;if(B)QSa(B);B=k[y+-32>>2]|0;y=y+-44|0;if(B)QSa(B)}while((y|0)!=(E|0));k[G>>2]=E}GPa(E)}y=k[d+628+40>>2]|0;if(y)QSa(y);y=k[d+628+28>>2]|0;if(y)QSa(y);y=k[d+628+12>>2]|0;if(!y)break;QSa(y)}else{k[d+584>>2]=1;i[d+584+4>>0]=3;k[d+584+8>>2]=0;k[d+584+12>>2]=0;k[d+584+16>>2]=-1;k[d+584+16+4>>2]=-1;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=0;k[u+12>>2]=0;k[u+16>>2]=0;y=k[K>>2]|0;do if(y>>>0<(k[H>>2]|0)>>>0){k[y>>2]=k[d+584>>2];i[y+4>>0]=i[d+584+4>>0]|0;k[y+8>>2]=0;k[y+12>>2]=0;k[d+584+8>>2]=0;k[d+584+12>>2]=0;k[y+16>>2]=-1;k[y+20>>2]=-1;k[y+24>>2]=0;k[y+28>>2]=0;k[u>>2]=0;k[d+584+28>>2]=0;k[y+32>>2]=0;k[y+36>>2]=0;k[y+40>>2]=0;k[d+584+36>>2]=0;k[d+584+40>>2]=0;k[K>>2]=(k[K>>2]|0)+44}else{w=0;ua(1032,d+960|0,d+584|0);B=w;w=0;if(B&1){T=399;break c}B=k[d+584+40>>2]|0;if(!B)break;QSa(B)}while(0);y=k[d+584+28>>2]|0;if(y)QSa(y);y=k[d+584+12>>2]|0;if(!y)break;QSa(y)}while(0);z=k[b+24>>2]|0;if(z)k[b+24>>2]=z+-1;w=0;cb(443,d+120|0,b|0,d+960|0);z=w;w=0;if(z&1){T=187;break c}z=j[d+120+12>>1]|0;y=j[d+312+12>>1]|0;if((z&255)<<24>>24!=0^(y&255)<<24>>24!=0)if((z&255)<<24>>24)T=417;else ka=(z&65535)>>>8&255;else{E=k[d+120+8>>2]|0;B=k[d+312+8>>2]|0;f:do if((E|0)==(B|0)){s=((z&65535)>>>8&255)<<24>>24==0?k[d+120+4>>2]|0:d+120|0;m=((y&65535)>>>8&255)<<24>>24==0?k[d+312+4>>2]|0:d+312|0;C=E;do{C=C+-1|0;if((C|0)<=-1){la=0;break f}ma=k[s+(C<<2)>>2]|0;na=k[m+(C<<2)>>2]|0}while((ma|0)==(na|0));la=ma>>>0>na>>>0?1:-1}else la=E>>>0>B>>>0?1:-1;while(0);if((((z&255)<<24>>24!=0?0-la|0:la)|0)<0)T=417;else ka=(z&65535)>>>8&255}if((T|0)==417){T=0;if(!(((y&65535)>>>8&255)<<24>>24)){GPa(k[d+312+4>>2]|0);B=j[d+120+12>>1]|0;oa=B&255;pa=(B&65535)>>>8&255}else{oa=z&255;pa=(z&65535)>>>8&255}B=k[d+120+8>>2]|0;k[d+312+8>>2]=B;i[d+312+12>>0]=oa;i[d+312+13>>0]=pa;if(!(pa<<24>>24)){E=k[d+120+4>>2]|0;k[d+312>>2]=k[d+120>>2];k[d+312+4>>2]=E;k[d+120+8>>2]=0;i[d+120+13>>0]=1}else J0a(d+312|0,(pa<<24>>24==0?k[d+120+4>>2]|0:d+120|0)|0,B<<2|0)|0;B=k[a>>2]|0;if(B){E=k[a+4>>2]|0;if((E|0)==(B|0))qa=B;else{C=E;do{k[a+4>>2]=C+-44;E=k[C+-4>>2]|0;if(E)QSa(E);E=k[C+-16>>2]|0;if(E)QSa(E);E=k[C+-32>>2]|0;if(E)QSa(E);C=k[a+4>>2]|0}while((C|0)!=(B|0));qa=k[a>>2]|0}GPa(qa);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0}k[a>>2]=k[d+960>>2];k[a+4>>2]=k[K>>2];k[a+8>>2]=k[H>>2];k[H>>2]=0;k[K>>2]=0;k[d+960>>2]=0;ka=i[d+120+13>>0]|0}if(!(ka<<24>>24))GPa(k[d+120+4>>2]|0);B=k[d+960>>2]|0;if(B){C=k[K>>2]|0;if((C|0)==(B|0))ra=B;else{z=C;do{k[K>>2]=z+-44;C=k[z+-4>>2]|0;if(C)QSa(C);C=k[z+-16>>2]|0;if(C)QSa(C);C=k[z+-32>>2]|0;if(C)QSa(C);z=k[K>>2]|0}while((z|0)!=(B|0));ra=k[d+960>>2]|0}GPa(ra)}}while(0);if(!(i[S>>0]|0))GPa(k[N>>2]|0)}n=n+-1|0;if(n>>>0<=8){T=98;break}}switch(T|0){case 98:{if(!(i[d+312+13>>0]|0))GPa(k[d+312+4>>2]|0);r=d;return}case 115:{sa=Ib()|0;ta=L;break}case 149:{va=Ib()|0;wa=L;T=463;break}case 166:{n=Ib()|0;xa=L;za=n;T=188;break}case 187:{n=Ib()|0;xa=L;za=n;T=188;break}case 189:{n=Ib()|0;ra=L;ka=k[d+936>>2]|0;if(!ka){Aa=n;Ba=ra;T=452}else{H=k[I>>2]|0;if((H|0)==(ka|0))Ca=ka;else{qa=H;do{k[I>>2]=qa+-44;H=k[qa+-4>>2]|0;if(H)QSa(H);H=k[qa+-16>>2]|0;if(H)QSa(H);H=k[qa+-32>>2]|0;if(H)QSa(H);qa=k[I>>2]|0}while((qa|0)!=(ka|0));Ca=k[d+936>>2]|0}GPa(Ca);Aa=n;Ba=ra;T=452}break}case 200:{Da=d+792|0;Ea=Ib()|0;Fa=L;T=299;break}case 202:{Da=d+792+44|0;Ea=Ib()|0;Fa=L;T=299;break}case 280:{Ga=Ib()|0;Ha=L;T=292;break}case 281:{ra=Ib()|0;n=L;Ca=k[d+924>>2]|0;if(!Ca){Ga=ra;Ha=n;T=292}else{ka=k[x>>2]|0;if((ka|0)!=(Ca|0)){qa=ka;do{ka=k[qa+-4>>2]|0;if(ka)QSa(ka);ka=k[qa+-16>>2]|0;if(ka)QSa(ka);ka=k[qa+-32>>2]|0;qa=qa+-44|0;if(ka)QSa(ka)}while((qa|0)!=(Ca|0));k[x>>2]=Ca}GPa(Ca);Ga=ra;Ha=n;T=292}break}case 307:{Ia=Ib()|0;Ja=L;T=331;break}case 308:{Ka=Ib()|0;La=L;T=320;break}case 309:{n=Ib()|0;ra=L;Ca=k[d+752>>2]|0;if(!Ca){Ka=n;La=ra;T=320}else{x=k[v>>2]|0;if((x|0)==(Ca|0))Ma=Ca;else{qa=x;do{k[v>>2]=qa+-44;x=k[qa+-4>>2]|0;if(x)QSa(x);x=k[qa+-16>>2]|0;if(x)QSa(x);x=k[qa+-32>>2]|0;if(x)QSa(x);qa=k[v>>2]|0}while((qa|0)!=(Ca|0));Ma=k[d+752>>2]|0}GPa(Ma);Ka=n;La=ra;T=320}break}case 372:{Na=Ib()|0;Oa=L;T=384;break}case 373:{ra=Ib()|0;n=L;Ma=k[d+672>>2]|0;if(!Ma){Na=ra;Oa=n;T=384}else{Ca=k[G>>2]|0;if((Ca|0)!=(Ma|0)){qa=Ca;do{Ca=k[qa+-4>>2]|0;if(Ca)QSa(Ca);Ca=k[qa+-16>>2]|0;if(Ca)QSa(Ca);Ca=k[qa+-32>>2]|0;qa=qa+-44|0;if(Ca)QSa(Ca)}while((qa|0)!=(Ma|0));k[G>>2]=Ma}GPa(Ma);Na=ra;Oa=n;T=384}break}case 399:{n=Ib()|0;ra=L;Ma=k[d+584+40>>2]|0;if(Ma)QSa(Ma);Ma=k[d+584+28>>2]|0;if(Ma)QSa(Ma);Ma=k[d+584+12>>2]|0;if(!Ma){Aa=n;Ba=ra;T=452}else{QSa(Ma);Aa=n;Ba=ra;T=452}break}}do if((T|0)==188){Aa=za;Ba=xa;T=452}else if((T|0)==292){ra=k[d+792+128>>2]|0;if(ra)QSa(ra);ra=k[d+792+116>>2]|0;if(ra)QSa(ra);ra=k[d+792+100>>2]|0;if(ra)QSa(ra);ra=k[d+792+84>>2]|0;if(ra)QSa(ra);ra=k[d+792+72>>2]|0;if(ra)QSa(ra);ra=k[d+792+56>>2]|0;if(ra)QSa(ra);ra=k[d+792+40>>2]|0;if(ra)QSa(ra);ra=k[d+792+28>>2]|0;if(ra)QSa(ra);ra=k[d+792+12>>2]|0;if(!ra){Aa=Ga;Ba=Ha;T=452;break}QSa(ra);Aa=Ga;Ba=Ha;T=452}else if((T|0)==299)if((d+792|0)==(Da|0)){Aa=Ea;Ba=Fa;T=452}else{ra=Da;do{n=k[ra+-4>>2]|0;if(n)QSa(n);n=k[ra+-16>>2]|0;if(n)QSa(n);n=k[ra+-32>>2]|0;ra=ra+-44|0;if(n)QSa(n)}while((ra|0)!=(d+792|0));Aa=Ea;Ba=Fa;T=452}else if((T|0)==320){ra=k[d+728>>2]|0;if(!ra){Ia=Ka;Ja=La;T=331}else{n=k[e>>2]|0;if((n|0)==(ra|0))Pa=ra;else{Ma=n;do{k[e>>2]=Ma+-44;n=k[Ma+-4>>2]|0;if(n)QSa(n);n=k[Ma+-16>>2]|0;if(n)QSa(n);n=k[Ma+-32>>2]|0;if(n)QSa(n);Ma=k[e>>2]|0}while((Ma|0)!=(ra|0));Pa=k[d+728>>2]|0}GPa(Pa);Ia=Ka;Ja=La;T=331}}else if((T|0)==384){ra=k[d+628+40>>2]|0;if(ra)QSa(ra);ra=k[d+628+28>>2]|0;if(ra)QSa(ra);ra=k[d+628+12>>2]|0;if(!ra){Aa=Na;Ba=Oa;T=452}else{QSa(ra);Aa=Na;Ba=Oa;T=452}}while(0);if((T|0)==331){Oa=k[d+684+40>>2]|0;if(Oa)QSa(Oa);Oa=k[d+684+28>>2]|0;if(Oa)QSa(Oa);Oa=k[d+684+12>>2]|0;if(Oa)QSa(Oa);Oa=k[d+740>>2]|0;if(!Oa){Aa=Ia;Ba=Ja;T=452}else{Na=k[J>>2]|0;if((Na|0)==(Oa|0))Qa=Oa;else{La=Na;do{k[J>>2]=La+-44;Na=k[La+-4>>2]|0;if(Na)QSa(Na);Na=k[La+-16>>2]|0;if(Na)QSa(Na);Na=k[La+-32>>2]|0;if(Na)QSa(Na);La=k[J>>2]|0}while((La|0)!=(Oa|0));Qa=k[d+740>>2]|0}GPa(Qa);Aa=Ia;Ba=Ja;T=452}}if((T|0)==452){Ja=k[d+960>>2]|0;if(!Ja){va=Aa;wa=Ba;T=463}else{Ia=k[K>>2]|0;if((Ia|0)==(Ja|0))Ra=Ja;else{Qa=Ia;do{k[K>>2]=Qa+-44;Ia=k[Qa+-4>>2]|0;if(Ia)QSa(Ia);Ia=k[Qa+-16>>2]|0;if(Ia)QSa(Ia);Ia=k[Qa+-32>>2]|0;if(Ia)QSa(Ia);Qa=k[K>>2]|0}while((Qa|0)!=(Ja|0));Ra=k[d+960>>2]|0}GPa(Ra);va=Aa;wa=Ba;T=463}}if((T|0)==463)if(!(i[S>>0]|0)){GPa(k[N>>2]|0);sa=va;ta=wa}else{sa=va;ta=wa}if(!(i[d+312+13>>0]|0)){GPa(k[d+312+4>>2]|0);Ta=sa;Ua=ta}else{Ta=sa;Ua=ta}}else{ta=Ib()|0;Ta=ta;Ua=L}ta=k[a>>2]|0;if(!ta){o=Ta;p=Ua;Hb(o|0)}sa=k[a+4>>2]|0;if((sa|0)==(ta|0))Va=ta;else{d=sa;do{k[a+4>>2]=d+-44;sa=k[d+-4>>2]|0;if(sa)QSa(sa);sa=k[d+-16>>2]|0;if(sa)QSa(sa);sa=k[d+-32>>2]|0;if(sa)QSa(sa);d=k[a+4>>2]|0}while((d|0)!=(ta|0));Va=k[a>>2]|0}GPa(Va);o=Ta;p=Ua;Hb(o|0)}function nEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;d=r;r=r+144|0;e=k[c>>2]|0;f=k[c+4>>2]|0;if((e|0)==(f|0))g=0;else{h=d+88+24|0;j=e;e=0;while(1){k[d+88>>2]=1;i[d+88+4>>0]=10;k[d+88+8>>2]=0;k[d+88+12>>2]=0;k[d+88+16>>2]=-1;k[d+88+16+4>>2]=-1;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;if((k[j>>2]|0)==1){l=cja(j)|0;m=l<<24>>24==(cja(d+88|0)|0)<<24>>24}else m=0;l=(m&1)+e|0;j=j+44|0;if((j|0)==(f|0)){g=l;break}else e=l}}jEa(d+32|0,c);e=ha((k[b+16>>2]|0)>1?60:20,g)|0;k[d+48>>2]=0;k[d+48+8>>2]=1;i[d+48+12>>0]=0;i[d+48+13>>0]=1;k[d+64>>2]=e;w=0;if(!(i[d+32+12>>0]|0)){kq(d+48|0,d+32|0,d+64|0);e=w;w=0;if(e&1)n=9;else n=11}else{jq(d+48|0,d+32|0,d+64|0);e=w;w=0;if(e&1)n=9;else n=11}if((n|0)==9){e=Ib()|0;g=L;if(!(i[d+48+13>>0]|0))GPa(k[d+48+4>>2]|0);o=g;p=e}else if((n|0)==11){e=k[c>>2]|0;g=k[c+4>>2]|0;a:do if((e|0)==(g|0)){q=0;n=14}else{c=e;f=0;while(1){w=0;j=Sa(688,c|0,3)|0;m=w;w=0;if(m&1)break;m=j+f|0;c=c+44|0;if((c|0)==(g|0)){q=m;n=14;break a}else f=m}f=Ib()|0;s=L;t=f}while(0);do if((n|0)==14){g=ha((i[b+4>>0]|0)!=0?68:200,q)|0;k[d+16>>2]=g;k[d+16+8>>2]=1;i[d+16+12>>0]=0;i[d+16+13>>0]=1;k[d>>2]=0;k[d+8>>2]=1;i[d+12>>0]=0;i[d+13>>0]=1;k[d+68>>2]=b+8;k[d+68+4>>2]=d+48;k[d+68+8>>2]=b+12;k[d+68+12>>2]=d+16;k[d+68+16>>2]=d;k[a>>2]=0;k[a+8>>2]=1;i[a+12>>0]=0;i[a+13>>0]=1;w=0;cb(446,a|0,d+68|0,d+88|0);g=w;w=0;if(g&1){g=Ib()|0;e=L;if(!(i[a+13>>0]|0))GPa(k[a+4>>2]|0);if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);if(i[d+16+13>>0]|0){s=e;t=g;break}GPa(k[d+16+4>>2]|0);s=e;t=g;break}if(!(i[d+13>>0]|0))GPa(k[d+4>>2]|0);if(!(i[d+16+13>>0]|0))GPa(k[d+16+4>>2]|0);if(!(i[d+48+13>>0]|0))GPa(k[d+48+4>>2]|0);if(i[d+32+13>>0]|0){r=d;return}GPa(k[d+32+4>>2]|0);r=d;return}while(0);if(!(i[d+48+13>>0]|0)){GPa(k[d+48+4>>2]|0);o=s;p=t}else{o=s;p=t}}if(i[d+32+13>>0]|0)Hb(p|0);GPa(k[d+32+4>>2]|0);Hb(p|0)}function oEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;c=r;r=r+304|0;k[c+280>>2]=0;d=c+280+4|0;k[d>>2]=0;k[c+280+8>>2]=0;e=k[b>>2]|0;f=k[b+4>>2]|0;do if((e|0)!=(f|0)){b=e;a:while(1){b:do switch(k[b>>2]|0){case 1:{g=k[d>>2]|0;h=k[c+280>>2]|0;w=0;i=ya(744,b|0)|0;j=w;w=0;if(j&1){l=4;break a}if(((g-h|0)/40|0)>>>0>>0){l=47;break a}i=k[d>>2]|0;w=0;h=ya(739,b|0)|0;g=w;w=0;if(g&1){l=4;break a}switch(h<<24>>24){case 2:{k[c+240>>2]=0;k[c+240+32>>2]=1;rma(c+240|0,i+-40|0,i+-80|0);m=c+160|0;n=c+240|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));m=i+-80|0;n=c+160|0;o=m+36|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));break}case 10:{h=k[i+-80>>2]|0;if(h>>>0>255?1:(k[i+-48>>2]|0)>>>0>1){l=47;break a}k[c+292>>2]=h;k[c+200>>2]=0;k[c+200+32>>2]=1;BEa(c+200|0,i+-40|0,c+292|0,c+240|0);m=c+120|0;n=c+200|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));m=i+-80|0;n=c+120|0;o=m+36|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));break}case 1:{k[c+240>>2]=0;k[c+240+32>>2]=1;_h(c+240|0,i+-40|0,i+-80|0);m=c+80|0;n=c+240|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));m=i+-80|0;n=c+80|0;o=m+36|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));break}case 3:{k[c+240>>2]=0;k[c+240+32>>2]=1;Zh(c+240|0,i+-40|0,i+-80|0);m=c+40|0;n=c+240|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));m=i+-80|0;n=c+40|0;o=m+36|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));break}case 25:{k[c+240>>2]=0;h=k[i+-8>>2]|0;k[c+240+32>>2]=8;if(!h)p=8;else{g=0;do{k[c+240+(g<<2)>>2]=~k[i+-40+(g<<2)>>2];g=g+1|0}while((g|0)!=(h|0));p=k[c+240+32>>2]|0}if(h>>>0>>0){g=h;do{k[c+240+(g<<2)>>2]=-1;g=g+1|0;j=k[c+240+32>>2]|0}while(g>>>0>>0);q=j}else q=p;g=q+-1|0;c:do if(g){h=g;do{if(k[c+240+(h<<2)>>2]|0)break c;k[c+240+32>>2]=h;h=h+-1|0}while((h|0)!=0)}while(0);m=c;n=c+240|0;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));m=i+-40|0;n=c;o=m+36|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));break}default:{l=47;break a}}i=((k[d>>2]|0)-(k[c+280>>2]|0)|0)/40|0;w=0;g=ya(743,b|0)|0;h=w;w=0;if(h&1){l=4;break a}w=0;h=ya(744,b|0)|0;j=w;w=0;if(j&1){l=4;break a}j=k[d>>2]|0;s=k[c+280>>2]|0;if((g-h+i|0)>>>0>((j-s|0)/40|0)>>>0){w=0;ua(1112,c+280|0,g-h+i-((j-s|0)/40|0)|0);t=w;w=0;if(t&1){l=4;break a}else break b}if((g-h+i|0)>>>0<((j-s|0)/40|0)>>>0?(j|0)!=(s+((g-h+i|0)*40|0)|0):0)k[d>>2]=j+(~(((j+-40-(s+((g-h+i|0)*40|0))|0)>>>0)/40|0)*40|0);break}case 2:{w=0;i=ya(682,b|0)|0;h=w;w=0;if(h&1){l=4;break a}h=k[d>>2]|0;if((h|0)==(k[c+280+8>>2]|0)){w=0;ua(1113,c+280|0,i|0);g=w;w=0;if(g&1){l=4;break a}else break b}else{m=h;n=i;o=m+40|0;do{k[m>>2]=k[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));k[d>>2]=h+40;break b}break}default:{l=47;break a}}while(0);b=b+44|0;if((b|0)==(f|0)){l=40;break}}if((l|0)==4){b=Ib()|0;i=k[c+280>>2]|0;if(!i)Hb(b|0);g=k[d>>2]|0;if((g|0)!=(i|0))k[d>>2]=g+(~(((g+-40-i|0)>>>0)/40|0)*40|0);GPa(i);Hb(b|0)}else if((l|0)==40){b=k[c+280>>2]|0;u=b;v=k[d>>2]|0;x=b;l=41;break}else if((l|0)==47){y=0;z=k[c+280>>2]|0;break}}else{u=0;v=0;x=0;l=41}while(0);d:do if((l|0)==41)if((v-u|0)==40?(f=k[x+32>>2]|0,(f|0)==(k[a+32>>2]|0)):0){n=x+(f<<2)|0;if((x|0)==(n|0)){y=1;z=x}else{f=x;m=a;while(1){if((k[f>>2]|0)!=(k[m>>2]|0)){y=0;z=x;break d}f=f+4|0;if((f|0)==(n|0)){y=1;z=x;break}else m=m+4|0}}}else{y=0;z=x}while(0);if(!z){r=c;return y|0}x=k[d>>2]|0;if((x|0)!=(z|0))k[d>>2]=x+(~(((x+-40-z|0)>>>0)/40|0)*40|0);GPa(z);r=c;return y|0}function pEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;c=r;r=r+16|0;d=KEa(a,c,b)|0;e=k[d>>2]|0;if(e){f=e;g=f+60|0;r=c;return g|0}e=EPa(64)|0;k[e+16>>2]=k[b>>2];i[e+16+4>>0]=i[b+4>>0]|0;k[e+24>>2]=k[b+8>>2];h=k[b+12>>2]|0;k[e+28>>2]=h;if(h)OSa(h);h=k[b+16+4>>2]|0;k[e+32>>2]=k[b+16>>2];k[e+32+4>>2]=h;k[e+40>>2]=k[b+24>>2];h=k[b+28>>2]|0;k[e+44>>2]=h;if(h)OSa(h);k[e+48>>2]=k[b+32>>2];k[e+52>>2]=k[b+36>>2];h=k[b+40>>2]|0;k[e+56>>2]=h;if(h)OSa(h);k[e+60>>2]=0;h=k[c>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=h;k[d>>2]=e;h=k[k[a>>2]>>2]|0;if(!h)j=e;else{k[a>>2]=h;j=k[d>>2]|0}$c(k[a+4>>2]|0,j);k[a+8>>2]=(k[a+8>>2]|0)+1;f=e;g=f+60|0;r=c;return g|0}function qEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;d=r;r=r+80|0;k[a>>2]=42144;k[a+4>>2]=k[b>>2];k[a+4+4>>2]=k[b+4>>2];k[a+4+8>>2]=k[b+8>>2];k[a+4+12>>2]=k[b+12>>2];k[a+20>>2]=c;k[a>>2]=42116;k[a+24>>2]=1e4;k[a+28>>2]=0;k[a+32>>2]=0;k[a+36>>2]=0;w=0;cb(449,d+56|0,a|0,c|0);c=w;w=0;if(!(c&1)){c=k[a+28>>2]|0;if(!c)e=a+36|0;else{b=k[a+32>>2]|0;if((b|0)==(c|0))f=c;else{g=b;do{k[a+32>>2]=g+-44;b=k[g+-4>>2]|0;if(b)QSa(b);b=k[g+-16>>2]|0;if(b)QSa(b);b=k[g+-32>>2]|0;if(b)QSa(b);g=k[a+32>>2]|0}while((g|0)!=(c|0));f=k[a+28>>2]|0}GPa(f);k[a+36>>2]=0;k[a+32>>2]=0;k[a+28>>2]=0;e=a+36|0}k[a+28>>2]=k[d+56>>2];k[a+32>>2]=k[d+56+4>>2];k[e>>2]=k[d+56+8>>2];k[d+56+8>>2]=0;k[d+56+4>>2]=0;k[d+56>>2]=0;w=0;e=Sa(692,k[a+20>>2]|0,a+28|0)|0;f=w;w=0;if(!(f&1)){if(e){r=d;return}k[d+32>>2]=0;k[d+32+4>>2]=0;k[d+32+8>>2]=0;k[d+32+12>>2]=0;k[d+32+16>>2]=0;k[d+32+20>>2]=-1;k[d+32>>2]=34316;k[d+32+4>>2]=34340;w=0;cb(138,d|0,264396,36);e=w;w=0;if(e&1){e=Ib()|0;h=L;i=e}else{k[d+16>>2]=13804;w=0;ua(724,d+16+4|0,d|0);e=w;w=0;if(e&1){e=Ib()|0;j=L;l=e}else{w=0;e=Sa(669,d+32|0,d+16|0)|0;f=w;w=0;if(!(f&1)){k[e+(k[(k[e>>2]|0)+-24>>2]|0)+8>>2]=264433;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+12>>2]=264540;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+16>>2]=145;w=0;sa(1677,e|0);w=0}e=Ib()|0;f=L;k[d+16>>2]=13804;dTa(d+16+4|0);j=f;l=e}dTa(d);h=j;i=l}k[d+32+4>>2]=13668;l=k[d+32+8>>2]|0;if(l){w=0;j=ya(k[(k[l>>2]|0)+16>>2]|0,l|0)|0;l=w;w=0;if(l&1){l=Ib(0)|0;Zc(l)}if(j)k[d+32+8>>2]=0}m=h;n=i}else o=20}else o=20;if((o|0)==20){o=Ib()|0;m=L;n=o}o=k[a+28>>2]|0;if(!o)Hb(n|0);m=k[a+32>>2]|0;if((m|0)==(o|0))p=o;else{i=m;do{k[a+32>>2]=i+-44;m=k[i+-4>>2]|0;if(m)QSa(m);m=k[i+-16>>2]|0;if(m)QSa(m);m=k[i+-32>>2]|0;if(m)QSa(m);i=k[a+32>>2]|0}while((i|0)!=(o|0));p=k[a+28>>2]|0}GPa(p);Hb(n|0)}function rEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=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;c=r;r=r+16|0;d=k[a+4>>2]|0;do if(d){e=k[b+32>>2]|0;f=d;a:while(1){g=k[f+48>>2]|0;do if((e|0)==(g|0)){h=f+16|0;i=e;while(1){i=i+-1|0;if((i|0)<=-1){j=e;break}l=k[b+(i<<2)>>2]|0;m=k[h+(i<<2)>>2]|0;if((l|0)!=(m|0)){n=8;break}}if((n|0)==8){n=0;if(l>>>0>m>>>0)j=e;else{n=9;break}}do{j=j+-1|0;if((j|0)<=-1){o=f;n=18;break a}p=k[h+(j<<2)>>2]|0;q=k[b+(j<<2)>>2]|0}while((p|0)==(q|0));if(p>>>0>q>>>0){o=f;n=18;break a}else n=15}else if(e>>>0>g>>>0)if(g>>>0>e>>>0){o=f;n=18;break a}else n=15;else n=9;while(0);if((n|0)==9){n=0;g=k[f>>2]|0;if(!g){s=f;t=f;n=10;break}else u=g}else if((n|0)==15){n=0;v=f+4|0;g=k[v>>2]|0;if(!g){w=f;n=17;break}else u=g}f=u}if((n|0)==10){k[c>>2]=t;x=s;y=t;break}else if((n|0)==17){k[c>>2]=w;x=v;y=w;break}else if((n|0)==18){k[c>>2]=o;z=c;A=o;B=o;n=20;break}}else{k[c>>2]=a+4;z=a+4|0;A=d;B=a+4|0;n=20}while(0);if((n|0)==20)if(!A){x=z;y=B}else{C=A;D=C+56|0;r=c;return D|0}A=EPa(72)|0;B=A+16|0;z=b;b=B+40|0;do{k[B>>2]=k[z>>2];B=B+4|0;z=z+4|0}while((B|0)<(b|0));k[A+56>>2]=0;k[A+60>>2]=0;k[A+64>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=y;k[x>>2]=A;y=k[k[a>>2]>>2]|0;if(!y)E=A;else{k[a>>2]=y;E=k[x>>2]|0}$c(k[a+4>>2]|0,E);k[a+8>>2]=(k[a+8>>2]|0)+1;C=A;D=C+56|0;r=c;return D|0}function sEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=k[a+8>>2]|0;e=k[a>>2]|0;if(((c-b|0)/44|0)>>>0<=((d-e|0)/44|0)>>>0){f=((k[a+4>>2]|0)-e|0)/44|0;g=((c-b|0)/44|0)>>>0>f>>>0?b+(f*44|0)|0:c;if((g|0)==(b|0))h=e;else{j=b;l=e;while(1){aEa(l,j)|0;j=j+44|0;m=l+44|0;if((j|0)==(g|0)){h=m;break}else l=m}}if(((c-b|0)/44|0)>>>0<=f>>>0){l=k[a+4>>2]|0;if((l|0)==(h|0))return;else n=l;do{k[a+4>>2]=n+-44;l=k[n+-4>>2]|0;if(l)QSa(l);l=k[n+-16>>2]|0;if(l)QSa(l);l=k[n+-32>>2]|0;if(l)QSa(l);n=k[a+4>>2]|0}while((n|0)!=(h|0));return}if((g|0)==(c|0))return;g=b+(f*44|0)|0;f=k[a+4>>2]|0;do{k[f>>2]=k[g>>2];i[f+4>>0]=i[g+4>>0]|0;k[f+8>>2]=k[g+8>>2];h=k[g+12>>2]|0;k[f+12>>2]=h;if(h)OSa(h);h=g+16|0;n=k[h+4>>2]|0;l=f+16|0;k[l>>2]=k[h>>2];k[l+4>>2]=n;k[f+24>>2]=k[g+24>>2];n=k[g+28>>2]|0;k[f+28>>2]=n;if(n)OSa(n);k[f+32>>2]=k[g+32>>2];k[f+36>>2]=k[g+36>>2];n=k[g+40>>2]|0;k[f+40>>2]=n;if(n)OSa(n);f=(k[a+4>>2]|0)+44|0;k[a+4>>2]=f;g=g+44|0}while((g|0)!=(c|0));return}if(!e)o=d;else{d=k[a+4>>2]|0;if((d|0)==(e|0))p=e;else{g=d;do{k[a+4>>2]=g+-44;d=k[g+-4>>2]|0;if(d)QSa(d);d=k[g+-16>>2]|0;if(d)QSa(d);d=k[g+-32>>2]|0;if(d)QSa(d);g=k[a+4>>2]|0}while((g|0)!=(e|0));p=k[a>>2]|0}GPa(p);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;o=0}if(((c-b|0)/44|0)>>>0>97612893){CPa(a);q=k[a+8>>2]|0;r=k[a>>2]|0}else{q=o;r=0}o=(q-r|0)/44|0;if(o>>>0<48806446){r=o<<1>>>0>=((c-b|0)/44|0)>>>0;if(r|((c-b|0)/44|0)>>>0>97612893^1)s=r?o<<1:(c-b|0)/44|0;else{CPa(a);s=(c-b|0)/44|0}}else s=97612893;o=EPa(s*44|0)|0;k[a+4>>2]=o;k[a>>2]=o;k[a+8>>2]=o+(s*44|0);if((b|0)==(c|0))return;s=b;b=o;do{k[b>>2]=k[s>>2];i[b+4>>0]=i[s+4>>0]|0;k[b+8>>2]=k[s+8>>2];o=k[s+12>>2]|0;k[b+12>>2]=o;if(o)OSa(o);o=s+16|0;r=k[o+4>>2]|0;q=b+16|0;k[q>>2]=k[o>>2];k[q+4>>2]=r;k[b+24>>2]=k[s+24>>2];r=k[s+28>>2]|0;k[b+28>>2]=r;if(r)OSa(r);k[b+32>>2]=k[s+32>>2];k[b+36>>2]=k[s+36>>2];r=k[s+40>>2]|0;k[b+40>>2]=r;if(r)OSa(r);b=(k[a+4>>2]|0)+44|0;k[a+4>>2]=b;s=s+44|0}while((s|0)!=(c|0));return}function tEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(!b)return;tEa(a,k[b>>2]|0);tEa(a,k[b+4>>2]|0);a=k[b+56>>2]|0;if(a){c=k[b+60>>2]|0;if((c|0)==(a|0))d=a;else{e=c;do{k[b+60>>2]=e+-44;c=k[e+-4>>2]|0;if(c)QSa(c);c=k[e+-16>>2]|0;if(c)QSa(c);c=k[e+-32>>2]|0;if(c)QSa(c);e=k[b+60>>2]|0}while((e|0)!=(a|0));d=k[b+56>>2]|0}GPa(d)}GPa(b);return}function uEa(a,b){a=a|0;b=b|0;if(!b)return;uEa(a,k[b>>2]|0);uEa(a,k[b+4>>2]|0);a=k[b+56>>2]|0;if(a)QSa(a);a=k[b+44>>2]|0;if(a)QSa(a);a=k[b+28>>2]|0;if(a)QSa(a);GPa(b);return}function vEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=r;r=r+48|0;if((k[b+16>>2]|0)==(a|0)){d=k[b+4>>2]|0;e=k[b+8>>2]|0;f=k[b+8+4>>2]|0;k[c+8>>2]=k[b>>2];k[c+8+4>>2]=d;GEa(a,c+8|0,c+34|0);k[c>>2]=e;k[c+4>>2]=f;GEa(a,c,c+33|0);r=c;return};k[c+16>>2]=k[b>>2];k[c+16+4>>2]=k[b+4>>2];k[c+16+8>>2]=k[b+8>>2];k[c+16+12>>2]=k[b+12>>2];HEa(a,c+16|0,c+32|0);f=k[b+16>>2]|0;if((i[a+12>>0]|0)!=0^(i[f+12>>0]|0)!=0){vq(a,a,f);r=c;return}else{uq(a,a,f);r=c;return}}function wEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=r;r=r+128|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;d=EPa(32)|0;k[a>>2]=d;k[a+8>>2]=d+32;e=d;f=e+32|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(f|0));k[a+4>>2]=d+32;e=c;a=b;f=e+40|0;do{k[e>>2]=k[a>>2];e=e+4|0;a=a+4|0}while((e|0)<(f|0));a=32;do{k[c+40>>2]=255;k[c+40+32>>2]=1;k[c+80>>2]=0;k[c+80+32>>2]=1;Jja(c+80|0,c,c+40|0);a=a+-1|0;i[d+a>>0]=k[c+80>>2];e=k[c+32>>2]|0;do if(!e){k[c+32>>2]=1;k[c>>2]=0}else{f=(((k[c+(e+-1<<2)>>2]|0)>>>0<256)<<31>>31)+e|0;if(!f){k[c+32>>2]=1;k[c>>2]=0;break}b=(k[c>>2]|0)>>>8;k[c>>2]=b;if(e>>>0>1){g=1;h=b;b=c;j=0;while(1){k[b>>2]=k[c+(g<<2)>>2]<<24|h;l=j+1|0;b=c+(l<<2)|0;h=(k[b>>2]|0)>>>8;k[b>>2]=h;if((l|0)==(e+-1|0))break;else{g=j+2|0;j=l}}}k[c+32>>2]=f>>>0>8?8:f}while(0)}while((a|0)!=0);r=c;return}function xEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=k[b>>2]|0;d=k[b+4>>2]|0;if((c|0)==(d|0))return a|0;b=c;do{c=k[a+4>>2]|0;if((c|0)==(k[a+8>>2]|0))Eda(a,b);else{k[c>>2]=k[b>>2];i[c+4>>0]=i[b+4>>0]|0;k[c+8>>2]=k[b+8>>2];e=k[b+12>>2]|0;k[c+12>>2]=e;if(e)OSa(e);e=b+16|0;f=k[e+4>>2]|0;k[c+16>>2]=k[e>>2];k[c+16+4>>2]=f;k[c+24>>2]=k[b+24>>2];f=k[b+28>>2]|0;k[c+28>>2]=f;if(f)OSa(f);k[c+32>>2]=k[b+32>>2];k[c+36>>2]=k[b+36>>2];f=k[b+40>>2]|0;k[c+40>>2]=f;if(f)OSa(f);k[a+4>>2]=(k[a+4>>2]|0)+44}b=b+44|0}while((b|0)!=(d|0));return a|0}function yEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=k[b>>2]|0;k[a>>2]=d;e=k[b+4>>2]|0;k[a+4>>2]=e;f=k[b+8>>2]|0;k[a+8>>2]=f;k[b+8>>2]=0;k[b+4>>2]=0;k[b>>2]=0;do if((b|0)==(c|0)){if((d|0)==(e|0))return;else{g=e;h=f;j=d}while(1){if(g>>>0>=h>>>0){w=0;ua(1032,a|0,j|0);l=w;w=0;if(l&1){m=8;break}}else{k[g>>2]=k[j>>2];i[g+4>>0]=i[j+4>>0]|0;l=j+8|0;k[g+8>>2]=k[l>>2];n=j+12|0;k[g+12>>2]=k[n>>2];k[l>>2]=0;k[n>>2]=0;k[g+16>>2]=k[j+16>>2];k[g+20>>2]=k[j+20>>2];n=j+24|0;k[g+24>>2]=k[n>>2];l=j+28|0;k[g+28>>2]=k[l>>2];k[n>>2]=0;k[l>>2]=0;k[g+32>>2]=k[j+32>>2];l=j+36|0;k[g+36>>2]=k[l>>2];n=j+40|0;k[g+40>>2]=k[n>>2];k[l>>2]=0;k[n>>2]=0;k[a+4>>2]=(k[a+4>>2]|0)+44}n=j+44|0;if((n|0)==(e|0)){m=28;break}g=k[a+4>>2]|0;h=k[a+8>>2]|0;j=n}if((m|0)==8){n=Ib()|0;o=n;p=L;break}else if((m|0)==28)return}else{n=k[c>>2]|0;l=k[c+4>>2]|0;if((n|0)==(l|0))return;else{q=e;r=f;s=n}while(1){if(q>>>0>=r>>>0){w=0;ua(1032,a|0,s|0);n=w;w=0;if(n&1){m=9;break}}else{k[q>>2]=k[s>>2];i[q+4>>0]=i[s+4>>0]|0;n=s+8|0;k[q+8>>2]=k[n>>2];t=s+12|0;k[q+12>>2]=k[t>>2];k[n>>2]=0;k[t>>2]=0;k[q+16>>2]=k[s+16>>2];k[q+20>>2]=k[s+20>>2];t=s+24|0;k[q+24>>2]=k[t>>2];n=s+28|0;k[q+28>>2]=k[n>>2];k[t>>2]=0;k[n>>2]=0;k[q+32>>2]=k[s+32>>2];n=s+36|0;k[q+36>>2]=k[n>>2];t=s+40|0;k[q+40>>2]=k[t>>2];k[n>>2]=0;k[t>>2]=0;k[a+4>>2]=(k[a+4>>2]|0)+44}t=s+44|0;if((t|0)==(l|0)){m=28;break}q=k[a+4>>2]|0;r=k[a+8>>2]|0;s=t}if((m|0)==9){l=Ib()|0;o=l;p=L;break}else if((m|0)==28)return}while(0);m=k[a>>2]|0;if(!m)Hb(o|0);p=k[a+4>>2]|0;if((p|0)==(m|0))u=m;else{s=p;do{k[a+4>>2]=s+-44;p=k[s+-4>>2]|0;if(p)QSa(p);p=k[s+-16>>2]|0;if(p)QSa(p);p=k[s+-32>>2]|0;if(p)QSa(p);s=k[a+4>>2]|0}while((s|0)!=(m|0));u=k[a>>2]|0}GPa(u);Hb(o|0)}function zEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;c=r;r=r+16|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[b>>2]|0;e=k[b+4>>2]|0;w=0;if(!(i[e+12>>0]|0)){Pya(c,d,e);b=w;w=0;if(b&1)f=4}else{Oya(c,d,e);e=w;w=0;if(e&1)f=4}if((f|0)==4){f=Ib()|0;if(i[c+13>>0]|0)Hb(f|0);GPa(k[c+4>>2]|0);Hb(f|0)}f=(i[a+12>>0]|0)!=0;e=j[c+12>>1]|0;if(f^(e&255)<<24>>24!=0)g=f?-1:1;else{d=k[a+8>>2]|0;b=k[c+8>>2]|0;a:do if((d|0)==(b|0)){h=(i[a+13>>0]|0)==0?k[a+4>>2]|0:a;l=((e&65535)>>>8&255)<<24>>24==0?k[c+4>>2]|0:c;m=d;do{m=m+-1|0;if((m|0)<=-1){n=0;break a}o=k[h+(m<<2)>>2]|0;p=k[l+(m<<2)>>2]|0}while((o|0)==(p|0));n=o>>>0>p>>>0?1:-1}else n=d>>>0>b>>>0?1:-1;while(0);g=f?0-n|0:n}n=(g|0)>0;if(((e&65535)>>>8&255)<<24>>24){r=c;return n|0}GPa(k[c+4>>2]|0);r=c;return n|0}function AEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=r;r=r+16|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[a+4>>2]|0;if((d|0)!=(c|0)){k[c+8>>2]=0;a=k[d+8>>2]|0;e=a>>>0>134217728?134217728:a;if(e>>>0>2){a=e>>>0>8?e:8;f=EPa(a<<2)|0;i[c+13>>0]=0;k[c+8>>2]=e;k[c>>2]=a;k[c+4>>2]=f;g=f}else{k[c+8>>2]=e;g=c}J0a(g|0,((i[d+13>>0]|0)==0?k[d+4>>2]|0:d)|0,k[d+8>>2]<<2|0)|0;i[c+12>>0]=i[d+12>>0]|0}i[c+12>>0]=0;w=0;d=Sa(693,c|0,b|0)|0;b=w;w=0;if(b&1){b=Ib()|0;if(i[c+13>>0]|0)Hb(b|0);GPa(k[c+4>>2]|0);Hb(b|0)}else{if(i[c+13>>0]|0){r=c;return d^1|0}GPa(k[c+4>>2]|0);r=c;return d^1|0}return 0}function BEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;d=r;r=r+48|0;if((a|0)==(b|0)){k[d>>2]=0;k[d+32>>2]=1;BEa(d,a,c,d+40|0);if((d|0)!=(a|0)){e=k[d+32>>2]|0;k[a+32>>2]=e;J0a(a|0,d|0,e<<2|0)|0}r=d;return}e=k[c>>2]|0;if(!(e&1)){k[a+32>>2]=1;k[a>>2]=1;f=b;g=e}else{k[a+32>>2]=k[b+32>>2];J0a(a|0,b|0,k[b+32>>2]<<2|0)|0;f=b;g=k[c>>2]|0}c=d;b=f;f=c+40|0;do{k[c>>2]=k[b>>2];c=c+4|0;b=b+4|0}while((c|0)<(f|0));b=g>>>1;if(b){g=b;do{rma(d,d,d);if(g&1)rma(a,a,d);g=g>>>1}while((g|0)!=0)}r=d;return}function CEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=k[a+8>>2]|0;d=k[a+4>>2]|0;if(((c-d|0)/40|0)>>>0>=b>>>0){e=b;f=d;while(1){k[f>>2]=0;k[f+32>>2]=1;e=e+-1|0;if(!e)break;else f=f+40|0}k[a+4>>2]=d+(b*40|0);return}f=k[a>>2]|0;if((((d-f|0)/40|0)+b|0)>>>0>107374182){CPa(a);g=k[a>>2]|0;h=k[a+8>>2]|0}else{g=f;h=c}c=g;e=(h-g|0)/40|0;if(e>>>0<53687091){h=e<<1>>>0<(((d-f|0)/40|0)+b|0)>>>0?((d-f|0)/40|0)+b|0:e<<1;e=k[a+4>>2]|0;f=(e-g|0)/40|0;if(!h){i=0;j=0;l=f;m=e}else{n=h;o=e;p=f;q=9}}else{f=k[a+4>>2]|0;n=107374182;o=f;p=(f-g|0)/40|0;q=9}if((q|0)==9){i=n;j=EPa(n*40|0)|0;l=p;m=o}o=j+(l*40|0)|0;l=j+(i*40|0)|0;i=b;j=o;while(1){k[j>>2]=0;k[j+32>>2]=1;i=i+-1|0;if(!i)break;else j=j+40|0}if((m|0)==(c|0)){r=o;s=g}else{g=m;m=o;j=o;while(1){g=g+-40|0;i=m+-40|0;p=g;n=i+40|0;do{k[i>>2]=k[p>>2];i=i+4|0;p=p+4|0}while((i|0)<(n|0));m=j+-40|0;t=m;if((g|0)==(c|0))break;else j=t}r=t;s=k[a>>2]|0}k[a>>2]=r;k[a+4>>2]=o+(b*40|0);k[a+8>>2]=l;if(!s)return;GPa(s);return}function DEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;c=k[a>>2]|0;d=(((k[a+4>>2]|0)-c|0)/40|0)+1|0;if(d>>>0>107374182){CPa(a);e=k[a>>2]|0}else e=c;c=e;f=((k[a+8>>2]|0)-e|0)/40|0;if(f>>>0<53687091){g=f<<1>>>0>>0?d:f<<1;f=k[a+4>>2]|0;d=(f-e|0)/40|0;if(!g){h=0;i=0;j=d;l=f}else{m=g;n=f;o=d;p=6}}else{d=k[a+4>>2]|0;m=107374182;n=d;o=(d-e|0)/40|0;p=6}if((p|0)==6){h=m;i=EPa(m*40|0)|0;j=o;l=n}n=i+(j*40|0)|0;j=i+(h*40|0)|0;h=n;i=b;b=h+40|0;do{k[h>>2]=k[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(b|0));if((l|0)==(c|0)){q=n;r=e}else{e=l;l=n;o=n;while(1){e=e+-40|0;h=l+-40|0;i=e;b=h+40|0;do{k[h>>2]=k[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(b|0));l=o+-40|0;s=l;if((e|0)==(c|0))break;else o=s}q=s;r=k[a>>2]|0}k[a>>2]=q;k[a+4>>2]=n+40;k[a+8>>2]=j;if(!r)return;GPa(r);return}function EEa(a,b,c){a=a|0;b=b|0;c=c|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;return}function FEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;c=r;r=r+16|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;d=k[b+32>>2]|0;e=d>>>0>134217728?134217728:d;if(e>>>0>2){f=e>>>0>8?e:8;g=EPa(f<<2)|0;k[g>>2]=k[c>>2];i[c+13>>0]=0;k[c+8>>2]=e;k[c>>2]=f;k[c+4>>2]=g;h=g}else{k[c+8>>2]=e;h=c}J0a(h|0,b|0,(d>>>0>134217728?536870912:d<<2)|0)|0;i[c+12>>0]=0;d=(i[c+13>>0]|0)==0;if(d)j=k[c+4>>2]|0;else j=c;b=k[c+8>>2]|0;a:do if(!(b+-1|0))l=b;else{h=b+-1|0;e=b;while(1){if(k[j+(h<<2)>>2]|0){l=e;break a}k[c+8>>2]=h;g=h+-1|0;if(!g){l=h;break}else{f=h;h=g;e=f}}}while(0);b:do if(!(i[a+12>>0]|0)){j=k[a+8>>2]|0;if((j|0)!=(l|0)){m=j>>>0>l>>>0?1:-1;break}j=(i[a+13>>0]|0)==0?k[a+4>>2]|0:a;b=d?k[c+4>>2]|0:c;e=l;do{e=e+-1|0;if((e|0)<=-1){m=0;break b}n=k[j+(e<<2)>>2]|0;o=k[b+(e<<2)>>2]|0}while((n|0)==(o|0));m=n>>>0>o>>>0?1:-1}else m=-1;while(0);o=(m|0)<0;if(!d){r=c;return o|0}GPa(k[c+4>>2]|0);r=c;return o|0}function GEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=r;r=r+32|0;k[c>>2]=0;k[c+8>>2]=1;i[c+12>>0]=0;i[c+13>>0]=1;k[c+16>>2]=k[k[b>>2]>>2];w=0;cb(294,c|0,k[b+4>>2]|0,c+16|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[c+13>>0]|0)Hb(b|0);GPa(k[c+4>>2]|0);Hb(b|0)}w=0;if((i[a+12>>0]|0)!=0^(i[c+12>>0]|0)!=0){vq(a,a,c);b=w;w=0;if(b&1)d=11;else d=8}else{uq(a,a,c);a=w;w=0;if(a&1)d=11;else d=8}if((d|0)==8){if(i[c+13>>0]|0){r=c;return}GPa(k[c+4>>2]|0);r=c;return}else if((d|0)==11){d=Ib()|0;if(i[c+13>>0]|0)Hb(d|0);GPa(k[c+4>>2]|0);Hb(d|0)}}function HEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=r;r=r+48|0;if((k[b+12>>2]|0)!=(a|0)){d=k[b+4>>2]|0;k[c+32>>2]=k[k[b>>2]>>2];iq(a,d,c+32|0);d=k[b+8+4>>2]|0;k[c+24>>2]=k[b+8>>2];k[c+24+4>>2]=d;GEa(a,c+24|0,c+37|0);r=c;return}if((k[b+4>>2]|0)!=(a|0)){k[c+32>>2]=k[k[b+8>>2]>>2];iq(a,a,c+32|0);d=k[b+4>>2]|0;k[c>>2]=k[b>>2];k[c+4>>2]=d;GEa(a,c,c+36|0);r=c;return}k[c+8>>2]=0;k[c+8+8>>2]=1;i[c+8+12>>0]=0;i[c+8+13>>0]=1;w=0;cb(450,c+8|0,b|0,c+32|0);b=w;w=0;if(b&1){b=Ib()|0;if(i[c+8+13>>0]|0)Hb(b|0);GPa(k[c+8+4>>2]|0);Hb(b|0)}else{b=k[c+8>>2]|0;d=k[c+8+4>>2]|0;e=k[a+4>>2]|0;k[c+8>>2]=k[a>>2];k[c+8+4>>2]=e;k[a>>2]=b;k[a+4>>2]=d;d=j[c+8+12>>1]|0;i[c+8+12>>0]=i[a+12>>0]|0;i[a+12>>0]=d;b=i[a+13>>0]|0;i[c+8+13>>0]=b;i[a+13>>0]=(d&65535)>>>8;d=k[c+8+8>>2]|0;k[c+8+8>>2]=k[a+8>>2];k[a+8>>2]=d;if(!(b<<24>>24))GPa(e);r=c;return}}function IEa(a,b){a=a|0;b=b|0;nEa(a,b,b+28|0);return}function JEa(a,b,c){a=a|0;b=b|0;c=c|0;Wda(a,b+28|0);return}function KEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;e=a+4|0;return e|0}a=d;a:while(1){d=a+16|0;f=k[c>>2]|0;g=k[d>>2]|0;b:do if((f|0)==(g|0)){if((f|0)==1){h=cja(c)|0;if((h&255)<((cja(d)|0)&255)){i=13;break}else{i=15;break}}h=ih(c)|0;j=ih(d)|0;l=k[h+32>>2]|0;m=k[j+32>>2]|0;if((l|0)!=(m|0))if(l>>>0>m>>>0){i=15;break}else{i=13;break}m=l;do{m=m+-1|0;if((m|0)<=-1){i=15;break b}n=k[h+(m<<2)>>2]|0;o=k[j+(m<<2)>>2]|0}while((n|0)==(o|0));if(n>>>0>o>>>0)i=15;else i=13}else if((f|0)<(g|0))i=13;else i=15;while(0);if((i|0)==13){i=0;g=k[a>>2]|0;if(!g){p=a;q=a;i=14;break}else r=g}else if((i|0)==15){i=0;g=k[d>>2]|0;f=k[c>>2]|0;do if((g|0)==(f|0)){if((g|0)==1){m=cja(d)|0;if((m&255)<((cja(c)|0)&255))break;else{s=a;i=28;break a}}m=ih(d)|0;j=ih(c)|0;h=k[m+32>>2]|0;l=k[j+32>>2]|0;if((h|0)!=(l|0))if(h>>>0>l>>>0){s=a;i=28;break a}else break;l=h;do{l=l+-1|0;if((l|0)<=-1){s=a;i=28;break a}t=k[m+(l<<2)>>2]|0;u=k[j+(l<<2)>>2]|0}while((t|0)==(u|0));if(t>>>0>u>>>0){s=a;i=28;break a}}else if((g|0)>=(f|0)){s=a;i=28;break a}while(0);v=a+4|0;f=k[v>>2]|0;if(!f){w=a;i=27;break}else r=f}a=r}if((i|0)==14){k[b>>2]=q;e=p;return e|0}else if((i|0)==27){k[b>>2]=w;e=v;return e|0}else if((i|0)==28){k[b>>2]=s;e=b;return e|0}return 0}function LEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;b=r;r=r+256|0;k[b+40>>2]=4;k[b+40+32>>2]=1;xd(b+40|0);k[b+196>>2]=4;k[b+196+8>>2]=0;k[b+196+12>>2]=0;k[b+196+16>>2]=-1;k[b+196+16+4>>2]=-1;c=b+196+24|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;w=0;c=ya(665,56)|0;d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d;Hb(f|0)}k[c+4>>2]=0;k[c+8>>2]=0;k[c>>2]=15180;d=c+16|0;g=b+40|0;h=d+40|0;do{k[d>>2]=k[g>>2];d=d+4|0;g=g+4|0}while((d|0)<(h|0));k[b+196+8>>2]=c+16;k[b+196+12>>2]=c;c=k[a+12>>2]|0;g=k[c>>2]|0;d=k[c+4>>2]|0;w=0;ua(964,b+152|0,b+196|0);c=w;w=0;a:do if(!(c&1)){do if((g|0)!=(d|0)){h=k[b+152>>2]|0;i=g;j=0;b:while(1){c:do if((k[i>>2]|0)==(h|0)){w=0;if((h|0)==1){l=cja(i)|0;m=w;w=0;if(m&1){n=50;break b}w=0;m=ya(739,b+152|0)|0;o=w;w=0;if(o&1){n=50;break b}p=l<<24>>24==m<<24>>24;break}m=ih(i)|0;l=w;w=0;if(l&1){n=50;break b}w=0;l=ya(682,b+152|0)|0;o=w;w=0;if(o&1){n=50;break b}o=k[m+32>>2]|0;if((o|0)==(k[l+32>>2]|0))if((m|0)==(m+(o<<2)|0))p=1;else{q=m;s=l;while(1){if((k[q>>2]|0)!=(k[s>>2]|0)){p=0;break c}q=q+4|0;if((q|0)==(m+(o<<2)|0)){p=1;break}else s=s+4|0}}else p=0}else p=0;while(0);t=(p&1)+j|0;i=i+44|0;if((i|0)==(d|0)){n=18;break}else j=t}if((n|0)==18)if(!t){n=19;break}else{u=1;n=41;break}else if((n|0)==50){j=Ib()|0;v=j;x=L;n=52;break}}else n=19;while(0);d:do if((n|0)==19){j=k[a+12>>2]|0;i=k[j>>2]|0;h=k[j+4>>2]|0;w=0;ua(965,b+104|0,b+196|0);j=w;w=0;if(j&1){j=Ib()|0;v=j;x=L;n=52;break}e:do if((i|0)==(h|0))y=0;else{j=k[b+104>>2]|0;s=i;o=0;f:while(1){g:do if((k[s>>2]|0)==(j|0)){w=0;if((j|0)==1){m=cja(s)|0;q=w;w=0;if(q&1)break f;w=0;q=ya(739,b+104|0)|0;l=w;w=0;if(l&1)break f;z=m<<24>>24==q<<24>>24;break}q=ih(s)|0;m=w;w=0;if(m&1)break f;w=0;m=ya(682,b+104|0)|0;l=w;w=0;if(l&1)break f;l=k[q+32>>2]|0;if((l|0)==(k[m+32>>2]|0))if((q|0)==(q+(l<<2)|0))z=1;else{A=q;B=m;while(1){if((k[A>>2]|0)!=(k[B>>2]|0)){z=0;break g}A=A+4|0;if((A|0)==(q+(l<<2)|0)){z=1;break}else B=B+4|0}}else z=0}else z=0;while(0);B=(z&1)+o|0;s=s+44|0;if((s|0)==(h|0)){y=B;break e}else o=B}o=Ib()|0;s=L;j=k[b+104+40>>2]|0;if(j)QSa(j);j=k[b+104+28>>2]|0;if(j)QSa(j);j=k[b+104+12>>2]|0;if(!j){C=s;D=o;break d}QSa(j);C=s;D=o;break d}while(0);h=(y|0)!=0;i=k[b+104+40>>2]|0;if(i)QSa(i);i=k[b+104+28>>2]|0;if(i)QSa(i);i=k[b+104+12>>2]|0;if(!i){u=h;n=41}else{QSa(i);u=h;n=41}}while(0);if((n|0)==41){h=k[b+152+40>>2]|0;if(h)QSa(h);h=k[b+152+28>>2]|0;if(h)QSa(h);h=k[b+152+12>>2]|0;if(h)QSa(h);do if(u)E=0;else{k[b+80+16>>2]=b+80;k[b+80>>2]=42160;k[b+80+4>>2]=b+196;k[b+80+8>>2]=a;h=0;h:while(1){w=0;ua(1114,b|0,b+80|0);i=w;w=0;if(i&1){n=69;break}k[b+148>>2]=0;i=k[a+12>>2]|0;o=k[i>>2]|0;if((k[i+4>>2]|0)==(o|0))F=i;else{i=o;o=0;while(1){do if((k[i+(o*44|0)>>2]|0)==8){w=0;s=Sa(694,b|0,b+148|0)|0;j=w;w=0;if(j&1){n=71;break h}if((s|0)==(b+4|0)){w=0;j=Ea(115,b|0,b+240|0,b+148|0)|0;B=w;w=0;if(B&1){n=71;break h}if(!(k[j>>2]|0)){w=0;B=ya(665,20)|0;l=w;w=0;if(l&1){n=71;break h}k[B+16>>2]=o;l=k[b+240>>2]|0;k[B>>2]=0;k[B+4>>2]=0;k[B+8>>2]=l;k[j>>2]=B;l=k[k[b>>2]>>2]|0;if(!l)G=B;else{k[b>>2]=l;G=k[j>>2]|0}$c(k[b+4>>2]|0,G);k[b+8>>2]=(k[b+8>>2]|0)+1}break}j=k[a+12>>2]|0;l=k[j>>2]|0;if((((k[j+4>>2]|0)-l|0)/44|0)>>>0>o>>>0)H=l;else{w=0;sa(1642,j|0);l=w;w=0;if(l&1){n=71;break h}H=k[j>>2]|0}w=0;j=ya(682,H+(o*44|0)|0)|0;l=w;w=0;if(l&1){n=71;break h}w=0;l=Sa(695,a|0,j|0)|0;j=w;w=0;if(j&1){n=71;break h}j=k[a+12>>2]|0;B=k[s+16>>2]|0;s=k[j>>2]|0;if((((k[j+4>>2]|0)-s|0)/44|0)>>>0>B>>>0)I=s;else{w=0;sa(1642,j|0);s=w;w=0;if(s&1){n=71;break h}I=k[j>>2]|0}w=0;j=ya(682,I+(B*44|0)|0)|0;B=w;w=0;if(B&1){n=71;break h}if((l|0)==(j|0))break;k[l+32>>2]=k[j+32>>2];J0a(l|0,j|0,k[j+32>>2]<<2|0)|0}while(0);o=o+1|0;k[b+148>>2]=o;j=k[a+12>>2]|0;i=k[j>>2]|0;if(o>>>0>=(((k[j+4>>2]|0)-i|0)/44|0)>>>0){F=j;break}}}w=0;i=Ea(113,F|0,a|0,-1)|0;o=w;w=0;if(o&1){n=72;break}PEa(b,k[b+4>>2]|0);o=k[b+32>>2]|0;if((o|0)!=(b+16|0)){if(o)kc[k[(k[o>>2]|0)+20>>2]&2047](o)}else kc[k[(k[b+16>>2]|0)+16>>2]&2047](b+16|0);if(!i){J=h;n=106;break}h=h+1|0}if((n|0)==69){h=Ib()|0;K=L;M=h}else if((n|0)==71){h=Ib()|0;N=h;O=L;n=73}else if((n|0)==72){h=Ib()|0;N=h;O=L;n=73}else if((n|0)==106){h=k[b+80+16>>2]|0;if((h|0)!=(b+80|0)){if(h)kc[k[(k[h>>2]|0)+20>>2]&2047](h)}else kc[k[(k[b+80>>2]|0)+16>>2]&2047](b+80|0);E=(J|0)!=0;break}do if((n|0)==73){PEa(b,k[b+4>>2]|0);h=k[b+32>>2]|0;if((h|0)==(b+16|0)){kc[k[(k[b+16>>2]|0)+16>>2]&2047](b+16|0);K=O;M=N;break}if(!h){K=O;M=N}else{kc[k[(k[h>>2]|0)+20>>2]&2047](h);K=O;M=N}}while(0);h=k[b+80+16>>2]|0;if((h|0)==(b+80|0)){kc[k[(k[h>>2]|0)+16>>2]&2047](h);P=K;Q=M;break a}if(!h){P=K;Q=M;break a}kc[k[(k[h>>2]|0)+20>>2]&2047](h);P=K;Q=M;break a}while(0);h=k[b+196+40>>2]|0;if(h)QSa(h);h=k[b+196+28>>2]|0;if(h)QSa(h);h=k[b+196+12>>2]|0;if(!h){r=b;return E|0}QSa(h);r=b;return E|0}else if((n|0)==52){C=x;D=v}h=k[b+152+40>>2]|0;if(h)QSa(h);h=k[b+152+28>>2]|0;if(h)QSa(h);h=k[b+152+12>>2]|0;if(!h){P=C;Q=D}else{QSa(h);P=C;Q=D}}else{h=Ib()|0;P=L;Q=h}while(0);D=k[b+196+40>>2]|0;if(D)QSa(D);D=k[b+196+28>>2]|0;if(D)QSa(D);D=k[b+196+12>>2]|0;if(!D){e=P;f=Q;Hb(f|0)}QSa(D);e=P;f=Q;Hb(f|0);return 0}function MEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;d=r;r=r+48|0;e=k[a>>2]|0;f=k[a+4>>2]|0;if((e|0)==(f|0)){g=0;r=d;return g|0}a=e;e=0;while(1){a:do if(((k[a>>2]|0)==4?(WCa(d+40|0,a),(k[d+40>>2]|0)==(c|0)):0)?(k[d>>2]=k[d+40+4>>2],k[d+32>>2]=1,h=k[b+4>>2]|0,(h|0)!=0):0){i=b+4|0;j=h;b:while(1){h=j;c:while(1){l=k[h+48>>2]|0;if((l|0)==1){m=h+16|0;n=1;do{if((n|0)<=0){o=h;break c}n=n+-1|0;p=k[m+(n<<2)>>2]|0;q=k[d+(n<<2)>>2]|0}while((p|0)==(q|0));if(p>>>0>q>>>0){o=h;break}}else if(l>>>0>1){o=h;break}h=k[h+4>>2]|0;if(!h){s=i;break b}}j=k[o>>2]|0;if(!j){s=o;break}else i=o}if((s|0)!=(b+4|0)){d:do switch(k[s+48>>2]|0){case 1:{i=s+16|0;j=1;do{if((j|0)<=0)break d;j=j+-1|0;t=k[d+(j<<2)>>2]|0;u=k[i+(j<<2)>>2]|0}while((t|0)==(u|0));if(t>>>0<=u>>>0){v=e;break a}break}case 0:break;default:{v=e;break a}}while(0);VCa(a,c,k[s+56>>2]|0);v=1}else v=e}else v=e;while(0);a=a+44|0;if((a|0)==(f|0)){g=v;break}else e=v}r=d;return g|0}function NEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a+8>>2]|0;a:do if(((b|0)!=0?(k[a+12>>2]|0)!=0:0)?(c=k[a>>2]|0,d=k[c>>2]|0,(d|0)==(k[b>>2]|0)):0){if((d|0)==1){d=cja(c)|0;if(d<<24>>24==(cja(b)|0)<<24>>24)e=a+12|0;else break;f=k[e>>2]|0;return f|0}d=ih(c)|0;c=ih(b)|0;g=k[d+32>>2]|0;if((g|0)==(k[c+32>>2]|0)){if((d|0)==(d+(g<<2)|0)){e=a+12|0;f=k[e>>2]|0;return f|0}h=d;i=c;while(1){if((k[h>>2]|0)!=(k[i>>2]|0))break a;h=h+4|0;if((h|0)==(d+(g<<2)|0)){e=a+12|0;break}else i=i+4|0}f=k[e>>2]|0;return f|0}}while(0);e=a;f=k[e>>2]|0;return f|0}function OEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;c=r;r=r+48|0;k[a+4>>2]=0;d=k[b+16>>2]|0;a:do if(d){if((d|0)==(b|0)){k[c+16>>2]=c;lc[k[(k[d>>2]|0)+12>>2]&2047](d,c);e=c+16|0;f=k[c+16>>2]|0}else{g=nc[k[(k[d>>2]|0)+8>>2]&1023](d)|0;k[c+16>>2]=g;e=c+16|0;f=g}if(f){do if((f|0)==(c|0)){k[c+24+16>>2]=c+24;w=0;ua(k[(k[c>>2]|0)+12>>2]|0,c|0,c+24|0);g=w;w=0;if(!(g&1)){g=k[c+24+16>>2]|0;k[a+8>>2]=0;if(!g){h=e;i=c+24|0;j=13;break a}else{l=c+24|0;m=c+24+16|0;n=g;break}}else{g=Ib(0)|0;Zc(g)}}else{k[c+24+16>>2]=f;k[e>>2]=0;k[a+8>>2]=0;l=c+24|0;m=c+24+16|0;n=f}while(0);if((n|0)!=(l|0)){k[a+32>>2]=n;k[m>>2]=0;o=c;p=e;q=c+24|0;break}k[a+32>>2]=a+16;w=0;ua(k[(k[c+24>>2]|0)+12>>2]|0,l|0,a+16|0);g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}g=k[m>>2]|0;if((g|0)==(l|0)){kc[k[(k[c+24>>2]|0)+16>>2]&2047](l);o=c;p=e;q=c+24|0;break}if(!g){o=c;p=e;q=c+24|0}else{kc[k[(k[g>>2]|0)+20>>2]&2047](g);o=c;p=e;q=c+24|0}}else{s=e;t=c+24|0;j=7}}else{k[c+16>>2]=0;s=c+16|0;t=c+24|0;j=7}while(0);if((j|0)==7){k[c+24+16>>2]=0;k[a+8>>2]=0;h=s;i=t;j=13}if((j|0)==13){k[a+32>>2]=0;o=c;p=h;q=i}i=k[p>>2]|0;if((i|0)==(o|0)){kc[k[(k[o>>2]|0)+16>>2]&2047](o);u=a+4|0;k[a>>2]=u;r=c;return}if(!i){u=a+4|0;k[a>>2]=u;r=c;return}kc[k[(k[i>>2]|0)+20>>2]&2047](i);u=a+4|0;k[a>>2]=u;r=c;return}function PEa(a,b){a=a|0;b=b|0;if(!b)return;else{PEa(a,k[b>>2]|0);PEa(a,k[b+4>>2]|0);GPa(b);return}}function QEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=r;r=r+16|0;d=k[a+4>>2]|0;if(d){e=a+4|0;f=d;a:while(1){d=f;while(1){g=k[b>>2]|0;k[c+4>>2]=k[d+16>>2];k[c>>2]=g;g=k[a+32>>2]|0;if(!g){h=5;break a}if(!(qc[k[(k[g>>2]|0)+24>>2]&255](g,c+4|0,c)|0)){i=d;break}d=k[d+4>>2]|0;if(!d){j=e;break a}}f=k[i>>2]|0;if(!f){j=i;break}else e=i}if((h|0)==5){h=vb(4)|0;k[h>>2]=14116;Xb(h|0,360,85)}if((j|0)!=(a+4|0)){h=k[j+16>>2]|0;k[c+4>>2]=k[b>>2];k[c>>2]=h;h=k[a+32>>2]|0;if(!h){b=vb(4)|0;k[b>>2]=14116;Xb(b|0,360,85)}if(!(qc[k[(k[h>>2]|0)+24>>2]&255](h,c+4|0,c)|0)){l=j;r=c;return l|0}}}l=a+4|0;r=c;return l|0}function REa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;d=r;r=r+16|0;e=k[a+4>>2]|0;if(!e){k[b>>2]=a+4;f=a+4|0;r=d;return f|0}g=k[e+16>>2]|0;k[d+4>>2]=k[c>>2];k[d>>2]=g;g=k[a+32>>2]|0;if(!g){h=vb(4)|0;k[h>>2]=14116;Xb(h|0,360,85)}i=g;g=e+16|0;j=e;while(1){if(qc[k[(k[i>>2]|0)+24>>2]&255](i,d+4|0,d)|0){e=k[j>>2]|0;if(!e){l=j;m=j;n=7;break}else o=e}else{e=k[c>>2]|0;k[d+4>>2]=k[g>>2];k[d>>2]=e;e=k[a+32>>2]|0;if(!e){n=9;break}if(!(qc[k[(k[e>>2]|0)+24>>2]&255](e,d+4|0,d)|0)){p=j;n=14;break}q=j+4|0;e=k[q>>2]|0;if(!e){s=j;n=13;break}else o=e}g=o+16|0;e=k[g>>2]|0;k[d+4>>2]=k[c>>2];k[d>>2]=e;i=k[a+32>>2]|0;if(!i){n=4;break}else j=o}if((n|0)==4){h=vb(4)|0;k[h>>2]=14116;Xb(h|0,360,85)}else if((n|0)==7){k[b>>2]=m;f=l;r=d;return f|0}else if((n|0)==9){l=vb(4)|0;k[l>>2]=14116;Xb(l|0,360,85)}else if((n|0)==13){k[b>>2]=s;f=q;r=d;return f|0}else if((n|0)==14){k[b>>2]=p;f=b;r=d;return f|0}return 0}function SEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=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;c=r;r=r+16|0;d=k[a+4>>2]|0;do if(d){e=k[b+32>>2]|0;f=d;a:while(1){g=k[f+48>>2]|0;do if((e|0)==(g|0)){h=f+16|0;i=e;while(1){i=i+-1|0;if((i|0)<=-1){j=e;break}l=k[b+(i<<2)>>2]|0;m=k[h+(i<<2)>>2]|0;if((l|0)!=(m|0)){n=8;break}}if((n|0)==8){n=0;if(l>>>0>m>>>0)j=e;else{n=9;break}}do{j=j+-1|0;if((j|0)<=-1){o=f;n=18;break a}p=k[h+(j<<2)>>2]|0;q=k[b+(j<<2)>>2]|0}while((p|0)==(q|0));if(p>>>0>q>>>0){o=f;n=18;break a}else n=15}else if(e>>>0>g>>>0)if(g>>>0>e>>>0){o=f;n=18;break a}else n=15;else n=9;while(0);if((n|0)==9){n=0;g=k[f>>2]|0;if(!g){s=f;t=f;n=10;break}else u=g}else if((n|0)==15){n=0;v=f+4|0;g=k[v>>2]|0;if(!g){w=f;n=17;break}else u=g}f=u}if((n|0)==10){k[c>>2]=t;x=s;y=t;break}else if((n|0)==17){k[c>>2]=w;x=v;y=w;break}else if((n|0)==18){k[c>>2]=o;z=c;A=o;B=o;n=20;break}}else{k[c>>2]=a+4;z=a+4|0;A=d;B=a+4|0;n=20}while(0);if((n|0)==20)if(!A){x=z;y=B}else{C=A;D=C+56|0;r=c;return D|0}A=EPa(96)|0;B=A+16|0;z=b;b=B+40|0;do{k[B>>2]=k[z>>2];B=B+4|0;z=z+4|0}while((B|0)<(b|0));k[A+56>>2]=0;k[A+88>>2]=1;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=y;k[x>>2]=A;y=k[k[a>>2]>>2]|0;if(!y)E=A;else{k[a>>2]=y;E=k[x>>2]|0}$c(k[a+4>>2]|0,E);k[a+8>>2]=(k[a+8>>2]|0)+1;C=A;D=C+56|0;r=c;return D|0}function TEa(a){a=a|0;return}function UEa(a){a=a|0;GPa(a);return}function VEa(a){a=a|0;var b=0,c=0;b=EPa(12)|0;k[b>>2]=42160;c=k[a+4+4>>2]|0;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=c;return b|0}function WEa(a,b){a=a|0;b=b|0;var c=0;k[b>>2]=42160;c=k[a+4+4>>2]|0;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=c;return}function XEa(a){a=a|0;return}function YEa(a){a=a|0;GPa(a);return}function ZEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=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;d=r;r=r+368|0;e=k[b>>2]|0;b=k[c>>2]|0;if((e|0)==(b|0)){f=0;r=d;return f|0}c=k[a+8>>2]|0;g=k[a+4>>2]|0;k[d+200>>2]=k[g>>2];i[d+200+4>>0]=i[g+4>>0]|0;k[d+200+8>>2]=k[g+8>>2];h=d+200+12|0;j=k[g+12>>2]|0;k[h>>2]=j;if(j)OSa(j);j=k[g+16+4>>2]|0;k[d+200+16>>2]=k[g+16>>2];k[d+200+16+4>>2]=j;k[d+200+24>>2]=k[g+24>>2];j=d+200+28|0;l=k[g+28>>2]|0;k[j>>2]=l;if(l)OSa(l);k[d+200+32>>2]=k[g+32>>2];k[d+200+36>>2]=k[g+36>>2];l=d+200+40|0;m=k[g+40>>2]|0;k[l>>2]=m;if(m)OSa(m);m=k[a+4>>2]|0;k[d+156>>2]=k[m>>2];i[d+156+4>>0]=i[m+4>>0]|0;k[d+156+8>>2]=k[m+8>>2];g=d+156+12|0;n=k[m+12>>2]|0;k[g>>2]=n;if(n)OSa(n);n=k[m+16+4>>2]|0;k[d+156+16>>2]=k[m+16>>2];k[d+156+16+4>>2]=n;k[d+156+24>>2]=k[m+24>>2];n=d+156+28|0;o=k[m+28>>2]|0;k[n>>2]=o;if(o)OSa(o);k[d+156+32>>2]=k[m+32>>2];k[d+156+36>>2]=k[m+36>>2];o=d+156+40|0;p=k[m+40>>2]|0;k[o>>2]=p;if(p)OSa(p);p=k[c+12>>2]|0;m=k[p+4>>2]|0;q=k[p>>2]|0;if(((m-q|0)/44|0)>>>0>e>>>0?(k[q+(e*44|0)>>2]|0)==8:0){w=0;ua(965,d+112|0,q+(e*44|0)|0);s=w;w=0;if(!(s&1)){k[d+200>>2]=k[d+112>>2];i[d+200+4>>0]=i[d+112+4>>0]|0;s=k[d+112+8>>2]|0;t=k[d+112+12>>2]|0;k[d+112+8>>2]=0;k[d+112+12>>2]=0;k[d+200+8>>2]=s;s=k[h>>2]|0;k[h>>2]=t;if(s)QSa(s);k[d+200+16>>2]=k[d+112+16>>2];k[d+200+20>>2]=k[d+112+20>>2];s=k[d+112+24>>2]|0;t=k[d+112+28>>2]|0;k[d+112+24>>2]=0;k[d+112+28>>2]=0;k[d+200+24>>2]=s;s=k[j>>2]|0;k[j>>2]=t;if(s)QSa(s);k[d+200+32>>2]=k[d+112+32>>2];s=k[d+112+36>>2]|0;t=k[d+112+40>>2]|0;k[d+112+36>>2]=0;k[d+112+40>>2]=0;k[d+200+36>>2]=s;s=k[l>>2]|0;k[l>>2]=t;if(s)QSa(s);s=k[c+12>>2]|0;u=k[s>>2]|0;v=k[s+4>>2]|0;x=s;y=37}}else{u=q;v=m;x=p;y=37}a:do if((y|0)==37){if(((v-u|0)/44|0)>>>0>b>>>0?(p=u,(k[p+(b*44|0)>>2]|0)==8):0){w=0;ua(965,d+68|0,p+(b*44|0)|0);p=w;w=0;if(p&1)break;k[d+156>>2]=k[d+68>>2];i[d+156+4>>0]=i[d+68+4>>0]|0;p=k[d+68+8>>2]|0;m=k[d+68+12>>2]|0;k[d+68+8>>2]=0;k[d+68+12>>2]=0;k[d+156+8>>2]=p;p=k[g>>2]|0;k[g>>2]=m;if(p)QSa(p);k[d+156+16>>2]=k[d+68+16>>2];k[d+156+20>>2]=k[d+68+20>>2];p=k[d+68+24>>2]|0;m=k[d+68+28>>2]|0;k[d+68+24>>2]=0;k[d+68+28>>2]=0;k[d+156+24>>2]=p;p=k[n>>2]|0;k[n>>2]=m;if(p)QSa(p);k[d+156+32>>2]=k[d+68+32>>2];p=k[d+68+36>>2]|0;m=k[d+68+40>>2]|0;k[d+68+36>>2]=0;k[d+68+40>>2]=0;k[d+156+36>>2]=p;p=k[o>>2]|0;k[o>>2]=m;if(p)QSa(p);p=k[c+12>>2]|0;z=p;A=k[p+4>>2]|0}else{z=x;A=v}p=k[z>>2]|0;m=k[a+4>>2]|0;q=A;if((p+(e*44|0)|0)!=(q|0)){b:do if((m|0)!=0?(s=k[p+(e*44|0)>>2]|0,(s|0)==(k[d+200>>2]|0)):0){w=0;if((s|0)==1){s=cja(p+(e*44|0)|0)|0;t=w;w=0;if(t&1)break a;w=0;t=ya(739,d+200|0)|0;B=w;w=0;if(B&1)break a;if(s<<24>>24==t<<24>>24){C=m;break}else{y=61;break}}t=ih(p+(e*44|0)|0)|0;s=w;w=0;if(s&1)break a;w=0;s=ya(682,d+200|0)|0;B=w;w=0;if(B&1)break a;B=k[t+32>>2]|0;if((B|0)==(k[s+32>>2]|0))if((t|0)==(t+(B<<2)|0))C=m;else{D=t;E=s;while(1){if((k[D>>2]|0)!=(k[E>>2]|0)){y=61;break b}D=D+4|0;if((D|0)==(t+(B<<2)|0)){C=m;break}else E=E+4|0}}else y=61}else y=61;while(0);if((y|0)==61)C=p+(e*44|0)|0;if((k[C>>2]|0)==8){w=0;E=ya(740,p+(e*44|0)|0)|0;B=w;w=0;if(B&1)break;if(E){k[d+280>>2]=1;i[d+280+4>>0]=87;k[d+280+8>>2]=0;k[d+280+12>>2]=0;k[d+280+16>>2]=-1;k[d+280+16+4>>2]=-1;E=d+280+24|0;k[E>>2]=0;k[E+4>>2]=0;k[E+8>>2]=0;k[E+12>>2]=0;k[E+16>>2]=0;if((k[p+(e*44|0)>>2]|0)==1){w=0;E=ya(739,p+(e*44|0)|0)|0;B=w;w=0;if(B&1)break;w=0;B=ya(739,d+280|0)|0;t=w;w=0;if(t&1)break;if(E<<24>>24==B<<24>>24){F=p+(e*44|0)|0;y=69}else G=A}else G=A}else{F=p+(e*44|0)|0;y=69}if((y|0)==69){while(1){y=0;B=F+44|0;if((B|0)==(q|0)){H=q;break}if((k[B>>2]|0)==8){F=B;y=69}else{H=B;break}}G=H}I=G}else I=p+(e*44|0)|0}else I=p+(e*44|0)|0;if((p+(b*44|0)|0)!=(q|0)){c:do if((m|0)!=0?(B=k[p+(b*44|0)>>2]|0,(B|0)==(k[d+156>>2]|0)):0){w=0;if((B|0)==1){B=cja(p+(b*44|0)|0)|0;E=w;w=0;if(E&1)break a;w=0;E=ya(739,d+156|0)|0;t=w;w=0;if(t&1)break a;if(B<<24>>24==E<<24>>24){J=m;break}else{y=87;break}}E=ih(p+(b*44|0)|0)|0;B=w;w=0;if(B&1)break a;w=0;B=ya(682,d+156|0)|0;t=w;w=0;if(t&1)break a;t=k[E+32>>2]|0;if((t|0)==(k[B+32>>2]|0)){if((E|0)==(E+(t<<2)|0)){J=m;break}D=E;s=B;while(1){if((k[D>>2]|0)!=(k[s>>2]|0)){y=87;break c}D=D+4|0;if((D|0)==(E+(t<<2)|0)){J=m;break}else s=s+4|0}}else y=87}else y=87;while(0);if((y|0)==87)J=p+(b*44|0)|0;if((k[J>>2]|0)==8){w=0;s=ya(740,p+(b*44|0)|0)|0;t=w;w=0;if(t&1)break;if(s){k[d+324>>2]=1;i[d+324+4>>0]=87;k[d+324+8>>2]=0;k[d+324+12>>2]=0;k[d+324+16>>2]=-1;k[d+324+16+4>>2]=-1;s=d+324+24|0;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;k[s+12>>2]=0;k[s+16>>2]=0;if((k[p+(b*44|0)>>2]|0)==1){w=0;s=ya(739,p+(b*44|0)|0)|0;t=w;w=0;if(t&1)break;w=0;t=ya(739,d+324|0)|0;E=w;w=0;if(E&1)break;if(s<<24>>24==t<<24>>24){K=p+(b*44|0)|0;y=95}else L=A}else L=A}else{K=p+(b*44|0)|0;y=95}if((y|0)==95){while(1){y=0;t=K+44|0;if((t|0)==(q|0)){M=q;break}if((k[t>>2]|0)==8){K=t;y=95}else{M=t;break}}L=M}N=L}else N=p+(b*44|0)|0}else N=p+(b*44|0)|0;k[d+48>>2]=A;k[d+48+4>>2]=A;k[d+48+8>>2]=0;k[d+48+12>>2]=0;k[d+32>>2]=N;k[d+32+4>>2]=A;k[d+32+8>>2]=d+156;k[d+32+12>>2]=m;k[d+16>>2]=A;k[d+16+4>>2]=A;k[d+16+8>>2]=0;k[d+16+12>>2]=0;k[d>>2]=I;k[d+4>>2]=A;k[d+8>>2]=d+200;k[d+12>>2]=m;w=0;k[d+248>>2]=k[d>>2];k[d+248+4>>2]=k[d+4>>2];k[d+248+8>>2]=k[d+8>>2];k[d+248+12>>2]=k[d+12>>2];k[d+264>>2]=k[d+16>>2];k[d+264+4>>2]=k[d+16+4>>2];k[d+264+8>>2]=k[d+16+8>>2];k[d+264+12>>2]=k[d+16+12>>2];k[d+280>>2]=k[d+32>>2];k[d+280+4>>2]=k[d+32+4>>2];k[d+280+8>>2]=k[d+32+8>>2];k[d+280+12>>2]=k[d+32+12>>2];k[d+324>>2]=k[d+48>>2];k[d+324+4>>2]=k[d+48+4>>2];k[d+324+8>>2]=k[d+48+8>>2];k[d+324+12>>2]=k[d+48+12>>2];q=Ua(68,d+248|0,d+264|0,d+280|0,d+324|0,d+64|0)|0;t=w;w=0;if(!(t&1)){t=k[o>>2]|0;if(t)QSa(t);t=k[n>>2]|0;if(t)QSa(t);t=k[g>>2]|0;if(t)QSa(t);t=k[l>>2]|0;if(t)QSa(t);t=k[j>>2]|0;if(t)QSa(t);t=k[h>>2]|0;if(t)QSa(t);f=q;r=d;return f|0}}while(0);f=Ib()|0;d=k[o>>2]|0;if(d)QSa(d);d=k[n>>2]|0;if(d)QSa(d);d=k[g>>2]|0;if(d)QSa(d);d=k[l>>2]|0;if(d)QSa(d);d=k[j>>2]|0;if(d)QSa(d);d=k[h>>2]|0;if(!d)Hb(f|0);QSa(d);Hb(f|0);return 0}function _Ea(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==264584?a+4|0:0)|0}function $Ea(a){a=a|0;return 9968}function aFa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=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;e=r;r=r+48|0;f=k[c>>2]|0;g=k[d>>2]|0;if((f|0)==(g|0)){h=0;r=e;return h|0}d=k[b>>2]|0;b=k[a>>2]|0;j=b;l=b;m=b;b=f;a:while(1){if((l|0)==(d|0)){h=1;n=41;break}f=NEa(a)|0;o=NEa(c)|0;p=k[f>>2]|0;q=k[o>>2]|0;b:do if((p|0)==(q|0)){if((p|0)==1){s=cja(f)|0;if((s&255)<((cja(o)|0)&255)){h=1;n=41;break a}else break}s=ih(f)|0;t=ih(o)|0;u=k[s+32>>2]|0;v=k[t+32>>2]|0;if((u|0)!=(v|0))if(u>>>0>v>>>0)break;else{h=1;n=41;break a}v=u;do{v=v+-1|0;if((v|0)<=-1)break b;w=k[s+(v<<2)>>2]|0;x=k[t+(v<<2)>>2]|0}while((w|0)==(x|0));if(w>>>0<=x>>>0){h=1;n=41;break a}}else if((p|0)<(q|0)){h=1;n=41;break a}while(0);q=NEa(c)|0;p=NEa(a)|0;o=k[q>>2]|0;f=k[p>>2]|0;c:do if((o|0)==(f|0)){if((o|0)==1){v=cja(q)|0;if((v&255)<((cja(p)|0)&255)){h=0;n=41;break a}else break}v=ih(q)|0;t=ih(p)|0;s=k[v+32>>2]|0;u=k[t+32>>2]|0;if((s|0)!=(u|0))if(s>>>0>u>>>0)break;else{h=0;n=41;break a}u=s;do{u=u+-1|0;if((u|0)<=-1)break c;y=k[v+(u<<2)>>2]|0;z=k[t+(u<<2)>>2]|0}while((y|0)==(z|0));if(y>>>0<=z>>>0){h=0;n=41;break a}}else if((o|0)<(f|0)){h=0;n=41;break a}while(0);f=k[a+4>>2]|0;d:do if((l|0)==(f|0)){A=j;B=m;C=l}else{do if(Hka(l)|0){k[e>>2]=1;i[e+4>>0]=87;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=-1;k[e+16+4>>2]=-1;k[e+24>>2]=0;k[e+24+4>>2]=0;k[e+24+8>>2]=0;k[e+24+12>>2]=0;k[e+24+16>>2]=0;if((k[m>>2]|0)==1?(o=cja(m)|0,o<<24>>24==(cja(e)|0)<<24>>24):0){D=j;break}k[a>>2]=f;A=f;B=f;C=f;break d}else D=j;while(0);while(1){o=D+44|0;if((o|0)==(f|0)){E=f;break}if((k[o>>2]|0)==8)D=o;else{E=o;break}}k[a>>2]=E;A=E;B=E;C=E}while(0);f=k[c+4>>2]|0;e:do if((b|0)==(f|0))F=b;else{do if(Hka(b)|0){k[e>>2]=1;i[e+4>>0]=87;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=-1;k[e+16+4>>2]=-1;k[e+24>>2]=0;k[e+24+4>>2]=0;k[e+24+8>>2]=0;k[e+24+12>>2]=0;k[e+24+16>>2]=0;if((k[b>>2]|0)==1?(o=cja(b)|0,o<<24>>24==(cja(e)|0)<<24>>24):0){G=b;break}k[c>>2]=f;F=f;break e}else G=b;while(0);while(1){o=G+44|0;if((o|0)==(f|0)){H=f;break}if((k[o>>2]|0)==8)G=o;else{H=o;break}}k[c>>2]=H;F=H}while(0);if((F|0)==(g|0)){h=0;n=41;break}else{j=A;l=C;m=B;b=F}}if((n|0)==41){r=e;return h|0}return 0}function bFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0;b=r;r=r+288|0;c=k[a>>2]|0;d=k[c+4>>2]|0;e=k[c>>2]|0;a:do if((d|0)==(e|0)){f=(d-e|0)/44|0;g=a+8|0;h=c}else{j=b+232+24|0;l=b+144+24|0;m=b+232+24|0;n=b+96+24|0;o=b+48+24|0;p=b+188+24|0;q=b+144+24|0;s=b+96+24|0;t=b+232+24|0;u=b+144+24|0;v=b+144+24|0;x=0;b:while(1){y=x+2|0;z=k[c>>2]|0;do if(y>>>0>(((k[c+4>>2]|0)-z|0)/44|0)>>>0)A=12;else{B=z+(x*44|0)|0;C=k[B>>2]|0;k[b+144>>2]=1;i[b+144+4>>0]=80;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=-1;k[b+144+16+4>>2]=-1;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=0;k[v+12>>2]=0;k[v+16>>2]=0;if((k[B+44>>2]|0)==1?(D=cja(B+44|0)|0,D<<24>>24==(cja(b+144|0)|0)<<24>>24):0){if(Fka(B)|0){E=y;break}if((C+-2|0)>>>0<9)if(!(447>>>(C+-2&511)&1)){A=12;break}else{E=y;break}}A=12}while(0);c:do if((A|0)==12){A=0;z=k[c>>2]|0;do if(y>>>0<=(((k[c+4>>2]|0)-z|0)/44|0)>>>0){C=z+(x*44|0)|0;k[b+144>>2]=1;i[b+144+4>>0]=80;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=-1;k[b+144+16+4>>2]=-1;k[u>>2]=0;k[u+4>>2]=0;k[u+8>>2]=0;k[u+12>>2]=0;k[u+16>>2]=0;if((k[C+44>>2]|0)!=1)break;w=0;B=ya(739,C+44|0)|0;D=w;w=0;if(D&1){A=24;break b}w=0;D=ya(739,b+144|0)|0;F=w;w=0;if(F&1){A=24;break b}if(B<<24>>24!=D<<24>>24)break;if((k[C>>2]|0)!=1)break;D=cja(C)|0;kka(b+232|0,D);if((k[b+232+20>>2]|0)!=1){dTa(b+232|0);break}w=0;ua(986,b+96|0,D|0);C=w;w=0;if(C&1){A=25;break b}C=(i[b+96+24>>0]|0)==0;dTa(b+96|0);dTa(b+232|0);if(!C)break;kka(b+48|0,D);C=(k[b+48+16>>2]|0)>0;dTa(b+48|0);if(C){C=z+(x*44|0)+16|0;B=z+(x*44|0)+24|0;F=z+(x*44|0)+28|0;G=0;do{k[b>>2]=1;i[b+4>>0]=80;k[b+8>>2]=0;k[b+12>>2]=0;H=k[C>>2]|0;I=k[C+4>>2]|0;k[b+16>>2]=H;k[b+16+4>>2]=I;J=k[B>>2]|0;k[b+24>>2]=J;K=k[F>>2]|0;k[b+28>>2]=K;if(K)OSa(K);k[b+32>>2]=0;k[b+36>>2]=0;k[b+40>>2]=0;M=k[a+8>>2]|0;do if(M>>>0<(k[a+12>>2]|0)>>>0){k[M>>2]=k[b>>2];i[M+4>>0]=i[b+4>>0]|0;k[M+8>>2]=0;k[M+12>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[M+16>>2]=H;k[M+20>>2]=I;k[M+24>>2]=J;k[M+28>>2]=K;k[b+24>>2]=0;k[b+28>>2]=0;k[M+32>>2]=0;k[M+36>>2]=0;k[M+40>>2]=0;k[b+36>>2]=0;k[b+40>>2]=0;k[a+8>>2]=(k[a+8>>2]|0)+44}else{w=0;ua(1032,a+4|0,b|0);N=w;w=0;if(N&1){A=38;break b}N=k[b+40>>2]|0;if(!N)break;QSa(N)}while(0);M=k[b+28>>2]|0;if(M)QSa(M);M=k[b+12>>2]|0;if(M)QSa(M);G=G+1|0;kka(b+48|0,D);M=(G|0)<(k[b+48+16>>2]|0);dTa(b+48|0)}while(M)}E=y;break c}while(0);z=k[c+4>>2]|0;G=k[c>>2]|0;if(y>>>0>((z-G|0)/44|0)>>>0){O=G;P=z}else{z=G+(x*44|0)|0;d:do if(((k[z>>2]|0)==2?(k[z+44>>2]|0)==2:0)?(D=ih(z)|0,F=ih(z+44|0)|0,B=k[D+32>>2]|0,(B|0)==(k[F+32>>2]|0)):0){if((D|0)!=(D+(B<<2)|0)){C=D;M=F;while(1){if((k[C>>2]|0)!=(k[M>>2]|0))break d;C=C+4|0;if((C|0)==(D+(B<<2)|0))break;else M=M+4|0}}M=k[a+8>>2]|0;if((M|0)==(k[a+12>>2]|0))Eda(a+4|0,z);else{k[M>>2]=k[z>>2];i[M+4>>0]=i[z+4>>0]|0;k[M+8>>2]=k[G+(x*44|0)+8>>2];B=k[G+(x*44|0)+12>>2]|0;k[M+12>>2]=B;if(B)OSa(B);B=G+(x*44|0)+16|0;D=k[B+4>>2]|0;k[M+16>>2]=k[B>>2];k[M+16+4>>2]=D;k[M+24>>2]=k[G+(x*44|0)+24>>2];D=k[G+(x*44|0)+28>>2]|0;k[M+28>>2]=D;if(D)OSa(D);k[M+32>>2]=k[G+(x*44|0)+32>>2];k[M+36>>2]=k[G+(x*44|0)+36>>2];D=k[G+(x*44|0)+40>>2]|0;k[M+40>>2]=D;if(D)OSa(D);k[a+8>>2]=(k[a+8>>2]|0)+44}k[b+144>>2]=1;i[b+144+4>>0]=-128;k[b+144+8>>2]=0;k[b+144+12>>2]=0;D=k[z+60>>2]|0;M=k[z+60+4>>2]|0;k[b+144+16>>2]=D;k[b+144+16+4>>2]=M;B=k[z+68>>2]|0;k[b+144+24>>2]=B;C=k[z+72>>2]|0;k[b+144+28>>2]=C;if(C)OSa(C);k[b+144+32>>2]=0;k[b+144+36>>2]=0;k[b+144+40>>2]=0;F=k[a+8>>2]|0;if(F>>>0>=(k[a+12>>2]|0)>>>0){w=0;ua(1032,a+4|0,b+144|0);K=w;w=0;if(K&1){A=78;break b}K=k[b+144+40>>2]|0;if(K)QSa(K)}else{k[F>>2]=k[b+144>>2];i[F+4>>0]=i[b+144+4>>0]|0;k[F+8>>2]=0;k[F+12>>2]=0;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[F+16>>2]=D;k[F+20>>2]=M;k[F+24>>2]=B;k[F+28>>2]=C;k[b+144+24>>2]=0;k[b+144+28>>2]=0;k[F+32>>2]=0;k[F+36>>2]=0;k[F+40>>2]=0;k[b+144+36>>2]=0;k[b+144+40>>2]=0;k[a+8>>2]=(k[a+8>>2]|0)+44}F=k[b+144+28>>2]|0;if(F)QSa(F);F=k[b+144+12>>2]|0;if(F)QSa(F);E=y;break c}while(0);O=k[c>>2]|0;P=k[c+4>>2]|0}e:do if(y>>>0<=((P-O|0)/44|0)>>>0?(z=O+(x*44|0)|0,G=k[z>>2]|0,(G|0)==(k[z+44>>2]|0)):0){if((G|0)==1){G=cja(z)|0;if(G<<24>>24!=(cja(z+44|0)|0)<<24>>24)break}else{G=ih(z)|0;F=ih(z+44|0)|0;C=k[G+32>>2]|0;if((C|0)!=(k[F+32>>2]|0))break;if((G|0)!=(G+(C<<2)|0)){B=G;M=F;while(1){if((k[B>>2]|0)!=(k[M>>2]|0))break e;B=B+4|0;if((B|0)==(G+(C<<2)|0))break;else M=M+4|0}}}if(Eka(z)|0){E=y;break c}}while(0);M=x+3|0;C=k[c+4>>2]|0;G=k[c>>2]|0;if(M>>>0>((C-G|0)/44|0)>>>0){Q=G;R=C}else{C=G+(x*44|0)|0;f:do if((k[C>>2]|0)==4){k[b+144>>2]=1;i[b+144+4>>0]=86;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=-1;k[b+144+16+4>>2]=-1;k[q>>2]=0;k[q+4>>2]=0;k[q+8>>2]=0;k[q+12>>2]=0;k[q+16>>2]=0;G=k[C+44>>2]|0;if((G|0)==1){w=0;B=ya(739,C+44|0)|0;F=w;w=0;if(F&1){A=131;break b}w=0;F=ya(739,b+144|0)|0;D=w;w=0;if(D&1){A=131;break b}if(B<<24>>24!=F<<24>>24){S=k[C+44>>2]|0;A=104}}else{S=G;A=104}if((A|0)==104){A=0;k[b+232>>2]=1;i[b+232+4>>0]=87;k[b+232+8>>2]=0;k[b+232+12>>2]=0;k[b+232+16>>2]=-1;k[b+232+16+4>>2]=-1;k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=0;k[t+12>>2]=0;k[t+16>>2]=0;if((S|0)!=1)break;w=0;G=ya(739,C+44|0)|0;F=w;w=0;if(F&1){A=132;break b}w=0;F=ya(739,b+232|0)|0;B=w;w=0;if(B&1){A=132;break b}if(G<<24>>24!=F<<24>>24)break}if((k[C+88>>2]|0)==8){w=0;F=ya(682,C|0)|0;G=w;w=0;if(G&1){A=133;break b}w=0;G=ya(682,C+88|0)|0;B=w;w=0;if(B&1){A=133;break b}B=k[F+32>>2]|0;if((B|0)==(k[G+32>>2]|0)){if((F|0)!=(F+(B<<2)|0)){D=F;K=G;while(1){if((k[D>>2]|0)!=(k[K>>2]|0))break f;D=D+4|0;if((D|0)==(F+(B<<2)|0))break;else K=K+4|0}}K=k[C+44>>2]|0;k[b+96>>2]=1;i[b+96+4>>0]=87;k[b+96+8>>2]=0;k[b+96+12>>2]=0;k[b+96+16>>2]=-1;k[b+96+16+4>>2]=-1;k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;k[s+12>>2]=0;k[s+16>>2]=0;do if((K|0)==1){w=0;B=ya(739,C+44|0)|0;F=w;w=0;if(F&1){A=134;break b}w=0;F=ya(739,b+96|0)|0;D=w;w=0;if(D&1){A=134;break b}if(B<<24>>24!=F<<24>>24)break;k[b+48>>2]=1;i[b+48+4>>0]=80;k[b+48+8>>2]=0;k[b+48+12>>2]=0;F=k[C+60>>2]|0;B=k[C+60+4>>2]|0;k[b+48+16>>2]=F;k[b+48+16+4>>2]=B;D=k[C+68>>2]|0;k[b+48+24>>2]=D;z=k[C+72>>2]|0;k[b+48+28>>2]=z;if(z)OSa(z);k[b+48+32>>2]=0;k[b+48+36>>2]=0;k[b+48+40>>2]=0;G=k[a+8>>2]|0;do if(G>>>0<(k[a+12>>2]|0)>>>0){k[G>>2]=k[b+48>>2];i[G+4>>0]=i[b+48+4>>0]|0;k[G+8>>2]=0;k[G+12>>2]=0;k[b+48+8>>2]=0;k[b+48+12>>2]=0;k[G+16>>2]=F;k[G+20>>2]=B;k[G+24>>2]=D;k[G+28>>2]=z;k[b+48+24>>2]=0;k[b+48+28>>2]=0;k[G+32>>2]=0;k[G+36>>2]=0;k[G+40>>2]=0;k[b+48+36>>2]=0;k[b+48+40>>2]=0;k[a+8>>2]=(k[a+8>>2]|0)+44}else{w=0;ua(1032,a+4|0,b+48|0);J=w;w=0;if(J&1){A=135;break b}J=k[b+48+40>>2]|0;if(!J)break;QSa(J)}while(0);G=k[b+48+28>>2]|0;if(G)QSa(G);G=k[b+48+12>>2]|0;if(!G)break;QSa(G)}while(0);K=k[a+8>>2]|0;if((K|0)==(k[a+12>>2]|0)){Eda(a+4|0,C+88|0);E=M;break c};k[K>>2]=k[C+88>>2];i[K+4>>0]=i[C+88+4>>0]|0;k[K+8>>2]=k[C+96>>2];G=k[C+100>>2]|0;k[K+12>>2]=G;if(G)OSa(G);G=k[C+104+4>>2]|0;k[K+16>>2]=k[C+104>>2];k[K+16+4>>2]=G;k[K+24>>2]=k[C+112>>2];G=k[C+116>>2]|0;k[K+28>>2]=G;if(G)OSa(G);k[K+32>>2]=k[C+120>>2];k[K+36>>2]=k[C+124>>2];G=k[C+128>>2]|0;k[K+40>>2]=G;if(G)OSa(G);k[a+8>>2]=(k[a+8>>2]|0)+44;E=M;break c}}}while(0);Q=k[c>>2]|0;R=k[c+4>>2]|0}C=Q+(x*44|0)|0;g:do if((C|0)!=(R|0)){k[b+144>>2]=1;i[b+144+4>>0]=86;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=-1;k[b+144+16+4>>2]=-1;k[l>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[l+16>>2]=0;G=k[C>>2]|0;if((G|0)==1){w=0;K=ya(739,C|0)|0;z=w;w=0;if(z&1){A=183;break b}w=0;z=ya(739,b+144|0)|0;D=w;w=0;if(D&1){A=183;break b}if(K<<24>>24==z<<24>>24)A=182;else{T=k[C>>2]|0;A=158}}else{T=G;A=158}do if((A|0)==158){A=0;k[b+232>>2]=1;i[b+232+4>>0]=-13;k[b+232+8>>2]=0;k[b+232+12>>2]=0;k[b+232+16>>2]=-1;k[b+232+16+4>>2]=-1;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[m+16>>2]=0;if((T|0)==1){w=0;G=ya(739,C|0)|0;z=w;w=0;if(z&1){A=184;break b}w=0;z=ya(739,b+232|0)|0;K=w;w=0;if(K&1){A=184;break b}if(G<<24>>24==z<<24>>24){A=182;break}U=k[C>>2]|0}else U=T;k[b+96>>2]=1;i[b+96+4>>0]=0;k[b+96+8>>2]=0;k[b+96+12>>2]=0;k[b+96+16>>2]=-1;k[b+96+16+4>>2]=-1;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;k[n+16>>2]=0;if((U|0)==1){w=0;z=ya(739,C|0)|0;G=w;w=0;if(G&1){A=185;break b}w=0;G=ya(739,b+96|0)|0;K=w;w=0;if(K&1){A=185;break b}if(z<<24>>24==G<<24>>24){A=182;break}V=k[C>>2]|0}else V=U;k[b+48>>2]=1;i[b+48+4>>0]=-2;k[b+48+8>>2]=0;k[b+48+12>>2]=0;k[b+48+16>>2]=-1;k[b+48+16+4>>2]=-1;k[o>>2]=0;k[o+4>>2]=0;k[o+8>>2]=0;k[o+12>>2]=0;k[o+16>>2]=0;if((V|0)==1){w=0;G=ya(739,C|0)|0;z=w;w=0;if(z&1){A=186;break b}w=0;z=ya(739,b+48|0)|0;K=w;w=0;if(K&1){A=186;break b}if(G<<24>>24==z<<24>>24){A=182;break}W=k[C>>2]|0}else W=V;k[b>>2]=1;i[b+4>>0]=-1;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=-1;k[b+16+4>>2]=-1;k[b+24>>2]=0;k[b+24+4>>2]=0;k[b+24+8>>2]=0;k[b+24+12>>2]=0;k[b+24+16>>2]=0;if((W|0)==1){w=0;z=ya(739,C|0)|0;G=w;w=0;if(G&1){A=187;break b}w=0;G=ya(739,b|0)|0;K=w;w=0;if(K&1){A=187;break b}if(z<<24>>24==G<<24>>24){A=182;break}X=k[C>>2]|0}else X=W;k[b+188>>2]=1;i[b+188+4>>0]=-3;k[b+188+8>>2]=0;k[b+188+12>>2]=0;k[b+188+16>>2]=-1;k[b+188+16+4>>2]=-1;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;k[p+12>>2]=0;k[p+16>>2]=0;if((X|0)==1){w=0;G=ya(739,C|0)|0;z=w;w=0;if(z&1){A=188;break b}w=0;z=ya(739,b+188|0)|0;K=w;w=0;if(K&1){A=188;break b}if(!((C+44|0)==(R|0)?1:G<<24>>24!=z<<24>>24)){Y=1;A=190;break}break g}}while(0);if((A|0)==182?(A=0,(C+44|0)!=(R|0)):0){Y=1;A=190}if((A|0)==190){while(1){A=0;if((k[C+(Y*44|0)>>2]|0)==8){Z=Y;break}z=Y+1|0;if((C+(z*44|0)|0)==(R|0)){Z=z;break}else{Y=z;A=190}}if(Z>>>0>1){z=k[a+8>>2]|0;if((z|0)==(k[a+12>>2]|0))Eda(a+4|0,C);else{k[z>>2]=k[C>>2];i[z+4>>0]=i[C+4>>0]|0;k[z+8>>2]=k[Q+(x*44|0)+8>>2];G=k[Q+(x*44|0)+12>>2]|0;k[z+12>>2]=G;if(G)OSa(G);G=Q+(x*44|0)+16|0;K=k[G+4>>2]|0;k[z+16>>2]=k[G>>2];k[z+16+4>>2]=K;k[z+24>>2]=k[Q+(x*44|0)+24>>2];K=k[Q+(x*44|0)+28>>2]|0;k[z+28>>2]=K;if(K)OSa(K);k[z+32>>2]=k[Q+(x*44|0)+32>>2];k[z+36>>2]=k[Q+(x*44|0)+36>>2];K=k[Q+(x*44|0)+40>>2]|0;k[z+40>>2]=K;if(K)OSa(K);k[a+8>>2]=(k[a+8>>2]|0)+44}E=Z+x|0;break c}}}while(0);C=k[c+4>>2]|0;K=k[c>>2]|0;if(M>>>0>((C-K|0)/44|0)>>>0){_=K;$=C}else{C=K+(x*44|0)|0;h:do if((((k[C>>2]|0)==4?(k[b+232>>2]=1,i[b+232+4>>0]=22,k[b+232+8>>2]=0,k[b+232+12>>2]=0,k[b+232+16>>2]=-1,k[b+232+16+4>>2]=-1,k[j>>2]=0,k[j+4>>2]=0,k[j+8>>2]=0,k[j+12>>2]=0,k[j+16>>2]=0,(k[C+88>>2]|0)==1):0)?(z=cja(C+88|0)|0,z<<24>>24==(cja(b+232|0)|0)<<24>>24):0)?(k[C+44>>2]|0)==2:0){z=ih(C+44|0)|0;k[b+48>>2]=-1;k[b+48+32>>2]=1;k[b+144>>2]=0;k[b+144+32>>2]=1;Jja(b+144|0,z,b+48|0);z=b+96|0;G=b+144|0;D=z+40|0;do{k[z>>2]=k[G>>2];z=z+4|0;G=G+4|0}while((z|0)<(D|0));k[b>>2]=-1;k[b+32>>2]=1;if((k[b+96+32>>2]|0)==1?(k[b+96>>2]|0)==-1:0){G=b+96|0;z=b;while(1){z=z+4|0;if((G|0)==(b+96|0))break;G=G+4|0;if((k[G>>2]|0)!=(k[z>>2]|0))break h}z=k[a+8>>2]|0;if((z|0)==(k[a+12>>2]|0)){Eda(a+4|0,C);E=M;break c};k[z>>2]=k[C>>2];i[z+4>>0]=i[C+4>>0]|0;k[z+8>>2]=k[K+(x*44|0)+8>>2];G=k[K+(x*44|0)+12>>2]|0;k[z+12>>2]=G;if(G)OSa(G);G=K+(x*44|0)+16|0;D=k[G+4>>2]|0;k[z+16>>2]=k[G>>2];k[z+16+4>>2]=D;k[z+24>>2]=k[K+(x*44|0)+24>>2];D=k[K+(x*44|0)+28>>2]|0;k[z+28>>2]=D;if(D)OSa(D);k[z+32>>2]=k[K+(x*44|0)+32>>2];k[z+36>>2]=k[K+(x*44|0)+36>>2];D=k[K+(x*44|0)+40>>2]|0;k[z+40>>2]=D;if(D)OSa(D);k[a+8>>2]=(k[a+8>>2]|0)+44;E=M;break c}}while(0);_=k[c>>2]|0;$=k[c+4>>2]|0}M=x+1|0;K=_;if(M>>>0>(($-_|0)/44|0)>>>0){A=236;break b}C=K+(x*44|0)|0;D=k[a+8>>2]|0;if((D|0)==(k[a+12>>2]|0)){Eda(a+4|0,C);E=M;break};k[D>>2]=k[C>>2];i[D+4>>0]=i[C+4>>0]|0;k[D+8>>2]=k[K+(x*44|0)+8>>2];C=k[K+(x*44|0)+12>>2]|0;k[D+12>>2]=C;if(C)OSa(C);C=K+(x*44|0)+16|0;z=k[C+4>>2]|0;k[D+16>>2]=k[C>>2];k[D+16+4>>2]=z;k[D+24>>2]=k[K+(x*44|0)+24>>2];z=k[K+(x*44|0)+28>>2]|0;k[D+28>>2]=z;if(z)OSa(z);k[D+32>>2]=k[K+(x*44|0)+32>>2];k[D+36>>2]=k[K+(x*44|0)+36>>2];z=k[K+(x*44|0)+40>>2]|0;k[D+40>>2]=z;if(z)OSa(z);k[a+8>>2]=(k[a+8>>2]|0)+44;E=M}while(0);y=k[a>>2]|0;M=((k[y+4>>2]|0)-(k[y>>2]|0)|0)/44|0;if(E>>>0>>0)x=E;else{f=M;g=a+8|0;h=y;break a}}switch(A|0){case 24:{x=Ib()|0;aa=L;ba=x;Hb(ba|0);break}case 25:{x=Ib()|0;j=L;dTa(b+232|0);aa=j;ba=x;Hb(ba|0);break}case 38:{x=Ib()|0;j=L;p=k[b+40>>2]|0;if(p)QSa(p);p=k[b+28>>2]|0;if(p)QSa(p);p=k[b+12>>2]|0;if(!p){aa=j;ba=x;Hb(ba|0)}QSa(p);aa=j;ba=x;Hb(ba|0);break}case 78:{x=Ib()|0;j=k[b+144+40>>2]|0;if(j)QSa(j);j=k[b+144+28>>2]|0;if(j)QSa(j);j=k[b+144+12>>2]|0;if(!j)Hb(x|0);QSa(j);Hb(x|0);break}case 131:{x=Ib()|0;ca=L;da=x;Hb(da|0);break}case 132:{x=Ib()|0;ca=L;da=x;Hb(da|0);break}case 133:{x=Ib()|0;ca=L;da=x;Hb(da|0);break}case 134:{x=Ib()|0;ca=L;da=x;Hb(da|0);break}case 135:{x=Ib()|0;j=L;p=k[b+48+40>>2]|0;if(p)QSa(p);p=k[b+48+28>>2]|0;if(p)QSa(p);p=k[b+48+12>>2]|0;if(!p){ca=j;da=x;Hb(da|0)}QSa(p);ca=j;da=x;Hb(da|0);break}case 183:{x=Ib()|0;ea=L;fa=x;Hb(fa|0);break}case 184:{x=Ib()|0;ea=L;fa=x;Hb(fa|0);break}case 185:{x=Ib()|0;ea=L;fa=x;Hb(fa|0);break}case 186:{x=Ib()|0;ea=L;fa=x;Hb(fa|0);break}case 187:{x=Ib()|0;ea=L;fa=x;Hb(fa|0);break}case 188:{x=Ib()|0;ea=L;fa=x;Hb(fa|0);break}case 236:{k[b+144>>2]=0;k[b+144+4>>2]=0;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=0;k[b+144+20>>2]=-1;k[b+144>>2]=34316;k[b+144+4>>2]=34340;w=0;cb(138,b+96|0,264772,44);x=w;w=0;if(x&1){x=Ib()|0;ga=L;ha=x}else{k[b+232>>2]=13804;w=0;ua(724,b+232+4|0,b+96|0);x=w;w=0;if(x&1){x=Ib()|0;ia=L;ja=x}else{w=0;x=Sa(669,b+144|0,b+232|0)|0;j=w;w=0;if(!(j&1)){k[x+(k[(k[x>>2]|0)+-24>>2]|0)+8>>2]=264817;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+12>>2]=264899;k[x+(k[(k[x>>2]|0)+-24>>2]|0)+16>>2]=242;w=0;sa(1677,x|0);w=0}x=Ib()|0;j=L;k[b+232>>2]=13804;dTa(b+232+4|0);ia=j;ja=x}dTa(b+96|0);ga=ia;ha=ja}k[b+144+4>>2]=13668;x=k[b+144+8>>2]|0;if(!x)Hb(ha|0);w=0;j=ya(k[(k[x>>2]|0)+16>>2]|0,x|0)|0;x=w;w=0;if(x&1){x=Ib(0)|0;Zc(x)}if(!j)Hb(ha|0);k[b+144+8>>2]=0;Hb(ha|0);break}}}while(0);ha=k[g>>2]|0;ja=k[a+4>>2]|0;if(((ha-ja|0)/44|0)>>>0>=f>>>0){if(((ha-ja|0)/44|0|0)!=(f|0)){ka=0;r=b;return ka|0}if((ja|0)==(ha|0)){la=h;ma=0}else{h=ja;ja=0;while(1){na=(XCa(h,3)|0)+ja|0;h=h+44|0;if((h|0)==(ha|0))break;else ja=na}la=k[a>>2]|0;ma=na}na=k[la>>2]|0;ja=k[la+4>>2]|0;if((na|0)==(ja|0))oa=0;else{la=na;na=0;while(1){ha=(XCa(la,3)|0)+na|0;la=la+44|0;if((la|0)==(ja|0)){oa=ha;break}else na=ha}}if(ma>>>0>=oa>>>0){oa=k[a+4>>2]|0;ma=k[g>>2]|0;if((oa|0)==(ma|0))pa=0;else{g=b+144+24|0;na=oa;oa=0;while(1){k[b+144>>2]=1;i[b+144+4>>0]=80;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=-1;k[b+144+16+4>>2]=-1;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;if((k[na>>2]|0)==1){ja=cja(na)|0;qa=ja<<24>>24==(cja(b+144|0)|0)<<24>>24}else qa=0;ja=(qa&1)+oa|0;na=na+44|0;if((na|0)==(ma|0)){pa=ja;break}else oa=ja}}oa=k[a>>2]|0;ma=k[oa>>2]|0;na=k[oa+4>>2]|0;if((ma|0)==(na|0))ra=0;else{oa=b+144+24|0;qa=ma;ma=0;while(1){k[b+144>>2]=1;i[b+144+4>>0]=80;k[b+144+8>>2]=0;k[b+144+12>>2]=0;k[b+144+16>>2]=-1;k[b+144+16+4>>2]=-1;k[oa>>2]=0;k[oa+4>>2]=0;k[oa+8>>2]=0;k[oa+12>>2]=0;k[oa+16>>2]=0;if((k[qa>>2]|0)==1){g=cja(qa)|0;ta=g<<24>>24==(cja(b+144|0)|0)<<24>>24}else ta=0;g=(ta&1)+ma|0;qa=qa+44|0;if((qa|0)==(na|0)){ra=g;break}else ma=g}}if(pa>>>0<=ra>>>0){ka=0;r=b;return ka|0}}}ra=k[a>>2]|0;i[b+144>>0]=i[b+232>>0]|0;cFa(ra,a+4|0,b+144|0);ka=1;r=b;return ka|0}function cFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=k[a>>2]|0;if(!c){d=a+8|0;e=a+4|0}else{f=k[a+4>>2]|0;if((f|0)==(c|0))g=c;else{h=f;do{k[a+4>>2]=h+-44;f=k[h+-4>>2]|0;if(f)QSa(f);f=k[h+-16>>2]|0;if(f)QSa(f);f=k[h+-32>>2]|0;if(f)QSa(f);h=k[a+4>>2]|0}while((h|0)!=(c|0));g=k[a>>2]|0}GPa(g);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;d=a+8|0;e=a+4|0}k[a>>2]=k[b>>2];k[e>>2]=k[b+4>>2];k[d>>2]=k[b+8>>2];k[b+8>>2]=0;k[b+4>>2]=0;k[b>>2]=0;return}function dFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0;c=r;r=r+32|0;eFa(c+4|0,k[a>>2]|0,-1);d=k[b>>2]|0;a:do if((d|0)!=(b+4|0)){e=d;f=d;while(1){g=e+16|0;k[c+16>>2]=c+4+4;k[c>>2]=k[c+16>>2];h=fFa(c+4|0,c,c+28|0,g)|0;if(!(k[h>>2]|0)){w=0;j=ya(665,20)|0;l=w;w=0;if(l&1)break;k[j+16>>2]=k[g>>2];g=k[c+28>>2]|0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=g;k[h>>2]=j;g=k[k[c+4>>2]>>2]|0;if(!g)m=j;else{k[c+4>>2]=g;m=k[h>>2]|0}$c(k[c+4+4>>2]|0,m);k[c+4+8>>2]=(k[c+4+8>>2]|0)+1}h=k[f+4>>2]|0;if(!h){g=f;while(1){j=k[g+8>>2]|0;if((k[j>>2]|0)==(g|0)){n=j;break}else g=j}}else{g=h;while(1){j=k[g>>2]|0;if(!j){n=g;break}else g=j}}if((n|0)==(b+4|0))break a;else{e=n;f=n}}f=Ib()|0;o=f;p=L;q=c+4+4|0;s=k[q>>2]|0;Xl(c+4|0,s);Hb(o|0)}while(0);n=k[a>>2]|0;b=k[n+4>>2]|0;m=k[n>>2]|0;k[c>>2]=c+4;b:do if((m|0)==(b|0)){t=m;u=16}else{n=m;while(1){w=0;d=Sa(696,c|0,n|0)|0;f=w;w=0;if(f&1)break;if(d){t=n;u=16;break b}n=n+44|0;if((n|0)==(b|0)){v=b;break b}}n=Ib()|0;o=n;p=L;q=c+4+4|0;s=k[q>>2]|0;Xl(c+4|0,s);Hb(o|0)}while(0);c:do if((u|0)==16){n=t;if((t|0)==(b|0))v=n;else{d=n;f=n;d:while(1){n=f;while(1){x=n;if((x+44|0)==(b|0)){v=d;break c}w=0;e=Sa(696,c|0,x+44|0)|0;g=w;w=0;if(g&1)break d;if(e)n=x+44|0;else break}n=d;e=d;k[e>>2]=k[x+44>>2];i[e+4>>0]=i[x+44+4>>0]|0;e=k[x+52>>2]|0;g=k[x+56>>2]|0;k[x+52>>2]=0;k[x+56>>2]=0;k[n+8>>2]=e;e=k[n+12>>2]|0;k[n+12>>2]=g;if(e)QSa(e);k[n+16>>2]=k[x+60>>2];k[n+20>>2]=k[x+64>>2];e=k[x+68>>2]|0;g=k[x+72>>2]|0;k[x+68>>2]=0;k[x+72>>2]=0;k[n+24>>2]=e;e=k[n+28>>2]|0;k[n+28>>2]=g;if(e)QSa(e);k[n+32>>2]=k[x+76>>2];e=k[x+80>>2]|0;g=k[x+84>>2]|0;k[x+80>>2]=0;k[x+84>>2]=0;k[n+36>>2]=e;e=k[n+40>>2]|0;k[n+40>>2]=g;if(e)QSa(e);d=n+44|0;f=x+44|0}f=Ib()|0;o=f;p=L;q=c+4+4|0;s=k[q>>2]|0;Xl(c+4|0,s);Hb(o|0)}}while(0);o=k[a>>2]|0;k[c+24>>2]=v;k[c+20>>2]=k[o+4>>2];k[c+28>>2]=k[c+24>>2];k[c>>2]=k[c+20>>2];hFa(o,c+28|0,c)|0;o=k[a>>2]|0;a=((k[o+4>>2]|0)-(k[o>>2]|0)|0)!=(b-m|0);Xl(c+4|0,k[c+4+4>>2]|0);r=c;return a|0}function eFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;d=r;r=r+16|0;k[a+4>>2]=0;k[a+8>>2]=0;k[a>>2]=a+4;e=k[b>>2]|0;f=k[b+4>>2]|0;if((e|0)==(f|0)){r=d;return}b=e;while(1){if((k[b>>2]|0)==4){w=0;ua(1101,d|0,b|0);e=w;w=0;if(e&1){g=24;break}if((k[d>>2]|0)==(c|0)){e=k[a+4>>2]|0;do if(e){h=k[d+4>>2]|0;i=e;while(1){j=k[i+16>>2]|0;if(h>>>0>>0){l=k[i>>2]|0;if(!l){m=i;n=i;g=11;break}else o=l}else{if(j>>>0>=h>>>0){p=i;g=16;break}q=i+4|0;j=k[q>>2]|0;if(!j){s=i;g=15;break}else o=j}i=o}if((g|0)==11){g=0;k[d+8>>2]=n;t=m;u=n;break}else if((g|0)==15){g=0;k[d+8>>2]=s;t=q;u=s;break}else if((g|0)==16){g=0;k[d+8>>2]=p;t=d+8|0;u=p;break}}else{k[d+8>>2]=a+4;t=a+4|0;u=a+4|0}while(0);if(!(k[t>>2]|0)){w=0;e=ya(665,20)|0;i=w;w=0;if(i&1){g=24;break}k[e+16>>2]=k[d+4>>2];k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=u;k[t>>2]=e;i=k[k[a>>2]>>2]|0;if(!i)v=e;else{k[a>>2]=i;v=k[t>>2]|0}$c(k[a+4>>2]|0,v);k[a+8>>2]=(k[a+8>>2]|0)+1}}}b=b+44|0;if((b|0)==(f|0)){g=3;break}}if((g|0)==3){r=d;return}else if((g|0)==24){g=Ib()|0;Xl(a,k[a+4>>2]|0);Hb(g|0)}}function fFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,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;e=k[b>>2]|0;if((e|0)!=(a+4|0)?(b=k[d>>2]|0,f=k[e+16>>2]|0,b>>>0>=f>>>0):0){if(f>>>0>=b>>>0){k[c>>2]=e;g=c;return g|0}f=k[e+4>>2]|0;if(!f){h=e;while(1){i=k[h+8>>2]|0;if((k[i>>2]|0)==(h|0)){j=i;break}else h=i}}else{h=f;while(1){i=k[h>>2]|0;if(!i){j=h;break}else h=i}}if((j|0)!=(a+4|0)?b>>>0>=(k[j+16>>2]|0)>>>0:0){h=k[a+4>>2]|0;if(!h){k[c>>2]=a+4;g=a+4|0;return g|0}else l=h;while(1){h=k[l+16>>2]|0;if(b>>>0>>0){i=k[l>>2]|0;if(!i){m=l;n=l;o=33;break}else p=i}else{if(h>>>0>=b>>>0){q=l;o=38;break}r=l+4|0;h=k[r>>2]|0;if(!h){s=l;o=37;break}else p=h}l=p}if((o|0)==33){k[c>>2]=n;g=m;return g|0}else if((o|0)==37){k[c>>2]=s;g=r;return g|0}else if((o|0)==38){k[c>>2]=q;g=c;return g|0}}if(!f){k[c>>2]=e;g=e+4|0;return g|0}else{k[c>>2]=j;g=j;return g|0}}if((e|0)!=(k[a>>2]|0)){j=k[e>>2]|0;if(!j){f=e;while(1){q=k[f+8>>2]|0;if((k[q>>2]|0)==(f|0))f=q;else{t=q;break}}}else{f=j;while(1){j=k[f+4>>2]|0;if(!j){t=f;break}else f=j}}f=k[d>>2]|0;if((k[t+16>>2]|0)>>>0>=f>>>0){d=k[a+4>>2]|0;if(!d){k[c>>2]=a+4;g=a+4|0;return g|0}else u=d;while(1){d=k[u+16>>2]|0;if(f>>>0>>0){a=k[u>>2]|0;if(!a){v=u;w=u;o=14;break}else x=a}else{if(d>>>0>=f>>>0){y=u;o=19;break}z=u+4|0;d=k[z>>2]|0;if(!d){A=u;o=18;break}else x=d}u=x}if((o|0)==14){k[c>>2]=w;g=v;return g|0}else if((o|0)==18){k[c>>2]=A;g=z;return g|0}else if((o|0)==19){k[c>>2]=y;g=c;return g|0}}else B=t}else B=e;if(!(k[e>>2]|0)){k[c>>2]=e;g=e;return g|0}else{e=B;k[c>>2]=e;g=e+4|0;return g|0}return 0}function gFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0;c=r;r=r+64|0;if((k[b>>2]|0)!=8){d=0;r=c;return d|0}WCa(c+56|0,b);if((k[c+56>>2]|0)==-1){b=k[c+56+4>>2]|0;e=k[(k[a>>2]|0)+4>>2]|0;a:do if(!e)f=1;else{a=e;while(1){g=k[a+16>>2]|0;if(b>>>0>>0)h=a;else{if(g>>>0>=b>>>0){f=0;break a}h=a+4|0}a=k[h>>2]|0;if(!a){f=1;break}}}while(0);d=f;r=c;return d|0}k[c+32>>2]=0;k[c+32+4>>2]=0;k[c+32+8>>2]=0;k[c+32+12>>2]=0;k[c+32+16>>2]=0;k[c+32+20>>2]=-1;k[c+32>>2]=34316;k[c+32+4>>2]=34340;w=0;cb(138,c|0,264945,31);d=w;w=0;if(d&1){d=Ib()|0;i=L;j=d}else{k[c+16>>2]=13804;w=0;ua(724,c+16+4|0,c|0);d=w;w=0;if(d&1){d=Ib()|0;l=L;m=d}else{w=0;d=Sa(669,c+32|0,c+16|0)|0;f=w;w=0;if(!(f&1)){k[d+(k[(k[d>>2]|0)+-24>>2]|0)+8>>2]=264977;k[d+(k[(k[d>>2]|0)+-24>>2]|0)+12>>2]=265108;k[d+(k[(k[d>>2]|0)+-24>>2]|0)+16>>2]=46;w=0;sa(1677,d|0);w=0}d=Ib()|0;f=L;k[c+16>>2]=13804;dTa(c+16+4|0);l=f;m=d}dTa(c);i=l;j=m}k[c+32+4>>2]=13668;m=k[c+32+8>>2]|0;if(!m)Hb(j|0);w=0;l=ya(k[(k[m>>2]|0)+16>>2]|0,m|0)|0;m=w;w=0;if(m&1){m=Ib(0)|0;Zc(m)}if(!l)Hb(j|0);k[c+32+8>>2]=0;Hb(j|0);return 0}function hFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;d=k[a>>2]|0;e=k[b>>2]|0;b=k[c>>2]|0;if((e|0)==(b|0))return d+(((e-d|0)/44|0)*44|0)|0;c=d+(((e-d|0)/44|0)*44|0)+(((b-e|0)/44|0)*44|0)|0;b=k[a+4>>2]|0;if((c|0)==(b|0)){f=d+(((e-d|0)/44|0)*44|0)|0;g=c}else{h=c;c=d+(((e-d|0)/44|0)*44|0)|0;while(1){k[c>>2]=k[h>>2];i[c+4>>0]=i[h+4>>0]|0;j=h+8|0;l=k[j>>2]|0;m=h+12|0;n=k[m>>2]|0;k[j>>2]=0;k[m>>2]=0;k[c+8>>2]=l;l=c+12|0;m=k[l>>2]|0;k[l>>2]=n;if(m)QSa(m);k[c+16>>2]=k[h+16>>2];k[c+20>>2]=k[h+20>>2];m=h+24|0;n=k[m>>2]|0;l=h+28|0;j=k[l>>2]|0;k[m>>2]=0;k[l>>2]=0;k[c+24>>2]=n;n=c+28|0;l=k[n>>2]|0;k[n>>2]=j;if(l)QSa(l);k[c+32>>2]=k[h+32>>2];l=h+36|0;j=k[l>>2]|0;n=h+40|0;m=k[n>>2]|0;k[l>>2]=0;k[n>>2]=0;k[c+36>>2]=j;j=c+40|0;n=k[j>>2]|0;k[j>>2]=m;if(n)QSa(n);h=h+44|0;o=c+44|0;if((h|0)==(b|0))break;else c=o}f=o;g=k[a+4>>2]|0}if((g|0)==(f|0))return d+(((e-d|0)/44|0)*44|0)|0;else p=g;do{k[a+4>>2]=p+-44;g=k[p+-4>>2]|0;if(g)QSa(g);g=k[p+-16>>2]|0;if(g)QSa(g);g=k[p+-32>>2]|0;if(g)QSa(g);p=k[a+4>>2]|0}while((p|0)!=(f|0));return d+(((e-d|0)/44|0)*44|0)|0}function iFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;c=r;r=r+432|0;jFa(b);Sl(c+320|0,b+96|0);d=k[b+204>>2]|0;if(!((d|0)!=0?(w=0,kb(106,c+304|0,c+320|0,d|0,0),d=w,w=0,d&1):0))e=5;if((e|0)==5?(w=0,ua(1056,c+208|0,c+320|0),d=w,w=0,!(d&1)):0){k[c+16>>2]=c;k[c>>2]=42204;k[c+4>>2]=b;k[c+8>>2]=c+320;k[c+12>>2]=c+208;k[c+24+16>>2]=c+24;w=0;ua(k[(k[c>>2]|0)+12>>2]|0,c|0,c+24|0);d=w;w=0;do if(d&1){f=Ib()|0;g=L;h=k[c+16>>2]|0;if((h|0)==(c|0)){kc[k[(k[c>>2]|0)+16>>2]&2047](c);j=g;l=f;break}if(!h){j=g;l=f}else{kc[k[(k[h>>2]|0)+20>>2]&2047](h);j=g;l=f}}else{f=k[c+16>>2]|0;if((f|0)!=(c|0)){if(f)kc[k[(k[f>>2]|0)+20>>2]&2047](f)}else kc[k[(k[c>>2]|0)+16>>2]&2047](c);k[c+192+4>>2]=0;k[c+192+8>>2]=0;f=c+192+4|0;k[c+192>>2]=f;k[c+180+4>>2]=0;k[c+180+8>>2]=0;g=c+180+4|0;k[c+180>>2]=g;h=k[b+96>>2]|0;k[c+176>>2]=h+1;if(!(k[b+108>>2]|0))m=h+1|0;else{n=k[(k[b+100>>2]|0)+16>>2]|0;o=(n|0)<(h+1|0)?n:h+1|0;k[c+176>>2]=o;m=o}do if((m|0)<=(k[b>>2]|0)){o=m;while(1){k[c+160>>2]=-1;k[c+160+4>>2]=-1;k[c+160+8>>2]=0;k[c+160+12>>2]=0;w=0;n=Ea(105,b|0,o|0,c+160|0)|0;p=w;w=0;if(p&1)break;p=k[f>>2]|0;do if(p){q=p;while(1){s=k[q+16>>2]|0;if((o|0)<(s|0)){t=k[q>>2]|0;if(!t){u=q;v=q;e=27;break}else x=t}else{if((s|0)>=(o|0)){y=q;e=33;break}z=q+4|0;s=k[z>>2]|0;if(!s){A=q;e=31;break}else x=s}q=x}if((e|0)==27){e=0;k[c+416>>2]=v;B=u;C=v;e=34;break}else if((e|0)==31){e=0;k[c+416>>2]=A;B=z;C=A;e=34;break}else if((e|0)==33){e=0;k[c+416>>2]=y;if(!y){B=c+416|0;C=y;e=34;break}else{D=y;break}}}else{k[c+416>>2]=f;B=f;C=f;e=34}while(0);if((e|0)==34){e=0;w=0;p=ya(665,24)|0;q=w;w=0;if(q&1)break;k[p+16>>2]=o;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=C;k[B>>2]=p;q=k[k[c+192>>2]>>2]|0;if(!q)E=p;else{k[c+192>>2]=q;E=k[B>>2]|0}$c(k[c+192+4>>2]|0,E);k[c+192+8>>2]=(k[c+192+8>>2]|0)+1;D=p}k[D+20>>2]=n;p=k[c+160+12>>2]|0;if(p)QSa(p);if((o|0)<(k[b>>2]|0))o=o+1|0;else{e=20;break}}if((e|0)==20){F=k[c+176>>2]|0;G=k[b+96>>2]|0;e=21;break}o=Ib()|0;p=L;q=k[c+160+12>>2]|0;if(!q){H=p;I=o}else{QSa(q);H=p;I=o}}else{F=m;G=h;e=21}while(0);a:do if((e|0)==21){b:do if((F|0)<=(G|0)){h=F;while(1){k[c+144>>2]=-1;k[c+144+4>>2]=-1;k[c+144+8>>2]=0;k[c+144+12>>2]=0;w=0;o=Ea(105,b+96|0,h|0,c+144|0)|0;p=w;w=0;if(p&1)break;p=k[g>>2]|0;do if(p){q=p;while(1){s=k[q+16>>2]|0;if((h|0)<(s|0)){t=k[q>>2]|0;if(!t){J=q;K=q;e=48;break}else M=t}else{if((s|0)>=(h|0)){N=q;e=54;break}O=q+4|0;s=k[O>>2]|0;if(!s){P=q;e=52;break}else M=s}q=M}if((e|0)==48){e=0;k[c+420>>2]=K;Q=J;R=K;e=55;break}else if((e|0)==52){e=0;k[c+420>>2]=P;Q=O;R=P;e=55;break}else if((e|0)==54){e=0;k[c+420>>2]=N;if(!N){Q=c+420|0;R=N;e=55;break}else{S=N;break}}}else{k[c+420>>2]=g;Q=g;R=g;e=55}while(0);if((e|0)==55){e=0;w=0;p=ya(665,24)|0;q=w;w=0;if(q&1)break;k[p+16>>2]=h;k[p+20>>2]=0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=R;k[Q>>2]=p;q=k[k[c+180>>2]>>2]|0;if(!q)T=p;else{k[c+180>>2]=q;T=k[Q>>2]|0}$c(k[c+180+4>>2]|0,T);k[c+180+8>>2]=(k[c+180+8>>2]|0)+1;S=p}k[S+20>>2]=o;p=k[c+144+12>>2]|0;if(p)QSa(p);if((h|0)<(k[b+96>>2]|0))h=h+1|0;else break b}h=Ib()|0;n=L;p=k[c+144+12>>2]|0;if(!p){H=n;I=h;break a}QSa(p);H=n;I=h;break a}while(0);w=0;cb(451,c+48|0,k[b+152>>2]|0,b+192|0);h=w;w=0;if(h&1){h=Ib()|0;H=L;I=h;break}w=0;Ka(69,a|0,c+48|0,k[b+16>>2]|0,k[b>>2]|0,c+192|0,c+180|0);h=w;w=0;if(h&1){h=Ib()|0;n=L;vFa(c+48|0);H=n;I=h;break}vFa(c+48|0);h=k[b+204>>2]|0;if(!h){U=k[g>>2]|0;sm(c+180|0,U);V=k[f>>2]|0;sm(c+192|0,V);iU(c+24|0);Io(c+208|0);Io(c+320|0);r=c;return}n=k[a+4>>2]|0;if((n|0)!=(k[a+8>>2]|0)){k[n>>2]=k[h>>2];i[n+4>>0]=i[h+4>>0]|0;k[n+8>>2]=k[h+8>>2];p=k[h+12>>2]|0;k[n+12>>2]=p;if(p)OSa(p);p=k[h+16+4>>2]|0;k[n+16>>2]=k[h+16>>2];k[n+16+4>>2]=p;k[n+24>>2]=k[h+24>>2];p=k[h+28>>2]|0;k[n+28>>2]=p;if(p)OSa(p);k[n+32>>2]=k[h+32>>2];k[n+36>>2]=k[h+36>>2];p=k[h+40>>2]|0;k[n+40>>2]=p;if(p)OSa(p);k[a+4>>2]=(k[a+4>>2]|0)+44;U=k[g>>2]|0;sm(c+180|0,U);V=k[f>>2]|0;sm(c+192|0,V);iU(c+24|0);Io(c+208|0);Io(c+320|0);r=c;return}w=0;ua(1035,a|0,h|0);h=w;w=0;if(!(h&1)){U=k[g>>2]|0;sm(c+180|0,U);V=k[f>>2]|0;sm(c+192|0,V);iU(c+24|0);Io(c+208|0);Io(c+320|0);r=c;return}h=Ib()|0;p=L;n=k[a>>2]|0;if(!n){H=p;I=h}else{q=k[a+4>>2]|0;if((q|0)==(n|0))W=n;else{s=q;do{k[a+4>>2]=s+-44;q=k[s+-4>>2]|0;if(q)QSa(q);q=k[s+-16>>2]|0;if(q)QSa(q);q=k[s+-32>>2]|0;if(q)QSa(q);s=k[a+4>>2]|0}while((s|0)!=(n|0));W=k[a>>2]|0}GPa(W);H=p;I=h}}while(0);sm(c+180|0,k[g>>2]|0);sm(c+192|0,k[f>>2]|0);iU(c+24|0);j=H;l=I}while(0);Io(c+208|0);X=j;Y=l;Io(c+320|0);Hb(Y|0)}l=Ib()|0;X=L;Y=l;Io(c+320|0);Hb(Y|0)}function jFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;b=r;r=r+496|0;c=k[a+204>>2]|0;if(!c){r=b;return}d=k[a+152>>2]|0;k[b+308>>2]=1;i[b+308+4>>0]=87;k[b+308+8>>2]=0;k[b+308+12>>2]=0;k[b+308+16>>2]=-1;k[b+308+16+4>>2]=-1;e=b+308+24|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;do if((k[c>>2]|0)==1){w=0;e=ya(739,c|0)|0;f=w;w=0;if(!(f&1)?(w=0,f=ya(739,b+308|0)|0,g=w,w=0,!(g&1)):0){g=k[a+204>>2]|0;if(e<<24>>24!=f<<24>>24){h=g;break}f=k[g+32>>2]|0;g=Aja(a+96|0,(k[a+96>>2]|0)+-1|0,c+16|0)|0;if(!(Uja(d,g)|0)){if(!(Xja(d,g)|0)){r=b;return}k[b+264>>2]=1;i[b+264+4>>0]=80;k[b+264+8>>2]=0;k[b+264+12>>2]=0;g=k[c+16+4>>2]|0;k[b+264+16>>2]=k[c+16>>2];k[b+264+16+4>>2]=g;k[b+264+24>>2]=k[c+24>>2];g=k[c+28>>2]|0;k[b+264+28>>2]=g;if(g)OSa(g);k[b+264+32>>2]=0;k[b+264+36>>2]=0;k[b+264+40>>2]=0;w=0;kb(106,b+432|0,a+96|0,b+264|0,1);g=w;w=0;a:do if(!(g&1)){do if(k[b+432>>2]|0){e=k[a+196>>2]|0;if((e|0)==(k[a+200>>2]|0)){w=0;ua(1115,a+192|0,b+432|0);j=w;w=0;if(j&1)break a;else break}else{k[e>>2]=k[b+432>>2];k[e+4>>2]=k[b+432+4>>2];k[e+8>>2]=k[b+432+8>>2];k[e+12>>2]=k[b+432+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;break}}while(0);w=0;kb(106,b+448|0,a+96|0,b+264|0,1);e=w;w=0;if(!(e&1)){do if(k[b+448>>2]|0){e=k[a+196>>2]|0;if((e|0)==(k[a+200>>2]|0)){w=0;ua(1115,a+192|0,b+448|0);j=w;w=0;if(j&1)break a;else break}else{k[e>>2]=k[b+448>>2];k[e+4>>2]=k[b+448+4>>2];k[e+8>>2]=k[b+448+8>>2];k[e+12>>2]=k[b+448+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;break}}while(0);k[a+204>>2]=0;e=k[b+264+40>>2]|0;if(e)QSa(e);e=k[b+264+28>>2]|0;if(e)QSa(e);e=k[b+264+12>>2]|0;if(e)QSa(e);r=b;return}}while(0);g=Ib()|0;e=L;j=k[b+264+40>>2]|0;if(j)QSa(j);j=k[b+264+28>>2]|0;if(j)QSa(j);j=k[b+264+12>>2]|0;if(!j){l=g;m=e;Hb(l|0)}QSa(j);l=g;m=e;Hb(l|0)}k[b+220>>2]=1;i[b+220+4>>0]=-112;k[b+220+8>>2]=0;k[b+220+12>>2]=0;e=k[c+16+4>>2]|0;k[b+220+16>>2]=k[c+16>>2];k[b+220+16+4>>2]=e;k[b+220+24>>2]=k[c+24>>2];e=k[c+28>>2]|0;k[b+220+28>>2]=e;if(e)OSa(e);k[b+220+32>>2]=0;k[b+220+36>>2]=0;k[b+220+40>>2]=0;w=0;kb(106,b+400|0,a+96|0,b+220|0,1);e=w;w=0;b:do if(!(e&1)){do if(k[b+400>>2]|0){g=k[a+196>>2]|0;if((g|0)==(k[a+200>>2]|0)){w=0;ua(1115,a+192|0,b+400|0);j=w;w=0;if(j&1)break b;else break}else{k[g>>2]=k[b+400>>2];k[g+4>>2]=k[b+400+4>>2];k[g+8>>2]=k[b+400+8>>2];k[g+12>>2]=k[b+400+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;break}}while(0);g=k[b+220+40>>2]|0;if(g)QSa(g);g=k[b+220+28>>2]|0;if(g)QSa(g);g=k[b+220+12>>2]|0;if(g)QSa(g);k[b+132>>2]=1;i[b+132+4>>0]=80;k[b+132+8>>2]=0;k[b+132+12>>2]=0;g=k[c+16+4>>2]|0;k[b+132+16>>2]=k[c+16>>2];k[b+132+16+4>>2]=g;k[b+132+24>>2]=k[c+24>>2];g=k[c+28>>2]|0;k[b+132+28>>2]=g;if(g)OSa(g);k[b+132+32>>2]=0;k[b+132+36>>2]=0;k[b+132+40>>2]=0;w=0;kb(106,b+416|0,a+96|0,b+132|0,1);g=w;w=0;c:do if(!(g&1)){do if(k[b+416>>2]|0){j=k[a+196>>2]|0;if((j|0)==(k[a+200>>2]|0)){w=0;ua(1115,a+192|0,b+416|0);n=w;w=0;if(n&1)break c;else break}else{k[j>>2]=k[b+416>>2];k[j+4>>2]=k[b+416+4>>2];k[j+8>>2]=k[b+416+8>>2];k[j+12>>2]=k[b+416+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;break}}while(0);j=k[b+132+40>>2]|0;if(j)QSa(j);j=k[b+132+28>>2]|0;if(j)QSa(j);j=k[b+132+12>>2]|0;if(j)QSa(j);k[b+352>>2]=1;i[b+352+4>>0]=86;k[b+352+8>>2]=0;k[b+352+12>>2]=0;j=k[c+16+4>>2]|0;k[b+352+16>>2]=k[c+16>>2];k[b+352+16+4>>2]=j;k[b+352+24>>2]=k[c+24>>2];j=k[c+28>>2]|0;k[b+352+28>>2]=j;if(j)OSa(j);k[b+352+36>>2]=0;k[b+352+40>>2]=0;k[b+352+32>>2]=f;w=0;j=Sa(676,d|0,b+352|0)|0;n=w;w=0;if(n&1){n=Ib()|0;o=L;p=k[b+352+40>>2]|0;if(p)QSa(p);p=k[b+352+28>>2]|0;if(p)QSa(p);p=k[b+352+12>>2]|0;if(!p){l=n;m=o;Hb(l|0)}QSa(p);l=n;m=o;Hb(l|0)}else{k[a+204>>2]=j;j=k[b+352+40>>2]|0;if(j)QSa(j);j=k[b+352+28>>2]|0;if(j)QSa(j);j=k[b+352+12>>2]|0;if(j)QSa(j);r=b;return}}while(0);g=Ib()|0;j=L;o=k[b+132+40>>2]|0;if(o)QSa(o);o=k[b+132+28>>2]|0;if(o)QSa(o);o=k[b+132+12>>2]|0;if(!o){l=g;m=j;Hb(l|0)}QSa(o);l=g;m=j;Hb(l|0)}while(0);f=Ib()|0;e=L;j=k[b+220+40>>2]|0;if(j)QSa(j);j=k[b+220+28>>2]|0;if(j)QSa(j);j=k[b+220+12>>2]|0;if(!j){l=f;m=e;Hb(l|0)}QSa(j);l=f;m=e;Hb(l|0)}e=Ib()|0;l=e;m=L;Hb(l|0)}else h=k[a+204>>2]|0;while(0);k[b+88>>2]=1;i[b+88+4>>0]=-13;k[b+88+8>>2]=0;k[b+88+12>>2]=0;k[b+88+16>>2]=-1;k[b+88+16+4>>2]=-1;e=b+88+24|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[e+16>>2]=0;if((k[h>>2]|0)!=1){r=b;return}w=0;e=ya(739,h|0)|0;h=w;w=0;if(!(h&1)?(w=0,h=ya(739,b+88|0)|0,f=w,w=0,!(f&1)):0){if(e<<24>>24!=h<<24>>24){r=b;return}if(!(Xja(d,Aja(a+96|0,(k[a+96>>2]|0)+-1|0,c+16|0)|0)|0)){r=b;return}k[b+44>>2]=1;i[b+44+4>>0]=80;k[b+44+8>>2]=0;k[b+44+12>>2]=0;h=k[c+16+4>>2]|0;k[b+44+16>>2]=k[c+16>>2];k[b+44+16+4>>2]=h;k[b+44+24>>2]=k[c+24>>2];h=k[c+28>>2]|0;k[b+44+28>>2]=h;if(h)OSa(h);k[b+44+32>>2]=0;k[b+44+36>>2]=0;k[b+44+40>>2]=0;w=0;kb(106,b+464|0,a+96|0,b+44|0,1);h=w;w=0;d:do if(!(h&1)){do if(k[b+464>>2]|0){e=k[a+196>>2]|0;if((e|0)==(k[a+200>>2]|0)){w=0;ua(1115,a+192|0,b+464|0);f=w;w=0;if(f&1)break d;else break}else{k[e>>2]=k[b+464>>2];k[e+4>>2]=k[b+464+4>>2];k[e+8>>2]=k[b+464+8>>2];k[e+12>>2]=k[b+464+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;break}}while(0);e=k[b+44+40>>2]|0;if(e)QSa(e);e=k[b+44+28>>2]|0;if(e)QSa(e);e=k[b+44+12>>2]|0;if(e)QSa(e);k[b>>2]=1;i[b+4>>0]=80;k[b+8>>2]=0;k[b+12>>2]=0;e=k[c+16+4>>2]|0;k[b+16>>2]=k[c+16>>2];k[b+16+4>>2]=e;k[b+24>>2]=k[c+24>>2];e=k[c+28>>2]|0;k[b+28>>2]=e;if(e)OSa(e);k[b+32>>2]=0;k[b+36>>2]=0;k[b+40>>2]=0;w=0;kb(106,b+480|0,a+96|0,b|0,1);e=w;w=0;e:do if(!(e&1)){do if(k[b+480>>2]|0){f=k[a+196>>2]|0;if((f|0)==(k[a+200>>2]|0)){w=0;ua(1115,a+192|0,b+480|0);j=w;w=0;if(j&1)break e;else break}else{k[f>>2]=k[b+480>>2];k[f+4>>2]=k[b+480+4>>2];k[f+8>>2]=k[b+480+8>>2];k[f+12>>2]=k[b+480+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;break}}while(0);f=k[b+40>>2]|0;if(f)QSa(f);f=k[b+28>>2]|0;if(f)QSa(f);f=k[b+12>>2]|0;if(f)QSa(f);k[b+176>>2]=1;i[b+176+4>>0]=0;k[b+176+8>>2]=0;k[b+176+12>>2]=0;f=k[c+16+4>>2]|0;k[b+176+16>>2]=k[c+16>>2];k[b+176+16+4>>2]=f;k[b+176+24>>2]=k[c+24>>2];f=k[c+28>>2]|0;k[b+176+28>>2]=f;if(f)OSa(f);k[b+176+32>>2]=0;k[b+176+36>>2]=0;k[b+176+40>>2]=0;w=0;f=Sa(676,d|0,b+176|0)|0;j=w;w=0;if(j&1){j=Ib()|0;g=L;o=k[b+176+40>>2]|0;if(o)QSa(o);o=k[b+176+28>>2]|0;if(o)QSa(o);o=k[b+176+12>>2]|0;if(!o){l=j;m=g;Hb(l|0)}QSa(o);l=j;m=g;Hb(l|0)}else{k[a+204>>2]=f;f=k[b+176+40>>2]|0;if(f)QSa(f);f=k[b+176+28>>2]|0;if(f)QSa(f);f=k[b+176+12>>2]|0;if(f)QSa(f);r=b;return}}while(0);e=Ib()|0;f=L;g=k[b+40>>2]|0;if(g)QSa(g);g=k[b+28>>2]|0;if(g)QSa(g);g=k[b+12>>2]|0;if(!g){l=e;m=f;Hb(l|0)}QSa(g);l=e;m=f;Hb(l|0)}while(0);a=Ib()|0;d=L;c=k[b+44+40>>2]|0;if(c)QSa(c);c=k[b+44+28>>2]|0;if(c)QSa(c);c=k[b+44+12>>2]|0;if(!c){l=a;m=d;Hb(l|0)}QSa(c);l=a;m=d;Hb(l|0)}d=Ib()|0;l=d;m=L;Hb(l|0)}function kFa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=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,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,fb=0,gb=0;g=r;r=r+176|0;k[b+12>>2]=d;if((b+28|0)!=(e|0)){k[g+28>>2]=k[e>>2];k[g>>2]=e+4;k[g+168>>2]=k[g+28>>2];k[g+172>>2]=k[g>>2];xFa(b+28|0,g+168|0,g+172|0)}if((b+80|0)!=(f|0)){k[g+28>>2]=k[f>>2];k[g>>2]=f+4;k[g+168>>2]=k[g+28>>2];k[g+172>>2]=k[g>>2];xFa(b+80|0,g+168|0,g+172|0)}f=k[b+28>>2]|0;if((f|0)!=(b+32|0)){h=f;while(1){f=h+20|0;i=k[b+44>>2]|0;do if(i){j=k[f>>2]|0;l=i;while(1){m=k[l+16>>2]|0;if(j>>>0>>0){n=k[l>>2]|0;if(!n){o=l;p=l;q=13;break}else s=n}else{if(m>>>0>=j>>>0){t=l;q=19;break}u=l+4|0;m=k[u>>2]|0;if(!m){v=l;q=17;break}else s=m}l=s}if((q|0)==13){q=0;k[g+172>>2]=p;x=o;y=p;q=20;break}else if((q|0)==17){q=0;k[g+172>>2]=v;x=u;y=v;q=20;break}else if((q|0)==19){q=0;k[g+172>>2]=t;if(!t){x=g+172|0;y=t;q=20;break}else{z=t;break}}}else{k[g+172>>2]=b+44;x=b+44|0;y=b+44|0;q=20}while(0);if((q|0)==20){q=0;i=EPa(32)|0;k[i+16>>2]=k[f>>2];k[i+24>>2]=0;k[i+28>>2]=0;k[i+20>>2]=i+24;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=y;k[x>>2]=i;l=k[k[b+40>>2]>>2]|0;if(!l)A=i;else{k[b+40>>2]=l;A=k[x>>2]|0}$c(k[b+44>>2]|0,A);k[b+48>>2]=(k[b+48>>2]|0)+1;z=i}i=z+20|0;l=h+16|0;j=z+24|0;m=k[j>>2]|0;do if(m){n=k[l>>2]|0;B=m;while(1){C=k[B+16>>2]|0;if((n|0)<(C|0)){D=k[B>>2]|0;if(!D){E=B;F=B;q=27;break}else G=D}else{if((C|0)>=(n|0)){H=B;q=32;break}I=B+4|0;C=k[I>>2]|0;if(!C){J=B;q=31;break}else G=C}B=G}if((q|0)==27){q=0;k[g+172>>2]=F;K=E;M=F;break}else if((q|0)==31){q=0;k[g+172>>2]=J;K=I;M=J;break}else if((q|0)==32){q=0;k[g+172>>2]=H;K=g+172|0;M=H;break}}else{k[g+172>>2]=j;K=j;M=j}while(0);if(!(k[K>>2]|0)){j=EPa(20)|0;k[j+16>>2]=k[l>>2];k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=M;k[K>>2]=j;m=k[k[i>>2]>>2]|0;if(!m)N=j;else{k[i>>2]=m;N=k[K>>2]|0}$c(k[z+24>>2]|0,N);m=z+28|0;k[m>>2]=(k[m>>2]|0)+1}m=k[h+4>>2]|0;if(!m){j=h;while(1){f=k[j+8>>2]|0;if((k[f>>2]|0)==(j|0)){O=f;break}else j=f}}else{j=m;while(1){i=k[j>>2]|0;if(!i){O=j;break}else j=i}}if((O|0)==(b+32|0))break;else h=O}}O=k[b+56>>2]|0;if((O|0)!=(b+60|0)){h=O;while(1){nFa(b,k[(k[h+28>>2]|0)+-4>>2]|0);O=k[h+4>>2]|0;if(!O){z=h;while(1){N=k[z+8>>2]|0;if((k[N>>2]|0)==(z|0)){P=N;break}else z=N}}else{z=O;while(1){N=k[z>>2]|0;if(!N){P=z;break}else z=N}}if((P|0)==(b+60|0))break;else h=P}}P=k[b+80>>2]|0;if((P|0)!=(b+84|0)){h=P;while(1){P=h+20|0;z=k[b+72>>2]|0;do if(z){O=k[P>>2]|0;N=z;while(1){K=k[N+16>>2]|0;if(O>>>0>>0){M=k[N>>2]|0;if(!M){Q=N;R=N;q=56;break}else S=M}else{if(K>>>0>=O>>>0){T=N;q=61;break}U=N+4|0;K=k[U>>2]|0;if(!K){V=N;q=60;break}else S=K}N=S}if((q|0)==56){q=0;k[g+172>>2]=R;W=Q;X=R;break}else if((q|0)==60){q=0;k[g+172>>2]=V;W=U;X=V;break}else if((q|0)==61){q=0;k[g+172>>2]=T;W=g+172|0;X=T;break}}else{k[g+172>>2]=b+72;W=b+72|0;X=b+72|0}while(0);if(!(k[W>>2]|0)){z=EPa(20)|0;k[z+16>>2]=k[P>>2];k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=X;k[W>>2]=z;N=k[k[b+68>>2]>>2]|0;if(!N)Y=z;else{k[b+68>>2]=N;Y=k[W>>2]|0}$c(k[b+72>>2]|0,Y);k[b+76>>2]=(k[b+76>>2]|0)+1}nFa(b,k[P>>2]|0);N=k[h+4>>2]|0;if(!N){z=h;while(1){O=k[z+8>>2]|0;if((k[O>>2]|0)==(z|0)){Z=O;break}else z=O}}else{z=N;while(1){P=k[z>>2]|0;if(!P){Z=z;break}else z=P}}if((Z|0)==(b+84|0))break;else h=Z}}k[g+28+4>>2]=0;k[g+28+8>>2]=0;Z=g+28+4|0;k[g+28>>2]=Z;h=k[b+16>>2]|0;a:do if((h|0)!=(b+20|0)){Y=h;b:while(1){W=k[Y+16>>2]|0;k[g+160>>2]=W;k[g+160+4>>2]=k[Y+20>>2];X=W;W=g+160|0;while(1){T=k[b+52>>2]|0;V=k[T>>2]|0;if((((k[T+4>>2]|0)-V|0)/24|0)>>>0>X>>>0)_=V;else{w=0;sa(1642,T|0);V=w;w=0;if(V&1){q=77;break b}_=k[T>>2]|0}T=k[_+(X*24|0)+20>>2]|0;do if(T){if(T>>>0>>0){q=92;break b}w=0;V=ya(665,24)|0;U=w;w=0;if(U&1){q=77;break b}k[V+16>>2]=T;k[V+16+4>>2]=X;U=k[Z>>2]|0;do if(U){R=U;c:while(1){Q=k[R+16>>2]|0;do if(T>>>0>=Q>>>0){if(Q>>>0>=T>>>0){S=k[R+20>>2]|0;if(X>>>0>>0){q=103;break}if(S>>>0>=X>>>0){$=R;q=109;break c}}aa=R+4|0;S=k[aa>>2]|0;if(!S){ba=R;q=108;break c}else ca=S}else q=103;while(0);if((q|0)==103){q=0;Q=k[R>>2]|0;if(!Q){da=R;ea=R;q=104;break}else ca=Q}R=ca}if((q|0)==104){q=0;k[g+172>>2]=ea;fa=da;ga=ea;break}else if((q|0)==108){q=0;k[g+172>>2]=ba;fa=aa;ga=ba;break}else if((q|0)==109){q=0;k[g+172>>2]=$;fa=g+172|0;ga=$;break}}else{k[g+172>>2]=Z;fa=Z;ga=Z}while(0);if(k[fa>>2]|0){GPa(V);break}k[V>>2]=0;k[V+4>>2]=0;k[V+8>>2]=ga;k[fa>>2]=V;U=k[k[g+28>>2]>>2]|0;if(!U)ha=V;else{k[g+28>>2]=U;ha=k[fa>>2]|0}$c(k[g+28+4>>2]|0,ha);k[g+28+8>>2]=(k[g+28+8>>2]|0)+1}while(0);T=W+4|0;if((T|0)==(g+160+8|0))break;X=k[T>>2]|0;W=T}W=k[Y+4>>2]|0;if(!W){X=Y;while(1){T=k[X+8>>2]|0;if((k[T>>2]|0)==(X|0)){ia=T;break}else X=T}}else{X=W;while(1){T=k[X>>2]|0;if(!T){ia=X;break}else X=T}}if((ia|0)==(b+20|0)){q=72;break}else Y=ia}if((q|0)==72){Y=k[g+28>>2]|0;if((Y|0)==(Z|0)){q=118;break}X=Y;while(1){Y=k[b+44>>2]|0;W=k[X+20>>2]|0;d:do if(!Y)q=126;else{T=Y;while(1){U=k[T+16>>2]|0;if(W>>>0>>0)ja=T;else{if(U>>>0>=W>>>0)break d;ja=T+4|0}T=k[ja>>2]|0;if(!T){q=126;break}}}while(0);if((q|0)==126?(q=0,w=0,cb(452,b|0,W|0,1),Y=w,w=0,Y&1):0)break;Y=k[X+4>>2]|0;if(!Y){T=X;while(1){U=k[T+8>>2]|0;if((k[U>>2]|0)==(T|0)){ka=U;break}else T=U}}else{T=Y;while(1){W=k[T>>2]|0;if(!W){ka=T;break}else T=W}}if((ka|0)==(Z|0)){q=118;break a}else X=ka}X=Ib()|0;la=L;ma=X;break}else if((q|0)==77){X=Ib()|0;la=L;ma=X;break}else if((q|0)==92){k[g+136>>2]=0;k[g+136+4>>2]=0;k[g+136+8>>2]=0;k[g+136+12>>2]=0;k[g+136+16>>2]=0;k[g+136+20>>2]=-1;k[g+136>>2]=42276;k[g+136+4>>2]=42300;w=0;kb(205,g+136|0,265152,265270,164);w=0;X=Ib()|0;T=L;k[g+136+4>>2]=13668;Y=k[g+136+8>>2]|0;if(Y){w=0;W=ya(k[(k[Y>>2]|0)+16>>2]|0,Y|0)|0;Y=w;w=0;if(Y&1){Y=Ib(0)|0;Zc(Y)}if(W)k[g+136+8>>2]=0}na=X;oa=T;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}}else q=118;while(0);e:do if((q|0)==118){ka=k[b+80>>2]|0;f:do if((ka|0)!=(b+84|0)){ja=ka;g:while(1){ia=ja+16|0;ha=k[b+32>>2]|0;h:do if(ha){fa=k[ia>>2]|0;ga=ha;while(1){$=k[ga+16>>2]|0;if((fa|0)<($|0))qa=ga;else{if(($|0)>=(fa|0)){ra=ha;break}qa=ga+4|0}ga=k[qa>>2]|0;if(!ga){q=149;break h}}while(1){ga=k[ra+16>>2]|0;if((fa|0)<(ga|0)){V=k[ra>>2]|0;if(!V){q=145;break g}else ta=V}else{if((ga|0)>=(fa|0)){va=ra;break}ga=k[ra+4>>2]|0;if(!ga){q=145;break g}else ta=ga}ra=ta}if(!va){q=145;break g}if((k[va+20>>2]|0)!=(k[ja+20>>2]|0))q=149}else q=149;while(0);i:do if((q|0)==149){q=0;ha=ja+20|0;w=0;cb(452,b|0,k[ha>>2]|0,0);fa=w;w=0;if(fa&1){q=75;break g}fa=k[b+44>>2]|0;do if(fa){ga=k[ha>>2]|0;V=fa;while(1){$=k[V+16>>2]|0;if(ga>>>0<$>>>0){ba=k[V>>2]|0;if(!ba){wa=V;xa=V;q=154;break}else za=ba}else{if($>>>0>=ga>>>0){Aa=V;q=160;break}Ba=V+4|0;$=k[Ba>>2]|0;if(!$){Ca=V;q=158;break}else za=$}V=za}if((q|0)==154){q=0;k[g+172>>2]=xa;Da=wa;Ea=xa;q=161;break}else if((q|0)==158){q=0;k[g+172>>2]=Ca;Da=Ba;Ea=Ca;q=161;break}else if((q|0)==160){q=0;k[g+172>>2]=Aa;if(!Aa){Da=g+172|0;Ea=Aa;q=161;break}else{Fa=Aa;break}}}else{k[g+172>>2]=b+44;Da=b+44|0;Ea=b+44|0;q=161}while(0);if((q|0)==161){q=0;w=0;fa=ya(665,32)|0;V=w;w=0;if(V&1){q=75;break g}k[fa+16>>2]=k[ha>>2];k[fa+24>>2]=0;k[fa+28>>2]=0;k[fa+20>>2]=fa+24;k[fa>>2]=0;k[fa+4>>2]=0;k[fa+8>>2]=Ea;k[Da>>2]=fa;V=k[k[b+40>>2]>>2]|0;if(!V)Ga=fa;else{k[b+40>>2]=V;Ga=k[Da>>2]|0}$c(k[b+44>>2]|0,Ga);k[b+48>>2]=(k[b+48>>2]|0)+1;Fa=fa}if(!(k[Fa+28>>2]|0)){q=166;break g}fa=k[b+44>>2]|0;do if(fa){V=k[ha>>2]|0;ga=fa;while(1){$=k[ga+16>>2]|0;if(V>>>0<$>>>0){ba=k[ga>>2]|0;if(!ba){Ha=ga;Ia=ga;q=184;break}else Ja=ba}else{if($>>>0>=V>>>0){Ka=ga;q=190;break}La=ga+4|0;$=k[La>>2]|0;if(!$){Ma=ga;q=188;break}else Ja=$}ga=Ja}if((q|0)==184){q=0;k[g+168>>2]=Ia;Na=Ha;Oa=Ia;q=191;break}else if((q|0)==188){q=0;k[g+168>>2]=Ma;Na=La;Oa=Ma;q=191;break}else if((q|0)==190){q=0;k[g+168>>2]=Ka;if(!Ka){Na=g+168|0;Oa=Ka;q=191;break}else{Pa=Ka;break}}}else{k[g+168>>2]=b+44;Na=b+44|0;Oa=b+44|0;q=191}while(0);if((q|0)==191){q=0;w=0;fa=ya(665,32)|0;ga=w;w=0;if(ga&1){q=75;break g}k[fa+16>>2]=k[ha>>2];k[fa+24>>2]=0;k[fa+28>>2]=0;k[fa+20>>2]=fa+24;k[fa>>2]=0;k[fa+4>>2]=0;k[fa+8>>2]=Oa;k[Na>>2]=fa;ga=k[k[b+40>>2]>>2]|0;if(!ga)Qa=fa;else{k[b+40>>2]=ga;Qa=k[Na>>2]|0}$c(k[b+44>>2]|0,Qa);k[b+48>>2]=(k[b+48>>2]|0)+1;Pa=fa}fa=k[Pa+24>>2]|0;if(fa){ga=k[ia>>2]|0;V=fa;do{fa=k[V+16>>2]|0;if((ga|0)<(fa|0))Ra=V;else{if((fa|0)>=(ga|0))break i;Ra=V+4|0}V=k[Ra>>2]|0}while((V|0)!=0)}k[g>>2]=-1;k[g+4>>2]=-1;k[g+8>>2]=0;k[g+12>>2]=0;V=k[b+52>>2]|0;ga=k[ha>>2]|0;fa=k[V>>2]|0;if((((k[V+4>>2]|0)-fa|0)/24|0)>>>0>ga>>>0)Ta=fa;else{w=0;sa(1642,V|0);fa=w;w=0;if(fa&1){q=214;break g}Ta=k[V>>2]|0}if(!(k[Ta+(ga*24|0)+4>>2]|0))Ua=0;else{ga=k[b+52>>2]|0;V=k[ha>>2]|0;fa=k[ga>>2]|0;if((((k[ga+4>>2]|0)-fa|0)/24|0)>>>0>V>>>0)Va=fa;else{w=0;sa(1642,ga|0);fa=w;w=0;if(fa&1){q=214;break g}Va=k[ga>>2]|0}ga=k[Va+(V*24|0)+4>>2]|0;V=k[ga+16+4>>2]|0;k[g>>2]=k[ga+16>>2];k[g+4>>2]=V;V=k[ga+24>>2]|0;fa=k[ga+28>>2]|0;if(fa)OSa(fa);k[g+8>>2]=V;k[g+12>>2]=fa;Ua=fa}w=0;fa=Sa(697,b|0,k[ha>>2]|0)|0;V=w;w=0;if(V&1){Wa=Ua;q=215;break g}w=0;if((fa|0)<(k[ia>>2]|0)){qFa(b,fa,g);V=w;w=0;if(V&1){Wa=Ua;q=215;break g}}else{rFa(b,fa,g);fa=w;w=0;if(fa&1){Wa=Ua;q=215;break g}}w=0;cb(453,b|0,k[ia>>2]|0,g|0);fa=w;w=0;if(fa&1){Wa=Ua;q=215;break g}if(Ua)QSa(Ua)}while(0);ia=k[ja+4>>2]|0;if(!ia){fa=ja;while(1){V=k[fa+8>>2]|0;if((k[V>>2]|0)==(fa|0)){Xa=V;break}else fa=V}}else{fa=ia;while(1){V=k[fa>>2]|0;if(!V){Xa=fa;break}else fa=V}}if((Xa|0)==(b+84|0)){q=230;break f}else ja=Xa}if((q|0)==75){ja=Ib()|0;la=L;ma=ja;break e}else if((q|0)==145){ja=vb(8)|0;w=0;ua(756,ja|0,269474);fa=w;w=0;if(fa&1){fa=Ib()|0;ia=L;ub(ja|0);la=ia;ma=fa;break e}else{k[ja>>2]=45832;w=0;cb(142,ja|0,11184,530);w=0;break}}else if((q|0)==166){k[g+112>>2]=0;k[g+112+4>>2]=0;k[g+112+8>>2]=0;k[g+112+12>>2]=0;k[g+112+16>>2]=0;k[g+112+20>>2]=-1;k[g+112>>2]=34316;k[g+112+4>>2]=34340;w=0;cb(138,g+80|0,282012,0);ja=w;w=0;if(ja&1){ja=Ib()|0;Ya=ja;Za=L}else{k[g+96>>2]=13804;w=0;ua(724,g+96+4|0,g+80|0);ja=w;w=0;if(ja&1){ja=Ib()|0;_a=ja;$a=L}else{w=0;ja=Sa(669,g+112|0,g+96|0)|0;fa=w;w=0;if(!(fa&1)){k[ja+(k[(k[ja>>2]|0)+-24>>2]|0)+8>>2]=265152;k[ja+(k[(k[ja>>2]|0)+-24>>2]|0)+12>>2]=265270;k[ja+(k[(k[ja>>2]|0)+-24>>2]|0)+16>>2]=179;w=0;sa(1677,ja|0);w=0}ja=Ib()|0;fa=L;k[g+96>>2]=13804;dTa(g+96+4|0);_a=ja;$a=fa}dTa(g+80|0);Ya=_a;Za=$a}k[g+112+4>>2]=13668;fa=k[g+112+8>>2]|0;if(fa){w=0;ja=ya(k[(k[fa>>2]|0)+16>>2]|0,fa|0)|0;fa=w;w=0;if(fa&1){fa=Ib(0)|0;Zc(fa)}if(ja)k[g+112+8>>2]=0}na=Ya;oa=Za;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}else if((q|0)==214){ja=Ib()|0;na=ja;oa=L;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}else if((q|0)==215){ja=Ib()|0;fa=L;if(!Wa){na=ja;oa=fa;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}QSa(Wa);na=ja;oa=fa;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}}else q=230;while(0);do if((q|0)==230){while(1){q=0;w=0;ka=ya(757,b|0)|0;fa=w;w=0;if(fa&1){q=74;break}if(ka)q=230;else break}if((q|0)==74){ka=Ib()|0;la=L;ma=ka;break e}if(!(k[b+88>>2]|0))if(!(k[e+8>>2]|0))ab=d;else ab=(k[(k[e>>2]|0)+16>>2]|0)+-1|0;else{ka=k[b+84>>2]|0;if(!ka){fa=b+84|0;while(1){ja=k[fa+8>>2]|0;if((k[ja>>2]|0)==(fa|0))fa=ja;else{bb=ja;break}}}else{fa=ka;while(1){ja=k[fa+4>>2]|0;if(!ja){bb=fa;break}else fa=ja}}ab=k[bb+16>>2]|0}if((ab|0)==(k[b+12>>2]|0)){w=0;ua(1038,a|0,b|0);fa=w;w=0;if(fa&1)break;zFa(g+28|0,k[Z>>2]|0);r=g;return}k[g+56>>2]=0;k[g+56+4>>2]=0;k[g+56+8>>2]=0;k[g+56+12>>2]=0;k[g+56+16>>2]=0;k[g+56+20>>2]=-1;k[g+56>>2]=34316;k[g+56+4>>2]=34340;w=0;cb(138,g+16|0,265328,29);fa=w;w=0;if(fa&1){fa=Ib()|0;db=fa;eb=L}else{k[g+40>>2]=13804;w=0;ua(724,g+40+4|0,g+16|0);fa=w;w=0;if(fa&1){fa=Ib()|0;fb=fa;gb=L}else{w=0;fa=Sa(669,g+56|0,g+40|0)|0;ka=w;w=0;if(!(ka&1)){k[fa+(k[(k[fa>>2]|0)+-24>>2]|0)+8>>2]=265152;k[fa+(k[(k[fa>>2]|0)+-24>>2]|0)+12>>2]=265270;k[fa+(k[(k[fa>>2]|0)+-24>>2]|0)+16>>2]=211;w=0;sa(1677,fa|0);w=0}fa=Ib()|0;ka=L;k[g+40>>2]=13804;dTa(g+40+4|0);fb=fa;gb=ka}dTa(g+16|0);db=fb;eb=gb}k[g+56+4>>2]=13668;ka=k[g+56+8>>2]|0;if(ka){w=0;fa=ya(k[(k[ka>>2]|0)+16>>2]|0,ka|0)|0;ka=w;w=0;if(ka&1){ka=Ib(0)|0;Zc(ka)}if(fa)k[g+56+8>>2]=0}na=db;oa=eb;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}while(0);fa=Ib()|0;la=L;ma=fa}while(0);na=ma;oa=la;pa=k[Z>>2]|0;zFa(g+28|0,pa);Hb(na|0)}function lFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;zja(d,a+96|0,b,c);if(!(k[d>>2]|0)){r=d;return}c=k[a+196>>2]|0;if((c|0)==(k[a+200>>2]|0)){wFa(a+192|0,d);r=d;return}else{k[c>>2]=k[d>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2];k[c+12>>2]=k[d+12>>2];k[a+196>>2]=(k[a+196>>2]|0)+16;r=d;return}}function mFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=r;r=r+16|0;k[a+20>>2]=0;k[a+24>>2]=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=a+20;k[a+32>>2]=0;k[a+36>>2]=0;k[a+28>>2]=a+32;k[a+44>>2]=0;k[a+48>>2]=0;k[a+40>>2]=a+44;k[a+52>>2]=b;k[a+60>>2]=0;k[a+64>>2]=0;k[a+56>>2]=a+60;k[a+72>>2]=0;k[a+76>>2]=0;k[a+68>>2]=a+72;k[a+84>>2]=0;k[a+88>>2]=0;k[a+80>>2]=a+84;b=k[c>>2]|0;e=k[c+4>>2]|0;if((b|0)==(e|0)){r=d;return}c=b;while(1){k[d>>2]=k[c>>2];k[d+4>>2]=k[c+4>>2];w=0;b=Sa(698,a+56|0,d|0)|0;f=w;w=0;if(f&1)break;f=k[b+4>>2]|0;if((f|0)==(k[b+8>>2]|0)){w=0;ua(1115,b|0,c|0);g=w;w=0;if(g&1)break}else{k[f>>2]=k[c>>2];k[f+4>>2]=k[c+4>>2];k[f+8>>2]=k[c+8>>2];k[f+12>>2]=k[c+12>>2];k[b+4>>2]=(k[b+4>>2]|0)+16}c=c+16|0;if((c|0)==(e|0)){h=3;break}}if((h|0)==3){r=d;return}d=Ib()|0;sm(a+80|0,k[a+84>>2]|0);Xl(a+68|0,k[a+72>>2]|0);BFa(a+56|0,k[a+60>>2]|0);CFa(a+40|0,k[a+44>>2]|0);sm(a+28|0,k[a+32>>2]|0);rm(a+16|0,k[a+20>>2]|0);h=k[a>>2]|0;if(!h)Hb(d|0);e=k[a+4>>2]|0;if((e|0)==(h|0))i=h;else{c=e;do{k[a+4>>2]=c+-44;e=k[c+-4>>2]|0;if(e)QSa(e);e=k[c+-16>>2]|0;if(e)QSa(e);e=k[c+-32>>2]|0;if(e)QSa(e);c=k[a+4>>2]|0}while((c|0)!=(h|0));i=k[a>>2]|0}GPa(i);Hb(d|0)}function nFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0;c=r;r=r+352|0;d=k[a+44>>2]|0;a:do if(d){e=d;while(1){f=k[e+16>>2]|0;if(f>>>0>b>>>0)g=e;else{if(f>>>0>=b>>>0)break;g=e+4|0}e=k[g>>2]|0;if(!e)break a}r=c;return}while(0);g=k[a+20>>2]|0;b:do if(g){d=a+20|0;e=g;c:while(1){f=e;while(1){h=k[f+16>>2]|0;if(h>>>0>b>>>0){j=f;break}if(h>>>0>=b>>>0){l=d;n=f;break c}f=k[f+4>>2]|0;if(!f)break b}f=k[j>>2]|0;if(!f)break b;else{d=j;e=f}}e=k[n>>2]|0;d:do if(!e)o=n;else{d=n;f=e;while(1){h=f;while(1){if((k[h+16>>2]|0)>>>0>=b>>>0){p=h;break}h=k[h+4>>2]|0;if(!h){o=d;break d}}f=k[p>>2]|0;if(!f){o=p;break}else d=p}}while(0);e=k[n+4>>2]|0;e:do if(!e)q=l;else{d=l;f=e;while(1){h=f;while(1){if((k[h+16>>2]|0)>>>0>b>>>0){s=h;break}h=k[h+4>>2]|0;if(!h){q=d;break e}}f=k[s>>2]|0;if(!f){q=s;break}else d=s}}while(0);if((o|0)!=(q|0)){e=o;d=0;while(1){t=d+1|0;f=k[e+4>>2]|0;if(!f){h=e;while(1){u=k[h+8>>2]|0;if((k[u>>2]|0)==(h|0)){v=u;break}else h=u}}else{h=f;while(1){u=k[h>>2]|0;if(!u){v=h;break}else h=u}}if((v|0)==(q|0))break;else{e=v;d=t}}if(t){r=c;return}}}while(0);t=k[a+52>>2]|0;v=k[t>>2]|0;if((((k[t+4>>2]|0)-v|0)/24|0)>>>0>b>>>0)x=v;else{MYa(t);x=k[t>>2]|0}t=x+(b*24|0)|0;v=k[t+4>>2]|0;k[c+160>>2]=k[t>>2];k[c+160+4>>2]=v;v=c+160+8|0;Bo(v,x+(b*24|0)+8|0);k[c+160+20>>2]=k[x+(b*24|0)+20>>2];x=c+160+4|0;t=k[x>>2]|0;f:do if(!t){k[c+280>>2]=0;k[c+280+4>>2]=0;k[c+280+8>>2]=0;k[c+280+12>>2]=0;k[c+280+16>>2]=0;k[c+280+20>>2]=-1;k[c+280>>2]=34316;k[c+280+4>>2]=34340;w=0;cb(138,c+248|0,282012,0);q=w;w=0;if(q&1){q=Ib()|0;y=q;z=L}else{k[c+264>>2]=13804;w=0;ua(724,c+264+4|0,c+248|0);q=w;w=0;if(q&1){q=Ib()|0;A=q;B=L}else{w=0;q=Sa(669,c+280|0,c+264|0)|0;o=w;w=0;if(!(o&1)){k[q+(k[(k[q>>2]|0)+-24>>2]|0)+8>>2]=265358;k[q+(k[(k[q>>2]|0)+-24>>2]|0)+12>>2]=265270;k[q+(k[(k[q>>2]|0)+-24>>2]|0)+16>>2]=223;w=0;sa(1677,q|0);w=0}q=Ib()|0;o=L;k[c+264>>2]=13804;dTa(c+264+4|0);A=q;B=o}dTa(c+248|0);y=A;z=B}k[c+280+4>>2]=13668;o=k[c+280+8>>2]|0;if(o){w=0;q=ya(k[(k[o>>2]|0)+16>>2]|0,o|0)|0;o=w;w=0;if(o&1){o=Ib(0)|0;Zc(o)}if(q)k[c+280+8>>2]=0}C=y;D=z}else{if(!(k[t>>2]|0)){k[c+224>>2]=0;k[c+224+4>>2]=0;k[c+224+8>>2]=0;k[c+224+12>>2]=0;k[c+224+16>>2]=0;k[c+224+20>>2]=-1;k[c+224>>2]=42344;k[c+224+4>>2]=42368;w=0;cb(138,c+196|0,265411,43);q=w;w=0;if(q&1){q=Ib()|0;E=q;F=L}else{k[c+208>>2]=13804;w=0;ua(724,c+208+4|0,c+196|0);q=w;w=0;if(q&1){q=Ib()|0;G=q;H=L}else{w=0;q=Sa(699,c+224|0,c+208|0)|0;o=w;w=0;if(!(o&1)){w=0;kb(206,q|0,265358,265270,229);w=0}q=Ib()|0;o=L;k[c+208>>2]=13804;dTa(c+208+4|0);G=q;H=o}dTa(c+196|0);E=G;F=H}k[c+224+4>>2]=13668;o=k[c+224+8>>2]|0;if(o){w=0;q=ya(k[(k[o>>2]|0)+16>>2]|0,o|0)|0;o=w;w=0;if(o&1){o=Ib(0)|0;Zc(o)}if(q)k[c+224+8>>2]=0}C=E;D=F;break}q=k[v>>2]|0;o=c+160+12|0;s=k[o>>2]|0;do if((q|0)!=(s|0)){l=q;while(1){n=k[l>>2]|0;w=0;ua(1116,a|0,n|0);p=w;w=0;if(p&1){I=40;break}w=0;p=ya(665,24)|0;j=w;w=0;if(j&1){I=40;break}k[p+16>>2]=n;k[p+20>>2]=b;j=k[a+20>>2]|0;do if(j){g=j;while(1){if(n>>>0<(k[g+16>>2]|0)>>>0){d=k[g>>2]|0;if(!d){J=g;K=g;I=76;break}else M=d}else{N=g+4|0;d=k[N>>2]|0;if(!d){O=g;I=79;break}else M=d}g=M}if((I|0)==76){I=0;P=J;Q=K;break}else if((I|0)==79){I=0;P=N;Q=O;break}}else{P=a+20|0;Q=a+20|0}while(0);k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=Q;k[P>>2]=p;n=k[k[a+16>>2]>>2]|0;if(!n)R=p;else{k[a+16>>2]=n;R=k[P>>2]|0}$c(k[a+20>>2]|0,R);k[a+24>>2]=(k[a+24>>2]|0)+1;l=l+4|0;if((l|0)==(s|0)){I=70;break}}if((I|0)==40){l=Ib()|0;S=l;T=L;I=42;break}else if((I|0)==70){l=k[x>>2]|0;if(!l)break;else{U=l;I=83;break}}}else{U=t;I=83}while(0);g:do if((I|0)==83?(k[U>>2]|0)==1:0){w=0;s=ya(739,U|0)|0;q=w;w=0;do if(!(q&1)){if(s<<24>>24!=84){w=0;l=ya(739,k[x>>2]|0)|0;n=w;w=0;if(n&1)break;if(l<<24>>24!=81){w=0;l=ya(739,k[x>>2]|0)|0;n=w;w=0;if(n&1)break;if(l<<24>>24!=32)break g}}w=0;l=ya(739,k[x>>2]|0)|0;n=w;w=0;if(!(n&1)){n=l<<24>>24==84?2:1;l=k[v>>2]|0;if((k[o>>2]|0)==(l|0)){w=0;sa(1642,v|0);j=w;w=0;if(j&1)break;V=k[v>>2]|0}else V=l;l=k[V>>2]|0;j=k[a+56>>2]|0;if((j|0)==(a+60|0))break g;g=c+184+4|0;d=j;h:while(1){i:do if((k[d+16>>2]|0)==(n|0)?(j=k[d+20>>2]|0,e=d+24|0,(k[(k[e>>2]|0)+8>>2]|0)>>>0<=(k[c+160+20>>2]|0)>>>0):0){w=0;h=ya(739,k[x>>2]|0)|0;f=w;w=0;if(f&1){I=39;break h}switch(h<<24>>24){case 84:{w=0;h=Ea(108,k[a+52>>2]|0,j|0,l|0)|0;f=w;w=0;if(f&1){I=39;break h}else{W=h;I=155}break}case 81:{w=0;h=Ea(109,k[a+52>>2]|0,j|0,l|0)|0;f=w;w=0;if(f&1){I=39;break h}else{W=h;I=155}break}case 32:{h=k[v>>2]|0;if((k[o>>2]|0)-h>>2>>>0>1)X=h;else{w=0;sa(1642,v|0);h=w;w=0;if(h&1){I=39;break h}X=k[v>>2]|0}h=k[X+4>>2]|0;f=k[x>>2]|0;k[c+304>>2]=1;i[c+304+4>>0]=3;k[c+304+8>>2]=0;k[c+304+12>>2]=0;u=k[f+16+4>>2]|0;k[c+304+16>>2]=k[f+16>>2];k[c+304+16+4>>2]=u;k[c+304+24>>2]=k[f+24>>2];u=k[f+28>>2]|0;k[c+304+28>>2]=u;if(u)OSa(u);k[c+304+32>>2]=0;k[c+304+36>>2]=0;k[c+304+40>>2]=0;u=k[a+52>>2]|0;k[c+184>>2]=0;k[g>>2]=0;k[c+184+8>>2]=0;w=0;f=ya(665,8)|0;Y=w;w=0;if(Y&1){I=111;break h}k[c+184>>2]=f;k[c+184+8>>2]=f+8;k[f>>2]=j;k[f+4>>2]=l;k[g>>2]=f+8;w=0;f=Ua(63,u|0,c+304|0,c+184|0,1,0)|0;u=w;w=0;if(u&1){I=122;break h}u=k[c+184>>2]|0;if(u){j=k[g>>2]|0;if((j|0)!=(u|0))k[g>>2]=j+(~((j+-4-u|0)>>>2)<<2);GPa(u)}w=0;u=Sa(673,k[a+52>>2]|0,f|0)|0;f=w;w=0;if(f&1){I=120;break h}w=0;f=Sa(673,k[a+52>>2]|0,h|0)|0;h=w;w=0;if(h&1){I=120;break h}if((f|0)!=0?((k[f>>2]|0)==0?(k[f+32>>2]|0)==1:0):0)Z=1;else I=126;do if((I|0)==126){I=0;if(!u){Z=0;break}h=c+80|0;j=u;Y=h+40|0;do{k[h>>2]=k[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(Y|0));w=0;ua(1117,c+120|0,c+80|0);_=w;w=0;if(_&1){I=120;break h}_=i[c+120+34>>0]|0;if(_<<24>>24==1){if((m[c+120+32>>1]|0)>1){Z=1;break}$=(k[c+120>>2]|0)>>>0<32}else $=_<<24>>24==0;_=$^1;if((f|0)!=0^1|_){Z=_;break}h=c;j=u;Y=h+40|0;do{k[h>>2]=k[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(Y|0));w=0;ua(1117,c+40|0,c|0);j=w;w=0;if(j&1){I=120;break h}if(i[c+40+34>>0]|0){Z=0;break}j=k[u+32>>2]|0;h=k[f+32>>2]|0;j:do if((j|0)==(h|0)){Y=j;do{Y=Y+-1|0;if((Y|0)<=-1){aa=0;break j}ba=k[u+(Y<<2)>>2]|0;ca=k[f+(Y<<2)>>2]|0}while((ba|0)==(ca|0));aa=ba>>>0>ca>>>0?1:-1}else aa=j>>>0>h>>>0?1:-1;while(0);Z=(aa|0)>-1}while(0);f=k[c+304+40>>2]|0;if(f)QSa(f);f=k[c+304+28>>2]|0;if(f)QSa(f);f=k[c+304+12>>2]|0;if(f)QSa(f);if(Z)break i;break}default:{}}if((I|0)==155?(I=0,W):0)break;f=k[e>>2]|0;u=k[d+28>>2]|0;h=k[c+160+20>>2]|0;j=f+12|0;Y=f;k:while(1){f=Y;while(1){da=f+16|0;if((da|0)==(u|0)){ea=j;break k}if((k[f+24>>2]|0)>>>0>>0){fa=f;break}else f=da}j=fa+28|0;Y=da}Y=k[ea>>2]|0;w=0;ua(1116,a|0,Y|0);j=w;w=0;if(j&1){I=39;break h}w=0;j=ya(665,24)|0;h=w;w=0;if(h&1){I=39;break h}k[j+16>>2]=Y;k[j+20>>2]=b;h=k[a+20>>2]|0;do if(h){u=h;while(1){if(Y>>>0<(k[u+16>>2]|0)>>>0){e=k[u>>2]|0;if(!e){ga=u;ha=u;I=166;break}else ia=e}else{ja=u+4|0;e=k[ja>>2]|0;if(!e){ka=u;I=169;break}else ia=e}u=ia}if((I|0)==166){I=0;la=ga;ma=ha;break}else if((I|0)==169){I=0;la=ja;ma=ka;break}}else{la=a+20|0;ma=a+20|0}while(0);k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=ma;k[la>>2]=j;Y=k[k[a+16>>2]>>2]|0;if(!Y)na=j;else{k[a+16>>2]=Y;na=k[la>>2]|0}$c(k[a+20>>2]|0,na);k[a+24>>2]=(k[a+24>>2]|0)+1}while(0);Y=k[d+4>>2]|0;if(!Y){h=d;while(1){u=k[h+8>>2]|0;if((k[u>>2]|0)==(h|0)){oa=u;break}else h=u}}else{h=Y;while(1){u=k[h>>2]|0;if(!u){oa=h;break}else h=u}}if((oa|0)==(a+60|0))break g;else d=oa}if((I|0)==39){d=Ib()|0;S=d;T=L;I=42;break g}else if((I|0)==111){d=Ib()|0;pa=L;qa=d;I=121}else if((I|0)==120){d=Ib()|0;pa=L;qa=d;I=121}else if((I|0)==122){d=Ib()|0;l=L;n=k[c+184>>2]|0;if(!n){ra=d;ta=l}else{p=k[g>>2]|0;if((p|0)!=(n|0))k[g>>2]=p+(~((p+-4-n|0)>>>2)<<2);GPa(n);ra=d;ta=l}}if((I|0)==121){ra=qa;ta=pa}l=k[c+304+40>>2]|0;if(l)QSa(l);l=k[c+304+28>>2]|0;if(l)QSa(l);l=k[c+304+12>>2]|0;if(!l){C=ra;D=ta;break f}QSa(l);C=ra;D=ta;break f}}while(0);s=Ib()|0;S=s;T=L;I=42}while(0);if((I|0)==42){C=S;D=T;break}s=k[c+160+8>>2]|0;if(s){q=k[o>>2]|0;if((q|0)!=(s|0))k[o>>2]=q+(~((q+-4-s|0)>>>2)<<2);GPa(s)}r=c;return}while(0);T=k[c+160+8>>2]|0;if(!T)Hb(C|0);D=k[c+160+12>>2]|0;if((D|0)!=(T|0))k[c+160+12>>2]=D+(~((D+-4-T|0)>>>2)<<2);GPa(T);Hb(C|0)}function oFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=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,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0;d=r;r=r+592|0;e=k[a+40>>2]|0;a:do if((e|0)!=(a+44|0)){f=d+400+4|0;g=d+400+8|0;h=e;b:while(1){k[d+400>>2]=k[h+16>>2];k[d+400+8>>2]=0;k[d+400+12>>2]=0;k[f>>2]=g;j=k[h+20>>2]|0;l=h+24|0;if((j|0)!=(l|0)){m=j;n=j;while(1){j=m+16|0;k[d+432>>2]=g;k[d+576>>2]=k[d+432>>2];o=FFa(f,d+576|0,d+464|0,j)|0;if(!(k[o>>2]|0)){w=0;p=ya(665,20)|0;q=w;w=0;if(q&1){s=20;break b}k[p+16>>2]=k[j>>2];j=k[d+464>>2]|0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=j;k[o>>2]=p;j=k[k[f>>2]>>2]|0;if(!j)t=p;else{k[f>>2]=j;t=k[o>>2]|0}$c(k[d+400+8>>2]|0,t);k[d+400+12>>2]=(k[d+400+12>>2]|0)+1}o=k[n+4>>2]|0;if(!o){j=n;while(1){p=k[j+8>>2]|0;if((k[p>>2]|0)==(j|0)){u=p;break}else j=p}}else{j=o;while(1){p=k[j>>2]|0;if(!p){u=j;break}else j=p}}if((u|0)==(l|0))break;else{m=u;n=u}}n=k[f>>2]|0;if((n|0)!=(g|0)){m=k[a+12>>2]|0;l=n;while(1){if((k[l+16>>2]|0)>(m|0))break b;n=k[l+4>>2]|0;if(!n){j=l;while(1){o=k[j+8>>2]|0;if((k[o>>2]|0)==(j|0)){v=o;break}else j=o}}else{j=n;while(1){o=k[j>>2]|0;if(!o){v=j;break}else j=o}}if((v|0)==(g|0))break;else l=v}}}GFa(d+400+4|0,k[g>>2]|0);l=k[h+4>>2]|0;if(!l){m=h;while(1){j=k[m+8>>2]|0;if((k[j>>2]|0)==(m|0)){x=j;break}else m=j}}else{m=l;while(1){j=k[m>>2]|0;if(!j){x=m;break}else m=j}}if((x|0)==(a+44|0))break a;else h=x}if((s|0)==20){h=Ib()|0;GFa(f,k[g>>2]|0);Hb(h|0)}k[d+552>>2]=0;k[d+552+4>>2]=0;k[d+552+8>>2]=0;k[d+552+12>>2]=0;k[d+552+16>>2]=0;k[d+552+20>>2]=-1;k[d+552>>2]=34316;k[d+552+4>>2]=34340;w=0;cb(138,d+520|0,282012,0);h=w;w=0;if(h&1){h=Ib()|0;y=h;z=L}else{k[d+536>>2]=13804;w=0;ua(724,d+536+4|0,d+520|0);h=w;w=0;if(h&1){h=Ib()|0;A=h;B=L}else{w=0;h=Sa(669,d+552|0,d+536|0)|0;m=w;w=0;if(!(m&1)){k[h+(k[(k[h>>2]|0)+-24>>2]|0)+8>>2]=265455;k[h+(k[(k[h>>2]|0)+-24>>2]|0)+12>>2]=265270;k[h+(k[(k[h>>2]|0)+-24>>2]|0)+16>>2]=308;w=0;sa(1677,h|0);w=0}h=Ib()|0;m=L;k[d+536>>2]=13804;dTa(d+536+4|0);A=h;B=m}dTa(d+520|0);y=A;z=B}k[d+552+4>>2]=13668;m=k[d+552+8>>2]|0;if(m){w=0;h=ya(k[(k[m>>2]|0)+16>>2]|0,m|0)|0;m=w;w=0;if(m&1){m=Ib(0)|0;Zc(m)}if(h)k[d+552+8>>2]=0}GFa(d+400+4|0,k[g>>2]|0);C=y;D=z;Hb(C|0)}while(0);sFa(a)|0;z=k[a+44>>2]|0;c:do if(z){y=z;while(1){B=k[y+16>>2]|0;if(B>>>0>b>>>0)E=y;else{if(B>>>0>=b>>>0)break;E=y+4|0}y=k[E>>2]|0;if(!y)break c}y=z;while(1){g=k[y+16>>2]|0;if(g>>>0>b>>>0){f=k[y>>2]|0;if(!f){F=y;G=y;s=51;break}else H=f}else{if(g>>>0>=b>>>0){I=y;s=56;break}J=y+4|0;g=k[J>>2]|0;if(!g){K=y;s=55;break}else H=g}y=H}if((s|0)==51){k[d+576>>2]=G;M=F;N=G;s=57}else if((s|0)==55){k[d+576>>2]=K;M=J;N=K;s=57}else if((s|0)==56){k[d+576>>2]=I;if(!I){M=d+576|0;N=I;s=57}else O=I}if((s|0)==57){y=EPa(32)|0;k[y+16>>2]=b;k[y+24>>2]=0;k[y+28>>2]=0;k[y+20>>2]=y+24;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=N;k[M>>2]=y;g=k[k[a+40>>2]>>2]|0;if(!g)P=y;else{k[a+40>>2]=g;P=k[M>>2]|0}$c(k[a+44>>2]|0,P);k[a+48>>2]=(k[a+48>>2]|0)+1;O=y}if(k[O+28>>2]|0){r=d;return}k[d+496>>2]=0;k[d+496+4>>2]=0;k[d+496+8>>2]=0;k[d+496+12>>2]=0;k[d+496+16>>2]=0;k[d+496+20>>2]=-1;k[d+496>>2]=34316;k[d+496+4>>2]=34340;w=0;cb(138,d+468|0,265519,41);y=w;w=0;if(y&1){y=Ib()|0;Q=y;R=L}else{k[d+480>>2]=13804;w=0;ua(724,d+480+4|0,d+468|0);y=w;w=0;if(y&1){y=Ib()|0;S=y;T=L}else{w=0;y=Sa(669,d+496|0,d+480|0)|0;g=w;w=0;if(!(g&1)){k[y+(k[(k[y>>2]|0)+-24>>2]|0)+8>>2]=265455;k[y+(k[(k[y>>2]|0)+-24>>2]|0)+12>>2]=265270;k[y+(k[(k[y>>2]|0)+-24>>2]|0)+16>>2]=319;w=0;sa(1677,y|0);w=0}y=Ib()|0;g=L;k[d+480>>2]=13804;dTa(d+480+4|0);S=y;T=g}dTa(d+468|0);Q=S;R=T}k[d+496+4>>2]=13668;g=k[d+496+8>>2]|0;if(g){w=0;y=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(y)k[d+496+8>>2]=0}C=Q;D=R;Hb(C|0)}while(0);R=k[a+52>>2]|0;Q=k[R>>2]|0;if((((k[R+4>>2]|0)-Q|0)/24|0)>>>0>b>>>0)U=Q;else{MYa(R);U=k[R>>2]|0}if(!c?(k[U+(b*24|0)+20>>2]|0)!=0:0){k[d+440>>2]=0;k[d+440+4>>2]=0;k[d+440+8>>2]=0;k[d+440+12>>2]=0;k[d+440+16>>2]=0;k[d+440+20>>2]=-1;k[d+440>>2]=34316;k[d+440+4>>2]=34340;w=0;cb(138,d+384|0,265561,57);c=w;w=0;if(c&1){c=Ib()|0;V=c;W=L}else{k[d+416>>2]=13804;w=0;ua(724,d+416+4|0,d+384|0);c=w;w=0;if(c&1){c=Ib()|0;X=c;Y=L}else{w=0;c=Sa(669,d+440|0,d+416|0)|0;R=w;w=0;if(!(R&1)){k[c+(k[(k[c>>2]|0)+-24>>2]|0)+8>>2]=265455;k[c+(k[(k[c>>2]|0)+-24>>2]|0)+12>>2]=265270;k[c+(k[(k[c>>2]|0)+-24>>2]|0)+16>>2]=327;w=0;sa(1677,c|0);w=0}c=Ib()|0;R=L;k[d+416>>2]=13804;dTa(d+416+4|0);X=c;Y=R}dTa(d+384|0);V=X;W=Y}k[d+440+4>>2]=13668;Y=k[d+440+8>>2]|0;if(Y){w=0;X=ya(k[(k[Y>>2]|0)+16>>2]|0,Y|0)|0;Y=w;w=0;if(Y&1){Y=Ib(0)|0;Zc(Y)}if(X)k[d+440+8>>2]=0}C=V;D=W;Hb(C|0)}W=U+(b*24|0)+4|0;V=k[W>>2]|0;if(!V){k[d+360>>2]=0;k[d+360+4>>2]=0;k[d+360+8>>2]=0;k[d+360+12>>2]=0;k[d+360+16>>2]=0;k[d+360+20>>2]=-1;k[d+360>>2]=34316;k[d+360+4>>2]=34340;w=0;cb(138,d+328|0,265619,38);X=w;w=0;if(X&1){X=Ib()|0;Z=X;_=L}else{k[d+344>>2]=13804;w=0;ua(724,d+344+4|0,d+328|0);X=w;w=0;if(X&1){X=Ib()|0;$=X;aa=L}else{w=0;X=Sa(669,d+360|0,d+344|0)|0;Y=w;w=0;if(!(Y&1)){k[X+(k[(k[X>>2]|0)+-24>>2]|0)+8>>2]=265455;k[X+(k[(k[X>>2]|0)+-24>>2]|0)+12>>2]=265270;k[X+(k[(k[X>>2]|0)+-24>>2]|0)+16>>2]=328;w=0;sa(1677,X|0);w=0}X=Ib()|0;Y=L;k[d+344>>2]=13804;dTa(d+344+4|0);$=X;aa=Y}dTa(d+328|0);Z=$;_=aa}k[d+360+4>>2]=13668;aa=k[d+360+8>>2]|0;if(aa){w=0;$=ya(k[(k[aa>>2]|0)+16>>2]|0,aa|0)|0;aa=w;w=0;if(aa&1){aa=Ib(0)|0;Zc(aa)}if($)k[d+360+8>>2]=0}C=Z;D=_;Hb(C|0)}if(!(k[V>>2]|0)){k[d+304>>2]=0;k[d+304+4>>2]=0;k[d+304+8>>2]=0;k[d+304+12>>2]=0;k[d+304+16>>2]=0;k[d+304+20>>2]=-1;k[d+304>>2]=34316;k[d+304+4>>2]=34340;w=0;cb(138,d+272|0,265411,43);_=w;w=0;if(_&1){_=Ib()|0;ba=_;ca=L}else{k[d+288>>2]=13804;w=0;ua(724,d+288+4|0,d+272|0);_=w;w=0;if(_&1){_=Ib()|0;da=_;ea=L}else{w=0;_=Sa(669,d+304|0,d+288|0)|0;Z=w;w=0;if(!(Z&1)){k[_+(k[(k[_>>2]|0)+-24>>2]|0)+8>>2]=265455;k[_+(k[(k[_>>2]|0)+-24>>2]|0)+12>>2]=265270;k[_+(k[(k[_>>2]|0)+-24>>2]|0)+16>>2]=333;w=0;sa(1677,_|0);w=0}_=Ib()|0;Z=L;k[d+288>>2]=13804;dTa(d+288+4|0);da=_;ea=Z}dTa(d+272|0);ba=da;ca=ea}k[d+304+4>>2]=13668;ea=k[d+304+8>>2]|0;if(ea){w=0;da=ya(k[(k[ea>>2]|0)+16>>2]|0,ea|0)|0;ea=w;w=0;if(ea&1){ea=Ib(0)|0;Zc(ea)}if(da)k[d+304+8>>2]=0}C=ba;D=ca;Hb(C|0)}ca=U+(b*24|0)+8|0;ba=U+(b*24|0)+12|0;U=k[ba>>2]|0;da=k[ca>>2]|0;if((U|0)==(da|0)){fa=V;ga=da;ha=U;ia=U}else{V=U;do{V=V+-4|0;oFa(a,k[V>>2]|0,0)}while((V|0)!=(da|0));da=k[ca>>2]|0;fa=k[W>>2]|0;ga=da;ha=k[ba>>2]|0;ia=da}da=fa+16|0;fa=ha-ga>>2;d:do switch(fa|0){case 1:{ga=tFa(a,k[ia>>2]|0,b,-2147483647)|0;ha=pFa(a,k[k[ca>>2]>>2]|0)|0;if(ga){rFa(a,ha,da);break d}else{qFa(a,ha,da);break d}break}case 2:{ha=tFa(a,k[ia+4>>2]|0,b,-2147483647)|0;ga=k[ca>>2]|0;if(ha){rFa(a,pFa(a,k[ga+4>>2]|0)|0,da);ha=k[ca>>2]|0;V=k[ha>>2]|0;if((V|0)==(k[ha+4>>2]|0)){qFa(a,k[a+12>>2]|0,da);break d}if(tFa(a,V,b,-2147483647)|0){rFa(a,(k[a+12>>2]|0)+-1|0,da);rFa(a,pFa(a,k[k[ca>>2]>>2]|0)|0,da);break d}else{qFa(a,pFa(a,k[k[ca>>2]>>2]|0)|0,da);break d}}else{V=k[ga>>2]|0;if((V|0)==(k[ga+4>>2]|0)){qFa(a,pFa(a,V)|0,da);qFa(a,k[a+12>>2]|0,da);break d}ga=tFa(a,V,b,-2147483647)|0;V=k[ca>>2]|0;if(ga){rFa(a,pFa(a,k[V>>2]|0)|0,da);qFa(a,pFa(a,k[(k[ca>>2]|0)+4>>2]|0)|0,da);rFa(a,(k[a+12>>2]|0)+-1|0,da);break d}else{qFa(a,pFa(a,k[V+4>>2]|0)|0,da);qFa(a,pFa(a,k[k[ca>>2]>>2]|0)|0,da);break d}}break}default:if(fa>>>0>=3){k[d+248>>2]=0;k[d+248+4>>2]=0;k[d+248+8>>2]=0;k[d+248+12>>2]=0;k[d+248+16>>2]=0;k[d+248+20>>2]=-1;k[d+248>>2]=34316;k[d+248+4>>2]=34340;w=0;cb(138,d+216|0,265658,57);V=w;w=0;if(V&1){V=Ib()|0;ja=V;ka=L}else{k[d+232>>2]=13804;w=0;ua(724,d+232+4|0,d+216|0);V=w;w=0;if(V&1){V=Ib()|0;la=V;ma=L}else{w=0;V=Sa(669,d+248|0,d+232|0)|0;ga=w;w=0;if(!(ga&1)){k[V+(k[(k[V>>2]|0)+-24>>2]|0)+8>>2]=265455;k[V+(k[(k[V>>2]|0)+-24>>2]|0)+12>>2]=265270;k[V+(k[(k[V>>2]|0)+-24>>2]|0)+16>>2]=390;w=0;sa(1677,V|0);w=0}V=Ib()|0;ga=L;k[d+232>>2]=13804;dTa(d+232+4|0);la=V;ma=ga}dTa(d+216|0);ja=la;ka=ma}k[d+248+4>>2]=13668;ga=k[d+248+8>>2]|0;if(ga){w=0;V=ya(k[(k[ga>>2]|0)+16>>2]|0,ga|0)|0;ga=w;w=0;if(ga&1){ga=Ib(0)|0;Zc(ga)}if(V)k[d+248+8>>2]=0}C=ja;D=ka;Hb(C|0)}}while(0);e:do if((k[ba>>2]|0)!=(k[ca>>2]|0)){ka=0;while(1){ja=(k[a+12>>2]|0)-ka|0;ma=k[a+32>>2]|0;do if(ma){la=ma;while(1){fa=k[la+16>>2]|0;if((ja|0)<(fa|0)){ia=k[la>>2]|0;if(!ia){na=la;oa=la;s=165;break}else pa=ia}else{if((fa|0)>=(ja|0)){qa=la;s=171;break}ra=la+4|0;fa=k[ra>>2]|0;if(!fa){ta=la;s=169;break}else pa=fa}la=pa}if((s|0)==165){s=0;k[d+576>>2]=oa;va=na;wa=oa;s=172;break}else if((s|0)==169){s=0;k[d+576>>2]=ta;va=ra;wa=ta;s=172;break}else if((s|0)==171){s=0;k[d+576>>2]=qa;if(!qa){va=d+576|0;wa=qa;s=172;break}else{xa=qa;break}}}else{k[d+576>>2]=a+32;va=a+32|0;wa=a+32|0;s=172}while(0);if((s|0)==172){s=0;ma=EPa(24)|0;k[ma+16>>2]=ja;k[ma+20>>2]=0;k[ma>>2]=0;k[ma+4>>2]=0;k[ma+8>>2]=wa;k[va>>2]=ma;la=k[k[a+28>>2]>>2]|0;if(!la)za=ma;else{k[a+28>>2]=la;za=k[va>>2]|0}$c(k[a+32>>2]|0,za);k[a+36>>2]=(k[a+36>>2]|0)+1;xa=ma}ma=k[ca>>2]|0;if((k[xa+20>>2]|0)!=(k[ma+(ka<<2)>>2]|0))break;ka=ka+1|0;if(ka>>>0>=(k[ba>>2]|0)-ma>>2>>>0)break e}k[d+192>>2]=0;k[d+192+4>>2]=0;k[d+192+8>>2]=0;k[d+192+12>>2]=0;k[d+192+16>>2]=0;k[d+192+20>>2]=-1;k[d+192>>2]=34316;k[d+192+4>>2]=34340;w=0;cb(138,d+164|0,265716,31);ka=w;w=0;if(ka&1){ka=Ib()|0;Aa=ka;Ba=L}else{k[d+176>>2]=13804;w=0;ua(724,d+176+4|0,d+164|0);ka=w;w=0;if(ka&1){ka=Ib()|0;Ca=ka;Da=L}else{w=0;ka=Sa(669,d+192|0,d+176|0)|0;ma=w;w=0;if(!(ma&1)){k[ka+(k[(k[ka>>2]|0)+-24>>2]|0)+8>>2]=265455;k[ka+(k[(k[ka>>2]|0)+-24>>2]|0)+12>>2]=265270;k[ka+(k[(k[ka>>2]|0)+-24>>2]|0)+16>>2]=392;w=0;sa(1677,ka|0);w=0}ka=Ib()|0;ma=L;k[d+176>>2]=13804;dTa(d+176+4|0);Ca=ka;Da=ma}dTa(d+164|0);Aa=Ca;Ba=Da}k[d+192+4>>2]=13668;ma=k[d+192+8>>2]|0;if(ma){w=0;ka=ya(k[(k[ma>>2]|0)+16>>2]|0,ma|0)|0;ma=w;w=0;if(ma&1){ma=Ib(0)|0;Zc(ma)}if(ka)k[d+192+8>>2]=0}C=Aa;D=Ba;Hb(C|0)}while(0);f:do if(Gka(k[W>>2]|0)|0){Ba=d+120+24|0;while(1){Aa=k[a+4>>2]|0;if((k[a>>2]|0)==(Aa|0))break f;k[d+120>>2]=1;i[d+120+4>>0]=-112;k[d+120+8>>2]=0;k[d+120+12>>2]=0;k[d+120+16>>2]=-1;k[d+120+16+4>>2]=-1;k[Ba>>2]=0;k[Ba+4>>2]=0;k[Ba+8>>2]=0;k[Ba+12>>2]=0;k[Ba+16>>2]=0;if((k[Aa+-44>>2]|0)!=1)break f;w=0;Da=ya(739,Aa+-44|0)|0;Aa=w;w=0;if(Aa&1)break;w=0;Aa=ya(739,d+120|0)|0;Ca=w;w=0;if(Ca&1)break;if(Da<<24>>24!=Aa<<24>>24)break f;rFa(a,(k[a+12>>2]|0)+-1|0,da);if(!(Gka(k[W>>2]|0)|0))break f}Ba=Ib()|0;C=Ba;D=L;Hb(C|0)}while(0);if((k[ba>>2]|0)!=(k[ca>>2]|0)){da=0;do{Ba=(k[a+12>>2]|0)-da|0;Aa=k[a+32>>2]|0;do if(Aa){Da=Aa;while(1){Ca=k[Da+16>>2]|0;if((Ba|0)<(Ca|0)){xa=k[Da>>2]|0;if(!xa){Ea=Da;Fa=Da;s=203;break}else Ga=xa}else{if((Ca|0)>=(Ba|0)){Ha=Da;s=209;break}Ia=Da+4|0;Ca=k[Ia>>2]|0;if(!Ca){Ja=Da;s=207;break}else Ga=Ca}Da=Ga}if((s|0)==203){s=0;k[d+576>>2]=Fa;Ka=Ea;La=Fa;s=210;break}else if((s|0)==207){s=0;k[d+576>>2]=Ja;Ka=Ia;La=Ja;s=210;break}else if((s|0)==209){s=0;k[d+576>>2]=Ha;if(!Ha){Ka=d+576|0;La=Ha;s=210;break}else{Ma=Ha;break}}}else{k[d+576>>2]=a+32;Ka=a+32|0;La=a+32|0;s=210}while(0);if((s|0)==210){s=0;Aa=EPa(24)|0;k[Aa+16>>2]=Ba;k[Aa+20>>2]=0;k[Aa>>2]=0;k[Aa+4>>2]=0;k[Aa+8>>2]=La;k[Ka>>2]=Aa;Da=k[k[a+28>>2]>>2]|0;if(!Da)Na=Aa;else{k[a+28>>2]=Da;Na=k[Ka>>2]|0}$c(k[a+32>>2]|0,Na);k[a+36>>2]=(k[a+36>>2]|0)+1;Ma=Aa}Aa=Ma+20|0;Da=k[a+44>>2]|0;do if(Da){ja=k[Aa>>2]|0;Ca=Da;while(1){xa=k[Ca+16>>2]|0;if(ja>>>0>>0){za=k[Ca>>2]|0;if(!za){Oa=Ca;Pa=Ca;s=217;break}else Qa=za}else{if(xa>>>0>=ja>>>0){Ra=Ca;s=223;break}Ta=Ca+4|0;xa=k[Ta>>2]|0;if(!xa){Ua=Ca;s=221;break}else Qa=xa}Ca=Qa}if((s|0)==217){s=0;k[d+576>>2]=Pa;Va=Oa;Wa=Pa;s=224;break}else if((s|0)==221){s=0;k[d+576>>2]=Ua;Va=Ta;Wa=Ua;s=224;break}else if((s|0)==223){s=0;k[d+576>>2]=Ra;if(!Ra){Va=d+576|0;Wa=Ra;s=224;break}else{Xa=Ra;break}}}else{k[d+576>>2]=a+44;Va=a+44|0;Wa=a+44|0;s=224}while(0);if((s|0)==224){s=0;Da=EPa(32)|0;k[Da+16>>2]=k[Aa>>2];k[Da+24>>2]=0;k[Da+28>>2]=0;k[Da+20>>2]=Da+24;k[Da>>2]=0;k[Da+4>>2]=0;k[Da+8>>2]=Wa;k[Va>>2]=Da;Ba=k[k[a+40>>2]>>2]|0;if(!Ba)Ya=Da;else{k[a+40>>2]=Ba;Ya=k[Va>>2]|0}$c(k[a+44>>2]|0,Ya);k[a+48>>2]=(k[a+48>>2]|0)+1;Xa=Da}Da=Xa+20|0;Ba=k[a+12>>2]|0;Ca=Ba-da|0;ja=Xa+24|0;xa=k[ja>>2]|0;if(xa){za=ja;va=xa;g:while(1){wa=va;while(1){if((k[wa+16>>2]|0)>=(Ca|0)){Za=wa;break}wa=k[wa+4>>2]|0;if(!wa){_a=za;break g}}va=k[Za>>2]|0;if(!va){_a=Za;break}else za=Za}if((_a|0)!=(ja|0)?(Ca|0)>=(k[_a+16>>2]|0):0){za=k[_a+4>>2]|0;if(!za){va=_a;while(1){Aa=k[va+8>>2]|0;if((k[Aa>>2]|0)==(va|0)){$a=Aa;break}else va=Aa}}else{va=za;while(1){Ca=k[va>>2]|0;if(!Ca){$a=va;break}else va=Ca}}if((k[Da>>2]|0)==(_a|0))k[Da>>2]=$a;va=Xa+28|0;k[va>>2]=(k[va>>2]|0)+-1;ov(xa,_a);GPa(_a);ab=k[a+12>>2]|0}else ab=Ba}else ab=Ba;va=ab-da|0;za=k[a+32>>2]|0;if(za){Ca=a+32|0;ja=za;h:while(1){Aa=ja;while(1){if((k[Aa+16>>2]|0)>=(va|0)){bb=Aa;break}Aa=k[Aa+4>>2]|0;if(!Aa){db=Ca;break h}}ja=k[bb>>2]|0;if(!ja){db=bb;break}else Ca=bb}if((db|0)!=(a+32|0)?(va|0)>=(k[db+16>>2]|0):0){Ca=k[db+4>>2]|0;if(!Ca){ja=db;while(1){Ba=k[ja+8>>2]|0;if((k[Ba>>2]|0)==(ja|0)){eb=Ba;break}else ja=Ba}}else{ja=Ca;while(1){va=k[ja>>2]|0;if(!va){eb=ja;break}else ja=va}}if((k[a+28>>2]|0)==(db|0))k[a+28>>2]=eb;k[a+36>>2]=(k[a+36>>2]|0)+-1;ov(za,db);GPa(db)}}da=da+1|0}while(da>>>0<(k[ba>>2]|0)-(k[ca>>2]|0)>>2>>>0)}uFa(a,k[W>>2]|0);ca=k[W>>2]|0;if((k[ca>>2]|0)==1?(kka(d+88|0,cja(ca)|0),ca=(k[d+88+20>>2]|0)==1,dTa(d+88|0),!ca):0){kka(d+56|0,cja(k[W>>2]|0)|0);W=(k[d+56+20>>2]|0)==0;dTa(d+56|0);if(W){W=k[a+44>>2]|0;do if(W){ca=W;while(1){ba=k[ca+16>>2]|0;if(ba>>>0>b>>>0){da=k[ca>>2]|0;if(!da){fb=ca;gb=ca;s=318;break}else hb=da}else{if(ba>>>0>=b>>>0){ib=ca;s=324;break}jb=ca+4|0;ba=k[jb>>2]|0;if(!ba){kb=ca;s=322;break}else hb=ba}ca=hb}if((s|0)==318){k[d+576>>2]=gb;lb=fb;mb=gb;s=325;break}else if((s|0)==322){k[d+576>>2]=kb;lb=jb;mb=kb;s=325;break}else if((s|0)==324){k[d+576>>2]=ib;if(!ib){lb=d+576|0;mb=ib;s=325;break}else break}}else{k[d+576>>2]=a+44;lb=a+44|0;mb=a+44|0;s=325}while(0);if((s|0)==325){ib=EPa(32)|0;k[ib+16>>2]=b;k[ib+24>>2]=0;k[ib+28>>2]=0;k[ib+20>>2]=ib+24;k[ib>>2]=0;k[ib+4>>2]=0;k[ib+8>>2]=mb;k[lb>>2]=ib;mb=k[k[a+40>>2]>>2]|0;if(!mb)nb=ib;else{k[a+40>>2]=mb;nb=k[lb>>2]|0}$c(k[a+44>>2]|0,nb);k[a+48>>2]=(k[a+48>>2]|0)+1}r=d;return}else{k[d+32>>2]=0;k[d+32+4>>2]=0;k[d+32+8>>2]=0;k[d+32+12>>2]=0;k[d+32+16>>2]=0;k[d+32+20>>2]=-1;k[d+32>>2]=34316;k[d+32+4>>2]=34340;w=0;cb(138,d|0,265748,32);nb=w;w=0;if(nb&1){nb=Ib()|0;ob=nb;pb=L}else{k[d+16>>2]=13804;w=0;ua(724,d+16+4|0,d|0);nb=w;w=0;if(nb&1){nb=Ib()|0;qb=nb;rb=L}else{w=0;nb=Sa(669,d+32|0,d+16|0)|0;lb=w;w=0;if(!(lb&1)){k[nb+(k[(k[nb>>2]|0)+-24>>2]|0)+8>>2]=265455;k[nb+(k[(k[nb>>2]|0)+-24>>2]|0)+12>>2]=265270;k[nb+(k[(k[nb>>2]|0)+-24>>2]|0)+16>>2]=416;w=0;sa(1677,nb|0);w=0}nb=Ib()|0;lb=L;k[d+16>>2]=13804;dTa(d+16+4|0);qb=nb;rb=lb}dTa(d);ob=qb;pb=rb}k[d+32+4>>2]=13668;rb=k[d+32+8>>2]|0;if(rb){w=0;qb=ya(k[(k[rb>>2]|0)+16>>2]|0,rb|0)|0;rb=w;w=0;if(rb&1){rb=Ib(0)|0;Zc(rb)}if(qb)k[d+32+8>>2]=0}C=ob;D=pb;Hb(C|0)}}C=k[a+32>>2]|0;do if(C){pb=k[a+12>>2]|0;D=C;while(1){ob=k[D+16>>2]|0;if((pb|0)<(ob|0)){qb=k[D>>2]|0;if(!qb){sb=D;tb=D;s=261;break}else ub=qb}else{if((ob|0)>=(pb|0)){vb=D;s=267;break}wb=D+4|0;ob=k[wb>>2]|0;if(!ob){xb=D;s=265;break}else ub=ob}D=ub}if((s|0)==261){k[d+576>>2]=tb;yb=sb;zb=pb;Ab=tb;s=268;break}else if((s|0)==265){k[d+576>>2]=xb;yb=wb;zb=pb;Ab=xb;s=268;break}else if((s|0)==267){k[d+576>>2]=vb;if(!vb){yb=d+576|0;zb=pb;Ab=vb;s=268;break}else{Bb=vb;break}}}else{k[d+576>>2]=a+32;yb=a+32|0;zb=k[a+12>>2]|0;Ab=a+32|0;s=268}while(0);if((s|0)==268){vb=EPa(24)|0;k[vb+16>>2]=zb;k[vb+20>>2]=0;k[vb>>2]=0;k[vb+4>>2]=0;k[vb+8>>2]=Ab;k[yb>>2]=vb;Ab=k[k[a+28>>2]>>2]|0;if(!Ab)Cb=vb;else{k[a+28>>2]=Ab;Cb=k[yb>>2]|0}$c(k[a+32>>2]|0,Cb);k[a+36>>2]=(k[a+36>>2]|0)+1;Bb=vb}k[Bb+20>>2]=b;Bb=k[a+44>>2]|0;do if(Bb){vb=Bb;while(1){Cb=k[vb+16>>2]|0;if(Cb>>>0>b>>>0){yb=k[vb>>2]|0;if(!yb){Db=vb;Eb=vb;s=274;break}else Fb=yb}else{if(Cb>>>0>=b>>>0){Gb=vb;s=280;break}Jb=vb+4|0;Cb=k[Jb>>2]|0;if(!Cb){Kb=vb;s=278;break}else Fb=Cb}vb=Fb}if((s|0)==274){k[d+576>>2]=Eb;Lb=Db;Mb=Eb;s=281;break}else if((s|0)==278){k[d+576>>2]=Kb;Lb=Jb;Mb=Kb;s=281;break}else if((s|0)==280){k[d+576>>2]=Gb;if(!Gb){Lb=d+576|0;Mb=Gb;s=281;break}else{Nb=Gb;break}}}else{k[d+576>>2]=a+44;Lb=a+44|0;Mb=a+44|0;s=281}while(0);if((s|0)==281){Gb=EPa(32)|0;k[Gb+16>>2]=b;k[Gb+24>>2]=0;k[Gb+28>>2]=0;k[Gb+20>>2]=Gb+24;k[Gb>>2]=0;k[Gb+4>>2]=0;k[Gb+8>>2]=Mb;k[Lb>>2]=Gb;Mb=k[k[a+40>>2]>>2]|0;if(!Mb)Ob=Gb;else{k[a+40>>2]=Mb;Ob=k[Lb>>2]|0}$c(k[a+44>>2]|0,Ob);k[a+48>>2]=(k[a+48>>2]|0)+1;Nb=Gb}Gb=Nb+20|0;Ob=Nb+24|0;Lb=k[Ob>>2]|0;do if(Lb){Mb=k[a+12>>2]|0;b=Lb;while(1){Kb=k[b+16>>2]|0;if((Mb|0)<(Kb|0)){Jb=k[b>>2]|0;if(!Jb){Pb=b;Qb=b;s=288;break}else Rb=Jb}else{if((Kb|0)>=(Mb|0)){Sb=b;s=293;break}Tb=b+4|0;Kb=k[Tb>>2]|0;if(!Kb){Ub=b;s=292;break}else Rb=Kb}b=Rb}if((s|0)==288){k[d+576>>2]=Qb;Vb=Pb;Wb=Qb;break}else if((s|0)==292){k[d+576>>2]=Ub;Vb=Tb;Wb=Ub;break}else if((s|0)==293){k[d+576>>2]=Sb;Vb=d+576|0;Wb=Sb;break}}else{k[d+576>>2]=Ob;Vb=Ob;Wb=Ob}while(0);if(!(k[Vb>>2]|0)){Ob=EPa(20)|0;k[Ob+16>>2]=k[a+12>>2];k[Ob>>2]=0;k[Ob+4>>2]=0;k[Ob+8>>2]=Wb;k[Vb>>2]=Ob;Wb=k[k[Gb>>2]>>2]|0;if(!Wb)Xb=Ob;else{k[Gb>>2]=Wb;Xb=k[Vb>>2]|0}$c(k[Nb+24>>2]|0,Xb);Xb=Nb+28|0;k[Xb>>2]=(k[Xb>>2]|0)+1}r=d;return}function pFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;c=r;r=r+64|0;d=k[a+44>>2]|0;a:do if(d){a=d;while(1){e=k[a+16>>2]|0;if(e>>>0>b>>>0)f=a;else{if(e>>>0>=b>>>0){g=d;break}f=a+4|0}a=k[f>>2]|0;if(!a)break a}while(1){a=k[g+16>>2]|0;if(a>>>0>b>>>0){e=k[g>>2]|0;if(!e)break;else h=e}else{if(a>>>0>=b>>>0){i=g;j=12;break}a=k[g+4>>2]|0;if(!a)break;else h=a}g=h}if((j|0)==12?(i|0)!=0:0){if(!(k[i+28>>2]|0))break;else l=d;while(1){a=k[l+16>>2]|0;if(a>>>0>b>>>0){e=k[l>>2]|0;if(!e)break;else m=e}else{if(a>>>0>=b>>>0){n=l;j=36;break}a=k[l+4>>2]|0;if(!a)break;else m=a}l=m}if((j|0)==36?(n|0)!=0:0){a=k[n+20>>2]|0;e=d;while(1){o=k[e+16>>2]|0;if(o>>>0>b>>>0){p=k[e>>2]|0;if(!p)break;else q=p}else{if(o>>>0>=b>>>0){s=e;j=46;break}o=k[e+4>>2]|0;if(!o)break;else q=o}e=q}if((j|0)==46?(s|0)!=0:0){if((a|0)==(s+24|0)){t=a;u=t+16|0;v=k[u>>2]|0;r=c;return v|0}e=a;o=a;b:while(1){p=e+16|0;x=o;while(1){y=x;z=k[y+4>>2]|0;if(!z){A=y;while(1){y=k[A+8>>2]|0;if((k[y>>2]|0)==(A|0)){B=y;break}else A=y}}else{A=z;while(1){y=k[A>>2]|0;if(!y){B=A;break}else A=y}}C=B;if((B|0)==(s+24|0)){t=e;break b}if((k[p>>2]|0)<(k[B+16>>2]|0)){D=B;break}else x=C}e=D;o=C}u=t+16|0;v=k[u>>2]|0;r=c;return v|0}o=vb(8)|0;w=0;ua(756,o|0,269474);e=w;w=0;if(e&1){e=Ib()|0;ub(o|0);Hb(e|0)}else{k[o>>2]=45832;Xb(o|0,11184,530)}}o=vb(8)|0;w=0;ua(756,o|0,269474);e=w;w=0;if(e&1){e=Ib()|0;ub(o|0);Hb(e|0)}else{k[o>>2]=45832;Xb(o|0,11184,530)}}o=vb(8)|0;w=0;ua(756,o|0,269474);e=w;w=0;if(e&1){e=Ib()|0;ub(o|0);Hb(e|0)}else{k[o>>2]=45832;Xb(o|0,11184,530)}}while(0);k[c+32>>2]=0;k[c+32+4>>2]=0;k[c+32+8>>2]=0;k[c+32+12>>2]=0;k[c+32+16>>2]=0;k[c+32+20>>2]=-1;k[c+32>>2]=34316;k[c+32+4>>2]=34340;w=0;cb(138,c|0,265781,37);v=w;w=0;if(v&1){v=Ib()|0;E=L;F=v}else{k[c+16>>2]=13804;w=0;ua(724,c+16+4|0,c|0);v=w;w=0;if(v&1){v=Ib()|0;G=L;H=v}else{w=0;v=Sa(669,c+32|0,c+16|0)|0;u=w;w=0;if(!(u&1)){k[v+(k[(k[v>>2]|0)+-24>>2]|0)+8>>2]=265819;k[v+(k[(k[v>>2]|0)+-24>>2]|0)+12>>2]=265270;k[v+(k[(k[v>>2]|0)+-24>>2]|0)+16>>2]=427;w=0;sa(1677,v|0);w=0}v=Ib()|0;u=L;k[c+16>>2]=13804;dTa(c+16+4|0);G=u;H=v}dTa(c);E=G;F=H}k[c+32+4>>2]=13668;H=k[c+32+8>>2]|0;if(!H)Hb(F|0);w=0;G=ya(k[(k[H>>2]|0)+16>>2]|0,H|0)|0;H=w;w=0;if(H&1){H=Ib(0)|0;Zc(H)}if(!G)Hb(F|0);k[c+32+8>>2]=0;Hb(F|0);return 0}function qFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=0;d=r;r=r+224|0;if((b|0)==-2147483647){k[d+184>>2]=0;k[d+184+4>>2]=0;k[d+184+8>>2]=0;k[d+184+12>>2]=0;k[d+184+16>>2]=0;k[d+184+20>>2]=-1;k[d+184>>2]=34316;k[d+184+4>>2]=34340;w=0;cb(138,d+152|0,282012,0);e=w;w=0;if(e&1){e=Ib()|0;f=e;g=L}else{k[d+168>>2]=13804;w=0;ua(724,d+168+4|0,d+152|0);e=w;w=0;if(e&1){e=Ib()|0;h=e;j=L}else{w=0;e=Sa(669,d+184|0,d+168|0)|0;l=w;w=0;if(!(l&1)){k[e+(k[(k[e>>2]|0)+-24>>2]|0)+8>>2]=265882;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+12>>2]=265270;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+16>>2]=469;w=0;sa(1677,e|0);w=0}e=Ib()|0;l=L;k[d+168>>2]=13804;dTa(d+168+4|0);h=e;j=l}dTa(d+152|0);f=h;g=j}k[d+184+4>>2]=13668;j=k[d+184+8>>2]|0;if(j){w=0;h=ya(k[(k[j>>2]|0)+16>>2]|0,j|0)|0;j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}if(h)k[d+184+8>>2]=0}m=f;n=g;Hb(m|0)}g=1-b+(k[a+12>>2]|0)|0;if((g|0)>=17){k[d+128>>2]=0;k[d+128+4>>2]=0;k[d+128+8>>2]=0;k[d+128+12>>2]=0;k[d+128+16>>2]=0;k[d+128+20>>2]=-1;k[d+128>>2]=42276;k[d+128+4>>2]=42300;w=0;cb(138,d+96|0,265959,45);f=w;w=0;if(f&1){f=Ib()|0;o=f;p=L}else{k[d+112>>2]=13804;w=0;ua(724,d+112+4|0,d+96|0);f=w;w=0;if(f&1){f=Ib()|0;q=f;s=L}else{w=0;f=Sa(700,d+128|0,d+112|0)|0;h=w;w=0;if(!(h&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=265882;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=265270;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=471;w=0;sa(1683,f|0);w=0}f=Ib()|0;h=L;k[d+112>>2]=13804;dTa(d+112+4|0);q=f;s=h}dTa(d+96|0);o=q;p=s}k[d+128+4>>2]=13668;s=k[d+128+8>>2]|0;if(s){w=0;q=ya(k[(k[s>>2]|0)+16>>2]|0,s|0)|0;s=w;w=0;if(s&1){s=Ib(0)|0;Zc(s)}if(q)k[d+128+8>>2]=0}m=o;n=p;Hb(m|0)}if((g|0)<=0){k[d+72>>2]=0;k[d+72+4>>2]=0;k[d+72+8>>2]=0;k[d+72+12>>2]=0;k[d+72+16>>2]=0;k[d+72+20>>2]=-1;k[d+72>>2]=34316;k[d+72+4>>2]=34340;w=0;cb(138,d+44|0,266005,21);p=w;w=0;if(p&1){p=Ib()|0;t=p;u=L}else{k[d+56>>2]=13804;w=0;ua(724,d+56+4|0,d+44|0);p=w;w=0;if(p&1){p=Ib()|0;v=p;x=L}else{w=0;p=Sa(669,d+72|0,d+56|0)|0;o=w;w=0;if(!(o&1)){k[p+(k[(k[p>>2]|0)+-24>>2]|0)+8>>2]=265882;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+12>>2]=265270;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+16>>2]=472;w=0;sa(1677,p|0);w=0}p=Ib()|0;o=L;k[d+56>>2]=13804;dTa(d+56+4|0);v=p;x=o}dTa(d+44|0);t=v;u=x}k[d+72+4>>2]=13668;x=k[d+72+8>>2]|0;if(x){w=0;v=ya(k[(k[x>>2]|0)+16>>2]|0,x|0)|0;x=w;w=0;if(x&1){x=Ib(0)|0;Zc(x)}if(v)k[d+72+8>>2]=0}m=t;n=u;Hb(m|0)}u=o_(g)|0;k[d>>2]=1;i[d+4>>0]=u;k[d+8>>2]=0;k[d+12>>2]=0;u=k[c+4>>2]|0;k[d+16>>2]=k[c>>2];k[d+16+4>>2]=u;k[d+24>>2]=k[c+8>>2];u=k[c+12>>2]|0;k[d+28>>2]=u;if(u)OSa(u);k[d+32>>2]=0;k[d+36>>2]=0;k[d+40>>2]=0;w=0;ua(1118,a|0,d|0);u=w;w=0;if(u&1){u=Ib()|0;c=L;g=k[d+40>>2]|0;if(g)QSa(g);g=k[d+28>>2]|0;if(g)QSa(g);g=k[d+12>>2]|0;if(!g){m=u;n=c;Hb(m|0)}QSa(g);m=u;n=c;Hb(m|0)}m=k[d+40>>2]|0;if(m)QSa(m);m=k[d+28>>2]|0;if(m)QSa(m);m=k[d+12>>2]|0;if(m)QSa(m);m=k[a+32>>2]|0;do if(m){c=m;while(1){n=k[c+16>>2]|0;if((n|0)>(b|0)){u=k[c>>2]|0;if(!u){y=c;z=c;A=58;break}else B=u}else{if((n|0)>=(b|0)){C=c;A=64;break}D=c+4|0;n=k[D>>2]|0;if(!n){E=c;A=62;break}else B=n}c=B}if((A|0)==58){k[d+208>>2]=z;F=y;G=z;A=65;break}else if((A|0)==62){k[d+208>>2]=E;F=D;G=E;A=65;break}else if((A|0)==64){k[d+208>>2]=C;if(!C){F=d+208|0;G=C;A=65;break}else{H=m;I=C;break}}}else{k[d+208>>2]=a+32;F=a+32|0;G=a+32|0;A=65}while(0);if((A|0)==65){C=EPa(24)|0;k[C+16>>2]=b;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=G;k[F>>2]=C;G=k[k[a+28>>2]>>2]|0;if(!G)J=C;else{k[a+28>>2]=G;J=k[F>>2]|0}$c(k[a+32>>2]|0,J);k[a+36>>2]=(k[a+36>>2]|0)+1;H=k[a+32>>2]|0;I=C}C=k[I+20>>2]|0;do if(H){I=k[a+12>>2]|0;J=H;while(1){F=k[J+16>>2]|0;if((I|0)<(F|0)){G=k[J>>2]|0;if(!G){K=J;M=J;A=72;break}else N=G}else{if((F|0)>=(I|0)){O=J;A=78;break}P=J+4|0;F=k[P>>2]|0;if(!F){Q=J;A=76;break}else N=F}J=N}if((A|0)==72){k[d+208>>2]=M;R=K;S=I;T=M;A=79;break}else if((A|0)==76){k[d+208>>2]=Q;R=P;S=I;T=Q;A=79;break}else if((A|0)==78){k[d+208>>2]=O;if(!O){R=d+208|0;S=I;T=O;A=79;break}else{U=H;V=O;break}}}else{k[d+208>>2]=a+32;R=a+32|0;S=k[a+12>>2]|0;T=a+32|0;A=79}while(0);if((A|0)==79){O=EPa(24)|0;k[O+16>>2]=S;k[O+20>>2]=0;k[O>>2]=0;k[O+4>>2]=0;k[O+8>>2]=T;k[R>>2]=O;T=k[k[a+28>>2]>>2]|0;if(!T)W=O;else{k[a+28>>2]=T;W=k[R>>2]|0}$c(k[a+32>>2]|0,W);k[a+36>>2]=(k[a+36>>2]|0)+1;U=k[a+32>>2]|0;V=O}k[V+20>>2]=C;do if(U){C=k[a+12>>2]|0;V=U;while(1){O=k[V+16>>2]|0;if((C|0)<(O|0)){W=k[V>>2]|0;if(!W){X=V;Y=V;A=86;break}else Z=W}else{if((O|0)>=(C|0)){_=V;A=92;break}$=V+4|0;O=k[$>>2]|0;if(!O){aa=V;A=90;break}else Z=O}V=Z}if((A|0)==86){k[d+208>>2]=Y;ba=X;ca=C;da=Y;A=93;break}else if((A|0)==90){k[d+208>>2]=aa;ba=$;ca=C;da=aa;A=93;break}else if((A|0)==92){k[d+208>>2]=_;if(!_){ba=d+208|0;ca=C;da=_;A=93;break}else{ea=_;break}}}else{k[d+208>>2]=a+32;ba=a+32|0;ca=k[a+12>>2]|0;da=a+32|0;A=93}while(0);if((A|0)==93){_=EPa(24)|0;k[_+16>>2]=ca;k[_+20>>2]=0;k[_>>2]=0;k[_+4>>2]=0;k[_+8>>2]=da;k[ba>>2]=_;da=k[k[a+28>>2]>>2]|0;if(!da)fa=_;else{k[a+28>>2]=da;fa=k[ba>>2]|0}$c(k[a+32>>2]|0,fa);k[a+36>>2]=(k[a+36>>2]|0)+1;ea=_}_=ea+20|0;ea=k[a+44>>2]|0;do if(ea){fa=k[_>>2]|0;ba=ea;while(1){da=k[ba+16>>2]|0;if(fa>>>0>>0){ca=k[ba>>2]|0;if(!ca){ga=ba;ha=ba;A=100;break}else ia=ca}else{if(da>>>0>=fa>>>0){ja=ba;A=106;break}ka=ba+4|0;da=k[ka>>2]|0;if(!da){la=ba;A=104;break}else ia=da}ba=ia}if((A|0)==100){k[d+208>>2]=ha;ma=ga;na=ha;A=107;break}else if((A|0)==104){k[d+208>>2]=la;ma=ka;na=la;A=107;break}else if((A|0)==106){k[d+208>>2]=ja;if(!ja){ma=d+208|0;na=ja;A=107;break}else{oa=ja;break}}}else{k[d+208>>2]=a+44;ma=a+44|0;na=a+44|0;A=107}while(0);if((A|0)==107){ja=EPa(32)|0;k[ja+16>>2]=k[_>>2];k[ja+24>>2]=0;k[ja+28>>2]=0;k[ja+20>>2]=ja+24;k[ja>>2]=0;k[ja+4>>2]=0;k[ja+8>>2]=na;k[ma>>2]=ja;na=k[k[a+40>>2]>>2]|0;if(!na)pa=ja;else{k[a+40>>2]=na;pa=k[ma>>2]|0}$c(k[a+44>>2]|0,pa);k[a+48>>2]=(k[a+48>>2]|0)+1;oa=ja}ja=oa+20|0;pa=oa+24|0;ma=k[pa>>2]|0;do if(ma){na=k[a+12>>2]|0;_=ma;while(1){la=k[_+16>>2]|0;if((na|0)<(la|0)){ka=k[_>>2]|0;if(!ka){qa=_;ra=_;A=114;break}else ta=ka}else{if((la|0)>=(na|0)){va=_;A=119;break}wa=_+4|0;la=k[wa>>2]|0;if(!la){xa=_;A=118;break}else ta=la}_=ta}if((A|0)==114){k[d+208>>2]=ra;za=qa;Aa=ra;break}else if((A|0)==118){k[d+208>>2]=xa;za=wa;Aa=xa;break}else if((A|0)==119){k[d+208>>2]=va;za=d+208|0;Aa=va;break}}else{k[d+208>>2]=pa;za=pa;Aa=pa}while(0);if(k[za>>2]|0){r=d;return}pa=EPa(20)|0;k[pa+16>>2]=k[a+12>>2];k[pa>>2]=0;k[pa+4>>2]=0;k[pa+8>>2]=Aa;k[za>>2]=pa;Aa=k[k[ja>>2]>>2]|0;if(!Aa)Ba=pa;else{k[ja>>2]=Aa;Ba=k[za>>2]|0}$c(k[oa+24>>2]|0,Ba);Ba=oa+28|0;k[Ba>>2]=(k[Ba>>2]|0)+1;r=d;return}function rFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=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,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0;d=r;r=r+224|0;if((b|0)==-2147483647){k[d+184>>2]=0;k[d+184+4>>2]=0;k[d+184+8>>2]=0;k[d+184+12>>2]=0;k[d+184+16>>2]=0;k[d+184+20>>2]=-1;k[d+184>>2]=34316;k[d+184+4>>2]=34340;w=0;cb(138,d+152|0,282012,0);e=w;w=0;if(e&1){e=Ib()|0;f=e;g=L}else{k[d+168>>2]=13804;w=0;ua(724,d+168+4|0,d+152|0);e=w;w=0;if(e&1){e=Ib()|0;h=e;j=L}else{w=0;e=Sa(669,d+184|0,d+168|0)|0;l=w;w=0;if(!(l&1)){k[e+(k[(k[e>>2]|0)+-24>>2]|0)+8>>2]=266027;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+12>>2]=265270;k[e+(k[(k[e>>2]|0)+-24>>2]|0)+16>>2]=480;w=0;sa(1677,e|0);w=0}e=Ib()|0;l=L;k[d+168>>2]=13804;dTa(d+168+4|0);h=e;j=l}dTa(d+152|0);f=h;g=j}k[d+184+4>>2]=13668;j=k[d+184+8>>2]|0;if(j){w=0;h=ya(k[(k[j>>2]|0)+16>>2]|0,j|0)|0;j=w;w=0;if(j&1){j=Ib(0)|0;Zc(j)}if(h)k[d+184+8>>2]=0}m=f;n=g;Hb(m|0)}g=k[a+12>>2]|0;if((g|0)==(b|0)){r=d;return}if((g-b|0)>=17){k[d+128>>2]=0;k[d+128+4>>2]=0;k[d+128+8>>2]=0;k[d+128+12>>2]=0;k[d+128+16>>2]=0;k[d+128+20>>2]=-1;k[d+128>>2]=42276;k[d+128+4>>2]=42300;w=0;cb(138,d+96|0,265959,45);f=w;w=0;if(f&1){f=Ib()|0;o=f;p=L}else{k[d+112>>2]=13804;w=0;ua(724,d+112+4|0,d+96|0);f=w;w=0;if(f&1){f=Ib()|0;q=f;s=L}else{w=0;f=Sa(700,d+128|0,d+112|0)|0;h=w;w=0;if(!(h&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=266027;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=265270;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=484;w=0;sa(1683,f|0);w=0}f=Ib()|0;h=L;k[d+112>>2]=13804;dTa(d+112+4|0);q=f;s=h}dTa(d+96|0);o=q;p=s}k[d+128+4>>2]=13668;s=k[d+128+8>>2]|0;if(s){w=0;q=ya(k[(k[s>>2]|0)+16>>2]|0,s|0)|0;s=w;w=0;if(s&1){s=Ib(0)|0;Zc(s)}if(q)k[d+128+8>>2]=0}m=o;n=p;Hb(m|0)}if((g-b|0)<=0){k[d+72>>2]=0;k[d+72+4>>2]=0;k[d+72+8>>2]=0;k[d+72+12>>2]=0;k[d+72+16>>2]=0;k[d+72+20>>2]=-1;k[d+72>>2]=34316;k[d+72+4>>2]=34340;w=0;cb(138,d+44|0,266005,21);p=w;w=0;if(p&1){p=Ib()|0;t=p;u=L}else{k[d+56>>2]=13804;w=0;ua(724,d+56+4|0,d+44|0);p=w;w=0;if(p&1){p=Ib()|0;v=p;x=L}else{w=0;p=Sa(669,d+72|0,d+56|0)|0;o=w;w=0;if(!(o&1)){k[p+(k[(k[p>>2]|0)+-24>>2]|0)+8>>2]=266027;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+12>>2]=265270;k[p+(k[(k[p>>2]|0)+-24>>2]|0)+16>>2]=485;w=0;sa(1677,p|0);w=0}p=Ib()|0;o=L;k[d+56>>2]=13804;dTa(d+56+4|0);v=p;x=o}dTa(d+44|0);t=v;u=x}k[d+72+4>>2]=13668;x=k[d+72+8>>2]|0;if(x){w=0;v=ya(k[(k[x>>2]|0)+16>>2]|0,x|0)|0;x=w;w=0;if(x&1){x=Ib(0)|0;Zc(x)}if(v)k[d+72+8>>2]=0}m=t;n=u;Hb(m|0)}u=Yl(g-b|0)|0;k[d>>2]=1;i[d+4>>0]=u;k[d+8>>2]=0;k[d+12>>2]=0;u=k[c+4>>2]|0;k[d+16>>2]=k[c>>2];k[d+16+4>>2]=u;k[d+24>>2]=k[c+8>>2];u=k[c+12>>2]|0;k[d+28>>2]=u;if(u)OSa(u);k[d+32>>2]=0;k[d+36>>2]=0;k[d+40>>2]=0;w=0;ua(1118,a|0,d|0);u=w;w=0;if(u&1){u=Ib()|0;c=L;g=k[d+40>>2]|0;if(g)QSa(g);g=k[d+28>>2]|0;if(g)QSa(g);g=k[d+12>>2]|0;if(!g){m=u;n=c;Hb(m|0)}QSa(g);m=u;n=c;Hb(m|0)}m=k[d+40>>2]|0;if(m)QSa(m);m=k[d+28>>2]|0;if(m)QSa(m);m=k[d+12>>2]|0;if(m)QSa(m);m=k[a+32>>2]|0;do if(m){c=k[a+12>>2]|0;n=m;while(1){u=k[n+16>>2]|0;if((c|0)<(u|0)){g=k[n>>2]|0;if(!g){y=n;z=n;A=60;break}else B=g}else{if((u|0)>=(c|0)){C=n;A=66;break}D=n+4|0;u=k[D>>2]|0;if(!u){E=n;A=64;break}else B=u}n=B}if((A|0)==60){k[d+208>>2]=z;F=y;G=c;H=z;A=67;break}else if((A|0)==64){k[d+208>>2]=E;F=D;G=c;H=E;A=67;break}else if((A|0)==66){k[d+208>>2]=C;if(!C){F=d+208|0;G=c;H=C;A=67;break}else{I=m;J=C;break}}}else{k[d+208>>2]=a+32;F=a+32|0;G=k[a+12>>2]|0;H=a+32|0;A=67}while(0);if((A|0)==67){C=EPa(24)|0;k[C+16>>2]=G;k[C+20>>2]=0;k[C>>2]=0;k[C+4>>2]=0;k[C+8>>2]=H;k[F>>2]=C;H=k[k[a+28>>2]>>2]|0;if(!H)K=C;else{k[a+28>>2]=H;K=k[F>>2]|0}$c(k[a+32>>2]|0,K);k[a+36>>2]=(k[a+36>>2]|0)+1;I=k[a+32>>2]|0;J=C}C=k[J+20>>2]|0;do if(I){J=I;while(1){K=k[J+16>>2]|0;if((K|0)>(b|0)){F=k[J>>2]|0;if(!F){M=J;N=J;A=73;break}else O=F}else{if((K|0)>=(b|0)){P=J;A=79;break}Q=J+4|0;K=k[Q>>2]|0;if(!K){R=J;A=77;break}else O=K}J=O}if((A|0)==73){k[d+208>>2]=N;S=M;T=N;A=80;break}else if((A|0)==77){k[d+208>>2]=R;S=Q;T=R;A=80;break}else if((A|0)==79){k[d+208>>2]=P;if(!P){S=d+208|0;T=P;A=80;break}else{U=P;break}}}else{k[d+208>>2]=a+32;S=a+32|0;T=a+32|0;A=80}while(0);if((A|0)==80){P=EPa(24)|0;k[P+16>>2]=b;k[P+20>>2]=0;k[P>>2]=0;k[P+4>>2]=0;k[P+8>>2]=T;k[S>>2]=P;T=k[k[a+28>>2]>>2]|0;if(!T)V=P;else{k[a+28>>2]=T;V=k[S>>2]|0}$c(k[a+32>>2]|0,V);k[a+36>>2]=(k[a+36>>2]|0)+1;U=P}if((C|0)!=(k[U+20>>2]|0)){U=k[a+32>>2]|0;do if(U){C=k[a+12>>2]|0;P=U;while(1){V=k[P+16>>2]|0;if((C|0)<(V|0)){S=k[P>>2]|0;if(!S){W=P;X=P;A=88;break}else Y=S}else{if((V|0)>=(C|0)){Z=P;A=94;break}_=P+4|0;V=k[_>>2]|0;if(!V){$=P;A=92;break}else Y=V}P=Y}if((A|0)==88){k[d+208>>2]=X;aa=W;ba=C;ca=X;A=95;break}else if((A|0)==92){k[d+208>>2]=$;aa=_;ba=C;ca=$;A=95;break}else if((A|0)==94){k[d+208>>2]=Z;if(!Z){aa=d+208|0;ba=C;ca=Z;A=95;break}else{da=Z;break}}}else{k[d+208>>2]=a+32;aa=a+32|0;ba=k[a+12>>2]|0;ca=a+32|0;A=95}while(0);if((A|0)==95){Z=EPa(24)|0;k[Z+16>>2]=ba;k[Z+20>>2]=0;k[Z>>2]=0;k[Z+4>>2]=0;k[Z+8>>2]=ca;k[aa>>2]=Z;ca=k[k[a+28>>2]>>2]|0;if(!ca)ea=Z;else{k[a+28>>2]=ca;ea=k[aa>>2]|0}$c(k[a+32>>2]|0,ea);k[a+36>>2]=(k[a+36>>2]|0)+1;da=Z}Z=da+20|0;da=k[a+44>>2]|0;do if(da){ea=k[Z>>2]|0;aa=da;while(1){ca=k[aa+16>>2]|0;if(ea>>>0>>0){ba=k[aa>>2]|0;if(!ba){fa=aa;ga=aa;A=102;break}else ha=ba}else{if(ca>>>0>=ea>>>0){ia=aa;A=108;break}ja=aa+4|0;ca=k[ja>>2]|0;if(!ca){ka=aa;A=106;break}else ha=ca}aa=ha}if((A|0)==102){k[d+208>>2]=ga;la=fa;ma=ga;A=109;break}else if((A|0)==106){k[d+208>>2]=ka;la=ja;ma=ka;A=109;break}else if((A|0)==108){k[d+208>>2]=ia;if(!ia){la=d+208|0;ma=ia;A=109;break}else{na=ia;break}}}else{k[d+208>>2]=a+44;la=a+44|0;ma=a+44|0;A=109}while(0);if((A|0)==109){ia=EPa(32)|0;k[ia+16>>2]=k[Z>>2];k[ia+24>>2]=0;k[ia+28>>2]=0;k[ia+20>>2]=ia+24;k[ia>>2]=0;k[ia+4>>2]=0;k[ia+8>>2]=ma;k[la>>2]=ia;ma=k[k[a+40>>2]>>2]|0;if(!ma)oa=ia;else{k[a+40>>2]=ma;oa=k[la>>2]|0}$c(k[a+44>>2]|0,oa);k[a+48>>2]=(k[a+48>>2]|0)+1;na=ia}ia=na+20|0;oa=na+24|0;la=k[oa>>2]|0;if(la){ma=k[a+12>>2]|0;Z=oa;ka=la;a:while(1){ja=ka;while(1){if((k[ja+16>>2]|0)>=(ma|0)){pa=ja;break}ja=k[ja+4>>2]|0;if(!ja){qa=Z;break a}}ka=k[pa>>2]|0;if(!ka){qa=pa;break}else Z=pa}if((qa|0)!=(oa|0)?(ma|0)>=(k[qa+16>>2]|0):0){ma=k[qa+4>>2]|0;if(!ma){oa=qa;while(1){pa=k[oa+8>>2]|0;if((k[pa>>2]|0)==(oa|0)){ra=pa;break}else oa=pa}}else{oa=ma;while(1){ma=k[oa>>2]|0;if(!ma){ra=oa;break}else oa=ma}}if((k[ia>>2]|0)==(qa|0))k[ia>>2]=ra;ra=na+28|0;k[ra>>2]=(k[ra>>2]|0)+-1;ov(la,qa);GPa(qa)}}qa=k[a+32>>2]|0;do if(qa){la=k[a+12>>2]|0;ra=qa;while(1){na=k[ra+16>>2]|0;if((la|0)<(na|0)){ia=k[ra>>2]|0;if(!ia){ta=ra;va=ra;A=131;break}else wa=ia}else{if((na|0)>=(la|0)){xa=ra;A=137;break}za=ra+4|0;na=k[za>>2]|0;if(!na){Aa=ra;A=135;break}else wa=na}ra=wa}if((A|0)==131){k[d+208>>2]=va;Ba=ta;Ca=va;A=138;break}else if((A|0)==135){k[d+208>>2]=Aa;Ba=za;Ca=Aa;A=138;break}else if((A|0)==137){k[d+208>>2]=xa;if(!xa){Ba=d+208|0;Ca=xa;A=138;break}else{Da=xa;break}}}else{k[d+208>>2]=a+32;Ba=a+32|0;Ca=a+32|0;A=138}while(0);if((A|0)==138){xa=EPa(24)|0;k[xa+16>>2]=k[a+12>>2];k[xa+20>>2]=0;k[xa>>2]=0;k[xa+4>>2]=0;k[xa+8>>2]=Ca;k[Ba>>2]=xa;Ca=k[k[a+28>>2]>>2]|0;if(!Ca)Ea=xa;else{k[a+28>>2]=Ca;Ea=k[Ba>>2]|0}$c(k[a+32>>2]|0,Ea);k[a+36>>2]=(k[a+36>>2]|0)+1;Da=xa}xa=Da+20|0;Da=k[a+44>>2]|0;do if(Da){Ea=k[xa>>2]|0;Ba=Da;while(1){Ca=k[Ba+16>>2]|0;if(Ea>>>0>>0){Aa=k[Ba>>2]|0;if(!Aa){Fa=Ba;Ga=Ba;A=145;break}else Ha=Aa}else{if(Ca>>>0>=Ea>>>0){Ia=Ba;A=151;break}Ja=Ba+4|0;Ca=k[Ja>>2]|0;if(!Ca){Ka=Ba;A=149;break}else Ha=Ca}Ba=Ha}if((A|0)==145){k[d+208>>2]=Ga;La=Fa;Ma=Ga;A=152;break}else if((A|0)==149){k[d+208>>2]=Ka;La=Ja;Ma=Ka;A=152;break}else if((A|0)==151){k[d+208>>2]=Ia;if(!Ia){La=d+208|0;Ma=Ia;A=152;break}else{Na=Ia;break}}}else{k[d+208>>2]=a+44;La=a+44|0;Ma=a+44|0;A=152}while(0);if((A|0)==152){Ia=EPa(32)|0;k[Ia+16>>2]=k[xa>>2];k[Ia+24>>2]=0;k[Ia+28>>2]=0;k[Ia+20>>2]=Ia+24;k[Ia>>2]=0;k[Ia+4>>2]=0;k[Ia+8>>2]=Ma;k[La>>2]=Ia;Ma=k[k[a+40>>2]>>2]|0;if(!Ma)Oa=Ia;else{k[a+40>>2]=Ma;Oa=k[La>>2]|0}$c(k[a+44>>2]|0,Oa);k[a+48>>2]=(k[a+48>>2]|0)+1;Na=Ia}Ia=Na+20|0;Oa=Na+24|0;La=k[Oa>>2]|0;do if(La){Ma=La;while(1){xa=k[Ma+16>>2]|0;if((xa|0)>(b|0)){Ka=k[Ma>>2]|0;if(!Ka){Pa=Ma;Qa=Ma;A=158;break}else Ra=Ka}else{if((xa|0)>=(b|0)){Ta=Ma;A=163;break}Ua=Ma+4|0;xa=k[Ua>>2]|0;if(!xa){Va=Ma;A=162;break}else Ra=xa}Ma=Ra}if((A|0)==158){k[d+208>>2]=Qa;Wa=Pa;Xa=Qa;break}else if((A|0)==162){k[d+208>>2]=Va;Wa=Ua;Xa=Va;break}else if((A|0)==163){k[d+208>>2]=Ta;Wa=d+208|0;Xa=Ta;break}}else{k[d+208>>2]=Oa;Wa=Oa;Xa=Oa}while(0);if(!(k[Wa>>2]|0)){Oa=EPa(20)|0;k[Oa+16>>2]=b;k[Oa>>2]=0;k[Oa+4>>2]=0;k[Oa+8>>2]=Xa;k[Wa>>2]=Oa;Xa=k[k[Ia>>2]>>2]|0;if(!Xa)Ya=Oa;else{k[Ia>>2]=Xa;Ya=k[Wa>>2]|0}$c(k[Na+24>>2]|0,Ya);Ya=Na+28|0;k[Ya>>2]=(k[Ya>>2]|0)+1}Ya=k[a+32>>2]|0;do if(Ya){Na=Ya;while(1){Wa=k[Na+16>>2]|0;if((Wa|0)>(b|0)){Xa=k[Na>>2]|0;if(!Xa){Za=Na;_a=Na;A=172;break}else $a=Xa}else{if((Wa|0)>=(b|0)){ab=Na;A=178;break}bb=Na+4|0;Wa=k[bb>>2]|0;if(!Wa){db=Na;A=176;break}else $a=Wa}Na=$a}if((A|0)==172){k[d+208>>2]=_a;eb=Za;fb=_a;A=179;break}else if((A|0)==176){k[d+208>>2]=db;eb=bb;fb=db;A=179;break}else if((A|0)==178){k[d+208>>2]=ab;if(!ab){eb=d+208|0;fb=ab;A=179;break}else{gb=ab;break}}}else{k[d+208>>2]=a+32;eb=a+32|0;fb=a+32|0;A=179}while(0);if((A|0)==179){ab=EPa(24)|0;k[ab+16>>2]=b;k[ab+20>>2]=0;k[ab>>2]=0;k[ab+4>>2]=0;k[ab+8>>2]=fb;k[eb>>2]=ab;fb=k[k[a+28>>2]>>2]|0;if(!fb)hb=ab;else{k[a+28>>2]=fb;hb=k[eb>>2]|0}$c(k[a+32>>2]|0,hb);k[a+36>>2]=(k[a+36>>2]|0)+1;gb=ab}ab=gb+20|0;gb=k[a+44>>2]|0;do if(gb){hb=k[ab>>2]|0;eb=gb;while(1){fb=k[eb+16>>2]|0;if(hb>>>0>>0){db=k[eb>>2]|0;if(!db){ib=eb;jb=eb;A=186;break}else kb=db}else{if(fb>>>0>=hb>>>0){lb=eb;A=192;break}mb=eb+4|0;fb=k[mb>>2]|0;if(!fb){nb=eb;A=190;break}else kb=fb}eb=kb}if((A|0)==186){k[d+208>>2]=jb;ob=ib;pb=jb;A=193;break}else if((A|0)==190){k[d+208>>2]=nb;ob=mb;pb=nb;A=193;break}else if((A|0)==192){k[d+208>>2]=lb;if(!lb){ob=d+208|0;pb=lb;A=193;break}else{qb=lb;break}}}else{k[d+208>>2]=a+44;ob=a+44|0;pb=a+44|0;A=193}while(0);if((A|0)==193){lb=EPa(32)|0;k[lb+16>>2]=k[ab>>2];k[lb+24>>2]=0;k[lb+28>>2]=0;k[lb+20>>2]=lb+24;k[lb>>2]=0;k[lb+4>>2]=0;k[lb+8>>2]=pb;k[ob>>2]=lb;pb=k[k[a+40>>2]>>2]|0;if(!pb)rb=lb;else{k[a+40>>2]=pb;rb=k[ob>>2]|0}$c(k[a+44>>2]|0,rb);k[a+48>>2]=(k[a+48>>2]|0)+1;qb=lb}lb=qb+20|0;rb=qb+24|0;ob=k[rb>>2]|0;do if(ob){pb=rb;ab=ob;b:while(1){nb=ab;while(1){if((k[nb+16>>2]|0)>=(b|0)){sb=nb;break}nb=k[nb+4>>2]|0;if(!nb){tb=pb;break b}}ab=k[sb>>2]|0;if(!ab){tb=sb;break}else pb=sb}if((tb|0)==(rb|0))break;if((k[tb+16>>2]|0)>(b|0))break;pb=k[tb+4>>2]|0;if(!pb){ab=tb;while(1){nb=k[ab+8>>2]|0;if((k[nb>>2]|0)==(ab|0)){ub=nb;break}else ab=nb}}else{ab=pb;while(1){nb=k[ab>>2]|0;if(!nb){ub=ab;break}else ab=nb}}if((k[lb>>2]|0)==(tb|0))k[lb>>2]=ub;ab=qb+28|0;k[ab>>2]=(k[ab>>2]|0)+-1;ov(ob,tb);GPa(tb)}while(0);tb=k[a+32>>2]|0;do if(tb){ob=tb;while(1){qb=k[ob+16>>2]|0;if((qb|0)>(b|0)){ub=k[ob>>2]|0;if(!ub){vb=ob;wb=ob;A=213;break}else xb=ub}else{if((qb|0)>=(b|0)){yb=ob;A=219;break}zb=ob+4|0;qb=k[zb>>2]|0;if(!qb){Ab=ob;A=217;break}else xb=qb}ob=xb}if((A|0)==213){k[d+208>>2]=wb;Bb=vb;Cb=wb;A=220;break}else if((A|0)==217){k[d+208>>2]=Ab;Bb=zb;Cb=Ab;A=220;break}else if((A|0)==219){k[d+208>>2]=yb;if(!yb){Bb=d+208|0;Cb=yb;A=220;break}else{Db=yb;break}}}else{k[d+208>>2]=a+32;Bb=a+32|0;Cb=a+32|0;A=220}while(0);if((A|0)==220){yb=EPa(24)|0;k[yb+16>>2]=b;k[yb+20>>2]=0;k[yb>>2]=0;k[yb+4>>2]=0;k[yb+8>>2]=Cb;k[Bb>>2]=yb;Cb=k[k[a+28>>2]>>2]|0;if(!Cb)Eb=yb;else{k[a+28>>2]=Cb;Eb=k[Bb>>2]|0}$c(k[a+32>>2]|0,Eb);k[a+36>>2]=(k[a+36>>2]|0)+1;Db=yb}yb=Db+20|0;Db=k[a+44>>2]|0;do if(Db){Eb=k[yb>>2]|0;Bb=Db;while(1){Cb=k[Bb+16>>2]|0;if(Eb>>>0>>0){Ab=k[Bb>>2]|0;if(!Ab){Fb=Bb;Gb=Bb;A=227;break}else Jb=Ab}else{if(Cb>>>0>=Eb>>>0){Kb=Bb;A=233;break}Lb=Bb+4|0;Cb=k[Lb>>2]|0;if(!Cb){Mb=Bb;A=231;break}else Jb=Cb}Bb=Jb}if((A|0)==227){k[d+208>>2]=Gb;Nb=Fb;Ob=Gb;A=234;break}else if((A|0)==231){k[d+208>>2]=Mb;Nb=Lb;Ob=Mb;A=234;break}else if((A|0)==233){k[d+208>>2]=Kb;if(!Kb){Nb=d+208|0;Ob=Kb;A=234;break}else{Pb=Kb;break}}}else{k[d+208>>2]=a+44;Nb=a+44|0;Ob=a+44|0;A=234}while(0);if((A|0)==234){Kb=EPa(32)|0;k[Kb+16>>2]=k[yb>>2];k[Kb+24>>2]=0;k[Kb+28>>2]=0;k[Kb+20>>2]=Kb+24;k[Kb>>2]=0;k[Kb+4>>2]=0;k[Kb+8>>2]=Ob;k[Nb>>2]=Kb;Ob=k[k[a+40>>2]>>2]|0;if(!Ob)Qb=Kb;else{k[a+40>>2]=Ob;Qb=k[Nb>>2]|0}$c(k[a+44>>2]|0,Qb);k[a+48>>2]=(k[a+48>>2]|0)+1;Pb=Kb}Kb=Pb+20|0;Qb=Pb+24|0;Nb=k[Qb>>2]|0;do if(Nb){Ob=k[a+12>>2]|0;yb=Nb;while(1){Mb=k[yb+16>>2]|0;if((Ob|0)<(Mb|0)){Lb=k[yb>>2]|0;if(!Lb){Rb=yb;Sb=yb;A=241;break}else Tb=Lb}else{if((Mb|0)>=(Ob|0)){Ub=yb;A=246;break}Vb=yb+4|0;Mb=k[Vb>>2]|0;if(!Mb){Wb=yb;A=245;break}else Tb=Mb}yb=Tb}if((A|0)==241){k[d+208>>2]=Sb;Xb=Rb;Yb=Sb;break}else if((A|0)==245){k[d+208>>2]=Wb;Xb=Vb;Yb=Wb;break}else if((A|0)==246){k[d+208>>2]=Ub;Xb=d+208|0;Yb=Ub;break}}else{k[d+208>>2]=Qb;Xb=Qb;Yb=Qb}while(0);if(!(k[Xb>>2]|0)){Qb=EPa(20)|0;k[Qb+16>>2]=k[a+12>>2];k[Qb>>2]=0;k[Qb+4>>2]=0;k[Qb+8>>2]=Yb;k[Xb>>2]=Qb;Yb=k[k[Kb>>2]>>2]|0;if(!Yb)Zb=Qb;else{k[Kb>>2]=Yb;Zb=k[Xb>>2]|0}$c(k[Pb+24>>2]|0,Zb);Zb=Pb+28|0;k[Zb>>2]=(k[Zb>>2]|0)+1}Zb=k[a+32>>2]|0;do if(Zb){Pb=k[a+12>>2]|0;Xb=Zb;while(1){Yb=k[Xb+16>>2]|0;if((Pb|0)<(Yb|0)){Kb=k[Xb>>2]|0;if(!Kb){_b=Xb;$b=Xb;A=256;break}else ac=Kb}else{if((Yb|0)>=(Pb|0)){bc=Xb;A=262;break}cc=Xb+4|0;Yb=k[cc>>2]|0;if(!Yb){dc=Xb;A=260;break}else ac=Yb}Xb=ac}if((A|0)==256){k[d+208>>2]=$b;ec=_b;fc=$b;A=263;break}else if((A|0)==260){k[d+208>>2]=dc;ec=cc;fc=dc;A=263;break}else if((A|0)==262){k[d+208>>2]=bc;if(!bc){ec=d+208|0;fc=bc;A=263;break}else{gc=Zb;hc=bc;break}}}else{k[d+208>>2]=a+32;ec=a+32|0;fc=a+32|0;A=263}while(0);if((A|0)==263){bc=EPa(24)|0;k[bc+16>>2]=k[a+12>>2];k[bc+20>>2]=0;k[bc>>2]=0;k[bc+4>>2]=0;k[bc+8>>2]=fc;k[ec>>2]=bc;fc=k[k[a+28>>2]>>2]|0;if(!fc)ic=bc;else{k[a+28>>2]=fc;ic=k[ec>>2]|0}$c(k[a+32>>2]|0,ic);k[a+36>>2]=(k[a+36>>2]|0)+1;gc=k[a+32>>2]|0;hc=bc}bc=hc+20|0;do if(gc){hc=gc;while(1){ic=k[hc+16>>2]|0;if((ic|0)>(b|0)){ec=k[hc>>2]|0;if(!ec){jc=hc;kc=hc;A=269;break}else lc=ec}else{if((ic|0)>=(b|0)){mc=hc;A=275;break}nc=hc+4|0;ic=k[nc>>2]|0;if(!ic){oc=hc;A=273;break}else lc=ic}hc=lc}if((A|0)==269){k[d+208>>2]=kc;pc=jc;qc=kc;A=276;break}else if((A|0)==273){k[d+208>>2]=oc;pc=nc;qc=oc;A=276;break}else if((A|0)==275){k[d+208>>2]=mc;if(!mc){pc=d+208|0;qc=mc;A=276;break}else{rc=mc;break}}}else{k[d+208>>2]=a+32;pc=a+32|0;qc=a+32|0;A=276}while(0);if((A|0)==276){A=EPa(24)|0;k[A+16>>2]=b;k[A+20>>2]=0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=qc;k[pc>>2]=A;qc=k[k[a+28>>2]>>2]|0;if(!qc)sc=A;else{k[a+28>>2]=qc;sc=k[pc>>2]|0}$c(k[a+32>>2]|0,sc);k[a+36>>2]=(k[a+36>>2]|0)+1;rc=A}A=rc+20|0;rc=k[bc>>2]|0;k[bc>>2]=k[A>>2];k[A>>2]=rc}rc=k[a+4>>2]|0;if(((rc-(k[a>>2]|0)|0)/44|0)>>>0<=1){r=d;return}if(!(Eka(rc+-44|0)|0)){r=d;return}rc=k[a+4>>2]|0;A=k[rc+-88>>2]|0;if((A|0)!=(k[rc+-44>>2]|0)){r=d;return}c:do if((A|0)==1){bc=cja(rc+-88|0)|0;if(bc<<24>>24!=(cja(rc+-44|0)|0)<<24>>24){r=d;return}}else{bc=ih(rc+-88|0)|0;sc=ih(rc+-44|0)|0;pc=k[bc+32>>2]|0;if((pc|0)!=(k[sc+32>>2]|0)){r=d;return}if((bc|0)!=(bc+(pc<<2)|0)){qc=bc;b=sc;while(1){if((k[qc>>2]|0)!=(k[b>>2]|0))break;qc=qc+4|0;if((qc|0)==(bc+(pc<<2)|0))break c;else b=b+4|0}r=d;return}}while(0);rc=k[a+4>>2]|0;A=rc;do{k[a+4>>2]=A+-44;b=k[A+-4>>2]|0;if(b)QSa(b);b=k[A+-16>>2]|0;if(b)QSa(b);b=k[A+-32>>2]|0;if(b)QSa(b);A=k[a+4>>2]|0}while((A|0)!=(rc+-44|0));A=rc+-44|0;do{k[a+4>>2]=A+-44;b=k[A+-4>>2]|0;if(b)QSa(b);b=k[A+-16>>2]|0;if(b)QSa(b);b=k[A+-32>>2]|0;if(b)QSa(b);A=k[a+4>>2]|0}while((A|0)!=(rc+-88|0));r=d;return}function sFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;b=r;r=r+112|0;if(!(k[a+36>>2]|0)){c=0;r=b;return c|0}d=k[a+32>>2]|0;a:do if(d){e=k[a+12>>2]|0;f=d;while(1){g=k[f+16>>2]|0;if((e|0)<(g|0))h=f;else{if((g|0)>=(e|0))break;h=f+4|0}f=k[h>>2]|0;if(!f)break a}f=d;while(1){g=k[f+16>>2]|0;if((e|0)<(g|0)){j=k[f>>2]|0;if(!j){l=f;m=f;n=26;break}else o=j}else{if((g|0)>=(e|0)){p=f;n=31;break}q=f+4|0;g=k[q>>2]|0;if(!g){s=f;n=30;break}else o=g}f=o}if((n|0)==26){k[b+96>>2]=m;t=l;u=m;n=32}else if((n|0)==30){k[b+96>>2]=s;t=q;u=s;n=32}else if((n|0)==31){k[b+96>>2]=p;if(!p){t=b+96|0;u=p;n=32}else{v=e;x=p}}if((n|0)==32){f=EPa(24)|0;k[f+16>>2]=e;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=u;k[t>>2]=f;g=k[k[a+28>>2]>>2]|0;if(!g)y=f;else{k[a+28>>2]=g;y=k[t>>2]|0}$c(k[a+32>>2]|0,y);k[a+36>>2]=(k[a+36>>2]|0)+1;v=k[a+12>>2]|0;x=f}if(!(tFa(a,k[x+20>>2]|0,-1,v)|0)){c=0;r=b;return c|0}f=k[a+32>>2]|0;do if(f){g=k[a+12>>2]|0;j=f;while(1){z=k[j+16>>2]|0;if((g|0)<(z|0)){A=k[j>>2]|0;if(!A){B=j;C=j;n=40;break}else D=A}else{if((z|0)>=(g|0)){E=j;n=46;break}F=j+4|0;z=k[F>>2]|0;if(!z){G=j;n=44;break}else D=z}j=D}if((n|0)==40){k[b+96>>2]=C;H=B;I=g;J=C;n=47;break}else if((n|0)==44){k[b+96>>2]=G;H=F;I=g;J=G;n=47;break}else if((n|0)==46){k[b+96>>2]=E;if(!E){H=b+96|0;I=g;J=E;n=47;break}else{K=E;break}}}else{k[b+96>>2]=a+32;H=a+32|0;I=k[a+12>>2]|0;J=a+32|0;n=47}while(0);if((n|0)==47){f=EPa(24)|0;k[f+16>>2]=I;k[f+20>>2]=0;k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=J;k[H>>2]=f;e=k[k[a+28>>2]>>2]|0;if(!e)M=f;else{k[a+28>>2]=e;M=k[H>>2]|0}$c(k[a+32>>2]|0,M);k[a+36>>2]=(k[a+36>>2]|0)+1;K=f}f=K+20|0;e=k[a+44>>2]|0;do if(e){j=k[f>>2]|0;z=e;while(1){A=k[z+16>>2]|0;if(j>>>0>>0){N=k[z>>2]|0;if(!N){O=z;P=z;n=54;break}else Q=N}else{if(A>>>0>=j>>>0){R=z;n=60;break}S=z+4|0;A=k[S>>2]|0;if(!A){T=z;n=58;break}else Q=A}z=Q}if((n|0)==54){k[b+96>>2]=P;U=O;V=P;n=61;break}else if((n|0)==58){k[b+96>>2]=T;U=S;V=T;n=61;break}else if((n|0)==60){k[b+96>>2]=R;if(!R){U=b+96|0;V=R;n=61;break}else{W=R;break}}}else{k[b+96>>2]=a+44;U=a+44|0;V=a+44|0;n=61}while(0);if((n|0)==61){e=EPa(32)|0;k[e+16>>2]=k[f>>2];k[e+24>>2]=0;k[e+28>>2]=0;k[e+20>>2]=e+24;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=V;k[U>>2]=e;z=k[k[a+40>>2]>>2]|0;if(!z)X=e;else{k[a+40>>2]=z;X=k[U>>2]|0}$c(k[a+44>>2]|0,X);k[a+48>>2]=(k[a+48>>2]|0)+1;W=e}e=W+20|0;z=W+24|0;j=k[z>>2]|0;if(j){g=k[a+12>>2]|0;A=z;N=j;b:while(1){Y=N;while(1){if((k[Y+16>>2]|0)>=(g|0)){Z=Y;break}Y=k[Y+4>>2]|0;if(!Y){_=A;break b}}N=k[Z>>2]|0;if(!N){_=Z;break}else A=Z}if((_|0)!=(z|0)?(g|0)>=(k[_+16>>2]|0):0){A=k[_+4>>2]|0;if(!A){N=_;while(1){f=k[N+8>>2]|0;if((k[f>>2]|0)==(N|0)){$=f;break}else N=f}}else{N=A;while(1){g=k[N>>2]|0;if(!g){$=N;break}else N=g}}if((k[e>>2]|0)==(_|0))k[e>>2]=$;N=W+28|0;k[N>>2]=(k[N>>2]|0)+-1;ov(j,_);GPa(_)}}N=k[a+32>>2]|0;if(N){A=k[a+12>>2]|0;g=a+32|0;z=N;c:while(1){f=z;while(1){if((k[f+16>>2]|0)>=(A|0)){aa=f;break}f=k[f+4>>2]|0;if(!f){ba=g;break c}}z=k[aa>>2]|0;if(!z){ba=aa;break}else g=aa}if((ba|0)!=(a+32|0)?(A|0)>=(k[ba+16>>2]|0):0){g=k[ba+4>>2]|0;if(!g){z=ba;while(1){j=k[z+8>>2]|0;if((k[j>>2]|0)==(z|0)){ca=j;break}else z=j}}else{z=g;while(1){A=k[z>>2]|0;if(!A){ca=z;break}else z=A}}if((k[a+28>>2]|0)==(ba|0))k[a+28>>2]=ca;k[a+36>>2]=(k[a+36>>2]|0)+-1;ov(N,ba);GPa(ba)}}k[b>>2]=1;i[b+4>>0]=80;k[b+8>>2]=0;k[b+12>>2]=0;k[b+16>>2]=-1;k[b+16+4>>2]=-1;k[b+24>>2]=0;k[b+24+4>>2]=0;k[b+24+8>>2]=0;k[b+24+12>>2]=0;k[b+24+16>>2]=0;w=0;ua(1118,a|0,b|0);z=w;w=0;if(z&1){z=Ib()|0;g=L;A=k[b+40>>2]|0;if(A)QSa(A);A=k[b+28>>2]|0;if(A)QSa(A);A=k[b+12>>2]|0;if(!A){da=g;ea=z;Hb(ea|0)}QSa(A);da=g;ea=z;Hb(ea|0)}else{z=k[b+40>>2]|0;if(z)QSa(z);z=k[b+28>>2]|0;if(z)QSa(z);z=k[b+12>>2]|0;if(!z){c=1;r=b;return c|0}QSa(z);c=1;r=b;return c|0}}while(0);k[b+72>>2]=0;k[b+72+4>>2]=0;k[b+72+8>>2]=0;k[b+72+12>>2]=0;k[b+72+16>>2]=0;k[b+72+20>>2]=-1;k[b+72>>2]=34316;k[b+72+4>>2]=34340;w=0;cb(138,b+44|0,282012,0);c=w;w=0;if(c&1){c=Ib()|0;fa=L;ga=c}else{k[b+56>>2]=13804;w=0;ua(724,b+56+4|0,b+44|0);c=w;w=0;if(c&1){c=Ib()|0;ha=L;ia=c}else{w=0;c=Sa(669,b+72|0,b+56|0)|0;a=w;w=0;if(!(a&1)){k[c+(k[(k[c>>2]|0)+-24>>2]|0)+8>>2]=266113;k[c+(k[(k[c>>2]|0)+-24>>2]|0)+12>>2]=265270;k[c+(k[(k[c>>2]|0)+-24>>2]|0)+16>>2]=457;w=0;sa(1677,c|0);w=0}c=Ib()|0;a=L;k[b+56>>2]=13804;dTa(b+56+4|0);ha=a;ia=c}dTa(b+44|0);fa=ha;ga=ia}k[b+72+4>>2]=13668;ia=k[b+72+8>>2]|0;if(ia){w=0;ha=ya(k[(k[ia>>2]|0)+16>>2]|0,ia|0)|0;ia=w;w=0;if(ia&1){ia=Ib(0)|0;Zc(ia)}if(ha)k[b+72+8>>2]=0}da=fa;ea=ga;Hb(ea|0);return 0}function tFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=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;e=r;r=r+16|0;if((d|0)==-2147483647)f=pFa(a,b)|0;else f=d;d=k[a+44>>2]|0;a:do if(d){g=d;while(1){h=k[g+16>>2]|0;if(h>>>0>b>>>0){i=k[g>>2]|0;if(!i)break a;else j=i}else{if(h>>>0>=b>>>0){l=g;break}h=k[g+4>>2]|0;if(!h)break a;else j=h}g=j}if(l){g=(k[l+28>>2]|0)>>>0>1;h=k[a+72>>2]|0;b:do if(h){i=h;while(1){m=k[i+16>>2]|0;if(m>>>0>b>>>0)n=i;else{if(m>>>0>=b>>>0)break;n=i+4|0}i=k[n>>2]|0;if(!i)break b}if(!g){o=0;r=e;return o|0}i=k[a+84>>2]|0;if(!i){o=1;r=e;return o|0}else p=i;while(1){m=k[p+16>>2]|0;if((f|0)<(m|0))q=p;else{if((m|0)>=(f|0))break;q=p+4|0}p=k[q>>2]|0;if(!p){o=1;s=69;break}}if((s|0)==69){r=e;return o|0}m=i;while(1){t=k[m+16>>2]|0;if((f|0)<(t|0)){u=k[m>>2]|0;if(!u){v=m;x=m;s=29;break}else y=u}else{if((t|0)>=(f|0)){z=m;s=34;break}A=m+4|0;t=k[A>>2]|0;if(!t){B=m;s=33;break}else y=t}m=y}if((s|0)==29){k[e>>2]=x;C=v;D=x;s=35}else if((s|0)==33){k[e>>2]=B;C=A;D=B;s=35}else if((s|0)==34){k[e>>2]=z;if(!z){C=e;D=z;s=35}else E=z}if((s|0)==35){m=EPa(24)|0;k[m+16>>2]=f;k[m+20>>2]=0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=D;k[C>>2]=m;i=k[k[a+80>>2]>>2]|0;if(!i)F=m;else{k[a+80>>2]=i;F=k[C>>2]|0}$c(k[a+84>>2]|0,F);k[a+88>>2]=(k[a+88>>2]|0)+1;E=m}o=(k[E+20>>2]|0)!=(b|0);r=e;return o|0}while(0);if(g){o=1;r=e;return o|0}h=k[a+20>>2]|0;c:do if(!h){G=a+20|0;s=57}else{m=a+20|0;i=h;d:while(1){t=i;while(1){u=k[t+16>>2]|0;if(u>>>0>b>>>0){H=t;break}if(u>>>0>=b>>>0){I=m;J=t;break d}t=k[t+4>>2]|0;if(!t){G=m;s=57;break c}}i=k[H>>2]|0;if(!i){G=H;s=57;break c}else m=H}m=k[J>>2]|0;e:do if(!m)K=J;else{i=J;t=m;while(1){u=t;while(1){if((k[u+16>>2]|0)>>>0>=b>>>0){L=u;break}u=k[u+4>>2]|0;if(!u){K=i;break e}}t=k[L>>2]|0;if(!t){K=L;break}else i=L}}while(0);m=K;i=k[J+4>>2]|0;f:do if(!i)M=I;else{t=I;u=i;while(1){N=u;while(1){if((k[N+16>>2]|0)>>>0>b>>>0){O=N;break}N=k[N+4>>2]|0;if(!N){M=t;break f}}u=k[O>>2]|0;if(!u){M=O;break}else t=O}}while(0);P=m;Q=M}while(0);if((s|0)==57){h=G;P=h;Q=h}h=P;g=Q;if((h|0)==(g|0)){o=1;r=e;return o|0}else{R=h;S=P}g:while(1){h=k[R+20>>2]|0;h:do if((h|0)!=(c|0)){i=d;while(1){t=k[i+16>>2]|0;if(h>>>0>>0)T=i;else{if(t>>>0>=h>>>0)break h;T=i+4|0}i=k[T>>2]|0;if(!i){o=0;s=69;break g}}}while(0);h=S;m=k[h+4>>2]|0;if(!m){i=h;while(1){h=k[i+8>>2]|0;if((k[h>>2]|0)==(i|0)){U=h;break}else i=h}}else{i=m;while(1){h=k[i>>2]|0;if(!h){U=i;break}else i=h}}if((U|0)==(g|0)){o=1;s=69;break}else{R=U;S=U}}if((s|0)==69){r=e;return o|0}}}while(0);o=vb(8)|0;w=0;ua(756,o|0,269474);e=w;w=0;if(e&1){e=Ib()|0;ub(o|0);Hb(e|0)}else{k[o>>2]=45832;Xb(o|0,11184,530)}return 0}function uFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=k[a+4>>2]|0;if((c|0)==(k[a+8>>2]|0)){Eda(a,b);d=ZCa(b)|0;e=YCa(b)|0;f=d-e|0;g=a+12|0;h=k[g>>2]|0;j=f+h|0;k[g>>2]=j;return};k[c>>2]=k[b>>2];i[c+4>>0]=i[b+4>>0]|0;k[c+8>>2]=k[b+8>>2];l=k[b+12>>2]|0;k[c+12>>2]=l;if(l)OSa(l);l=k[b+16+4>>2]|0;k[c+16>>2]=k[b+16>>2];k[c+16+4>>2]=l;k[c+24>>2]=k[b+24>>2];l=k[b+28>>2]|0;k[c+28>>2]=l;if(l)OSa(l);k[c+32>>2]=k[b+32>>2];k[c+36>>2]=k[b+36>>2];l=k[b+40>>2]|0;k[c+40>>2]=l;if(l)OSa(l);k[a+4>>2]=(k[a+4>>2]|0)+44;d=ZCa(b)|0;e=YCa(b)|0;f=d-e|0;g=a+12|0;h=k[g>>2]|0;j=f+h|0;k[g>>2]=j;return}function vFa(a){a=a|0;var b=0,c=0,d=0,e=0;sm(a+80|0,k[a+84>>2]|0);Xl(a+68|0,k[a+72>>2]|0);BFa(a+56|0,k[a+60>>2]|0);CFa(a+40|0,k[a+44>>2]|0);sm(a+28|0,k[a+32>>2]|0);rm(a+16|0,k[a+20>>2]|0);b=k[a>>2]|0;if(!b)return;c=k[a+4>>2]|0;if((c|0)==(b|0))d=b;else{e=c;do{k[a+4>>2]=e+-44;c=k[e+-4>>2]|0;if(c)QSa(c);c=k[e+-16>>2]|0;if(c)QSa(c);c=k[e+-32>>2]|0;if(c)QSa(c);e=k[a+4>>2]|0}while((e|0)!=(b|0));d=k[a>>2]|0}GPa(d);return}function wFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;c=k[a>>2]|0;d=((k[a+4>>2]|0)-c>>4)+1|0;if(d>>>0>268435455){CPa(a);e=k[a>>2]|0}else e=c;c=(k[a+8>>2]|0)-e|0;if(c>>4>>>0<134217727){f=c>>3>>>0>>0?d:c>>3;c=k[a+4>>2]|0;d=c-e>>4;if(!f){g=0;h=0;i=d;j=c}else{l=f;m=c;n=d;o=6}}else{d=k[a+4>>2]|0;l=268435455;m=d;n=d-e>>4;o=6}if((o|0)==6){g=l;h=EPa(l<<4)|0;i=n;j=m}m=h+(i<<4)|0;k[m>>2]=k[b>>2];k[m+4>>2]=k[b+4>>2];k[m+8>>2]=k[b+8>>2];k[m+12>>2]=k[b+12>>2];b=j-e|0;J0a(m+(0-(b>>4)<<4)|0,e|0,b|0)|0;k[a>>2]=m+(0-(b>>4)<<4);k[a+4>>2]=m+16;k[a+8>>2]=h+(g<<4);if(!e)return;GPa(e);return}function xFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,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;a:do if((k[a+8>>2]|0)!=0?(d=k[a>>2]|0,k[a>>2]=a+4,k[(k[a+4>>2]|0)+8>>2]=0,k[a+4>>2]=0,k[a+8>>2]=0,e=k[d+4>>2]|0,f=(e|0)==0?d:e,(f|0)!=0):0){e=k[b>>2]|0;d=e;g=e;e=f;while(1){if((d|0)==(k[c>>2]|0)){h=e;break}f=k[d+16>>2]|0;k[e+16>>2]=f;k[e+20>>2]=k[d+20>>2];i=e+8|0;j=k[i>>2]|0;do if(j){l=k[j>>2]|0;if((l|0)==(e|0)){k[j>>2]=0;m=k[j+4>>2]|0;if(!m){n=j;break}else o=m;while(1){m=k[o>>2]|0;if(m){o=m;continue}m=k[o+4>>2]|0;if(!m){p=o;break}else o=m}n=p;break}else{k[j+4>>2]=0;if(!l){n=j;break}else q=l;while(1){m=k[q>>2]|0;if(m){q=m;continue}m=k[q+4>>2]|0;if(!m){r=q;break}else q=m}n=r;break}}else n=0;while(0);j=k[a+4>>2]|0;do if(j){l=j;while(1){if((f|0)<(k[l+16>>2]|0)){m=k[l>>2]|0;if(!m){s=l;t=l;u=19;break}else v=m}else{w=l+4|0;m=k[w>>2]|0;if(!m){x=l;u=22;break}else v=m}l=v}if((u|0)==19){u=0;y=s;z=t;break}else if((u|0)==22){u=0;y=w;z=x;break}}else{y=a+4|0;z=a+4|0}while(0);k[e>>2]=0;k[e+4>>2]=0;k[i>>2]=z;k[y>>2]=e;f=k[k[a>>2]>>2]|0;if(!f)A=e;else{k[a>>2]=f;A=k[y>>2]|0}$c(k[a+4>>2]|0,A);k[a+8>>2]=(k[a+8>>2]|0)+1;f=k[g+4>>2]|0;if(!f){j=g;while(1){l=k[j+8>>2]|0;if((k[l>>2]|0)==(j|0)){B=l;break}else j=l}}else{j=f;while(1){i=k[j>>2]|0;if(!i){B=j;break}else j=i}}k[b>>2]=B;if(!n)break a;else{d=B;g=B;e=n}}e=k[h+8>>2]|0;if(!e)C=h;else{g=e;while(1){e=k[g+8>>2]|0;if(!e){D=g;break}else g=e}C=D}sm(a,C)}while(0);C=k[b>>2]|0;D=k[c>>2]|0;if((C|0)==(D|0))return;c=C;h=C;while(1){C=h+16|0;n=k[a+4>>2]|0;do if(n){B=k[C>>2]|0;A=n;while(1){if((B|0)<(k[A+16>>2]|0)){y=k[A>>2]|0;if(!y){E=A;F=A;u=38;break}else G=y}else{H=A+4|0;y=k[H>>2]|0;if(!y){I=A;u=41;break}else G=y}A=G}if((u|0)==38){u=0;J=E;K=F;break}else if((u|0)==41){u=0;J=H;K=I;break}}else{J=a+4|0;K=a+4|0}while(0);n=EPa(24)|0;A=k[C+4>>2]|0;k[n+16>>2]=k[C>>2];k[n+16+4>>2]=A;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=K;k[J>>2]=n;A=k[k[a>>2]>>2]|0;if(!A)L=n;else{k[a>>2]=A;L=k[J>>2]|0}$c(k[a+4>>2]|0,L);k[a+8>>2]=(k[a+8>>2]|0)+1;A=k[c+4>>2]|0;if(!A){n=c;while(1){B=k[n+8>>2]|0;if((k[B>>2]|0)==(n|0)){M=B;break}else n=B}}else{n=A;while(1){C=k[n>>2]|0;if(!C){M=n;break}else n=C}}k[b>>2]=M;if((M|0)==(D|0))break;else{c=M;h=M}}return}function yFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+32|0;k[e>>2]=45752;f=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[e+4>>2]=13668;a=k[f+4>>2]|0;k[e+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;Hb(a|0)}a=k[f+8+4>>2]|0;k[e+12>>2]=k[f+8>>2];k[e+12+4>>2]=a;k[e>>2]=42276;k[e+4>>2]=42300;k[e+12>>2]=b;k[e+16>>2]=c;k[e+20>>2]=d;w=0;sa(1683,e|0);w=0;d=Ib()|0;k[e+4>>2]=13668;c=k[e+8>>2]|0;if(!c)Hb(d|0);w=0;b=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!b)Hb(d|0);k[e+8>>2]=0;Hb(d|0)}function zFa(a,b){a=a|0;b=b|0;if(!b)return;else{zFa(a,k[b>>2]|0);zFa(a,k[b+4>>2]|0);GPa(b);return}}function AFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;c=r;r=r+16|0;d=k[a+4>>2]|0;do if(d){e=k[b>>2]|0;f=k[b+4>>2]|0;g=d;a:while(1){h=k[g+16>>2]|0;do if((e|0)>=(h|0)){if((h|0)>=(e|0)){i=k[g+20>>2]|0;if(f>>>0>>0){j=6;break}if(i>>>0>=f>>>0){l=g;j=12;break a}}m=g+4|0;i=k[m>>2]|0;if(!i){n=g;j=11;break a}else o=i}else j=6;while(0);if((j|0)==6){j=0;h=k[g>>2]|0;if(!h){p=g;q=g;j=7;break}else o=h}g=o}if((j|0)==7){k[c>>2]=q;s=p;t=q;break}else if((j|0)==11){k[c>>2]=n;s=m;t=n;break}else if((j|0)==12){k[c>>2]=l;u=c;v=l;w=l;j=14;break}}else{k[c>>2]=a+4;u=a+4|0;v=d;w=a+4|0;j=14}while(0);if((j|0)==14)if(!v){s=u;t=w}else{x=v;y=x+24|0;r=c;return y|0}v=EPa(36)|0;w=k[b+4>>2]|0;k[v+16>>2]=k[b>>2];k[v+16+4>>2]=w;k[v+24>>2]=0;k[v+28>>2]=0;k[v+32>>2]=0;k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=t;k[s>>2]=v;t=k[k[a>>2]>>2]|0;if(!t)z=v;else{k[a>>2]=t;z=k[s>>2]|0}$c(k[a+4>>2]|0,z);k[a+8>>2]=(k[a+8>>2]|0)+1;x=v;y=x+24|0;r=c;return y|0}function BFa(a,b){a=a|0;b=b|0;var c=0;if(!b)return;BFa(a,k[b>>2]|0);BFa(a,k[b+4>>2]|0);a=k[b+24>>2]|0;if(a){c=k[b+28>>2]|0;if((c|0)!=(a|0))k[b+28>>2]=c+(~((c+-16-a|0)>>>4)<<4);GPa(a)}GPa(b);return}function CFa(a,b){a=a|0;b=b|0;if(!b)return;else{CFa(a,k[b>>2]|0);CFa(a,k[b+4>>2]|0);GFa(b+20|0,k[b+24>>2]|0);GPa(b);return}}function DFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;c=r;r=r+32|0;d=EPa(16)|0;k[d>>2]=13804;w=0;ua(724,d+4|0,b+4|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;GPa(d);f=e;g=b;Hb(g|0)}k[c+16>>2]=d;k[c+16+4>>2]=0;w=0;cb(144,c+16|0,d|0,c+16+4|0);d=w;w=0;if(d&1){d=Ib()|0;b=k[c+16+4>>2]|0;if(!b)Hb(d|0);e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){h=Ib(0)|0;i=L;Zc(h)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){h=Ib(0)|0;i=L;Zc(h)}else Hb(d|0)}d=a+(k[(k[a>>2]|0)+-24>>2]|0)+4|0;h=k[d>>2]|0;do if(!h){w=0;i=ya(665,32)|0;b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b;m=c+16+4|0;break}else{k[i>>2]=13932;k[i+8>>2]=0;k[i+12>>2]=0;k[i+4>>2]=i+8;k[i+16>>2]=0;k[i+16+4>>2]=0;k[i+16+8>>2]=0;k[d>>2]=i;k[i+28>>2]=1;n=i;o=15;break}}else{n=h;o=15}while(0);do if((o|0)==15){h=k[(k[n>>2]|0)+8>>2]|0;k[c+8>>2]=k[c+16>>2];d=c+16+4|0;i=k[d>>2]|0;k[c+8+4>>2]=i;if(i)k[i+4>>2]=(k[i+4>>2]|0)+1;k[c>>2]=256;w=0;cb(h|0,n|0,c+8|0,c|0);h=w;w=0;if(h&1){h=Ib()|0;i=L;b=k[c+8+4>>2]|0;if(!b){j=i;l=h;m=d;break}e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){p=Ib(0)|0;q=L;Zc(p)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(!(b&1)){j=i;l=h;m=d;break}p=Ib(0)|0;q=L;Zc(p)}h=k[c+8+4>>2]|0;if((h|0)!=0?(i=k[h+4>>2]|0,k[h+4>>2]=i+-1,(i|0)==1):0){w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);i=w;w=0;if(i&1){s=Ib(0)|0;t=L;Zc(s)}i=k[h+8>>2]|0;k[h+8>>2]=i+-1;if((i|0)==1?(w=0,sa(k[(k[h>>2]|0)+12>>2]|0,h|0),h=w,w=0,h&1):0){s=Ib(0)|0;t=L;Zc(s)}}h=k[d>>2]|0;if(!h){r=c;return a|0}d=k[h+4>>2]|0;k[h+4>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);d=w;w=0;if(d&1){u=Ib(0)|0;v=L;Zc(u)}d=k[h+8>>2]|0;k[h+8>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+12>>2]|0,h|0);h=w;w=0;if(h&1){u=Ib(0)|0;v=L;Zc(u)}else{r=c;return a|0}}while(0);a=k[m>>2]|0;if(!a){f=j;g=l;Hb(g|0)}m=k[a+4>>2]|0;k[a+4>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+8>>2]|0,a|0);m=w;w=0;if(m&1){x=Ib(0)|0;y=L;Zc(x)}m=k[a+8>>2]|0;k[a+8>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+12>>2]|0,a|0);a=w;w=0;if(a&1){x=Ib(0)|0;y=L;Zc(x)}else{f=j;g=l;Hb(g|0)}return 0}function EFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+32|0;k[e>>2]=45752;f=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[e+4>>2]=13668;a=k[f+4>>2]|0;k[e+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;Hb(a|0)}a=k[f+8+4>>2]|0;k[e+12>>2]=k[f+8>>2];k[e+12+4>>2]=a;k[e>>2]=42344;k[e+4>>2]=42368;k[e+12>>2]=b;k[e+16>>2]=c;k[e+20>>2]=d;w=0;sa(1684,e|0);w=0;d=Ib()|0;k[e+4>>2]=13668;c=k[e+8>>2]|0;if(!c)Hb(d|0);w=0;b=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!b)Hb(d|0);k[e+8>>2]=0;Hb(d|0)}function FFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,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;e=k[b>>2]|0;if((e|0)!=(a+4|0)?(b=k[d>>2]|0,f=k[e+16>>2]|0,(b|0)>=(f|0)):0){if((f|0)>=(b|0)){k[c>>2]=e;g=c;return g|0}f=k[e+4>>2]|0;if(!f){h=e;while(1){i=k[h+8>>2]|0;if((k[i>>2]|0)==(h|0)){j=i;break}else h=i}}else{h=f;while(1){i=k[h>>2]|0;if(!i){j=h;break}else h=i}}if((j|0)!=(a+4|0)?(b|0)>=(k[j+16>>2]|0):0){h=k[a+4>>2]|0;if(!h){k[c>>2]=a+4;g=a+4|0;return g|0}else l=h;while(1){h=k[l+16>>2]|0;if((b|0)<(h|0)){i=k[l>>2]|0;if(!i){m=l;n=l;o=33;break}else p=i}else{if((h|0)>=(b|0)){q=l;o=38;break}r=l+4|0;h=k[r>>2]|0;if(!h){s=l;o=37;break}else p=h}l=p}if((o|0)==33){k[c>>2]=n;g=m;return g|0}else if((o|0)==37){k[c>>2]=s;g=r;return g|0}else if((o|0)==38){k[c>>2]=q;g=c;return g|0}}if(!f){k[c>>2]=e;g=e+4|0;return g|0}else{k[c>>2]=j;g=j;return g|0}}if((e|0)!=(k[a>>2]|0)){j=k[e>>2]|0;if(!j){f=e;while(1){q=k[f+8>>2]|0;if((k[q>>2]|0)==(f|0))f=q;else{t=q;break}}}else{f=j;while(1){j=k[f+4>>2]|0;if(!j){t=f;break}else f=j}}f=k[d>>2]|0;if((k[t+16>>2]|0)>=(f|0)){d=k[a+4>>2]|0;if(!d){k[c>>2]=a+4;g=a+4|0;return g|0}else u=d;while(1){d=k[u+16>>2]|0;if((f|0)<(d|0)){a=k[u>>2]|0;if(!a){v=u;w=u;o=14;break}else x=a}else{if((d|0)>=(f|0)){y=u;o=19;break}z=u+4|0;d=k[z>>2]|0;if(!d){A=u;o=18;break}else x=d}u=x}if((o|0)==14){k[c>>2]=w;g=v;return g|0}else if((o|0)==18){k[c>>2]=A;g=z;return g|0}else if((o|0)==19){k[c>>2]=y;g=c;return g|0}}else B=t}else B=e;if(!(k[e>>2]|0)){k[c>>2]=e;g=e;return g|0}else{e=B;k[c>>2]=e;g=e+4|0;return g|0}return 0}function GFa(a,b){a=a|0;b=b|0;if(!b)return;else{GFa(a,k[b>>2]|0);GFa(a,k[b+4>>2]|0);GPa(b);return}}function HFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;c=r;r=r+32|0;d=EPa(16)|0;k[d>>2]=13804;w=0;ua(724,d+4|0,b+4|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;GPa(d);f=e;g=b;Hb(g|0)}k[c+16>>2]=d;k[c+16+4>>2]=0;w=0;cb(144,c+16|0,d|0,c+16+4|0);d=w;w=0;if(d&1){d=Ib()|0;b=k[c+16+4>>2]|0;if(!b)Hb(d|0);e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){h=Ib(0)|0;i=L;Zc(h)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){h=Ib(0)|0;i=L;Zc(h)}else Hb(d|0)}d=a+(k[(k[a>>2]|0)+-24>>2]|0)+4|0;h=k[d>>2]|0;do if(!h){w=0;i=ya(665,32)|0;b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b;m=c+16+4|0;break}else{k[i>>2]=13932;k[i+8>>2]=0;k[i+12>>2]=0;k[i+4>>2]=i+8;k[i+16>>2]=0;k[i+16+4>>2]=0;k[i+16+8>>2]=0;k[d>>2]=i;k[i+28>>2]=1;n=i;o=15;break}}else{n=h;o=15}while(0);do if((o|0)==15){h=k[(k[n>>2]|0)+8>>2]|0;k[c+8>>2]=k[c+16>>2];d=c+16+4|0;i=k[d>>2]|0;k[c+8+4>>2]=i;if(i)k[i+4>>2]=(k[i+4>>2]|0)+1;k[c>>2]=256;w=0;cb(h|0,n|0,c+8|0,c|0);h=w;w=0;if(h&1){h=Ib()|0;i=L;b=k[c+8+4>>2]|0;if(!b){j=i;l=h;m=d;break}e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){p=Ib(0)|0;q=L;Zc(p)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(!(b&1)){j=i;l=h;m=d;break}p=Ib(0)|0;q=L;Zc(p)}h=k[c+8+4>>2]|0;if((h|0)!=0?(i=k[h+4>>2]|0,k[h+4>>2]=i+-1,(i|0)==1):0){w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);i=w;w=0;if(i&1){s=Ib(0)|0;t=L;Zc(s)}i=k[h+8>>2]|0;k[h+8>>2]=i+-1;if((i|0)==1?(w=0,sa(k[(k[h>>2]|0)+12>>2]|0,h|0),h=w,w=0,h&1):0){s=Ib(0)|0;t=L;Zc(s)}}h=k[d>>2]|0;if(!h){r=c;return a|0}d=k[h+4>>2]|0;k[h+4>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);d=w;w=0;if(d&1){u=Ib(0)|0;v=L;Zc(u)}d=k[h+8>>2]|0;k[h+8>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+12>>2]|0,h|0);h=w;w=0;if(h&1){u=Ib(0)|0;v=L;Zc(u)}else{r=c;return a|0}}while(0);a=k[m>>2]|0;if(!a){f=j;g=l;Hb(g|0)}m=k[a+4>>2]|0;k[a+4>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+8>>2]|0,a|0);m=w;w=0;if(m&1){x=Ib(0)|0;y=L;Zc(x)}m=k[a+8>>2]|0;k[a+8>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+12>>2]|0,a|0);a=w;w=0;if(a&1){x=Ib(0)|0;y=L;Zc(x)}else{f=j;g=l;Hb(g|0)}return 0}function IFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;b=r;r=r+32|0;c=vb(28)|0;k[b>>2]=45752;d=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[d+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;e=L;f=a}else{k[b+12>>2]=k[d+8>>2];k[b+12+4>>2]=k[d+8+4>>2];k[b+12+8>>2]=k[d+8+8>>2];k[b>>2]=42276;k[b+4>>2]=42300;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=-1;k[c>>2]=42416;k[c+4>>2]=42448;k[c+24>>2]=42476;w=0;ua(723,c+4|0,b+4|0);d=w;w=0;if(d&1){d=Ib()|0;a=L;k[c+4>>2]=13668;g=k[c+8>>2]|0;if(g){w=0;h=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(h)k[c+8>>2]=0}i=1;j=a;l=d}else{w=0;cb(142,c|0,9984,1426);w=0;d=Ib()|0;i=0;j=L;l=d}k[b+4>>2]=13668;d=k[b+8>>2]|0;if(d){w=0;a=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(a)k[b+8>>2]=0}if(i){e=j;f=l}else{m=j;n=l;Hb(n|0)}}ub(c|0);m=e;n=f;Hb(n|0)}function JFa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function KFa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function LFa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(28)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(454,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-40>>2]|0)|0}return 0}function MFa(a){a=a|0;var b=0,c=0;b=vb(28)|0;k[b>>2]=45752;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[c+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;ub(b|0);Hb(a|0)}k[b+12>>2]=k[c+8>>2];k[b+12+4>>2]=k[c+8+4>>2];k[b+12+8>>2]=k[c+8+8>>2];k[b>>2]=42416;k[b+4>>2]=42448;k[b+24>>2]=42476;Xb(b|0,9984,1426)}function NFa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function OFa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function PFa(a){a=a|0;var b=0,c=0,d=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(28)|0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42416;k[a+4>>2]=42448;k[a+24>>2]=42476;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return a+(k[(k[a>>2]|0)+-40>>2]|0)|0;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c){GPa(a);Hb(b|0)}w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d){GPa(a);Hb(b|0)}k[a+8>>2]=0;GPa(a);Hb(b|0);return 0}function QFa(a){a=a|0;MFa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function RFa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function SFa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function TFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42416;k[a+4>>2]=42448;k[a+24>>2]=42476;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c)Hb(b|0);w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d)Hb(b|0);k[a+8>>2]=0;Hb(b|0)}function UFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;b=r;r=r+32|0;c=vb(28)|0;k[b>>2]=45752;d=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[d+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;e=L;f=a}else{k[b+12>>2]=k[d+8>>2];k[b+12+4>>2]=k[d+8+4>>2];k[b+12+8>>2]=k[d+8+8>>2];k[b>>2]=42344;k[b+4>>2]=42368;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=-1;k[c>>2]=42532;k[c+4>>2]=42564;k[c+24>>2]=42592;w=0;ua(723,c+4|0,b+4|0);d=w;w=0;if(d&1){d=Ib()|0;a=L;k[c+4>>2]=13668;g=k[c+8>>2]|0;if(g){w=0;h=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(h)k[c+8>>2]=0}i=1;j=a;l=d}else{w=0;cb(142,c|0,10016,1434);w=0;d=Ib()|0;i=0;j=L;l=d}k[b+4>>2]=13668;d=k[b+8>>2]|0;if(d){w=0;a=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(a)k[b+8>>2]=0}if(i){e=j;f=l}else{m=j;n=l;Hb(n|0)}}ub(c|0);m=e;n=f;Hb(n|0)}function VFa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function WFa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function XFa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(28)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(455,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-40>>2]|0)|0}return 0}function YFa(a){a=a|0;var b=0,c=0;b=vb(28)|0;k[b>>2]=45752;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[c+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;ub(b|0);Hb(a|0)}k[b+12>>2]=k[c+8>>2];k[b+12+4>>2]=k[c+8+4>>2];k[b+12+8>>2]=k[c+8+8>>2];k[b>>2]=42532;k[b+4>>2]=42564;k[b+24>>2]=42592;Xb(b|0,10016,1434)}function ZFa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function _Fa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function $Fa(a){a=a|0;var b=0,c=0,d=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(28)|0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42532;k[a+4>>2]=42564;k[a+24>>2]=42592;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return a+(k[(k[a>>2]|0)+-40>>2]|0)|0;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c){GPa(a);Hb(b|0)}w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d){GPa(a);Hb(b|0)}k[a+8>>2]=0;GPa(a);Hb(b|0);return 0}function aGa(a){a=a|0;YFa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function bGa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function cGa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function dGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42532;k[a+4>>2]=42564;k[a+24>>2]=42592;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c)Hb(b|0);w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d)Hb(b|0);k[a+8>>2]=0;Hb(b|0)}function eGa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function fGa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function gGa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function hGa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function iGa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function jGa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function kGa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function lGa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function mGa(a){a=a|0;GPa(a);return}function nGa(a){a=a|0;var b=0;b=EPa(16)|0;k[b>>2]=42204;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=k[a+4+4>>2];k[b+4+8>>2]=k[a+4+8>>2];return b|0}function oGa(a,b){a=a|0;b=b|0;k[b>>2]=42204;k[b+4>>2]=k[a+4>>2];k[b+4+4>>2]=k[a+4+4>>2];k[b+4+8>>2]=k[a+4+8>>2];return}function pGa(a){a=a|0;return}function qGa(a){a=a|0;GPa(a);return}function rGa(a){a=a|0;var b=0,c=0,d=0;b=k[a+4>>2]|0;k[b+204>>2]=0;c=k[b+192>>2]|0;d=k[b+196>>2]|0;if((d|0)!=(c|0))k[b+196>>2]=d+(~((d+-16-c|0)>>>4)<<4);uGa(b,k[a+8>>2]|0)|0;uGa(b+96|0,k[a+12>>2]|0)|0;return}function sGa(a,b){a=a|0;b=b|0;return ((k[b+4>>2]|0)==266325?a+4|0:0)|0}function tGa(a){a=a|0;return 10064}function uGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;k[a>>2]=k[b>>2];sm(a+4|0,k[a+8>>2]|0);k[a+4>>2]=k[b+4>>2];d=k[b+8>>2]|0;k[a+8>>2]=d;e=k[b+12>>2]|0;k[a+12>>2]=e;if(!e)k[a+4>>2]=a+8;else{k[d+8>>2]=a+8;k[b+4>>2]=b+8;k[b+8>>2]=0;k[b+12>>2]=0}k[a+16>>2]=k[b+16>>2];rm(a+20|0,k[a+24>>2]|0);k[a+20>>2]=k[b+20>>2];d=k[b+24>>2]|0;k[a+24>>2]=d;e=k[b+28>>2]|0;k[a+28>>2]=e;if(!e)k[a+20>>2]=a+24;else{k[d+8>>2]=a+24;k[b+20>>2]=b+24;k[b+24>>2]=0;k[b+28>>2]=0}rm(a+32|0,k[a+36>>2]|0);k[a+32>>2]=k[b+32>>2];d=k[b+36>>2]|0;k[a+36>>2]=d;e=k[b+40>>2]|0;k[a+40>>2]=e;if(!e)k[a+32>>2]=a+36;else{k[d+8>>2]=a+36;k[b+32>>2]=b+36;k[b+36>>2]=0;k[b+40>>2]=0}qm(a+44|0,k[a+48>>2]|0);k[a+44>>2]=k[b+44>>2];d=k[b+48>>2]|0;k[a+48>>2]=d;e=k[b+52>>2]|0;k[a+52>>2]=e;if(!e)k[a+44>>2]=a+48;else{k[d+8>>2]=a+48;k[b+44>>2]=b+48;k[b+48>>2]=0;k[b+52>>2]=0}d=k[b+56>>2]|0;e=k[b+60>>2]|0;k[b+56>>2]=0;k[b+60>>2]=0;k[a+56>>2]=d;d=k[a+60>>2]|0;k[a+60>>2]=e;if(d)QSa(d);ro(c,b+72|0);b=k[a+72+4>>2]|0;k[a+72+4>>2]=k[c+4>>2];k[c+4>>2]=b;d=k[a+72+12>>2]|0;k[a+72+12>>2]=k[c+12>>2];k[c+12>>2]=d;d=k[b+28>>2]&-2;Jo(c+8|0,(d|0)==0?0:d+-28|0);GPa(k[c+4>>2]|0);r=c;return a|0}function vGa(a){a=a|0;return (k[a>>2]|0)+24|0}function wGa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a>>2]|0;c=k[b+4>>2]|0;if(!c){d=b;while(1){b=k[d+8>>2]|0;if((k[b>>2]|0)==(d|0)){e=b;break}else d=b}k[a>>2]=e;return}else{d=c;while(1){c=k[d>>2]|0;if(!c){e=d;break}else d=c}k[a>>2]=e;return}}function xGa(a,b){a=a|0;b=b|0;var c=0;if(!(i[a+4>>0]|0)){c=(k[a>>2]|0)==(k[b>>2]|0);return c|0}else{c=(i[b+4>>0]|0)!=0;return c|0}return 0}function yGa(a){a=a|0;var b=0;b=vb(16)|0;k[b>>2]=42620;w=0;ua(724,b+4|0,a|0);a=w;w=0;if(a&1){a=Ib()|0;ub(b|0);Hb(a|0)}else{k[b>>2]=42640;Xb(b|0,512,1442)}}function zGa(a){a=a|0;k[a>>2]=42620;dTa(a+4|0);GPa(a);return}function AGa(a){a=a|0;var b=0;if(!(i[a+4>>0]&1)){b=a+4+1|0;return b|0}else{b=k[a+12>>2]|0;return b|0}return 0}function BGa(a){a=a|0;var b=0;b=vb(16)|0;k[b>>2]=42620;w=0;ua(724,b+4|0,a|0);a=w;w=0;if(a&1){a=Ib()|0;ub(b|0);Hb(a|0)}else{k[b>>2]=42660;Xb(b|0,496,1442)}}function CGa(a){a=a|0;k[a>>2]=42620;dTa(a+4|0);return}function DGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;d=r;r=r+176|0;e=k[a>>2]|0;if(e){xSa(e);k[a>>2]=0}if(!b){aTa(d+152|0,266531,18);w=0;sa(1685,d+152|0);w=0;e=Ib()|0;f=L;dTa(d+152|0);g=f;h=e;Hb(h|0)}switch(i[b>>0]|0){case 47:case 0:{e=c>>>0>2147483646?2147483646:c;c=wSa(e+1|0)|0;if(!c){aTa(d+164|0,266607,78);w=0;sa(1686,d+164|0);w=0;f=Ib()|0;dTa(d+164|0);Hb(f|0)}else{J0a(c|0,b|0,e|0)|0;i[c+e>>0]=0;k[a>>2]=c;r=d;return}break}default:{}}c=d+16+56|0;a=d+16+4|0;k[d+16>>2]=15008;k[c>>2]=15028;w=0;ua(725,d+16+56|0,a|0);e=w;w=0;if(e&1){e=Ib()|0;j=L;l=e;QTa(c);Hb(l|0)}k[d+16+128>>2]=0;k[d+16+132>>2]=-1;k[d+16>>2]=13968;k[d+16+56>>2]=13988;w=0;sa(1635,a|0);e=w;w=0;do if(e&1){b=Ib()|0;m=L;n=b}else{k[a>>2]=14004;b=d+16+36|0;k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;k[d+16+52>>2]=16;k[d+164>>2]=0;k[d+164+4>>2]=0;k[d+164+8>>2]=0;w=0;ua(726,a|0,d+164|0);f=w;w=0;if(f&1){f=Ib()|0;o=L;dTa(d+164|0);dTa(b);VTa(a);m=o;n=f;break}dTa(d+164|0);w=0;Ea(71,d+16|0,266550,56)|0;f=w;w=0;if(!(f&1)?(w=0,ua(727,d|0,a|0),f=w,w=0,!(f&1)):0){w=0;sa(1685,d|0);w=0;f=Ib()|0;o=L;dTa(d);p=o;q=f}else{f=Ib()|0;p=L;q=f}k[d+16>>2]=13968;k[c>>2]=13988;k[a>>2]=14004;dTa(b);VTa(a);QTa(c);g=p;h=q;Hb(h|0)}while(0);j=m;l=n;QTa(c);Hb(l|0)}function EGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+16|0;d=k[b+4>>2]|0;e=k[b>>2]|0;do if(d&3)if(e){f=wSa((d>>>2)+1|0)|0;if(!f){aTa(c,266607,78);w=0;sa(1686,c|0);w=0;g=Ib()|0;dTa(c);Hb(g|0)}else{J0a(f|0,e|0,d>>>2|0)|0;i[f+(d>>>2)>>0]=0;h=f;break}}else h=0;else h=e;while(0);k[a>>2]=h;h=k[b+4>>2]&3;e=(k[b>>2]|0)!=0?(h|0)!=0&1:h;k[a+4>>2]=e|k[a+4>>2]&-4;k[a+4>>2]=e|k[b+4>>2]&-4;r=c;return}function FGa(a,b){a=a|0;b=b|0;j[a+8>>1]=j[a+8>>1]&-512|b&255;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;switch(b|0){case 5:{i[a>>0]=0;return}case 2:case 1:{k[a>>2]=0;k[a+4>>2]=0;return}case 3:{p[a>>3]=0.0;return}case 4:{k[a>>2]=282012;return}case 7:case 6:{b=EPa(12)|0;k[b+4>>2]=0;k[b+8>>2]=0;k[b>>2]=b+4;k[a>>2]=b;return}default:return}}function GGa(a,b){a=a|0;b=b|0;j[a+8>>1]=j[a+8>>1]&-512|1;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a>>2]=b;k[a+4>>2]=((b|0)<0)<<31>>31;return}function HGa(a,b){a=a|0;b=b|0;j[a+8>>1]=j[a+8>>1]&-512|2;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a>>2]=b;k[a+4>>2]=0;return}function IGa(a,b,c){a=a|0;b=b|0;c=c|0;j[a+8>>1]=j[a+8>>1]&-512|1;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a>>2]=b;k[a+4>>2]=c;return}function JGa(a,b,c){a=a|0;b=b|0;c=c|0;j[a+8>>1]=j[a+8>>1]&-512|2;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;k[a>>2]=b;k[a+4>>2]=c;return}function KGa(a,b){a=a|0;b=+b;j[a+8>>1]=j[a+8>>1]&-512|3;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;p[a>>3]=b;return}function LGa(a,b){a=a|0;b=b|0;var c=0;j[a+8>>1]=j[a+8>>1]&-512|260;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;c=JHa(b,cRa(b)|0)|0;k[a>>2]=c;return}function MGa(a,b){a=a|0;b=b|0;var c=0,d=0;j[a+8>>1]=j[a+8>>1]&-512|260;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;c=i[b>>0]|0;d=JHa((c&1)==0?b+1|0:k[b+8>>2]|0,(c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0;k[a>>2]=d;return}function NGa(a,b){a=a|0;b=b|0;j[a+8>>1]=j[a+8>>1]&-512|5;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;i[a>>0]=b&1;return}function OGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;c=r;r=r+16|0;d=j[b+8>>1]&255;e=j[a+8>>1]&-512|d;j[a+8>>1]=e;k[a+12>>2]=0;k[a+16>>2]=k[b+16>>2];k[a+20>>2]=k[b+20>>2];a:do switch(d&65535|0){case 5:case 3:case 2:case 1:case 0:{f=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=f;break}case 4:{f=k[b>>2]|0;if((f|0)!=0?(j[b+8>>1]&256)!=0:0){g=JHa(f+4|0,k[f>>2]|0)|0;k[a>>2]=g;j[a+8>>1]=j[a+8>>1]|256;break a}k[a>>2]=f;j[a+8>>1]=e;break}case 7:case 6:{f=EPa(12)|0;g=k[b>>2]|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=f+4;h=k[g>>2]|0;b:do if((h|0)!=(g+4|0)){i=h;while(1){k[c>>2]=f+4;w=0;k[c+4>>2]=k[c>>2];Ea(116,f|0,c+4|0,i+16|0)|0;l=w;w=0;if(l&1)break;l=k[i+4>>2]|0;if(!l){m=i;while(1){n=k[m+8>>2]|0;if((k[n>>2]|0)==(m|0)){o=n;break}else m=n}}else{m=l;while(1){n=k[m>>2]|0;if(!n){o=m;break}else m=n}}if((o|0)==(g+4|0))break b;else i=o}i=Ib()|0;LHa(f,k[f+4>>2]|0);GPa(f);Hb(i|0)}while(0);k[a>>2]=f;break}default:{}}while(0);if(!(k[b+12>>2]|0)){r=c;return}o=FPa(16)|0;k[o>>2]=3;k[o+4>>2]=0;k[o+4+4>>2]=0;k[o+4+8>>2]=0;k[a+12>>2]=o+4;e=k[b+12>>2]|0;d=k[e>>2]|0;if(!d)p=e;else{DGa(o+4|0,d,cRa(d)|0);p=k[b+12>>2]|0}d=k[p+4>>2]|0;if(!d)q=p;else{p=(k[a+12>>2]|0)+4|0;DGa(p,d,cRa(d)|0);q=k[b+12>>2]|0}b=k[q+8>>2]|0;if(!b){r=c;return}q=(k[a+12>>2]|0)+8|0;DGa(q,b,cRa(b)|0);r=c;return}function PGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+8>>1]&-512;j[a+8>>1]=c;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=0;j[a+8>>1]=j[b+8>>1]&255|c;j[b+8>>1]=j[b+8>>1]&-256;c=k[a>>2]|0;d=k[a+4>>2]|0;e=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=e;k[b>>2]=c;k[b+4>>2]=d;d=j[a+8>>1]|0;j[a+8>>1]=j[b+8>>1]&256|d&-257;j[b+8>>1]=j[b+8>>1]&-257|d&256;d=k[a+12>>2]|0;k[a+12>>2]=k[b+12>>2];k[b+12>>2]=d;d=k[a+16>>2]|0;k[a+16>>2]=k[b+16>>2];k[b+16>>2]=d;d=k[a+20>>2]|0;k[a+20>>2]=k[b+20>>2];k[b+20>>2]=d;return}function QGa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=j[a+8>>1]|0;switch(b&255|0){case 6:case 7:{c=k[a>>2]|0;if(c){LHa(c,k[c+4>>2]|0);GPa(c)}break}case 4:{if(b&256)xSa(k[a>>2]|0);break}default:{}}b=k[a+12>>2]|0;if(!b){d=a;e=d;k[e>>2]=0;f=d+4|0;g=f;k[g>>2]=0;return}c=k[b+-4>>2]|0;if(c){h=b+(c<<2)|0;do{h=h+-4|0;c=k[h>>2]|0;if(c)xSa(c)}while((h|0)!=(b|0))}HPa(b+-4|0);d=a;e=d;k[e>>2]=0;f=d+4|0;g=f;k[g>>2]=0;return}function RGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+8>>1]|0;j[a+8>>1]=j[b+8>>1]&255|c&-256;j[b+8>>1]=j[b+8>>1]&-256|c&255;c=k[a>>2]|0;d=k[a+4>>2]|0;e=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=e;k[b>>2]=c;k[b+4>>2]=d;d=j[a+8>>1]|0;j[a+8>>1]=j[b+8>>1]&256|d&-257;j[b+8>>1]=j[b+8>>1]&-257|d&256;d=k[a+12>>2]|0;k[a+12>>2]=k[b+12>>2];k[b+12>>2]=d;d=k[a+16>>2]|0;k[a+16>>2]=k[b+16>>2];k[b+16>>2]=d;d=k[a+20>>2]|0;k[a+20>>2]=k[b+20>>2];k[b+20>>2]=d;return a|0}function SGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=j[a+8>>1]|0;j[a+8>>1]=j[b+8>>1]&255|c&-256;j[b+8>>1]=j[b+8>>1]&-256|c&255;c=k[a>>2]|0;d=k[a+4>>2]|0;e=k[b+4>>2]|0;k[a>>2]=k[b>>2];k[a+4>>2]=e;k[b>>2]=c;k[b+4>>2]=d;d=j[a+8>>1]|0;j[a+8>>1]=j[b+8>>1]&256|d&-257;j[b+8>>1]=j[b+8>>1]&-257|d&256;return}function TGa(a){a=a|0;return j[a+8>>1]&255|0}function UGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0;c=r;r=r+32|0;d=j[b+8>>1]|0;e=j[a+8>>1]|0;if((e&255)!=(d&255)){f=0;r=c;return f|0}switch(d&255|0){case 1:{f=(k[a>>2]|0)==(k[b>>2]|0)?(k[a+4>>2]|0)==(k[b+4>>2]|0):0;r=c;return f|0}case 2:{f=(k[a>>2]|0)==(k[b>>2]|0)?(k[a+4>>2]|0)==(k[b+4>>2]|0):0;r=c;return f|0}case 3:{f=+p[a>>3]==+p[b>>3];r=c;return f|0}case 5:{f=(i[a>>0]|0)==(i[b>>0]|0);r=c;return f|0}case 4:{g=k[a>>2]|0;h=k[b>>2]|0;if(g)if(!h)l=0;else{if(!(e&256)){m=cRa(g)|0;n=g}else{m=k[g>>2]|0;n=g+4|0}if(!(d&256)){o=cRa(h)|0;q=h}else{o=k[h>>2]|0;q=h+4|0}if((m|0)!=(o|0)){f=0;r=c;return f|0}if(!((n|0)!=0&(q|0)!=0)){aTa(c,266531,18);w=0;sa(1685,c|0);w=0;o=Ib()|0;dTa(c);Hb(o|0)}f=($Qa(n,q,m)|0)==0;r=c;return f|0}else l=h;f=(g|0)==(l|0);r=c;return f|0}case 7:case 6:{l=k[a>>2]|0;a=k[b>>2]|0;if((k[l+8>>2]|0)!=(k[a+8>>2]|0)){f=0;r=c;return f|0}b=k[l>>2]|0;if((b|0)==(l+4|0)){f=1;r=c;return f|0}g=b;h=k[a>>2]|0;a=b;while(1){b=h;m=k[a+16>>2]|0;q=k[a+20>>2]|0;if(!m){if((q|0)!=(k[b+20>>2]|0)){f=0;s=39;break}}else{if((q>>>2|0)!=((k[b+20>>2]|0)>>>2|0)){s=26;break}n=k[b+16>>2]|0;if(!n){s=28;break}if($Qa(m,n,q>>>2)|0){f=0;s=39;break}}if(!(UGa(a+24|0,b+24|0)|0)){f=0;s=39;break}b=g;q=k[b+4>>2]|0;if(!q){n=b;while(1){b=k[n+8>>2]|0;if((k[b>>2]|0)==(n|0)){t=b;break}else n=b}}else{n=q;while(1){b=k[n>>2]|0;if(!b){t=n;break}else n=b}}g=t;n=h;q=k[n+4>>2]|0;if(!q){b=n;while(1){n=k[b+8>>2]|0;if((k[n>>2]|0)==(b|0)){u=n;break}else b=n}}else{b=q;while(1){n=k[b>>2]|0;if(!n){u=b;break}else b=n}}if((t|0)==(l+4|0)){f=1;s=39;break}else{h=u;a=t}}if((s|0)==26){f=0;r=c;return f|0}else if((s|0)==28){aTa(c+12|0,266531,18);w=0;sa(1685,c+12|0);w=0;t=Ib()|0;dTa(c+12|0);Hb(t|0)}else if((s|0)==39){r=c;return f|0}break}case 0:{f=1;r=c;return f|0}default:{f=0;r=c;return f|0}}return 0}function VGa(a,b){a=a|0;b=b|0;return (UGa(a,b)|0)^1|0}function WGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=j[a+8>>1]|0;if((d&255)!=4){e=0;return e|0}f=k[a>>2]|0;if(!f){e=0;return e|0}if(!(d&256)){g=cRa(f)|0;h=f}else{g=k[f>>2]|0;h=f+4|0}k[b>>2]=h;k[c>>2]=h+g;e=1;return e|0}function XGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,q=0;c=r;r=r+176|0;d=j[b+8>>1]|0;switch(d&255|0){case 0:{aTa(a,282012,0);r=c;return}case 4:{e=k[b>>2]|0;if(!e){aTa(a,282012,0);r=c;return}if(!(d&256)){f=cRa(e)|0;g=e}else{f=k[e>>2]|0;g=e+4|0}aTa(a,g,f);r=c;return}case 5:{f=(i[b>>0]|0)!=0;aTa(a,f?282136:282141,f?4:5);r=c;return}case 1:{UHa(a,k[b>>2]|0,k[b+4>>2]|0);r=c;return}case 2:{VHa(a,k[b>>2]|0,k[b+4>>2]|0);r=c;return}case 3:{WHa(a,+p[b>>3]);r=c;return}default:{b=c+16+56|0;a=c+16+4|0;k[c+16>>2]=15008;k[b>>2]=15028;w=0;ua(725,c+16+56|0,a|0);f=w;w=0;if(f&1){f=Ib()|0;h=L;l=f;QTa(b);Hb(l|0)}k[c+16+128>>2]=0;k[c+16+132>>2]=-1;k[c+16>>2]=13968;k[c+16+56>>2]=13988;w=0;sa(1635,a|0);f=w;w=0;do if(f&1){g=Ib()|0;m=L;n=g}else{k[a>>2]=14004;g=c+16+36|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[c+16+52>>2]=16;k[c+152>>2]=0;k[c+152+4>>2]=0;k[c+152+8>>2]=0;w=0;ua(726,a|0,c+152|0);e=w;w=0;if(e&1){e=Ib()|0;d=L;dTa(c+152|0);dTa(g);VTa(a);m=d;n=e;break}dTa(c+152|0);w=0;Ea(71,c+16|0,266686,33)|0;e=w;w=0;if(!(e&1)?(w=0,ua(727,c|0,a|0),e=w,w=0,!(e&1)):0){w=0;sa(1685,c|0);w=0;e=Ib()|0;d=L;dTa(c);o=d;q=e;k[c+16>>2]=13968;k[b>>2]=13988;k[a>>2]=14004;dTa(g);VTa(a);QTa(b);Hb(q|0)}e=Ib()|0;o=L;q=e;k[c+16>>2]=13968;k[b>>2]=13988;k[a>>2]=14004;dTa(g);VTa(a);QTa(b);Hb(q|0)}while(0);h=m;l=n;QTa(b);Hb(l|0)}}}function YGa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;b=r;r=r+624|0;switch(j[a+8>>1]&255|0){case 1:{c=k[a>>2]|0;d=G0a(c|0,k[a+4>>2]|0,-2147483648,0)|0;e=L;if(e>>>0<1|(e|0)==1&d>>>0<0){f=c;r=b;return f|0}c=b+440+56|0;d=b+440+4|0;k[b+440>>2]=15008;k[c>>2]=15028;w=0;ua(725,b+440+56|0,d|0);e=w;w=0;if(e&1){e=Ib()|0;g=L;h=e;QTa(c);Hb(h|0)}k[b+440+128>>2]=0;k[b+440+132>>2]=-1;k[b+440>>2]=13968;k[b+440+56>>2]=13988;w=0;sa(1635,d|0);e=w;w=0;do if(e&1){i=Ib()|0;m=L;n=i}else{k[d>>2]=14004;i=b+440+36|0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=0;k[i+12>>2]=0;k[b+440+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,d|0,b+600|0);o=w;w=0;if(o&1){o=Ib()|0;q=L;dTa(b+600|0);dTa(i);VTa(d);m=q;n=o;break}dTa(b+600|0);w=0;Ea(71,b+440|0,266720,27)|0;o=w;w=0;if(!(o&1)?(w=0,ua(727,b+588|0,d|0),o=w,w=0,!(o&1)):0){w=0;sa(1685,b+588|0);w=0;o=Ib()|0;q=L;dTa(b+588|0);s=q;t=o}else{o=Ib()|0;s=L;t=o}k[b+440>>2]=13968;k[c>>2]=13988;k[d>>2]=14004;dTa(i);VTa(d);QTa(c);u=s;v=t;Hb(v|0)}while(0);g=m;h=n;QTa(c);Hb(h|0);break}case 2:{h=k[a>>2]|0;c=k[a+4>>2]|0;if(c>>>0<0|(c|0)==0&h>>>0<2147483648){f=h;r=b;return f|0}h=b+304+56|0;c=b+304+4|0;k[b+304>>2]=15008;k[h>>2]=15028;w=0;ua(725,b+304+56|0,c|0);n=w;w=0;if(n&1){n=Ib()|0;x=L;y=n;QTa(h);Hb(y|0)}k[b+304+128>>2]=0;k[b+304+132>>2]=-1;k[b+304>>2]=13968;k[b+304+56>>2]=13988;w=0;sa(1635,c|0);n=w;w=0;do if(n&1){m=Ib()|0;z=L;A=m}else{k[c>>2]=14004;m=b+304+36|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[b+304+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,c|0,b+600|0);g=w;w=0;if(g&1){g=Ib()|0;t=L;dTa(b+600|0);dTa(m);VTa(c);z=t;A=g;break}dTa(b+600|0);w=0;Ea(71,b+304|0,266748,28)|0;g=w;w=0;if(!(g&1)?(w=0,ua(727,b+576|0,c|0),g=w,w=0,!(g&1)):0){w=0;sa(1685,b+576|0);w=0;g=Ib()|0;t=L;dTa(b+576|0);B=t;C=g}else{g=Ib()|0;B=L;C=g}k[b+304>>2]=13968;k[h>>2]=13988;k[c>>2]=14004;dTa(m);VTa(c);QTa(h);u=B;v=C;Hb(v|0)}while(0);x=z;y=A;QTa(h);Hb(y|0);break}case 3:{D=+p[a>>3];if(D<=2147483647.0&D>=-2147483648.0){f=~~D;r=b;return f|0}y=b+152+56|0;h=b+152+4|0;k[b+152>>2]=15008;k[y>>2]=15028;w=0;ua(725,b+152+56|0,h|0);A=w;w=0;if(A&1){A=Ib()|0;E=L;F=A;QTa(y);Hb(F|0)}k[b+152+128>>2]=0;k[b+152+132>>2]=-1;k[b+152>>2]=13968;k[b+152+56>>2]=13988;w=0;sa(1635,h|0);A=w;w=0;do if(A&1){z=Ib()|0;G=L;H=z}else{k[h>>2]=14004;z=b+152+36|0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;k[z+12>>2]=0;k[b+152+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,h|0,b+600|0);x=w;w=0;if(x&1){x=Ib()|0;C=L;dTa(b+600|0);dTa(z);VTa(h);G=C;H=x;break}dTa(b+600|0);w=0;Ea(71,b+152|0,266777,23)|0;x=w;w=0;if(!(x&1)?(w=0,ua(727,b+288|0,h|0),x=w,w=0,!(x&1)):0){w=0;sa(1685,b+288|0);w=0;x=Ib()|0;C=L;dTa(b+288|0);I=C;J=x}else{x=Ib()|0;I=L;J=x}k[b+152>>2]=13968;k[y>>2]=13988;k[h>>2]=14004;dTa(z);VTa(h);QTa(y);u=I;v=J;Hb(v|0)}while(0);E=G;F=H;QTa(y);Hb(F|0);break}case 5:{f=l[a>>0]|0;r=b;return f|0}case 0:{f=0;r=b;return f|0}default:{f=b+16+56|0;a=b+16+4|0;k[b+16>>2]=15008;k[f>>2]=15028;w=0;ua(725,b+16+56|0,a|0);F=w;w=0;if(F&1){F=Ib()|0;K=L;M=F;QTa(f);Hb(M|0)}k[b+16+128>>2]=0;k[b+16+132>>2]=-1;k[b+16>>2]=13968;k[b+16+56>>2]=13988;w=0;sa(1635,a|0);F=w;w=0;do if(F&1){y=Ib()|0;N=L;O=y}else{k[a>>2]=14004;y=b+16+36|0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=0;k[y+12>>2]=0;k[b+16+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,a|0,b+600|0);H=w;w=0;if(H&1){H=Ib()|0;G=L;dTa(b+600|0);dTa(y);VTa(a);N=G;O=H;break}dTa(b+600|0);w=0;Ea(71,b+16|0,266801,32)|0;H=w;w=0;if(!(H&1)?(w=0,ua(727,b|0,a|0),H=w,w=0,!(H&1)):0){w=0;sa(1685,b|0);w=0;H=Ib()|0;G=L;dTa(b);P=G;Q=H}else{H=Ib()|0;P=L;Q=H}k[b+16>>2]=13968;k[f>>2]=13988;k[a>>2]=14004;dTa(y);VTa(a);QTa(f);u=P;v=Q;Hb(v|0)}while(0);K=N;M=O;QTa(f);Hb(M|0)}}return 0}function ZGa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;b=r;r=r+624|0;switch(j[a+8>>1]&255|0){case 1:{c=k[a>>2]|0;d=k[a+4>>2]|0;if(d>>>0<1|(d|0)==1&c>>>0<0){e=c;r=b;return e|0}c=b+440+56|0;d=b+440+4|0;k[b+440>>2]=15008;k[c>>2]=15028;w=0;ua(725,b+440+56|0,d|0);f=w;w=0;if(f&1){f=Ib()|0;g=L;h=f;QTa(c);Hb(h|0)}k[b+440+128>>2]=0;k[b+440+132>>2]=-1;k[b+440>>2]=13968;k[b+440+56>>2]=13988;w=0;sa(1635,d|0);f=w;w=0;do if(f&1){i=Ib()|0;m=L;n=i}else{k[d>>2]=14004;i=b+440+36|0;k[i>>2]=0;k[i+4>>2]=0;k[i+8>>2]=0;k[i+12>>2]=0;k[b+440+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,d|0,b+600|0);o=w;w=0;if(o&1){o=Ib()|0;q=L;dTa(b+600|0);dTa(i);VTa(d);m=q;n=o;break}dTa(b+600|0);w=0;Ea(71,b+440|0,266834,28)|0;o=w;w=0;if(!(o&1)?(w=0,ua(727,b+588|0,d|0),o=w,w=0,!(o&1)):0){w=0;sa(1685,b+588|0);w=0;o=Ib()|0;q=L;dTa(b+588|0);s=q;t=o}else{o=Ib()|0;s=L;t=o}k[b+440>>2]=13968;k[c>>2]=13988;k[d>>2]=14004;dTa(i);VTa(d);QTa(c);u=s;v=t;Hb(v|0)}while(0);g=m;h=n;QTa(c);Hb(h|0);break}case 2:{h=k[a>>2]|0;c=k[a+4>>2]|0;if(c>>>0<1|(c|0)==1&h>>>0<0){e=h;r=b;return e|0}h=b+304+56|0;c=b+304+4|0;k[b+304>>2]=15008;k[h>>2]=15028;w=0;ua(725,b+304+56|0,c|0);n=w;w=0;if(n&1){n=Ib()|0;x=L;y=n;QTa(h);Hb(y|0)}k[b+304+128>>2]=0;k[b+304+132>>2]=-1;k[b+304>>2]=13968;k[b+304+56>>2]=13988;w=0;sa(1635,c|0);n=w;w=0;do if(n&1){m=Ib()|0;z=L;A=m}else{k[c>>2]=14004;m=b+304+36|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[b+304+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,c|0,b+600|0);g=w;w=0;if(g&1){g=Ib()|0;t=L;dTa(b+600|0);dTa(m);VTa(c);z=t;A=g;break}dTa(b+600|0);w=0;Ea(71,b+304|0,266863,29)|0;g=w;w=0;if(!(g&1)?(w=0,ua(727,b+576|0,c|0),g=w,w=0,!(g&1)):0){w=0;sa(1685,b+576|0);w=0;g=Ib()|0;t=L;dTa(b+576|0);B=t;C=g}else{g=Ib()|0;B=L;C=g}k[b+304>>2]=13968;k[h>>2]=13988;k[c>>2]=14004;dTa(m);VTa(c);QTa(h);u=B;v=C;Hb(v|0)}while(0);x=z;y=A;QTa(h);Hb(y|0);break}case 3:{D=+p[a>>3];if(D<=4294967295.0&D>=0.0){e=~~D>>>0;r=b;return e|0}y=b+152+56|0;h=b+152+4|0;k[b+152>>2]=15008;k[y>>2]=15028;w=0;ua(725,b+152+56|0,h|0);A=w;w=0;if(A&1){A=Ib()|0;E=L;F=A;QTa(y);Hb(F|0)}k[b+152+128>>2]=0;k[b+152+132>>2]=-1;k[b+152>>2]=13968;k[b+152+56>>2]=13988;w=0;sa(1635,h|0);A=w;w=0;do if(A&1){z=Ib()|0;G=L;H=z}else{k[h>>2]=14004;z=b+152+36|0;k[z>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;k[z+12>>2]=0;k[b+152+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,h|0,b+600|0);x=w;w=0;if(x&1){x=Ib()|0;C=L;dTa(b+600|0);dTa(z);VTa(h);G=C;H=x;break}dTa(b+600|0);w=0;Ea(71,b+152|0,266893,24)|0;x=w;w=0;if(!(x&1)?(w=0,ua(727,b+288|0,h|0),x=w,w=0,!(x&1)):0){w=0;sa(1685,b+288|0);w=0;x=Ib()|0;C=L;dTa(b+288|0);I=C;J=x}else{x=Ib()|0;I=L;J=x}k[b+152>>2]=13968;k[y>>2]=13988;k[h>>2]=14004;dTa(z);VTa(h);QTa(y);u=I;v=J;Hb(v|0)}while(0);E=G;F=H;QTa(y);Hb(F|0);break}case 5:{e=l[a>>0]|0;r=b;return e|0}case 0:{e=0;r=b;return e|0}default:{e=b+16+56|0;a=b+16+4|0;k[b+16>>2]=15008;k[e>>2]=15028;w=0;ua(725,b+16+56|0,a|0);F=w;w=0;if(F&1){F=Ib()|0;K=L;M=F;QTa(e);Hb(M|0)}k[b+16+128>>2]=0;k[b+16+132>>2]=-1;k[b+16>>2]=13968;k[b+16+56>>2]=13988;w=0;sa(1635,a|0);F=w;w=0;do if(F&1){y=Ib()|0;N=L;O=y}else{k[a>>2]=14004;y=b+16+36|0;k[y>>2]=0;k[y+4>>2]=0;k[y+8>>2]=0;k[y+12>>2]=0;k[b+16+52>>2]=16;k[b+600>>2]=0;k[b+600+4>>2]=0;k[b+600+8>>2]=0;w=0;ua(726,a|0,b+600|0);H=w;w=0;if(H&1){H=Ib()|0;G=L;dTa(b+600|0);dTa(y);VTa(a);N=G;O=H;break}dTa(b+600|0);w=0;Ea(71,b+16|0,266918,33)|0;H=w;w=0;if(!(H&1)?(w=0,ua(727,b|0,a|0),H=w,w=0,!(H&1)):0){w=0;sa(1685,b|0);w=0;H=Ib()|0;G=L;dTa(b);P=G;Q=H}else{H=Ib()|0;P=L;Q=H}k[b+16>>2]=13968;k[e>>2]=13988;k[a>>2]=14004;dTa(y);VTa(a);QTa(e);u=P;v=Q;Hb(v|0)}while(0);K=N;M=O;QTa(e);Hb(M|0)}}return 0}function _Ga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0.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;b=r;r=r+464|0;switch(j[a+8>>1]&255|0){case 1:{c=k[a+4>>2]|0;d=k[a>>2]|0;L=c;r=b;return d|0}case 2:{e=k[a>>2]|0;f=k[a+4>>2]|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){c=f;d=e;L=c;r=b;return d|0}e=b+304+56|0;f=b+304+4|0;k[b+304>>2]=15008;k[e>>2]=15028;w=0;ua(725,b+304+56|0,f|0);g=w;w=0;if(g&1){g=Ib()|0;h=L;i=g;QTa(e);Hb(i|0)}k[b+304+128>>2]=0;k[b+304+132>>2]=-1;k[b+304>>2]=13968;k[b+304+56>>2]=13988;w=0;sa(1635,f|0);g=w;w=0;do if(g&1){m=Ib()|0;n=L;o=m}else{k[f>>2]=14004;m=b+304+36|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[b+304+52>>2]=16;k[b+452>>2]=0;k[b+452+4>>2]=0;k[b+452+8>>2]=0;w=0;ua(726,f|0,b+452|0);q=w;w=0;if(q&1){q=Ib()|0;s=L;dTa(b+452|0);dTa(m);VTa(f);n=s;o=q;break}dTa(b+452|0);w=0;Ea(71,b+304|0,266952,30)|0;q=w;w=0;if(!(q&1)?(w=0,ua(727,b+440|0,f|0),q=w,w=0,!(q&1)):0){w=0;sa(1685,b+440|0);w=0;q=Ib()|0;s=L;dTa(b+440|0);t=s;u=q}else{q=Ib()|0;t=L;u=q}k[b+304>>2]=13968;k[e>>2]=13988;k[f>>2]=14004;dTa(m);VTa(f);QTa(e);v=t;x=u;Hb(x|0)}while(0);h=n;i=o;QTa(e);Hb(i|0);break}case 3:{y=+p[a>>3];if(y<=9223372036854775808.0&y>=-9223372036854775808.0){c=+W(y)>=1.0?(y>0.0?~~+ia(+V(y/4294967296.0),4294967295.0)>>>0:~~+ga((y-+(~~y>>>0))/4294967296.0)>>>0):0;d=~~y>>>0;L=c;r=b;return d|0}i=b+152+56|0;e=b+152+4|0;k[b+152>>2]=15008;k[i>>2]=15028;w=0;ua(725,b+152+56|0,e|0);o=w;w=0;if(o&1){o=Ib()|0;z=L;A=o;QTa(i);Hb(A|0)}k[b+152+128>>2]=0;k[b+152+132>>2]=-1;k[b+152>>2]=13968;k[b+152+56>>2]=13988;w=0;sa(1635,e|0);o=w;w=0;do if(o&1){n=Ib()|0;B=L;C=n}else{k[e>>2]=14004;n=b+152+36|0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;k[b+152+52>>2]=16;k[b+452>>2]=0;k[b+452+4>>2]=0;k[b+452+8>>2]=0;w=0;ua(726,e|0,b+452|0);h=w;w=0;if(h&1){h=Ib()|0;u=L;dTa(b+452|0);dTa(n);VTa(e);B=u;C=h;break}dTa(b+452|0);w=0;Ea(71,b+152|0,266983,25)|0;h=w;w=0;if(!(h&1)?(w=0,ua(727,b+288|0,e|0),h=w,w=0,!(h&1)):0){w=0;sa(1685,b+288|0);w=0;h=Ib()|0;u=L;dTa(b+288|0);D=u;E=h}else{h=Ib()|0;D=L;E=h}k[b+152>>2]=13968;k[i>>2]=13988;k[e>>2]=14004;dTa(n);VTa(e);QTa(i);v=D;x=E;Hb(x|0)}while(0);z=B;A=C;QTa(i);Hb(A|0);break}case 5:{c=0;d=l[a>>0]|0;L=c;r=b;return d|0}case 0:{c=0;d=0;L=c;r=b;return d|0}default:{d=b+16+56|0;c=b+16+4|0;k[b+16>>2]=15008;k[d>>2]=15028;w=0;ua(725,b+16+56|0,c|0);a=w;w=0;if(a&1){a=Ib()|0;F=L;G=a;QTa(d);Hb(G|0)}k[b+16+128>>2]=0;k[b+16+132>>2]=-1;k[b+16>>2]=13968;k[b+16+56>>2]=13988;w=0;sa(1635,c|0);a=w;w=0;do if(a&1){A=Ib()|0;H=L;I=A}else{k[c>>2]=14004;A=b+16+36|0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;k[A+12>>2]=0;k[b+16+52>>2]=16;k[b+452>>2]=0;k[b+452+4>>2]=0;k[b+452+8>>2]=0;w=0;ua(726,c|0,b+452|0);i=w;w=0;if(i&1){i=Ib()|0;C=L;dTa(b+452|0);dTa(A);VTa(c);H=C;I=i;break}dTa(b+452|0);w=0;Ea(71,b+16|0,267009,34)|0;i=w;w=0;if(!(i&1)?(w=0,ua(727,b|0,c|0),i=w,w=0,!(i&1)):0){w=0;sa(1685,b|0);w=0;i=Ib()|0;C=L;dTa(b);J=C;K=i}else{i=Ib()|0;J=L;K=i}k[b+16>>2]=13968;k[d>>2]=13988;k[c>>2]=14004;dTa(A);VTa(c);QTa(d);v=J;x=K;Hb(x|0)}while(0);F=H;G=I;QTa(d);Hb(G|0)}}return 0}function $Ga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,m=0,n=0,o=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0.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;b=r;r=r+464|0;switch(j[a+8>>1]&255|0){case 1:{c=k[a>>2]|0;d=k[a+4>>2]|0;if((d|0)>-1|(d|0)==-1&c>>>0>4294967295){e=d;f=c;L=e;r=b;return f|0}c=b+304+56|0;d=b+304+4|0;k[b+304>>2]=15008;k[c>>2]=15028;w=0;ua(725,b+304+56|0,d|0);g=w;w=0;if(g&1){g=Ib()|0;h=L;i=g;QTa(c);Hb(i|0)}k[b+304+128>>2]=0;k[b+304+132>>2]=-1;k[b+304>>2]=13968;k[b+304+56>>2]=13988;w=0;sa(1635,d|0);g=w;w=0;do if(g&1){m=Ib()|0;n=L;o=m}else{k[d>>2]=14004;m=b+304+36|0;k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;k[m+12>>2]=0;k[b+304+52>>2]=16;k[b+452>>2]=0;k[b+452+4>>2]=0;k[b+452+8>>2]=0;w=0;ua(726,d|0,b+452|0);q=w;w=0;if(q&1){q=Ib()|0;s=L;dTa(b+452|0);dTa(m);VTa(d);n=s;o=q;break}dTa(b+452|0);w=0;Ea(71,b+304|0,267044,30)|0;q=w;w=0;if(!(q&1)?(w=0,ua(727,b+440|0,d|0),q=w,w=0,!(q&1)):0){w=0;sa(1685,b+440|0);w=0;q=Ib()|0;s=L;dTa(b+440|0);t=s;u=q}else{q=Ib()|0;t=L;u=q}k[b+304>>2]=13968;k[c>>2]=13988;k[d>>2]=14004;dTa(m);VTa(d);QTa(c);v=t;x=u;Hb(x|0)}while(0);h=n;i=o;QTa(c);Hb(i|0);break}case 2:{e=k[a+4>>2]|0;f=k[a>>2]|0;L=e;r=b;return f|0}case 3:{y=+p[a>>3];if(y<=18446744073709551616.0&y>=0.0){e=+W(y)>=1.0?(y>0.0?~~+ia(+V(y/4294967296.0),4294967295.0)>>>0:~~+ga((y-+(~~y>>>0))/4294967296.0)>>>0):0;f=~~y>>>0;L=e;r=b;return f|0}i=b+152+56|0;c=b+152+4|0;k[b+152>>2]=15008;k[i>>2]=15028;w=0;ua(725,b+152+56|0,c|0);o=w;w=0;if(o&1){o=Ib()|0;z=L;A=o;QTa(i);Hb(A|0)}k[b+152+128>>2]=0;k[b+152+132>>2]=-1;k[b+152>>2]=13968;k[b+152+56>>2]=13988;w=0;sa(1635,c|0);o=w;w=0;do if(o&1){n=Ib()|0;B=L;C=n}else{k[c>>2]=14004;n=b+152+36|0;k[n>>2]=0;k[n+4>>2]=0;k[n+8>>2]=0;k[n+12>>2]=0;k[b+152+52>>2]=16;k[b+452>>2]=0;k[b+452+4>>2]=0;k[b+452+8>>2]=0;w=0;ua(726,c|0,b+452|0);h=w;w=0;if(h&1){h=Ib()|0;u=L;dTa(b+452|0);dTa(n);VTa(c);B=u;C=h;break}dTa(b+452|0);w=0;Ea(71,b+152|0,267075,26)|0;h=w;w=0;if(!(h&1)?(w=0,ua(727,b+288|0,c|0),h=w,w=0,!(h&1)):0){w=0;sa(1685,b+288|0);w=0;h=Ib()|0;u=L;dTa(b+288|0);D=u;E=h}else{h=Ib()|0;D=L;E=h}k[b+152>>2]=13968;k[i>>2]=13988;k[c>>2]=14004;dTa(n);VTa(c);QTa(i);v=D;x=E;Hb(x|0)}while(0);z=B;A=C;QTa(i);Hb(A|0);break}case 5:{e=0;f=l[a>>0]|0;L=e;r=b;return f|0}case 0:{e=0;f=0;L=e;r=b;return f|0}default:{f=b+16+56|0;e=b+16+4|0;k[b+16>>2]=15008;k[f>>2]=15028;w=0;ua(725,b+16+56|0,e|0);a=w;w=0;if(a&1){a=Ib()|0;F=L;G=a;QTa(f);Hb(G|0)}k[b+16+128>>2]=0;k[b+16+132>>2]=-1;k[b+16>>2]=13968;k[b+16+56>>2]=13988;w=0;sa(1635,e|0);a=w;w=0;do if(a&1){A=Ib()|0;H=L;I=A}else{k[e>>2]=14004;A=b+16+36|0;k[A>>2]=0;k[A+4>>2]=0;k[A+8>>2]=0;k[A+12>>2]=0;k[b+16+52>>2]=16;k[b+452>>2]=0;k[b+452+4>>2]=0;k[b+452+8>>2]=0;w=0;ua(726,e|0,b+452|0);i=w;w=0;if(i&1){i=Ib()|0;C=L;dTa(b+452|0);dTa(A);VTa(e);H=C;I=i;break}dTa(b+452|0);w=0;Ea(71,b+16|0,267102,35)|0;i=w;w=0;if(!(i&1)?(w=0,ua(727,b|0,e|0),i=w,w=0,!(i&1)):0){w=0;sa(1685,b|0);w=0;i=Ib()|0;C=L;dTa(b);J=C;K=i}else{i=Ib()|0;J=L;K=i}k[b+16>>2]=13968;k[f>>2]=13988;k[e>>2]=14004;dTa(A);VTa(e);QTa(f);v=J;x=K;Hb(x|0)}while(0);F=H;G=I;QTa(f);Hb(G|0)}}return 0}function aHa(a){a=a|0;var b=0;b=_Ga(a)|0;return b|0}function bHa(a){a=a|0;var b=0;b=$Ga(a)|0;return b|0}function cHa(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,q=0,s=0;b=r;r=r+176|0;switch(j[a+8>>1]&255|0){case 1:{c=+((k[a>>2]|0)>>>0)+4294967296.0*+(k[a+4>>2]|0);r=b;return +c}case 2:{c=+((k[a>>2]|0)>>>0)+4294967296.0*+((k[a+4>>2]|0)>>>0);r=b;return +c}case 3:{c=+p[a>>3];r=b;return +c}case 5:{c=(i[a>>0]|0)!=0?1.0:0.0;r=b;return +c}case 0:{c=0.0;r=b;return +c}default:{a=b+16+56|0;d=b+16+4|0;k[b+16>>2]=15008;k[a>>2]=15028;w=0;ua(725,b+16+56|0,d|0);e=w;w=0;if(e&1){e=Ib()|0;f=L;g=e;QTa(a);Hb(g|0)}k[b+16+128>>2]=0;k[b+16+132>>2]=-1;k[b+16>>2]=13968;k[b+16+56>>2]=13988;w=0;sa(1635,d|0);e=w;w=0;do if(e&1){h=Ib()|0;l=L;m=h}else{k[d>>2]=14004;h=b+16+36|0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[b+16+52>>2]=16;k[b+152>>2]=0;k[b+152+4>>2]=0;k[b+152+8>>2]=0;w=0;ua(726,d|0,b+152|0);n=w;w=0;if(n&1){n=Ib()|0;o=L;dTa(b+152|0);dTa(h);VTa(d);l=o;m=n;break}dTa(b+152|0);w=0;Ea(71,b+16|0,267138,35)|0;n=w;w=0;if(!(n&1)?(w=0,ua(727,b|0,d|0),n=w,w=0,!(n&1)):0){w=0;sa(1685,b|0);w=0;n=Ib()|0;o=L;dTa(b);q=o;s=n;k[b+16>>2]=13968;k[a>>2]=13988;k[d>>2]=14004;dTa(h);VTa(d);QTa(a);Hb(s|0)}n=Ib()|0;q=L;s=n;k[b+16>>2]=13968;k[a>>2]=13988;k[d>>2]=14004;dTa(h);VTa(d);QTa(a);Hb(s|0)}while(0);f=l;g=m;QTa(a);Hb(g|0)}}return +(0.0)}function dHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,q=0;b=r;r=r+176|0;switch(j[a+8>>1]&255|0){case 5:{c=(i[a>>0]|0)!=0;r=b;return c|0}case 1:{c=(k[a>>2]|0)!=0|(k[a+4>>2]|0)!=0;r=b;return c|0}case 2:{c=(k[a>>2]|0)!=0|(k[a+4>>2]|0)!=0;r=b;return c|0}case 3:{c=+p[a>>3]!=0.0;r=b;return c|0}case 0:{c=0;r=b;return c|0}default:{c=b+16+56|0;a=b+16+4|0;k[b+16>>2]=15008;k[c>>2]=15028;w=0;ua(725,b+16+56|0,a|0);d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d;QTa(c);Hb(f|0)}k[b+16+128>>2]=0;k[b+16+132>>2]=-1;k[b+16>>2]=13968;k[b+16+56>>2]=13988;w=0;sa(1635,a|0);d=w;w=0;do if(d&1){g=Ib()|0;h=L;l=g}else{k[a>>2]=14004;g=b+16+36|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[b+16+52>>2]=16;k[b+152>>2]=0;k[b+152+4>>2]=0;k[b+152+8>>2]=0;w=0;ua(726,a|0,b+152|0);m=w;w=0;if(m&1){m=Ib()|0;n=L;dTa(b+152|0);dTa(g);VTa(a);h=n;l=m;break}dTa(b+152|0);w=0;Ea(71,b+16|0,267174,33)|0;m=w;w=0;if(!(m&1)?(w=0,ua(727,b|0,a|0),m=w,w=0,!(m&1)):0){w=0;sa(1685,b|0);w=0;m=Ib()|0;n=L;dTa(b);o=n;q=m;k[b+16>>2]=13968;k[c>>2]=13988;k[a>>2]=14004;dTa(g);VTa(a);QTa(c);Hb(q|0)}m=Ib()|0;o=L;q=m;k[b+16>>2]=13968;k[c>>2]=13988;k[a>>2]=14004;dTa(g);VTa(a);QTa(c);Hb(q|0)}while(0);e=h;f=l;QTa(c);Hb(f|0)}}return 0}function eHa(a){a=a|0;var b=0,c=0,d=0,e=0;switch(j[a+8>>1]&255|0){case 7:{b=k[(k[a>>2]|0)+8>>2]|0;return b|0}case 6:{c=k[a>>2]|0;if(!(k[c+8>>2]|0)){b=0;return b|0}a=k[c+4>>2]|0;if(!a){d=c+4|0;while(1){c=k[d+8>>2]|0;if((k[c>>2]|0)==(d|0))d=c;else{e=c;break}}}else{d=a;while(1){a=k[d+4>>2]|0;if(!a){e=d;break}else d=a}}b=(k[e+20>>2]|0)+1|0;return b|0}default:{b=0;return b|0}}return 0}function fHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=j[a+8>>1]&255;switch(b<<16>>16){case 7:case 6:case 0:break;default:{c=0;return c|0}}switch(b&65535|0){case 7:{d=k[(k[a>>2]|0)+8>>2]|0;break}case 6:{b=k[a>>2]|0;if(!(k[b+8>>2]|0))d=0;else{a=k[b+4>>2]|0;if(!a){e=b+4|0;while(1){b=k[e+8>>2]|0;if((k[b>>2]|0)==(e|0))e=b;else{f=b;break}}}else{e=a;while(1){a=k[e+4>>2]|0;if(!a){f=e;break}else e=a}}d=(k[f+20>>2]|0)+1|0}break}default:d=0}c=(d|0)==0;return c|0}function gHa(a){a=a|0;return (j[a+8>>1]&255)==0|0}function hHa(a){a=a|0;return (j[a+8>>1]&255)==6|0}function iHa(a){a=a|0;return (j[a+8>>1]&255)==7|0}function jHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=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;c=r;r=r+240|0;d=j[a+8>>1]|0;switch(d&255){case 0:{e=EPa(12)|0;k[e+4>>2]=0;k[e+8>>2]=0;k[e>>2]=e+4;k[c+32>>2]=e;e=k[a>>2]|0;f=k[a+4>>2]|0;g=k[c+32+4>>2]|0;k[a>>2]=k[c+32>>2];k[a+4>>2]=g;k[c+32>>2]=e;k[c+32+4>>2]=f;j[a+8>>1]=d&-512|6;j[c+32+8>>1]=d&256;d=k[a+12>>2]|0;k[a+12>>2]=0;k[c+32+12>>2]=d;d=k[a+16>>2]|0;k[a+16>>2]=0;k[c+32+16>>2]=d;d=k[a+20>>2]|0;k[a+20>>2]=0;k[c+32+20>>2]=d;QGa(c+32|0);break}case 6:break;default:{d=c+64+56|0;f=c+64+4|0;k[c+64>>2]=15008;k[d>>2]=15028;w=0;ua(725,c+64+56|0,f|0);e=w;w=0;if(e&1){e=Ib()|0;h=L;l=e;QTa(d);Hb(l|0)}k[c+64+128>>2]=0;k[c+64+132>>2]=-1;k[c+64>>2]=13968;k[c+64+56>>2]=13988;w=0;sa(1635,f|0);e=w;w=0;do if(e&1){g=Ib()|0;m=L;n=g}else{k[f>>2]=14004;g=c+64+36|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[c+64+52>>2]=16;k[c+228>>2]=0;k[c+228+4>>2]=0;k[c+228+8>>2]=0;w=0;ua(726,f|0,c+228|0);o=w;w=0;if(o&1){o=Ib()|0;p=L;dTa(c+228|0);dTa(g);VTa(f);m=p;n=o;break}dTa(c+228|0);w=0;Ea(71,c+64|0,267208,59)|0;o=w;w=0;if(!(o&1)?(w=0,ua(727,c+200|0,f|0),o=w,w=0,!(o&1)):0){w=0;sa(1685,c+200|0);w=0;o=Ib()|0;p=L;dTa(c+200|0);q=p;s=o}else{o=Ib()|0;q=L;s=o}k[c+64>>2]=13968;k[d>>2]=13988;k[f>>2]=14004;dTa(g);VTa(f);QTa(d);t=q;u=s;Hb(u|0)}while(0);h=m;l=n;QTa(d);Hb(l|0)}}k[c+56>>2]=0;k[c+56+4>>2]=b;l=k[a>>2]|0;w=0;d=ab(63,l|0,c+56|0,k[l+4>>2]|0,l+4|0)|0;l=w;w=0;a:do if(l&1){v=b;x=0;y=25}else{do if((d|0)!=((k[a>>2]|0)+4|0)){n=k[d+20>>2]|0;if(!(k[d+16>>2]|0)){if((n|0)!=(b|0))break;z=d+24|0;r=c;return z|0}if((n^b)>>>0>=4)break;w=0;cb(138,c+212|0,266531,18);n=w;w=0;if(n&1){v=b;x=0;y=25;break a}w=0;sa(1685,c+212|0);w=0;n=Ib()|0;m=L;dTa(c+212|0);A=b;B=0;C=m;D=n;y=26;break a}while(0);if((i[10112]|0)==0?(qb(10112)|0)!=0:0){j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112)}n=k[c+56+4>>2]|0;m=k[c+56>>2]|0;do if(n&3)if(!m)E=0;else{h=wSa((n>>>2)+1|0)|0;if(h){J0a(h|0,m|0,n>>>2|0)|0;i[h+(n>>>2)>>0]=0;E=h;break}w=0;cb(138,c+228|0,266607,78);h=w;w=0;if(h&1){v=n;x=m;y=25;break a}w=0;sa(1686,c+228|0);w=0;h=Ib()|0;s=L;dTa(c+228|0);A=n;B=m;C=s;D=h;y=26;break a}else E=m;while(0);k[c>>2]=E;k[c+4>>2]=((m|0)!=0?(n&3|0)!=0&1:n&3)|n&-4;w=0;ua(711,c+8|0,10120);h=w;w=0;if(h&1){h=Ib()|0;s=L;q=k[c>>2]|0;if(!q){A=n;B=m;C=s;D=h;y=26;break}if((k[c+4>>2]&3|0)!=1){A=n;B=m;C=s;D=h;y=26;break}xSa(q);A=n;B=m;C=s;D=h;y=26;break}h=k[a>>2]|0;k[c+224>>2]=d;w=0;k[c+228>>2]=k[c+224>>2];s=Ea(117,h|0,c+228|0,c|0)|0;h=w;w=0;if(h&1){h=Ib()|0;q=L;QGa(c+8|0);f=k[c>>2]|0;if(!f){F=q;G=h;H=m;I=n;break}if((k[c+4>>2]&3|0)!=1){F=q;G=h;H=m;I=n;break}xSa(f);F=q;G=h;H=m;I=n;break}QGa(c+8|0);h=k[c>>2]|0;if((h|0)!=0?(k[c+4>>2]&3|0)==1:0)xSa(h);if(!((m|0)!=0&(n&3|0)==1)){z=s+24|0;r=c;return z|0}xSa(m);z=s+24|0;r=c;return z|0}while(0);if((y|0)==25){z=Ib()|0;A=v;B=x;C=L;D=z;y=26}if((y|0)==26){F=C;G=D;H=B;I=A}if(!((H|0)!=0&(I&3|0)==1)){t=F;u=G;Hb(u|0)}xSa(H);t=F;u=G;Hb(u|0);return 0}function kHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;c=r;r=r+176|0;if((b|0)>-1){d=jHa(a,b)|0;r=c;return d|0}d=c+16+56|0;b=c+16+4|0;k[c+16>>2]=15008;k[d>>2]=15028;w=0;ua(725,c+16+56|0,b|0);a=w;w=0;if(a&1){a=Ib()|0;e=L;f=a;QTa(d);Hb(f|0)}k[c+16+128>>2]=0;k[c+16+132>>2]=-1;k[c+16>>2]=13968;k[c+16+56>>2]=13988;w=0;sa(1635,b|0);a=w;w=0;do if(a&1){g=Ib()|0;h=L;i=g}else{k[b>>2]=14004;g=c+16+36|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[c+16+52>>2]=16;k[c+152>>2]=0;k[c+152+4>>2]=0;k[c+152+8>>2]=0;w=0;ua(726,b|0,c+152|0);j=w;w=0;if(j&1){j=Ib()|0;l=L;dTa(c+152|0);dTa(g);VTa(b);h=l;i=j;break}dTa(c+152|0);w=0;Ea(71,c+16|0,267268,63)|0;j=w;w=0;if(!(j&1)?(w=0,ua(727,c|0,b|0),j=w,w=0,!(j&1)):0){w=0;sa(1685,c|0);w=0;j=Ib()|0;l=L;dTa(c);m=l;n=j;k[c+16>>2]=13968;k[d>>2]=13988;k[b>>2]=14004;dTa(g);VTa(b);QTa(d);Hb(n|0)}j=Ib()|0;m=L;n=j;k[c+16>>2]=13968;k[d>>2]=13988;k[b>>2]=14004;dTa(g);VTa(b);QTa(d);Hb(n|0)}while(0);e=h;f=i;QTa(d);Hb(f|0);return 0}function lHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;c=r;r=r+176|0;switch(j[a+8>>1]&255){case 0:{if(i[10112]|0){d=10120;r=c;return d|0}if(!(qb(10112)|0)){d=10120;r=c;return d|0}j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112);d=10120;r=c;return d|0}case 6:{k[c+152>>2]=0;k[c+152+4>>2]=b;w=0;b=Sa(701,k[a>>2]|0,c+152|0)|0;e=w;w=0;if(e&1){e=Ib()|0;f=L;g=e;Hb(g|0)}if((b|0)==((k[a>>2]|0)+4|0))if((i[10112]|0)==0?(qb(10112)|0)!=0:0){j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112);h=10120}else h=10120;else h=b+24|0;b=k[c+152>>2]|0;if((b|0)!=0?(k[c+152+4>>2]&3|0)==1:0)xSa(b);d=h;r=c;return d|0}default:{d=c+16+56|0;h=c+16+4|0;k[c+16>>2]=15008;k[d>>2]=15028;w=0;ua(725,c+16+56|0,h|0);b=w;w=0;if(b&1){b=Ib()|0;l=L;m=b;QTa(d);Hb(m|0)}k[c+16+128>>2]=0;k[c+16+132>>2]=-1;k[c+16>>2]=13968;k[c+16+56>>2]=13988;w=0;sa(1635,h|0);b=w;w=0;do if(b&1){a=Ib()|0;n=L;o=a}else{k[h>>2]=14004;a=c+16+36|0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[c+16+52>>2]=16;k[c+152>>2]=0;k[c+152+4>>2]=0;k[c+152+8>>2]=0;w=0;ua(726,h|0,c+152|0);e=w;w=0;if(e&1){e=Ib()|0;p=L;dTa(c+152|0);dTa(a);VTa(h);n=p;o=e;break}dTa(c+152|0);w=0;Ea(71,c+16|0,267332,64)|0;e=w;w=0;if(!(e&1)?(w=0,ua(727,c|0,h|0),e=w,w=0,!(e&1)):0){w=0;sa(1685,c|0);w=0;e=Ib()|0;p=L;dTa(c);q=p;s=e}else{e=Ib()|0;q=L;s=e}k[c+16>>2]=13968;k[d>>2]=13988;k[h>>2]=14004;dTa(a);VTa(h);QTa(d);f=q;g=s;Hb(g|0)}while(0);l=n;m=o;QTa(d);Hb(m|0)}}return 0}function mHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0;d=r;r=r+240|0;e=j[a+8>>1]|0;switch(e&255){case 0:{f=EPa(12)|0;k[f+4>>2]=0;k[f+8>>2]=0;k[f>>2]=f+4;k[d+32>>2]=f;f=k[a>>2]|0;g=k[a+4>>2]|0;h=k[d+32+4>>2]|0;k[a>>2]=k[d+32>>2];k[a+4>>2]=h;k[d+32>>2]=f;k[d+32+4>>2]=g;j[a+8>>1]=e&-512|7;j[d+32+8>>1]=e&256;e=k[a+12>>2]|0;k[a+12>>2]=0;k[d+32+12>>2]=e;e=k[a+16>>2]|0;k[a+16>>2]=0;k[d+32+16>>2]=e;e=k[a+20>>2]|0;k[a+20>>2]=0;k[d+32+20>>2]=e;QGa(d+32|0);break}case 7:break;default:{e=d+64+56|0;g=d+64+4|0;k[d+64>>2]=15008;k[e>>2]=15028;w=0;ua(725,d+64+56|0,g|0);f=w;w=0;if(f&1){f=Ib()|0;l=L;m=f;QTa(e);Hb(m|0)}k[d+64+128>>2]=0;k[d+64+132>>2]=-1;k[d+64>>2]=13968;k[d+64+56>>2]=13988;w=0;sa(1635,g|0);f=w;w=0;do if(f&1){h=Ib()|0;n=L;o=h}else{k[g>>2]=14004;h=d+64+36|0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[d+64+52>>2]=16;k[d+228>>2]=0;k[d+228+4>>2]=0;k[d+228+8>>2]=0;w=0;ua(726,g|0,d+228|0);p=w;w=0;if(p&1){p=Ib()|0;q=L;dTa(d+228|0);dTa(h);VTa(g);n=q;o=p;break}dTa(d+228|0);w=0;Ea(71,d+64|0,267397,64)|0;p=w;w=0;if(!(p&1)?(w=0,ua(727,d+200|0,g|0),p=w,w=0,!(p&1)):0){w=0;sa(1685,d+200|0);w=0;p=Ib()|0;q=L;dTa(d+200|0);s=p;t=q}else{q=Ib()|0;s=q;t=L}k[d+64>>2]=13968;k[e>>2]=13988;k[g>>2]=14004;dTa(h);VTa(g);QTa(e);u=s;v=t;Hb(u|0)}while(0);l=n;m=o;QTa(e);Hb(m|0)}}k[d+56>>2]=b;m=c-b<<2|2;k[d+56+4>>2]=m;e=k[a>>2]|0;w=0;o=ab(63,e|0,d+56|0,k[e+4>>2]|0,e+4|0)|0;e=w;w=0;a:do if(e&1){x=m;y=b;z=27}else{do if((o|0)!=((k[a>>2]|0)+4|0)){n=k[o+16>>2]|0;l=k[o+20>>2]|0;if(!n)if((l|0)==(m|0)){A=o;B=b;C=m;z=50;break}else{z=29;break}if((l>>>2|0)!=(c-b&1073741823|0)){z=29;break}if(!b){w=0;cb(138,d+212|0,266531,18);t=w;w=0;if(t&1){x=m;y=0;z=27;break a}w=0;sa(1685,d+212|0);w=0;t=Ib()|0;s=L;dTa(d+212|0);D=m;E=0;F=s;G=t;z=28;break a}else{if($Qa(n,b,l>>>2)|0){z=29;break}H=o+24|0;I=m;J=b;break}}else z=29;while(0);if((z|0)==29){if((i[10112]|0)==0?(qb(10112)|0)!=0:0){j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112)}l=k[d+56+4>>2]|0;n=k[d+56>>2]|0;do if(l&3)if(!n)K=0;else{t=wSa((l>>>2)+1|0)|0;if(t){J0a(t|0,n|0,l>>>2|0)|0;i[t+(l>>>2)>>0]=0;K=t;break}w=0;cb(138,d+228|0,266607,78);t=w;w=0;if(t&1){x=l;y=n;z=27;break a}w=0;sa(1686,d+228|0);w=0;t=Ib()|0;s=L;dTa(d+228|0);D=l;E=n;F=s;G=t;z=28;break a}else K=n;while(0);k[d>>2]=K;k[d+4>>2]=((n|0)!=0?(l&3|0)!=0&1:l&3)|l&-4;w=0;ua(711,d+8|0,10120);t=w;w=0;if(t&1){t=Ib()|0;s=L;g=k[d>>2]|0;if(!g){D=l;E=n;F=s;G=t;z=28;break}if((k[d+4>>2]&3|0)!=1){D=l;E=n;F=s;G=t;z=28;break}xSa(g);D=l;E=n;F=s;G=t;z=28;break}t=k[a>>2]|0;k[d+224>>2]=o;w=0;k[d+228>>2]=k[d+224>>2];s=Ea(117,t|0,d+228|0,d|0)|0;t=w;w=0;if(t&1){t=Ib()|0;g=L;QGa(d+8|0);f=k[d>>2]|0;if(!f){M=t;N=g;O=n;P=l;break}if((k[d+4>>2]&3|0)!=1){M=t;N=g;O=n;P=l;break}xSa(f);M=t;N=g;O=n;P=l;break}QGa(d+8|0);g=k[d>>2]|0;if((g|0)!=0?(k[d+4>>2]&3|0)==1:0)xSa(g);A=s;B=n;C=l;z=50}if((z|0)==50){s=A+24|0;if(!B){Q=s;r=d;return Q|0}else{H=s;I=C;J=B}}if((I&3|0)!=1){Q=H;r=d;return Q|0}xSa(J);Q=H;r=d;return Q|0}while(0);if((z|0)==27){Q=Ib()|0;D=x;E=y;F=L;G=Q;z=28}if((z|0)==28){M=G;N=F;O=E;P=D}if(!((O|0)!=0&(P&3|0)==1)){u=M;v=N;Hb(u|0)}xSa(O);u=M;v=N;Hb(u|0);return 0}function nHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0;d=r;r=r+176|0;switch(j[a+8>>1]&255){case 7:{k[d+152>>2]=b;k[d+152+4>>2]=c-b<<2;w=0;b=Sa(701,k[a>>2]|0,d+152|0)|0;c=w;w=0;if(c&1){c=Ib()|0;e=L;f=c;Hb(f|0)}else{g=(b|0)==((k[a>>2]|0)+4|0)?0:b+24|0;r=d;return g|0}break}case 0:{g=0;r=d;return g|0}default:{g=d+16+56|0;b=d+16+4|0;k[d+16>>2]=15008;k[g>>2]=15028;w=0;ua(725,d+16+56|0,b|0);a=w;w=0;if(a&1){a=Ib()|0;h=L;i=a;QTa(g);Hb(i|0)}k[d+16+128>>2]=0;k[d+16+132>>2]=-1;k[d+16>>2]=13968;k[d+16+56>>2]=13988;w=0;sa(1635,b|0);a=w;w=0;do if(a&1){c=Ib()|0;l=L;m=c}else{k[b>>2]=14004;c=d+16+36|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;k[d+16+52>>2]=16;k[d+152>>2]=0;k[d+152+4>>2]=0;k[d+152+8>>2]=0;w=0;ua(726,b|0,d+152|0);n=w;w=0;if(n&1){n=Ib()|0;o=L;dTa(d+152|0);dTa(c);VTa(b);l=o;m=n;break}dTa(d+152|0);w=0;Ea(71,d+16|0,267462,72)|0;n=w;w=0;if(!(n&1)?(w=0,ua(727,d|0,b|0),n=w,w=0,!(n&1)):0){w=0;sa(1685,d|0);w=0;n=Ib()|0;o=L;dTa(d);p=o;q=n}else{n=Ib()|0;p=L;q=n}k[d+16>>2]=13968;k[g>>2]=13988;k[b>>2]=14004;dTa(c);VTa(b);QTa(g);e=p;f=q;Hb(f|0)}while(0);h=l;i=m;QTa(g);Hb(i|0)}}return 0}function oHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=nHa(a,b,b+(cRa(b)|0)|0)|0;if(c){d=c;return d|0}if(i[10112]|0){d=10120;return d|0}if(!(qb(10112)|0)){d=10120;return d|0}j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112);d=10120;return d|0}function pHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=i[b>>0]|0;d=(c&1)==0?b+1|0:k[b+8>>2]|0;e=nHa(a,d,d+((c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0)|0;if(e){f=e;return f|0}if(i[10112]|0){f=10120;return f|0}if(!(qb(10112)|0)){f=10120;return f|0}j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112);f=10120;return f|0}function qHa(a,b){a=a|0;b=b|0;return mHa(a,b,b+(cRa(b)|0)|0)|0}function rHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=i[b>>0]|0;d=(c&1)==0?b+1|0:k[b+8>>2]|0;return mHa(a,d,d+((c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0)|0}function sHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+32|0;switch(j[a+8>>1]&255|0){case 7:{d=k[(k[a>>2]|0)+8>>2]|0;break}case 6:{e=k[a>>2]|0;if(!(k[e+8>>2]|0))d=0;else{f=k[e+4>>2]|0;if(!f){g=e+4|0;while(1){e=k[g+8>>2]|0;if((k[e>>2]|0)==(g|0))g=e;else{h=e;break}}}else{g=f;while(1){f=k[g+4>>2]|0;if(!f){h=g;break}else g=f}}d=(k[h+20>>2]|0)+1|0}break}default:d=0}h=jHa(a,d)|0;OGa(c,b);b=j[h+8>>1]|0;d=j[c+8>>1]|0;a=k[h>>2]|0;g=k[h+4>>2]|0;f=k[c+4>>2]|0;k[h>>2]=k[c>>2];k[h+4>>2]=f;k[c>>2]=a;k[c+4>>2]=g;j[h+8>>1]=d&256|(d&255|b&-512);j[c+8>>1]=d&-512|b&255|b&256;b=k[h+12>>2]|0;k[h+12>>2]=k[c+12>>2];k[c+12>>2]=b;b=k[h+16>>2]|0;k[h+16>>2]=k[c+16>>2];k[c+16>>2]=b;b=k[h+20>>2]|0;k[h+20>>2]=k[c+20>>2];k[c+20>>2]=b;QGa(c);r=c;return h|0}function tHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=nHa(b,c,c+(cRa(c)|0)|0)|0;OGa(a,(e|0)!=0?e:d);return}function uHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=i[c>>0]|0;f=(e&1)==0?c+1|0:k[c+8>>2]|0;g=nHa(b,f,f+((e&1)==0?(e&255)>>>1:k[c+4>>2]|0)|0)|0;OGa(a,(g|0)!=0?g:d);return}function vHa(a,b){a=a|0;b=b|0;return (nHa(a,b,b+(cRa(b)|0)|0)|0)!=0|0}function wHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=i[b>>0]|0;d=(c&1)==0?b+1|0:k[b+8>>2]|0;return (nHa(a,d,d+((c&1)==0?(c&255)>>>1:k[b+4>>2]|0)|0)|0)!=0|0}function xHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;c=r;r=r+176|0;switch(j[b+8>>1]&255){case 0:{k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;r=c;return}case 7:{k[c+160>>2]=0;d=c+160+4|0;k[d>>2]=0;k[c+160+8>>2]=0;e=k[b>>2]|0;b=k[e+8>>2]|0;do if(b){w=0;f=ya(665,b*12|0)|0;g=w;w=0;if(g&1){g=Ib()|0;h=g;i=L;l=31;break}else{k[c+160>>2]=f;k[d>>2]=f;k[c+160+8>>2]=f+(b*12|0);m=f+(b*12|0)|0;n=f;l=19;break}}else{m=0;n=0;l=19}while(0);a:do if((l|0)==19){b=k[e>>2]|0;do if((b|0)!=(e+4|0)){f=b;g=b;while(1){w=0;cb(138,c|0,k[f+16>>2]|0,(k[f+20>>2]|0)>>>2|0);o=w;w=0;if(o&1){l=29;break}o=k[d>>2]|0;if(o>>>0>=(k[c+160+8>>2]|0)>>>0){w=0;ua(734,c+160|0,c|0);p=w;w=0;if(p&1){l=32;break}}else{k[o>>2]=k[c>>2];k[o+4>>2]=k[c+4>>2];k[o+8>>2]=k[c+8>>2];k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[d>>2]=(k[d>>2]|0)+12}dTa(c);o=g;p=k[o+4>>2]|0;if(!p){q=o;while(1){o=k[q+8>>2]|0;if((k[o>>2]|0)==(q|0)){s=o;break}else q=o}}else{q=p;while(1){o=k[q>>2]|0;if(!o){s=q;break}else q=o}}if((s|0)==(e+4|0)){l=33;break}else{f=s;g=s}}if((l|0)==29){g=Ib()|0;h=g;i=L;l=31;break a}else if((l|0)==32){g=Ib()|0;f=L;dTa(c);t=f;u=g;break a}else if((l|0)==33){v=k[c+160>>2]|0;x=k[d>>2]|0;y=k[c+160+8>>2]|0;break}}else{v=n;x=n;y=m}while(0);k[a>>2]=v;k[a+4>>2]=x;k[a+8>>2]=y;r=c;return}while(0);if((l|0)==31){t=i;u=h}h=k[c+160>>2]|0;if(!h){z=t;A=u;Hb(A|0)}i=k[d>>2]|0;if((i|0)==(h|0))B=h;else{l=i;do{i=l+-12|0;k[d>>2]=i;dTa(i);l=k[d>>2]|0}while((l|0)!=(h|0));B=k[c+160>>2]|0}GPa(B);z=t;A=u;Hb(A|0);break}default:{u=c+24+56|0;t=c+24+4|0;k[c+24>>2]=15008;k[u>>2]=15028;w=0;ua(725,c+24+56|0,t|0);B=w;w=0;if(B&1){B=Ib()|0;C=L;D=B;QTa(u);Hb(D|0)}k[c+24+128>>2]=0;k[c+24+132>>2]=-1;k[c+24>>2]=13968;k[c+24+56>>2]=13988;w=0;sa(1635,t|0);B=w;w=0;do if(B&1){h=Ib()|0;E=L;F=h}else{k[t>>2]=14004;h=c+24+36|0;k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[c+24+52>>2]=16;k[c+160>>2]=0;k[c+160+4>>2]=0;k[c+160+8>>2]=0;w=0;ua(726,t|0,c+160|0);l=w;w=0;if(l&1){l=Ib()|0;d=L;dTa(c+160|0);dTa(h);VTa(t);E=d;F=l;break}dTa(c+160|0);w=0;Ea(71,c+24|0,267535,59)|0;l=w;w=0;if(!(l&1)?(w=0,ua(727,c+12|0,t|0),l=w,w=0,!(l&1)):0){w=0;sa(1685,c+12|0);w=0;l=Ib()|0;d=L;dTa(c+12|0);G=d;H=l}else{l=Ib()|0;G=L;H=l}k[c+24>>2]=13968;k[u>>2]=13988;k[t>>2]=14004;dTa(h);VTa(t);QTa(u);z=G;A=H;Hb(A|0)}while(0);C=E;D=F;QTa(u);Hb(D|0)}}}function yHa(a){a=a|0;return (j[a+8>>1]&255)==4|0}function zHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=i[b>>0]|0;e=(d&1)==0?b+1|0:k[b+8>>2]|0;f=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;b=k[a+12>>2]|0;if(!b){d=FPa(16)|0;k[d>>2]=3;k[d+4>>2]=0;k[d+4+4>>2]=0;k[d+4+8>>2]=0;k[a+12>>2]=d+4;g=d+4|0}else g=b;if(!f){h=0;j=g+(c<<2)|0;DGa(j,e,h);return}h=(i[e+(f+-1)>>0]|0)==10?f+-1|0:f;j=g+(c<<2)|0;DGa(j,e,h);return}function AHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+12>>2]|0;if(!c){d=0;return d|0}d=(k[c+(b<<2)>>2]|0)!=0;return d|0}function BHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[b+12>>2]|0;if((d|0)!=0?(b=k[d+(c<<2)>>2]|0,(b|0)!=0):0){aTa(a,b,cRa(b)|0);return}aTa(a,282012,0);return}function CHa(a,b){a=a|0;b=b|0;k[a+16>>2]=b;return}function DHa(a,b){a=a|0;b=b|0;k[a+20>>2]=b;return}function EHa(a,b){a=a|0;b=b|0;var c=0;if((j[b+8>>1]&254)==6?(c=k[b>>2]|0,(c|0)!=0):0){k[a>>2]=k[c>>2];i[a+4>>0]=0;return}i[a+4>>0]=1;return}function FHa(a,b){a=a|0;b=b|0;var c=0;if((j[b+8>>1]&254)==6?(c=k[b>>2]|0,(c|0)!=0):0){k[a>>2]=c+4;i[a+4>>0]=0;return}i[a+4>>0]=1;return}function GHa(a,b){a=a|0;b=b|0;var c=0;if((j[b+8>>1]&254)==6?(c=k[b>>2]|0,(c|0)!=0):0){k[a>>2]=k[c>>2];i[a+4>>0]=0;return}i[a+4>>0]=1;return}function HHa(a,b){a=a|0;b=b|0;var c=0;if((j[b+8>>1]&254)==6?(c=k[b>>2]|0,(c|0)!=0):0){k[a>>2]=c+4;i[a+4>>0]=0;return}i[a+4>>0]=1;return}function IHa(){if((i[10112]|0)==0?(qb(10112)|0)!=0:0){j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112)}if(i[10112]|0)return;if(!(qb(10112)|0))return;j[5064]=j[5064]&-512;k[2533]=0;k[2534]=0;k[2535]=0;yb(10112);return}function JHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;c=r;r=r+176|0;if(b>>>0<2147483643){d=wSa(b+5|0)|0;if(d){k[d>>2]=b;J0a(d+4|0,a|0,b|0)|0;i[d+(b+4)>>0]=0;r=c;return d|0}aTa(c,267673,87);w=0;sa(1686,c|0);w=0;d=Ib()|0;b=L;dTa(c);e=d;f=b;Hb(e|0)}b=c+24+56|0;d=c+24+4|0;k[c+24>>2]=15008;k[b>>2]=15028;w=0;ua(725,c+24+56|0,d|0);a=w;w=0;if(a&1){a=Ib()|0;g=L;h=a;QTa(b);Hb(h|0)}k[c+24+128>>2]=0;k[c+24+132>>2]=-1;k[c+24>>2]=13968;k[c+24+56>>2]=13988;w=0;sa(1635,d|0);a=w;w=0;do if(a&1){j=Ib()|0;l=L;m=j}else{k[d>>2]=14004;j=c+24+36|0;k[j>>2]=0;k[j+4>>2]=0;k[j+8>>2]=0;k[j+12>>2]=0;k[c+24+52>>2]=16;k[c+160>>2]=0;k[c+160+4>>2]=0;k[c+160+8>>2]=0;w=0;ua(726,d|0,c+160|0);n=w;w=0;if(n&1){n=Ib()|0;o=L;dTa(c+160|0);dTa(j);VTa(d);l=o;m=n;break}dTa(c+160|0);w=0;Ea(71,c+24|0,267595,77)|0;n=w;w=0;if(!(n&1)?(w=0,ua(727,c+12|0,d|0),n=w,w=0,!(n&1)):0){w=0;sa(1685,c+12|0);w=0;n=Ib()|0;o=L;dTa(c+12|0);p=n;q=o}else{o=Ib()|0;p=o;q=L}k[c+24>>2]=13968;k[b>>2]=13988;k[d>>2]=14004;dTa(j);VTa(d);QTa(b);e=p;f=q;Hb(e|0)}while(0);g=l;h=m;QTa(b);Hb(h|0);return 0}function KHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;d=r;r=r+16|0;e=EPa(48)|0;w=0;ua(1119,e+16|0,c|0);f=w;w=0;if(f&1){f=Ib()|0;g=L;h=f;GPa(e);Hb(h|0)}w=0;ua(711,e+24|0,c+8|0);c=w;w=0;if(c&1){c=Ib()|0;f=L;i=k[e+16>>2]|0;if(!i){g=f;h=c;GPa(e);Hb(h|0)}if((k[e+20>>2]&3|0)!=1){g=f;h=c;GPa(e);Hb(h|0)}xSa(i);g=f;h=c;GPa(e);Hb(h|0)}k[d>>2]=k[b>>2];w=0;k[d+8>>2]=k[d>>2];b=ab(64,a|0,d+8|0,d+4|0,e+16|0)|0;h=w;w=0;if(h&1){h=Ib()|0;QGa(e+24|0);c=k[e+16>>2]|0;if(!c){GPa(e);Hb(h|0)}if((k[e+20>>2]&3|0)!=1){GPa(e);Hb(h|0)}xSa(c);GPa(e);Hb(h|0)}h=k[b>>2]|0;if(!h){c=k[d+4>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[b>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)j=e;else{k[a>>2]=c;j=k[b>>2]|0}$c(k[a+4>>2]|0,j);k[a+8>>2]=(k[a+8>>2]|0)+1;l=e;r=d;return l|0}if((h|0)==(e|0)){l=h;r=d;return l|0}QGa(e+24|0);a=k[e+16>>2]|0;if((a|0)!=0?(k[e+20>>2]&3|0)==1:0)xSa(a);GPa(e);l=h;r=d;return l|0}function LHa(a,b){a=a|0;b=b|0;if(!b)return;LHa(a,k[b>>2]|0);LHa(a,k[b+4>>2]|0);QGa(b+24|0);a=k[b+16>>2]|0;if((a|0)!=0?(k[b+20>>2]&3|0)==1:0)xSa(a);GPa(b);return}function MHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=r;r=r+16|0;d=NHa(a,b,k[a+4>>2]|0,a+4|0)|0;do if((d|0)!=(a+4|0)){e=k[b>>2]|0;f=k[b+4>>2]|0;if(!e){if(f>>>0<(k[d+20>>2]|0)>>>0)break;else g=d;r=c;return g|0}h=(k[d+20>>2]|0)>>>2;i=k[d+16>>2]|0;if(!i){aTa(c,266531,18);w=0;sa(1685,c|0);w=0;j=Ib()|0;dTa(c);Hb(j|0)}j=$Qa(e,i,h>>>0>>2>>>0?h:f>>>2)|0;if((j|0)<0)break;if(!(f>>>2>>>0>>0&(j|0)<1)){g=d;r=c;return g|0}}while(0);g=a+4|0;r=c;return g|0}function NHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;a=r;r=r+16|0;if(!c){e=d;r=a;return e|0}f=d;d=c;a:while(1){c=d;b:while(1){g=k[c+16>>2]|0;h=k[c+20>>2]|0;do if(!g){if(h>>>0>=(k[b+4>>2]|0)>>>0){i=c;break b}}else{j=(k[b+4>>2]|0)>>>2;l=k[b>>2]|0;if(!l){m=6;break a}n=$Qa(g,l,j>>>0>>2>>>0?j:h>>>2)|0;if((n|0)>=0?!(h>>>2>>>0>>0&(n|0)<1):0){i=c;break b}else break}while(0);c=k[c+4>>2]|0;if(!c){e=f;m=13;break a}}d=k[i>>2]|0;if(!d){e=i;m=13;break}else f=i}if((m|0)==6){aTa(a,266531,18);w=0;sa(1685,a|0);w=0;i=Ib()|0;dTa(a);Hb(i|0)}else if((m|0)==13){r=a;return e|0}return 0}function OHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;d=r;r=r+32|0;PHa(d,a,c);c=k[d>>2]|0;k[d+12>>2]=k[b>>2];w=0;k[d+20>>2]=k[d+12>>2];b=ab(64,a|0,d+20|0,d+16|0,c+16|0)|0;e=w;w=0;if(e&1){e=Ib()|0;k[d>>2]=0;if(!c)Hb(e|0);if(((i[d+8>>0]|0)!=0?(QGa(c+24|0),f=k[c+16>>2]|0,(f|0)!=0):0)?(k[c+20>>2]&3|0)==1:0)xSa(f);GPa(c);Hb(e|0)}e=k[b>>2]|0;if(e){k[d>>2]=0;if((e|0)==(c|0))g=e;else{if(!c){h=e;r=d;return h|0}if(((i[d+8>>0]|0)!=0?(QGa(c+24|0),f=k[c+16>>2]|0,(f|0)!=0):0)?(k[c+20>>2]&3|0)==1:0)xSa(f);GPa(c);h=e;r=d;return h|0}}else{e=k[d+16>>2]|0;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=e;k[b>>2]=c;e=k[k[a>>2]>>2]|0;if(!e)j=c;else{k[a>>2]=e;j=k[b>>2]|0}$c(k[a+4>>2]|0,j);k[a+8>>2]=(k[a+8>>2]|0)+1;k[d>>2]=0;g=c}k[d>>2]=0;h=g;r=d;return h|0}function PHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=EPa(48)|0;k[a>>2]=d;k[a+4>>2]=b+4;i[a+8>>0]=0;w=0;ua(1119,d+16|0,c|0);b=w;w=0;if(!(b&1)){w=0;ua(711,d+24|0,c+8|0);c=w;w=0;if(!(c&1)){i[a+8>>0]=1;return}c=Ib()|0;b=L;e=k[d+16>>2]|0;if((e|0)!=0?(k[d+20>>2]&3|0)==1:0){xSa(e);f=b;g=c}else{f=b;g=c}}else{c=Ib()|0;f=L;g=c}c=k[a>>2]|0;k[a>>2]=0;if(!c)Hb(g|0);if(((i[a+8>>0]|0)!=0?(QGa(c+24|0),a=k[c+16>>2]|0,(a|0)!=0):0)?(k[c+20>>2]&3|0)==1:0)xSa(a);GPa(c);Hb(g|0)}function QHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0;e=r;r=r+16|0;f=k[b>>2]|0;a:do if((f|0)!=(a+4|0)){b=k[d>>2]|0;g=k[d+4>>2]|0;do if(b){h=(k[f+20>>2]|0)>>>2;i=k[f+16>>2]|0;if(!i){aTa(e,266531,18);w=0;sa(1685,e|0);w=0;j=Ib()|0;dTa(e);Hb(j|0)}j=$Qa(b,i,h>>>0>>2>>>0?h:g>>>2)|0;if((j|0)>=0?!(g>>>2>>>0>>0&(j|0)<1):0){l=f+16|0;m=f+20|0;break}else break a}else{if(g>>>0<(k[f+20>>2]|0)>>>0)break a;l=f+16|0;m=f+20|0}while(0);j=k[l>>2]|0;h=k[m>>2]|0;do if(!j){if(h>>>0>=g>>>0)n=47}else{if(!b){aTa(e,266531,18);w=0;sa(1685,e|0);w=0;i=Ib()|0;dTa(e);Hb(i|0)}i=$Qa(j,b,g>>>2>>>0>>2>>>0?g>>>2:h>>>2)|0;if((i|0)>=0?!(h>>>2>>>0>>2>>>0&(i|0)<1):0){n=47;break}else break}while(0);if((n|0)==47){k[c>>2]=f;o=c;r=e;return o|0}h=k[f+4>>2]|0;if(!h){j=f;while(1){i=k[j+8>>2]|0;if((k[i>>2]|0)==(j|0)){p=i;break}else j=i}}else{j=h;while(1){i=k[j>>2]|0;if(!i){p=j;break}else j=i}}b:do if((p|0)!=(a+4|0)){do if(!b){if(g>>>0<(k[p+20>>2]|0)>>>0)break b}else{j=(k[p+20>>2]|0)>>>2;h=k[p+16>>2]|0;if(!h){aTa(e,266531,18);w=0;sa(1685,e|0);w=0;i=Ib()|0;dTa(e);Hb(i|0)}i=$Qa(b,h,j>>>0>>2>>>0?j:g>>>2)|0;if((i|0)>=0?!(g>>>2>>>0>>0&(i|0)<1):0)break;else break b}while(0);o=RHa(a,c,d)|0;r=e;return o|0}while(0);if(!(k[f+4>>2]|0)){k[c>>2]=f;o=f+4|0;r=e;return o|0}else{k[c>>2]=p;o=p;r=e;return o|0}}while(0);c:do if((f|0)==(k[a>>2]|0))q=f;else{p=k[f>>2]|0;if(!p){n=f;while(1){m=k[n+8>>2]|0;if((k[m>>2]|0)==(n|0))n=m;else{s=m;break}}}else{n=p;while(1){m=k[n+4>>2]|0;if(!m){s=n;break}else n=m}}n=s;p=k[s+16>>2]|0;m=k[s+20>>2]|0;do if(!p){if(m>>>0<(k[d+4>>2]|0)>>>0){q=n;break c}}else{l=(k[d+4>>2]|0)>>>2;g=k[d>>2]|0;if(!g){aTa(e,266531,18);w=0;sa(1685,e|0);w=0;b=Ib()|0;dTa(e);Hb(b|0)}b=$Qa(p,g,l>>>0>>2>>>0?l:m>>>2)|0;if((b|0)>=0?!(m>>>2>>>0>>0&(b|0)<1):0)break;else{q=n;break c}}while(0);o=RHa(a,c,d)|0;r=e;return o|0}while(0);if(!(k[f>>2]|0)){k[c>>2]=f;o=f;r=e;return o|0}else{f=q;k[c>>2]=f;o=f+4|0;r=e;return o|0}return 0}function RHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;d=r;r=r+16|0;e=k[a+4>>2]|0;if(!e){k[b>>2]=a+4;f=a+4|0;r=d;return f|0}a=k[c>>2]|0;g=k[c+4>>2]|0;c=e;a:while(1){e=c+16|0;h=c+20|0;i=k[h>>2]|0;do if(!a)if(g>>>0>>0)j=11;else{l=e;j=13}else{m=k[e>>2]|0;if(!m){j=5;break a}n=$Qa(a,m,i>>>2>>>0>>2>>>0?i>>>2:g>>>2)|0;if((n|0)>=0?!(g>>>2>>>0>>2>>>0&(n|0)<1):0){l=e;j=13;break}else{j=11;break}}while(0);if((j|0)==11){j=0;e=k[c>>2]|0;if(!e){o=c;p=c;j=12;break}else q=e}else if((j|0)==13){j=0;e=k[l>>2]|0;i=k[h>>2]|0;do if(!e){if(i>>>0>=g>>>0){s=c;j=23;break a}}else{if(!a){j=15;break a}n=$Qa(e,a,g>>>2>>>0>>2>>>0?g>>>2:i>>>2)|0;if((n|0)>=0?!(i>>>2>>>0>>2>>>0&(n|0)<1):0){s=c;j=23;break a}else break}while(0);t=c+4|0;i=k[t>>2]|0;if(!i){u=c;j=22;break}else q=i}c=q}if((j|0)==5){aTa(d,266531,18);w=0;sa(1685,d|0);w=0;q=Ib()|0;dTa(d);Hb(q|0)}else if((j|0)==12){k[b>>2]=p;f=o;r=d;return f|0}else if((j|0)==15){aTa(d,266531,18);w=0;sa(1685,d|0);w=0;o=Ib()|0;dTa(d);Hb(o|0)}else if((j|0)==22){k[b>>2]=u;f=t;r=d;return f|0}else if((j|0)==23){k[b>>2]=s;f=b;r=d;return f|0}return 0}function SHa(a){a=a|0;k[a>>2]=42620;dTa(a+4|0);GPa(a);return}function THa(a){a=a|0;k[a>>2]=42620;dTa(a+4|0);GPa(a);return}function UHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;d=r;r=r+32|0;if((k[2518]|0)==(b|0)&(k[2519]|0)==(c|0)){e=G0a(k[2520]|0,k[2521]|0,1,0)|0;i[d+24>>0]=0;f=e;e=L;g=d+24|0;while(1){h=S0a(f|0,e|0,10,0)|0;j=g+-1|0;i[j>>0]=h|48;h=f;f=R0a(f|0,e|0,10,0)|0;if(!(e>>>0>0|(e|0)==0&h>>>0>9)){l=g;break}else{e=L;g=j}}i[l+-2>>0]=45;m=l+-2|0;n=cRa(m)|0;aTa(a,m,n);r=d;return}if((c|0)>=0){i[d+24>>0]=0;l=b;g=c;e=d+24|0;while(1){f=S0a(l|0,g|0,10,0)|0;j=e+-1|0;i[j>>0]=f|48;f=l;l=R0a(l|0,g|0,10,0)|0;if(!(g>>>0>0|(g|0)==0&f>>>0>9)){m=j;break}else{g=L;e=j}}n=cRa(m)|0;aTa(a,m,n);r=d;return}e=E0a(0,0,b|0,c|0)|0;i[d+24>>0]=0;c=e;e=L;b=d+24|0;while(1){g=S0a(c|0,e|0,10,0)|0;l=b+-1|0;i[l>>0]=g|48;g=c;c=R0a(c|0,e|0,10,0)|0;if(!(e>>>0>0|(e|0)==0&g>>>0>9)){o=b;break}else{e=L;b=l}}i[o+-2>>0]=45;m=o+-2|0;n=cRa(m)|0;aTa(a,m,n);r=d;return}function VHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=r;r=r+32|0;i[d+24>>0]=0;e=d+24|0;f=b;b=c;while(1){c=S0a(f|0,b|0,10,0)|0;g=e+-1|0;i[g>>0]=c|48;c=f;f=R0a(f|0,b|0,10,0)|0;if(!(b>>>0>0|(b|0)==0&c>>>0>9))break;else{e=g;b=L}}aTa(a,g,cRa(g)|0);r=d;return}function WHa(a,b){a=a|0;b=+b;iIa(a,b,0,17);return}function XHa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,l=0,m=0,n=0,o=0,p=0,q=0;k[a+4>>2]=0;k[a>>2]=42680;k[a+8>>2]=0;k[a+8+4>>2]=0;k[a+8+8>>2]=0;k[a+8+12>>2]=0;k[a+8+16>>2]=0;k[a+8+20>>2]=0;k[a+32>>2]=74;w=0;ua(724,a+36|0,b|0);b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b}else{k[a+48>>2]=c;w=0;ua(724,a+52|0,d|0);d=w;w=0;if(d&1){d=Ib()|0;m=L;n=d}else{w=0;ua(724,a+64|0,e|0);e=w;w=0;do if(!(e&1)){w=0;ua(724,a+76|0,f|0);d=w;w=0;if(d&1){d=Ib()|0;c=L;dTa(a+64|0);o=c;p=d;break}else{i[a+88>>0]=i[a+88>>0]&-8|(g&1)<<2&255;k[a+92>>2]=h;return}}else{d=Ib()|0;o=L;p=d}while(0);dTa(a+52|0);m=o;n=p}dTa(a+36|0);j=m;l=n}dTa(a+20|0);n=k[a+8>>2]|0;if(!n)Hb(l|0);m=k[a+12>>2]|0;if((m|0)==(n|0))q=n;else{j=m;do{m=j+-12|0;k[a+12>>2]=m;dTa(m);j=k[a+12>>2]|0}while((j|0)!=(n|0));q=k[a+8>>2]|0}GPa(q);Hb(l|0)}function YHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=r;r=r+16|0;k[a+4>>2]=c;i[a+88>>0]=i[a+88>>0]&-4|2;fTa(a+20|0,282012)|0;ZHa(a,b);c=i[a+88>>0]|0;if(!(c&2)){e=i[a+36>>0]|0;if(!(e&1))f=(e&255)>>>1;else f=k[a+40>>2]|0;if(f){f=k[a+4>>2]|0;i[d>>0]=10;e=se(f,d,1)|0;f=i[a+20>>0]|0;se(e,(f&1)==0?a+20+1|0:k[a+28>>2]|0,(f&1)==0?(f&255)>>>1:k[a+24>>2]|0)|0;g=i[a+88>>0]|0}else g=c}else g=c;i[a+88>>0]=g|2;_Ha(a,b);$Ha(a,b);b=i[a+76>>0]|0;se(k[a+4>>2]|0,(b&1)==0?a+76+1|0:k[a+84>>2]|0,(b&1)==0?(b&255)>>>1:k[a+80>>2]|0)|0;k[a+4>>2]=0;r=d;return 0}function ZHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0;c=r;r=r+16|0;if(!(k[a+48>>2]|0)){r=c;return}if(!(AHa(b,0)|0)){r=c;return}if(!(i[a+88>>0]&2)){d=i[a+36>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=k[a+40>>2]|0;if(e){e=k[a+4>>2]|0;i[c+12>>0]=10;d=se(e,c+12|0,1)|0;e=i[a+20>>0]|0;se(d,(e&1)==0?a+20+1|0:k[a+28>>2]|0,(e&1)==0?(e&255)>>>1:k[a+24>>2]|0)|0}}BHa(c,b,0);b=i[c>>0]|0;if(!(b&1)){f=c+1|0;g=c+1|0;h=c+8|0;j=k[c+8>>2]|0}else{e=k[c+8>>2]|0;f=e;g=c+1|0;h=c+8|0;j=e}a:do if((f|0)!=(((b&1)==0?g:j)+((b&1)==0?(b&255)>>>1:k[c+4>>2]|0)|0)){e=f;while(1){d=k[a+4>>2]|0;i[c+12>>0]=i[e>>0]|0;w=0;Ea(71,d|0,c+12|0,1)|0;d=w;w=0;if(d&1){l=19;break}if((((i[e>>0]|0)==10?(d=i[c>>0]|0,(e|0)!=(((d&1)==0?g:k[h>>2]|0)+((d&1)==0?(d&255)>>>1:k[c+4>>2]|0)|0)):0)?(i[e+1>>0]|0)==47:0)?(d=i[a+20>>0]|0,w=0,Ea(71,k[a+4>>2]|0,((d&1)==0?a+20+1|0:k[a+28>>2]|0)|0,((d&1)==0?(d&255)>>>1:k[a+24>>2]|0)|0)|0,d=w,w=0,d&1):0){l=19;break}e=e+1|0;d=i[c>>0]|0;if((e|0)==(((d&1)==0?g:k[h>>2]|0)+((d&1)==0?(d&255)>>>1:k[c+4>>2]|0)|0))break a}if((l|0)==19){e=Ib()|0;dTa(c);Hb(e|0)}}while(0);i[a+88>>0]=i[a+88>>0]&-3;dTa(c);r=c;return}function _Ha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0.0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;c=r;r=r+176|0;switch(TGa(b)|0){case 0:{if(!(i[a+88>>0]&1)){d=i[a+64>>0]|0;se(k[a+4>>2]|0,(d&1)==0?a+64+1|0:k[a+72>>2]|0,(d&1)==0?(d&255)>>>1:k[a+68>>2]|0)|0;r=c;return}d=k[a+12>>2]|0;if((d|0)==(k[a+16>>2]|0)){Gg(a+8|0,a+64|0);r=c;return}else{$Sa(d,a+64|0);k[a+12>>2]=(k[a+12>>2]|0)+12;r=c;return}break}case 1:{d=aHa(b)|0;e=L;a:do if((k[2518]|0)==(d|0)&(k[2519]|0)==(e|0)){f=G0a(k[2520]|0,k[2521]|0,1,0)|0;i[c+136+24>>0]=0;g=f;f=L;h=c+136+24|0;while(1){j=S0a(g|0,f|0,10,0)|0;l=h+-1|0;i[l>>0]=j|48;j=g;g=R0a(g|0,f|0,10,0)|0;if(!(f>>>0>0|(f|0)==0&j>>>0>9)){m=h;break}else{f=L;h=l}}i[m+-2>>0]=45;n=m+-2|0}else{if((e|0)>=0){i[c+136+24>>0]=0;h=c+136+24|0;f=d;g=e;while(1){l=S0a(f|0,g|0,10,0)|0;j=h+-1|0;i[j>>0]=l|48;l=f;f=R0a(f|0,g|0,10,0)|0;if(!(g>>>0>0|(g|0)==0&l>>>0>9)){n=j;break a}else{h=j;g=L}}}g=E0a(0,0,d|0,e|0)|0;i[c+136+24>>0]=0;h=g;g=L;f=c+136+24|0;while(1){j=S0a(h|0,g|0,10,0)|0;l=f+-1|0;i[l>>0]=j|48;j=h;h=R0a(h|0,g|0,10,0)|0;if(!(g>>>0>0|(g|0)==0&j>>>0>9)){o=f;break}else{g=L;f=l}}i[o+-2>>0]=45;n=o+-2|0}while(0);aTa(c+124|0,n,cRa(n)|0);do if(!(i[a+88>>0]&1)){n=i[c+124>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((n&1)==0?c+124+1|0:k[c+124+8>>2]|0)|0,((n&1)==0?(n&255)>>>1:k[c+124+4>>2]|0)|0)|0;n=w;w=0;if(n&1)p=24;else p=23}else{n=k[a+12>>2]|0;if((n|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+124|0);o=w;w=0;if(o&1){p=24;break}else{p=23;break}}w=0;ua(724,n|0,c+124|0);n=w;w=0;if(n&1)p=24;else{k[a+12>>2]=(k[a+12>>2]|0)+12;p=23}}while(0);if((p|0)==23){dTa(c+124|0);r=c;return}else if((p|0)==24){n=Ib()|0;o=L;dTa(c+124|0);q=n;s=o;Hb(q|0)}break}case 2:{o=bHa(b)|0;i[c+136+24>>0]=0;n=o;o=L;e=c+136+24|0;while(1){d=S0a(n|0,o|0,10,0)|0;t=e+-1|0;i[t>>0]=d|48;d=n;n=R0a(n|0,o|0,10,0)|0;if(!(o>>>0>0|(o|0)==0&d>>>0>9))break;else{o=L;e=t}}aTa(c+108|0,t,cRa(t)|0);do if(!(i[a+88>>0]&1)){t=i[c+108>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((t&1)==0?c+108+1|0:k[c+108+8>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[c+108+4>>2]|0)|0)|0;t=w;w=0;if(t&1)p=34;else p=33}else{t=k[a+12>>2]|0;if((t|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+108|0);e=w;w=0;if(e&1){p=34;break}else{p=33;break}}w=0;ua(724,t|0,c+108|0);t=w;w=0;if(t&1)p=34;else{k[a+12>>2]=(k[a+12>>2]|0)+12;p=33}}while(0);if((p|0)==33){dTa(c+108|0);r=c;return}else if((p|0)==34){t=Ib()|0;e=L;dTa(c+108|0);q=t;s=e;Hb(q|0)}break}case 3:{u=+cHa(b);iIa(c+84|0,u,(i[a+88>>0]&4)!=0,k[a+92>>2]|0);do if(!(i[a+88>>0]&1)){e=i[c+84>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((e&1)==0?c+84+1|0:k[c+84+8>>2]|0)|0,((e&1)==0?(e&255)>>>1:k[c+84+4>>2]|0)|0)|0;e=w;w=0;if(e&1)p=42;else p=41}else{e=k[a+12>>2]|0;if((e|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+84|0);t=w;w=0;if(t&1){p=42;break}else{p=41;break}}w=0;ua(724,e|0,c+84|0);e=w;w=0;if(e&1)p=42;else{k[a+12>>2]=(k[a+12>>2]|0)+12;p=41}}while(0);if((p|0)==41){dTa(c+84|0);r=c;return}else if((p|0)==42){e=Ib()|0;t=L;dTa(c+84|0);q=e;s=t;Hb(q|0)}break}case 4:{do if(WGa(b,c+136|0,c+120|0)|0){t=k[c+136>>2]|0;jIa(c+72|0,t,(k[c+120>>2]|0)-t|0);do if(!(i[a+88>>0]&1)){t=i[c+72>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((t&1)==0?c+72+1|0:k[c+72+8>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[c+72+4>>2]|0)|0)|0;t=w;w=0;if(!(t&1))p=50}else{t=k[a+12>>2]|0;if((t|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+72|0);e=w;w=0;if(e&1)break;else{p=50;break}}w=0;ua(724,t|0,c+72|0);t=w;w=0;if(!(t&1)){k[a+12>>2]=(k[a+12>>2]|0)+12;p=50}}while(0);if((p|0)==50){dTa(c+72|0);break}t=Ib()|0;e=L;dTa(c+72|0);q=t;s=e;Hb(q|0)}else{aTa(c+60|0,282012,0);do if(!(i[a+88>>0]&1)){e=i[c+60>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((e&1)==0?c+60+1|0:k[c+60+8>>2]|0)|0,((e&1)==0?(e&255)>>>1:k[c+60+4>>2]|0)|0)|0;e=w;w=0;if(!(e&1))p=58}else{e=k[a+12>>2]|0;if((e|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+60|0);t=w;w=0;if(t&1)break;else{p=58;break}}w=0;ua(724,e|0,c+60|0);e=w;w=0;if(!(e&1)){k[a+12>>2]=(k[a+12>>2]|0)+12;p=58}}while(0);if((p|0)==58){dTa(c+60|0);break}e=Ib()|0;t=L;dTa(c+60|0);q=e;s=t;Hb(q|0)}while(0);r=c;return}case 5:{t=dHa(b)|0;aTa(c+48|0,t?282136:282141,t?4:5);do if(!(i[a+88>>0]&1)){t=i[c+48>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((t&1)==0?c+48+1|0:k[c+48+8>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[c+48+4>>2]|0)|0)|0;t=w;w=0;if(t&1)p=68;else p=67}else{t=k[a+12>>2]|0;if((t|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+48|0);e=w;w=0;if(e&1){p=68;break}else{p=67;break}}w=0;ua(724,t|0,c+48|0);t=w;w=0;if(t&1)p=68;else{k[a+12>>2]=(k[a+12>>2]|0)+12;p=67}}while(0);if((p|0)==67){dTa(c+48|0);r=c;return}else if((p|0)==68){t=Ib()|0;e=L;dTa(c+48|0);q=t;s=e;Hb(q|0)}break}case 6:{aIa(a,b);r=c;return}case 7:{xHa(c+96|0,b);e=c+96+4|0;w=0;do if((k[c+96>>2]|0)==(k[e>>2]|0)){aTa(c+36|0,267904,2);t=w;w=0;if(!(t&1)){do if(!(i[a+88>>0]&1)){t=i[c+36>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((t&1)==0?c+36+1|0:k[c+36+8>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[c+36+4>>2]|0)|0)|0;t=w;w=0;if(t&1)p=82;else p=78}else{t=k[a+12>>2]|0;if((t|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+36|0);o=w;w=0;if(o&1){p=82;break}else{p=78;break}}w=0;ua(724,t|0,c+36|0);t=w;w=0;if(t&1)p=82;else{k[a+12>>2]=(k[a+12>>2]|0)+12;p=78}}while(0);if((p|0)==78){dTa(c+36|0);p=113;break}else if((p|0)==82){t=Ib()|0;o=L;dTa(c+36|0);v=t;x=o;break}}else p=80}else{aTa(c+24|0,276073,1);o=w;w=0;if(!(o&1)){w=0;ua(1121,a|0,c+24|0);o=w;w=0;if(o&1){o=Ib()|0;t=L;dTa(c+24|0);v=o;x=t;break}dTa(c+24|0);t=i[a+36>>0]|0;w=0;Ea(68,a+20|0,((t&1)==0?a+36+1|0:k[a+44>>2]|0)|0,((t&1)==0?(t&255)>>>1:k[a+40>>2]|0)|0)|0;t=w;w=0;if(!(t&1)){t=k[c+96>>2]|0;while(1){w=0;y=Sa(546,b|0,t|0)|0;o=w;w=0;if(o&1){p=79;break}w=0;ua(1122,a|0,y|0);o=w;w=0;if(o&1){p=79;break}o=i[t>>0]|0;if(!(o&1)){z=t+1|0;A=(o&255)>>>1}else{z=k[t+8>>2]|0;A=k[t+4>>2]|0}w=0;cb(456,c+12|0,z|0,A|0);o=w;w=0;if(o&1){p=79;break}w=0;ua(1121,a|0,c+12|0);o=w;w=0;if(o&1){p=99;break}dTa(c+12|0);o=i[a+52>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((o&1)==0?a+52+1|0:k[a+60>>2]|0)|0,((o&1)==0?(o&255)>>>1:k[a+56>>2]|0)|0)|0;o=w;w=0;if(o&1){p=79;break}w=0;ua(1123,a|0,y|0);o=w;w=0;if(o&1){p=79;break}t=t+12|0;if((t|0)==(k[e>>2]|0)){p=97;break}w=0;Ea(71,k[a+4>>2]|0,276100,1)|0;o=w;w=0;if(o&1){p=79;break}w=0;ua(1124,a|0,y|0);o=w;w=0;if(o&1){p=79;break}}if((p|0)==79){t=Ib()|0;B=t;C=L;p=81;break}else if((p|0)==97){w=0;ua(1124,a|0,y|0);t=w;w=0;if(t&1){p=80;break}t=i[a+20>>0]|0;if(!(t&1))D=(t&255)>>>1;else D=k[a+24>>2]|0;t=i[a+36>>0]|0;if(!(t&1))E=(t&255)>>>1;else E=k[a+40>>2]|0;w=0;cb(147,a+20|0,D-E|0,0);t=w;w=0;if(t&1){p=80;break}w=0;cb(138,c|0,276075,1);t=w;w=0;if(t&1){p=80;break}w=0;ua(1121,a|0,c|0);t=w;w=0;if(t&1){t=Ib()|0;o=L;dTa(c);v=t;x=o;break}else{dTa(c);p=113;break}}else if((p|0)==99){o=Ib()|0;t=L;dTa(c+12|0);v=o;x=t;break}}else p=80}else p=80}while(0);if((p|0)==80){a=Ib()|0;B=a;C=L;p=81}else if((p|0)==113){a=k[c+96>>2]|0;if(a){E=k[e>>2]|0;if((E|0)==(a|0))F=a;else{D=E;do{E=D+-12|0;k[e>>2]=E;dTa(E);D=k[e>>2]|0}while((D|0)!=(a|0));F=k[c+96>>2]|0}GPa(F)}r=c;return}if((p|0)==81){v=B;x=C}C=k[c+96>>2]|0;if(!C){q=v;s=x;Hb(q|0)}B=k[e>>2]|0;if((B|0)==(C|0))G=C;else{p=B;do{B=p+-12|0;k[e>>2]=B;dTa(B);p=k[e>>2]|0}while((p|0)!=(C|0));G=k[c+96>>2]|0}GPa(G);q=v;s=x;Hb(q|0);break}default:{r=c;return}}}function $Ha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;c=r;r=r+48|0;if(!(k[a+48>>2]|0)){r=c;return}a:do if(AHa(b,1)|0){d=k[a+4>>2]|0;BHa(c+12|0,b,1);w=0;e=Ea(70,c+12|0,0,267911)|0;f=w;w=0;do if(!(f&1)){k[c+24>>2]=k[e>>2];k[c+24+4>>2]=k[e+4>>2];k[c+24+8>>2]=k[e+8>>2];k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;g=i[c+24>>0]|0;w=0;Ea(71,d|0,((g&1)==0?c+24+1|0:k[c+24+8>>2]|0)|0,((g&1)==0?(g&255)>>>1:k[c+24+4>>2]|0)|0)|0;g=w;w=0;if(g&1){g=Ib()|0;h=L;dTa(c+24|0);j=h;l=g;break}else{dTa(c+24|0);dTa(c+12|0);break a}}else{g=Ib()|0;j=L;l=g}while(0);dTa(c+12|0);m=j;n=l;Hb(n|0)}while(0);if(!(AHa(b,2)|0)){r=c;return}l=i[a+36>>0]|0;if(!(l&1))o=(l&255)>>>1;else o=k[a+40>>2]|0;if(o){o=k[a+4>>2]|0;i[c+36>>0]=10;l=se(o,c+36|0,1)|0;o=i[a+20>>0]|0;se(l,(o&1)==0?a+20+1|0:k[a+28>>2]|0,(o&1)==0?(o&255)>>>1:k[a+24>>2]|0)|0}o=k[a+4>>2]|0;BHa(c,b,2);b=i[c>>0]|0;w=0;Ea(71,o|0,((b&1)==0?c+1|0:k[c+8>>2]|0)|0,((b&1)==0?(b&255)>>>1:k[c+4>>2]|0)|0)|0;b=w;w=0;if(b&1){b=Ib()|0;o=L;dTa(c);m=o;n=b;Hb(n|0)}else{dTa(c);r=c;return}}function aIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;c=r;r=r+48|0;d=eHa(b)|0;if(!d){aTa(c+24|0,267913,2);do if(!(i[a+88>>0]&1)){e=i[c+24>>0]|0;w=0;Ea(71,k[a+4>>2]|0,((e&1)==0?c+24+1|0:k[c+24+8>>2]|0)|0,((e&1)==0?(e&255)>>>1:k[c+24+4>>2]|0)|0)|0;e=w;w=0;if(e&1)f=9;else f=8}else{e=k[a+12>>2]|0;if((e|0)==(k[a+16>>2]|0)){w=0;ua(1120,a+8|0,c+24|0);g=w;w=0;if(g&1){f=9;break}else{f=8;break}}w=0;ua(724,e|0,c+24|0);e=w;w=0;if(e&1)f=9;else{k[a+12>>2]=(k[a+12>>2]|0)+12;f=8}}while(0);if((f|0)==8){dTa(c+24|0);r=c;return}else if((f|0)==9){f=Ib()|0;e=L;dTa(c+24|0);h=f;j=e;Hb(h|0)}}if((k[a+48>>2]|0)!=2?!(cIa(a,b)|0):0){se(k[a+4>>2]|0,276061,1)|0;e=i[a+36>>0]|0;if(!(e&1))l=(e&255)>>>1;else l=k[a+40>>2]|0;if(l)se(k[a+4>>2]|0,267911,1)|0;l=0;do{if(l){e=i[a+36>>0]|0;if(!(e&1))m=(e&255)>>>1;else m=k[a+40>>2]|0;e=(m|0)==0;se(k[a+4>>2]|0,e?276100:267916,e?1:2)|0}e=k[a+8>>2]|0;f=e+(l*12|0)|0;g=i[f>>0]|0;se(k[a+4>>2]|0,(g&1)==0?f+1|0:k[e+(l*12|0)+8>>2]|0,(g&1)==0?(g&255)>>>1:k[e+(l*12|0)+4>>2]|0)|0;l=l+1|0}while((l|0)!=(d|0));l=i[a+36>>0]|0;if(!(l&1))n=(l&255)>>>1;else n=k[a+40>>2]|0;if(n)se(k[a+4>>2]|0,267911,1)|0;se(k[a+4>>2]|0,276063,1)|0;r=c;return}aTa(c+12|0,276061,1);w=0;ua(1121,a|0,c+12|0);n=w;w=0;if(n&1){n=Ib()|0;l=L;dTa(c+12|0);h=n;j=l;Hb(h|0)}dTa(c+12|0);l=i[a+36>>0]|0;nTa(a+20|0,(l&1)==0?a+36+1|0:k[a+44>>2]|0,(l&1)==0?(l&255)>>>1:k[a+40>>2]|0)|0;a:do if((k[a+8>>2]|0)!=(k[a+12>>2]|0)){l=lHa(b,0)|0;ZHa(a,l);bIa(a,k[a+8>>2]|0);if((d|0)==1)o=l;else{n=l;l=1;while(1){se(k[a+4>>2]|0,276100,1)|0;$Ha(a,n);m=lHa(b,l)|0;ZHa(a,m);bIa(a,(k[a+8>>2]|0)+(l*12|0)|0);l=l+1|0;if((l|0)==(d|0)){o=m;break}else n=m}}}else{n=0;while(1){l=lHa(b,n)|0;ZHa(a,l);m=i[a+88>>0]|0;if(!(m&2)){e=i[a+36>>0]|0;if(!(e&1))p=(e&255)>>>1;else p=k[a+40>>2]|0;if(p){e=k[a+4>>2]|0;i[c+36>>0]=10;g=se(e,c+36|0,1)|0;e=i[a+20>>0]|0;se(g,(e&1)==0?a+20+1|0:k[a+28>>2]|0,(e&1)==0?(e&255)>>>1:k[a+24>>2]|0)|0;q=i[a+88>>0]|0}else q=m}else q=m;i[a+88>>0]=q|2;_Ha(a,l);i[a+88>>0]=i[a+88>>0]&-3;m=n+1|0;if((m|0)==(d|0)){o=l;break a}se(k[a+4>>2]|0,276100,1)|0;$Ha(a,l);n=m}}while(0);$Ha(a,o);o=i[a+20>>0]|0;if(!(o&1))s=(o&255)>>>1;else s=k[a+24>>2]|0;o=i[a+36>>0]|0;if(!(o&1))t=(o&255)>>>1;else t=k[a+40>>2]|0;iTa(a+20|0,s-t|0,0);aTa(c,276063,1);w=0;ua(1121,a|0,c|0);a=w;w=0;if(a&1){a=Ib()|0;t=L;dTa(c);h=a;j=t;Hb(h|0)}else{dTa(c);r=c;return}}function bIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;if(!(i[a+88>>0]&2)){d=i[a+36>>0]|0;if(!(d&1))e=(d&255)>>>1;else e=k[a+40>>2]|0;if(e){e=k[a+4>>2]|0;i[c>>0]=10;d=se(e,c,1)|0;e=i[a+20>>0]|0;se(d,(e&1)==0?a+20+1|0:k[a+28>>2]|0,(e&1)==0?(e&255)>>>1:k[a+24>>2]|0)|0}}e=i[b>>0]|0;se(k[a+4>>2]|0,(e&1)==0?b+1|0:k[b+8>>2]|0,(e&1)==0?(e&255)>>>1:k[b+4>>2]|0)|0;i[a+88>>0]=i[a+88>>0]&-3;r=c;return}function cIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=eHa(b)|0;d=(c*3|0)>>>0>=(k[a+32>>2]|0)>>>0;e=k[a+8>>2]|0;f=k[a+12>>2]|0;if((f|0)!=(e|0)){g=f;do{f=g+-12|0;k[a+12>>2]=f;dTa(f);g=k[a+12>>2]|0}while((g|0)!=(e|0))}if((c|0)==0|d)h=d;else{d=0;do{e=lHa(b,d)|0;if(!(hHa(e)|0)?!(iHa(e)|0):0)j=0;else j=(eHa(e)|0)!=0;d=d+1|0}while(!(d>>>0>=c>>>0|j));h=j}if(h){l=1;return l|0}h=k[a+8>>2]|0;if((((k[a+16>>2]|0)-h|0)/12|0)>>>0>>0){j=k[a+12>>2]|0;if(!c)m=0;else m=EPa(c*12|0)|0;d=m+(((j-h|0)/12|0)*12|0)|0;e=m+(c*12|0)|0;if((j|0)==(h|0)){n=d;o=h;p=h}else{m=j;j=d;g=d;while(1){f=j+-12|0;m=m+-12|0;k[f>>2]=k[m>>2];k[f+4>>2]=k[m+4>>2];k[f+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;j=g+-12|0;q=j;if((m|0)==(h|0))break;else g=q}n=q;o=k[a+8>>2]|0;p=k[a+12>>2]|0}k[a+8>>2]=n;k[a+12>>2]=d;k[a+16>>2]=e;e=o;if((p|0)!=(e|0)){d=p;do{d=d+-12|0;dTa(d)}while((d|0)!=(e|0))}if(o)GPa(o)}o=i[a+88>>0]|0;i[a+88>>0]=o|1;if(c){e=0;d=0;p=(c<<1)+2|0;do{n=lHa(b,e)|0;if(!(AHa(n,0)|0)?!(AHa(n,1)|0):0)r=AHa(n,2)|0;else r=1;d=d|r;_Ha(a,lHa(b,e)|0);n=k[a+8>>2]|0;q=i[n+(e*12|0)>>0]|0;if(!(q&1))s=(q&255)>>>1;else s=k[n+(e*12|0)+4>>2]|0;p=s+p|0;e=e+1|0}while((e|0)!=(c|0));i[a+88>>0]=i[a+88>>0]&-2;if(d){l=1;return l|0}else t=p}else{i[a+88>>0]=o&-2;t=(c<<1)+2|0}l=t>>>0>=(k[a+32>>2]|0)>>>0;return l|0}function dIa(a){a=a|0;var b=0,c=0,d=0,e=0;k[a>>2]=42700;w=0;ua(709,a+8|0,0);b=w;w=0;if(b&1){b=Ib()|0;c=L;d=b;Hb(d|0)}w=0;sa(1687,a+8|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;e=L;QGa(a+8|0);c=e;d=b;Hb(d|0)}function eIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+144|0;c=qHa(a,267919)|0;LGa(b+120|0,267932);w=0;Sa(538,c|0,b+120|0)|0;c=w;w=0;if(c&1){c=Ib()|0;d=L;QGa(b+120|0);e=d;f=c;Hb(f|0)}QGa(b+120|0);c=qHa(a,269835)|0;LGa(b+96|0,267936);w=0;Sa(538,c|0,b+96|0)|0;c=w;w=0;if(c&1){c=Ib()|0;d=L;QGa(b+96|0);e=d;f=c;Hb(f|0)}QGa(b+96|0);c=qHa(a,267938)|0;NGa(b+72|0,0);w=0;Sa(538,c|0,b+72|0)|0;c=w;w=0;if(c&1){c=Ib()|0;d=L;QGa(b+72|0);e=d;f=c;Hb(f|0)}QGa(b+72|0);c=qHa(a,267962)|0;NGa(b+48|0,0);w=0;Sa(538,c|0,b+48|0)|0;c=w;w=0;if(c&1){c=Ib()|0;d=L;QGa(b+48|0);e=d;f=c;Hb(f|0)}QGa(b+48|0);c=qHa(a,267983)|0;NGa(b+24|0,0);w=0;Sa(538,c|0,b+24|0)|0;c=w;w=0;if(c&1){c=Ib()|0;d=L;QGa(b+24|0);e=d;f=c;Hb(f|0)}QGa(b+24|0);c=qHa(a,268e3)|0;GGa(b,17);w=0;Sa(538,c|0,b|0)|0;c=w;w=0;if(!(c&1)){QGa(b);r=b;return}c=Ib()|0;a=L;QGa(b);e=a;f=c;Hb(f|0)}function fIa(a){a=a|0;k[a>>2]=42700;QGa(a+8|0);return}function gIa(a){a=a|0;k[a>>2]=42700;QGa(a+8|0);GPa(a);return}function hIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;b=r;r=r+80|0;XGa(b+60|0,oHa(a+8|0,269835)|0);w=0;c=Sa(544,a+8|0,267919)|0;d=w;w=0;if(!(d&1)?(w=0,ua(714,b+48|0,c|0),c=w,w=0,!(c&1)):0){w=0;c=Sa(544,a+8|0,267938)|0;d=w;w=0;do if(((((((!(d&1)?(w=0,e=ya(672,c|0)|0,f=w,w=0,!(f&1)):0)?(w=0,f=Sa(544,a+8|0,267962)|0,g=w,w=0,!(g&1)):0)?(w=0,g=ya(672,f|0)|0,f=w,w=0,!(f&1)):0)?(w=0,f=Sa(544,a+8|0,267983)|0,h=w,w=0,!(h&1)):0)?(w=0,h=ya(672,f|0)|0,f=w,w=0,!(f&1)):0)?(w=0,f=Sa(544,a+8|0,268e3)|0,j=w,w=0,!(j&1)):0)?(w=0,j=ya(673,f|0)|0,f=w,w=0,!(f&1)):0){if(zTa(b+48|0,267932)|0)if(!(zTa(b+48|0,268010)|0))l=0;else{w=0;cb(138,b+24|0,268015,36);f=w;w=0;if(f&1){m=13;break}w=0;sa(1686,b+24|0);w=0;f=Ib()|0;n=L;dTa(b+24|0);o=f;p=n;break}else l=2;w=0;cb(138,b+36|0,267907,3);n=w;w=0;if(!(n&1)){if(e){w=0;Sa(545,b+36|0,282925)|0;e=w;w=0;if(e&1)m=20;else m=23}else{e=i[b+60>>0]|0;if((((e&1)==0?(e&255)>>>1:k[b+60+4>>2]|0)|0)==0?(w=0,Sa(545,b+36|0,276102)|0,e=w,w=0,e&1):0)m=20;else m=23}if((m|0)==23){w=0;cb(138,b+12|0,267899,4);e=w;w=0;if(e&1)m=20;else{if(g?(w=0,Sa(545,b+12|0,282012)|0,g=w,w=0,g&1):0)m=26;else{g=j>>>0>17?17:j;w=0;cb(138,b|0,282012,0);j=w;w=0;if(j&1)m=26;else{w=0;j=ya(665,96)|0;e=w;w=0;do if(!(e&1)){w=0;Ia(47,j|0,b+60|0,l|0,b+36|0,b+12|0,b|0,h|0,g|0);n=w;w=0;if(n&1){n=Ib()|0;f=L;GPa(j);q=n;s=f;break}else{dTa(b);dTa(b+12|0);dTa(b+36|0);dTa(b+48|0);dTa(b+60|0);r=b;return j|0}}else{f=Ib()|0;q=f;s=L}while(0);dTa(b);t=q;u=s}}if((m|0)==26){j=Ib()|0;t=j;u=L}dTa(b+12|0);v=t;x=u}}if((m|0)==20){j=Ib()|0;v=j;x=L}dTa(b+36|0);o=v;p=x}else m=13}else m=13;while(0);if((m|0)==13){m=Ib()|0;o=m;p=L}dTa(b+48|0);y=o;z=p;dTa(b+60|0);Hb(y|0)}p=Ib()|0;y=p;z=L;dTa(b+60|0);Hb(y|0);return 0}function iIa(a,b,c,d){a=a|0;b=+b;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=r;r=r+80|0;k[e>>2]=d;MRa(e+36|0,268052,e)|0;p[t>>3]=b;d=k[t+4>>2]&2146435072;do if(!(d>>>0<2146435072|(d|0)==2146435072&0<0)){if(b!=b|0.0!=0.0){f=NRa(e+48|0,32,c?268059:267899,e+16|0)|0;break}if(b<0.0){f=NRa(e+48|0,32,c?268063:268073,e+24|0)|0;break}else{f=NRa(e+48|0,32,c?268082:268091,e+32|0)|0;break}}else{p[e+8>>3]=b;f=NRa(e+48|0,32,e+36|0,e+8|0)|0}while(0);c=e+48+f|0;if((f|0)>0)g=e+48|0;else{h=cRa(e+48|0)|0;aTa(a,e+48|0,h);r=e;return}do{if((i[g>>0]|0)==44)i[g>>0]=46;g=g+1|0}while((g|0)!=(c|0));h=cRa(e+48|0)|0;aTa(a,e+48|0,h);r=e;return}function jIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;d=r;r=r+208|0;if(!b){aTa(a,282012,0);r=d;return}a:do if((c|0)>0){e=b;b:while(1){switch(i[e>>0]|0){case 8:case 9:case 10:case 12:case 13:case 34:case 92:{f=e;break b;break}default:{}}e=e+1|0;if(e>>>0>=(b+c|0)>>>0){g=7;break a}}if(!f)g=7}else g=7;while(0);c:do if((g|0)==7){if(c){f=b;do{e=i[f>>0]|0;f=f+1|0;if(e<<24>>24==0|(e+-1&255)<31)break c}while((b+c|0)!=(f|0))}aTa(d+12|0,268453,1);w=0;f=Sa(549,d+12|0,b|0)|0;e=w;w=0;do if(e&1){h=Ib()|0;j=h;l=L}else{k[d+160>>2]=k[f>>2];k[d+160+4>>2]=k[f+4>>2];k[d+160+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;w=0;h=Sa(549,d+160|0,268453)|0;m=w;w=0;if(m&1){m=Ib()|0;n=L;dTa(d+160|0);j=m;l=n;break};k[a>>2]=k[h>>2];k[a+4>>2]=k[h+4>>2];k[a+8>>2]=k[h+8>>2];k[h>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;dTa(d+160|0);dTa(d+12|0);r=d;return}while(0);dTa(d+12|0);o=j;p=l;Hb(o|0)}while(0);k[d+172>>2]=0;k[d+172+4>>2]=0;k[d+172+8>>2]=0;w=0;ua(708,d+172|0,(c<<1)+3|0);l=w;w=0;d:do if(!(l&1)?(w=0,Sa(549,d+172|0,268453)|0,j=w,w=0,!(j&1)):0){e:do if(c){j=d+24+56|0;f=d+24+4|0;e=d+24+36|0;h=b;f:while(1){n=i[h>>0]|0;g:do switch(n<<24>>24|0){case 34:{w=0;Sa(549,d+172|0,267875)|0;m=w;w=0;if(m&1){g=21;break f}break}case 92:{w=0;Sa(549,d+172|0,267878)|0;m=w;w=0;if(m&1){g=21;break f}break}case 8:{w=0;Sa(549,d+172|0,267881)|0;m=w;w=0;if(m&1){g=21;break f}break}case 12:{w=0;Sa(549,d+172|0,267884)|0;m=w;w=0;if(m&1){g=21;break f}break}case 10:{w=0;Sa(549,d+172|0,267887)|0;m=w;w=0;if(m&1){g=21;break f}break}case 13:{w=0;Sa(549,d+172|0,267890)|0;m=w;w=0;if(m&1){g=21;break f}break}case 9:{w=0;Sa(549,d+172|0,267893)|0;m=w;w=0;if(m&1){g=21;break f}break}default:{if(!(n<<24>>24==0|(n+-1&255)<31)){w=0;ua(730,d+172|0,n|0);m=w;w=0;if(m&1){g=21;break f}else break g}k[d+24>>2]=15008;k[j>>2]=15028;w=0;ua(725,d+24+56|0,f|0);m=w;w=0;if(m&1){g=37;break f}k[d+24+128>>2]=0;k[d+24+132>>2]=-1;k[d+24>>2]=13968;k[d+24+56>>2]=13988;w=0;sa(1635,f|0);m=w;w=0;if(m&1){g=38;break f}k[f>>2]=14004;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;k[e+12>>2]=0;k[d+24+52>>2]=16;k[d+184>>2]=0;k[d+184+4>>2]=0;k[d+184+8>>2]=0;w=0;ua(726,f|0,d+184|0);m=w;w=0;if(m&1){g=36;break f}dTa(d+184|0);w=0;m=Ea(71,d+24|0,267896,2)|0;q=w;w=0;if(q&1){g=46;break f}q=m+(k[(k[m>>2]|0)+-12>>2]|0)+4|0;k[q>>2]=k[q>>2]&-75|8;q=m+(k[(k[m>>2]|0)+-12>>2]|0)+4|0;k[q>>2]=k[q>>2]|16384;k[m+(k[(k[m>>2]|0)+-12>>2]|0)+76>>2]=48;k[m+(k[(k[m>>2]|0)+-12>>2]|0)+12>>2]=4;w=0;Sa(565,m|0,i[h>>0]|0)|0;m=w;w=0;if(m&1){g=46;break f}w=0;ua(727,d|0,f|0);m=w;w=0;if(m&1){g=46;break f}m=i[d>>0]|0;w=0;Ea(68,d+172|0,((m&1)==0?d+1|0:k[d+8>>2]|0)|0,((m&1)==0?(m&255)>>>1:k[d+4>>2]|0)|0)|0;m=w;w=0;if(m&1){g=47;break f}dTa(d);k[d+24>>2]=13968;k[j>>2]=13988;k[f>>2]=14004;dTa(e);VTa(f);QTa(j)}}while(0);h=h+1|0;if((h|0)==(b+c|0))break e}if((g|0)==21){h=Ib()|0;s=L;t=h;g=23;break d}else if((g|0)==36){h=Ib()|0;n=L;dTa(d+184|0);dTa(e);VTa(f);u=n;v=h;g=39}else if((g|0)==37){h=Ib()|0;x=L;y=h}else if((g|0)==38){h=Ib()|0;u=L;v=h;g=39}else if((g|0)==46){h=Ib()|0;z=h;A=L;g=48}else if((g|0)==47){h=Ib()|0;n=L;dTa(d);z=h;A=n;g=48}if((g|0)==39){x=u;y=v}else if((g|0)==48){k[d+24>>2]=13968;k[j>>2]=13988;k[f>>2]=14004;dTa(e);VTa(f);QTa(j);B=z;C=A;break d}QTa(j);s=x;t=y;g=23;break d}while(0);w=0;Sa(549,d+172|0,268453)|0;n=w;w=0;if(!(n&1)){k[a>>2]=k[d+172>>2];k[a+4>>2]=k[d+172+4>>2];k[a+8>>2]=k[d+172+8>>2];k[d+172>>2]=0;k[d+172+4>>2]=0;k[d+172+8>>2]=0;dTa(d+172|0);r=d;return}else g=22}else g=22;while(0);if((g|0)==22){a=Ib()|0;s=L;t=a;g=23}if((g|0)==23){B=t;C=s}dTa(d+172|0);o=B;p=C;Hb(o|0)}function kIa(a){a=a|0;var b=0,c=0,d=0,e=0;k[a>>2]=42680;dTa(a+76|0);dTa(a+64|0);dTa(a+52|0);dTa(a+36|0);dTa(a+20|0);b=k[a+8>>2]|0;if(!b)return;c=k[a+12>>2]|0;if((c|0)==(b|0))d=b;else{e=c;do{c=e+-12|0;k[a+12>>2]=c;dTa(c);e=k[a+12>>2]|0}while((e|0)!=(b|0));d=k[a+8>>2]|0}GPa(d);return}function lIa(a){a=a|0;var b=0,c=0,d=0,e=0;k[a>>2]=42680;dTa(a+76|0);dTa(a+64|0);dTa(a+52|0);dTa(a+36|0);dTa(a+20|0);b=k[a+8>>2]|0;if(!b){GPa(a);return}c=k[a+12>>2]|0;if((c|0)==(b|0))d=b;else{e=c;do{c=e+-12|0;k[a+12>>2]=c;dTa(c);e=k[a+12>>2]|0}while((e|0)!=(b|0));d=k[a+8>>2]|0}GPa(d);GPa(a);return}function mIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;d=r;r=r+64|0;e=i[b>>0]|0;f=(e&1)==0?(e&255)>>>1:k[b+4>>2]|0;if(f>>>0>1?(g=(e&1)==0?b+1|0:k[b+8>>2]|0,(i[g>>0]|0)==48):0)h=(i[g+1>>0]|0)==120;else h=0;g=h?2:0;k[d+48>>2]=0;h=d+48+4|0;k[h>>2]=0;k[d+48+8>>2]=0;j=d+48+8|0;if((1-g+f|0)>>>1){w=0;l=ya(665,(1-g+f|0)>>>1|0)|0;m=w;w=0;if(m&1)n=30;else{k[d+48>>2]=l;k[h>>2]=l;k[j>>2]=l+((1-g+f|0)>>>1);o=l;p=l+((1-g+f|0)>>>1)|0;q=l;n=7}}else{o=0;p=0;q=0;n=7}a:do if((n|0)==7){do if(!(f&1)){s=g;n=26}else{l=i[((e&1)==0?b+1|0:k[b+8>>2]|0)+g>>0]|0;do if((l+-48&255)>=10){if((l+-97&255)<6){t=(l<<24>>24)+-87|0;n=14;break}if((l+-65&255)<6){t=(l<<24>>24)+-55|0;n=14}}else{t=(l<<24>>24)+-48|0;n=14}while(0);if((n|0)==14?(t|0)!=-1:0){l=t&255;if(o>>>0>>0){i[o>>0]=l;k[h>>2]=(k[h>>2]|0)+1;s=g|1;n=26;break}m=p;u=o-q+1|0;if((u|0)<0){w=0;sa(1641,d+48|0);v=w;w=0;if(v&1){n=30;break a}x=k[d+48>>2]|0;y=k[j>>2]|0}else{x=q;y=m}m=x;v=y-x|0;if(v>>>0<1073741823){z=v<<1>>>0>>0?u:v<<1;v=k[h>>2]|0;u=v-x|0;if(!z){A=0;B=0;C=u;D=v}else{E=z;F=v;G=u;n=23}}else{u=k[h>>2]|0;E=2147483647;F=u;G=u-x|0;n=23}if((n|0)==23){w=0;u=ya(665,E|0)|0;v=w;w=0;if(v&1){n=30;break a}else{A=E;B=u;C=G;D=F}}u=B+C|0;i[u>>0]=l;l=D-x|0;J0a(u+(0-l)|0,m|0,l|0)|0;k[d+48>>2]=u+(0-l);k[h>>2]=u+1;k[j>>2]=B+A;if(!x){s=g|1;n=26;break}GPa(m);s=g|1;n=26;break}if((c|0)!=1){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;H=o;break}k[d+24>>2]=0;k[d+24+4>>2]=0;k[d+24+8>>2]=0;k[d+24+12>>2]=0;k[d+24+16>>2]=0;k[d+24+20>>2]=-1;k[d+24>>2]=14156;k[d+24+4>>2]=14180;w=0;kb(207,d+24|0,268139,268099,58);w=0;m=Ib()|0;u=L;k[d+24+4>>2]=13668;l=k[d+24+8>>2]|0;if(l){w=0;v=ya(k[(k[l>>2]|0)+16>>2]|0,l|0)|0;l=w;w=0;if(l&1){l=Ib(0)|0;Zc(l)}if(v)k[d+24+8>>2]=0}I=m;J=u;break a}while(0);b:do if((n|0)==26){u=i[b>>0]|0;c:do if(s>>>0<((u&1)==0?(u&255)>>>1:k[b+4>>2]|0)>>>0){m=u;v=s;d:while(1){l=(m&1)==0?b+1|0:k[b+8>>2]|0;z=i[l+v>>0]|0;do if((z+-48&255)>=10)if((z+-97&255)<6){K=(z<<24>>24)+-87|0;break}else{K=(z+-65&255)<6?(z<<24>>24)+-55|0:-1;break}else K=(z<<24>>24)+-48|0;while(0);z=i[l+(v+1)>>0]|0;do if((z+-48&255)<10)M=(z<<24>>24)+-48|0;else{if((z+-97&255)<6){M=(z<<24>>24)+-87|0;break}if((z+-65&255)>=6)break d;M=(z<<24>>24)+-55|0}while(0);if(!((K|0)!=-1&(M|0)!=-1))break;z=M+(K<<4)&255;l=k[h>>2]|0;N=k[j>>2]|0;if(l>>>0>=N>>>0){O=k[d+48>>2]|0;if((l-O+1|0)<0){w=0;sa(1641,d+48|0);P=w;w=0;if(P&1){n=29;break}Q=k[d+48>>2]|0;R=k[j>>2]|0}else{Q=O;R=N}N=Q;P=R-Q|0;if(P>>>0<1073741823){S=P<<1>>>0<(l-O+1|0)>>>0?l-O+1|0:P<<1;P=k[h>>2]|0;O=P-Q|0;if(!S){T=0;U=0;V=O;W=P}else{X=S;Y=P;Z=O;n=60}}else{O=k[h>>2]|0;X=2147483647;Y=O;Z=O-Q|0;n=60}if((n|0)==60){n=0;w=0;O=ya(665,X|0)|0;P=w;w=0;if(P&1){n=29;break}else{T=X;U=O;V=Z;W=Y}}O=U+V|0;i[O>>0]=z;P=W-Q|0;J0a(O+(0-P)|0,N|0,P|0)|0;k[d+48>>2]=O+(0-P);k[h>>2]=O+1;k[j>>2]=U+T;if(Q)GPa(N)}else{i[l>>0]=z;k[h>>2]=(k[h>>2]|0)+1}v=v+2|0;m=i[b>>0]|0;if(v>>>0>=((m&1)==0?(m&255)>>>1:k[b+4>>2]|0)>>>0){_=h;break c}}if((n|0)==29){m=Ib()|0;$=m;aa=L;n=31;break a}if((c|0)!=1){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;H=k[d+48>>2]|0;break b}k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;k[d+12>>2]=0;k[d+16>>2]=0;k[d+20>>2]=-1;k[d>>2]=14156;k[d+4>>2]=14180;w=0;kb(207,d|0,268139,268099,69);w=0;m=Ib()|0;v=L;k[d+4>>2]=13668;z=k[d+8>>2]|0;if(z){w=0;l=ya(k[(k[z>>2]|0)+16>>2]|0,z|0)|0;z=w;w=0;if(z&1){z=Ib(0)|0;Zc(z)}if(l)k[d+8>>2]=0}I=m;J=v;break a}else _=h;while(0);k[a>>2]=k[d+48>>2];k[a+4>>2]=k[_>>2];k[a+8>>2]=k[j>>2];k[j>>2]=0;k[h>>2]=0;k[d+48>>2]=0;r=d;return}while(0);if(!H){r=d;return}if((k[h>>2]|0)!=(H|0))k[h>>2]=H;GPa(H);r=d;return}while(0);if((n|0)==30){H=Ib()|0;$=H;aa=L;n=31}if((n|0)==31){I=$;J=aa}aa=k[d+48>>2]|0;if(!aa)Hb(I|0);if((k[h>>2]|0)!=(aa|0))k[h>>2]=aa;GPa(aa);Hb(I|0)}function nIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0;c=r;r=r+48|0;cTa(c+12|0,a,0,2,a);d=(zTa(c+12|0,268195)|0)==0;w=0;if(d){cTa(c+24|0,a,2,-1,a);d=w;w=0;if(d&1)e=5}else{$Sa(c+24|0,a);d=w;w=0;if(d&1)e=5}if((e|0)==5){e=Ib()|0;d=L;dTa(c+12|0);f=d;g=e;Hb(g|0)}dTa(c+12|0);e=i[c+24>>0]|0;a:do if((((e&1)==0?(e&255)>>>1:k[c+24+4>>2]|0)|0)==40){if(!b){d=i[a>>0]|0;h=(d&1)==0?a+1|0:k[a+8>>2]|0;j=(d&1)==0?(d&255)>>>1:k[a+4>>2]|0;if(!j){l=1;break}d=h;while(1){if(((i[d>>0]|0)+-97&255)<6){m=d;break}d=d+1|0;if((d|0)==(h+j|0)){l=1;break a}}if((m|0)==(h+j|0)|(m-h|0)==-1){l=1;break}else n=h;while(1){if(((i[n>>0]|0)+-65&255)<6){o=n;break}n=n+1|0;if((n|0)==(h+j|0)){l=1;break a}}if((o|0)==(h+j|0)|(o-h|0)==-1){l=1;break}}w=0;ua(889,c|0,a|0);d=w;w=0;if(d&1){d=Ib()|0;p=L;dTa(c+24|0);f=p;g=d;Hb(g|0)}d=i[a>>0]|0;p=(d&1)==0?(d&255)>>>1:k[a+4>>2]|0;q=i[c>>0]|0;b:do if((p|0)==(((q&1)==0?(q&255)>>>1:k[c+4>>2]|0)|0)){s=(q&1)==0?c+1|0:k[c+8>>2]|0;if(d&1){t=($Qa(k[a+8>>2]|0,s,p)|0)==0;break}if(!p)t=1;else{u=(d&255)>>>1;v=a+1|0;x=s;while(1){if((i[v>>0]|0)!=(i[x>>0]|0)){t=0;break b}u=u+-1|0;if(!u){t=1;break}else{v=v+1|0;x=x+1|0}}}}else t=0;while(0);dTa(c);l=t}else l=0;while(0);dTa(c+24|0);r=c;return l|0}function oIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;c=r;r=r+240|0;cTa(c+168|0,b,0,2,b);d=(zTa(c+168|0,268195)|0)==0;w=0;if(d){cTa(c+120|0,b,2,-1,b);d=w;w=0;if(d&1)e=9}else{$Sa(c+120|0,b);b=w;w=0;if(b&1)e=9}if((e|0)==9){b=Ib()|0;d=L;dTa(c+168|0);f=b;g=d;Hb(f|0)}dTa(c+168|0);d=i[c+120>>0]|0;do if((((d&1)==0?(d&255)>>>1:k[c+120+4>>2]|0)|0)==40){b=(d&1)==0?c+120+1|0:k[c+120+8>>2]|0;h=b;do{if(!(bRa(268248,l[h>>0]|0,22)|0)){j=h;e=24;break}h=h+1|0}while((h|0)!=(b+40|0));if((e|0)==24?(j-b|0)!=-1:0){k[c+64>>2]=0;k[c+64+4>>2]=0;k[c+64+8>>2]=0;k[c+64+12>>2]=0;k[c+64+16>>2]=0;k[c+64+20>>2]=-1;k[c+64>>2]=42740;k[c+64+4>>2]=42764;w=0;cb(138,c+36|0,282012,0);h=w;w=0;if(h&1){h=Ib()|0;m=h;n=L}else{k[c+48>>2]=13804;w=0;ua(724,c+48+4|0,c+36|0);h=w;w=0;if(h&1){h=Ib()|0;o=h;p=L}else{w=0;h=Sa(702,c+64|0,c+48|0)|0;q=w;w=0;if(!(q&1)){k[h+(k[(k[h>>2]|0)+-24>>2]|0)+8>>2]=268198;k[h+(k[(k[h>>2]|0)+-24>>2]|0)+12>>2]=268099;k[h+(k[(k[h>>2]|0)+-24>>2]|0)+16>>2]=97;w=0;sa(1688,h|0);w=0}h=Ib()|0;q=L;k[c+48>>2]=13804;dTa(c+48+4|0);o=h;p=q}dTa(c+36|0);m=o;n=p}k[c+64+4>>2]=13668;q=k[c+64+8>>2]|0;if(q){w=0;h=ya(k[(k[q>>2]|0)+16>>2]|0,q|0)|0;q=w;w=0;if(q&1){q=Ib(0)|0;Zc(q)}if(h)k[c+64+8>>2]=0}s=m;t=n;break}w=0;h=Ya(42)|0;q=w;w=0;if(!(q&1)?(q=i[c+120>>0]|0,u=(q&1)==0?c+120+1|0:k[c+120+8>>2]|0,v=u+((q&1)==0?(q&255)>>>1:k[c+120+4>>2]|0)|0,k[c+16>>2]=u,k[c+16+4>>2]=h,k[c+8>>2]=v,k[c+8+4>>2]=h,w=0,k[c+184>>2]=k[c+16>>2],k[c+184+4>>2]=k[c+16+4>>2],k[c+192>>2]=k[c+8>>2],k[c+192+4>>2]=k[c+8+4>>2],cb(262,c+24|0,c+184|0,c+192|0),h=w,w=0,!(h&1)):0){h=i[c+24>>0]|0;v=(h&1)==0?(h&255)>>>1:k[c+24+4>>2]|0;u=(h&1)==0?c+24+1|0:k[c+24+8>>2]|0;h=c+200|0;q=h+32|0;do{i[h>>0]=0;h=h+1|0}while((h|0)<(q|0));k[c>>2]=u;k[c+4>>2]=v;k[c+160>>2]=c+200;k[c+160+4>>2]=32;w=0;k[c+184>>2]=k[c>>2];k[c+184+4>>2]=k[c+4>>2];k[c+192>>2]=k[c+160>>2];k[c+192+4>>2]=k[c+160+4>>2];Sa(564,c+184|0,c+192|0)|0;h=w;w=0;if(h&1){h=Ib()|0;q=L;dTa(c+24|0);s=h;t=q;break}dTa(c+24|0);w=0;cb(138,a|0,268195,2);q=w;w=0;if(!(q&1)){q=0;while(1){h=i[((i[c+120>>0]&1)==0?c+120+1|0:k[c+120+8>>2]|0)+q>>0]|0;w=0;if(!(l[c+200+(q>>>1)>>0]&8<<(q<<2&4^4))){b=XQa(h)|0;x=w;w=0;if(x&1){e=47;break}w=0;ua(730,a|0,b&255|0);b=w;w=0;if(b&1){e=47;break}}else{b=UQa(h)|0;h=w;w=0;if(h&1){e=47;break}w=0;ua(730,a|0,b&255|0);b=w;w=0;if(b&1){e=47;break}}q=q+1|0;if(q>>>0>=40){e=51;break}}if((e|0)==47){q=Ib()|0;v=L;dTa(a);s=q;t=v;break}else if((e|0)==51){dTa(c+120|0);r=c;return}}}v=Ib()|0;s=v;t=L}else{k[c+136>>2]=0;k[c+136+4>>2]=0;k[c+136+8>>2]=0;k[c+136+12>>2]=0;k[c+136+16>>2]=0;k[c+136+20>>2]=-1;k[c+136>>2]=42740;k[c+136+4>>2]=42764;w=0;cb(138,c+88|0,282012,0);v=w;w=0;if(v&1){v=Ib()|0;y=v;z=L}else{k[c+104>>2]=13804;w=0;ua(724,c+104+4|0,c+88|0);v=w;w=0;if(v&1){v=Ib()|0;A=v;B=L}else{w=0;v=Sa(702,c+136|0,c+104|0)|0;q=w;w=0;if(!(q&1)){k[v+(k[(k[v>>2]|0)+-24>>2]|0)+8>>2]=268198;k[v+(k[(k[v>>2]|0)+-24>>2]|0)+12>>2]=268099;k[v+(k[(k[v>>2]|0)+-24>>2]|0)+16>>2]=96;w=0;sa(1688,v|0);w=0}v=Ib()|0;q=L;k[c+104>>2]=13804;dTa(c+104+4|0);A=v;B=q}dTa(c+88|0);y=A;z=B}k[c+136+4>>2]=13668;q=k[c+136+8>>2]|0;if(q){w=0;v=ya(k[(k[q>>2]|0)+16>>2]|0,q|0)|0;q=w;w=0;if(q&1){q=Ib(0)|0;Zc(q)}if(v)k[c+136+8>>2]=0}s=y;t=z}while(0);dTa(c+120|0);f=s;g=t;Hb(f|0)}function pIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+32|0;k[e>>2]=45752;f=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[e+4>>2]=13668;a=k[f+4>>2]|0;k[e+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;Hb(a|0)}a=k[f+8+4>>2]|0;k[e+12>>2]=k[f+8>>2];k[e+12+4>>2]=a;k[e>>2]=14156;k[e+4>>2]=14180;k[e+12>>2]=b;k[e+16>>2]=c;k[e+20>>2]=d;w=0;sa(1689,e|0);w=0;d=Ib()|0;k[e+4>>2]=13668;c=k[e+8>>2]|0;if(!c)Hb(d|0);w=0;b=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!b)Hb(d|0);k[e+8>>2]=0;Hb(d|0)}function qIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;c=r;r=r+32|0;d=EPa(16)|0;k[d>>2]=13804;w=0;ua(724,d+4|0,b+4|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;GPa(d);f=e;g=b;Hb(g|0)}k[c+16>>2]=d;k[c+16+4>>2]=0;w=0;cb(144,c+16|0,d|0,c+16+4|0);d=w;w=0;if(d&1){d=Ib()|0;b=k[c+16+4>>2]|0;if(!b)Hb(d|0);e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){h=Ib(0)|0;i=L;Zc(h)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){h=Ib(0)|0;i=L;Zc(h)}else Hb(d|0)}d=a+(k[(k[a>>2]|0)+-24>>2]|0)+4|0;h=k[d>>2]|0;do if(!h){w=0;i=ya(665,32)|0;b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b;m=c+16+4|0;break}else{k[i>>2]=13932;k[i+8>>2]=0;k[i+12>>2]=0;k[i+4>>2]=i+8;k[i+16>>2]=0;k[i+16+4>>2]=0;k[i+16+8>>2]=0;k[d>>2]=i;k[i+28>>2]=1;n=i;o=15;break}}else{n=h;o=15}while(0);do if((o|0)==15){h=k[(k[n>>2]|0)+8>>2]|0;k[c+8>>2]=k[c+16>>2];d=c+16+4|0;i=k[d>>2]|0;k[c+8+4>>2]=i;if(i)k[i+4>>2]=(k[i+4>>2]|0)+1;k[c>>2]=256;w=0;cb(h|0,n|0,c+8|0,c|0);h=w;w=0;if(h&1){h=Ib()|0;i=L;b=k[c+8+4>>2]|0;if(!b){j=i;l=h;m=d;break}e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){p=Ib(0)|0;q=L;Zc(p)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(!(b&1)){j=i;l=h;m=d;break}p=Ib(0)|0;q=L;Zc(p)}h=k[c+8+4>>2]|0;if((h|0)!=0?(i=k[h+4>>2]|0,k[h+4>>2]=i+-1,(i|0)==1):0){w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);i=w;w=0;if(i&1){s=Ib(0)|0;t=L;Zc(s)}i=k[h+8>>2]|0;k[h+8>>2]=i+-1;if((i|0)==1?(w=0,sa(k[(k[h>>2]|0)+12>>2]|0,h|0),h=w,w=0,h&1):0){s=Ib(0)|0;t=L;Zc(s)}}h=k[d>>2]|0;if(!h){r=c;return a|0}d=k[h+4>>2]|0;k[h+4>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);d=w;w=0;if(d&1){u=Ib(0)|0;v=L;Zc(u)}d=k[h+8>>2]|0;k[h+8>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+12>>2]|0,h|0);h=w;w=0;if(h&1){u=Ib(0)|0;v=L;Zc(u)}else{r=c;return a|0}}while(0);a=k[m>>2]|0;if(!a){f=j;g=l;Hb(g|0)}m=k[a+4>>2]|0;k[a+4>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+8>>2]|0,a|0);m=w;w=0;if(m&1){x=Ib(0)|0;y=L;Zc(x)}m=k[a+8>>2]|0;k[a+8>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+12>>2]|0,a|0);a=w;w=0;if(a&1){x=Ib(0)|0;y=L;Zc(x)}else{f=j;g=l;Hb(g|0)}return 0}function rIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;b=r;r=r+32|0;c=vb(28)|0;k[b>>2]=45752;d=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[d+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;e=L;f=a}else{k[b+12>>2]=k[d+8>>2];k[b+12+4>>2]=k[d+8+4>>2];k[b+12+8>>2]=k[d+8+8>>2];k[b>>2]=42740;k[b+4>>2]=42764;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=-1;k[c>>2]=42804;k[c+4>>2]=42836;k[c+24>>2]=42864;w=0;ua(723,c+4|0,b+4|0);d=w;w=0;if(d&1){d=Ib()|0;a=L;k[c+4>>2]=13668;g=k[c+8>>2]|0;if(g){w=0;h=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(h)k[c+8>>2]=0}i=1;j=a;l=d}else{w=0;cb(142,c|0,10192,1454);w=0;d=Ib()|0;i=0;j=L;l=d}k[b+4>>2]=13668;d=k[b+8>>2]|0;if(d){w=0;a=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(a)k[b+8>>2]=0}if(i){e=j;f=l}else{m=j;n=l;Hb(n|0)}}ub(c|0);m=e;n=f;Hb(n|0)}function sIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function tIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function uIa(a){a=a|0;return 268357}function vIa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(28)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(457,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-32>>2]|0)|0}return 0}function wIa(a){a=a|0;var b=0,c=0;b=vb(28)|0;k[b>>2]=45752;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[c+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;ub(b|0);Hb(a|0)}k[b+12>>2]=k[c+8>>2];k[b+12+4>>2]=k[c+8+4>>2];k[b+12+8>>2]=k[c+8+8>>2];k[b>>2]=42804;k[b+4>>2]=42836;k[b+24>>2]=42864;Xb(b|0,10192,1454)}function xIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function yIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function zIa(a){a=a|0;var b=0,c=0,d=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(28)|0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42804;k[a+4>>2]=42836;k[a+24>>2]=42864;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return a+(k[(k[a>>2]|0)+-32>>2]|0)|0;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c){GPa(a);Hb(b|0)}w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d){GPa(a);Hb(b|0)}k[a+8>>2]=0;GPa(a);Hb(b|0);return 0}function AIa(a){a=a|0;wIa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function BIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function CIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function DIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42804;k[a+4>>2]=42836;k[a+24>>2]=42864;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c)Hb(b|0);w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d)Hb(b|0);k[a+8>>2]=0;Hb(b|0)}function EIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function FIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function GIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function HIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function IIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;b=r;r=r+32|0;c=vb(28)|0;k[b>>2]=45752;d=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[d+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;e=L;f=a}else{k[b+12>>2]=k[d+8>>2];k[b+12+4>>2]=k[d+8+4>>2];k[b+12+8>>2]=k[d+8+8>>2];k[b>>2]=14156;k[b+4>>2]=14180;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=-1;k[c>>2]=42912;k[c+4>>2]=42944;k[c+24>>2]=42972;w=0;ua(723,c+4|0,b+4|0);d=w;w=0;if(d&1){d=Ib()|0;a=L;k[c+4>>2]=13668;g=k[c+8>>2]|0;if(g){w=0;h=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(h)k[c+8>>2]=0}i=1;j=a;l=d}else{w=0;cb(142,c|0,10248,1462);w=0;d=Ib()|0;i=0;j=L;l=d}k[b+4>>2]=13668;d=k[b+8>>2]|0;if(d){w=0;a=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(a)k[b+8>>2]=0}if(i){e=j;f=l}else{m=j;n=l;Hb(n|0)}}ub(c|0);m=e;n=f;Hb(n|0)}function JIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function KIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function LIa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(28)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(458,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-32>>2]|0)|0}return 0}function MIa(a){a=a|0;var b=0,c=0;b=vb(28)|0;k[b>>2]=45752;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[c+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;ub(b|0);Hb(a|0)}k[b+12>>2]=k[c+8>>2];k[b+12+4>>2]=k[c+8+4>>2];k[b+12+8>>2]=k[c+8+8>>2];k[b>>2]=42912;k[b+4>>2]=42944;k[b+24>>2]=42972;Xb(b|0,10248,1462)}function NIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function OIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function PIa(a){a=a|0;var b=0,c=0,d=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(28)|0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42912;k[a+4>>2]=42944;k[a+24>>2]=42972;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return a+(k[(k[a>>2]|0)+-32>>2]|0)|0;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c){GPa(a);Hb(b|0)}w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d){GPa(a);Hb(b|0)}k[a+8>>2]=0;GPa(a);Hb(b|0);return 0}function QIa(a){a=a|0;MIa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function RIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function SIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function TIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=42912;k[a+4>>2]=42944;k[a+24>>2]=42972;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c)Hb(b|0);w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d)Hb(b|0);k[a+8>>2]=0;Hb(b|0)}function UIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;b=r;r=r+16|0;c=k[a>>2]|0;d=a+(k[c+-24>>2]|0)|0;if(!d)e=c;else{f=k[d+4>>2]|0;do if(f){d=k[(k[f>>2]|0)+4>>2]|0;k[b>>2]=256;w=0;cb(d|0,b+8|0,f|0,b|0);d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}d=k[b+8>>2]|0;g=k[b+8+4>>2]|0;if((g|0)!=0?(h=k[g+4>>2]|0,k[g+4>>2]=h+-1,(h|0)==1):0){w=0;sa(k[(k[g>>2]|0)+8>>2]|0,g|0);h=w;w=0;if(h&1){j=Ib(0)|0;l=L;Zc(j)}h=k[g+8>>2]|0;k[g+8>>2]=h+-1;if((h|0)==1?(w=0,sa(k[(k[g>>2]|0)+12>>2]|0,g|0),g=w,w=0,g&1):0){j=Ib(0)|0;l=L;Zc(j)}}if(!d){m=k[a>>2]|0;break}if(!(i[d+4>>0]&1)){n=d+4+1|0;r=b;return n|0}else{n=k[d+12>>2]|0;r=b;return n|0}}else m=c;while(0);e=m}n=RPa(a+(k[e+-20>>2]|0)|0)|0;r=b;return n|0}function VIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=r;r=r+16|0;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;if(!c){d=0;r=b;return d|0}a=k[c+4>>2]|0;if(a){c=k[(k[a>>2]|0)+4>>2]|0;k[b>>2]=256;w=0;cb(c|0,b+8|0,a|0,b|0);a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}a=k[b+8>>2]|0;c=k[b+8+4>>2]|0;if((c|0)!=0?(e=k[c+4>>2]|0,k[c+4>>2]=e+-1,(e|0)==1):0){w=0;sa(k[(k[c>>2]|0)+8>>2]|0,c|0);e=w;w=0;if(e&1){f=Ib(0)|0;g=L;Zc(f)}e=k[c+8>>2]|0;k[c+8>>2]=e+-1;if((e|0)==1?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){f=Ib(0)|0;g=L;Zc(f)}}if(a)h=a+4|0;else i=11}else i=11;if((i|0)==11)h=0;d=h;r=b;return d|0}function WIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;c=r;r=r+16|0;d=b+(k[(k[b>>2]|0)+-24>>2]|0)|0;if(d){b=(k[d+16>>2]|0)!=-1?d+16|0:0;if(k[d+12>>2]|0){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;w=0;Sa(549,a|0,k[d+12>>2]|0)|0;d=w;w=0;if(d&1)e=5;else{f=b;e=7}}else{g=b;e=3}}else{g=0;e=3}if((e|0)==3){k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;f=g;e=7}do if((e|0)==7){w=0;ua(730,a|0,58);g=w;w=0;if(!(g&1)){if(!f){r=c;return};k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;w=0;Sa(647,f|0,c|0)|0;g=w;w=0;if(g&1){g=Ib()|0;b=L;dTa(c);h=b;j=g;break}g=i[c>>0]|0;w=0;Ea(68,a|0,((g&1)==0?c+1|0:k[c+8>>2]|0)|0,((g&1)==0?(g&255)>>>1:k[c+4>>2]|0)|0)|0;g=w;w=0;if(g&1){g=Ib()|0;b=L;dTa(c);l=b;m=g;dTa(a);Hb(m|0)}else{dTa(c);r=c;return}}else e=5}while(0);if((e|0)==5){e=Ib()|0;h=L;j=e}l=h;m=j;dTa(a);Hb(m|0)}function XIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function YIa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function ZIa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function _Ia(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function $Ia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;d=i[a>>0]|0;e=(d&1)==0?(d&255)>>>1:k[a+4>>2]|0;f=i[b>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+4>>2]|0;a:do if((e|0)==(g|0)){h=(f&1)==0?b+1|0:k[b+8>>2]|0;if(d&1){if($Qa(k[a+8>>2]|0,h,e)|0)break;return 1}if(!e)return 1;j=(d&255)>>>1;l=a+1|0;m=h;while(1){if((i[l>>0]|0)!=(i[m>>0]|0))break a;j=j+-1|0;if(!j)break;else{l=l+1|0;m=m+1|0}}return 1}while(0);d=aJa(a,b)|0;return d>>>0<=c>>>0&d>>>0>>0&d>>>0>>0|0}function aJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;c=r;r=r+32|0;d=i[a>>0]|0;e=(d&1)==0?(d&255)>>>1:k[a+4>>2]|0;d=i[b>>0]|0;f=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;k[c+12>>2]=0;d=c+12+4|0;k[d>>2]=0;k[c+12+8>>2]=0;do if(!((f*3|0)+3|0)){g=0;h=0}else{if(!(((f*3|0)+3|0)>>>0>1073741823?(w=0,sa(1641,c+12|0),j=w,w=0,j&1):0))l=4;if((l|0)==4?(w=0,j=ya(665,(f*3|0)+3<<2|0)|0,m=w,w=0,!(m&1)):0){k[c+12>>2]=j;m=j+((f*3|0)+3<<2)|0;k[c+12+8>>2]=m;F0a(j|0,0,(f*3|0)+3<<2|0)|0;k[d>>2]=m;g=j;h=m;break}m=Ib()|0;j=k[c+12>>2]|0;if(!j)Hb(m|0);n=k[d>>2]|0;if((n|0)!=(j|0))k[d>>2]=n+(~((n+-4-j|0)>>>2)<<2);GPa(j);Hb(m|0)}while(0);l=0;do{m=(l>>>0)%3|0;j=l+-1|0;n=l>>>0>1;o=l+-2|0;p=0;do{k[c+8>>2]=0;if(!((p>>>0>>0?p:l)|0)){q=l>>>0>>0?p:l;k[c+8>>2]=q;s=p*3|0;t=q}else{q=p*3|0;u=k[g+(((j>>>0)%3|0)+q<<2)>>2]|0;v=k[g+(m+(q+-3)<<2)>>2]|0;x=k[g+(((j>>>0)%3|0)+(q+-3)<<2)>>2]|0;k[c+4>>2]=x;y=(v+1|0)>>>0<(u+1|0)>>>0?v+1|0:u+1|0;k[c+8>>2]=y;u=(i[a>>0]&1)==0?a+1|0:k[a+8>>2]|0;v=i[u+j>>0]|0;z=(i[b>>0]&1)==0?b+1|0:k[b+8>>2]|0;A=i[z+(p+-1)>>0]|0;if(v<<24>>24==A<<24>>24)B=x>>>0>>0?c+4|0:c+8|0;else{k[c>>2]=x+1;B=(x+1|0)>>>0>>0?c:c+8|0}y=k[B>>2]|0;k[c+8>>2]=y;if((n&p>>>0>1?v<<24>>24==(i[z+(p+-2)>>0]|0):0)?(i[u+o>>0]|0)==A<<24>>24:0){A=(k[g+(q+-6+((o>>>0)%3|0)<<2)>>2]|0)+1|0;u=A>>>0>>0?A:y;k[c+8>>2]=u;C=u}else C=y;s=q;t=C}k[g+(m+s<<2)>>2]=t;p=p+1|0}while(p>>>0<=f>>>0);l=l+1|0}while(l>>>0<=e>>>0);l=k[g+(((e>>>0)%3|0)+(f*3|0)<<2)>>2]|0;if(!g){r=c;return l|0}if((h|0)!=(g|0))k[d>>2]=h+(~((h+-4-g|0)>>>2)<<2);GPa(g);r=c;return l|0}function bJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;c=r;r=r+96|0;d=k[b>>2]|0;e=k[b+4>>2]|0;if((d|0)==(e|0)){aTa(a,282012,0);r=c;return}if((e-d|0)==12){k[c+60>>2]=0;k[c+60+4>>2]=0;k[c+60+8>>2]=0;e=i[d>>0]|0;f=(e&1)==0?(e&255)>>>1:k[d+4>>2]|0;w=0;kb(82,c+60|0,268453,1,f+1|0);e=w;w=0;if(e&1){g=Ib()|0;h=L;dTa(c+60|0);Hb(g|0)}w=0;Ea(68,c+60|0,((i[d>>0]&1)==0?d+1|0:k[d+8>>2]|0)|0,f|0)|0;f=w;w=0;if(f&1){g=Ib()|0;h=L;dTa(c+60|0);Hb(g|0)}w=0;g=Sa(549,c+60|0,268453)|0;h=w;w=0;if(h&1){h=Ib()|0;f=L;dTa(c+60|0);j=f;l=h;Hb(l|0)}else{k[a>>2]=k[g>>2];k[a+4>>2]=k[g+4>>2];k[a+8>>2]=k[g+8>>2];k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;dTa(c+60|0);r=c;return}};k[c+48>>2]=0;k[c+48+4>>2]=0;k[c+48+8>>2]=0;g=i[d>>0]|0;h=(g&1)==0?(g&255)>>>1:k[d+4>>2]|0;w=0;kb(82,c+48|0,268453,1,h+1|0);g=w;w=0;if(g&1){m=Ib()|0;n=L;dTa(c+48|0);Hb(m|0)}w=0;Ea(68,c+48|0,((i[d>>0]&1)==0?d+1|0:k[d+8>>2]|0)|0,h|0)|0;h=w;w=0;if(h&1){m=Ib()|0;n=L;dTa(c+48|0);Hb(m|0)}w=0;m=Sa(549,c+48|0,268453)|0;n=w;w=0;if(n&1){n=Ib()|0;h=L;dTa(c+48|0);j=h;l=n;Hb(l|0)};k[c+72>>2]=k[m>>2];k[c+72+4>>2]=k[m+4>>2];k[c+72+8>>2]=k[m+8>>2];k[m>>2]=0;k[m+4>>2]=0;k[m+8>>2]=0;dTa(c+48|0);m=k[b+4>>2]|0;n=k[b>>2]|0;a:do if(((m-n|0)/12|0)>>>0>2){h=n;d=2;g=1;while(1){f=h;e=f+(g*12|0)|0;k[c+24>>2]=0;k[c+24+4>>2]=0;k[c+24+8>>2]=0;o=i[e>>0]|0;p=(o&1)==0?(o&255)>>>1:k[f+(g*12|0)+4>>2]|0;w=0;kb(82,c+24|0,268461,3,p+3|0);o=w;w=0;if(o&1){q=25;break}w=0;Ea(68,c+24|0,((i[e>>0]&1)==0?e+1|0:k[f+(g*12|0)+8>>2]|0)|0,p|0)|0;p=w;w=0;if(p&1){q=25;break}w=0;p=Sa(549,c+24|0,268453)|0;f=w;w=0;if(f&1){q=27;break};k[c+36>>2]=k[p>>2];k[c+36+4>>2]=k[p+4>>2];k[c+36+8>>2]=k[p+8>>2];k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;p=i[c+36>>0]|0;w=0;Ea(68,c+72|0,((p&1)==0?c+36+1|0:k[c+36+8>>2]|0)|0,((p&1)==0?(p&255)>>>1:k[c+36+4>>2]|0)|0)|0;p=w;w=0;if(p&1){q=28;break}dTa(c+36|0);dTa(c+24|0);p=d+1|0;f=k[b+4>>2]|0;h=k[b>>2]|0;if(p>>>0>=((f-h|0)/12|0)>>>0){s=f;q=16;break a}else{f=d;d=p;g=f}}if((q|0)==25){g=Ib()|0;d=L;dTa(c+24|0);t=d;u=g;q=26;break}else if((q|0)==27){g=Ib()|0;v=L;x=g}else if((q|0)==28){g=Ib()|0;d=L;dTa(c+36|0);v=d;x=g}dTa(c+24|0);y=v;z=x}else{s=m;q=16}while(0);do if((q|0)==16){m=s;k[c>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;x=i[m+-12>>0]|0;v=(x&1)==0?(x&255)>>>1:k[m+-8>>2]|0;w=0;kb(82,c|0,268455,5,v+5|0);x=w;w=0;if(!(x&1)?(w=0,Ea(68,c|0,((i[m+-12>>0]&1)==0?m+-12+1|0:k[m+-4>>2]|0)|0,v|0)|0,v=w,w=0,!(v&1)):0){w=0;v=Sa(549,c|0,268453)|0;m=w;w=0;do if(m&1){x=Ib()|0;A=L;B=x}else{k[c+12>>2]=k[v>>2];k[c+12+4>>2]=k[v+4>>2];k[c+12+8>>2]=k[v+8>>2];k[v>>2]=0;k[v+4>>2]=0;k[v+8>>2]=0;x=i[c+12>>0]|0;w=0;Ea(68,c+72|0,((x&1)==0?c+12+1|0:k[c+12+8>>2]|0)|0,((x&1)==0?(x&255)>>>1:k[c+12+4>>2]|0)|0)|0;x=w;w=0;if(x&1){x=Ib()|0;b=L;dTa(c+12|0);A=b;B=x;break}dTa(c+12|0);dTa(c);k[a>>2]=k[c+72>>2];k[a+4>>2]=k[c+72+4>>2];k[a+8>>2]=k[c+72+8>>2];k[c+72>>2]=0;k[c+72+4>>2]=0;k[c+72+8>>2]=0;dTa(c+72|0);r=c;return}while(0);dTa(c);y=A;z=B;break}v=Ib()|0;m=L;dTa(c);t=m;u=v;q=26}while(0);if((q|0)==26){y=t;z=u}dTa(c+72|0);j=y;l=z;Hb(l|0)}function cJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;c=r;r=r+208|0;if((k[b+4>>2]|0)!=32){d=0;r=c;return d|0}e=k[b>>2]|0;b=k[a>>2]|0;f=k[a+4>>2]|0;if(!e){d=1;r=c;return d|0}if((b|0)==0&(f|0)!=0){d=1;r=c;return d|0}F0a(c|0,0,200)|0;if(f>>>0<136){g=f;h=b}else{a=f;f=b;while(1){b=0;do{j=c+b|0;i[j>>0]=i[j>>0]^i[f+b>>0];b=b+1|0}while((b|0)!=136);dJa(c);b=f+136|0;j=a+-136|0;if(j>>>0<136){g=j;h=b;break}else{a=j;f=b}}}f=c+g|0;i[f>>0]=i[f>>0]^1;i[c+135>>0]=(l[c+135>>0]|0)^128;if(g){f=0;do{a=c+f|0;i[a>>0]=i[a>>0]^i[h+f>>0];f=f+1|0}while((f|0)!=(g|0))}dJa(c);i[e>>0]=i[c>>0]|0;i[e+1>>0]=i[c+1>>0]|0;i[e+2>>0]=i[c+2>>0]|0;i[e+3>>0]=i[c+3>>0]|0;i[e+4>>0]=i[c+4>>0]|0;i[e+5>>0]=i[c+5>>0]|0;i[e+6>>0]=i[c+6>>0]|0;i[e+7>>0]=i[c+7>>0]|0;i[e+8>>0]=i[c+8>>0]|0;i[e+9>>0]=i[c+9>>0]|0;i[e+10>>0]=i[c+10>>0]|0;i[e+11>>0]=i[c+11>>0]|0;i[e+12>>0]=i[c+12>>0]|0;i[e+13>>0]=i[c+13>>0]|0;i[e+14>>0]=i[c+14>>0]|0;i[e+15>>0]=i[c+15>>0]|0;i[e+16>>0]=i[c+16>>0]|0;i[e+17>>0]=i[c+17>>0]|0;i[e+18>>0]=i[c+18>>0]|0;i[e+19>>0]=i[c+19>>0]|0;i[e+20>>0]=i[c+20>>0]|0;i[e+21>>0]=i[c+21>>0]|0;i[e+22>>0]=i[c+22>>0]|0;i[e+23>>0]=i[c+23>>0]|0;i[e+24>>0]=i[c+24>>0]|0;i[e+25>>0]=i[c+25>>0]|0;i[e+26>>0]=i[c+26>>0]|0;i[e+27>>0]=i[c+27>>0]|0;i[e+28>>0]=i[c+28>>0]|0;i[e+29>>0]=i[c+29>>0]|0;i[e+30>>0]=i[c+30>>0]|0;i[e+31>>0]=i[c+31>>0]|0;d=1;r=c;return d|0}function dJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,Aa=0,Ba=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;b=k[a>>2]|0;c=k[a+4>>2]|0;d=k[a+80>>2]|0;e=k[a+80+4>>2]|0;f=k[a+120>>2]|0;g=k[a+120+4>>2]|0;h=k[a+160>>2]|0;i=k[a+160+4>>2]|0;j=k[a+48>>2]|0;l=k[a+48+4>>2]|0;m=k[a+88>>2]|0;n=k[a+88+4>>2]|0;o=k[a+128>>2]|0;p=k[a+128+4>>2]|0;q=k[a+168>>2]|0;r=k[a+168+4>>2]|0;s=k[a+56>>2]|0;t=k[a+56+4>>2]|0;u=k[a+96>>2]|0;v=k[a+96+4>>2]|0;w=k[a+136>>2]|0;x=k[a+136+4>>2]|0;y=k[a+176>>2]|0;z=k[a+176+4>>2]|0;A=k[a+64>>2]|0;B=k[a+64+4>>2]|0;C=k[a+104>>2]|0;D=k[a+104+4>>2]|0;E=k[a+144>>2]|0;F=k[a+144+4>>2]|0;G=k[a+184>>2]|0;H=k[a+184+4>>2]|0;I=k[a+72>>2]|0;J=k[a+72+4>>2]|0;K=k[a+112>>2]|0;M=k[a+112+4>>2]|0;N=k[a+152>>2]|0;O=k[a+152+4>>2]|0;P=k[a+192>>2]|0;Q=k[a+192+4>>2]|0;R=0;do{S=k[a+40>>2]|0;T=k[a+40+4>>2]|0;U=S^b^d^f^h;V=T^c^e^g^i;W=k[a+8>>2]|0;X=k[a+8+4>>2]|0;Y=j^W^m^o^q;Z=l^X^n^p^r;_=k[a+16>>2]|0;$=k[a+16+4>>2]|0;aa=s^_^u^w^y;ba=t^$^v^x^z;ca=k[a+24>>2]|0;da=k[a+24+4>>2]|0;ea=A^ca^C^E^G;fa=B^da^D^F^H;ga=k[a+32>>2]|0;ha=k[a+32+4>>2]|0;ia=I^ga^K^N^P;ja=J^ha^M^O^Q;ka=I0a(Y|0,Z|0,1)|0;la=L;ma=H0a(Y|0,Z|0,63)|0;na=ja^(la|L);k[a>>2]=ia^(ka|ma)^b;k[a+4>>2]=na^c;la=d^(ia^(ka|ma));oa=e^na;k[a+120>>2]=f^(ia^(ka|ma));k[a+120+4>>2]=g^na;k[a+160>>2]=h^(ia^(ka|ma));k[a+160+4>>2]=i^na;pa=I0a(aa|0,ba|0,1)|0;qa=L;ra=H0a(aa|0,ba|0,63)|0;sa=(qa|L)^V;k[a+8>>2]=W^((pa|ra)^U);k[a+8+4>>2]=X^sa;k[a+48>>2]=j^((pa|ra)^U);k[a+48+4>>2]=l^sa;qa=m^((pa|ra)^U);ta=n^sa;ua=o^((pa|ra)^U);va=p^sa;wa=q^((pa|ra)^U);xa=r^sa;ya=I0a(ea|0,fa|0,1)|0;za=L;Aa=H0a(ea|0,fa|0,63)|0;Ba=(za|L)^Z;k[a+16>>2]=_^((ya|Aa)^Y);k[a+16+4>>2]=$^Ba;$=s^((ya|Aa)^Y);_=t^Ba;k[a+96>>2]=u^((ya|Aa)^Y);k[a+96+4>>2]=v^Ba;Z=w^((ya|Aa)^Y);za=x^Ba;k[a+176>>2]=y^((ya|Aa)^Y);k[a+176+4>>2]=z^Ba;Ba=I0a(ia|0,ja|0,1)|0;Y=L;Aa=H0a(ia|0,ja|0,63)|0;ja=(Y|L)^ba;ba=A^((Ba|Aa)^aa);Y=B^ja;ya=C^((Ba|Aa)^aa);Ca=D^ja;Da=E^((Ba|Aa)^aa);Ea=F^ja;Fa=k[a+184>>2]^((Ba|Aa)^aa);Ga=k[a+184+4>>2]^ja;Ha=I0a(U|0,V|0,1)|0;Ia=L;Ja=H0a(U|0,V|0,63)|0;V=fa^(Ia|L);Ia=k[a+72>>2]^(ea^(Ha|Ja));fa=k[a+72+4>>2]^V;Ka=k[a+112>>2]^(ea^(Ha|Ja));La=k[a+112+4>>2]^V;Ma=k[a+152>>2]^(ea^(Ha|Ja));Na=k[a+152+4>>2]^V;Oa=k[a+192>>2]^(ea^(Ha|Ja));Pa=k[a+192+4>>2]^V;Qa=I0a(W^((pa|ra)^U)|0,X^sa|0,1)|0;Ra=L;Sa=H0a(W^((pa|ra)^U)|0,X^sa|0,63)|0;k[a+80>>2]=Qa|Sa;k[a+80+4>>2]=Ra|L;Ra=I0a(la|0,oa|0,3)|0;Sa=L;Qa=H0a(la|0,oa|0,61)|0;k[a+56>>2]=Ra|Qa;k[a+56+4>>2]=Sa|L;Sa=I0a($|0,_|0,6)|0;Qa=L;Ra=H0a($|0,_|0,58)|0;k[a+88>>2]=Sa|Ra;k[a+88+4>>2]=Qa|L;Qa=I0a(qa|0,ta|0,10)|0;Ra=L;Sa=H0a(qa|0,ta|0,54)|0;k[a+136>>2]=Qa|Sa;k[a+136+4>>2]=Ra|L;Ra=I0a(Z|0,za|0,15)|0;Sa=L;Qa=H0a(Z|0,za|0,49)|0;k[a+144>>2]=Ra|Qa;k[a+144+4>>2]=Sa|L;Sa=I0a(Da|0,Ea|0,21)|0;Qa=L;Ra=H0a(Da|0,Ea|0,43)|0;Ea=Qa|L;Qa=I0a(ca^((Ba|Aa)^aa)|0,da^ja|0,28)|0;Da=L;za=H0a(ca^((Ba|Aa)^aa)|0,da^ja|0,36)|0;ja=Da|L;Da=I0a(ia^(ka|ma)^S|0,na^T|0,36)|0;da=L;aa=H0a(ia^(ka|ma)^S|0,na^T|0,28)|0;k[a+128>>2]=Da|aa;k[a+128+4>>2]=da|L;da=I0a(ua|0,va|0,45)|0;aa=L;Da=H0a(ua|0,va|0,19)|0;va=aa|L;k[a+64>>2]=da|Da;k[a+64+4>>2]=va;aa=I0a(ba|0,Y|0,55)|0;ua=L;T=H0a(ba|0,Y|0,9)|0;k[a+168>>2]=aa|T;k[a+168+4>>2]=ua|L;ua=I0a(wa|0,xa|0,2)|0;T=L;aa=H0a(wa|0,xa|0,62)|0;k[a+192>>2]=ua|aa;k[a+192+4>>2]=T|L;T=I0a(Oa|0,Pa|0,14)|0;aa=L;ua=H0a(Oa|0,Pa|0,50)|0;Pa=aa|L;aa=k[a+120>>2]|0;Oa=k[a+120+4>>2]|0;xa=I0a(ga^(ea^(Ha|Ja))|0,ha^V|0,27)|0;wa=L;Y=H0a(ga^(ea^(Ha|Ja))|0,ha^V|0,37)|0;k[a+120>>2]=xa|Y;k[a+120+4>>2]=wa|L;wa=I0a(aa|0,Oa|0,41)|0;Y=L;xa=H0a(aa|0,Oa|0,23)|0;k[a+184>>2]=wa|xa;k[a+184+4>>2]=Y|L;Y=I0a(Fa|0,Ga|0,56)|0;xa=L;wa=H0a(Fa|0,Ga|0,8)|0;k[a+152>>2]=Y|wa;k[a+152+4>>2]=xa|L;xa=I0a(Ma|0,Na|0,8)|0;wa=L;Y=H0a(Ma|0,Na|0,56)|0;Na=wa|L;wa=k[a+96>>2]|0;Ma=k[a+96+4>>2]|0;Ga=I0a(ya|0,Ca|0,25)|0;Fa=L;Oa=H0a(ya|0,Ca|0,39)|0;Ca=Fa|L;Fa=k[a+16>>2]|0;ya=k[a+16+4>>2]|0;aa=I0a(wa|0,Ma|0,43)|0;V=L;ha=H0a(wa|0,Ma|0,21)|0;Ma=V|L;V=k[a+160>>2]|0;wa=k[a+160+4>>2]|0;Ja=I0a(Fa|0,ya|0,62)|0;Ha=L;ea=H0a(Fa|0,ya|0,2)|0;k[a+160>>2]=Ja|ea;k[a+160+4>>2]=Ha|L;Ha=I0a(V|0,wa|0,18)|0;ea=L;Ja=H0a(V|0,wa|0,46)|0;wa=ea|L;ea=k[a+176>>2]|0;V=k[a+176+4>>2]|0;ya=I0a(Ka|0,La|0,39)|0;Fa=L;ga=H0a(Ka|0,La|0,25)|0;k[a+176>>2]=ya|ga;k[a+176+4>>2]=Fa|L;Fa=I0a(ea|0,V|0,61)|0;ga=L;ya=H0a(ea|0,V|0,3)|0;V=ga|L;ga=k[a+48>>2]|0;ea=k[a+48+4>>2]|0;La=I0a(Ia|0,fa|0,20)|0;Ka=L;ba=H0a(Ia|0,fa|0,44)|0;fa=Ka|L;Ka=I0a(ga|0,ea|0,44)|0;Ia=L;na=H0a(ga|0,ea|0,20)|0;ea=Ia|L;Ia=k[a>>2]|0;ga=k[a+4>>2]|0;k[a>>2]=(aa|ha)&~(Ka|na)^Ia;k[a+4>>2]=Ma&~ea^ga;k[a+8>>2]=(Sa|Ra)&~(aa|ha)^(Ka|na);k[a+8+4>>2]=Ea&~Ma^ea;k[a+16>>2]=(T|ua)&~(Sa|Ra)^(aa|ha);k[a+16+4>>2]=Pa&~Ea^Ma;k[a+24>>2]=Ia&~(T|ua)^(Sa|Ra);k[a+24+4>>2]=ga&~Pa^Ea;k[a+32>>2]=(T|ua)^(Ka|na)&~Ia;k[a+32+4>>2]=Pa^ea&~ga;ga=k[a+56>>2]|0;ea=k[a+56+4>>2]|0;k[a+40>>2]=ga&~(La|ba)^(Qa|za);k[a+40+4>>2]=ea&~fa^ja;j=(da|Da)&~ga^(La|ba);l=va&~ea^fa;k[a+48>>2]=j;k[a+48+4>>2]=l;s=(Fa|ya)&~(da|Da)^ga;t=V&~va^ea;k[a+56>>2]=s;k[a+56+4>>2]=t;A=(Qa|za)&~(Fa|ya)^(da|Da);B=ja&~V^va;k[a+64>>2]=A;k[a+64+4>>2]=B;I=(Fa|ya)^(La|ba)&~(Qa|za);J=V^fa&~ja;k[a+72>>2]=I;k[a+72+4>>2]=J;ja=k[a+80>>2]|0;fa=k[a+80+4>>2]|0;V=k[a+88>>2]|0;za=k[a+88+4>>2]|0;d=(Ga|Oa)&~V^ja;e=Ca&~za^fa;k[a+80>>2]=d;k[a+80+4>>2]=e;m=(xa|Y)&~(Ga|Oa)^V;n=Na&~Ca^za;k[a+88>>2]=m;k[a+88+4>>2]=n;u=(Ha|Ja)&~(xa|Y)^(Ga|Oa);v=wa&~Na^Ca;k[a+96>>2]=u;k[a+96+4>>2]=v;C=ja&~(Ha|Ja)^(xa|Y);D=fa&~wa^Na;k[a+104>>2]=C;k[a+104+4>>2]=D;K=(Ha|Ja)^V&~ja;M=wa^za&~fa;k[a+112>>2]=K;k[a+112+4>>2]=M;fa=k[a+120>>2]|0;za=k[a+120+4>>2]|0;wa=k[a+128>>2]|0;ja=k[a+128+4>>2]|0;V=k[a+136>>2]|0;Ja=k[a+136+4>>2]|0;Ha=k[a+144>>2]|0;Na=k[a+144+4>>2]|0;Y=k[a+152>>2]|0;xa=k[a+152+4>>2]|0;f=V&~wa^fa;g=Ja&~ja^za;k[a+120>>2]=f;k[a+120+4>>2]=g;o=Ha&~V^wa;p=Na&~Ja^ja;k[a+128>>2]=o;k[a+128+4>>2]=p;w=Y&~Ha^V;x=xa&~Na^Ja;k[a+136>>2]=w;k[a+136+4>>2]=x;E=fa&~Y^Ha;F=za&~xa^Na;k[a+144>>2]=E;k[a+144+4>>2]=F;N=Y^wa&~fa;O=xa^ja&~za;k[a+152>>2]=N;k[a+152+4>>2]=O;za=k[a+160>>2]|0;ja=k[a+160+4>>2]|0;xa=k[a+168>>2]|0;fa=k[a+168+4>>2]|0;wa=k[a+176>>2]|0;Y=k[a+176+4>>2]|0;Na=k[a+184>>2]|0;Ha=k[a+184+4>>2]|0;Ja=k[a+192>>2]|0;V=k[a+192+4>>2]|0;h=wa&~xa^za;i=Y&~fa^ja;k[a+160>>2]=h;k[a+160+4>>2]=i;q=Na&~wa^xa;r=Ha&~Y^fa;k[a+168>>2]=q;k[a+168+4>>2]=r;y=Ja&~Na^wa;z=V&~Ha^Y;k[a+176>>2]=y;k[a+176+4>>2]=z;G=za&~Ja^Na;H=ja&~V^Ha;k[a+184>>2]=G;k[a+184+4>>2]=H;P=Ja^xa&~za;Q=V^fa&~ja;k[a+192>>2]=P;k[a+192+4>>2]=Q;ja=10312+(R<<3)|0;b=k[a>>2]^k[ja>>2];c=k[a+4>>2]^k[ja+4>>2];k[a>>2]=b;k[a+4>>2]=c;R=R+1|0}while((R|0)!=24);return}function eJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;c=i[a>>0]|0;d=(c&1)==0?a+1|0:k[a+8>>2]|0;e=(c&1)==0?(c&255)>>>1:k[a+4>>2]|0;if(!e){f=1;return f|0}else{g=0;h=1}a:while(1){a=i[d+g>>0]|0;b:do if(a<<24>>24>-1){j=g;l=h}else{if((a&-32)<<24>>24!=-64)if((a&-16)<<24>>24==-32)m=2;else m=(a&-8)<<24>>24==-16?3:0;else m=1;if((m|0)!=0&(m+g|0)>>>0>>0){n=g;o=0}else{p=g;break a}while(1){c=n+1|0;q=i[d+c>>0]|0;if((q&-64)<<24>>24!=-128){j=c;l=0;break b}c:do if(!o){r=i[d+n>>0]|0;if((r&-2)<<24>>24==-64){j=c;l=0;break b}if((r+62&255)>=30){if(r<<24>>24==-32)if((q&255)>159)break;else{j=c;l=0;break b}if((r+31&255)>=12)switch(r<<24>>24){case -17:case -18:{break c;break}case -19:{if((q&255)<160)break c;else{j=c;l=0;break b}break}case -16:{if((q&255)>143)break c;else{j=c;l=0;break b}break}default:{if((r+15&255)<3)break c;if((q&255)<144&r<<24>>24==-12)break c;else{j=c;l=0;break b}}}}}while(0);o=o+1|0;if(o>>>0>=m>>>0){j=c;l=h;break}else n=c}}while(0);g=j+1|0;if(g>>>0>=e>>>0){s=21;break}else h=l}if((s|0)==21)if(l){f=1;return f|0}else p=g;k[b>>2]=p;f=0;return f|0}function fJa(a,b){a=a|0;b=b|0;$Sa(a,b);k[a+16>>2]=0;k[a+20>>2]=0;k[a+12>>2]=a+16;k[a+28>>2]=0;k[a+32>>2]=0;k[a+24>>2]=a+28;return}function gJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;d=r;r=r+112|0;e=k[a+16>>2]|0;a:do if(e){f=i[b>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+4>>2]|0;h=(f&1)==0?b+1|0:k[b+8>>2]|0;f=e;while(1){j=f+16|0;l=i[j>>0]|0;m=(l&1)==0?(l&255)>>>1:k[f+20>>2]|0;n=(l&1)==0?j+1|0:k[f+24>>2]|0;j=$Qa(h,n,m>>>0>>0?m:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)<0)o=f;else{j=$Qa(n,h,g>>>0>>0?g:m)|0;if((((j|0)==0?(m>>>0>>0?-2147483648:0):j)|0)>=0)break;o=f+4|0}f=k[o>>2]|0;if(!f)break a}k[d+88>>2]=0;k[d+88+4>>2]=0;k[d+88+8>>2]=0;k[d+88+12>>2]=0;k[d+88+16>>2]=0;k[d+88+20>>2]=-1;k[d+88>>2]=43072;k[d+88+4>>2]=43096;k[d+56>>2]=0;k[d+56+4>>2]=0;k[d+56+8>>2]=0;w=0;kb(82,d+56|0,h|0,g|0,g+13|0);f=w;w=0;if(!(f&1)?(w=0,Ea(68,d+56|0,268465,13)|0,f=w,w=0,!(f&1)):0){k[d+72>>2]=13804;w=0;ua(724,d+72+4|0,d+56|0);f=w;w=0;if(f&1){f=Ib()|0;p=L;q=f}else{w=0;f=Sa(703,d+88|0,d+72|0)|0;j=w;w=0;if(!(j&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=268479;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=268552;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=44;w=0;sa(1690,f|0);w=0}f=Ib()|0;j=L;k[d+72>>2]=13804;dTa(d+72+4|0);p=j;q=f}dTa(d+56|0);s=p;t=q}else{f=Ib()|0;j=L;dTa(d+56|0);s=j;t=f}k[d+88+4>>2]=13668;f=k[d+88+8>>2]|0;if(f){w=0;j=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;f=w;w=0;if(f&1){f=Ib(0)|0;Zc(f)}if(j)k[d+88+8>>2]=0}u=s;v=t;Hb(v|0)}while(0);t=k[a+28>>2]|0;if(!t){x=Td(a+12|0,b)|0;eTa(x,c)|0;r=d;return a|0}s=i[b>>0]|0;q=(s&1)==0?(s&255)>>>1:k[b+4>>2]|0;p=(s&1)==0?b+1|0:k[b+8>>2]|0;s=t;while(1){t=s+16|0;o=i[t>>0]|0;e=(o&1)==0?(o&255)>>>1:k[s+20>>2]|0;j=(o&1)==0?t+1|0:k[s+24>>2]|0;t=$Qa(p,j,e>>>0>>0?e:q)|0;if((((t|0)==0?(q>>>0>>0?-2147483648:0):t)|0)<0)y=s;else{t=$Qa(j,p,q>>>0>>0?q:e)|0;if((((t|0)==0?(e>>>0>>0?-2147483648:0):t)|0)>=0)break;y=s+4|0}s=k[y>>2]|0;if(!s){z=45;break}}if((z|0)==45){x=Td(a+12|0,b)|0;eTa(x,c)|0;r=d;return a|0}k[d+32>>2]=0;k[d+32+4>>2]=0;k[d+32+8>>2]=0;k[d+32+12>>2]=0;k[d+32+16>>2]=0;k[d+32+20>>2]=-1;k[d+32>>2]=43072;k[d+32+4>>2]=43096;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;w=0;kb(82,d|0,p|0,q|0,q+31|0);q=w;w=0;if(!(q&1)?(w=0,Ea(68,d|0,268590,31)|0,q=w,w=0,!(q&1)):0){k[d+16>>2]=13804;w=0;ua(724,d+16+4|0,d|0);q=w;w=0;if(q&1){q=Ib()|0;A=L;B=q}else{w=0;q=Sa(703,d+32|0,d+16|0)|0;p=w;w=0;if(!(p&1)){k[q+(k[(k[q>>2]|0)+-24>>2]|0)+8>>2]=268479;k[q+(k[(k[q>>2]|0)+-24>>2]|0)+12>>2]=268552;k[q+(k[(k[q>>2]|0)+-24>>2]|0)+16>>2]=49;w=0;sa(1690,q|0);w=0}q=Ib()|0;p=L;k[d+16>>2]=13804;dTa(d+16+4|0);A=p;B=q}dTa(d);C=A;D=B}else{B=Ib()|0;A=L;dTa(d);C=A;D=B}k[d+32+4>>2]=13668;B=k[d+32+8>>2]|0;if(B){w=0;A=ya(k[(k[B>>2]|0)+16>>2]|0,B|0)|0;B=w;w=0;if(B&1){B=Ib(0)|0;Zc(B)}if(A)k[d+32+8>>2]=0}u=C;v=D;Hb(v|0);return 0}function hJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;d=r;r=r+112|0;e=k[a+28>>2]|0;a:do if(e){f=i[b>>0]|0;g=(f&1)==0?(f&255)>>>1:k[b+4>>2]|0;h=(f&1)==0?b+1|0:k[b+8>>2]|0;f=e;while(1){j=f+16|0;l=i[j>>0]|0;m=(l&1)==0?(l&255)>>>1:k[f+20>>2]|0;n=(l&1)==0?j+1|0:k[f+24>>2]|0;j=$Qa(h,n,m>>>0>>0?m:g)|0;if((((j|0)==0?(g>>>0>>0?-2147483648:0):j)|0)<0)o=f;else{j=$Qa(n,h,g>>>0>>0?g:m)|0;if((((j|0)==0?(m>>>0>>0?-2147483648:0):j)|0)>=0)break;o=f+4|0}f=k[o>>2]|0;if(!f)break a}k[d+88>>2]=0;k[d+88+4>>2]=0;k[d+88+8>>2]=0;k[d+88+12>>2]=0;k[d+88+16>>2]=0;k[d+88+20>>2]=-1;k[d+88>>2]=43072;k[d+88+4>>2]=43096;k[d+56>>2]=0;k[d+56+4>>2]=0;k[d+56+8>>2]=0;w=0;kb(82,d+56|0,h|0,g|0,g+13|0);f=w;w=0;if(!(f&1)?(w=0,Ea(68,d+56|0,268465,13)|0,f=w,w=0,!(f&1)):0){k[d+72>>2]=13804;w=0;ua(724,d+72+4|0,d+56|0);f=w;w=0;if(f&1){f=Ib()|0;p=L;q=f}else{w=0;f=Sa(703,d+88|0,d+72|0)|0;j=w;w=0;if(!(j&1)){k[f+(k[(k[f>>2]|0)+-24>>2]|0)+8>>2]=268622;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+12>>2]=268552;k[f+(k[(k[f>>2]|0)+-24>>2]|0)+16>>2]=64;w=0;sa(1690,f|0);w=0}f=Ib()|0;j=L;k[d+72>>2]=13804;dTa(d+72+4|0);p=j;q=f}dTa(d+56|0);s=p;t=q}else{f=Ib()|0;j=L;dTa(d+56|0);s=j;t=f}k[d+88+4>>2]=13668;f=k[d+88+8>>2]|0;if(f){w=0;j=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;f=w;w=0;if(f&1){f=Ib(0)|0;Zc(f)}if(j)k[d+88+8>>2]=0}u=s;v=t;Hb(v|0)}while(0);t=k[a+16>>2]|0;b:do if(t){s=i[b>>0]|0;q=(s&1)==0?(s&255)>>>1:k[b+4>>2]|0;p=(s&1)==0?b+1|0:k[b+8>>2]|0;s=t;while(1){o=s+16|0;e=i[o>>0]|0;j=(e&1)==0?(e&255)>>>1:k[s+20>>2]|0;f=(e&1)==0?o+1|0:k[s+24>>2]|0;o=$Qa(p,f,j>>>0>>0?j:q)|0;if((((o|0)==0?(q>>>0>>0?-2147483648:0):o)|0)<0)x=s;else{o=$Qa(f,p,q>>>0>>0?q:j)|0;if((((o|0)==0?(j>>>0>>0?-2147483648:0):o)|0)>=0)break;x=s+4|0}s=k[x>>2]|0;if(!s)break b}k[d+32>>2]=0;k[d+32+4>>2]=0;k[d+32+8>>2]=0;k[d+32+12>>2]=0;k[d+32+16>>2]=0;k[d+32+20>>2]=-1;k[d+32>>2]=43072;k[d+32+4>>2]=43096;k[d>>2]=0;k[d+4>>2]=0;k[d+8>>2]=0;w=0;kb(82,d|0,p|0,q|0,q+32|0);s=w;w=0;if(!(s&1)?(w=0,Ea(68,d|0,268717,32)|0,s=w,w=0,!(s&1)):0){k[d+16>>2]=13804;w=0;ua(724,d+16+4|0,d|0);s=w;w=0;if(s&1){s=Ib()|0;y=L;z=s}else{w=0;s=Sa(703,d+32|0,d+16|0)|0;g=w;w=0;if(!(g&1)){k[s+(k[(k[s>>2]|0)+-24>>2]|0)+8>>2]=268622;k[s+(k[(k[s>>2]|0)+-24>>2]|0)+12>>2]=268552;k[s+(k[(k[s>>2]|0)+-24>>2]|0)+16>>2]=69;w=0;sa(1690,s|0);w=0}s=Ib()|0;g=L;k[d+16>>2]=13804;dTa(d+16+4|0);y=g;z=s}dTa(d);A=y;B=z}else{s=Ib()|0;g=L;dTa(d);A=g;B=s}k[d+32+4>>2]=13668;s=k[d+32+8>>2]|0;if(s){w=0;g=ya(k[(k[s>>2]|0)+16>>2]|0,s|0)|0;s=w;w=0;if(s&1){s=Ib(0)|0;Zc(s)}if(g)k[d+32+8>>2]=0}u=A;v=B;Hb(v|0)}while(0);v=nJa(a+24|0,b)|0;if((v|0)==(c|0)){r=d;return a|0}oJa(v,k[c>>2]|0,k[c+4>>2]|0);r=d;return a|0}function iJa(a,b){a=a|0;b=b|0;jJa(a,b,b+12|0,b+24|0);return}function jJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=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;e=r;r=r+32|0;do if((i[10504]|0)==0?(qb(10504)|0)!=0:0){k[10776]=0;k[10777]=0;w=0;ab(65,43104,268750,268782,0)|0;f=w;w=0;if(!(f&1)){yb(10504);break}f=Ib()|0;g=k[10777]|0;if(!g){bc(10504);Hb(f|0)}h=k[g+4>>2]|0;k[g+4>>2]=h+-1;if((h|0)!=1){bc(10504);Hb(f|0)}w=0;sa(k[(k[g>>2]|0)+8>>2]|0,g|0);h=w;w=0;if(h&1){j=Ib(0)|0;l=L;Zc(j)}h=k[g+8>>2]|0;k[g+8>>2]=h+-1;if((h|0)!=1){bc(10504);Hb(f|0)}w=0;sa(k[(k[g>>2]|0)+12>>2]|0,g|0);g=w;w=0;if(g&1){j=Ib(0)|0;l=L;Zc(j)}else{bc(10504);Hb(f|0)}}while(0);k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;j=i[b>>0]|0;l=(j&1)==0?b+1|0:k[b+8>>2]|0;f=(j&1)==0?(j&255)>>>1:k[b+4>>2]|0;k[e+4>>2]=l;k[e>>2]=l+f;w=0;k[e+16>>2]=k[e+4>>2];k[e+20>>2]=k[e>>2];oa(78,e+8|0,e+16|0,e+20|0,43104,0);j=w;w=0;if(j&1){j=Ib()|0;m=L;n=j;dTa(a);Hb(n|0)}j=k[e+8>>2]|0;a:do if(!j)if(!f)o=54;else{g=l;while(1){w=0;Ea(118,a|0,1,i[g>>0]|0)|0;h=w;w=0;if(h&1)break;g=g+1|0;if((g|0)==(l+f|0)){o=54;break a}}g=Ib()|0;p=g;q=L;o=22}else{g=a;h=j;b:while(1){s=h+40|0;if(i[s>>0]|0){o=29;break}t=h+4|0;u=k[h>>2]|0;v=h+16|0;x=((k[t>>2]|0)-u|0)>12?u+12|0:v;u=k[x>>2]|0;y=k[x+4>>2]|0;if((u|0)!=(y|0)){x=u;do{w=0;Ea(118,g|0,1,i[x>>0]|0)|0;u=w;w=0;if(u&1){o=19;break b}x=x+1|0}while((x|0)!=(y|0));if(i[s>>0]|0){o=34;break}}k[e+20>>2]=c;k[e+20+4>>2]=b;k[e+20+8>>2]=d;w=0;z=Ea(119,e+20|0,h|0,g|0)|0;y=w;w=0;if(y&1){o=20;break}if(!(i[s>>0]|0)){y=k[h>>2]|0;A=y;B=k[t>>2]|0;C=y}else{y=k[h>>2]|0;x=k[t>>2]|0;if((y|0)==(x|0)){o=40;break}A=y;B=x;C=y}D=k[((B-A|0)>24?C+24|0:v)+4>>2]|0;w=0;sa(1691,e+8|0);y=w;w=0;if(y&1){o=20;break}w=0;y=ya(758,k[e+8>>2]|0)|0;x=w;w=0;if(x&1){o=20;break}if((!y?(k[e+8>>2]=0,y=k[e+8+4>>2]|0,k[e+8+4>>2]=0,(y|0)!=0):0)?(x=k[y+4>>2]|0,k[y+4>>2]=x+-1,(x|0)==1):0){w=0;sa(k[(k[y>>2]|0)+8>>2]|0,y|0);x=w;w=0;if(x&1){o=50;break}x=k[y+8>>2]|0;k[y+8>>2]=x+-1;if((x|0)==1?(w=0,sa(k[(k[y>>2]|0)+12>>2]|0,y|0),y=w,w=0,y&1):0){o=50;break}}h=k[e+8>>2]|0;if(!h){o=51;break}else g=z}if((o|0)==19){g=Ib()|0;p=g;q=L;o=22;break}else if((o|0)==20){g=Ib()|0;p=g;q=L;o=22;break}else if((o|0)==29){w=0;eb(49);w=0}else if((o|0)==34){w=0;eb(49);w=0}else if((o|0)==40){w=0;eb(49);w=0}else if((o|0)==50){g=Ib(0)|0;Zc(g)}else if((o|0)==51){if((D|0)==(l+f|0)){o=54;break}else E=D;while(1){w=0;Ea(118,z|0,1,i[E>>0]|0)|0;g=w;w=0;if(g&1)break;E=E+1|0;if((E|0)==(l+f|0)){o=54;break a}}g=Ib()|0;p=g;q=L;o=22;break}g=Ib()|0;p=g;q=L;o=22}while(0);if((o|0)==22){f=k[e+8+4>>2]|0;if(!f){m=q;n=p;dTa(a);Hb(n|0)}l=k[f+4>>2]|0;k[f+4>>2]=l+-1;if((l|0)!=1){m=q;n=p;dTa(a);Hb(n|0)}w=0;sa(k[(k[f>>2]|0)+8>>2]|0,f|0);l=w;w=0;if(l&1){F=Ib(0)|0;G=L;Zc(F)}l=k[f+8>>2]|0;k[f+8>>2]=l+-1;if((l|0)!=1){m=q;n=p;dTa(a);Hb(n|0)}w=0;sa(k[(k[f>>2]|0)+12>>2]|0,f|0);f=w;w=0;if(f&1){F=Ib(0)|0;G=L;Zc(F)}else{m=q;n=p;dTa(a);Hb(n|0)}}else if((o|0)==54){o=k[e+8+4>>2]|0;if(!o){r=e;return}n=k[o+4>>2]|0;k[o+4>>2]=n+-1;if((n|0)!=1){r=e;return}w=0;sa(k[(k[o>>2]|0)+8>>2]|0,o|0);n=w;w=0;if(n&1){H=Ib(0)|0;I=L;Zc(H)}n=k[o+8>>2]|0;k[o+8>>2]=n+-1;if((n|0)!=1){r=e;return}w=0;sa(k[(k[o>>2]|0)+12>>2]|0,o|0);o=w;w=0;if(o&1){H=Ib(0)|0;I=L;Zc(H)}else{r=e;return}}}function kJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0;d=r;r=r+80|0;k[a+4>>2]=0;k[a+8>>2]=0;k[a>>2]=a+4;e=k[b>>2]|0;a:do if((e|0)!=(b+4|0)){f=e;g=e;while(1){k[d+32>>2]=a+4;w=0;k[d+64>>2]=k[d+32>>2];Ea(120,a|0,d+64|0,f+16|0)|0;h=w;w=0;if(h&1)break;h=k[g+4>>2]|0;if(!h){j=g;while(1){l=k[j+8>>2]|0;if((k[l>>2]|0)==(j|0)){m=l;break}else j=l}}else{j=h;while(1){l=k[j>>2]|0;if(!l){m=j;break}else j=l}}if((m|0)==(b+4|0))break a;else{f=m;g=m}}g=Ib()|0;Sd(a,k[a+4>>2]|0);Hb(g|0)}while(0);m=k[c>>2]|0;if((m|0)==(c+4|0)){r=d;return}b=m;while(1){w=0;cb(459,d+64|0,a|0,b+16|0);m=w;w=0;if(m&1){n=12;break}if(!(i[d+64+4>>0]|0)){n=15;break}m=k[b+4>>2]|0;if(!m){e=b;while(1){g=k[e+8>>2]|0;if((k[g>>2]|0)==(e|0)){o=g;break}else e=g}}else{e=m;while(1){g=k[e>>2]|0;if(!g){o=e;break}else e=g}}if((o|0)==(c+4|0)){n=11;break}else b=o}if((n|0)==11){r=d;return}else if((n|0)==12){o=Ib()|0;p=L;q=o;s=k[a+4>>2]|0;Sd(a,s);Hb(q|0)}else if((n|0)==15){k[d+40>>2]=0;k[d+40+4>>2]=0;k[d+40+8>>2]=0;k[d+40+12>>2]=0;k[d+40+16>>2]=0;k[d+40+20>>2]=-1;k[d+40>>2]=43072;k[d+40+4>>2]=43096;w=0;cb(138,d|0,268783,19);n=w;w=0;if(n&1){n=Ib()|0;t=L;u=n}else{k[d+16>>2]=13804;w=0;ua(724,d+16+4|0,d|0);n=w;w=0;if(n&1){n=Ib()|0;v=L;x=n}else{w=0;n=Sa(703,d+40|0,d+16|0)|0;o=w;w=0;if(!(o&1)){k[n+(k[(k[n>>2]|0)+-24>>2]|0)+8>>2]=268803;k[n+(k[(k[n>>2]|0)+-24>>2]|0)+12>>2]=268552;k[n+(k[(k[n>>2]|0)+-24>>2]|0)+16>>2]=130;w=0;sa(1690,n|0);w=0}n=Ib()|0;o=L;k[d+16>>2]=13804;dTa(d+16+4|0);v=o;x=n}dTa(d);t=v;u=x}k[d+40+4>>2]=13668;x=k[d+40+8>>2]|0;if(x){w=0;v=ya(k[(k[x>>2]|0)+16>>2]|0,x|0)|0;x=w;w=0;if(x&1){x=Ib(0)|0;Zc(x)}if(v)k[d+40+8>>2]=0}p=t;q=u;s=k[a+4>>2]|0;Sd(a,s);Hb(q|0)}}function lJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;c=r;r=r+32|0;d=EPa(16)|0;k[d>>2]=13804;w=0;ua(724,d+4|0,b+4|0);b=w;w=0;if(b&1){b=Ib()|0;e=L;GPa(d);f=e;g=b;Hb(g|0)}k[c+16>>2]=d;k[c+16+4>>2]=0;w=0;cb(144,c+16|0,d|0,c+16+4|0);d=w;w=0;if(d&1){d=Ib()|0;b=k[c+16+4>>2]|0;if(!b)Hb(d|0);e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){h=Ib(0)|0;i=L;Zc(h)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1)Hb(d|0);w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){h=Ib(0)|0;i=L;Zc(h)}else Hb(d|0)}d=a+(k[(k[a>>2]|0)+-24>>2]|0)+4|0;h=k[d>>2]|0;do if(!h){w=0;i=ya(665,32)|0;b=w;w=0;if(b&1){b=Ib()|0;j=L;l=b;m=c+16+4|0;break}else{k[i>>2]=13932;k[i+8>>2]=0;k[i+12>>2]=0;k[i+4>>2]=i+8;k[i+16>>2]=0;k[i+16+4>>2]=0;k[i+16+8>>2]=0;k[d>>2]=i;k[i+28>>2]=1;n=i;o=15;break}}else{n=h;o=15}while(0);do if((o|0)==15){h=k[(k[n>>2]|0)+8>>2]|0;k[c+8>>2]=k[c+16>>2];d=c+16+4|0;i=k[d>>2]|0;k[c+8+4>>2]=i;if(i)k[i+4>>2]=(k[i+4>>2]|0)+1;k[c>>2]=256;w=0;cb(h|0,n|0,c+8|0,c|0);h=w;w=0;if(h&1){h=Ib()|0;i=L;b=k[c+8+4>>2]|0;if(!b){j=i;l=h;m=d;break}e=k[b+4>>2]|0;k[b+4>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);e=w;w=0;if(e&1){p=Ib(0)|0;q=L;Zc(p)}e=k[b+8>>2]|0;k[b+8>>2]=e+-1;if((e|0)!=1){j=i;l=h;m=d;break}w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(!(b&1)){j=i;l=h;m=d;break}p=Ib(0)|0;q=L;Zc(p)}h=k[c+8+4>>2]|0;if((h|0)!=0?(i=k[h+4>>2]|0,k[h+4>>2]=i+-1,(i|0)==1):0){w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);i=w;w=0;if(i&1){s=Ib(0)|0;t=L;Zc(s)}i=k[h+8>>2]|0;k[h+8>>2]=i+-1;if((i|0)==1?(w=0,sa(k[(k[h>>2]|0)+12>>2]|0,h|0),h=w,w=0,h&1):0){s=Ib(0)|0;t=L;Zc(s)}}h=k[d>>2]|0;if(!h){r=c;return a|0}d=k[h+4>>2]|0;k[h+4>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+8>>2]|0,h|0);d=w;w=0;if(d&1){u=Ib(0)|0;v=L;Zc(u)}d=k[h+8>>2]|0;k[h+8>>2]=d+-1;if((d|0)!=1){r=c;return a|0}w=0;sa(k[(k[h>>2]|0)+12>>2]|0,h|0);h=w;w=0;if(h&1){u=Ib(0)|0;v=L;Zc(u)}else{r=c;return a|0}}while(0);a=k[m>>2]|0;if(!a){f=j;g=l;Hb(g|0)}m=k[a+4>>2]|0;k[a+4>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+8>>2]|0,a|0);m=w;w=0;if(m&1){x=Ib(0)|0;y=L;Zc(x)}m=k[a+8>>2]|0;k[a+8>>2]=m+-1;if((m|0)!=1){f=j;g=l;Hb(g|0)}w=0;sa(k[(k[a>>2]|0)+12>>2]|0,a|0);a=w;w=0;if(a&1){x=Ib(0)|0;y=L;Zc(x)}else{f=j;g=l;Hb(g|0)}return 0}function mJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0;b=r;r=r+32|0;c=vb(28)|0;k[b>>2]=45752;d=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[d+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;e=L;f=a}else{k[b+12>>2]=k[d+8>>2];k[b+12+4>>2]=k[d+8+4>>2];k[b+12+8>>2]=k[d+8+8>>2];k[b>>2]=43072;k[b+4>>2]=43096;k[c+8>>2]=0;k[c+12>>2]=0;k[c+16>>2]=0;k[c+20>>2]=-1;k[c>>2]=43856;k[c+4>>2]=43888;k[c+24>>2]=43916;w=0;ua(723,c+4|0,b+4|0);d=w;w=0;if(d&1){d=Ib()|0;a=L;k[c+4>>2]=13668;g=k[c+8>>2]|0;if(g){w=0;h=ya(k[(k[g>>2]|0)+16>>2]|0,g|0)|0;g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}if(h)k[c+8>>2]=0}i=1;j=a;l=d}else{w=0;cb(142,c|0,10656,1504);w=0;d=Ib()|0;i=0;j=L;l=d}k[b+4>>2]=13668;d=k[b+8>>2]|0;if(d){w=0;a=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(a)k[b+8>>2]=0}if(i){e=j;f=l}else{m=j;n=l;Hb(n|0)}}ub(c|0);m=e;n=f;Hb(n|0)}function nJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+16|0;d=LLa(a,c,b)|0;e=k[d>>2]|0;if(e){f=e;g=f+28|0;r=c;return g|0}e=EPa(40)|0;w=0;ua(724,e+16|0,b|0);b=w;w=0;if(b&1){b=Ib()|0;GPa(e);Hb(b|0)}k[e+28>>2]=0;k[e+32>>2]=0;k[e+36>>2]=0;b=k[c>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=b;k[d>>2]=e;b=k[k[a>>2]>>2]|0;if(!b)h=e;else{k[a>>2]=b;h=k[d>>2]|0}$c(k[a+4>>2]|0,h);k[a+8>>2]=(k[a+8>>2]|0)+1;f=e;g=f+28|0;r=c;return g|0}function oJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;d=r;r=r+16|0;e=k[a+8>>2]|0;f=k[a>>2]|0;if(((c-b|0)/12|0)>>>0>((e-f|0)/12|0)>>>0){if(!f)g=e;else{e=k[a+4>>2]|0;if((e|0)==(f|0))h=f;else{i=e;do{e=i+-12|0;k[a+4>>2]=e;Sd(e,k[i+-8>>2]|0);i=k[a+4>>2]|0}while((i|0)!=(f|0));h=k[a>>2]|0}GPa(h);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;g=0}if(((c-b|0)/12|0)>>>0>357913941){CPa(a);j=k[a>>2]|0;l=k[a+8>>2]|0}else{j=0;l=g}g=(l-j|0)/12|0;if(g>>>0<178956970){j=g<<1>>>0>=((c-b|0)/12|0)>>>0;if(j|((c-b|0)/12|0)>>>0>357913941^1)m=j?g<<1:(c-b|0)/12|0;else{CPa(a);m=(c-b|0)/12|0}}else m=357913941;g=EPa(m*12|0)|0;k[a+4>>2]=g;k[a>>2]=g;k[a+8>>2]=g+(m*12|0);if((b|0)==(c|0)){r=d;return}m=b;j=g;a:while(1){k[j+4>>2]=0;k[j+8>>2]=0;n=j+4|0;k[j>>2]=n;g=k[m>>2]|0;l=m+4|0;if((g|0)!=(l|0)){h=g;i=g;while(1){k[d+8>>2]=n;w=0;k[d+12>>2]=k[d+8>>2];Ea(120,j|0,d+12|0,i+16|0)|0;g=w;w=0;if(g&1){o=j;p=40;break a}g=k[h+4>>2]|0;if(!g){e=h;while(1){q=k[e+8>>2]|0;if((k[q>>2]|0)==(e|0)){s=q;break}else e=q}}else{e=g;while(1){q=k[e>>2]|0;if(!q){s=e;break}else e=q}}if((s|0)==(l|0))break;else{h=s;i=s}}}j=(k[a+4>>2]|0)+12|0;k[a+4>>2]=j;m=m+12|0;if((m|0)==(c|0)){p=42;break}}if((p|0)==40){m=Ib()|0;Sd(o,k[n>>2]|0);Hb(m|0)}else if((p|0)==42){r=d;return}}else{m=((k[a+4>>2]|0)-f|0)/12|0;n=((c-b|0)/12|0)>>>0>m>>>0?b+(m*12|0)|0:c;if((n|0)==(b|0))t=f;else{o=b;j=f;while(1){if((j|0)!=(o|0)){k[d+4>>2]=k[o>>2];k[d>>2]=o+4;k[d+8>>2]=k[d+4>>2];k[d+12>>2]=k[d>>2];ILa(j,d+8|0,d+12|0)}o=o+12|0;f=j+12|0;if((o|0)==(n|0)){t=f;break}else j=f}}if(((c-b|0)/12|0)>>>0<=m>>>0){j=k[a+4>>2]|0;if((j|0)==(t|0)){r=d;return}else u=j;do{j=u+-12|0;k[a+4>>2]=j;Sd(j,k[u+-8>>2]|0);u=k[a+4>>2]|0}while((u|0)!=(t|0));r=d;return}if((n|0)==(c|0)){r=d;return}n=b+(m*12|0)|0;m=k[a+4>>2]|0;b:while(1){k[m+4>>2]=0;k[m+8>>2]=0;v=m+4|0;k[m>>2]=v;b=k[n>>2]|0;t=n+4|0;if((b|0)!=(t|0)){u=b;j=b;while(1){k[d+8>>2]=v;w=0;k[d+12>>2]=k[d+8>>2];Ea(120,m|0,d+12|0,u+16|0)|0;b=w;w=0;if(b&1){x=m;p=17;break b}b=k[j+4>>2]|0;if(!b){o=j;while(1){f=k[o+8>>2]|0;if((k[f>>2]|0)==(o|0)){y=f;break}else o=f}}else{o=b;while(1){f=k[o>>2]|0;if(!f){y=o;break}else o=f}}if((y|0)==(t|0))break;else{u=y;j=y}}}m=(k[a+4>>2]|0)+12|0;k[a+4>>2]=m;n=n+12|0;if((n|0)==(c|0)){p=42;break}}if((p|0)==17){c=Ib()|0;Sd(x,k[v>>2]|0);Hb(c|0)}else if((p|0)==42){r=d;return}}}function pJa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;f=r;r=r+32|0;g=EPa(64)|0;h=k[c>>2]|0;k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;i[g+24>>0]=0;k[g+28>>2]=0;k[g+32>>2]=0;k[g+36>>2]=0;i[g+40>>0]=1;k[g+48>>2]=h;k[g+52>>2]=k[d>>2];h=k[d+4>>2]|0;k[g+56>>2]=h;if(h)k[h+4>>2]=(k[h+4>>2]|0)+1;k[g+60>>2]=e;k[a>>2]=g;k[a+4>>2]=0;w=0;cb(460,a|0,g|0,a+4|0);g=w;w=0;if(g&1){g=Ib()|0;e=k[a+4>>2]|0;if(!e)Hb(g|0);h=k[e+4>>2]|0;k[e+4>>2]=h+-1;if((h|0)!=1)Hb(g|0);w=0;sa(k[(k[e>>2]|0)+8>>2]|0,e|0);h=w;w=0;if(h&1){j=Ib(0)|0;l=L;Zc(j)}h=k[e+8>>2]|0;k[e+8>>2]=h+-1;if((h|0)!=1)Hb(g|0);w=0;sa(k[(k[e>>2]|0)+12>>2]|0,e|0);e=w;w=0;if(e&1){j=Ib(0)|0;l=L;Zc(j)}else Hb(g|0)}g=k[a>>2]|0;j=k[b>>2]|0;k[g+44>>2]=j;b=k[g+48>>2]|0;l=k[g+60>>2]|0;k[f+8>>2]=j;k[f+4>>2]=b;k[f>>2]=j;w=0;k[f+12>>2]=k[f+8>>2];k[f+16>>2]=k[f+4>>2];k[f+20>>2]=k[f>>2];j=wa(82,f+12|0,f+16|0,g|0,g+52|0,l|0,f+20|0)|0;l=w;w=0;if(l&1){l=Ib()|0;g=k[a+4>>2]|0;if(!g)Hb(l|0);b=k[g+4>>2]|0;k[g+4>>2]=b+-1;if((b|0)!=1)Hb(l|0);w=0;sa(k[(k[g>>2]|0)+8>>2]|0,g|0);b=w;w=0;if(b&1){m=Ib(0)|0;n=L;Zc(m)}b=k[g+8>>2]|0;k[g+8>>2]=b+-1;if((b|0)!=1)Hb(l|0);w=0;sa(k[(k[g>>2]|0)+12>>2]|0,g|0);g=w;w=0;if(g&1){m=Ib(0)|0;n=L;Zc(m)}else Hb(l|0)}if(j){r=f;return}k[a>>2]=0;j=k[a+4>>2]|0;k[a+4>>2]=0;if(!j){r=f;return}a=k[j+4>>2]|0;k[j+4>>2]=a+-1;if((a|0)!=1){r=f;return}w=0;sa(k[(k[j>>2]|0)+8>>2]|0,j|0);a=w;w=0;if(a&1){o=Ib(0)|0;p=L;Zc(o)}a=k[j+8>>2]|0;k[j+8>>2]=a+-1;if((a|0)!=1){r=f;return}w=0;sa(k[(k[j>>2]|0)+12>>2]|0,j|0);j=w;w=0;if(j&1){o=Ib(0)|0;p=L;Zc(o)}else{r=f;return}}function qJa(){var a=0,b=0;a=r;r=r+16|0;USa(a,269524);w=0;sa(1692,a|0);w=0;b=Ib()|0;SPa(a);Hb(b|0)}function rJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,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,ta=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Fa=0,Ga=0,Ha=0;d=r;r=r+352|0;rKa(d,b);i[d+24>>0]=0;k[d+28>>2]=k[b+28>>2];e=k[b+32>>2]|0;k[d+32>>2]=e;if(e)k[e+4>>2]=(k[e+4>>2]|0)+1;k[d+36>>2]=k[b+36>>2];e=i[b+40>>0]|0;i[d+40>>0]=e;if(!(e<<24>>24)){k[d+12>>2]=k[b+12>>2];k[d+16>>2]=k[b+16>>2];k[d+20>>2]=k[b+20>>2];i[d+24>>0]=i[b+24>>0]|0}do if(e<<24>>24){b=k[d>>2]|0;f=k[d+4>>2]|0;if((b|0)==(f|0)){w=0;eb(49);w=0;g=168;break}else{h=b;j=f;l=b;g=10;break}}else{b=k[d>>2]|0;h=b;j=k[d+4>>2]|0;l=b;g=10}while(0);a:do if((g|0)==10){e=(j-h|0)>36?l+36|0:d+16|0;if(!(i[e+8>>0]|0)){k[d+328>>2]=0;k[d+328+4>>2]=0;k[d+328+8>>2]=0;m=0;n=0}else{b=k[e>>2]|0;f=k[e+4>>2]|0;if((f-b|0)>>>0>4294967279){w=0;sa(1638,d+328|0);e=w;w=0;if(e&1){g=168;break}else g=15}else if((f-b|0)>>>0<11){i[d+328>>0]=f-b<<1;o=d+328+1|0}else g=15;if((g|0)==15){w=0;e=ya(665,f-b+16&-16|0)|0;p=w;w=0;if(p&1){g=168;break}k[d+328+8>>2]=e;k[d+328>>2]=f-b+16&-16|1;k[d+328+4>>2]=f-b;o=e}if((b|0)==(f|0))q=o;else{e=b;p=b;b=o;while(1){i[b>>0]=i[e>>0]|0;s=p+1|0;t=b+1|0;if((s|0)==(f|0)){q=t;break}else{e=s;p=s;b=t}}}i[q>>0]=0;m=i[d+328>>0]|0;n=k[d+328+4>>2]|0}b=(m&1)==0;p=b?(m&255)>>>1:n;b:do if(!p){e=i[d+40>>0]|0;do if(e<<24>>24){f=k[d>>2]|0;t=k[d+4>>2]|0;if((f|0)==(t|0)){w=0;eb(49);w=0;g=38;break b}else{u=f;v=t;x=f;break}}else{f=k[d>>2]|0;u=f;v=k[d+4>>2]|0;x=f}while(0);f=(v-u|0)>48?x+48|0:d+16|0;if(!(i[f+8>>0]|0)){k[d+228>>2]=0;k[d+228+4>>2]=0;k[d+228+8>>2]=0;y=e}else{t=k[f>>2]|0;s=k[f+4>>2]|0;if((s-t|0)>>>0>4294967279){w=0;sa(1638,d+228|0);f=w;w=0;if(f&1){g=38;break}else g=71}else if((s-t|0)>>>0<11){i[d+228>>0]=s-t<<1;z=d+228+1|0}else g=71;if((g|0)==71){w=0;f=ya(665,s-t+16&-16|0)|0;A=w;w=0;if(A&1){g=38;break}k[d+228+8>>2]=f;k[d+228>>2]=s-t+16&-16|1;k[d+228+4>>2]=s-t;z=f}if((t|0)==(s|0))B=z;else{f=t;A=t;t=z;while(1){i[t>>0]=i[f>>0]|0;C=A+1|0;D=t+1|0;if((C|0)==(s|0)){B=D;break}else{f=C;A=C;t=D}}}i[B>>0]=0;y=i[d+40>>0]|0}do if(y<<24>>24){t=k[d>>2]|0;A=k[d+4>>2]|0;if((t|0)==(A|0)){w=0;eb(49);w=0;g=98;break}else{E=t;F=A;G=t;g=82;break}}else{t=k[d>>2]|0;E=t;F=k[d+4>>2]|0;G=t;g=82}while(0);do if((g|0)==82){t=(F-E|0)>60?G+60|0:d+16|0;if(!(i[t+8>>0]|0)){k[d+216>>2]=0;k[d+216+4>>2]=0;k[d+216+8>>2]=0}else{A=k[t>>2]|0;f=k[t+4>>2]|0;if((f-A|0)>>>0>4294967279){w=0;sa(1638,d+216|0);t=w;w=0;if(t&1){g=98;break}else g=87}else if((f-A|0)>>>0<11){i[d+216>>0]=f-A<<1;H=d+216+1|0}else g=87;if((g|0)==87){w=0;t=ya(665,f-A+16&-16|0)|0;s=w;w=0;if(s&1){g=98;break}k[d+216+8>>2]=t;k[d+216>>2]=f-A+16&-16|1;k[d+216+4>>2]=f-A;H=t}if((A|0)==(f|0))I=H;else{t=A;s=A;A=H;while(1){i[A>>0]=i[t>>0]|0;e=s+1|0;D=A+1|0;if((e|0)==(f|0)){I=D;break}else{t=e;s=e;A=D}}}i[I>>0]=0}A=i[d+228>>0]|0;s=(A&1)==0?(A&255)>>>1:k[d+228+4>>2]|0;c:do if(!s){k[d+192>>2]=0;k[d+192+4>>2]=0;k[d+192+8>>2]=0;k[d+192+12>>2]=0;k[d+192+16>>2]=0;k[d+192+20>>2]=-1;k[d+192>>2]=43072;k[d+192+4>>2]=43096;w=0;cb(138,d+160|0,282012,0);t=w;w=0;if(t&1){t=Ib()|0;J=t;K=L}else{k[d+176>>2]=13804;w=0;ua(724,d+176+4|0,d+160|0);t=w;w=0;if(t&1){t=Ib()|0;M=t;N=L}else{w=0;t=Sa(703,d+192|0,d+176|0)|0;f=w;w=0;if(!(f&1)){k[t+(k[(k[t>>2]|0)+-24>>2]|0)+8>>2]=269294;k[t+(k[(k[t>>2]|0)+-24>>2]|0)+12>>2]=268552;k[t+(k[(k[t>>2]|0)+-24>>2]|0)+16>>2]=106;w=0;sa(1690,t|0);w=0}t=Ib()|0;f=L;k[d+176>>2]=13804;dTa(d+176+4|0);M=t;N=f}dTa(d+160|0);J=M;K=N}k[d+192+4>>2]=13668;f=k[d+192+8>>2]|0;if(f){w=0;t=ya(k[(k[f>>2]|0)+16>>2]|0,f|0)|0;f=w;w=0;if(f&1){f=Ib(0)|0;Zc(f)}if(t)k[d+192+8>>2]=0}O=J;P=K}else{t=k[a+8>>2]|0;f=k[t+4>>2]|0;d:do if(f){D=(A&1)==0?d+228+1|0:k[d+228+8>>2]|0;e=f;while(1){C=e+16|0;Q=i[C>>0]|0;R=(Q&1)==0?(Q&255)>>>1:k[e+20>>2]|0;S=(Q&1)==0?C+1|0:k[e+24>>2]|0;C=$Qa(D,S,R>>>0>>0?R:s)|0;if((((C|0)==0?(s>>>0>>0?-2147483648:0):C)|0)<0)T=e;else{C=$Qa(S,D,s>>>0>>0?s:R)|0;if((((C|0)==0?(R>>>0>>0?-2147483648:0):C)|0)>=0)break;T=e+4|0}e=k[T>>2]|0;if(!e)break d}k[d+44>>2]=0;k[d+44+4>>2]=0;k[d+44+8>>2]=0;e=qLa(t,d+344|0,d+228|0)|0;e:do if(!e){D=vb(8)|0;w=0;ua(756,D|0,269474);C=w;w=0;if(C&1){C=Ib()|0;R=L;ub(D|0);U=R;V=C;g=142;break}else{k[D>>2]=45832;w=0;cb(142,D|0,11184,530);w=0;D=Ib()|0;U=L;V=D;g=142;break}}else{D=k[e+28>>2]|0;C=k[e+28+4>>2]|0;f:do if((D|0)!=(C|0)){R=D;while(1){w=0;cb(461,d+68|0,k[a>>2]|0,R|0);S=w;w=0;if(S&1){g=141;break}k[d+56+4>>2]=0;k[d+56+8>>2]=0;k[d+56>>2]=d+56+4;w=0;kb(208,d+80|0,d+216|0,d+68|0,d+56|0);S=w;w=0;if(S&1){g=147;break}S=i[d+80>>0]|0;w=0;Ea(68,d+44|0,((S&1)==0?d+80+1|0:k[d+80+8>>2]|0)|0,((S&1)==0?(S&255)>>>1:k[d+80+4>>2]|0)|0)|0;S=w;w=0;if(S&1){g=148;break}dTa(d+80|0);y7(d+56|0,k[d+56+4>>2]|0);Sd(d+68|0,k[d+68+4>>2]|0);R=R+12|0;if((R|0)==(C|0))break f}if((g|0)==141){R=Ib()|0;U=L;V=R;g=142;break e}else if((g|0)==147){R=Ib()|0;W=R;X=L}else if((g|0)==148){R=Ib()|0;S=L;dTa(d+80|0);W=R;X=S}y7(d+56|0,k[d+56+4>>2]|0);Sd(d+68|0,k[d+68+4>>2]|0);Y=W;Z=X;break e}while(0);dTa(d+216|0);dTa(d+228|0);_=d+44|0;g=154;break b}while(0);if((g|0)==142){Y=V;Z=U}dTa(d+44|0);O=Y;P=Z;break c}while(0);k[d+136>>2]=0;k[d+136+4>>2]=0;k[d+136+8>>2]=0;k[d+136+12>>2]=0;k[d+136+16>>2]=0;k[d+136+20>>2]=-1;k[d+136>>2]=43072;k[d+136+4>>2]=43096;k[d+92>>2]=0;k[d+92+4>>2]=0;k[d+92+8>>2]=0;w=0;kb(82,d+92|0,269498,15,s+15|0);t=w;w=0;if(!(t&1)?(w=0,Ea(68,d+92|0,((i[d+228>>0]&1)==0?d+228+1|0:k[d+228+8>>2]|0)|0,s|0)|0,t=w,w=0,!(t&1)):0){w=0;t=Sa(549,d+92|0,269514)|0;f=w;w=0;if(f&1){f=Ib()|0;$=f;aa=L}else{k[d+104>>2]=k[t>>2];k[d+104+4>>2]=k[t+4>>2];k[d+104+8>>2]=k[t+8>>2];k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=0;k[d+120>>2]=13804;w=0;ua(724,d+120+4|0,d+104|0);t=w;w=0;if(t&1){t=Ib()|0;ba=t;ca=L}else{w=0;t=Sa(703,d+136|0,d+120|0)|0;f=w;w=0;if(!(f&1)){k[t+(k[(k[t>>2]|0)+-24>>2]|0)+8>>2]=269294;k[t+(k[(k[t>>2]|0)+-24>>2]|0)+12>>2]=268552;k[t+(k[(k[t>>2]|0)+-24>>2]|0)+16>>2]=110;w=0;sa(1690,t|0);w=0}t=Ib()|0;f=L;k[d+120>>2]=13804;dTa(d+120+4|0);ba=t;ca=f}dTa(d+104|0);$=ba;aa=ca}dTa(d+92|0);da=$;ea=aa}else{f=Ib()|0;t=L;dTa(d+92|0);da=f;ea=t}k[d+136+4>>2]=13668;t=k[d+136+8>>2]|0;if(t){w=0;f=ya(k[(k[t>>2]|0)+16>>2]|0,t|0)|0;t=w;w=0;if(t&1){t=Ib(0)|0;Zc(t)}if(f)k[d+136+8>>2]=0}O=da;P=ea}while(0);dTa(d+216|0);fa=O;ga=P}while(0);if((g|0)==98){s=Ib()|0;fa=s;ga=L}dTa(d+228|0);ha=fa;ia=ga}else{s=k[a>>2]|0;A=k[s+4>>2]|0;g:do if(A){f=b?d+328+1|0:k[d+328+8>>2]|0;t=A;while(1){e=t+16|0;C=i[e>>0]|0;D=(C&1)==0?(C&255)>>>1:k[t+20>>2]|0;S=(C&1)==0?e+1|0:k[t+24>>2]|0;e=$Qa(f,S,D>>>0>>0?D:p)|0;if((((e|0)==0?(p>>>0>>0?-2147483648:0):e)|0)<0)ja=t;else{e=$Qa(S,f,p>>>0>>0?p:D)|0;if((((e|0)==0?(D>>>0>>0?-2147483648:0):e)|0)>=0)break;ja=t+4|0}t=k[ja>>2]|0;if(!t)break g}t=pLa(s,d+340|0,d+328|0)|0;if(t){w=0;ua(724,d+44|0,t+28|0);t=w;w=0;if(t&1){g=38;break b}_=d+44|0;g=154;break b}t=vb(8)|0;w=0;ua(756,t|0,269474);f=w;w=0;if(f&1){f=Ib()|0;e=L;ub(t|0);ka=e;la=f;g=39;break b}else{k[t>>2]=45832;w=0;cb(142,t|0,11184,530);w=0;g=38;break b}}while(0);k[d+304>>2]=0;k[d+304+4>>2]=0;k[d+304+8>>2]=0;k[d+304+12>>2]=0;k[d+304+16>>2]=0;k[d+304+20>>2]=-1;k[d+304>>2]=43072;k[d+304+4>>2]=43096;k[d+240>>2]=0;k[d+240+4>>2]=0;k[d+240+8>>2]=0;w=0;kb(82,d+240|0,269252,14,p+14|0);s=w;w=0;if(!(s&1)?(w=0,Ea(68,d+240|0,((i[d+328>>0]&1)==0?d+328+1|0:k[d+328+8>>2]|0)|0,p|0)|0,s=w,w=0,!(s&1)):0){w=0;s=Sa(549,d+240|0,269267)|0;A=w;w=0;if(A&1){A=Ib()|0;ma=A;na=L}else{k[d+252>>2]=k[s>>2];k[d+252+4>>2]=k[s+4>>2];k[d+252+8>>2]=k[s+8>>2];k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;w=0;s=Sa(549,d+252|0,269283)|0;A=w;w=0;if(A&1){A=Ib()|0;oa=A;pa=L}else{k[d+264>>2]=k[s>>2];k[d+264+4>>2]=k[s+4>>2];k[d+264+8>>2]=k[s+8>>2];k[s>>2]=0;k[s+4>>2]=0;k[s+8>>2]=0;s=k[a+4>>2]|0;A=i[s>>0]|0;w=0;t=Ea(68,d+264|0,((A&1)==0?s+1|0:k[s+8>>2]|0)|0,((A&1)==0?(A&255)>>>1:k[s+4>>2]|0)|0)|0;s=w;w=0;if(s&1){s=Ib()|0;qa=s;ra=L}else{k[d+276>>2]=k[t>>2];k[d+276+4>>2]=k[t+4>>2];k[d+276+8>>2]=k[t+8>>2];k[t>>2]=0;k[t+4>>2]=0;k[t+8>>2]=0;k[d+288>>2]=13804;w=0;ua(724,d+288+4|0,d+276|0);t=w;w=0;if(t&1){t=Ib()|0;ta=t;va=L}else{w=0;t=Sa(703,d+304|0,d+288|0)|0;s=w;w=0;if(!(s&1)){k[t+(k[(k[t>>2]|0)+-24>>2]|0)+8>>2]=269294;k[t+(k[(k[t>>2]|0)+-24>>2]|0)+12>>2]=268552;k[t+(k[(k[t>>2]|0)+-24>>2]|0)+16>>2]=99;w=0;sa(1690,t|0);w=0}t=Ib()|0;s=L;k[d+288>>2]=13804;dTa(d+288+4|0);ta=t;va=s}dTa(d+276|0);qa=ta;ra=va}dTa(d+264|0);oa=qa;pa=ra}dTa(d+252|0);ma=oa;na=pa}dTa(d+240|0);wa=ma;xa=na}else{s=Ib()|0;t=L;dTa(d+240|0);wa=s;xa=t}k[d+304+4>>2]=13668;t=k[d+304+8>>2]|0;if(t){w=0;s=ya(k[(k[t>>2]|0)+16>>2]|0,t|0)|0;t=w;w=0;if(t&1){t=Ib(0)|0;Zc(t)}if(s)k[d+304+8>>2]=0}ha=wa;ia=xa}while(0);if((g|0)==38){p=Ib()|0;ka=L;la=p;g=39}else if((g|0)==154){dTa(d+328|0);p=i[_>>0]|0;b=(p&1)==0?d+44+1|0:k[d+44+8>>2]|0;s=(p&1)==0?(p&255)>>>1:k[d+44+4>>2]|0;h:do if(s){p=b;while(1){w=0;Ea(118,c|0,1,i[p>>0]|0)|0;t=w;w=0;if(t&1)break;p=p+1|0;if((p|0)==(b+s|0))break h}p=Ib()|0;t=L;dTa(d+44|0);za=t;Aa=p;break a}while(0);dTa(d+44|0);s=k[d+32>>2]|0;if((s|0)!=0?(b=k[s+4>>2]|0,k[s+4>>2]=b+-1,(b|0)==1):0){w=0;sa(k[(k[s>>2]|0)+8>>2]|0,s|0);b=w;w=0;if(b&1){Ba=Ib(0)|0;Ca=L;Zc(Ba)}b=k[s+8>>2]|0;k[s+8>>2]=b+-1;if((b|0)==1?(w=0,sa(k[(k[s>>2]|0)+12>>2]|0,s|0),s=w,w=0,s&1):0){Ba=Ib(0)|0;Ca=L;Zc(Ba)}}s=k[d>>2]|0;if(!s){r=d;return c|0}b=k[d+4>>2]|0;if((b|0)!=(s|0))k[d+4>>2]=b+(~(((b+-12-s|0)>>>0)/12|0)*12|0);GPa(s);r=d;return c|0}if((g|0)==39){ha=la;ia=ka}dTa(d+328|0);Da=ia;Fa=ha;g=169}while(0);if((g|0)==168){ha=Ib()|0;Da=L;Fa=ha;g=169}if((g|0)==169){za=Da;Aa=Fa}Fa=k[d+32>>2]|0;if((Fa|0)!=0?(Da=k[Fa+4>>2]|0,k[Fa+4>>2]=Da+-1,(Da|0)==1):0){w=0;sa(k[(k[Fa>>2]|0)+8>>2]|0,Fa|0);Da=w;w=0;if(Da&1){Ga=Ib(0)|0;Ha=L;Zc(Ga)}Da=k[Fa+8>>2]|0;k[Fa+8>>2]=Da+-1;if((Da|0)==1?(w=0,sa(k[(k[Fa>>2]|0)+12>>2]|0,Fa|0),Fa=w,w=0,Fa&1):0){Ga=Ib(0)|0;Ha=L;Zc(Ga)}}Ga=k[d>>2]|0;if(!Ga)Hb(Aa|0);Ha=k[d+4>>2]|0;if((Ha|0)!=(Ga|0))k[d+4>>2]=Ha+(~(((Ha+-12-Ga|0)>>>0)/12|0)*12|0);GPa(Ga);Hb(Aa|0);return 0}function sJa(a){a=a|0;var b=0,c=0,d=0;b=k[a>>2]|0;if(!b)return;c=k[a+4>>2]|0;if((c|0)!=0?(k[c+4>>2]|0)==1:0)return;c=EPa(64)|0;w=0;ua(1125,c|0,b|0);d=w;w=0;if(d&1){d=Ib()|0;GPa(c);Hb(d|0)}i[c+24>>0]=0;k[c+28>>2]=k[b+28>>2];d=k[b+32>>2]|0;k[c+32>>2]=d;if(d)k[d+4>>2]=(k[d+4>>2]|0)+1;k[c+36>>2]=k[b+36>>2];d=i[b+40>>0]|0;i[c+40>>0]=d;if(!(d<<24>>24)){k[c+12>>2]=k[b+12>>2];k[c+16>>2]=k[b+16>>2];k[c+20>>2]=k[b+20>>2];i[c+24>>0]=i[b+24>>0]|0}d=k[b+44+4>>2]|0;k[c+44>>2]=k[b+44>>2];k[c+44+4>>2]=d;k[c+52>>2]=k[b+52>>2];d=k[b+56>>2]|0;k[c+56>>2]=d;if(d)k[d+4>>2]=(k[d+4>>2]|0)+1;k[c+60>>2]=k[b+60>>2];iLa(a,c);return}function tJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;b=r;r=r+32|0;c=(i[a+40>>0]|0)==0;if(!c){d=k[a>>2]|0;e=k[a+4>>2]|0;if((d|0)==(e|0))qJa();else{f=d;g=e;h=d}}else{d=k[a>>2]|0;f=d;g=k[a+4>>2]|0;h=d}d=k[((g-f|0)>24?h+24|0:a+16|0)+4>>2]|0;h=k[a+60>>2]|0;if(!c)qJa();c=f;if(((g-f|0)>24?(i[c+32>>0]|0)!=0:0)?((h&131072|0)==0?(k[c+28>>2]|0)!=(k[c+24>>2]|0):0):0)j=h;else j=h|16384;k[b+8>>2]=d;k[b+4>>2]=k[a+48>>2];k[b>>2]=k[a+44>>2];k[b+12>>2]=k[b+8>>2];k[b+16>>2]=k[b+4>>2];k[b+20>>2]=k[b>>2];d=yJa(b+12|0,b+16|0,a,a+52|0,j,b+20|0)|0;if(!d){r=b;return d|0}k[a+12>>2]=k[a+44>>2];r=b;return d|0}function uJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=r;r=r+16|0;e=EPa(40)|0;w=0;ua(724,e+16|0,c|0);f=w;w=0;if(f&1){f=Ib()|0;g=L;h=f;GPa(e);Hb(h|0)}w=0;ua(724,e+28|0,c+12|0);c=w;w=0;if(c&1){c=Ib()|0;f=L;dTa(e+16|0);g=f;h=c;GPa(e);Hb(h|0)}k[d>>2]=k[b>>2];k[d+8>>2]=k[d>>2];b=xJa(a,d+8|0,d+4|0,e+16|0)|0;h=k[b>>2]|0;if(!h){c=k[d+4>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=c;k[b>>2]=e;c=k[k[a>>2]>>2]|0;if(!c)i=e;else{k[a>>2]=c;i=k[b>>2]|0}$c(k[a+4>>2]|0,i);k[a+8>>2]=(k[a+8>>2]|0)+1;j=e;r=d;return j|0}else{if((h|0)==(e|0)){j=h;r=d;return j|0}dTa(e+28|0);dTa(e+16|0);GPa(e);j=h;r=d;return j|0}return 0}function vJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;d=r;r=r+16|0;e=EPa(40)|0;w=0;ua(724,e+16|0,c|0);f=w;w=0;if(f&1){f=Ib()|0;g=L;h=f;GPa(e);Hb(h|0)}w=0;ua(724,e+28|0,c+12|0);c=w;w=0;if(c&1){c=Ib()|0;f=L;dTa(e+16|0);g=f;h=c;GPa(e);Hb(h|0)}h=wJa(b,d,e+16|0)|0;c=k[h>>2]|0;if(!c){f=k[d>>2]|0;k[e>>2]=0;k[e+4>>2]=0;k[e+8>>2]=f;k[h>>2]=e;f=k[k[b>>2]>>2]|0;if(!f)j=e;else{k[b>>2]=f;j=k[h>>2]|0}$c(k[b+4>>2]|0,j);k[b+8>>2]=(k[b+8>>2]|0)+1;l=1;m=e}else{l=0;m=c}k[a>>2]=m;i[a+4>>0]=l;if(l<<24>>24){r=d;return}dTa(e+28|0);dTa(e+16|0);GPa(e);r=d;return}function wJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;e=a+4|0;return e|0}a=i[c>>0]|0;f=(a&1)==0?(a&255)>>>1:k[c+4>>2]|0;g=(a&1)==0?c+1|0:k[c+8>>2]|0;c=d;while(1){d=c+16|0;a=i[d>>0]|0;h=(a&1)==0?(a&255)>>>1:k[c+20>>2]|0;j=(a&1)==0?d+1|0:k[c+24>>2]|0;d=$Qa(g,j,h>>>0>>0?h:f)|0;if((((d|0)==0?(f>>>0>>0?-2147483648:0):d)|0)<0){d=k[c>>2]|0;if(!d){l=c;m=c;n=5;break}else o=d}else{d=$Qa(j,g,f>>>0>>0?f:h)|0;if((((d|0)==0?(h>>>0>>0?-2147483648:0):d)|0)>=0){p=c;n=10;break}q=c+4|0;d=k[q>>2]|0;if(!d){r=c;n=9;break}else o=d}c=o}if((n|0)==5){k[b>>2]=m;e=l;return e|0}else if((n|0)==9){k[b>>2]=r;e=q;return e|0}else if((n|0)==10){k[b>>2]=p;e=b;return e|0}return 0}function xJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;e=k[b>>2]|0;if((e|0)!=(a+4|0)?(b=i[d>>0]|0,f=(b&1)==0?(b&255)>>>1:k[d+4>>2]|0,g=i[e+16>>0]|0,h=(g&1)==0?(g&255)>>>1:k[e+20>>2]|0,j=(b&1)==0?d+1|0:k[d+8>>2]|0,b=(g&1)==0?e+16+1|0:k[e+24>>2]|0,g=$Qa(j,b,h>>>0>>0?h:f)|0,(((g|0)==0?(f>>>0>>0?-2147483648:0):g)|0)>=0):0){g=$Qa(b,j,f>>>0>>0?f:h)|0;if((((g|0)==0?(h>>>0>>0?-2147483648:0):g)|0)>=0){k[c>>2]=e;l=c;return l|0}g=k[e+4>>2]|0;if(!g){h=e;while(1){b=k[h+8>>2]|0;if((k[b>>2]|0)==(h|0)){m=b;break}else h=b}}else{h=g;while(1){b=k[h>>2]|0;if(!b){m=h;break}else h=b}}if((m|0)!=(a+4|0)?(h=m+16|0,b=i[h>>0]|0,n=(b&1)==0?(b&255)>>>1:k[m+20>>2]|0,o=$Qa(j,(b&1)==0?h+1|0:k[m+24>>2]|0,n>>>0>>0?n:f)|0,(((o|0)==0?(f>>>0>>0?-2147483648:0):o)|0)>=0):0){l=wJa(a,c,d)|0;return l|0}if(!g){k[c>>2]=e;l=e+4|0;return l|0}else{k[c>>2]=m;l=m;return l|0}}if((e|0)!=(k[a>>2]|0)){m=k[e>>2]|0;if(!m){g=e;while(1){o=k[g+8>>2]|0;if((k[o>>2]|0)==(g|0))g=o;else{p=o;break}}}else{g=m;while(1){m=k[g+4>>2]|0;if(!m){p=g;break}else g=m}}g=p+16|0;m=i[g>>0]|0;o=(m&1)==0?(m&255)>>>1:k[p+20>>2]|0;n=i[d>>0]|0;f=(n&1)==0?(n&255)>>>1:k[d+4>>2]|0;h=$Qa((m&1)==0?g+1|0:k[p+24>>2]|0,(n&1)==0?d+1|0:k[d+8>>2]|0,f>>>0>>0?f:o)|0;if((((h|0)==0?(o>>>0>>0?-2147483648:0):h)|0)<0)q=p;else{l=wJa(a,c,d)|0;return l|0}}else q=e;if(!(k[e>>2]|0)){k[c>>2]=e;l=e;return l|0}else{e=q;k[c>>2]=e;l=e+4|0;return l|0}return 0}function yJa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,l=0,m=0,n=0;g=r;r=r+160|0;h=k[d>>2]|0;if((h|0)!=0?(k[h+20>>2]&524288|0)!=0:0){i=0;r=g;return i|0}k[g+8>>2]=k[a>>2];k[g+4>>2]=k[b>>2];k[g>>2]=k[f>>2];k[g+136>>2]=k[g+8>>2];k[g+140>>2]=k[g+4>>2];k[g+144>>2]=k[g>>2];zJa(g+12|0,g+136|0,g+140|0,c,d,e,g+144|0);w=0;e=ya(759,g+12|0)|0;d=w;w=0;if(d&1){d=Ib()|0;BJa(g+12+96|0);c=k[g+12+72>>2]|0;if(c)k[k[g+12+68>>2]>>2]=c;c=k[g+12+4>>2]|0;if(!c)Hb(d|0);f=k[c+32>>2]|0;if((f|0)!=0?(b=k[f+4>>2]|0,k[f+4>>2]=b+-1,(b|0)==1):0){w=0;sa(k[(k[f>>2]|0)+8>>2]|0,f|0);b=w;w=0;if(b&1){j=Ib(0)|0;l=L;Zc(j)}b=k[f+8>>2]|0;k[f+8>>2]=b+-1;if((b|0)==1?(w=0,sa(k[(k[f>>2]|0)+12>>2]|0,f|0),f=w,w=0,f&1):0){j=Ib(0)|0;l=L;Zc(j)}}j=k[c>>2]|0;if(j){l=k[c+4>>2]|0;if((l|0)!=(j|0))k[c+4>>2]=l+(~(((l+-12-j|0)>>>0)/12|0)*12|0);GPa(j)}GPa(c);Hb(d|0)}else{BJa(g+12+96|0);d=k[g+12+72>>2]|0;if(d)k[k[g+12+68>>2]>>2]=d;d=k[g+12+4>>2]|0;if(d){c=k[d+32>>2]|0;if((c|0)!=0?(j=k[c+4>>2]|0,k[c+4>>2]=j+-1,(j|0)==1):0){w=0;sa(k[(k[c>>2]|0)+8>>2]|0,c|0);j=w;w=0;if(j&1){m=Ib(0)|0;n=L;Zc(m)}j=k[c+8>>2]|0;k[c+8>>2]=j+-1;if((j|0)==1?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){m=Ib(0)|0;n=L;Zc(m)}}m=k[d>>2]|0;if(m){n=k[d+4>>2]|0;if((n|0)!=(m|0))k[d+4>>2]=n+(~(((n+-12-m|0)>>>0)/12|0)*12|0);GPa(m)}GPa(d)}i=e;r=g;return i|0}return 0}function zJa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;k[a>>2]=d;k[a+4>>2]=0;d=k[b>>2]|0;k[a+12>>2]=d;k[a+16>>2]=k[c>>2];k[a+20>>2]=d;k[a+32>>2]=k[g>>2];k[a+36>>2]=e;k[a+40>>2]=k[(k[e>>2]|0)+12>>2];i[a+63>>0]=0;k[a+64>>2]=a+68;k[a+68>>2]=a+64;k[a+72>>2]=0;k[a+76>>2]=-1;k[a+80>>2]=0;k[a+96>>2]=0;k[a+100>>2]=0;k[a+104>>2]=0;w=0;cb(462,a|0,e|0,f|0);f=w;w=0;if(!(f&1))return;f=Ib()|0;BJa(a+96|0);e=k[a+72>>2]|0;if(e)k[k[a+68>>2]>>2]=e;e=k[a+4>>2]|0;if(!e)Hb(f|0);a=k[e+32>>2]|0;if((a|0)!=0?(g=k[a+4>>2]|0,k[a+4>>2]=g+-1,(g|0)==1):0){w=0;sa(k[(k[a>>2]|0)+8>>2]|0,a|0);g=w;w=0;if(g&1){h=Ib(0)|0;j=L;Zc(h)}g=k[a+8>>2]|0;k[a+8>>2]=g+-1;if((g|0)==1?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){h=Ib(0)|0;j=L;Zc(h)}}h=k[e>>2]|0;if(h){j=k[e+4>>2]|0;if((j|0)!=(h|0))k[e+4>>2]=j+(~(((j+-12-h|0)>>>0)/12|0)*12|0);GPa(h)}GPa(e);Hb(f|0)}function AJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;b=r;r=r+32|0;c=LOa()|0;k[a+108>>2]=c;k[a+112>>2]=c+4092;k[c+4092>>2]=0;k[a+120>>2]=1024;k[a+52>>2]=0;d=k[a+48>>2]|0;a:do if(!(d&512)){e=k[a+12>>2]|0;k[a+20>>2]=e;k[a+28>>2]=e;f=k[k[a+36>>2]>>2]|0;k[a+44>>2]=k[f+40>>2];g=k[a+8>>2]|0;if(!(d&262144)){if(!f)h=0;else h=(k[f+36>>2]|0)+-1|0;j=h+1|0}else j=1;k[b+20>>2]=e;k[b+16>>2]=k[a+16>>2];w=0;k[b+24>>2]=k[b+20>>2];k[b+28>>2]=k[b+16>>2];kb(209,g|0,j|0,b+24|0,b+28|0);g=w;w=0;if(!(g&1)){k[(k[a+8>>2]|0)+12>>2]=k[a+12>>2];g=k[a+8>>2]|0;e=k[a+36>>2]|0;f=k[e>>2]|0;l=k[e+4>>2]|0;if(l){k[l+4>>2]=(k[l+4>>2]|0)+1;k[l+4>>2]=(k[l+4>>2]|0)+1}k[g+28>>2]=f;f=k[g+32>>2]|0;k[g+32>>2]=l;if((f|0)!=0?(g=k[f+4>>2]|0,k[f+4>>2]=g+-1,(g|0)==1):0){w=0;sa(k[(k[f>>2]|0)+8>>2]|0,f|0);g=w;w=0;if(g&1){m=Ib(0)|0;n=L;Zc(m)}g=k[f+8>>2]|0;k[f+8>>2]=g+-1;if((g|0)==1?(w=0,sa(k[(k[f>>2]|0)+12>>2]|0,f|0),f=w,w=0,f&1):0){m=Ib(0)|0;n=L;Zc(m)}}if((l|0)!=0?(f=k[l+4>>2]|0,k[l+4>>2]=f+-1,(f|0)==1):0){w=0;sa(k[(k[l>>2]|0)+8>>2]|0,l|0);f=w;w=0;if(f&1){o=Ib(0)|0;p=L;Zc(o)}f=k[l+8>>2]|0;k[l+8>>2]=f+-1;if((f|0)==1?(w=0,sa(k[(k[l>>2]|0)+12>>2]|0,l|0),l=w,w=0,l&1):0){o=Ib(0)|0;p=L;Zc(o)}}l=k[a+48>>2]|512;k[a+48>>2]=l;q=l;s=48}}else{l=k[a>>2]|0;f=(i[l+40>>0]|0)==0;do if(!f){g=k[l>>2]|0;e=k[l+4>>2]|0;if((g|0)==(e|0)){w=0;eb(49);w=0;break a}else{t=g;u=e;v=g;break}}else{g=k[l>>2]|0;t=g;u=k[l+4>>2]|0;v=g}while(0);g=k[((u-t|0)>24?v+24|0:l+16|0)+4>>2]|0;k[a+20>>2]=g;k[a+28>>2]=g;do if(!(d&2048)){if(!f){w=0;eb(49);w=0;break a}e=k[l>>2]|0;if((((k[l+4>>2]|0)-e|0)>24?(i[e+32>>0]|0)!=0:0)?(k[e+28>>2]|0)!=(k[e+24>>2]|0):0)break;if((g|0)==(k[a+16>>2]|0)){x=0;y=c;s=70;break a}k[a+20>>2]=g+1}while(0);l=k[a+8>>2]|0;if((d&262144|0)==0?(f=k[k[a+36>>2]>>2]|0,(f|0)!=0):0)z=k[f+36>>2]|0;else z=1;k[b+12>>2]=g;k[b+8>>2]=k[a+16>>2];w=0;k[b+24>>2]=k[b+12>>2];k[b+28>>2]=k[b+8>>2];kb(209,l|0,z|0,b+24|0,b+28|0);l=w;w=0;if(!(l&1)){q=k[a+48>>2]|0;s=48}}while(0);do if((s|0)==48){if(!(q&131072))A=a+36|0;else{z=k[a>>2]|0;d=k[k[a+36>>2]>>2]|0;if(!d)B=1;else B=k[d+36>>2]|0;k[b+4>>2]=k[a+12>>2];k[b>>2]=k[a+16>>2];w=0;k[b+24>>2]=k[b+4>>2];k[b+28>>2]=k[b>>2];kb(209,z|0,B|0,b+24|0,b+28|0);z=w;w=0;if(z&1)break;k[(k[a>>2]|0)+12>>2]=k[a+12>>2];A=a+36|0}z=k[k[A>>2]>>2]|0;if(!z)C=0;else C=k[z+20>>2]|0;w=0;ua(1126,C|0,k[a+48>>2]|0);z=w;w=0;if(!(z&1)){if(!(k[a+48>>2]&4096))D=k[(k[k[A>>2]>>2]|0)+44>>2]|0;else D=4;z=43256+(D<<3)|0;d=k[z>>2]|0;c=k[z+4>>2]|0;if(!(c&1))E=d;else E=k[(k[a+(c>>1)>>2]|0)+d>>2]|0;w=0;d=ya(E|0,a+(c>>1)|0)|0;c=w;w=0;if(!(c&1)){x=d;y=k[a+108>>2]|0;s=70}}}while(0);if((s|0)==70){w=0;sa(1693,y|0);y=w;w=0;if(y&1){y=Ib(0)|0;Zc(y)}else{k[a+108>>2]=0;r=b;return x|0}}x=Ib(0)|0;Eb(x|0)|0;b:while(1){i[a+116>>0]=1;do{x=43112+(k[k[a+112>>2]>>2]<<3)|0;b=k[x>>2]|0;y=k[x+4>>2]|0;if(!(y&1))F=b;else F=k[(k[a+(y>>1)>>2]|0)+b>>2]|0;w=0;b=Sa(F|0,a+(y>>1)|0,(i[a+116>>0]|0)!=0|0)|0;y=w;w=0;if(y&1){s=64;break b}}while(b);if(!(k[a+44>>2]|0)){s=66;break}}if((s|0)==64){F=Ib()|0;G=F;H=L}else if((s|0)==66){w=0;eb(45);w=0;s=Ib()|0;G=s;H=L}w=0;eb(44);H=w;w=0;if(H&1){H=Ib(0)|0;Zc(H)}w=0;sa(1693,k[a+108>>2]|0);H=w;w=0;if(H&1){H=Ib(0)|0;Zc(H)}else{k[a+108>>2]=0;Hb(G|0)}return 0}function BJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=k[a>>2]|0;if(!b)return;c=k[a+4>>2]|0;do if((c|0)!=(b|0)){d=c;while(1){k[a+4>>2]=d+-56;e=k[d+-16>>2]|0;if((e|0)!=0?(f=k[e+4>>2]|0,k[e+4>>2]=f+-1,(f|0)==1):0){w=0;sa(k[(k[e>>2]|0)+8>>2]|0,e|0);f=w;w=0;if(f&1){g=8;break}f=k[e+8>>2]|0;k[e+8>>2]=f+-1;if((f|0)==1?(w=0,sa(k[(k[e>>2]|0)+12>>2]|0,e|0),e=w,w=0,e&1):0){g=8;break}}e=k[d+-48>>2]|0;if(e){f=d+-44|0;h=k[f>>2]|0;if((h|0)!=(e|0))k[f>>2]=h+(~(((h+-12-e|0)>>>0)/12|0)*12|0);GPa(e)}d=k[a+4>>2]|0;if((d|0)==(b|0)){g=14;break}}if((g|0)==8){d=Ib(0)|0;Zc(d)}else if((g|0)==14){i=k[a>>2]|0;break}}else i=b;while(0);GPa(i);return}function CJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;e=r;r=r+32|0;f=k[d>>2]|0;k[e+4>>2]=f;d=e+4+4|0;k[d>>2]=f;g=e+4+8|0;i[g>>0]=0;h=k[a+4>>2]|0;j=k[a>>2]|0;if((b+2|0)>>>0<((h-j|0)/12|0)>>>0){if((h|0)==(j+(b*12|0)+24|0))l=h;else{k[a+4>>2]=h+(~(((h+-12-(j+(b*12|0)+24)|0)>>>0)/12|0)*12|0);l=h+(~(((h+-12-(j+(b*12|0)+24)|0)>>>0)/12|0)*12|0)|0}m=l-j|0;if((m|0)>0?(k[j>>2]=f,k[j+4>>2]=k[d>>2],i[j+8>>0]=i[g>>0]|0,(m|0)>12):0){l=(m|0)/12|0;m=j;do{l=l+-1|0;n=m;m=m+12|0;k[m>>2]=k[e+4>>2];k[n+16>>2]=k[d>>2];i[n+20>>0]=i[g>>0]|0}while((l|0)>1)}}else{if((h-j|0)>0?(k[j>>2]=f,k[j+4>>2]=k[d>>2],i[j+8>>0]=i[g>>0]|0,(h-j|0)>12):0){f=(h-j|0)/12|0;l=j;do{f=f+-1|0;m=l;l=l+12|0;k[l>>2]=k[e+4>>2];k[m+16>>2]=k[d>>2];i[m+20>>0]=i[g>>0]|0}while((f|0)>1)}if((b+2|0)!=((h-j|0)/12|0|0)){k[e>>2]=k[a+4>>2];k[e+16>>2]=k[e>>2];RKa(a,e+16|0,b+2-((h-j|0)/12|0)|0,e+4|0)|0}}k[(k[a>>2]|0)+12>>2]=k[c>>2];k[a+36>>2]=0;r=e;return}function DJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;b=k[k[a+36>>2]>>2]|0;c=k[a+20>>2]|0;d=k[a+16>>2]|0;a:do if((c|0)!=(d|0)){e=d;f=c;while(1){if(i[(l[f>>0]|0)+(b+48)>>0]&3){if(HJa(a)|0){g=1;h=8;break}j=k[a+20>>2]|0;m=k[a+16>>2]|0;if((j|0)==(m|0)){g=0;h=8;break}else{n=j;o=m}}else{n=f;o=e}f=n+1|0;k[a+20>>2]=f;if((f|0)==(o|0))break a;else e=o}if((h|0)==8)return g|0}while(0);if(!(k[(k[k[a+36>>2]>>2]|0)+304>>2]|0)){g=0;return g|0}g=HJa(a)|0;return g|0}function EJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0;b=k[k[a+36>>2]>>2]|0;c=k[a+20>>2]|0;do if((k[a+48>>2]&256|0)==0?(c|0)==(k[a+12>>2]|0):0)if(HJa(a)|0){d=1;return d|0}else{e=k[a+20>>2]|0;break}else f=3;while(0);if((f|0)==3){k[a+20>>2]=c+-1;e=c+-1|0}c=k[a+16>>2]|0;g=e;a:while(1){if((g|0)==(c|0)){d=0;f=18;break}else h=g;while(1){if(!(wKa(k[a+40>>2]|0,i[h>>0]|0,k[a+88>>2]|0)|0)){j=h;break}h=h+1|0;k[a+20>>2]=h;if((h|0)==(c|0)){d=0;f=18;break a}}e=k[a+40>>2]|0;m=k[a+88>>2]|0;n=j;while(1){if(wKa(e,i[n>>0]|0,m)|0){o=n;break}n=n+1|0;k[a+20>>2]=n;if((n|0)==(c|0)){d=0;f=18;break a}}if((o|0)==(c|0)){d=0;f=18;break}if(!(i[(l[o>>0]|0)+(b+48)>>0]&3)){p=o;q=c}else{if(HJa(a)|0){d=1;f=18;break}p=k[a+20>>2]|0;q=k[a+16>>2]|0}if((p|0)==(q|0)){d=0;f=18;break}else{c=q;g=p}}if((f|0)==18)return d|0;return 0}function FJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0;b=k[k[a+36>>2]>>2]|0;if(HJa(a)|0){c=1;return c|0}d=k[a+20>>2]|0;e=k[a+16>>2]|0;a:while(1){if((d|0)==(e|0)){c=0;f=16;break}else g=d;while(1){h=(i[g>>0]|0)+-10<<24>>24;if((h&255)<4?(13>>>(h&15)&1)!=0:0){j=g;break}g=g+1|0;k[a+20>>2]=g;if((g|0)==(e|0)){c=0;f=16;break a}}if((j|0)==(e|0)){c=0;f=16;break}k[a+20>>2]=j+1;if((j+1|0)==(e|0)){f=9;break}if(!(i[(l[j+1>>0]|0)+(b+48)>>0]&3)){m=j+1|0;n=e}else{if(HJa(a)|0){c=1;f=16;break}m=k[a+20>>2]|0;n=k[a+16>>2]|0}if((m|0)==(n|0)){c=0;f=16;break}else{d=m;e=n}}if((f|0)==9){if((k[(k[k[a+36>>2]>>2]|0)+304>>2]|0)!=0?HJa(a)|0:0){c=1;return c|0}c=0;return c|0}else if((f|0)==16)return c|0;return 0}function GJa(a){a=a|0;var b=0;if((k[a+20>>2]|0)!=(k[a+12>>2]|0)){b=0;return b|0}if(k[a+48>>2]&4){b=0;return b|0}b=HJa(a)|0;return b|0}function HJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;i[a+61>>0]=0;i[a+62>>0]=0;k[a+44>>2]=k[(k[k[a+36>>2]>>2]|0)+40>>2];b=k[a+8>>2]|0;c=k[a+20>>2]|0;k[(k[b>>2]|0)+16>>2]=c;d=k[b>>2]|0;i[d+20>>0]=(k[d+12>>2]|0)!=(c|0)&1;k[d+24>>2]=c;c=k[b>>2]|0;if((((k[b+4>>2]|0)-c|0)/12|0)>>>0>3){d=c;c=3;do{e=d;f=k[e+4>>2]|0;k[e+(c*12|0)+4>>2]=f;k[e+(c*12|0)>>2]=f;f=k[b>>2]|0;i[f+(c*12|0)+8>>0]=0;c=c+1|0;d=f}while(c>>>0<(((k[b+4>>2]|0)-d|0)/12|0)>>>0)}k[a+24>>2]=k[a+20>>2];JJa(a)|0;d=i[a+62>>0]|0;if(d<<24>>24){g=d;h=g<<24>>24!=0;return h|0}if(((i[a+61>>0]|0)!=0?(k[a+48>>2]&8192|0)!=0:0)?(i[a+62>>0]=1,d=k[a+8>>2]|0,b=k[a+16>>2]|0,k[(k[d>>2]|0)+28>>2]=b,c=k[d>>2]|0,i[c+32>>0]=0,k[c>>2]=b,c=k[d>>2]|0,i[c+8>>0]=(k[c>>2]|0)!=(k[c+4>>2]|0)&1,k[d+16>>2]=b,k[d+20>>2]=b,i[d+24>>0]=0,i[d+40>>0]=0,k[a+20>>2]=k[a+16>>2],(k[a+48>>2]&131072|0)!=0):0)KJa(k[a>>2]|0,k[a+8>>2]|0);d=i[a+62>>0]|0;if(d<<24>>24){g=d;h=g<<24>>24!=0;return h|0}k[a+20>>2]=k[a+24>>2];g=0;h=g<<24>>24!=0;return h|0}function IJa(a){a=a|0;return 0}function JJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;b=k[a+112>>2]|0;if((b+-4|0)>>>0<(k[a+108>>2]|0)>>>0){c=k[a+120>>2]|0;if(!c){NJa(k[a+40>>2]|0,19);d=k[a+112>>2]|0}else{k[a+120>>2]=c+-1;c=LOa()|0;e=k[a+108>>2]|0;f=k[a+112>>2]|0;k[c+4084>>2]=6;k[c+4088>>2]=e;k[c+4092>>2]=f;k[a+108>>2]=c;k[a+112>>2]=c+4084;d=c+4084|0}g=d;h=d+-4|0}else{g=b;h=b+-4|0}k[g+-4>>2]=2;k[a+112>>2]=h;a:while(1){h=k[a+44>>2]|0;while(1){if(h){j=h;break}i[a+116>>0]=1;do{g=43112+(k[k[a+112>>2]>>2]<<3)|0;b=k[g>>2]|0;d=k[g+4>>2]|0;if(!(d&1))l=b;else l=k[(k[a+(d>>1)>>2]|0)+b>>2]|0}while(xc[l&1023](a+(d>>1)|0,(i[a+116>>0]|0)!=0)|0);h=k[a+44>>2]|0;if(!h){m=35;break a}}h=43312+(k[j>>2]<<3)|0;d=k[h>>2]|0;b=k[h+4>>2]|0;k[a+52>>2]=(k[a+52>>2]|0)+1;if(!(b&1))n=d;else n=k[(k[a+(b>>1)>>2]|0)+d>>2]|0;if(nc[n&1023](a+(b>>1)|0)|0)continue;if((k[a+52>>2]|0)>(k[a+56>>2]|0))NJa(k[a+40>>2]|0,18);if(((k[a+48>>2]&8192|0)!=0?(b=k[a+20>>2]|0,(b|0)==(k[a+16>>2]|0)):0)?(b|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;i[a+116>>0]=0;do{b=43112+(k[k[a+112>>2]>>2]<<3)|0;d=k[b>>2]|0;h=k[b+4>>2]|0;if(!(h&1))o=d;else o=k[(k[a+(h>>1)>>2]|0)+d>>2]|0}while(xc[o&1023](a+(h>>1)|0,(i[a+116>>0]|0)!=0)|0);h=(k[a+44>>2]|0)==0;if(((k[a+48>>2]&8192|0)!=0?(d=k[a+20>>2]|0,(d|0)==(k[a+16>>2]|0)):0)?(d|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;if(h){m=35;break}}if((m|0)==35)return (i[a+116>>0]|0)!=0|0;return 0}function KJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,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;if(i[a+40>>0]|0){LJa(a,b)|0;return}c=k[a+4>>2]|0;d=k[a>>2]|0;e=(c-d|0)/12|0;f=k[b+4>>2]|0;g=k[b>>2]|0;h=((f-g|0)/12|0)>>>0>2?g+24|0:f;f=k[((c-d|0)>0?d:a+16|0)+4>>2]|0;g=k[(e>>>0>2?d+24|0:c)>>2]|0;j=k[((g|0)==(f|0)?((c-d|0)>12?d+12|0:a+16|0):(c-d|0)>24?d+24|0:a+16|0)>>2]|0;a:do if(e>>>0>2){l=e>>>0<2?0:e+-2|0;m=h;n=d+24|0;o=g;p=0;q=0;r=0;s=0;t=0;b:while(1){u=k[m>>2]|0;do if((o|0)==(f|0)){if((u|0)!=(f|0)){v=m;w=n;x=1;y=0;z=r;A=s;B=t;break a}C=(i[m+8>>0]|0)==0;if(!(i[n+8>>0]|0))if(C){D=p;E=q;F=s;G=t;break}else{v=m;w=n;x=p;y=q;z=r;A=s;B=t;break a}else if(C){H=26;break b}else{D=p;E=q;F=s;G=t;break}}else{if((u|0)==(f|0)){H=26;break b}C=k[n>>2]|0;if((C-j|0)<(u-j|0)){H=26;break b}if((u-j|0)<(C-j|0)){v=m;w=n;x=C-j|0;y=u-j|0;z=r;A=s;B=t;break a}I=(k[n+4>>2]|0)-C|0;J=(k[m+4>>2]|0)-u|0;if((I|0)!=(J|0)){v=m;w=n;x=C-j|0;y=u-j|0;z=r;A=I;B=J;break a}J=(i[m+8>>0]|0)==0;if(!(i[n+8>>0]|0))if(J){D=C-j|0;E=u-j|0;F=I;G=I;break}else{v=m;w=n;x=C-j|0;y=u-j|0;z=r;A=I;B=I;break a}else if(J){H=26;break b}else{D=C-j|0;E=u-j|0;F=I;G=I;break}}while(0);u=r+1|0;I=n+12|0;C=m+12|0;if(u>>>0>=l>>>0){v=C;w=I;x=D;y=E;z=u;A=F;B=G;break a}m=C;n=I;o=k[I>>2]|0;p=D;q=E;r=u;s=F;t=G}if((H|0)==26)return}else{v=h;w=c;x=0;y=0;z=0;A=0;B=0}while(0);if((z|0)==((e>>>0<2?0:e+-2|0)|0))return;if((y|0)<(x|0)){LJa(a,b)|0;return}if((B|0)<=(A|0)){if(i[w+8>>0]|0)return;if(!(i[v+8>>0]|0))return}LJa(a,b)|0;return}function LJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((a|0)!=(b|0))MJa(a,k[b>>2]|0,k[b+4>>2]|0);c=k[b+28>>2]|0;d=k[b+32>>2]|0;if(d)k[d+4>>2]=(k[d+4>>2]|0)+1;k[a+28>>2]=c;c=k[a+32>>2]|0;k[a+32>>2]=d;if((c|0)!=0?(d=k[c+4>>2]|0,k[c+4>>2]=d+-1,(d|0)==1):0){w=0;sa(k[(k[c>>2]|0)+8>>2]|0,c|0);d=w;w=0;if(d&1){e=Ib(0)|0;f=L;Zc(e)}d=k[c+8>>2]|0;k[c+8>>2]=d+-1;if((d|0)==1?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){e=Ib(0)|0;f=L;Zc(e)}}k[a+36>>2]=k[b+36>>2];e=i[b+40>>0]|0;i[a+40>>0]=e;if(e<<24>>24)return a|0;k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];k[a+20>>2]=k[b+20>>2];i[a+24>>0]=i[b+24>>0]|0;return a|0}function MJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0;d=k[a+8>>2]|0;e=k[a>>2]|0;if(((c-b|0)/12|0)>>>0<=((d-e|0)/12|0)>>>0){f=((k[a+4>>2]|0)-e|0)/12|0;g=((c-b|0)/12|0)>>>0>f>>>0?b+(f*12|0)|0:c;if((g|0)==(b|0))h=e;else{j=b;l=e;while(1){k[l>>2]=k[j>>2];k[l+4>>2]=k[j+4>>2];i[l+8>>0]=i[j+8>>0]|0;j=j+12|0;m=l+12|0;if((j|0)==(g|0)){h=m;break}else l=m}}if(((c-b|0)/12|0)>>>0<=f>>>0){l=k[a+4>>2]|0;if((l|0)==(h|0))return;k[a+4>>2]=l+(~(((l+-12-h|0)>>>0)/12|0)*12|0);return}if((g|0)==(c|0))return;g=b+(f*12|0)|0;f=k[a+4>>2]|0;do{h=g;l=k[h+4>>2]|0;j=f;k[j>>2]=k[h>>2];k[j+4>>2]=l;i[f+8>>0]=i[g+8>>0]|0;f=(k[a+4>>2]|0)+12|0;k[a+4>>2]=f;g=g+12|0}while((g|0)!=(c|0));return}if(!e)n=d;else{d=k[a+4>>2]|0;if((d|0)!=(e|0))k[a+4>>2]=d+(~(((d+-12-e|0)>>>0)/12|0)*12|0);GPa(e);k[a+8>>2]=0;k[a+4>>2]=0;k[a>>2]=0;n=0}if(((c-b|0)/12|0)>>>0>357913941){CPa(a);o=k[a>>2]|0;p=k[a+8>>2]|0}else{o=0;p=n}n=(p-o|0)/12|0;if(n>>>0<178956970){o=n<<1>>>0>=((c-b|0)/12|0)>>>0;if(o|((c-b|0)/12|0)>>>0>357913941^1)q=o?n<<1:(c-b|0)/12|0;else{CPa(a);q=(c-b|0)/12|0}}else q=357913941;n=EPa(q*12|0)|0;k[a+4>>2]=n;k[a>>2]=n;k[a+8>>2]=n+(q*12|0);if((b|0)==(c|0))return;q=b;b=n;do{n=q;o=k[n+4>>2]|0;p=b;k[p>>2]=k[n>>2];k[p+4>>2]=o;i[b+8>>0]=i[q+8>>0]|0;b=(k[a+4>>2]|0)+12|0;k[a+4>>2]=b;q=q+12|0}while((q|0)!=(c|0));return}function NJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+32|0;AKa(c,k[a>>2]|0,b);w=0;ua(1127,c+16|0,c|0);b=w;w=0;if(b&1){b=Ib()|0;a=L;dTa(c);d=a;e=b;Hb(e|0)}dTa(c);w=0;sa(1694,c+16|0);b=w;w=0;if(!(b&1)){VPa(c+16|0);r=c;return}b=Ib()|0;a=L;VPa(c+16|0);d=a;e=b;Hb(e|0)}function OJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;b=k[a+44>>2]|0;c=k[b+8>>2]|0;i[a+60>>0]=i[b+12>>0]|0;switch(c|0){case 0:{k[a+44>>2]=k[b+4>>2];d=1;return d|0}case -2:case -1:{e=k[b+4>>2]|0;f=k[(k[e+8>>2]|0)+4>>2]|0;k[a+44>>2]=k[e+4>>2];e=k[a+112>>2]|0;do if((e+-16|0)>>>0<(k[a+108>>2]|0)>>>0){g=k[a+120>>2]|0;if(!g){NJa(k[a+40>>2]|0,19);h=k[a+112>>2]|0;break}else{k[a+120>>2]=g+-1;g=LOa()|0;j=k[a+108>>2]|0;l=k[a+112>>2]|0;k[g+4084>>2]=6;k[g+4088>>2]=j;k[g+4092>>2]=l;k[a+108>>2]=g;k[a+112>>2]=g+4084;h=g+4084|0;break}}else h=e;while(0);e=k[a+20>>2]|0;k[h+-16>>2]=3;k[h+-12>>2]=f;k[h+-8>>2]=e;i[h+-4>>0]=(c|0)==-1&1;k[a+112>>2]=h+-16;d=1;return d|0}case -3:{h=i[a+63>>0]|0;i[a+63>>0]=1;e=k[b+4>>2]|0;f=k[(k[e+8>>2]|0)+4>>2]|0;k[a+44>>2]=k[e+4>>2];e=JJa(a)|0;k[a+44>>2]=f;i[a+63>>0]=h;d=e;return d|0}case -4:{e=k[b+4>>2]|0;h=k[e+4>>2]|0;k[a+44>>2]=h;if((k[h>>2]|0)==27){if(nKa(a)|0){d=1;return d|0}k[a+44>>2]=k[e+8>>2];d=1;return d|0}f=(k[h+8>>2]|0)==-2;g=k[a+20>>2]|0;l=k[h+4>>2]|0;h=k[(k[l+8>>2]|0)+4>>2]|0;k[a+44>>2]=k[l+4>>2];l=JJa(a)|0;k[a+20>>2]=g;if(f^l){k[a+44>>2]=h;d=1;return d|0}else{k[a+44>>2]=k[e+8>>2];d=1;return d|0}break}case -5:{e=k[a+8>>2]|0;do if(i[e+40>>0]|0){h=k[e>>2]|0;l=k[e+4>>2]|0;if((h|0)==(l|0))qJa();else{m=h;n=l;o=h;break}}else{h=k[e>>2]|0;m=h;n=k[e+4>>2]|0;o=h}while(0);h=(n-m|0)>24?o+24|0:e+16|0;e=k[a+112>>2]|0;do if((e+-20|0)>>>0<(k[a+108>>2]|0)>>>0){o=k[a+120>>2]|0;if(!o){NJa(k[a+40>>2]|0,19);p=k[a+112>>2]|0;break}else{k[a+120>>2]=o+-1;o=LOa()|0;m=k[a+108>>2]|0;n=k[a+112>>2]|0;k[o+4084>>2]=6;k[o+4088>>2]=m;k[o+4092>>2]=n;k[a+108>>2]=o;k[a+112>>2]=o+4084;p=o+4084|0;break}}else p=e;while(0);k[p+-20>>2]=1;k[p+-16>>2]=0;e=k[h+4>>2]|0;o=p+-12|0;k[o>>2]=k[h>>2];k[o+4>>2]=e;i[p+-4>>0]=i[h+8>>0]|0;k[a+112>>2]=p+-20;p=k[a+8>>2]|0;h=k[a+20>>2]|0;k[(k[p>>2]|0)+24>>2]=h;k[(k[p>>2]|0)+16>>2]=h;h=k[p>>2]|0;i[h+20>>0]=(k[h+12>>2]|0)!=(k[h+16>>2]|0)&1;k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}default:{if(!(k[a+48>>2]&262144)){h=k[a+8>>2]|0;do if(i[h+40>>0]|0){p=k[h>>2]|0;e=k[h+4>>2]|0;if((p|0)==(e|0))qJa();else{q=p;r=e;s=p;break}}else{p=k[h>>2]|0;q=p;r=k[h+4>>2]|0;s=p}while(0);p=((c+2|0)>-1?(c+2|0)<((r-q|0)/12|0|0):0)?s+((c+2|0)*12|0)|0:h+16|0;h=k[a+112>>2]|0;do if((h+-20|0)>>>0<(k[a+108>>2]|0)>>>0){s=k[a+120>>2]|0;if(!s){NJa(k[a+40>>2]|0,19);t=k[a+112>>2]|0;break}else{k[a+120>>2]=s+-1;s=LOa()|0;q=k[a+108>>2]|0;r=k[a+112>>2]|0;k[s+4084>>2]=6;k[s+4088>>2]=q;k[s+4092>>2]=r;k[a+108>>2]=s;k[a+112>>2]=s+4084;t=s+4084|0;break}}else t=h;while(0);k[t+-20>>2]=1;k[t+-16>>2]=c;h=k[p+4>>2]|0;s=t+-12|0;k[s>>2]=k[p>>2];k[s+4>>2]=h;i[t+-4>>0]=i[p+8>>0]|0;k[a+112>>2]=t+-20;k[(k[k[a+8>>2]>>2]|0)+((c+2|0)*12|0)>>2]=k[a+20>>2];u=k[a+44>>2]|0}else u=b;k[a+44>>2]=k[u+4>>2];d=1;return d|0}}return 0}function PJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=k[a+44>>2]|0;c=k[b+8>>2]|0;i[a+60>>0]=i[b+12>>0]|0;a:do if((c|0)>0){if(!(k[a+48>>2]&262144)){b=k[a+8>>2]|0;d=k[a+20>>2]|0;k[b+36>>2]=c;k[(k[b>>2]|0)+((c+2|0)*12|0)+4>>2]=d;i[(k[b>>2]|0)+((c+2|0)*12|0)+8>>0]=1}b=k[a+100>>2]|0;if((k[a+96>>2]|0)!=(b|0)?(c|0)==(k[b+-56>>2]|0):0){k[a+44>>2]=k[b+-52>>2];LJa(k[a+8>>2]|0,b+-48|0)|0;b=k[a+100>>2]|0;zKa(a,k[b+-56>>2]|0,k[b+-52>>2]|0,b+-48|0);b=k[a+100>>2]|0;d=b;while(1){k[a+100>>2]=d+-56;e=k[d+-16>>2]|0;if((e|0)!=0?(f=k[e+4>>2]|0,k[e+4>>2]=f+-1,(f|0)==1):0){w=0;sa(k[(k[e>>2]|0)+8>>2]|0,e|0);f=w;w=0;if(f&1){g=12;break}f=k[e+8>>2]|0;k[e+8>>2]=f+-1;if((f|0)==1?(w=0,sa(k[(k[e>>2]|0)+12>>2]|0,e|0),e=w,w=0,e&1):0){g=12;break}}e=k[d+-48>>2]|0;if(e){f=d+-44|0;h=k[f>>2]|0;if((h|0)!=(e|0))k[f>>2]=h+(~(((h+-12-e|0)>>>0)/12|0)*12|0);GPa(e)}d=k[a+100>>2]|0;if((d|0)==(b+-56|0))break a}if((g|0)==12){b=Ib(0)|0;Zc(b)}}}else if((c|0)<0&(c|0)!=-4){k[a+44>>2]=0;return 1}while(0);k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];return 1}function QJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;b=k[a+44>>2]|0;c=k[b+8>>2]|0;do if(c){d=k[a+20>>2]|0;e=0;while(1){if((d|0)==(k[a+16>>2]|0)){f=0;g=10;break}h=i[d>>0]|0;if(!(i[a+60>>0]|0))j=h;else{l=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;j=xc[k[(k[l>>2]|0)+20>>2]&1023](l,h)|0}if(j<<24>>24!=(i[b+12+e>>0]|0)){f=0;g=10;break}e=e+1|0;d=(k[a+20>>2]|0)+1|0;k[a+20>>2]=d;if(e>>>0>=c>>>0){g=8;break}}if((g|0)==8){m=k[a+44>>2]|0;break}else if((g|0)==10)return f|0}else m=b;while(0);k[a+44>>2]=k[m+4>>2];f=1;return f|0}function RJa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+20>>2]|0;c=k[a+48>>2]|0;if((b|0)==(k[a+32>>2]|0)){if(!(c&256)){if(c&1){d=0;return d|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}}else if(c&1048576){d=0;return d|0}c=i[b+-1>>0]|0;if((c+-10&255)<4)e=(13>>>(c+-10&15)&1)!=0;else e=0;if((b|0)==(k[a+16>>2]|0)){if(!e){d=0;return d|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}if(!e){d=0;return d|0}if(c<<24>>24==13?(i[b>>0]|0)==10:0){d=0;return d|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}function SJa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+20>>2]|0;c=k[a+48>>2]|0;if((b|0)==(k[a+16>>2]|0)){if(c&2){d=0;return d|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}if(c&1048576){d=0;return d|0}e=i[b>>0]|0;if((e+-10&255)>=4){d=0;return d|0}if(!(13>>>(e+-10&15)&1)){d=0;return d|0}if(!((c&256|0)==0?(b|0)==(k[a+32>>2]|0):0)?(i[b+-1>>0]|0)==13&e<<24>>24==10:0){d=0;return d|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}function TJa(a){a=a|0;var b=0,c=0,d=0;b=k[a+20>>2]|0;if((b|0)==(k[a+16>>2]|0)){c=0;return c|0}d=i[b>>0]|0;if((d+-10&255)<4){if((13>>>(d+-10&15)&1)!=0?(i[(k[a+44>>2]|0)+8>>0]&i[a+92>>0])<<24>>24==0:0){c=0;return c|0}}else if(d<<24>>24==0?(k[a+48>>2]&128|0)!=0:0){c=0;return c|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];k[a+20>>2]=b+1;c=1;return c|0}function UJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;b=k[a+100>>2]|0;if((k[a+96>>2]|0)!=(b|0)){k[a+44>>2]=k[b+-52>>2];LJa(k[a+8>>2]|0,b+-48|0)|0;b=k[a+100>>2]|0;zKa(a,k[b+-56>>2]|0,k[b+-52>>2]|0,b+-48|0);b=k[a+100>>2]|0;c=b;while(1){k[a+100>>2]=c+-56;d=k[c+-16>>2]|0;if((d|0)!=0?(e=k[d+4>>2]|0,k[d+4>>2]=e+-1,(e|0)==1):0){w=0;sa(k[(k[d>>2]|0)+8>>2]|0,d|0);e=w;w=0;if(e&1){f=8;break}e=k[d+8>>2]|0;k[d+8>>2]=e+-1;if((e|0)==1?(w=0,sa(k[(k[d>>2]|0)+12>>2]|0,d|0),d=w,w=0,d&1):0){f=8;break}}d=k[c+-48>>2]|0;if(d){e=c+-44|0;g=k[e>>2]|0;if((g|0)!=(d|0))k[e>>2]=g+(~(((g+-12-d|0)>>>0)/12|0)*12|0);GPa(d)}c=k[a+100>>2]|0;if((c|0)==(b+-56|0)){h=1;f=30;break}}if((f|0)==8){b=Ib(0)|0;Zc(b)}else if((f|0)==30)return h|0}f=k[a+48>>2]|0;if(f&2048){b=k[a+8>>2]|0;do if(i[b+40>>0]|0){c=k[b>>2]|0;d=k[b+4>>2]|0;if((c|0)==(d|0))qJa();else{j=c;l=d;m=c;break}}else{c=k[b>>2]|0;j=c;l=k[b+4>>2]|0;m=c}while(0);if((k[a+20>>2]|0)==(k[((l-j|0)>24?m+24|0:b+16|0)>>2]|0)){h=0;return h|0}}if((f&32768|0)!=0?(k[a+20>>2]|0)!=(k[a+16>>2]|0):0){h=0;return h|0}do if(f&16384){b=k[a+20>>2]|0;if((b|0)==(k[a+28>>2]|0)){h=0;return h|0}else{n=b;break}}else n=k[a+20>>2]|0;while(0);f=k[a+8>>2]|0;k[(k[f>>2]|0)+28>>2]=n;b=k[f>>2]|0;i[b+32>>0]=1;k[b>>2]=n;b=k[f>>2]|0;i[b+8>>0]=(k[b>>2]|0)!=(k[b+4>>2]|0)&1;k[f+16>>2]=n;k[f+20>>2]=n;i[f+24>>0]=0;i[f+40>>0]=0;k[a+44>>2]=0;i[a+62>>0]=1;if((k[a+48>>2]&131072|0)!=0?(KJa(k[a>>2]|0,k[a+8>>2]|0),(k[a+48>>2]&1024|0)==0):0){h=0;return h|0}h=1;return h|0}function VJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+20>>2]|0;if((b|0)==(k[a+16>>2]|0))c=(k[a+48>>2]&32|0)!=0;else c=wKa(k[a+40>>2]|0,i[b>>0]|0,k[a+88>>2]|0)|0;if((b|0)==(k[a+32>>2]|0)?(d=k[a+48>>2]|0,(d&256|0)==0):0){if(!(c^(d&16|0)!=0)){e=0;return e|0}}else f=6;if((f|0)==6?(k[a+20>>2]=b+-1,f=c^(wKa(k[a+40>>2]|0,i[b+-1>>0]|0,k[a+88>>2]|0)|0),k[a+20>>2]=b,!f):0){e=0;return e|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];e=1;return e|0}function WJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;b=k[a+20>>2]|0;if((b|0)==(k[a+16>>2]|0)){c=0;return c|0}d=k[a+40>>2]|0;e=k[a+88>>2]|0;f=wKa(d,i[b>>0]|0,e)|0;if((b|0)==(k[a+32>>2]|0)?(k[a+48>>2]&256|0)==0:0){g=1;h=0}else{k[a+20>>2]=b+-1;j=wKa(d,i[b+-1>>0]|0,e)|0;k[a+20>>2]=b;if(f^j){g=0;h=0}else{k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];g=1;h=1}}c=h&g;return c|0}function XJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=k[a+20>>2]|0;if((b|0)==(k[a+16>>2]|0)){c=0;return c|0}d=k[a+40>>2]|0;e=k[a+88>>2]|0;if(!(wKa(d,i[b>>0]|0,e)|0)){c=0;return c|0}if((b|0)==(k[a+32>>2]|0)?(f=k[a+48>>2]|0,(f&256|0)==0):0){if(f&16){c=0;return c|0}}else g=6;if((g|0)==6?wKa(d,i[b+-1>>0]|0,e)|0:0){c=0;return c|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];c=1;return c|0}function YJa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+20>>2]|0;if((b|0)==(k[a+32>>2]|0)?(k[a+48>>2]&256|0)==0:0){c=0;return c|0}d=k[a+40>>2]|0;e=k[a+88>>2]|0;if(!(wKa(d,i[b+-1>>0]|0,e)|0)){c=0;return c|0}if((b|0)==(k[a+16>>2]|0)){if(k[a+48>>2]&32){c=0;return c|0}}else if(wKa(d,i[b>>0]|0,e)|0){c=0;return c|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];c=1;return c|0}function ZJa(a){a=a|0;var b=0;if((k[a+20>>2]|0)!=(k[a+32>>2]|0)){b=0;return b|0}if(k[a+48>>2]&4){b=0;return b|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];b=1;return b|0}function _Ja(a){a=a|0;var b=0;if((k[a+20>>2]|0)!=(k[a+16>>2]|0)){b=0;return b|0}if(k[a+48>>2]&8){b=0;return b|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];b=1;return b|0}function $Ja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=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,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;b=k[a+44>>2]|0;c=k[b+8>>2]|0;a:do if((c|0)>9999){d=k[k[a+36>>2]>>2]|0;e=k[d>>2]|0;f=k[d+4>>2]|0;b:do if(!(f-e>>3)){g=e;h=e}else{d=e;j=f;l=f-e>>3;while(1){m=(l|0)/2|0;n=d;o=k[n+(m<<3)+4>>2]|0;if((o|0)>=(c|0))if((o|0)>(c|0)){p=n+(m<<3)|0;q=d;r=m}else{s=j;t=d;break}else{p=j;q=n+(m<<3)+8|0;r=l+-1-m|0}if(!r){g=q;h=q;break b}else{d=q;j=p;l=r}}if(!(n+(m<<3)-t>>3))u=n;else{l=n;j=n;d=n+(m<<3)-t>>3;while(1){o=(d|0)/2|0;if((k[j+(o<<3)+4>>2]|0)<(c|0)){v=j+(o<<3)+8|0;w=v;x=v;y=d+-1-o|0}else{w=l;x=j;y=o}if(!y){u=w;break}else{l=w;j=x;d=y}}}d=u;j=n+(m<<3)+8|0;if(!(s-j>>3))z=j;else{l=j;o=j;v=s-j>>3;while(1){j=(v|0)/2|0;if((k[o+(j<<3)+4>>2]|0)>(c|0)){A=l;B=o;C=j}else{D=o+(j<<3)+8|0;A=D;B=D;C=v+-1-j|0}if(!C){z=A;break}else{l=A;o=B;v=C}}}g=d;h=z}while(0);e=h;f=g;while(1){v=f;o=k[v>>2]|0;f=v+8|0;if((v+8|0)==(e|0)){E=o;break a}v=k[a+8>>2]|0;if(!(i[v+40>>0]|0)){l=k[v>>2]|0;F=l;G=k[v+4>>2]|0;H=l}else{l=k[v>>2]|0;j=k[v+4>>2]|0;if((l|0)==(j|0))break;F=l;G=j;H=l}if((i[(((o+2|0)>-1?(o+2|0)<((G-F|0)/12|0|0):0)?H+((o+2|0)*12|0)|0:v+16|0)+8>>0]|0)==1){E=o;break a}}qJa()}else E=c;while(0);c=k[a+8>>2]|0;H=i[c+40>>0]|0;if(k[a+48>>2]&65536){do if(H<<24>>24){F=k[c>>2]|0;G=k[c+4>>2]|0;if((F|0)==(G|0))qJa();else{I=F;J=G;K=F;break}}else{F=k[c>>2]|0;I=F;J=k[c+4>>2]|0;K=F}while(0);F=E+2|0;if(!(i[(((F|0)>-1?(F|0)<((J-I|0)/12|0|0):0)?K+(F*12|0)|0:c+16|0)+8>>0]|0)){L=0;return L|0}}if(H<<24>>24){F=k[c>>2]|0;K=k[c+4>>2]|0;if((F|0)==(K|0))qJa();else{M=K;N=F;O=F;P=K}}else{K=k[c+4>>2]|0;F=k[c>>2]|0;M=K;N=F;O=F;P=K}K=E+2|0;E=k[(((K|0)>-1?(K|0)<((M-N|0)/12|0|0):0)?O+(K*12|0)|0:c+16|0)>>2]|0;do if(H<<24>>24)if((O|0)==(P|0))qJa();else{Q=O;R=P;S=O;break}else{Q=N;R=M;S=N}while(0);N=k[(((K|0)>-1?(K|0)<((R-Q|0)/12|0|0):0)?S+(K*12|0)|0:c+16|0)+4>>2]|0;do if((E|0)!=(N|0)){c=k[a+20>>2]|0;K=E;while(1){if((c|0)==(k[a+16>>2]|0)){L=0;T=51;break}S=i[c>>0]|0;if(i[a+60>>0]|0){Q=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;R=xc[k[(k[Q>>2]|0)+20>>2]&1023](Q,S)|0;Q=i[K>>0]|0;if(!(i[a+60>>0]|0)){U=R;V=Q}else{M=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;U=R;V=xc[k[(k[M>>2]|0)+20>>2]&1023](M,Q)|0}}else{U=S;V=i[K>>0]|0}if(U<<24>>24!=V<<24>>24){L=0;T=51;break}K=K+1|0;c=(k[a+20>>2]|0)+1|0;k[a+20>>2]=c;if((K|0)==(N|0)){T=49;break}}if((T|0)==49){W=k[a+44>>2]|0;break}else if((T|0)==51)return L|0}else W=b;while(0);k[a+44>>2]=k[W+4>>2];L=1;return L|0}function aKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=r;r=r+16|0;c=k[a+20>>2]|0;d=k[a+16>>2]|0;if((c|0)==(d|0)){e=0;r=b;return e|0}k[b+4>>2]=c;k[b>>2]=d;d=k[a+44>>2]|0;c=k[k[a+36>>2]>>2]|0;f=(i[a+60>>0]|0)!=0;k[b+8>>2]=k[b+4>>2];k[b+12>>2]=k[b>>2];g=vKa(b+8|0,b+12|0,d,c,f)|0;if((g|0)==(k[a+20>>2]|0)){e=0;r=b;return e|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];k[a+20>>2]=g;e=1;r=b;return e|0}function bKa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+20>>2]|0;if((b|0)==(k[a+16>>2]|0)){c=0;return c|0}d=i[b>>0]|0;if(!(i[a+60>>0]|0))e=d;else{b=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;e=xc[k[(k[b>>2]|0)+20>>2]&1023](b,d)|0}d=k[a+44>>2]|0;if(!(i[d+8+(e&255)>>0]|0)){c=0;return c|0}k[a+44>>2]=k[d+4>>2];k[a+20>>2]=(k[a+20>>2]|0)+1;c=1;return c|0}function cKa(a){a=a|0;k[a+44>>2]=k[(k[a+44>>2]|0)+8>>2];return 1}function dKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0;b=k[a+44>>2]|0;c=k[a+20>>2]|0;if((c|0)==(k[a+16>>2]|0)){d=k[b+268>>2]|0;if(!(d&1)){e=(d&2|0)!=0;f=11}else g=(d&2|0)!=0}else{d=i[(l[c>>0]|0)+(b+12)>>0]|0;if(!(d&1)){e=(d&2)!=0;f=11}else g=(d&2)!=0}if((f|0)==11){if(!e){h=0;return h|0}k[a+44>>2]=k[b+8>>2];h=1;return h|0}if(g){g=k[b+8>>2]|0;e=k[a+112>>2]|0;do if((e+-12|0)>>>0<(k[a+108>>2]|0)>>>0){f=k[a+120>>2]|0;if(!f){NJa(k[a+40>>2]|0,19);j=k[a+112>>2]|0;break}else{k[a+120>>2]=f+-1;f=LOa()|0;d=k[a+108>>2]|0;c=k[a+112>>2]|0;k[f+4084>>2]=6;k[f+4088>>2]=d;k[f+4092>>2]=c;k[a+108>>2]=f;k[a+112>>2]=f+4084;j=f+4084|0;break}}else j=e;while(0);e=k[a+20>>2]|0;k[j+-12>>2]=4;k[j+-8>>2]=g;k[j+-4>>2]=e;k[a+112>>2]=j+-12;m=k[a+44>>2]|0}else m=b;k[a+44>>2]=k[m+4>>2];h=1;return h|0}function eKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=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;b=k[a+44>>2]|0;c=k[a+20>>2]|0;if((c|0)==(k[a+16>>2]|0)){d=k[b+268>>2]|0;e=(d&1|0)!=0;f=(d&2|0)!=0}else{d=i[(l[c>>0]|0)+(b+12)>>0]|0;e=(d&1)!=0;f=(d&2)!=0}d=k[a+112>>2]|0;if((k[d>>2]|0)==5){c=k[d+12>>2]|0;d=k[b+280>>2]|0;if((c|0)==(d|0)){g=k[a+64>>2]|0;if((k[g+8>>2]|0)==(c|0)){h=a+64|0;j=g}else{m=c;n=8}}else{m=d;n=8}}else{m=k[b+280>>2]|0;n=8}if((n|0)==8){tKa(a,m,a+64|0);h=a+64|0;j=k[a+64>>2]|0}m=k[b+276>>2]|0;d=j+12|0;do if(k[d>>2]|0){c=k[a+20>>2]|0;if((c|0)==(k[j+16>>2]|0)){k[d>>2]=m;o=j;p=m;break}else{q=c;n=14;break}}else{q=k[a+20>>2]|0;n=14}while(0);if((n|0)==14){k[j+16>>2]=q;q=k[h>>2]|0;o=q;p=k[q+12>>2]|0}q=o+12|0;if(p>>>0<(k[b+272>>2]|0)>>>0){if(!e){r=0;return r|0}k[q>>2]=p+1;k[a+44>>2]=k[b+4>>2];r=1;return r|0}do if(!(i[b+285>>0]|0))s=p>>>0>=m>>>0|e^1;else{if(!(k[a+48>>2]&1024)){if(p>>>0>=m>>>0|e^1)n=31}else{j=p>>>0>=m>>>0|e^1;if(!(i[a+63>>0]|0)){s=j;break}if(j)n=31}if((n|0)==31){if(!f){r=0;return r|0}k[a+44>>2]=k[b+8>>2];r=1;return r|0}if(f){j=k[b+8>>2]|0;d=k[a+112>>2]|0;do if((d+-12|0)>>>0<(k[a+108>>2]|0)>>>0){c=k[a+120>>2]|0;if(!c){NJa(k[a+40>>2]|0,19);t=k[a+112>>2]|0;break}else{k[a+120>>2]=c+-1;c=LOa()|0;g=k[a+108>>2]|0;u=k[a+112>>2]|0;k[c+4084>>2]=6;k[c+4088>>2]=g;k[c+4092>>2]=u;k[a+108>>2]=c;k[a+112>>2]=c+4084;t=c+4084|0;break}}else t=d;while(0);d=k[a+20>>2]|0;k[t+-12>>2]=4;k[t+-8>>2]=j;k[t+-4>>2]=d;k[a+112>>2]=t+-12;d=k[h>>2]|0;v=d;w=k[d+12>>2]|0}else{v=o;w=p}k[v+12>>2]=w+1;k[a+44>>2]=k[b+4>>2];r=1;return r|0}while(0);if(!f){if(s){r=0;return r|0}k[q>>2]=p+1;k[a+44>>2]=k[b+4>>2];r=1;return r|0}if(!s){s=k[b+4>>2]|0;p=k[a+112>>2]|0;do if((p+-12|0)>>>0<(k[a+108>>2]|0)>>>0){q=k[a+120>>2]|0;if(!q){NJa(k[a+40>>2]|0,19);x=k[a+112>>2]|0;break}else{k[a+120>>2]=q+-1;q=LOa()|0;f=k[a+108>>2]|0;w=k[a+112>>2]|0;k[q+4084>>2]=6;k[q+4088>>2]=f;k[q+4092>>2]=w;k[a+108>>2]=q;k[a+112>>2]=q+4084;x=q+4084|0;break}}else x=p;while(0);p=k[a+20>>2]|0;k[x+-12>>2]=13;k[x+-8>>2]=s;k[x+-4>>2]=p;k[a+112>>2]=x+-12}k[a+44>>2]=k[b+8>>2];r=1;return r|0}function fKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=k[a+20>>2]|0;c=k[a+16>>2]|0;if((b|0)==(c|0)){d=0;return d|0}if(!(i[a+60>>0]|0)){e=b;f=c}else{c=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;xc[k[(k[c>>2]|0)+20>>2]&1023](c,i[b>>0]|0)|0;e=k[a+20>>2]|0;f=k[a+16>>2]|0}b=e+1|0;k[a+20>>2]=b;if((b|0)!=(f|0)?(i[a+60>>0]|0)!=0:0){f=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;xc[k[(k[f>>2]|0)+20>>2]&1023](f,i[b>>0]|0)|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];d=1;return d|0}function gKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(k[a+48>>2]&8){b=0;return b|0}c=k[a+20>>2]|0;a:do if((c|0)==(k[a+16>>2]|0))d=c;else{e=c;while(1){f=i[e>>0]|0;if(!(i[a+60>>0]|0))g=f;else{h=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;g=xc[k[(k[h>>2]|0)+20>>2]&1023](h,f)|0}f=g+-10<<24>>24;if((f&255)>=4){d=e;break a}if(!(13>>>(f&15)&1)){d=e;break a}f=e+1|0;if((f|0)==(k[a+16>>2]|0)){d=f;break}else e=f}}while(0);if((d|0)!=(k[a+16>>2]|0)){b=0;return b|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];b=1;return b|0}function hKa(a){a=a|0;var b=0;if((k[a+20>>2]|0)!=(k[a+28>>2]|0)){b=0;return b|0}k[a+44>>2]=k[(k[a+44>>2]|0)+4>>2];b=1;return b|0}function iKa(a){a=a|0;return xKa(a)|0}function jKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;b=k[a+44>>2]|0;c=i[(k[b+4>>2]|0)+12>>0]|0;if(i[b+285>>0]|0)if(!(k[a+48>>2]&1024))d=1;else d=(i[a+63>>0]|0)!=0;else d=0;e=k[(d?b+276|0:b+272|0)>>2]|0;f=k[a+20>>2]|0;if((e|0)==-1)g=0;else g=(k[a+16>>2]|0)-f|0;if(e>>>0>>0)h=f+e|0;else h=k[a+16>>2]|0;e=h;do if((f|0)!=(e|0)){h=f;while(1){g=i[h>>0]|0;if(!(i[a+60>>0]|0))j=g;else{m=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;j=xc[k[(k[m>>2]|0)+20>>2]&1023](m,g)|0}if(j<<24>>24!=c<<24>>24){n=15;break}o=(k[a+20>>2]|0)+1|0;k[a+20>>2]=o;if((o|0)==(e|0)){n=16;break}else h=o}if((n|0)==15){h=k[a+20>>2]|0;p=h;q=h;break}else if((n|0)==16){p=e;q=o;break}}else{p=f;q=f}while(0);o=q-f|0;f=k[b+272>>2]|0;if(o>>>0>>0){r=0;return r|0}if(d){if((i[b+284>>0]|0)!=0?o>>>0<(k[b+276>>2]|0)>>>0:0)k[a+24>>2]=q;if((o|0)!=(f|0)){f=k[a+112>>2]|0;do if((f+-16|0)>>>0<(k[a+108>>2]|0)>>>0){d=k[a+120>>2]|0;if(!d){NJa(k[a+40>>2]|0,19);s=k[a+112>>2]|0;break}else{k[a+120>>2]=d+-1;d=LOa()|0;e=k[a+108>>2]|0;n=k[a+112>>2]|0;k[d+4084>>2]=6;k[d+4088>>2]=e;k[d+4092>>2]=n;k[a+108>>2]=d;k[a+112>>2]=d+4084;s=d+4084|0;break}}else s=f;while(0);k[s+-16>>2]=7;k[s+-12>>2]=o;k[s+-8>>2]=b;k[s+-4>>2]=q;k[a+112>>2]=s+-16}k[a+44>>2]=k[b+8>>2];r=1;return r|0}else{if(o>>>0<(k[b+276>>2]|0)>>>0){s=k[a+112>>2]|0;do if((s+-16|0)>>>0<(k[a+108>>2]|0)>>>0){f=k[a+120>>2]|0;if(!f){NJa(k[a+40>>2]|0,19);t=k[a+112>>2]|0;break}else{k[a+120>>2]=f+-1;f=LOa()|0;d=k[a+108>>2]|0;n=k[a+112>>2]|0;k[f+4084>>2]=6;k[f+4088>>2]=d;k[f+4092>>2]=n;k[a+108>>2]=f;k[a+112>>2]=f+4084;t=f+4084|0;break}}else t=s;while(0);k[t+-16>>2]=10;k[t+-12>>2]=o;k[t+-8>>2]=b;k[t+-4>>2]=q;k[a+112>>2]=t+-16;u=k[a+20>>2]|0}else u=p;k[a+44>>2]=k[b+8>>2];if((u|0)==(k[a+16>>2]|0))v=k[b+268>>2]&2;else v=(l[(l[u>>0]|0)+(b+12)>>0]|0)>>>1&1;r=(v|0)!=0;return r|0}return 0}function kKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;b=k[a+44>>2]|0;c=k[b+4>>2]|0;if(i[b+285>>0]|0)if(!(k[a+48>>2]&1024))d=1;else d=(i[a+63>>0]|0)!=0;else d=0;e=k[(d?b+276|0:b+272|0)>>2]|0;f=k[a+20>>2]|0;if((e|0)==-1)g=0;else g=(k[a+16>>2]|0)-f|0;if(e>>>0>>0)h=f+e|0;else h=k[a+16>>2]|0;e=h;do if((f|0)!=(e|0)){h=f;while(1){g=i[h>>0]|0;if(!(i[a+60>>0]|0))j=g;else{m=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;j=xc[k[(k[m>>2]|0)+20>>2]&1023](m,g)|0}if(!(i[(j&255)+(c+8)>>0]|0)){n=15;break}o=(k[a+20>>2]|0)+1|0;k[a+20>>2]=o;if((o|0)==(e|0)){n=16;break}else h=o}if((n|0)==15){h=k[a+20>>2]|0;p=h;q=h;break}else if((n|0)==16){p=e;q=o;break}}else{p=f;q=f}while(0);o=q-f|0;f=k[b+272>>2]|0;if(o>>>0>>0){r=0;return r|0}if(d){if((i[b+284>>0]|0)!=0?o>>>0<(k[b+276>>2]|0)>>>0:0)k[a+24>>2]=q;if((o|0)!=(f|0)){f=k[a+112>>2]|0;do if((f+-16|0)>>>0<(k[a+108>>2]|0)>>>0){d=k[a+120>>2]|0;if(!d){NJa(k[a+40>>2]|0,19);s=k[a+112>>2]|0;break}else{k[a+120>>2]=d+-1;d=LOa()|0;e=k[a+108>>2]|0;n=k[a+112>>2]|0;k[d+4084>>2]=6;k[d+4088>>2]=e;k[d+4092>>2]=n;k[a+108>>2]=d;k[a+112>>2]=d+4084;s=d+4084|0;break}}else s=f;while(0);k[s+-16>>2]=7;k[s+-12>>2]=o;k[s+-8>>2]=b;k[s+-4>>2]=q;k[a+112>>2]=s+-16}k[a+44>>2]=k[b+8>>2];r=1;return r|0}else{if(o>>>0<(k[b+276>>2]|0)>>>0){s=k[a+112>>2]|0;do if((s+-16|0)>>>0<(k[a+108>>2]|0)>>>0){f=k[a+120>>2]|0;if(!f){NJa(k[a+40>>2]|0,19);t=k[a+112>>2]|0;break}else{k[a+120>>2]=f+-1;f=LOa()|0;d=k[a+108>>2]|0;n=k[a+112>>2]|0;k[f+4084>>2]=6;k[f+4088>>2]=d;k[f+4092>>2]=n;k[a+108>>2]=f;k[a+112>>2]=f+4084;t=f+4084|0;break}}else t=s;while(0);k[t+-16>>2]=11;k[t+-12>>2]=o;k[t+-8>>2]=b;k[t+-4>>2]=q;k[a+112>>2]=t+-16;u=k[a+20>>2]|0}else u=p;k[a+44>>2]=k[b+8>>2];if((u|0)==(k[a+16>>2]|0))v=k[b+268>>2]&2;else v=(l[(l[u>>0]|0)+(b+12)>>0]|0)>>>1&1;r=(v|0)!=0;return r|0}return 0}function lKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;b=r;r=r+16|0;c=k[a+44>>2]|0;d=k[c+4>>2]|0;if(i[c+285>>0]|0)if(!(k[a+48>>2]&1024))e=1;else e=(i[a+63>>0]|0)!=0;else e=0;f=k[(e?c+276|0:c+272|0)>>2]|0;g=k[a+20>>2]|0;if((f|0)==-1)h=0;else h=(k[a+16>>2]|0)-g|0;if(f>>>0>>0)j=g+f|0;else j=k[a+16>>2]|0;f=j;a:do if((g|0)==(f|0)){m=g;n=g}else{j=g;while(1){k[b+4>>2]=j;k[b>>2]=k[a+16>>2];h=k[k[a+36>>2]>>2]|0;o=(i[a+60>>0]|0)!=0;k[b+8>>2]=k[b+4>>2];k[b+12>>2]=k[b>>2];p=vKa(b+8|0,b+12|0,d,h,o)|0;o=k[a+20>>2]|0;if((o|0)==(p|0)){m=p;n=o;break a}k[a+20>>2]=o+1;if((o+1|0)==(f|0)){m=f;n=o+1|0;break}else j=o+1|0}}while(0);f=n-g|0;g=k[c+272>>2]|0;if(f>>>0>>0){q=0;r=b;return q|0}if(e){if((i[c+284>>0]|0)!=0?f>>>0<(k[c+276>>2]|0)>>>0:0)k[a+24>>2]=n;if((f|0)!=(g|0)){g=k[a+112>>2]|0;do if((g+-16|0)>>>0<(k[a+108>>2]|0)>>>0){e=k[a+120>>2]|0;if(!e){NJa(k[a+40>>2]|0,19);s=k[a+112>>2]|0;break}else{k[a+120>>2]=e+-1;e=LOa()|0;d=k[a+108>>2]|0;j=k[a+112>>2]|0;k[e+4084>>2]=6;k[e+4088>>2]=d;k[e+4092>>2]=j;k[a+108>>2]=e;k[a+112>>2]=e+4084;s=e+4084|0;break}}else s=g;while(0);k[s+-16>>2]=7;k[s+-12>>2]=f;k[s+-8>>2]=c;k[s+-4>>2]=n;k[a+112>>2]=s+-16}k[a+44>>2]=k[c+8>>2];q=1;r=b;return q|0}else{if(f>>>0<(k[c+276>>2]|0)>>>0){s=k[a+112>>2]|0;do if((s+-16|0)>>>0<(k[a+108>>2]|0)>>>0){g=k[a+120>>2]|0;if(!g){NJa(k[a+40>>2]|0,19);t=k[a+112>>2]|0;break}else{k[a+120>>2]=g+-1;g=LOa()|0;e=k[a+108>>2]|0;j=k[a+112>>2]|0;k[g+4084>>2]=6;k[g+4088>>2]=e;k[g+4092>>2]=j;k[a+108>>2]=g;k[a+112>>2]=g+4084;t=g+4084|0;break}}else t=s;while(0);k[t+-16>>2]=12;k[t+-12>>2]=f;k[t+-8>>2]=c;k[t+-4>>2]=n;k[a+112>>2]=t+-16;u=k[a+20>>2]|0}else u=m;k[a+44>>2]=k[c+8>>2];if((u|0)==(k[a+16>>2]|0))v=k[c+268>>2]&2;else v=(l[c+12+(l[u>>0]|0)>>0]|0)>>>1&1;q=(v|0)!=0;r=b;return q|0}return 0}function mKa(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a+20>>2]|0;c=k[a+44>>2]|0;d=k[c+8>>2]|0;if((b-(k[a+32>>2]|0)|0)<(d|0)){e=0;return e|0}k[a+20>>2]=b+(0-d);k[a+44>>2]=k[c+4>>2];e=1;return e|0}function nKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=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,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;b=k[a+44>>2]|0;c=k[b+8>>2]|0;if((c|0)==9999){d=0;return d|0}if((c|0)<=0){if((c|0)<-1e4){e=k[k[a+36>>2]>>2]|0;f=k[e>>2]|0;g=k[e+4>>2]|0;a:do if(!(g-f>>3)){h=f;j=f}else{e=f;l=g;m=g-f>>3;while(1){n=(m|0)/2|0;o=e;p=k[o+(n<<3)+4>>2]|0;if((p|0)>=(~c|0))if((p|0)>(~c|0)){q=o+(n<<3)|0;r=e;s=n}else{t=l;u=e;break}else{q=l;r=o+(n<<3)+8|0;s=m+-1-n|0}if(!s){h=r;j=r;break a}else{e=r;l=q;m=s}}if(!(o+(n<<3)-u>>3))v=o;else{m=o;l=o;e=o+(n<<3)-u>>3;while(1){p=(e|0)/2|0;if((k[m+(p<<3)+4>>2]|0)<(~c|0)){w=m+(p<<3)+8|0;x=w;y=w;z=e+-1-p|0}else{x=l;y=m;z=p}if(!z){v=x;break}else{m=y;l=x;e=z}}}e=v;l=o+(n<<3)+8|0;if(!(t-l>>3))A=l;else{m=l;p=l;w=t-l>>3;while(1){l=(w|0)/2|0;if((k[m+(l<<3)+4>>2]|0)>(~c|0)){B=p;C=m;D=l}else{E=m+(l<<3)+8|0;B=E;C=E;D=w+-1-l|0}if(!D){A=B;break}else{m=C;p=B;w=D}}}h=e;j=A}while(0);A=k[a+100>>2]|0;if((k[a+96>>2]|0)==(A|0))F=-1;else F=k[A+-56>>2]|0;A=h;h=j;if((A|0)==(h|0))G=0;else{j=A;A=0;while(1){D=(F|0)==(k[j>>2]|0)|A&255;if(D&1){H=D;break}j=j+8|0;if((j|0)==(h|0)){H=D;break}else A=D}G=(H&1|0)!=0}}else{H=k[a+100>>2]|0;if((k[a+96>>2]|0)==(H|0))G=0;else G=(c|0)==0?1:(k[H+-56>>2]|0)==(~c|0)}k[a+44>>2]=k[b+4>>2];d=G;return d|0}b:do if((c|0)>9999){G=k[k[a+36>>2]>>2]|0;H=k[G>>2]|0;A=k[G+4>>2]|0;c:do if(!(A-H>>3)){I=H;J=H}else{G=H;h=A;j=A-H>>3;while(1){K=(j|0)/2|0;L=G;F=k[L+(K<<3)+4>>2]|0;if((F|0)>=(c|0))if((F|0)>(c|0)){M=L+(K<<3)|0;N=G;O=K}else{P=h;Q=G;break}else{M=h;N=L+(K<<3)+8|0;O=j+-1-K|0}if(!O){I=N;J=N;break c}else{G=N;h=M;j=O}}if(!(L+(K<<3)-Q>>3))R=L;else{j=L;h=L;G=L+(K<<3)-Q>>3;while(1){F=(G|0)/2|0;if((k[h+(F<<3)+4>>2]|0)<(c|0)){D=h+(F<<3)+8|0;S=D;T=D;U=G+-1-F|0}else{S=j;T=h;U=F}if(!U){R=S;break}else{j=S;h=T;G=U}}}G=R;h=L+(K<<3)+8|0;if(!(P-h>>3))V=h;else{j=h;F=h;D=P-h>>3;while(1){h=(D|0)/2|0;if((k[F+(h<<3)+4>>2]|0)>(c|0)){W=j;X=F;Y=h}else{B=F+(h<<3)+8|0;W=B;X=B;Y=D+-1-h|0}if(!Y){V=W;break}else{j=W;F=X;D=Y}}}I=G;J=V}while(0);H=I;A=J;if((H|0)==(A|0))Z=0;else{e=k[a+8>>2]|0;if(!(i[e+40>>0]|0)){D=k[e>>2]|0;F=((k[e+4>>2]|0)-D|0)/12|0;j=H;while(1){h=(k[j>>2]|0)+2|0;if(i[((h|0)>-1&(h|0)<(F|0)?D+(h*12|0)|0:e+16|0)+8>>0]|0){Z=1;break b}j=j+8|0;if((j|0)==(A|0)){Z=0;break b}}}j=k[e>>2]|0;D=k[e+4>>2]|0;F=H;while(1){if((j|0)==(D|0))break;h=(k[F>>2]|0)+2|0;if(i[(((h|0)>-1?(h|0)<((D-j|0)/12|0|0):0)?j+(h*12|0)|0:e+16|0)+8>>0]|0){Z=1;break b}F=F+8|0;if((F|0)==(A|0)){Z=0;break b}}qJa()}}else{A=k[a+8>>2]|0;do if(i[A+40>>0]|0){F=k[A>>2]|0;e=k[A+4>>2]|0;if((F|0)==(e|0))qJa();else{_=F;$=e;aa=F;break}}else{F=k[A>>2]|0;_=F;$=k[A+4>>2]|0;aa=F}while(0);Z=(i[(((c+2|0)>-1?(c+2|0)<(($-_|0)/12|0|0):0)?aa+((c+2|0)*12|0)|0:A+16|0)+8>>0]|0)!=0}while(0);k[a+44>>2]=k[b+4>>2];d=Z;return d|0}function oKa(a){a=a|0;var b=0;b=k[a+44>>2]|0;i[a+60>>0]=i[b+8>>0]|0;k[a+44>>2]=k[b+4>>2];return 1}function pKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0;b=r;r=r+64|0;c=k[a+112>>2]|0;if((c+-4|0)>>>0<(k[a+108>>2]|0)>>>0){d=k[a+120>>2]|0;if(!d){NJa(k[a+40>>2]|0,19);e=k[a+112>>2]|0}else{k[a+120>>2]=d+-1;d=LOa()|0;f=k[a+108>>2]|0;g=k[a+112>>2]|0;k[d+4084>>2]=6;k[d+4088>>2]=f;k[d+4092>>2]=g;k[a+108>>2]=d;k[a+112>>2]=d+4084;e=d+4084|0}h=e;j=e+-4|0}else{h=c;j=c+-4|0}k[h+-4>>2]=15;k[a+112>>2]=j;j=k[a+104>>2]|0;if((j|0)==(k[a+96>>2]|0)){qKa(a+96|0,50);l=k[a+104>>2]|0}else l=j;j=b;h=j+56|0;do{k[j>>2]=0;j=j+4|0}while((j|0)<(h|0));i[b+48>>0]=1;j=k[a+100>>2]|0;if(j>>>0>>0){k[j>>2]=0;k[j+4>>2]=0;rKa(j+8|0,b+8|0);i[j+32>>0]=0;k[j+36>>2]=0;k[j+40>>2]=0;k[j+44>>2]=0;i[j+48>>0]=1;l=k[a+100>>2]|0;k[j+52>>2]=0;k[a+100>>2]=l+56}else sKa(a+96|0,b);l=k[a+100>>2]|0;j=k[a+8>>2]|0;k[l+-52>>2]=k[(k[a+44>>2]|0)+4>>2];LJa(l+-48|0,j)|0;j=k[a+44>>2]|0;l=k[j+12>>2]|0;if((l|0)>0){tKa(a,l,a+64|0);m=k[a+44>>2]|0;n=m+8|0;o=k[n>>2]|0;k[a+44>>2]=o;p=o+8|0;q=k[p>>2]|0;s=k[a+100>>2]|0;t=s+-56|0;k[t>>2]=q;r=b;return 1}else{m=j;n=m+8|0;o=k[n>>2]|0;k[a+44>>2]=o;p=o+8|0;q=k[p>>2]|0;s=k[a+100>>2]|0;t=s+-56|0;k[t>>2]=q;r=b;return 1}return 0}function qKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0;c=r;r=r+32|0;d=k[a+8>>2]|0;e=k[a>>2]|0;if(((d-e|0)/56|0)>>>0>=b>>>0){r=c;return}f=k[a+4>>2]|0;k[c+12>>2]=0;k[c+16>>2]=a+8;if(!b)g=0;else g=EPa(b*56|0)|0;k[c>>2]=g;h=g+(((f-e|0)/56|0)*56|0)|0;k[c+8>>2]=h;k[c+4>>2]=h;k[c+12>>2]=g+(b*56|0);do if((f|0)!=(e|0)){b=f;g=h;while(1){j=b;b=b+-56|0;l=b;m=k[l+4>>2]|0;n=g+-56|0;k[n>>2]=k[l>>2];k[n+4>>2]=m;w=0;ua(1125,g+-48|0,j+-48|0);m=w;w=0;if(m&1){o=13;break}m=g+-24|0;i[m>>0]=0;k[g+-20>>2]=k[j+-20>>2];n=k[j+-16>>2]|0;k[g+-16>>2]=n;if(n)k[n+4>>2]=(k[n+4>>2]|0)+1;k[g+-12>>2]=k[j+-12>>2];n=i[j+-8>>0]|0;i[g+-8>>0]=n;if(!(n<<24>>24)){k[g+-36>>2]=k[j+-36>>2];k[g+-32>>2]=k[j+-32>>2];k[g+-28>>2]=k[j+-28>>2];i[m>>0]=i[j+-24>>0]|0}k[g+-4>>2]=k[j+-4>>2];p=(k[c+4>>2]|0)+-56|0;k[c+4>>2]=p;if((b|0)==(e|0)){o=11;break}else g=p}if((o|0)==11){q=p;s=k[a>>2]|0;t=k[a+4>>2]|0;u=k[a+8>>2]|0;break}else if((o|0)==13){g=Ib()|0;uKa(c);Hb(g|0)}}else{q=h;s=e;t=f;u=d}while(0);k[a>>2]=q;k[c+4>>2]=s;k[a+4>>2]=k[c+8>>2];k[c+8>>2]=t;k[a+8>>2]=k[c+12>>2];k[c+12>>2]=u;k[c>>2]=k[c+4>>2];uKa(c);r=c;return}function rKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a>>2]=0;k[a+4>>2]=0;k[a+8>>2]=0;c=k[b+4>>2]|0;d=k[b>>2]|0;if((c|0)==(d|0))return;if(!(((c-d|0)/12|0)>>>0>357913941?(w=0,sa(1641,a|0),e=w,w=0,e&1):0))f=4;if((f|0)==4?(w=0,f=ya(665,c-d|0)|0,e=w,w=0,!(e&1)):0){k[a+4>>2]=f;k[a>>2]=f;k[a+8>>2]=f+(((c-d|0)/12|0)*12|0);d=k[b>>2]|0;c=k[b+4>>2]|0;if((d|0)==(c|0))return;b=d;d=f;do{f=b;e=k[f+4>>2]|0;g=d;k[g>>2]=k[f>>2];k[g+4>>2]=e;i[d+8>>0]=i[b+8>>0]|0;d=(k[a+4>>2]|0)+12|0;k[a+4>>2]=d;b=b+12|0}while((b|0)!=(c|0));return}c=Ib()|0;b=k[a>>2]|0;if(!b)Hb(c|0);d=k[a+4>>2]|0;if((d|0)!=(b|0))k[a+4>>2]=d+(~(((d+-12-b|0)>>>0)/12|0)*12|0);GPa(b);Hb(c|0)}function sKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0;c=r;r=r+32|0;d=k[a>>2]|0;e=(((k[a+4>>2]|0)-d|0)/56|0)+1|0;if(e>>>0>76695844){CPa(a);f=k[a>>2]|0}else f=d;d=((k[a+8>>2]|0)-f|0)/56|0;if(d>>>0<38347922)g=d<<1>>>0>>0?e:d<<1;else g=76695844;d=((k[a+4>>2]|0)-f|0)/56|0;k[c+12>>2]=0;k[c+16>>2]=a+8;if(!g)h=0;else h=EPa(g*56|0)|0;k[c>>2]=h;f=h+(d*56|0)|0;k[c+8>>2]=f;k[c+4>>2]=f;k[c+12>>2]=h+(g*56|0);g=k[b+4>>2]|0;k[f>>2]=k[b>>2];k[f+4>>2]=g;w=0;ua(1125,h+(d*56|0)+8|0,b+8|0);g=w;w=0;if(g&1){g=Ib()|0;j=g;l=L;uKa(c);Hb(j|0)}g=h+(d*56|0)+32|0;i[g>>0]=0;k[h+(d*56|0)+36>>2]=k[b+36>>2];f=k[b+40>>2]|0;k[h+(d*56|0)+40>>2]=f;if(f)k[f+4>>2]=(k[f+4>>2]|0)+1;k[h+(d*56|0)+44>>2]=k[b+44>>2];f=i[b+48>>0]|0;i[h+(d*56|0)+48>>0]=f;if(!(f<<24>>24)){k[h+(d*56|0)+20>>2]=k[b+20>>2];k[h+(d*56|0)+24>>2]=k[b+24>>2];k[h+(d*56|0)+28>>2]=k[b+28>>2];i[g>>0]=i[b+32>>0]|0}k[h+(d*56|0)+52>>2]=k[b+52>>2];k[c+8>>2]=(k[c+8>>2]|0)+56;b=k[a>>2]|0;d=k[a+4>>2]|0;if((d|0)==(b|0)){m=c+4|0;n=k[c+4>>2]|0;o=b;p=d;k[a>>2]=n;k[m>>2]=o;q=k[c+8>>2]|0;k[a+4>>2]=q;k[c+8>>2]=p;s=k[a+8>>2]|0;t=k[c+12>>2]|0;k[a+8>>2]=t;k[c+12>>2]=s;u=k[m>>2]|0;k[c>>2]=u;uKa(c);r=c;return}h=d;d=k[c+4>>2]|0;while(1){g=h;h=h+-56|0;f=h;e=k[f+4>>2]|0;v=d+-56|0;k[v>>2]=k[f>>2];k[v+4>>2]=e;w=0;ua(1125,d+-48|0,g+-48|0);e=w;w=0;if(e&1){x=23;break}e=d+-24|0;i[e>>0]=0;k[d+-20>>2]=k[g+-20>>2];v=k[g+-16>>2]|0;k[d+-16>>2]=v;if(v)k[v+4>>2]=(k[v+4>>2]|0)+1;k[d+-12>>2]=k[g+-12>>2];v=i[g+-8>>0]|0;i[d+-8>>0]=v;if(!(v<<24>>24)){k[d+-36>>2]=k[g+-36>>2];k[d+-32>>2]=k[g+-32>>2];k[d+-28>>2]=k[g+-28>>2];i[e>>0]=i[g+-24>>0]|0}k[d+-4>>2]=k[g+-4>>2];y=(k[c+4>>2]|0)+-56|0;k[c+4>>2]=y;if((h|0)==(b|0)){x=21;break}else d=y}if((x|0)==21){m=c+4|0;n=y;o=k[a>>2]|0;p=k[a+4>>2]|0;k[a>>2]=n;k[m>>2]=o;q=k[c+8>>2]|0;k[a+4>>2]=q;k[c+8>>2]=p;s=k[a+8>>2]|0;t=k[c+12>>2]|0;k[a+8>>2]=t;k[c+12>>2]=s;u=k[m>>2]|0;k[c>>2]=u;uKa(c);r=c;return}else if((x|0)==23){x=Ib()|0;j=x;l=L;uKa(c);Hb(j|0)}}function tKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=k[a+112>>2]|0;do if((d+-24|0)>>>0<(k[a+108>>2]|0)>>>0){e=k[a+120>>2]|0;if(!e){NJa(k[a+40>>2]|0,19);f=k[a+112>>2]|0;break}else{k[a+120>>2]=e+-1;e=LOa()|0;g=k[a+108>>2]|0;h=k[a+112>>2]|0;k[e+4084>>2]=6;k[e+4088>>2]=g;k[e+4092>>2]=h;k[a+108>>2]=e;k[a+112>>2]=e+4084;f=e+4084|0;break}}else f=d;while(0);d=k[a+20>>2]|0;k[f+-24>>2]=5;e=f+-20|0;h=f+-4|0;k[h>>2]=d;k[f+-12>>2]=b;k[e>>2]=c;d=f+-16|0;k[d>>2]=k[c>>2];k[c>>2]=e;e=k[d>>2]|0;d=k[e+8>>2]|0;if((d|0)<(b|0)){k[f+-8>>2]=0;i=f+-24|0;k[a+112>>2]=i;return}a:do if(e){if((d|0)==(b|0))j=e;else{c=e;while(1){g=k[c+4>>2]|0;if(!g)break a;if((k[g+8>>2]|0)==(b|0)){j=g;break}else c=g}}k[f+-8>>2]=k[j+12>>2];k[h>>2]=k[j+16>>2];i=f+-24|0;k[a+112>>2]=i;return}while(0);k[f+-8>>2]=0;i=f+-24|0;k[a+112>>2]=i;return}function uKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=k[a+4>>2]|0;c=k[a+8>>2]|0;a:do if((c|0)!=(b|0)){d=c;while(1){k[a+8>>2]=d+-56;e=k[d+-16>>2]|0;if((e|0)!=0?(f=k[e+4>>2]|0,k[e+4>>2]=f+-1,(f|0)==1):0){w=0;sa(k[(k[e>>2]|0)+8>>2]|0,e|0);f=w;w=0;if(f&1){g=7;break}f=k[e+8>>2]|0;k[e+8>>2]=f+-1;if((f|0)==1?(w=0,sa(k[(k[e>>2]|0)+12>>2]|0,e|0),e=w,w=0,e&1):0){g=7;break}}e=k[d+-48>>2]|0;if(e){f=d+-44|0;h=k[f>>2]|0;if((h|0)!=(e|0))k[f>>2]=h+(~(((h+-12-e|0)>>>0)/12|0)*12|0);GPa(e)}d=k[a+8>>2]|0;if((d|0)==(b|0))break a}if((g|0)==7){d=Ib(0)|0;Zc(d)}}while(0);g=k[a>>2]|0;if(!g)return;GPa(g);return}function vKa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;f=r;r=r+48|0;g=k[a>>2]|0;h=k[b>>2]|0;if((g|0)==(h|0)){j=g;r=f;return j|0}b=k[d+12>>2]|0;l=k[c+8>>2]|0;a:do if(l){b:do if(e){m=g;n=0;o=c+32|0;while(1){k[f+36>>2]=m;p=i[o>>0]|0;q=m;if(!(p<<24>>24)){s=k[(k[b>>2]|0)+4>>2]|0;t=xc[k[(k[s>>2]|0)+20>>2]&1023](s,i[q>>0]|0)|0;s=i[o>>0]|0;if(t<<24>>24==s<<24>>24){u=q;v=20;break b}if(!(s<<24>>24)){s=o;while(1){t=s+1|0;if(!(i[t>>0]|0))s=t;else{x=t;break}}}else x=o}else{s=p;t=q;y=o;while(1){if((t|0)==(h|0)){z=s;A=y;break}B=k[(k[b>>2]|0)+4>>2]|0;C=xc[k[(k[B>>2]|0)+20>>2]&1023](B,i[t>>0]|0)|0;D=i[y>>0]|0;if(C<<24>>24!=D<<24>>24){E=t;F=y;v=5;break}y=y+1|0;C=t+1|0;k[f+36>>2]=C;s=i[y>>0]|0;if(!(s<<24>>24)){G=C;v=28;break b}else t=C}if((v|0)==5){v=0;if(!(D<<24>>24)){G=E;v=28;break b}else{z=D;A=F}}t=A+1|0;if(!(z<<24>>24))x=t;else{s=t;while(1){t=s+1|0;if(!(i[s>>0]|0)){x=t;break}else s=t}}}s=n+1|0;if(s>>>0>=(k[c+8>>2]|0)>>>0){H=x;break}m=k[a>>2]|0;n=s;o=x}I=k[a>>2]|0;J=H;break a}else{o=0;n=c+32|0;while(1){k[f+36>>2]=g;m=i[n>>0]|0;if(!(m<<24>>24)){if(!(i[g>>0]|0)){u=g;v=20;break b}else K=n;while(1){s=K+1|0;if(!(i[s>>0]|0))K=s;else{M=s;break}}}else{s=g;t=m;y=n;while(1){if((s|0)==(h|0)){N=s;O=y;v=27;break}if((i[s>>0]|0)!=t<<24>>24){P=y;break}y=y+1|0;q=s+1|0;k[f+36>>2]=q;t=i[y>>0]|0;if(!(t<<24>>24)){G=q;v=28;break b}else s=q}if((v|0)==27){v=0;if(!(i[O>>0]|0)){G=N;v=28;break b}else P=O}while(1){s=P+1|0;if(!(i[P>>0]|0)){M=s;break}else P=s}}o=o+1|0;if(o>>>0>=l>>>0){I=g;J=M;break a}else n=M}}while(0);if((v|0)==20){if(!(i[c+28>>0]|0))if((u|0)==(k[a>>2]|0)){k[a>>2]=u+1;Q=a}else Q=f+36|0;else Q=a;j=k[Q>>2]|0;r=f;return j|0}else if((v|0)==28){if(!(i[c+28>>0]|0))if((G|0)==(k[a>>2]|0)){k[a>>2]=G+1;R=a}else R=f+36|0;else R=a;j=k[R>>2]|0;r=f;return j|0}}else{I=g;J=c+32|0}while(0);g=i[I>>0]|0;if(e){e=k[(k[b>>2]|0)+4>>2]|0;S=xc[k[(k[e>>2]|0)+20>>2]&1023](e,g)|0}else S=g;c:do if(!(k[c+12>>2]|0)){if(k[c+16>>2]|0){k[f+24>>2]=0;k[f+24+4>>2]=0;k[f+24+8>>2]=0;T=f+24|0;U=J;v=66}}else{k[f+24>>2]=0;k[f+24+4>>2]=0;k[f+24+8>>2]=0;do if(!(k[d+20>>2]&2097152)){w=0;Ea(79,f+24|0,1,S|0)|0;g=w;w=0;if(g&1){V=Ib()|0;W=L;dTa(f+24|0);Hb(V|0)}}else{i[f+42>>0]=S;i[f+42+1>>0]=0;w=0;kb(210,f+12|0,k[b>>2]|0,f+42|0,f+42+1|0);g=w;w=0;if(g&1){V=Ib()|0;W=L;dTa(f+24|0);Hb(V|0)}if(!(i[f+24>>0]&1)){i[f+24+1>>0]=0;i[f+24>>0]=0}else{i[k[f+24+8>>2]>>0]=0;k[f+24+4>>2]=0}w=0;ua(708,f+24|0,0);g=w;w=0;if(g&1){g=Ib(0)|0;Zc(g)}else{k[f+24>>2]=k[f+12>>2];k[f+24+4>>2]=k[f+12+4>>2];k[f+24+8>>2]=k[f+12+8>>2];k[f+12>>2]=0;k[f+12+4>>2]=0;k[f+12+8>>2]=0;dTa(f+12|0);break}}while(0);if(k[c+12>>2]|0){g=0;e=J;d:while(1){e:do if(!(i[e>>0]|0)){I=i[f+24>>0]|0;switch(((I&1)==0?(I&255)>>>1:k[f+24+4>>2]|0)|0){case 0:{X=e;v=55;break e;break}case 1:break;default:{v=54;break e}}if(!(i[((I&1)==0?f+24+1|0:k[f+24+8>>2]|0)>>0]|0)){X=e;v=55}else v=54}else v=54;while(0);if((v|0)==54){v=0;if((zTa(f+24|0,e)|0)>-1){X=e;v=55}else{I=e;while(1){R=I+1|0;if(!(i[R>>0]|0)){Y=I;break}else I=R}Z=Y+2|0}}if((v|0)==55){while(1){v=0;I=X+1|0;if(!(i[I>>0]|0)){_=X;break}else{X=I;v=55}}f:do if(!(i[_+2>>0]|0)){I=i[f+24>>0]|0;switch(((I&1)==0?(I&255)>>>1:k[f+24+4>>2]|0)|0){case 0:{break d;break}case 1:break;default:break f}if(!(i[((I&1)==0?f+24+1|0:k[f+24+8>>2]|0)>>0]|0))break d}while(0);if((zTa(f+24|0,_+2|0)|0)<1)break;else Z=_+2|0}while(1){I=Z+1|0;if(!(i[I>>0]|0)){$=Z;break}else Z=I}g=g+1|0;if(g>>>0>=(k[c+12>>2]|0)>>>0){T=f+24|0;U=$+2|0;v=66;break c}else e=$+2|0}e=k[a>>2]|0;if(!(i[c+28>>0]|0)){k[a>>2]=e+1;aa=f+24|0;ba=e+1|0;v=85}else{aa=f+24|0;ba=e;v=85}}else{T=f+24|0;U=J;v=66}}while(0);g:do if((v|0)==66){if(k[c+16>>2]|0){i[f+40>>0]=S;i[f+40+1>>0]=0;w=0;kb(211,f|0,k[b>>2]|0,f+40|0,f+40+1|0);J=w;w=0;if(J&1){V=Ib()|0;W=L;dTa(f+24|0);Hb(V|0)}if(!(i[T>>0]&1)){i[f+24+1>>0]=0;i[T>>0]=0}else{i[k[f+24+8>>2]>>0]=0;k[f+24+4>>2]=0}w=0;ua(708,f+24|0,0);J=w;w=0;if(J&1){J=Ib(0)|0;Zc(J)};k[T>>2]=k[f>>2];k[T+4>>2]=k[f+4>>2];k[T+8>>2]=k[f+8>>2];k[f>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;dTa(f);h:do if(k[c+16>>2]|0){J=0;$=U;i:while(1){j:do if(!(i[$>>0]|0)){Z=i[T>>0]|0;switch(((Z&1)==0?(Z&255)>>>1:k[f+24+4>>2]|0)|0){case 0:{break i;break}case 1:break;default:break j}if(!(i[((Z&1)==0?f+24+1|0:k[f+24+8>>2]|0)>>0]|0))break i}while(0);if(!(zTa(f+24|0,$)|0))break;else ca=$;while(1){Z=ca+1|0;if(!(i[Z>>0]|0)){da=ca;break}else ca=Z}J=J+1|0;if(J>>>0>=(k[c+16>>2]|0)>>>0)break h;else $=da+2|0}$=k[a>>2]|0;if(!(i[c+28>>0]|0)){k[a>>2]=$+1;ea=$+1|0}else ea=$;aa=T;ba=ea;v=85;break g}while(0)}dTa(f+24|0)}while(0);if((v|0)==85){dTa(f+24|0);j=ba;r=f;return j|0}if(wKa(b,S,k[c+20>>2]|0)|0){ba=k[a>>2]|0;if(i[c+28>>0]|0){j=ba;r=f;return j|0}k[a>>2]=ba+1;j=ba+1|0;r=f;return j|0}ba=k[c+24>>2]|0;if((ba|0)!=0?!(wKa(b,S,ba)|0):0){ba=k[a>>2]|0;if(i[c+28>>0]|0){j=ba;r=f;return j|0}k[a>>2]=ba+1;j=ba+1|0;r=f;return j|0}ba=k[a>>2]|0;if(!(i[c+28>>0]|0)){j=ba;r=f;return j|0}k[a>>2]=ba+1;j=ba+1|0;r=f;return j|0}function wKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(b<<24>>24>-1&(c&32518|0)!=0?(j[(k[(k[(k[a>>2]|0)+4>>2]|0)+8>>2]|0)+(b<<24>>24<<1)>>1]&(c&32518))<<16>>16!=0:0){d=1;return d|0}if(b<<24>>24==95&(c&33554432|0)!=0){d=1;return d|0}if(b<<24>>24>-1&(c&16777216|0)!=0?(j[(k[(k[(k[a>>2]|0)+4>>2]|0)+8>>2]|0)+(b<<24>>24<<1)>>1]&8192)!=0:0){if((b+-10&255)>=4){d=1;return d|0}if(!(13>>>(b+-10&15)&1)){d=1;return d|0}}if(c&268435456){if((b+-10&255)<4)e=(13>>>(b+-10&15)&1)!=0;else e=0;if(b<<24>>24==11|e){d=1;return d|0}}if(!(b<<24>>24>-1&(c&134217728|0)!=0)){d=0;return d|0}if(!(j[(k[(k[(k[a>>2]|0)+4>>2]|0)+8>>2]|0)+(b<<24>>24<<1)>>1]&8192)){d=0;return d|0}if((b+-10&255)>=4){f=0;g=b<<24>>24==11;h=g|f;i=h^1;return i|0}f=(13>>>(b+-10&15)&1)!=0;g=b<<24>>24==11;h=g|f;i=h^1;return i|0}function xKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0;b=k[a+48>>2]|0;if(b&128){c=yKa(a)|0;return c|0}d=k[a+44>>2]|0;if(!((i[a+92>>0]&i[(k[d+4>>2]|0)+8>>0])<<24>>24)){c=yKa(a)|0;return c|0}if(i[d+285>>0]|0)if(!(b&1024))e=1;else e=(i[a+63>>0]|0)!=0;else e=0;b=k[a+20>>2]|0;f=k[a+16>>2]|0;g=k[(e?d+276|0:d+272|0)>>2]|0;h=g>>>0<(f-b|0)>>>0?g:f-b|0;g=k[d+272>>2]|0;if(g>>>0>h>>>0){k[a+20>>2]=f;c=0;return c|0}k[a+20>>2]=b+h;if(e){if((i[d+284>>0]|0)!=0?h>>>0<(k[d+276>>2]|0)>>>0:0)k[a+24>>2]=b+h;if((h|0)!=(g|0)){g=k[a+112>>2]|0;do if((g+-16|0)>>>0<(k[a+108>>2]|0)>>>0){e=k[a+120>>2]|0;if(!e){NJa(k[a+40>>2]|0,19);j=k[a+112>>2]|0;break}else{k[a+120>>2]=e+-1;e=LOa()|0;m=k[a+108>>2]|0;n=k[a+112>>2]|0;k[e+4084>>2]=6;k[e+4088>>2]=m;k[e+4092>>2]=n;k[a+108>>2]=e;k[a+112>>2]=e+4084;j=e+4084|0;break}}else j=g;while(0);k[j+-16>>2]=7;k[j+-12>>2]=h;k[j+-8>>2]=d;k[j+-4>>2]=b+h;k[a+112>>2]=j+-16}k[a+44>>2]=k[d+8>>2];c=1;return c|0}else{if(h>>>0<(k[d+276>>2]|0)>>>0){j=k[a+112>>2]|0;do if((j+-16|0)>>>0<(k[a+108>>2]|0)>>>0){g=k[a+120>>2]|0;if(!g){NJa(k[a+40>>2]|0,19);o=k[a+112>>2]|0;break}else{k[a+120>>2]=g+-1;g=LOa()|0;e=k[a+108>>2]|0;n=k[a+112>>2]|0;k[g+4084>>2]=6;k[g+4088>>2]=e;k[g+4092>>2]=n;k[a+108>>2]=g;k[a+112>>2]=g+4084;o=g+4084|0;break}}else o=j;while(0);k[o+-16>>2]=9;k[o+-12>>2]=h;k[o+-8>>2]=d;k[o+-4>>2]=b+h;k[a+112>>2]=o+-16;p=k[a+20>>2]|0;q=k[a+16>>2]|0}else{p=b+h|0;q=f}k[a+44>>2]=k[d+8>>2];if((p|0)==(q|0))r=k[d+268>>2]&2;else r=(l[d+12+(l[p>>0]|0)>>0]|0)>>>1&1;c=(r|0)!=0;return c|0}return 0}function yKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;b=k[a+44>>2]|0;c=k[b+4>>2]|0;d=k[b+272>>2]|0;a:do if(d){e=k[a+16>>2]|0;f=k[a+20>>2]|0;g=0;while(1){k[a+44>>2]=c;if((f|0)==(e|0)){h=0;j=40;break}m=i[f>>0]|0;if((m+-10&255)<4){if((13>>>(m+-10&15)&1)!=0?(i[c+8>>0]&i[a+92>>0])<<24>>24==0:0){h=0;j=40;break}}else if(m<<24>>24==0?(k[a+48>>2]&128|0)!=0:0){h=0;j=40;break}k[a+44>>2]=k[c+4>>2];f=f+1|0;k[a+20>>2]=f;m=g+1|0;if(m>>>0>=d>>>0){n=m;break a}else g=m}if((j|0)==40)return h|0}else n=0;while(0);do if(i[b+285>>0]|0){j=k[a+48>>2]|0;if((j&1024|0)!=0?(i[a+63>>0]|0)==0:0)break;g=k[b+276>>2]|0;b:do if(n>>>0>>0){f=k[a+16>>2]|0;e=k[a+20>>2]|0;m=n;while(1){k[a+44>>2]=c;if((e|0)==(f|0)){o=m;break b}p=i[e>>0]|0;if((p+-10&255)<4){if((13>>>(p+-10&15)&1)!=0?(i[c+8>>0]&i[a+92>>0])<<24>>24==0:0){o=m;break b}}else if(!(p<<24>>24!=0|(j&128|0)==0)){o=m;break b}k[a+44>>2]=k[c+4>>2];e=e+1|0;k[a+20>>2]=e;p=m+1|0;if(p>>>0>=g>>>0){o=p;break}else m=p}}else o=n;while(0);if((i[b+284>>0]|0)!=0&o>>>0>>0)k[a+24>>2]=k[a+20>>2];if((o|0)!=(d|0)){j=k[a+20>>2]|0;m=k[a+112>>2]|0;do if((m+-16|0)>>>0<(k[a+108>>2]|0)>>>0){e=k[a+120>>2]|0;if(!e){NJa(k[a+40>>2]|0,19);q=k[a+112>>2]|0;break}else{k[a+120>>2]=e+-1;e=LOa()|0;f=k[a+108>>2]|0;p=k[a+112>>2]|0;k[e+4084>>2]=6;k[e+4088>>2]=f;k[e+4092>>2]=p;k[a+108>>2]=e;k[a+112>>2]=e+4084;q=e+4084|0;break}}else q=m;while(0);k[q+-16>>2]=7;k[q+-12>>2]=o;k[q+-8>>2]=b;k[q+-4>>2]=j;k[a+112>>2]=q+-16}k[a+44>>2]=k[b+8>>2];h=1;return h|0}while(0);if(n>>>0<(k[b+276>>2]|0)>>>0){q=k[a+20>>2]|0;o=k[a+112>>2]|0;do if((o+-16|0)>>>0<(k[a+108>>2]|0)>>>0){d=k[a+120>>2]|0;if(!d){NJa(k[a+40>>2]|0,19);r=k[a+112>>2]|0;break}else{k[a+120>>2]=d+-1;d=LOa()|0;c=k[a+108>>2]|0;m=k[a+112>>2]|0;k[d+4084>>2]=6;k[d+4088>>2]=c;k[d+4092>>2]=m;k[a+108>>2]=d;k[a+112>>2]=d+4084;r=d+4084|0;break}}else r=o;while(0);k[r+-16>>2]=8;k[r+-12>>2]=n;k[r+-8>>2]=b;k[r+-4>>2]=q;k[a+112>>2]=r+-16}k[a+44>>2]=k[b+8>>2];r=k[a+20>>2]|0;if((r|0)==(k[a+16>>2]|0))s=k[b+268>>2]&2;else s=(l[(l[r>>0]|0)+(b+12)>>0]|0)>>>1&1;h=(s|0)!=0;return h|0}function zKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0;e=k[a+112>>2]|0;do if((e+-56|0)>>>0<(k[a+108>>2]|0)>>>0){f=k[a+120>>2]|0;if(!f){NJa(k[a+40>>2]|0,19);g=k[a+112>>2]|0;break}else{k[a+120>>2]=f+-1;f=LOa()|0;h=k[a+108>>2]|0;j=k[a+112>>2]|0;k[f+4084>>2]=6;k[f+4088>>2]=h;k[f+4092>>2]=j;k[a+108>>2]=f;k[a+112>>2]=f+4084;g=f+4084|0;break}}else g=e;while(0);k[g+-56>>2]=14;k[g+-52>>2]=b;k[g+-48>>2]=c;rKa(g+-44|0,d);c=g+-20|0;i[c>>0]=0;k[g+-16>>2]=k[d+28>>2];b=k[d+32>>2]|0;k[g+-12>>2]=b;if(b)k[b+4>>2]=(k[b+4>>2]|0)+1;k[g+-8>>2]=k[d+36>>2];b=i[d+40>>0]|0;i[g+-4>>0]=b;if(b<<24>>24){l=g+-56|0;k[a+112>>2]=l;return}k[g+-32>>2]=k[d+12>>2];k[g+-28>>2]=k[d+16>>2];k[g+-24>>2]=k[d+20>>2];i[c>>0]=i[d+24>>0]|0;l=g+-56|0;k[a+112>>2]=l;return}function AKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!(k[b+276>>2]|0)){d=fPa(c)|0;aTa(a,d,cRa(d)|0);return}d=k[b+272>>2]|0;if(d){e=b+272|0;f=d;a:while(1){d=f;while(1){if((k[d+16>>2]|0)>=(c|0)){g=d;break}d=k[d+4>>2]|0;if(!d){h=e;break a}}f=k[g>>2]|0;if(!f){h=g;break}else e=g}if((h|0)!=(b+272|0)?(k[h+16>>2]|0)<=(c|0):0){$Sa(a,h+20|0);return}}h=fPa(c)|0;aTa(a,h,cRa(h)|0);return}function BKa(a,b){a=a|0;b=b|0;k[a+44>>2]=0;return 0}function CKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=k[a+112>>2]|0;if(b){d=c+20|0;k[a+112>>2]=d;return 1}b=k[c+8>>2]|0;e=k[c+4>>2]|0;f=k[a+8>>2]|0;k[(k[f>>2]|0)+((e+2|0)*12|0)>>2]=b;if(!e){k[(k[f>>2]|0)+16>>2]=b;b=k[f>>2]|0;i[b+20>>0]=(k[b+12>>2]|0)!=(k[b+16>>2]|0)&1}b=k[a+8>>2]|0;f=k[c+12>>2]|0;e=k[c+4>>2]|0;g=i[c+16>>0]|0;if(e)k[b+36>>2]=e;k[(k[b>>2]|0)+((e+2|0)*12|0)+4>>2]=f;i[(k[b>>2]|0)+((e+2|0)*12|0)+8>>0]=g;d=c+20|0;k[a+112>>2]=d;return 1}function DKa(a,b){a=a|0;b=b|0;k[a+112>>2]=(k[a+112>>2]|0)+4;k[a+44>>2]=0;return 0}function EKa(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+112>>2]|0;k[a+44>>2]=k[c+4>>2];k[a+20>>2]=k[c+8>>2];d=i[c+12>>0]|0;i[a+116>>0]=(d<<24>>24==0^b)&1;k[a+112>>2]=c+16;return (b&1|0)!=(d&255|0)|0}function FKa(a,b){a=a|0;b=b|0;var c=0;c=k[a+112>>2]|0;if(!b){k[a+44>>2]=k[c+4>>2];k[a+20>>2]=k[c+8>>2]}k[a+112>>2]=c+12;return b|0}function GKa(a,b){a=a|0;b=b|0;var c=0;b=k[a+112>>2]|0;c=k[b+8>>2]|0;if(c)k[k[b+4>>2]>>2]=c;k[a+112>>2]=b+24;return 1}function HKa(a,b){a=a|0;b=b|0;var c=0;b=k[a+112>>2]|0;c=k[a+108>>2]|0;k[a+108>>2]=k[b+4>>2];k[a+112>>2]=k[b+8>>2];MOa(c);return 1}function IKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;c=k[a+112>>2]|0;if(b){k[a+112>>2]=c+16;d=1;return d|0}b=k[c+8>>2]|0;e=k[b+272>>2]|0;f=(k[c+4>>2]|0)-e|0;if((k[a+48>>2]&8192|0)!=0?(k[a+20>>2]|0)==(k[a+16>>2]|0):0)i[a+61>>0]=1;g=k[c+12>>2]|0;k[a+20>>2]=g;h=g;g=k[a+52>>2]|0;j=f;while(1){m=h+-1|0;k[a+20>>2]=m;n=j+-1|0;g=g+1|0;k[a+52>>2]=g;if(!n){o=9;break}if(i[(l[m>>0]|0)+(b+12)>>0]&2){o=10;break}else{h=m;j=n}}if((o|0)==9){k[a+112>>2]=c+16;if(!(i[(l[m>>0]|0)+(b+12)>>0]&2)){d=1;return d|0}}else if((o|0)==10){k[c+4>>2]=e+n;k[c+12>>2]=m}k[a+44>>2]=k[b+8>>2];d=0;return d|0}function JKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;c=k[a+112>>2]|0;if(b){k[a+112>>2]=c+16;d=1;return d|0}b=k[c+8>>2]|0;e=k[c+4>>2]|0;f=k[b+4>>2]|0;k[a+44>>2]=f;g=k[c+12>>2]|0;k[a+20>>2]=g;h=k[a+16>>2]|0;do if((g|0)==(h|0)){j=g;m=g;n=e}else{o=f;p=g;q=e;while(1){r=o;s=o;if((p|0)==(h|0))break;t=i[p>>0]|0;if((t+-10&255)<4){if((13>>>(t+-10&15)&1)!=0?(i[r+8>>0]&i[a+92>>0])<<24>>24==0:0)break}else if(t<<24>>24==0?(k[a+48>>2]&128|0)!=0:0)break;k[a+44>>2]=k[s+4>>2];s=p+1|0;k[a+20>>2]=s;t=q+1|0;k[a+52>>2]=(k[a+52>>2]|0)+1;o=k[b+4>>2]|0;k[a+44>>2]=o;if((s|0)==(h|0)?1:t>>>0>=(k[b+276>>2]|0)>>>0){u=s;v=t;w=14;break}if(i[(l[s>>0]|0)+(b+12)>>0]&2){u=s;v=t;w=14;break}else{p=s;q=t}}if((w|0)==14){j=u;m=u;n=v;break}k[a+112>>2]=c+16;d=1;return d|0}while(0);do if((j|0)==(h|0)){k[a+112>>2]=c+16;if(((j|0)==(h|0)?(k[a+48>>2]&8192|0)!=0:0)?(h|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;if(!(k[b+268>>2]&2)){d=1;return d|0}}else{if((n|0)!=(k[b+276>>2]|0)){k[c+4>>2]=n;k[c+12>>2]=m;break}k[a+112>>2]=c+16;if(!(i[(l[j>>0]|0)+(b+12)>>0]&2)){d=1;return d|0}}while(0);k[a+44>>2]=k[b+8>>2];d=0;return d|0}function KKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;c=k[a+112>>2]|0;if(b){k[a+112>>2]=c+16;d=1;return d|0}b=k[c+8>>2]|0;e=k[c+4>>2]|0;f=k[c+12>>2]|0;k[a+20>>2]=f;g=k[a+16>>2]|0;if((f|0)==(g|0)){h=f;j=f;m=e}else{n=k[b+276>>2]|0;o=f;f=k[a+52>>2]|0;p=e;while(1){e=o+1|0;k[a+20>>2]=e;q=p+1|0;f=f+1|0;k[a+52>>2]=f;if(q>>>0>=n>>>0|(e|0)==(g|0)){r=e;s=q;break}if(i[(l[e>>0]|0)+(b+12)>>0]&2){r=e;s=q;break}else{o=e;p=q}}h=r;j=r;m=s}if((i[b+284>>0]|0)!=0?m>>>0<(k[b+276>>2]|0)>>>0:0)k[a+24>>2]=h;do if((j|0)==(g|0)){k[a+112>>2]=c+16;if(((j|0)==(g|0)?(k[a+48>>2]&8192|0)!=0:0)?(g|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;if(!(k[b+268>>2]&2)){d=1;return d|0}}else{if((m|0)!=(k[b+276>>2]|0)){k[c+4>>2]=m;k[c+12>>2]=h;break}k[a+112>>2]=c+16;if(!(i[(l[j>>0]|0)+(b+12)>>0]&2)){d=1;return d|0}}while(0);k[a+44>>2]=k[b+8>>2];d=0;return d|0}function LKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;c=k[a+112>>2]|0;if(b){k[a+112>>2]=c+16;d=1;return d|0}b=k[c+8>>2]|0;e=k[c+4>>2]|0;f=k[b+4>>2]|0;k[a+44>>2]=f;g=i[f+12>>0]|0;f=k[c+12>>2]|0;k[a+20>>2]=f;do if((f|0)==(k[a+16>>2]|0)){h=f;j=f;m=e}else{n=i[f>>0]|0;o=e;while(1){if(!(i[a+60>>0]|0))p=n;else{q=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;p=xc[k[(k[q>>2]|0)+20>>2]&1023](q,n)|0}if(p<<24>>24!=g<<24>>24)break;q=o+1|0;r=(k[a+20>>2]|0)+1|0;k[a+20>>2]=r;k[a+52>>2]=(k[a+52>>2]|0)+1;k[a+44>>2]=k[b+4>>2];if(q>>>0>=(k[b+276>>2]|0)>>>0){s=q;t=r;u=12;break}if((r|0)==(k[a+16>>2]|0)){s=q;t=r;u=12;break}n=i[r>>0]|0;if(i[(n&255)+(b+12)>>0]&2){s=q;t=r;u=12;break}else o=q}if((u|0)==12){h=t;j=t;m=s;break}k[a+112>>2]=(k[a+112>>2]|0)+16;d=1;return d|0}while(0);if((i[b+284>>0]|0)!=0?m>>>0<(k[b+276>>2]|0)>>>0:0)k[a+24>>2]=h;do if((j|0)==(k[a+16>>2]|0)){k[a+112>>2]=(k[a+112>>2]|0)+16;if((k[a+48>>2]&8192|0)!=0?(j|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;if(!(k[b+268>>2]&2)){d=1;return d|0}}else{if((m|0)!=(k[b+276>>2]|0)){k[c+4>>2]=m;k[c+12>>2]=h;break}k[a+112>>2]=(k[a+112>>2]|0)+16;if(!(i[(l[j>>0]|0)+(b+12)>>0]&2)){d=1;return d|0}}while(0);k[a+44>>2]=k[b+8>>2];d=0;return d|0}function MKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;c=k[a+112>>2]|0;if(b){k[a+112>>2]=c+16;d=1;return d|0}b=k[c+8>>2]|0;e=k[c+4>>2]|0;k[a+44>>2]=k[b+4>>2];f=k[b+4>>2]|0;g=k[c+12>>2]|0;k[a+20>>2]=g;do if((g|0)==(k[a+16>>2]|0)){h=g;j=g;m=e}else{n=i[g>>0]|0;o=e;while(1){if(!(i[a+60>>0]|0))p=n;else{q=k[(k[k[a+40>>2]>>2]|0)+4>>2]|0;p=xc[k[(k[q>>2]|0)+20>>2]&1023](q,n)|0}if(!(i[(p&255)+(f+8)>>0]|0))break;q=o+1|0;r=(k[a+20>>2]|0)+1|0;k[a+20>>2]=r;k[a+52>>2]=(k[a+52>>2]|0)+1;k[a+44>>2]=k[b+4>>2];if(q>>>0>=(k[b+276>>2]|0)>>>0){s=q;t=r;u=12;break}if((r|0)==(k[a+16>>2]|0)){s=q;t=r;u=12;break}n=i[r>>0]|0;if(i[(n&255)+(b+12)>>0]&2){s=q;t=r;u=12;break}else o=q}if((u|0)==12){h=t;j=t;m=s;break}k[a+112>>2]=(k[a+112>>2]|0)+16;d=1;return d|0}while(0);if((i[b+284>>0]|0)!=0?m>>>0<(k[b+276>>2]|0)>>>0:0)k[a+24>>2]=h;do if((j|0)==(k[a+16>>2]|0)){k[a+112>>2]=(k[a+112>>2]|0)+16;if((k[a+48>>2]&8192|0)!=0?(j|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;if(!(k[b+268>>2]&2)){d=1;return d|0}}else{if((m|0)!=(k[b+276>>2]|0)){k[c+4>>2]=m;k[c+12>>2]=h;break}k[a+112>>2]=(k[a+112>>2]|0)+16;if(!(i[(l[j>>0]|0)+(b+12)>>0]&2)){d=1;return d|0}}while(0);k[a+44>>2]=k[b+8>>2];d=0;return d|0}function NKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0;c=r;r=r+16|0;d=k[a+112>>2]|0;if(b){k[a+112>>2]=d+16;e=1;r=c;return e|0}b=k[d+8>>2]|0;f=k[d+4>>2]|0;g=k[b+4>>2]|0;k[a+44>>2]=g;h=k[d+12>>2]|0;k[a+20>>2]=h;j=k[a+16>>2]|0;a:do if((h|0)==(j|0)){m=h;n=h;o=f}else{p=j;q=h;s=f;while(1){k[c+4>>2]=q;k[c>>2]=p;t=k[k[a+36>>2]>>2]|0;u=(i[a+60>>0]|0)!=0;k[c+8>>2]=k[c+4>>2];k[c+12>>2]=k[c>>2];v=vKa(c+8|0,c+12|0,g,t,u)|0;u=k[a+20>>2]|0;if((u|0)==(v|0))break;k[a+20>>2]=u+1;v=s+1|0;k[a+52>>2]=(k[a+52>>2]|0)+1;k[a+44>>2]=k[b+4>>2];if(v>>>0>=(k[b+276>>2]|0)>>>0){m=u+1|0;n=u+1|0;o=v;break a}p=k[a+16>>2]|0;if((u+1|0)==(p|0)){m=u+1|0;n=u+1|0;o=v;break a}if(i[(l[u+1>>0]|0)+(b+12)>>0]&2){m=u+1|0;n=u+1|0;o=v;break a}else{q=u+1|0;s=v}}k[a+112>>2]=(k[a+112>>2]|0)+16;e=1;r=c;return e|0}while(0);if((i[b+284>>0]|0)!=0?o>>>0<(k[b+276>>2]|0)>>>0:0)k[a+24>>2]=m;do if((n|0)==(k[a+16>>2]|0)){k[a+112>>2]=(k[a+112>>2]|0)+16;if((k[a+48>>2]&8192|0)!=0?(n|0)!=(k[a+28>>2]|0):0)i[a+61>>0]=1;if(!(k[b+268>>2]&2)){e=1;r=c;return e|0}}else{if((o|0)!=(k[b+276>>2]|0)){k[d+4>>2]=o;k[d+12>>2]=m;break}k[a+112>>2]=(k[a+112>>2]|0)+16;if(!(i[(l[n>>0]|0)+(b+12)>>0]&2)){e=1;r=c;return e|0}}while(0);k[a+44>>2]=k[b+8>>2];e=0;r=c;return e|0}function OKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a+112>>2]|0;if(b){d=c+12|0;k[a+112>>2]=d;return b|0}k[a+20>>2]=k[c+8>>2];k[a+44>>2]=k[c+4>>2];e=(k[a+64>>2]|0)+12|0;k[e>>2]=(k[e>>2]|0)+1;d=c+12|0;k[a+112>>2]=d;return b|0}function PKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+64|0;d=k[a+112>>2]|0;if(!b){b=c;e=b+56|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(e|0));i[c+48>>0]=1;b=k[a+100>>2]|0;if(b>>>0<(k[a+104>>2]|0)>>>0){k[b>>2]=0;k[b+4>>2]=0;rKa(b+8|0,c+8|0);i[b+32>>0]=0;k[b+36>>2]=0;k[b+40>>2]=0;k[b+44>>2]=0;i[b+48>>0]=1;e=k[a+100>>2]|0;k[b+52>>2]=0;k[a+100>>2]=e+56}else sKa(a+96|0,c);e=k[a+100>>2]|0;b=k[d+8>>2]|0;k[e+-56>>2]=k[d+4>>2];k[e+-52>>2]=b;LJa(e+-48|0,d+12|0)|0}e=k[d+44>>2]|0;if((e|0)!=0?(b=k[e+4>>2]|0,k[e+4>>2]=b+-1,(b|0)==1):0){w=0;sa(k[(k[e>>2]|0)+8>>2]|0,e|0);b=w;w=0;if(b&1){f=Ib(0)|0;g=L;Zc(f)}b=k[e+8>>2]|0;k[e+8>>2]=b+-1;if((b|0)==1?(w=0,sa(k[(k[e>>2]|0)+12>>2]|0,e|0),e=w,w=0,e&1):0){f=Ib(0)|0;g=L;Zc(f)}}f=k[d+12>>2]|0;if(!f){h=d+56|0;k[a+112>>2]=h;r=c;return 1}g=k[d+16>>2]|0;if((g|0)!=(f|0))k[d+16>>2]=g+(~(((g+-12-f|0)>>>0)/12|0)*12|0);GPa(f);h=d+56|0;k[a+112>>2]=h;r=c;return 1}function QKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=k[a+112>>2]|0;if(b){d=c+4|0;k[a+112>>2]=d;return 1}b=k[a+100>>2]|0;e=b;while(1){k[a+100>>2]=e+-56;f=k[e+-16>>2]|0;if((f|0)!=0?(g=k[f+4>>2]|0,k[f+4>>2]=g+-1,(g|0)==1):0){w=0;sa(k[(k[f>>2]|0)+8>>2]|0,f|0);g=w;w=0;if(g&1){h=8;break}g=k[f+8>>2]|0;k[f+8>>2]=g+-1;if((g|0)==1?(w=0,sa(k[(k[f>>2]|0)+12>>2]|0,f|0),f=w,w=0,f&1):0){h=8;break}}f=k[e+-48>>2]|0;if(f){g=e+-44|0;i=k[g>>2]|0;if((i|0)!=(f|0))k[g>>2]=i+(~(((i+-12-f|0)>>>0)/12|0)*12|0);GPa(f)}e=k[a+100>>2]|0;if((e|0)==(b+-56|0)){h=14;break}}if((h|0)==8){b=Ib(0)|0;Zc(b)}else if((h|0)==14){d=c+4|0;k[a+112>>2]=d;return 1}return 0}function RKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,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;e=k[a>>2]|0;f=e+((((k[b>>2]|0)-e|0)/12|0)*12|0)|0;if(!c){g=f;return g|0}b=k[a+8>>2]|0;h=k[a+4>>2]|0;if(((b-h|0)/12|0)>>>0>=c>>>0){if(((h-f|0)/12|0)>>>0>>0){j=c-((h-f|0)/12|0)|0;l=h;while(1){m=k[d+4>>2]|0;n=l;k[n>>2]=k[d>>2];k[n+4>>2]=m;i[l+8>>0]=i[d+8>>0]|0;o=(k[a+4>>2]|0)+12|0;k[a+4>>2]=o;j=j+-1|0;if(!j)break;else l=o}if((h|0)==(f|0)){g=f;return g|0}else{p=(h-f|0)/12|0;q=o}}else{p=c;q=h}o=f+(((q-(f+(c*12|0))|0)/12|0)*12|0)|0;if(o>>>0>>0){l=q;j=o;do{m=j;n=k[m+4>>2]|0;r=l;k[r>>2]=k[m>>2];k[r+4>>2]=n;i[l+8>>0]=i[j+8>>0]|0;j=j+12|0;l=(k[a+4>>2]|0)+12|0;k[a+4>>2]=l}while(j>>>0>>0)}if((q|0)!=(f+(c*12|0)|0)){j=o;o=q;do{q=o;o=o+-12|0;l=j;j=j+-12|0;k[o>>2]=k[j>>2];k[q+-8>>2]=k[l+-8>>2];i[q+-4>>0]=i[l+-4>>0]|0}while((j|0)!=(f|0))}if(f>>>0>d>>>0)s=d;else s=(k[a+4>>2]|0)>>>0>d>>>0?d+(c*12|0)|0:d;j=s+4|0;o=s+8|0;l=p;p=f;while(1){k[p>>2]=k[s>>2];k[p+4>>2]=k[j>>2];i[p+8>>0]=i[o>>0]|0;l=l+-1|0;if(!l){g=f;break}else p=p+12|0}return g|0}if((((h-e|0)/12|0)+c|0)>>>0>357913941){CPa(a);t=k[a>>2]|0;u=k[a+8>>2]|0}else{t=e;u=b}b=(u-t|0)/12|0;if(b>>>0<178956970){u=b<<1>>>0<(((h-e|0)/12|0)+c|0)>>>0?((h-e|0)/12|0)+c|0:b<<1;b=(f-t|0)/12|0;if(!u){v=0;w=0;x=b}else{y=u;z=b;A=20}}else{y=357913941;z=(f-t|0)/12|0;A=20}if((A|0)==20){v=y;w=EPa(y*12|0)|0;x=z}z=w+(x*12|0)|0;x=w+(v*12|0)|0;v=c;c=z;w=z;while(1){y=k[d+4>>2]|0;A=c;k[A>>2]=k[d>>2];k[A+4>>2]=y;i[c+8>>0]=i[d+8>>0]|0;B=w;v=v+-1|0;if(!v)break;else{c=B+12|0;w=B+12|0}}w=k[a>>2]|0;if((w|0)==(f|0)){C=z;D=z}else{c=f;v=z;d=z;while(1){y=c;c=c+-12|0;A=c;t=k[A+4>>2]|0;b=v+-12|0;k[b>>2]=k[A>>2];k[b+4>>2]=t;i[v+-4>>0]=i[y+-4>>0]|0;y=d+-12|0;if((c|0)==(w|0)){C=y;D=y;break}else{v=y;d=y}}}d=k[a+4>>2]|0;if((d|0)==(f|0)){E=C;F=B+12|0}else{C=f;f=B+12|0;v=B;w=B+12|0;while(1){B=C;c=k[B+4>>2]|0;y=f;k[y>>2]=k[B>>2];k[y+4>>2]=c;i[v+20>>0]=i[C+8>>0]|0;C=C+12|0;v=w;f=v+12|0;c=f;if((C|0)==(d|0)){E=D;F=c;break}else w=c}}w=k[a>>2]|0;k[a>>2]=E;k[a+4>>2]=F;k[a+8>>2]=x;if(!w){g=z;return g|0}GPa(w);g=z;return g|0}function SKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=r;r=r+16|0;e=k[b>>2]|0;if(!e){USa(d,268912);k[d>>2]=45812;w=0;sa(1695,d|0);f=w;w=0;g=Ib()|0;h=L;SPa(d);Hb(g|0)}if(k[e+24>>2]|0){USa(d,268912);k[d>>2]=45812;w=0;sa(1695,d|0);f=w;w=0;g=Ib()|0;h=L;SPa(d);Hb(g|0)}k[a+44>>2]=0;k[a+48>>2]=c;g=k[a+12>>2]|0;h=k[a+16>>2]|0;f=(h|0)==(g|0)?1:h-g|0;e=k[a+36>>2]|0;b=k[e>>2]|0;if(!b)j=0;else j=k[b+32>>2]|0;l=ha(j,j)|0;m=(j|0)==0?1:l;do if((2147483647/(f|0)|0|0)>=(m|0)){l=ha(m,f)|0;if((l|0)>2147383647){k[a+56>>2]=1e8;break}k[a+56>>2]=l+1e5;if((2147483647/(f|0)|0|0)<(f|0)){k[a+56>>2]=1e8;break}j=ha(h-g|0,h-g|0)|0;n=(h|0)==(g|0)?1:j;if((n|0)>2147383647){k[a+56>>2]=1e8;break}j=(n+1e5|0)>1e8?1e8:n+1e5|0;if((j|0)>(l+1e5|0))k[a+56>>2]=j}else k[a+56>>2]=1e8;while(0);if(!b)o=0;else o=k[b+20>>2]|0;i[a+60>>0]=o>>>20&1;do if(!(c&196608)){if(!(o&515)){k[a+48>>2]=c|65536;p=c|65536;break}if((o&4099|0)==4097){k[a+48>>2]=c|65536;p=c|65536;break}if((o&3|0)==2){k[a+48>>2]=c|65536;p=c|65536;break}else{k[a+48>>2]=c|131072;p=c|131072;break}}else p=c;while(0);if(!(p&131072)){k[a+8>>2]=k[a>>2];q=e;s=a+108|0;k[s>>2]=0;t=a+112|0;k[t>>2]=0;u=k[q>>2]|0;v=u+320|0;x=k[v>>2]|0;y=a+88|0;k[y>>2]=x;z=c&64;A=z&255;B=(A&255)>>>6;C=B^3;D=a+92|0;i[D>>0]=C;r=d;return}p=EPa(44)|0;k[p>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;i[p+24>>0]=0;k[p+28>>2]=0;k[p+32>>2]=0;k[p+36>>2]=0;i[p+40>>0]=1;o=k[a+4>>2]|0;k[a+4>>2]=p;if(!o){E=e;F=p}else{p=k[o+32>>2]|0;if((p|0)!=0?(e=k[p+4>>2]|0,k[p+4>>2]=e+-1,(e|0)==1):0){w=0;sa(k[(k[p>>2]|0)+8>>2]|0,p|0);e=w;w=0;if(e&1){G=Ib(0)|0;H=L;Zc(G)}e=k[p+8>>2]|0;k[p+8>>2]=e+-1;if((e|0)==1?(w=0,sa(k[(k[p>>2]|0)+12>>2]|0,p|0),p=w,w=0,p&1):0){G=Ib(0)|0;H=L;Zc(G)}}G=k[o>>2]|0;if(G){H=k[o+4>>2]|0;if((H|0)!=(G|0))k[o+4>>2]=H+(~(((H+-12-G|0)>>>0)/12|0)*12|0);GPa(G)}GPa(o);E=k[a+36>>2]|0;F=k[a+4>>2]|0}k[a+8>>2]=F;q=E;s=a+108|0;k[s>>2]=0;t=a+112|0;k[t>>2]=0;u=k[q>>2]|0;v=u+320|0;x=k[v>>2]|0;y=a+88|0;k[y>>2]=x;z=c&64;A=z&255;B=(A&255)>>>6;C=B^3;D=a+92|0;i[D>>0]=C;r=d;return}function TKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+32|0;c=vb(32)|0;VSa(b,a);k[b+12>>2]=0;k[b+16>>2]=0;k[b+20>>2]=0;k[b+24>>2]=-1;k[b>>2]=43560;k[b+8>>2]=43580;w=0;ua(1128,c|0,b|0);a=w;w=0;if(a&1)d=1;else{w=0;cb(142,c|0,10512,1482);w=0;d=0}a=Ib()|0;k[b+8>>2]=13668;e=k[b+12>>2]|0;if(e){w=0;f=ya(k[(k[e>>2]|0)+16>>2]|0,e|0)|0;e=w;w=0;if(e&1){e=Ib(0)|0;Zc(e)}if(f)k[b+12>>2]=0}SPa(b);if(!d)Hb(a|0);ub(c|0);Hb(a|0)}function UKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a+28>>2]=13608;VSa(a,b);k[a>>2]=45812;k[a+8>>2]=13668;c=k[b+12>>2]|0;k[a+12>>2]=c;if((c|0)!=0?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){c=Ib()|0;d=L;SPa(a);e=d;f=c;Hb(f|0)}k[a+16>>2]=k[b+16>>2];k[a+16+4>>2]=k[b+16+4>>2];k[a+16+8>>2]=k[b+16+8>>2];k[a>>2]=43600;k[a+8>>2]=43628;k[a+28>>2]=43656;w=0;ua(723,a+8|0,b+8|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;c=L;k[a+8>>2]=13668;d=k[a+12>>2]|0;if(d){w=0;g=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(g)k[a+12>>2]=0}SPa(a);e=c;f=b;Hb(f|0)}function VKa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(!b){SPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a);return}k[a+12>>2]=0;SPa(a);return}function WKa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+12>>2]=0}SPa(a);GPa(a);return}function XKa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(32)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(463,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-12>>2]|0)|0}return 0}function YKa(a){a=a|0;var b=0,c=0;b=vb(32)|0;k[b+28>>2]=13608;VSa(b,a);k[b>>2]=45812;k[b+8>>2]=13668;c=k[a+12>>2]|0;k[b+12>>2]=c;if((c|0)!=0?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){c=Ib()|0;SPa(b);ub(b|0);Hb(c|0)}k[b+16>>2]=k[a+16>>2];k[b+16+4>>2]=k[a+16+4>>2];k[b+16+8>>2]=k[a+16+8>>2];k[b>>2]=43600;k[b+8>>2]=43628;k[b+28>>2]=43656;Xb(b|0,10512,1482)}function ZKa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(!b){SPa(a+-8|0);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a+-8|0);return}k[a+-8+12>>2]=0;SPa(a+-8|0);return}function _Ka(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+-8+12>>2]=0}SPa(a+-8|0);GPa(a+-8|0);return}function $Ka(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(32)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(463,a|0,c|0,b+1|0);c=w;w=0;if(c&1){c=Ib()|0;GPa(a);Hb(c|0)}else{r=b;return a+(k[(k[a>>2]|0)+-12>>2]|0)|0}return 0}function aLa(a){a=a|0;YKa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function bLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+8>>2]=13668;a=k[b+12>>2]|0;if(!a){SPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){SPa(b);return}k[b+12>>2]=0;SPa(b);return}function cLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+8>>2]=13668;a=k[b+12>>2]|0;if(!a){SPa(b);GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){SPa(b);GPa(b);return}k[b+12>>2]=0;SPa(b);GPa(b);return}function dLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;k[a+28>>2]=13608;VSa(a,b);k[a>>2]=45812;k[a+8>>2]=13668;c=k[b+12>>2]|0;k[a+12>>2]=c;if((c|0)!=0?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){c=Ib()|0;d=L;SPa(a);e=d;f=c;Hb(f|0)}k[a+16>>2]=k[b+16>>2];k[a+16+4>>2]=k[b+16+4>>2];k[a+16+8>>2]=k[b+16+8>>2];k[a>>2]=43600;k[a+8>>2]=43628;k[a+28>>2]=43656;w=0;ua(723,a+8|0,b+8|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;c=L;k[a+8>>2]=13668;d=k[a+12>>2]|0;if(d){w=0;g=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(g)k[a+12>>2]=0}SPa(a);e=c;f=b;Hb(f|0)}function eLa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(!b){SPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a);return}k[a+12>>2]=0;SPa(a);return}function fLa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+12>>2]=0}SPa(a);GPa(a);return}function gLa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(!b){SPa(a+-8|0);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a+-8|0);return}k[a+-8+12>>2]=0;SPa(a+-8|0);return}function hLa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+-8+12>>2]=0}SPa(a+-8|0);GPa(a+-8|0);return}function iLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r;r=r+16|0;k[c>>2]=b;k[c+4>>2]=0;w=0;cb(460,c|0,b|0,c+4|0);b=w;w=0;if(b&1){b=Ib()|0;d=k[c+4>>2]|0;if(!d)Hb(b|0);e=k[d+4>>2]|0;k[d+4>>2]=e+-1;if((e|0)!=1)Hb(b|0);w=0;sa(k[(k[d>>2]|0)+8>>2]|0,d|0);e=w;w=0;if(e&1){f=Ib(0)|0;g=L;Zc(f)}e=k[d+8>>2]|0;k[d+8>>2]=e+-1;if((e|0)!=1)Hb(b|0);w=0;sa(k[(k[d>>2]|0)+12>>2]|0,d|0);d=w;w=0;if(d&1){f=Ib(0)|0;g=L;Zc(f)}else Hb(b|0)}else{b=k[c>>2]|0;k[c>>2]=k[a>>2];k[a>>2]=b;b=k[a+4>>2]|0;k[a+4>>2]=k[c+4>>2];k[c+4>>2]=b;if(!b){r=c;return}a=k[b+4>>2]|0;k[b+4>>2]=a+-1;if((a|0)!=1){r=c;return}w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);a=w;w=0;if(a&1){h=Ib(0)|0;i=L;Zc(h)}a=k[b+8>>2]|0;k[b+8>>2]=a+-1;if((a|0)!=1){r=c;return}w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){h=Ib(0)|0;i=L;Zc(h)}else{r=c;return}}}function jLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;w=0;a=ya(665,16)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Eb(d|0)|0;kLa(b);w=0;eb(45);w=0;d=Ib()|0;w=0;eb(44);e=w;w=0;if(e&1){e=Ib(0)|0;Zc(e)}else Hb(d|0)}k[a+4>>2]=1;k[a+8>>2]=1;k[a>>2]=43680;k[a+12>>2]=b;b=k[c>>2]|0;k[c>>2]=a;if(!b)return;a=k[b+4>>2]|0;k[b+4>>2]=a+-1;if((a|0)!=1)return;w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);a=w;w=0;if(a&1){f=Ib(0)|0;g=L;Zc(f)}a=k[b+8>>2]|0;k[b+8>>2]=a+-1;if((a|0)!=1)return;w=0;sa(k[(k[b>>2]|0)+12>>2]|0,b|0);b=w;w=0;if(b&1){f=Ib(0)|0;g=L;Zc(f)}else return}function kLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!a)return;b=k[a+56>>2]|0;if((b|0)!=0?(c=k[b+4>>2]|0,k[b+4>>2]=c+-1,(c|0)==1):0){w=0;sa(k[(k[b>>2]|0)+8>>2]|0,b|0);c=w;w=0;if(c&1){d=Ib(0)|0;e=L;Zc(d)}c=k[b+8>>2]|0;k[b+8>>2]=c+-1;if((c|0)==1?(w=0,sa(k[(k[b>>2]|0)+12>>2]|0,b|0),b=w,w=0,b&1):0){d=Ib(0)|0;e=L;Zc(d)}}d=k[a+32>>2]|0;if((d|0)!=0?(e=k[d+4>>2]|0,k[d+4>>2]=e+-1,(e|0)==1):0){w=0;sa(k[(k[d>>2]|0)+8>>2]|0,d|0);e=w;w=0;if(e&1){f=Ib(0)|0;g=L;Zc(f)}e=k[d+8>>2]|0;k[d+8>>2]=e+-1;if((e|0)==1?(w=0,sa(k[(k[d>>2]|0)+12>>2]|0,d|0),d=w,w=0,d&1):0){f=Ib(0)|0;g=L;Zc(f)}}f=k[a>>2]|0;if(f){g=k[a+4>>2]|0;if((g|0)!=(f|0))k[a+4>>2]=g+(~(((g+-12-f|0)>>>0)/12|0)*12|0);GPa(f)}GPa(a);return}function lLa(a){a=a|0;GPa(a);return}function mLa(a){a=a|0;kLa(k[a+12>>2]|0);return}function nLa(a,b){a=a|0;b=b|0;return 0}function oLa(a){a=a|0;return 0}function pLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;e=k[a+4>>2]|0;return e|0}a=i[c>>0]|0;f=(a&1)==0?(a&255)>>>1:k[c+4>>2]|0;g=(a&1)==0?c+1|0:k[c+8>>2]|0;c=d;while(1){d=c+16|0;a=i[d>>0]|0;h=(a&1)==0?(a&255)>>>1:k[c+20>>2]|0;j=(a&1)==0?d+1|0:k[c+24>>2]|0;d=$Qa(g,j,h>>>0>>0?h:f)|0;if((((d|0)==0?(f>>>0>>0?-2147483648:0):d)|0)<0){d=k[c>>2]|0;if(!d){l=c;m=c;n=5;break}else o=d}else{d=$Qa(j,g,f>>>0>>0?f:h)|0;if((((d|0)==0?(h>>>0>>0?-2147483648:0):d)|0)>=0){p=c;n=10;break}q=c+4|0;d=k[q>>2]|0;if(!d){r=c;n=9;break}else o=d}c=o}if((n|0)==5){k[b>>2]=m;e=k[l>>2]|0;return e|0}else if((n|0)==9){k[b>>2]=r;e=k[q>>2]|0;return e|0}else if((n|0)==10){k[b>>2]=p;e=p;return e|0}return 0}function qLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;e=k[a+4>>2]|0;return e|0}a=i[c>>0]|0;f=(a&1)==0?(a&255)>>>1:k[c+4>>2]|0;g=(a&1)==0?c+1|0:k[c+8>>2]|0;c=d;while(1){d=c+16|0;a=i[d>>0]|0;h=(a&1)==0?(a&255)>>>1:k[c+20>>2]|0;j=(a&1)==0?d+1|0:k[c+24>>2]|0;d=$Qa(g,j,h>>>0>>0?h:f)|0;if((((d|0)==0?(f>>>0>>0?-2147483648:0):d)|0)<0){d=k[c>>2]|0;if(!d){l=c;m=c;n=5;break}else o=d}else{d=$Qa(j,g,f>>>0>>0?f:h)|0;if((((d|0)==0?(h>>>0>>0?-2147483648:0):d)|0)>=0){p=c;n=10;break}q=c+4|0;d=k[q>>2]|0;if(!d){r=c;n=9;break}else o=d}c=o}if((n|0)==5){k[b>>2]=m;e=k[l>>2]|0;return e|0}else if((n|0)==9){k[b>>2]=r;e=k[q>>2]|0;return e|0}else if((n|0)==10){k[b>>2]=p;e=p;return e|0}return 0}function rLa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=r;r=r+32|0;c=vb(32)|0;VSa(b,a);k[b+12>>2]=0;k[b+16>>2]=0;k[b+20>>2]=0;k[b+24>>2]=-1;k[b>>2]=43712;k[b+8>>2]=43732;w=0;ua(1129,c|0,b|0);a=w;w=0;if(a&1)d=1;else{w=0;cb(142,c|0,10592,1496);w=0;d=0}a=Ib()|0;k[b+8>>2]=13668;e=k[b+12>>2]|0;if(e){w=0;f=ya(k[(k[e>>2]|0)+16>>2]|0,e|0)|0;e=w;w=0;if(e&1){e=Ib(0)|0;Zc(e)}if(f)k[b+12>>2]=0}SPa(b);if(!d)Hb(a|0);ub(c|0);Hb(a|0)}function sLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;k[a+28>>2]=13608;VSa(a,b);k[a+8>>2]=13668;c=k[b+12>>2]|0;k[a+12>>2]=c;if((c|0)!=0?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){c=Ib()|0;d=L;SPa(a);e=d;f=c;Hb(f|0)}k[a+16>>2]=k[b+16>>2];k[a+16+4>>2]=k[b+16+4>>2];k[a+16+8>>2]=k[b+16+8>>2];k[a>>2]=43752;k[a+8>>2]=43780;k[a+28>>2]=43808;w=0;ua(723,a+8|0,b+8|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;c=L;k[a+8>>2]=13668;d=k[a+12>>2]|0;if(d){w=0;g=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(g)k[a+12>>2]=0}SPa(a);e=c;f=b;Hb(f|0)}function tLa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(!b){SPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a);return}k[a+12>>2]=0;SPa(a);return}function uLa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+12>>2]=0}SPa(a);GPa(a);return}function vLa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(32)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(464,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-12>>2]|0)|0}return 0}function wLa(a){a=a|0;var b=0,c=0;b=vb(32)|0;k[b+28>>2]=13608;VSa(b,a);k[b+8>>2]=13668;c=k[a+12>>2]|0;k[b+12>>2]=c;if((c|0)!=0?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){c=Ib()|0;SPa(b);ub(b|0);Hb(c|0)}k[b+16>>2]=k[a+16>>2];k[b+16+4>>2]=k[a+16+4>>2];k[b+16+8>>2]=k[a+16+8>>2];k[b>>2]=43752;k[b+8>>2]=43780;k[b+28>>2]=43808;Xb(b|0,10592,1496)}function xLa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(!b){SPa(a+-8|0);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a+-8|0);return}k[a+-8+12>>2]=0;SPa(a+-8|0);return}function yLa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+-8+12>>2]=0}SPa(a+-8|0);GPa(a+-8|0);return}function zLa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(32)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(464,a|0,c|0,b+1|0);c=w;w=0;if(c&1){c=Ib()|0;GPa(a);Hb(c|0)}else{r=b;return a+(k[(k[a>>2]|0)+-12>>2]|0)|0}return 0}function ALa(a){a=a|0;wLa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function BLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+8>>2]=13668;a=k[b+12>>2]|0;if(!a){SPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){SPa(b);return}k[b+12>>2]=0;SPa(b);return}function CLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+8>>2]=13668;a=k[b+12>>2]|0;if(!a){SPa(b);GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){SPa(b);GPa(b);return}k[b+12>>2]=0;SPa(b);GPa(b);return}function DLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;k[a+28>>2]=13608;VSa(a,b);k[a+8>>2]=13668;c=k[b+12>>2]|0;k[a+12>>2]=c;if((c|0)!=0?(w=0,sa(k[(k[c>>2]|0)+12>>2]|0,c|0),c=w,w=0,c&1):0){c=Ib()|0;d=L;SPa(a);e=d;f=c;Hb(f|0)}k[a+16>>2]=k[b+16>>2];k[a+16+4>>2]=k[b+16+4>>2];k[a+16+8>>2]=k[b+16+8>>2];k[a>>2]=43752;k[a+8>>2]=43780;k[a+28>>2]=43808;w=0;ua(723,a+8|0,b+8|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;c=L;k[a+8>>2]=13668;d=k[a+12>>2]|0;if(d){w=0;g=ya(k[(k[d>>2]|0)+16>>2]|0,d|0)|0;d=w;w=0;if(d&1){d=Ib(0)|0;Zc(d)}if(g)k[a+12>>2]=0}SPa(a);e=c;f=b;Hb(f|0)}function ELa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(!b){SPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a);return}k[a+12>>2]=0;SPa(a);return}function FLa(a){a=a|0;var b=0,c=0;k[a+8>>2]=13668;b=k[a+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+12>>2]=0}SPa(a);GPa(a);return}function GLa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(!b){SPa(a+-8|0);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){SPa(a+-8|0);return}k[a+-8+12>>2]=0;SPa(a+-8|0);return}function HLa(a){a=a|0;var b=0,c=0;k[a+-8+8>>2]=13668;b=k[a+-8+12>>2]|0;if(b){w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(c)k[a+-8+12>>2]=0}SPa(a+-8|0);GPa(a+-8|0);return}function ILa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;a:do if((k[a+8>>2]|0)!=0?(d=k[a>>2]|0,k[a>>2]=a+4,k[(k[a+4>>2]|0)+8>>2]=0,k[a+4>>2]=0,k[a+8>>2]=0,e=k[d+4>>2]|0,f=(e|0)==0?d:e,(f|0)!=0):0){e=k[c>>2]|0;d=k[b>>2]|0;g=d;h=d;d=f;while(1){if((g|0)==(e|0)){i=d;j=5;break}w=0;Sa(535,d+16|0,g+16|0)|0;f=w;w=0;if(f&1){l=d;break}w=0;Sa(535,d+28|0,g+28|0)|0;f=w;w=0;if(f&1){l=d;break}f=k[d+8>>2]|0;do if(f){m=k[f>>2]|0;if((m|0)==(d|0)){k[f>>2]=0;n=k[f+4>>2]|0;if(!n){o=f;break}else p=n;while(1){n=k[p>>2]|0;if(n){p=n;continue}n=k[p+4>>2]|0;if(!n){q=p;break}else p=n}o=q;break}else{k[f+4>>2]=0;if(!m){o=f;break}else r=m;while(1){n=k[r>>2]|0;if(n){r=n;continue}n=k[r+4>>2]|0;if(!n){s=r;break}else r=n}o=s;break}}else o=0;while(0);JLa(a,d)|0;f=k[h+4>>2]|0;if(!f){m=h;while(1){n=k[m+8>>2]|0;if((k[n>>2]|0)==(m|0)){t=n;break}else m=n}}else{m=f;while(1){n=k[m>>2]|0;if(!n){t=m;break}else m=n}}k[b>>2]=t;if(!o)break a;else{g=t;h=t;d=o}}if((j|0)==5){d=k[i+8>>2]|0;if(!d)u=i;else{h=d;while(1){d=k[h+8>>2]|0;if(!d){v=h;break}else h=d}u=v}Sd(a,u);break}h=Ib(0)|0;Eb(h|0)|0;h=k[l+8>>2]|0;if(!h)x=l;else{d=h;while(1){h=k[d+8>>2]|0;if(!h){y=d;break}else d=h}x=y}Sd(a,x);w=0;eb(45);w=0;d=Ib()|0;w=0;eb(44);h=w;w=0;if(h&1){h=Ib(0)|0;Zc(h)}else Hb(d|0)}while(0);x=k[b>>2]|0;y=k[c>>2]|0;if((x|0)==(y|0))return;c=x;l=x;while(1){KLa(a,c+16|0)|0;x=k[l+4>>2]|0;if(!x){u=l;while(1){v=k[u+8>>2]|0;if((k[v>>2]|0)==(u|0)){z=v;break}else u=v}}else{u=x;while(1){v=k[u>>2]|0;if(!v){z=u;break}else u=v}}k[b>>2]=z;if((z|0)==(y|0))break;else{c=z;l=z}}return}function JLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;c=k[a+4>>2]|0;do if(c){d=i[b+16>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+20>>2]|0;f=(d&1)==0?b+16+1|0:k[b+24>>2]|0;d=c;while(1){g=d+16|0;h=i[g>>0]|0;j=(h&1)==0?(h&255)>>>1:k[d+20>>2]|0;l=$Qa(f,(h&1)==0?g+1|0:k[d+24>>2]|0,j>>>0>>0?j:e)|0;if((((l|0)==0?(e>>>0>>0?-2147483648:0):l)|0)<0){l=k[d>>2]|0;if(!l){m=d;n=d;o=5;break}else p=l}else{q=d+4|0;l=k[q>>2]|0;if(!l){r=d;o=8;break}else p=l}d=p}if((o|0)==5){s=m;t=n;break}else if((o|0)==8){s=q;t=r;break}}else{s=a+4|0;t=a+4|0}while(0);k[b>>2]=0;k[b+4>>2]=0;k[b+8>>2]=t;k[s>>2]=b;t=k[k[a>>2]>>2]|0;if(!t){u=b;v=a+4|0;w=k[v>>2]|0;$c(w,u);x=a+8|0;y=k[x>>2]|0;z=y+1|0;k[x>>2]=z;return b|0}k[a>>2]=t;u=k[s>>2]|0;v=a+4|0;w=k[v>>2]|0;$c(w,u);x=a+8|0;y=k[x>>2]|0;z=y+1|0;k[x>>2]=z;return b|0}function KLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;c=k[a+4>>2]|0;do if(c){d=i[b>>0]|0;e=(d&1)==0?(d&255)>>>1:k[b+4>>2]|0;f=(d&1)==0?b+1|0:k[b+8>>2]|0;d=c;while(1){g=d+16|0;h=i[g>>0]|0;j=(h&1)==0?(h&255)>>>1:k[d+20>>2]|0;l=$Qa(f,(h&1)==0?g+1|0:k[d+24>>2]|0,j>>>0>>0?j:e)|0;if((((l|0)==0?(e>>>0>>0?-2147483648:0):l)|0)<0){l=k[d>>2]|0;if(!l){m=d;n=d;o=5;break}else p=l}else{q=d+4|0;l=k[q>>2]|0;if(!l){r=d;o=8;break}else p=l}d=p}if((o|0)==5){s=m;t=n;break}else if((o|0)==8){s=q;t=r;break}}else{s=a+4|0;t=a+4|0}while(0);r=EPa(40)|0;w=0;ua(724,r+16|0,b|0);q=w;w=0;if(q&1){q=Ib()|0;u=L;v=q;GPa(r);Hb(v|0)}w=0;ua(724,r+28|0,b+12|0);b=w;w=0;if(b&1){b=Ib()|0;q=L;dTa(r+16|0);u=q;v=b;GPa(r);Hb(v|0)}k[r>>2]=0;k[r+4>>2]=0;k[r+8>>2]=t;k[s>>2]=r;t=k[k[a>>2]>>2]|0;if(!t){x=r;y=a+4|0;z=k[y>>2]|0;$c(z,x);A=a+8|0;B=k[A>>2]|0;C=B+1|0;k[A>>2]=C;return r|0}k[a>>2]=t;x=k[s>>2]|0;y=a+4|0;z=k[y>>2]|0;$c(z,x);A=a+8|0;B=k[A>>2]|0;C=B+1|0;k[A>>2]=C;return r|0}function LLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=k[a+4>>2]|0;if(!d){k[b>>2]=a+4;e=a+4|0;return e|0}a=i[c>>0]|0;f=(a&1)==0?(a&255)>>>1:k[c+4>>2]|0;g=(a&1)==0?c+1|0:k[c+8>>2]|0;c=d;while(1){d=c+16|0;a=i[d>>0]|0;h=(a&1)==0?(a&255)>>>1:k[c+20>>2]|0;j=(a&1)==0?d+1|0:k[c+24>>2]|0;d=$Qa(g,j,h>>>0>>0?h:f)|0;if((((d|0)==0?(f>>>0>>0?-2147483648:0):d)|0)<0){d=k[c>>2]|0;if(!d){l=c;m=c;n=5;break}else o=d}else{d=$Qa(j,g,f>>>0>>0?f:h)|0;if((((d|0)==0?(h>>>0>>0?-2147483648:0):d)|0)>=0){p=c;n=10;break}q=c+4|0;d=k[q>>2]|0;if(!d){r=c;n=9;break}else o=d}c=o}if((n|0)==5){k[b>>2]=m;e=l;return e|0}else if((n|0)==9){k[b>>2]=r;e=q;return e|0}else if((n|0)==10){k[b>>2]=p;e=b;return e|0}return 0}function MLa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function NLa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function OLa(a){a=a|0;return 269821}function PLa(a){a=a|0;var b=0,c=0;b=r;r=r+16|0;c=EPa(28)|0;w=0;i[b+1>>0]=i[b>>0]|0;cb(465,c|0,a|0,b+1|0);a=w;w=0;if(a&1){a=Ib()|0;GPa(c);Hb(a|0)}else{r=b;return c+(k[(k[c>>2]|0)+-32>>2]|0)|0}return 0}function QLa(a){a=a|0;var b=0,c=0;b=vb(28)|0;k[b>>2]=45752;c=a+(k[(k[a>>2]|0)+-24>>2]|0)|0;k[b+4>>2]=13668;a=k[c+4>>2]|0;k[b+8>>2]=a;if((a|0)!=0?(w=0,sa(k[(k[a>>2]|0)+12>>2]|0,a|0),a=w,w=0,a&1):0){a=Ib()|0;ub(b|0);Hb(a|0)}k[b+12>>2]=k[c+8>>2];k[b+12+4>>2]=k[c+8+4>>2];k[b+12+8>>2]=k[c+8+8>>2];k[b>>2]=43856;k[b+4>>2]=43888;k[b+24>>2]=43916;Xb(b|0,10656,1504)}function RLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function SLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function TLa(a){a=a|0;var b=0,c=0,d=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;a=EPa(28)|0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=43856;k[a+4>>2]=43888;k[a+24>>2]=43916;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return a+(k[(k[a>>2]|0)+-32>>2]|0)|0;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c){GPa(a);Hb(b|0)}w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d){GPa(a);Hb(b|0)}k[a+8>>2]=0;GPa(a);Hb(b|0);return 0}function ULa(a){a=a|0;QLa(a+(k[(k[a>>2]|0)+-16>>2]|0)|0)}function VLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function WLa(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-20>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function XLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+16>>2]=0;k[a+20>>2]=-1;k[a>>2]=43856;k[a+4>>2]=43888;k[a+24>>2]=43916;w=0;ua(723,a+4|0,b+(k[(k[b>>2]|0)+-24>>2]|0)|0);b=w;w=0;if(!(b&1))return;b=Ib()|0;k[a+4>>2]=13668;c=k[a+8>>2]|0;if(!c)Hb(b|0);w=0;d=ya(k[(k[c>>2]|0)+16>>2]|0,c|0)|0;c=w;w=0;if(c&1){c=Ib(0)|0;Zc(c)}if(!d)Hb(b|0);k[a+8>>2]=0;Hb(b|0)}function YLa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b)return;w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c)return;k[a+8>>2]=0;return}function ZLa(a){a=a|0;var b=0,c=0;k[a+4>>2]=13668;b=k[a+8>>2]|0;if(!b){GPa(a);return}w=0;c=ya(k[(k[b>>2]|0)+16>>2]|0,b|0)|0;b=w;w=0;if(b&1){b=Ib(0)|0;Zc(b)}if(!c){GPa(a);return}k[a+8>>2]=0;GPa(a);return}function _La(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a)return;w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c)return;k[b+8>>2]=0;return}function $La(a){a=a|0;var b=0,c=0;b=a+(k[(k[a>>2]|0)+-12>>2]|0)|0;k[b+4>>2]=13668;a=k[b+8>>2]|0;if(!a){GPa(b);return}w=0;c=ya(k[(k[a>>2]|0)+16>>2]|0,a|0)|0;a=w;w=0;if(a&1){a=Ib(0)|0;Zc(a)}if(!c){GPa(b);return}k[b+8>>2]=0;GPa(b);return}function aMa(a,b){a=a|0;b=b|0;var c=0;c=i[b>>0]|0;bMa(a,b,0,(c&1)==0?(c&255)>>>1:k[b+4>>2]|0);return}function bMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;e=r;r=r+112|0;k[e+20>>2]=0;f=e+20+4|0;k[f>>2]=0;k[e+20+8>>2]=0;a:do if(d>>>0<4097){g=i[b>>0]|0;h=(g&1)==0?b+1|0:k[b+8>>2]|0;j=(g&1)==0?(g&255)>>>1:k[b+4>>2]|0;if((h|0)!=0?!((d+c|0)>>>0>j>>>0|(j>>>0>>0|j>>>0>>0)):0){l=h+c|0;m=d;n=25}else{l=0;m=0;n=25}}else{h=4096;while(1){j=h<<7;if(j>>>0>>0)h=j;else{o=h;break}}do if(d){h=0;while(1){j=d-h|0;w=0;kb(212,e+80|0,b|0,h+c|0,(j>>>0>>0?j:o)|0);j=w;w=0;if(j&1){n=5;break}k[e+8>>2]=0;k[e+8+4>>2]=0;k[e+8+8>>2]=0;w=0;p=ya(665,32)|0;j=w;w=0;if(j&1){n=5;break}k[e+8>>2]=p;k[e+8+8>>2]=p+32;i[p>>0]=i[e+80>>0]|0;i[p+1>>0]=i[e+80+1>>0]|0;i[p+2>>0]=i[e+80+2>>0]|0;i[p+3>>0]=i[e+80+3>>0]|0;i[p+4>>0]=i[e+80+4>>0]|0;i[p+5>>0]=i[e+80+5>>0]|0;i[p+6>>0]=i[e+80+6>>0]|0;i[p+7>>0]=i[e+80+7>>0]|0;i[p+8>>0]=i[e+80+8>>0]|0;i[p+9>>0]=i[e+80+9>>0]|0;i[p+10>>0]=i[e+80+10>>0]|0;i[p+11>>0]=i[e+80+11>>0]|0;i[p+12>>0]=i[e+80+12>>0]|0;i[p+13>>0]=i[e+80+13>>0]|0;i[p+14>>0]=i[e+80+14>>0]|0;i[p+15>>0]=i[e+80+15>>0]|0;i[p+16>>0]=i[e+80+16>>0]|0;i[p+17>>0]=i[e+80+17>>0]|0;i[p+18>>0]=i[e+80+18>>0]|0;i[p+19>>0]=i[e+80+19>>0]|0;i[p+20>>0]=i[e+80+20>>0]|0;i[p+21>>0]=i[e+80+21>>0]|0;i[p+22>>0]=i[e+80+22>>0]|0;i[p+23>>0]=i[e+80+23>>0]|0;i[p+24>>0]=i[e+80+24>>0]|0;i[p+25>>0]=i[e+80+25>>0]|0;i[p+26>>0]=i[e+80+26>>0]|0;i[p+27>>0]=i[e+80+27>>0]|0;i[p+28>>0]=i[e+80+28>>0]|0;i[p+29>>0]=i[e+80+29>>0]|0;i[p+30>>0]=i[e+80+30>>0]|0;i[p+31>>0]=i[e+80+31>>0]|0;k[e+8+4>>2]=p+32;w=0;Sa(574,e+20|0,e+8|0)|0;j=w;w=0;if(j&1){n=21;break}j=k[e+8>>2]|0;if(j){if((p+32|0)!=(j|0))k[e+8+4>>2]=j;GPa(j)}h=h+o|0;if(h>>>0>=d>>>0){n=11;break}}if((n|0)==5){h=Ib()|0;q=L;s=h;n=7;break a}else if((n|0)==11){t=k[e+20>>2]|0;u=k[f>>2]|0;break}else if((n|0)==21){h=Ib()|0;j=L;g=k[e+8>>2]|0;if(!g){v=h;x=j;break a}if((p+32|0)!=(g|0))k[e+8+4>>2]=g;GPa(g);v=h;x=j;break a}}else{t=0;u=0}while(0);l=t;m=u-t|0;n=25}while(0);do if((n|0)==25){t=l;w=0;u=ya(665,8)|0;p=w;w=0;if(p&1){p=Ib()|0;q=L;s=p;n=7;break}i[u>>0]=0;i[u+1>>0]=0;i[u+2>>0]=0;i[u+3>>0]=0;i[u+4>>0]=0;i[u+4+1>>0]=0;i[u+4+2>>0]=0;i[u+4+3>>0]=0;i[u>>0]=d;i[u+1>>0]=d>>>8;i[u+2>>0]=d>>>16;i[u+3>>0]=d>>>24;F0a(u+4|0,0,4)|0;p=t+m|0;k[e+32>>2]=0;o=e+32+4|0;k[o>>2]=0;k[e+32+8>>2]=0;b:do if(!m)n=36;else{if(!((m|0)<0?(w=0,sa(1641,e+32|0),c=w,w=0,c&1):0))n=29;if((n|0)==29?(w=0,c=ya(665,m|0)|0,b=w,w=0,!(b&1)):0){k[o>>2]=c;k[e+32>>2]=c;k[e+32+8>>2]=c+m;b=t;j=c;while(1){i[j>>0]=i[b>>0]|0;j=(k[o>>2]|0)+1|0;k[o>>2]=j;b=b+1|0;if((b|0)==(p|0)){n=36;break b}}}b=Ib()|0;j=L;c=k[e+32>>2]|0;if(c){if((k[o>>2]|0)!=(c|0))k[o>>2]=c;GPa(c)}GPa(u);y=b;z=j}while(0);if((n|0)==36){p=e+44+4|0;k[e+44>>2]=u;k[p>>2]=u+8;k[e+44+8>>2]=u+8;w=0;Sa(574,e+44|0,e+32|0)|0;t=w;w=0;do if(t&1){j=Ib()|0;b=L;c=k[e+44>>2]|0;if(c){if((k[p>>2]|0)!=(c|0))k[p>>2]=c;GPa(c)}A=b;B=j}else{j=k[e+44>>2]|0;b=(k[p>>2]|0)-j|0;c=a;h=c+32|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(h|0));k[e>>2]=j;k[e+4>>2]=b;k[e+56>>2]=a;k[e+56+4>>2]=32;w=0;k[e+64>>2]=k[e>>2];k[e+64+4>>2]=k[e+4>>2];k[e+72>>2]=k[e+56>>2];k[e+72+4>>2]=k[e+56+4>>2];Sa(564,e+64|0,e+72|0)|0;c=w;w=0;if(c&1){c=Ib()|0;h=L;g=k[e+44>>2]|0;if(!g){A=h;B=c;break}if((k[p>>2]|0)!=(g|0))k[p>>2]=g;GPa(g);A=h;B=c;break}c=k[e+44>>2]|0;if(c){if((k[p>>2]|0)!=(c|0))k[p>>2]=c;GPa(c)}c=k[e+32>>2]|0;if(c){if((k[o>>2]|0)!=(c|0))k[o>>2]=c;GPa(c)}c=k[e+20>>2]|0;if(!c){r=e;return}if((k[f>>2]|0)!=(c|0))k[f>>2]=c;GPa(c);r=e;return}while(0);p=k[e+32>>2]|0;if(!p){y=B;z=A}else{if((k[o>>2]|0)!=(p|0))k[o>>2]=p;GPa(p);y=B;z=A}}q=z;s=y;n=7}while(0);if((n|0)==7){v=s;x=q}q=k[e+20>>2]|0;if(!q)Hb(v|0);if((k[f>>2]|0)!=(q|0))k[f>>2]=q;GPa(q);Hb(v|0)}function cMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;c=r;r=r+32|0;a:do if((i[10712]|0)==0?(qb(10712)|0)!=0:0){w=0;cb(138,c|0,269835,11);d=w;w=0;do if(!(d&1)){w=0;cb(138,c+12|0,282012,0);e=w;w=0;if(e&1){e=Ib()|0;f=L;dTa(c);g=f;h=e;j=14;break}k[10984]=0;k[10985]=0;k[10983]=43936;k[c+24>>2]=43936;w=0;k[c+28>>2]=k[c+24>>2];Ea(120,43932,c+28|0,c|0)|0;e=w;w=0;if(e&1){e=Ib()|0;f=L;Sd(43932,k[10984]|0);dTa(c+12|0);dTa(c);l=e;m=f;break}else{dTa(c+12|0);dTa(c);yb(10712);break a}}else{f=Ib()|0;g=L;h=f;j=14}while(0);if((j|0)==14){l=h;m=g}bc(10712);n=m;o=l;Hb(o|0)}while(0);if(i[10720]|0){fMa(a,b,10728);r=c;return}if(!(qb(10720)|0)){fMa(a,b,10728);r=c;return}w=0;ua(1130,10728,43932);l=w;w=0;if(l&1){l=Ib()|0;m=L;bc(10720);n=m;o=l;Hb(o|0)}else{yb(10720);fMa(a,b,10728);r=c;return}}function dMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if((i[10760]|0)==0?(qb(10760)|0)!=0:0){w=0;sa(1696,10768);d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d;bc(10760);Hb(f|0)}k[2692]=43952;w=0;sa(1697,10776);d=w;w=0;if(!(d&1)){yb(10760);break}d=Ib()|0;g=L;AMa(10768);e=g;f=d;bc(10760);Hb(f|0)}while(0);f=nc[k[(k[2692]|0)+8>>2]&1023](10768)|0;e=i[a>>0]|0;d=(e&1)==0?a+1|0:k[a+8>>2]|0;w=0;g=Ua(k[(k[f>>2]|0)+8>>2]|0,f|0,d|0,d+((e&1)==0?(e&255)>>>1:k[a+4>>2]|0)|0,b|0,c|0)|0;c=w;w=0;if(c&1){c=Ib()|0;if(!f)Hb(c|0);kc[k[(k[f>>2]|0)+4>>2]&2047](f);Hb(c|0)}else{if(!f)return g|0;kc[k[(k[f>>2]|0)+4>>2]&2047](f);return g|0}return 0}function eMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0;c=r;r=r+32|0;dIa(a);k[a>>2]=43972;d=k[b>>2]|0;if((d|0)==(b+4|0)){r=c;return}e=d;while(1){w=0;d=Sa(540,a+8|0,e+16|0)|0;f=w;w=0;if(f&1){g=4;break}w=0;ua(710,c|0,e+28|0);f=w;w=0;if(f&1){g=4;break}w=0;Sa(538,d|0,c|0)|0;d=w;w=0;if(d&1){g=13;break}QGa(c);d=k[e+4>>2]|0;if(!d){f=e;while(1){h=k[f+8>>2]|0;if((k[h>>2]|0)==(f|0)){i=h;break}else f=h}}else{f=d;while(1){h=k[f>>2]|0;if(!h){i=f;break}else f=h}}if((i|0)==(b+4|0)){g=3;break}else e=i}if((g|0)==3){r=c;return}else if((g|0)==4){i=Ib()|0;j=i;l=L;fIa(a);Hb(j|0)}else if((g|0)==13){g=Ib()|0;i=L;QGa(c);j=g;l=i;fIa(a);Hb(j|0)}}function fMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0;d=r;r=r+160|0;k[d+8>>2]=14472;k[d>>2]=14512;k[d+64>>2]=14532;k[d+4>>2]=0;w=0;ua(725,d+64|0,d+12|0);e=w;w=0;if(e&1){e=Ib()|0;f=L;g=e;QTa(d+64|0);Hb(g|0)}k[d+136>>2]=0;k[d+140>>2]=-1;k[d>>2]=14452;k[d+64>>2]=14492;k[d+8>>2]=14472;w=0;sa(1635,d+12|0);e=w;w=0;do if(e&1){h=Ib()|0;i=L;j=h}else{k[d+12>>2]=14004;k[d+44>>2]=0;k[d+44+4>>2]=0;k[d+44+8>>2]=0;k[d+44+12>>2]=0;k[d+60>>2]=24;k[d+144>>2]=0;k[d+144+4>>2]=0;k[d+144+8>>2]=0;w=0;ua(726,d+12|0,d+144|0);h=w;w=0;if(h&1){h=Ib()|0;l=L;dTa(d+144|0);dTa(d+44|0);VTa(d+12|0);i=l;j=h;break}dTa(d+144|0);w=0;h=ya(k[(k[c>>2]|0)+8>>2]|0,c|0)|0;l=w;w=0;if(l&1){l=Ib()|0;m=L;n=l;o=d+8|0;k[d>>2]=14452;k[d+64>>2]=14492;k[o>>2]=14472;k[d+12>>2]=14004;dTa(d+44|0);VTa(d+12|0);QTa(d+64|0);Hb(n|0)}w=0;Ea(k[(k[h>>2]|0)+8>>2]|0,h|0,b|0,d+8|0)|0;l=w;w=0;if(!(l&1)?(w=0,ua(727,a|0,d+12|0),l=w,w=0,!(l&1)):0){kc[k[(k[h>>2]|0)+4>>2]&2047](h);k[d>>2]=14452;k[d+64>>2]=14492;k[d+8>>2]=14472;k[d+12>>2]=14004;dTa(d+44|0);VTa(d+12|0);QTa(d+64|0);r=d;return}l=Ib()|0;p=L;kc[k[(k[h>>2]|0)+4>>2]&2047](h);m=p;n=l;o=d+8|0;k[d>>2]=14452;k[d+64>>2]=14492;k[o>>2]=14472;k[d+12>>2]=14004;dTa(d+44|0);VTa(d+12|0);QTa(d+64|0);Hb(n|0)}while(0);f=i;g=j;QTa(d+64|0);Hb(g|0)}function gMa(a){a=a|0;AMa(a);GPa(a);return}function hMa(a){a=a|0;fIa(a);GPa(a);return}function iMa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;f=r;r=r+48|0;g=(i[a+96>>0]|0)!=0;k[a+60>>2]=b;k[a+64>>2]=c;i[a+108>>0]=g&e&1;k[a+68>>2]=b;k[a+72>>2]=0;k[a+76>>2]=0;fTa(a+80|0,282012)|0;GMa(a+24|0);e=k[a+20>>2]|0;if(!e){h=a+4|0;j=a+4|0;l=a+16|0;m=k[a+8>>2]|0}else{g=k[a+8>>2]|0;n=g;o=e;e=g;while(1){g=o+-1|0;k[a+20>>2]=g;p=k[a+4>>2]|0;if((1-o-(k[a+16>>2]|0)+((e|0)==(p|0)?0:(e-p<<8)+-1|0)|0)>>>0>2047){GPa(k[e+-4>>2]|0);p=(k[a+8>>2]|0)+-4|0;k[a+8>>2]=p;q=p;s=p;t=k[a+20>>2]|0}else{q=n;s=e;t=g}if(!t){h=a+4|0;j=a+4|0;l=a+16|0;m=q;break}else{n=q;o=t;e=s}}}s=k[j>>2]|0;j=k[l>>2]|0;if((((m|0)==(s|0)?0:(m-s<<8)+-1|0)|0)==(j|0)){EMa(a);u=k[l>>2]|0;v=k[a+20>>2]|0;x=k[h>>2]|0}else{u=j;v=0;x=s}s=v+u|0;k[(k[x+(s>>>10<<2)>>2]|0)+((s&1023)<<2)>>2]=d;k[a+20>>2]=v+1;k[a+92>>2]=0;v=jMa(a)|0;if(!(i[a+96>>0]|0))pMa(a,f+24|0)|0;else do pMa(a,f+24|0)|0;while((k[f+24>>2]|0)==15);if((i[a+101>>0]|0)!=0?(s=k[f+24>>2]|0,!((i[a+97>>0]|0)==0&(s|0)==16|(s|0)==0)):0){aTa(f+12|0,270683,38);w=0;ab(66,a|0,f+12|0,f+24|0,0)|0;s=w;w=0;if(s&1){s=Ib()|0;x=L;dTa(f+12|0);y=x;z=s;Hb(z|0)}else{dTa(f+12|0);A=0;r=f;return A|0}}if(i[a+108>>0]|0){s=i[a+80>>0]|0;if(!(s&1))B=(s&255)>>>1;else B=k[a+84>>2]|0;if(B)zHa(d,a+80|0,2)}if(!(i[a+97>>0]|0)){A=v;r=f;return A|0}if(hHa(d)|0){A=v;r=f;return A|0}if(iHa(d)|0){A=v;r=f;return A|0}k[f+24>>2]=16;k[f+24+4>>2]=b;k[f+24+8>>2]=c;aTa(f,269966,65);w=0;ab(66,a|0,f|0,f+24|0,0)|0;a=w;w=0;if(a&1){a=Ib()|0;c=L;dTa(f);y=c;z=a;Hb(z|0)}else{dTa(f);A=0;r=f;return A|0}return 0}function jMa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0;b=r;r=r+208|0;c=k[a+92>>2]|0;if((c|0)>=(k[a+104>>2]|0)){aTa(b+180|0,270032,35);w=0;sa(1686,b+180|0);w=0;d=Ib()|0;e=L;dTa(b+180|0);f=e;g=d;Hb(g|0)}k[a+92>>2]=c+1;if(!(i[a+96>>0]|0))pMa(a,b+192|0)|0;else do pMa(a,b+192|0)|0;while((k[b+192>>2]|0)==15);if(i[a+108>>0]|0){c=i[a+80>>0]|0;if(!(c&1))h=(c&255)>>>1;else h=k[a+84>>2]|0;if(h){h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;zHa(k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,a+80|0,0);fTa(a+80|0,282012)|0}}a:do switch(k[b+192>>2]|0){case 1:{h=lMa(a,b+192|0)|0;c=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;DHa(k[(k[(k[a+4>>2]|0)+(c>>>10<<2)>>2]|0)+((c&1023)<<2)>>2]|0,(k[a+68>>2]|0)-(k[a+60>>2]|0)|0);j=h;l=57;break}case 3:{h=mMa(a,b+192|0)|0;c=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;DHa(k[(k[(k[a+4>>2]|0)+(c>>>10<<2)>>2]|0)+((c&1023)<<2)>>2]|0,(k[a+68>>2]|0)-(k[a+60>>2]|0)|0);j=h;l=57;break}case 6:{j=nMa(a,b+192|0)|0;l=57;break}case 5:{j=oMa(a,b+192|0)|0;l=57;break}case 7:{NGa(b+144|0,1);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b+144|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b+144|0);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b+144|0);f=c;g=h;Hb(g|0);break}case 8:{NGa(b+120|0,0);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b+120|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b+120|0);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b+120|0);f=c;g=h;Hb(g|0);break}case 9:{FGa(b+96|0,0);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b+96|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b+96|0);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b+96|0);f=c;g=h;Hb(g|0);break}case 10:{KGa(b+72|0,A);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b+72|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b+72|0);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b+72|0);f=c;g=h;Hb(g|0);break}case 11:{KGa(b+48|0,B);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b+48|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b+48|0);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b+48|0);f=c;g=h;Hb(g|0);break}case 12:{KGa(b+24|0,-B);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b+24|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b+24|0);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b+24|0);f=c;g=h;Hb(g|0);break}case 4:case 2:case 13:{if(i[a+98>>0]|0){k[a+68>>2]=(k[a+68>>2]|0)+-1;FGa(b,0);h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,b|0);h=w;w=0;if((!(h&1)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[a+68>>2]|0)+-1-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0)?(h=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(h>>>10<<2)>>2]|0)+((h&1023)<<2)>>2]|0,(k[a+68>>2]|0)-(k[a+60>>2]|0)|0),h=w,w=0,!(h&1)):0){QGa(b);j=1;l=57;break a}h=Ib()|0;c=L;QGa(b);f=c;g=h;Hb(g|0)}break}default:{}}while(0);if((l|0)==57){if(i[a+108>>0]|0){k[a+72>>2]=k[a+68>>2];l=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;k[a+76>>2]=k[(k[(k[a+4>>2]|0)+(l>>>10<<2)>>2]|0)+((l&1023)<<2)>>2]}k[a+92>>2]=(k[a+92>>2]|0)+-1;m=j;r=b;return m|0}j=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;CHa(k[(k[(k[a+4>>2]|0)+(j>>>10<<2)>>2]|0)+((j&1023)<<2)>>2]|0,(k[b+192+4>>2]|0)-(k[a+60>>2]|0)|0);j=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;DHa(k[(k[(k[a+4>>2]|0)+(j>>>10<<2)>>2]|0)+((j&1023)<<2)>>2]|0,(k[b+192+8>>2]|0)-(k[a+60>>2]|0)|0);aTa(b+168|0,270068,46);w=0;ab(66,a|0,b+168|0,b+192|0,0)|0;a=w;w=0;if(a&1){a=Ib()|0;j=L;dTa(b+168|0);f=j;g=a;Hb(g|0)}else{dTa(b+168|0);m=0;r=b;return m|0}return 0}function kMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;e=r;r=r+32|0;k[e+12>>2]=0;k[e+12+4>>2]=0;k[e+12+8>>2]=0;k[e>>2]=k[c>>2];k[e+4>>2]=k[c+4>>2];k[e+8>>2]=k[c+8>>2];w=0;Sa(535,e+12|0,b|0)|0;b=w;w=0;if(b&1){f=Ib()|0;g=L;dTa(e+12|0);Hb(f|0)}k[e+24>>2]=d;d=k[a+32>>2]|0;b=k[a+28>>2]|0;c=k[a+40>>2]|0;h=k[a+44>>2]|0;do if((((d-b>>2|0)==0?0:((d-b>>2)*146|0)+-1|0)|0)==(h+c|0)){w=0;sa(1698,a+24|0);i=w;w=0;if(i&1){f=Ib()|0;g=L;dTa(e+12|0);Hb(f|0)}else{j=k[a+40>>2]|0;l=k[a+44>>2]|0;m=k[a+32>>2]|0;n=k[a+28>>2]|0;break}}else{j=c;l=h;m=d;n=b}while(0);b=l+j|0;if((m|0)==(n|0))o=0;else o=(k[n+(((b>>>0)/146|0)<<2)>>2]|0)+(((b>>>0)%146|0)*28|0)|0;k[o>>2]=k[e>>2];k[o+4>>2]=k[e+4>>2];k[o+8>>2]=k[e+8>>2];w=0;ua(724,o+12|0,e+12|0);b=w;w=0;if(b&1){f=Ib()|0;g=L;dTa(e+12|0);Hb(f|0)}else{k[o+24>>2]=k[e+24>>2];k[a+44>>2]=(k[a+44>>2]|0)+1;dTa(e+12|0);r=e;return 0}return 0}function lMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0;c=r;r=r+272|0;k[c+156>>2]=0;k[c+156+4>>2]=0;k[c+156+8>>2]=0;w=0;ua(709,c+24|0,7);d=w;w=0;if(d&1){d=Ib()|0;e=L;f=d;dTa(c+156|0);Hb(f|0)}d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,c+24|0);d=w;w=0;a:do if(!(d&1)?(g=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(g>>>10<<2)>>2]|0)+((g&1023)<<2)>>2]|0,(k[b+4>>2]|0)-(k[a+60>>2]|0)|0),g=w,w=0,!(g&1)):0){b:while(1){w=0;Sa(704,a|0,c+168|0)|0;g=w;w=0;if(g&1){h=13;break}c:while(1){j=k[c+168>>2]|0;switch(j|0){case 2:{h=16;break c;break}case 15:break;default:{l=j;break c}}w=0;Sa(704,a|0,c+168|0)|0;g=w;w=0;if(g&1){h=12;break b}}if((h|0)==16){h=0;g=i[c+156>>0]|0;if(!(((g&1)==0?(g&255)>>>1:k[c+156+4>>2]|0)|0)){m=1;h=119;break}else l=j}w=0;Sa(545,c+156|0,282012)|0;g=w;w=0;if(g&1){h=13;break}switch(l|0){case 5:{w=0;g=Ea(121,a|0,c+168|0,c+156|0)|0;n=w;w=0;if(n&1){h=13;break b}if(!g){h=21;break b}break}case 6:{if(!(i[a+99>>0]|0)){h=109;break b}w=0;ua(709,c|0,0);g=w;w=0;if(g&1){h=13;break b}w=0;g=Ea(122,a|0,c+168|0,c|0)|0;n=w;w=0;if(n&1){h=35;break b}if(!g){h=30;break b}w=0;ua(714,c+132|0,c|0);g=w;w=0;if(g&1){h=35;break b}if(!(i[c+156>>0]&1)){i[c+156+1>>0]=0;i[c+156>>0]=0}else{i[k[c+156+8>>2]>>0]=0;k[c+156+4>>2]=0}w=0;ua(708,c+156|0,0);g=w;w=0;if(g&1){h=43;break b};k[c+156>>2]=k[c+132>>2];k[c+156+4>>2]=k[c+132+4>>2];k[c+156+8>>2]=k[c+132+8>>2];k[c+132>>2]=0;k[c+132+4>>2]=0;k[c+132+8>>2]=0;dTa(c+132|0);QGa(c);break}default:{h=109;break b}}w=0;Sa(704,a|0,c+144|0)|0;g=w;w=0;if(g&1){h=13;break}if((k[c+144>>2]|0)!=14){h=48;break}if((i[c+156>>0]&1)!=0?(k[c+156+4>>2]|0)>>>0>1073741823:0){h=59;break}if(i[a+102>>0]|0){g=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;n=Sa(563,k[(k[(k[a+4>>2]|0)+(g>>>10<<2)>>2]|0)+((g&1023)<<2)>>2]|0,c+156|0)|0;g=w;w=0;if(g&1){h=13;break}if(n){h=64;break}}n=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;g=Sa(540,k[(k[(k[a+4>>2]|0)+(n>>>10<<2)>>2]|0)+((n&1023)<<2)>>2]|0,c+156|0)|0;n=w;w=0;if(n&1){h=13;break}n=k[a+8>>2]|0;o=k[a+4>>2]|0;p=k[a+16>>2]|0;q=k[a+20>>2]|0;if((((n|0)==(o|0)?0:(n-o<<8)+-1|0)|0)==(q+p|0)){w=0;sa(1699,a|0);n=w;w=0;if(n&1){h=13;break}s=k[a+16>>2]|0;t=k[a+20>>2]|0;u=k[a+4>>2]|0}else{s=p;t=q;u=o}o=t+s|0;k[(k[u+(o>>>10<<2)>>2]|0)+((o&1023)<<2)>>2]=g;k[a+20>>2]=t+1;w=0;g=ya(760,a|0)|0;o=w;w=0;if(o&1){h=13;break}o=k[a+20>>2]|0;k[a+20>>2]=o+-1;q=k[a+8>>2]|0;p=k[a+4>>2]|0;if((1-o-(k[a+16>>2]|0)+((q|0)==(p|0)?0:(q-p<<8)+-1|0)|0)>>>0>2047){GPa(k[q+-4>>2]|0);k[a+8>>2]=(k[a+8>>2]|0)+-4}if(!g){h=86;break}w=0;Sa(704,a|0,c+108|0)|0;g=w;w=0;if(g&1){h=13;break}g=k[c+108>>2]|0;switch(g|0){case 15:case 13:case 2:{v=g;break}default:{h=93;break b}}d:while(1){switch(v|0){case 2:{x=1;h=107;break b;break}case 15:break;default:break d}w=0;Sa(704,a|0,c+108|0)|0;g=w;w=0;if(g&1){h=11;break b}v=k[c+108>>2]|0}}e:switch(h|0){case 11:{g=Ib()|0;y=L;z=g;h=15;break a;break}case 12:{g=Ib()|0;y=L;z=g;h=15;break a;break}case 13:{g=Ib()|0;y=L;z=g;h=15;break a;break}case 21:{g=k[a+44>>2]|0;f:while(1){w=0;Sa(704,a|0,c+180|0)|0;q=w;w=0;if(q&1){h=10;break}switch(k[c+180>>2]|0){case 0:case 2:{break f;break}default:{}}}if((h|0)==10){q=Ib()|0;y=L;z=q;h=15;break a}w=0;ua(1134,a+24|0,g|0);q=w;w=0;if(q&1){h=14;break a}m=0;QGa(c+24|0);dTa(c+156|0);r=c;return m|0}case 30:{q=k[a+44>>2]|0;g:while(1){w=0;Sa(704,a|0,c+192|0)|0;p=w;w=0;if(p&1){h=34;break}switch(k[c+192>>2]|0){case 0:case 2:{break g;break}default:{}}}if((h|0)==34){g=Ib()|0;A=g;B=L;h=37;break}w=0;ua(1134,a+24|0,q|0);g=w;w=0;if(g&1){g=Ib()|0;A=g;B=L;h=37;break}QGa(c);m=0;QGa(c+24|0);dTa(c+156|0);r=c;return m|0}case 35:{g=Ib()|0;A=g;B=L;h=37;break}case 43:{g=Ib(0)|0;Zc(g);break}case 48:{w=0;cb(138,c+96|0,270115,36);g=w;w=0;if(g&1){h=14;break a}w=0;ab(66,a|0,c+96|0,c+144|0,0)|0;g=w;w=0;do if(!(g&1)){p=k[a+44>>2]|0;h:while(1){w=0;Sa(704,a|0,c+204|0)|0;o=w;w=0;if(o&1){h=55;break}switch(k[c+204>>2]|0){case 0:case 2:{break h;break}default:{}}}if((h|0)==55){o=Ib()|0;C=o;D=L;break}w=0;ua(1134,a+24|0,p|0);o=w;w=0;if(!(o&1)){dTa(c+96|0);h=106;break e}else h=56}else h=56;while(0);if((h|0)==56){g=Ib()|0;C=g;D=L}dTa(c+96|0);E=C;F=D;break a;break}case 59:{w=0;cb(138,c+84|0,270722,17);g=w;w=0;if(g&1){h=14;break a}w=0;sa(1686,c+84|0);w=0;g=Ib()|0;q=L;dTa(c+84|0);E=g;F=q;break a;break}case 64:{k[c+72>>2]=0;k[c+72+4>>2]=0;k[c+72+8>>2]=0;q=i[c+156>>0]|0;g=(q&1)==0?(q&255)>>>1:k[c+156+4>>2]|0;w=0;kb(82,c+72|0,270740,16,g+16|0);q=w;w=0;if(!(q&1)?(w=0,Ea(68,c+72|0,((i[c+156>>0]&1)==0?c+156+1|0:k[c+156+8>>2]|0)|0,g|0)|0,g=w,w=0,!(g&1)):0){w=0;g=Sa(549,c+72|0,270342)|0;q=w;w=0;if(q&1){q=Ib()|0;o=L;dTa(c+72|0);E=q;F=o;break a};k[c+120>>2]=k[g>>2];k[c+120+4>>2]=k[g+4>>2];k[c+120+8>>2]=k[g+8>>2];k[g>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;dTa(c+72|0);w=0;ab(66,a|0,c+120|0,c+168|0,0)|0;g=w;w=0;do if(!(g&1)){o=k[a+44>>2]|0;i:while(1){w=0;Sa(704,a|0,c+216|0)|0;q=w;w=0;if(q&1){h=75;break}switch(k[c+216>>2]|0){case 0:case 2:{break i;break}default:{}}}if((h|0)==75){p=Ib()|0;G=p;H=L;break}w=0;ua(1134,a+24|0,o|0);p=w;w=0;if(!(p&1)){dTa(c+120|0);h=106;break e}else h=76}else h=76;while(0);if((h|0)==76){g=Ib()|0;G=g;H=L}dTa(c+120|0);E=G;F=H;break a}g=Ib()|0;p=L;dTa(c+72|0);y=p;z=g;h=15;break a;break}case 86:{g=k[a+44>>2]|0;j:while(1){w=0;Sa(704,a|0,c+228|0)|0;p=w;w=0;if(p&1){h=9;break}switch(k[c+228>>2]|0){case 0:case 2:{break j;break}default:{}}}if((h|0)==9){p=Ib()|0;y=L;z=p;h=15;break a}w=0;ua(1134,a+24|0,g|0);p=w;w=0;if(p&1){h=14;break a}h=106;break}case 93:{w=0;cb(138,c+60|0,270152,40);p=w;w=0;if(p&1){h=14;break a}w=0;ab(66,a|0,c+60|0,c+108|0,0)|0;p=w;w=0;do if(!(p&1)){q=k[a+44>>2]|0;k:while(1){w=0;Sa(704,a|0,c+240|0)|0;n=w;w=0;if(n&1){h=100;break}switch(k[c+240>>2]|0){case 0:case 2:{break k;break}default:{}}}if((h|0)==100){o=Ib()|0;I=o;J=L;break}w=0;ua(1134,a+24|0,q|0);o=w;w=0;if(!(o&1)){dTa(c+60|0);x=0;h=107;break e}else h=101}else h=101;while(0);if((h|0)==101){p=Ib()|0;I=p;J=L}dTa(c+60|0);E=I;F=J;break a;break}case 109:{w=0;cb(138,c+48|0,270193,33);p=w;w=0;if(p&1){h=14;break a}w=0;ab(66,a|0,c+48|0,c+168|0,0)|0;p=w;w=0;do if(!(p&1)){g=k[a+44>>2]|0;l:while(1){w=0;Sa(704,a|0,c+252|0)|0;o=w;w=0;if(o&1){h=116;break}switch(k[c+252>>2]|0){case 0:case 2:{break l;break}default:{}}}if((h|0)==116){q=Ib()|0;K=q;M=L;break}w=0;ua(1134,a+24|0,g|0);q=w;w=0;if(!(q&1)){dTa(c+48|0);m=0;QGa(c+24|0);dTa(c+156|0);r=c;return m|0}else h=117}else h=117;while(0);if((h|0)==117){p=Ib()|0;K=p;M=L}dTa(c+48|0);E=K;F=M;break a;break}case 119:{QGa(c+24|0);dTa(c+156|0);r=c;return m|0}}if((h|0)==37){QGa(c);E=A;F=B;break}else if((h|0)==106){m=0;QGa(c+24|0);dTa(c+156|0);r=c;return m|0}else if((h|0)==107){m=x;QGa(c+24|0);dTa(c+156|0);r=c;return m|0}}else h=14;while(0);if((h|0)==14){m=Ib()|0;y=L;z=m;h=15}if((h|0)==15){E=z;F=y}QGa(c+24|0);e=F;f=E;dTa(c+156|0);Hb(f|0);return 0}function mMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;c=r;r=r+96|0;FGa(c,6);d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,c|0);d=w;w=0;do if(!(d&1)?(e=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(e>>>10<<2)>>2]|0)+((e&1023)<<2)>>2]|0,(k[b+4>>2]|0)-(k[a+60>>2]|0)|0),e=w,w=0,!(e&1)):0){e=k[a+68>>2]|0;f=k[a+64>>2]|0;a:do if((e|0)==(f|0)){g=e;h=6}else{j=e;while(1){switch(i[j>>0]|0){case 10:case 13:case 9:case 32:break;default:{g=j;h=6;break a}}j=j+1|0;k[a+68>>2]=j;if((j|0)==(f|0))break a}}while(0);if(((h|0)==6?(g|0)!=(f|0):0)?(i[g>>0]|0)==93:0){w=0;Sa(704,a|0,c+48|0)|0;e=w;w=0;if(e&1){h=14;break}l=1;QGa(c);r=c;return l|0}e=0;b:while(1){j=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;m=e+1|0;w=0;n=Sa(541,k[(k[(k[a+4>>2]|0)+(j>>>10<<2)>>2]|0)+((j&1023)<<2)>>2]|0,e|0)|0;j=w;w=0;if(j&1){h=13;break}j=k[a+8>>2]|0;o=k[a+4>>2]|0;p=k[a+16>>2]|0;q=k[a+20>>2]|0;if((((j|0)==(o|0)?0:(j-o<<8)+-1|0)|0)==(q+p|0)){w=0;sa(1699,a|0);j=w;w=0;if(j&1){h=13;break}s=k[a+16>>2]|0;t=k[a+20>>2]|0;u=k[a+4>>2]|0}else{s=p;t=q;u=o}o=t+s|0;k[(k[u+(o>>>10<<2)>>2]|0)+((o&1023)<<2)>>2]=n;k[a+20>>2]=t+1;w=0;n=ya(760,a|0)|0;o=w;w=0;if(o&1){h=13;break}o=k[a+20>>2]|0;k[a+20>>2]=o+-1;q=k[a+8>>2]|0;p=k[a+4>>2]|0;if((1-o-(k[a+16>>2]|0)+((q|0)==(p|0)?0:(q-p<<8)+-1|0)|0)>>>0>2047){GPa(k[q+-4>>2]|0);k[a+8>>2]=(k[a+8>>2]|0)+-4}if(!n){h=24;break}w=0;Sa(704,a|0,c+36|0)|0;n=w;w=0;if(n&1){h=13;break}c:while(1){switch(k[c+36>>2]|0){case 4:{h=43;break b;break}case 13:{break c;break}case 15:break;default:{h=32;break b}}w=0;Sa(704,a|0,c+36|0)|0;n=w;w=0;if(n&1){h=12;break b}}e=m}if((h|0)==12){e=Ib()|0;v=e;x=L;break}else if((h|0)==13){e=Ib()|0;v=e;x=L;break}else if((h|0)==24){e=k[a+44>>2]|0;d:while(1){w=0;Sa(704,a|0,c+60|0)|0;f=w;w=0;if(f&1){h=11;break}switch(k[c+60>>2]|0){case 0:case 4:{break d;break}default:{}}}if((h|0)==11){f=Ib()|0;v=f;x=L;break}w=0;ua(1134,a+24|0,e|0);f=w;w=0;if(f&1){h=14;break}l=0;QGa(c);r=c;return l|0}else if((h|0)==32){w=0;cb(138,c+24|0,270227,39);f=w;w=0;if(f&1){h=14;break}w=0;ab(66,a|0,c+24|0,c+36|0,0)|0;f=w;w=0;do if(!(f&1)){n=k[a+44>>2]|0;e:while(1){w=0;Sa(704,a|0,c+72|0)|0;q=w;w=0;if(q&1){h=39;break}switch(k[c+72>>2]|0){case 0:case 4:{break e;break}default:{}}}if((h|0)==39){m=Ib()|0;y=m;z=L;break}w=0;ua(1134,a+24|0,n|0);m=w;w=0;if(!(m&1)){dTa(c+24|0);l=0;QGa(c);r=c;return l|0}else h=40}else h=40;while(0);if((h|0)==40){f=Ib()|0;y=f;z=L}dTa(c+24|0);A=y;B=z;QGa(c);Hb(A|0)}else if((h|0)==43){l=1;QGa(c);r=c;return l|0}}else h=14;while(0);if((h|0)==14){h=Ib()|0;v=h;x=L}A=v;B=x;QGa(c);Hb(A|0);return 0}function nMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=r;r=r+32|0;FGa(c,0);w=0;d=Ea(122,a|0,b|0,c|0)|0;e=w;w=0;if(!(e&1)){if(!d){f=0;QGa(c);r=c;return f|0}d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,c|0);d=w;w=0;if((!(d&1)?(d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,(k[b+4>>2]|0)-(k[a+60>>2]|0)|0),d=w,w=0,!(d&1)):0)?(d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,(k[b+8>>2]|0)-(k[a+60>>2]|0)|0),a=w,w=0,!(a&1)):0){f=1;QGa(c);r=c;return f|0}}f=Ib()|0;QGa(c);Hb(f|0);return 0}function oMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=r;r=r+48|0;k[c+24>>2]=0;k[c+24+4>>2]=0;k[c+24+8>>2]=0;w=0;d=Ea(121,a|0,b|0,c+24|0)|0;e=w;w=0;if(!(e&1)){if(!d){f=0;dTa(c+24|0);r=c;return f|0}w=0;ua(710,c|0,c+24|0);d=w;w=0;if(!(d&1)){d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0;w=0;ua(1131,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,c|0);d=w;w=0;if((!(d&1)?(d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1132,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,(k[b+4>>2]|0)-(k[a+60>>2]|0)|0),d=w,w=0,!(d&1)):0)?(d=(k[a+20>>2]|0)+-1+(k[a+16>>2]|0)|0,w=0,ua(1133,k[(k[(k[a+4>>2]|0)+(d>>>10<<2)>>2]|0)+((d&1023)<<2)>>2]|0,(k[b+8>>2]|0)-(k[a+60>>2]|0)|0),a=w,w=0,!(a&1)):0){QGa(c);f=1;dTa(c+24|0);r=c;return f|0}f=Ib()|0;a=L;QGa(c);g=a;h=f;dTa(c+24|0);Hb(h|0)}}f=Ib()|0;g=L;h=f;dTa(c+24|0);Hb(h|0);return 0}function pMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,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;c=k[a+68>>2]|0;d=k[a+64>>2]|0;a:do if((c|0)==(d|0)){e=c;f=c;g=5}else{h=c;j=c;while(1){switch(i[j>>0]|0){case 10:case 13:case 9:case 32:break;default:{e=h;f=j;g=5;break a}}j=j+1|0;k[a+68>>2]=j;l=j;if((j|0)==(d|0))break;else h=l}k[b+4>>2]=l;m=0;n=l;o=a+68|0;p=d}while(0);if((g|0)==5){k[b+4>>2]=e;if((f|0)==(d|0)){m=0;n=e;o=a+68|0;p=d}else{e=f+1|0;k[a+68>>2]=e;m=i[f>>0]|0;n=e;o=a+68|0;p=e}}b:do switch(m<<24>>24|0){case 123:{k[b>>2]=1;break}case 125:{k[b>>2]=2;break}case 91:{k[b>>2]=3;break}case 93:{k[b>>2]=4;break}case 34:{k[b>>2]=5;if((p|0)==(d|0))g=102;else{e=p;while(1){f=e+1|0;k[a+68>>2]=f;switch(i[e>>0]|0){case 34:{break b;break}case 92:{if((f|0)==(d|0)){g=102;break b}l=e+2|0;k[a+68>>2]=l;q=l;break}default:q=f}if((q|0)==(d|0)){g=102;break b}else e=q}}break}case 39:{if(i[a+100>>0]|0){k[b>>2]=5;if((p|0)==(d|0))g=102;else{e=p;while(1){f=e+1|0;k[a+68>>2]=f;switch(i[e>>0]|0){case 39:{break b;break}case 92:{if((f|0)==(d|0)){g=102;break b}l=e+2|0;k[a+68>>2]=l;r=l;break}default:r=f}if((r|0)==(d|0)){g=102;break b}else e=r}}}else g=23;break}case 47:{g=23;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:{k[b>>2]=6;e=48;f=p;c:while(1){l=f>>>0>>0;c=e;while(1){if((c+-48&255)>=10){s=c;t=f;break c}k[a+68>>2]=f;if(l)break;else c=0}e=i[f>>0]|0;f=f+1|0}d:do if(s<<24>>24==46){k[a+68>>2]=t;if(t>>>0>>0){u=i[t>>0]|0;v=t+1|0}else{u=0;v=t}if(v>>>0>>0){f=u;e=v;while(1){if((f+-48&255)>=10){w=f;x=e;break d}k[a+68>>2]=e;c=e+1|0;l=i[e>>0]|0;if(c>>>0>>0){f=l;e=c}else{y=l;z=c;break}}}else{y=u;z=v}if((y+-48&255)<10){k[a+68>>2]=z;w=0;x=z}else{w=y;x=z}}else{w=s;x=t}while(0);switch(w<<24>>24){case 69:case 101:break;default:break b}k[a+68>>2]=x;e:do if(x>>>0>>0){e=x+1|0;f=i[x>>0]|0;switch(f<<24>>24){case 45:case 43:break;default:{A=f;B=e;break e}}k[a+68>>2]=e;if(e>>>0>>0){A=i[e>>0]|0;B=x+2|0}else{A=0;B=e}}else{A=0;B=x}while(0);if(B>>>0>>0){e=A;f=B;while(1){if((e+-48&255)>=10)break b;k[a+68>>2]=f;c=f+1|0;l=i[f>>0]|0;if(c>>>0>>0){e=l;f=c}else{C=l;D=c;break}}}else{C=A;D=B}if((C+-48&255)<10)k[a+68>>2]=D;break}case 45:{if((p|0)!=(d|0)?(i[p>>0]|0)==73:0){f=p+1|0;k[a+68>>2]=f;k[b>>2]=12;if(!(i[a+103>>0]|0)){g=102;break b}if((d-f|0)<7){g=102;break b}else E=7;while(1){if(!E)break;E=E+-1|0;if((i[f+E>>0]|0)!=(i[270757+E>>0]|0)){g=102;break b}}k[a+68>>2]=p+8;break b}else{F=48;G=p}f:while(1){f=G>>>0>>0;e=F;while(1){if((e+-48&255)>=10){H=e;I=G;break f}k[a+68>>2]=G;if(f)break;else e=0}F=i[G>>0]|0;G=G+1|0}g:do if(H<<24>>24==46){k[a+68>>2]=I;if(I>>>0>>0){J=i[I>>0]|0;K=I+1|0}else{J=0;K=I}if(K>>>0>>0){e=J;f=K;while(1){if((e+-48&255)>=10){L=e;M=f;break g}k[a+68>>2]=f;c=f+1|0;l=i[f>>0]|0;if(c>>>0>>0){e=l;f=c}else{N=l;O=c;break}}}else{N=J;O=K}if((N+-48&255)<10){k[a+68>>2]=O;L=0;M=O}else{L=N;M=O}}else{L=H;M=I}while(0);h:do switch(L<<24>>24){case 69:case 101:{k[a+68>>2]=M;i:do if(M>>>0>>0){f=M+1|0;e=i[M>>0]|0;switch(e<<24>>24){case 45:case 43:break;default:{P=e;Q=f;break i}}k[a+68>>2]=f;if(f>>>0>>0){P=i[f>>0]|0;Q=M+2|0}else{P=0;Q=f}}else{P=0;Q=M}while(0);if(Q>>>0>>0){f=P;e=Q;while(1){if((f+-48&255)>=10)break h;k[a+68>>2]=e;c=e+1|0;l=i[e>>0]|0;if(c>>>0