Lines Matching refs:Vu
7317 vu0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;h=i;i=i+16|0;g=c[b+12>>2]|0;a:do{if((g|0)==0){f=b+312|0;g=c[f>>2]|0;do{if((g|0)==-1){g=c[b+8>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)!=-1){k=b+308|0;m=b+309|0;j=(d[k]|0)+1|0;a[k]=j;j=b+52+(j&255)|0;k=(d[m]|0)+(d[j]|0)|0;a[m]=k;m=a[j]|0;k=b+52+(k&255)|0;l=a[k]|0;a[j]=l;a[k]=m;g=(a[b+52+((l&255)+(m&255)&255)|0]^g&255)&255;c[f>>2]=g;break}g=c[f>>2]|0;c[f>>2]=-1;if((g|0)==-1){b=-1}else{break a}i=e;return b|0}}while(0);c[f>>2]=-1}else if((g|0)==1){j=b+52|0;g=b+276|0;k=c[g>>2]|0;do{if((k|0)==16){m=b+8|0;l=0;do{k=c[m>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){b=-1;f=14;break}a[h+l|0]=k;l=l+1|0;}while((l|0)<16);if((f|0)==14){i=e;return b|0}k=c[m>>2]|0;Lu(j,h,(jd[c[(c[k>>2]|0)+24>>2]&511](k)|0)==-1);k=c[g>>2]|0;if((k|0)==16){b=-1}else{break}i=e;return b|0}}while(0);c[g>>2]=k+1;g=d[b+52+(k+208)|0]|0}else{m=-1;i=e;return m|0}}while(0);m=b+48|0;c[m>>2]=(c[m>>2]|0)+1;m=g;i=e;return m|0}function Lu(b,e,f){b=b|0;e=e|0;f=f|0;var 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=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,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;j=i;h=i;i=i+8|0;g=h;P=a[e]|0;L=b+176|0;a[L]=P;t=e+1|0;M=b+180|0;a[M]=a[t]|0;u=e+2|0;I=b+184|0;a[I]=a[u]|0;v=e+3|0;E=b+188|0;a[E]=a[v]|0;w=e+4|0;O=b+177|0;a[O]=a[w]|0;k=e+5|0;K=b+181|0;a[K]=a[k]|0;y=e+6|0;z=b+185|0;a[z]=a[y]|0;x=e+7|0;D=b+189|0;a[D]=a[x]|0;s=e+8|0;A=b+178|0;a[A]=a[s]|0;r=e+9|0;H=b+182|0;a[H]=a[r]|0;q=e+10|0;G=b+186|0;a[G]=a[q]|0;p=e+11|0;C=b+190|0;a[C]=a[p]|0;o=e+12|0;N=b+179|0;a[N]=a[o]|0;n=e+13|0;J=b+183|0;a[J]=a[n]|0;m=e+14|0;F=b+187|0;a[F]=a[m]|0;l=e+15|0;B=b+191|0;a[B]=a[l]|0;Q=0;while(1){qa=b+(Q+40<<2)|0;a[b+176+Q|0]=P&255^(c[qa>>2]|0)>>>24;ra=b+176+(Q+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(Q+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(Q+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];Q=Q+1|0;if((Q|0)>=4){P=9;break}P=a[b+176+Q|0]|0}while(1){a[L]=a[131928+(d[L]|0)|0]|0;a[O]=a[131928+(d[O]|0)|0]|0;a[A]=a[131928+(d[A]|0)|0]|0;a[N]=a[131928+(d[N]|0)|0]|0;ia=a[131928+(d[M]|0)|0]|0;ha=a[131928+(d[K]|0)|0]|0;ja=a[131928+(d[J]|0)|0]|0;la=a[131928+(d[I]|0)|0]|0;na=a[131928+(d[z]|0)|0]|0;ka=a[131928+(d[G]|0)|0]|0;ma=a[131928+(d[F]|0)|0]|0;ra=a[131928+(d[E]|0)|0]|0;oa=a[131928+(d[D]|0)|0]|0;pa=a[131928+(d[C]|0)|0]|0;qa=a[131928+(d[B]|0)|0]|0;a[J]=a[131928+(d[H]|0)|0]|0;a[H]=ha;a[K]=ia;a[M]=ja;a[I]=ka;a[G]=la;a[z]=ma;a[F]=na;a[E]=oa;a[D]=pa;a[C]=qa;a[B]=ra;if((P|0)>0){T=0}else{z=0;break}do{ia=b+176+T|0;V=a[ia]|0;Z=b+176+(T+4)|0;U=a[Z]|0;R=b+176+(T+8)|0;Q=a[R]|0;S=b+176+(T+12)|0;W=a[S]|0;ra=V&255;X=ra<<1;X=(ra&128|0)!=0?X^27:X;ja=(X&128|0)!=0;ka=X<<1;Y=ka&510;ma=ja?Y^27:Y;Y=ma<<1;Y=(ma&128|0)!=0?Y^27:Y;ra=U&255;_=ra<<1;ca=(ra&128|0)!=0?_^27:_;ba=(ca&128|0)!=0;da=ca<<1;_=da&510;ea=ba?_^27:_;_=ea<<1;ha=(ea&128|0)!=0?_^27:_;ra=Q&255;_=ra<<1;_=(ra&128|0)!=0?_^27:_;na=(_&128|0)!=0;pa=_<<1;qa=na?pa^27:pa;$=qa<<1;$=(qa&128|0)!=0?$^27:$;ra=W&255;aa=ra<<1;aa=(ra&128|0)!=0?aa^27:aa;fa=(aa&128|0)!=0;ga=aa<<1;la=fa?ga^27:ga;oa=la<<1;oa=(la&128|0)!=0?oa^27:oa;a[ia]=(Q^U)&255^X^ra^ca^ma^qa^Y^ha^$^oa;ia=ja?ka^27:ka;ja=ia<<1;ja=(ia&128|0)!=0?ja^27:ja;ka=pa&510;ka=na?ka^27:ka;ma=ka<<1;ma=(ka&128|0)!=0?ma^27:ma;a[Z]=(Q^V^W)&255^ca^_^ea^ja^la^ha^ma^oa;Z=ba?da^27:da;ba=Z<<1;ba=(Z&128|0)!=0?ba^27:ba;ca=ga&510;da=fa?ca^27:ca;ca=da<<1;ra=(da&128|0)!=0?ca^27:ca;qa=U^V;a[R]=_^(W^qa)&255^ia^aa^ja^ka^ba^ma^ra;a[S]=(qa^Q)&255^X^aa^Z^Y^ba^da^$^ra;T=T+1|0;}while((T|0)<4);R=P<<2;Q=0;do{qa=b+(Q+R<<2)|0;ra=b+176+Q|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>24;ra=b+176+(Q+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(Q+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(Q+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];Q=Q+1|0;}while((Q|0)<4);P=P+ -1|0}while(1){qa=b+(z<<2)|0;ra=b+176+z|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>24;ra=b+176+(z+4)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>16;ra=b+176+(z+8)|0;a[ra]=(d[ra]|0)^(c[qa>>2]|0)>>>8;ra=b+176+(z+12)|0;a[ra]=(d[ra]|0)^c[qa>>2];z=z+1|0;if((z|0)<4){}else{z=0;break}}do{ra=z<<2;a[b+208+ra|0]=a[b+192+ra|0]^a[b+176+z|0];qa=ra|1;a[b+208+qa|0]=a[b+192+qa|0]^a[b+176+(z+4)|0];qa=ra|2;a[b+208+qa|0]=a[b+192+qa|0]^a[b+176+(z+8)|0];ra=ra|3;a[b+208+ra|0]=a[b+192+ra|0]^a[b+176+(z+12)|0];z=z+1|0;}while((z|0)<4);a[b+192|0]=a[e]|0;a[b+193|0]=a[t]|0;a[b+194|0]=a[u]|0;a[b+195|0]=a[v]|0;a[b+196|0]=a[w]|0;a[b+197|0]=a[k]|0;a[b+198|0]=a[y]|0;a[b+199|0]=a[x]|0;a[b+200|0]=a[s]|0;a[b+201|0]=a[r]|0;a[b+202|0]=a[q]|0;a[b+203|0]=a[p]|0;a[b+204|0]=a[o]|0;a[b+205|0]=a[n]|0;a[b+206|0]=a[m]|0;a[b+207|0]=a[l]|0;e=b+224|0;c[e>>2]=0;if(!f){i=j;return}k=a[b+223|0]|0;f=k&255;if((k&255)<=15){l=15;while(1){a[b+208+l|0]=a[b+208+(l-f)|0]|0;if((l|0)>(f|0)){l=l+ -1|0}else{break}}}c[e>>2]=f;if((k&255)<=16){i=j;return}c[h>>2]=f;Qe(-1,131880,g);c[e>>2]=16;i=j;return}function Mu(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;g=i;i=i+16|0;h=c[b+12>>2]|0;if((h|0)==1){h=b+52|0;j=b+276|0;k=c[j>>2]|0;do{if((k|0)==16){l=b+8|0;m=0;do{k=c[l>>2]|0;k=jd[c[(c[k>>2]|0)+20>>2]&511](k)|0;if((k|0)==-1){b=-1;f=12;break}a[g+m|0]=k;m=m+1|0;}while((m|0)<16);if((f|0)==12){i=e;return b|0}k=c[l>>2]|0;Lu(h,g,(jd[c[(c[k>>2]|0)+24>>2]&511](k)|0)==-1);k=c[j>>2]|0;if((k|0)==16){b=-1}else{break}i=e;return b|0}}while(0);m=d[b+52+(k+208)|0]|0;i=e;return m|0}else if((h|0)==0){f=b+312|0;g=c[f>>2]|0;if((g|0)!=-1){m=g;i=e;return m|0}g=c[b+8>>2]|0;g=jd[c[(c[g>>2]|0)+20>>2]&511](g)|0;if((g|0)==-1){m=c[f>>2]|0;i=e;return m|0}else{k=b+308|0;m=b+309|0;j=(d[k]|0)+1|0;a[k]=j;j=b+52+(j&255)|0;k=(d[m]|0)+(d[j]|0)|0;a[m]=k;m=a[j]|0;k=b+52+(k&255)|0;l=a[k]|0;a[j]=l;a[k]=m;m=(a[b+52+((l&255)+(m&255)&255)|0]^g&255)&255;c[f>>2]=m;i=e;return m|0}}else{m=-1;i=e;return m|0}return 0}function Nu(a,b){a=a|0;b=b|0;var d=0;d=i;a=c[a+8>>2]|0;a=Bd[c[(c[a>>2]|0)+60>>2]&255](a,b)|0;i=d;return a|0}function Ou(a){a=a|0;i=i;return 11}function Pu(a){a=a|0;i=i;return a|0}function Qu(b,d){b=b|0;d=d|0;c[b+4>>2]=d;c[b+8>>2]=0;c[b+16>>2]=0;c[b+12>>2]=0;c[b+20>>2]=1;a[b]=0;i=i;return}function Ru(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;c[b+4>>2]=c[d+4>>2];g=c[d+16>>2]|0;f=b+16|0;c[f>>2]=g;c[b+12>>2]=g;c[b+20>>2]=1;a[b]=a[d]&1;b=b+8|0;c[b>>2]=ye(g,24)|0;if((c[f>>2]|0)<=0){i=e;return}d=d+8|0;g=0;do{h=Ic(c[(c[d>>2]|0)+(g*24|0)>>2]|0)|0;c[(c[b>>2]|0)+(g*24|0)>>2]=h;h=(c[b>>2]|0)+(g*24|0)+16|0;c[h>>2]=0;c[h+4>>2]=0;Mf((c[d>>2]|0)+(g*24|0)+8|0,(c[b>>2]|0)+(g*24|0)+8|0)|0;g=g+1|0;}while((g|0)<(c[f>>2]|0));i=e;return}function Su(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+16|0;a=a+8|0;f=c[a>>2]|0;if((c[d>>2]|0)>0){e=0}else{Fe(f);i=b;return}while(1){Fe(c[f+(e*24|0)>>2]|0);Of((c[a>>2]|0)+(e*24|0)+8|0);e=e+1|0;f=c[a>>2]|0;if((e|0)<(c[d>>2]|0)){}else{break}}Fe(f);i=b;return}function Tu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;g=i;if((a[b]&1)!=0){a[b]=0}f=b+16|0;k=c[f>>2]|0;h=b+12|0;do{if((k|0)==(c[h>>2]|0)){j=(k|0)==0?8:k<<1;c[h>>2]=j;b=b+8|0;j=Ce(c[b>>2]|0,j,24)|0;c[b>>2]=j;k=c[f>>2]|0;if((k|0)>=(c[h>>2]|0)){break}while(1){j=j+(k*24|0)+16|0;c[j>>2]=0;c[j+4>>2]=0;k=k+1|0;if((k|0)>=(c[h>>2]|0)){break}j=c[b>>2]|0}k=c[f>>2]|0}else{b=b+8|0}}while(0);c[(c[b>>2]|0)+(k*24|0)>>2]=d;$W((c[b>>2]|0)+((c[f>>2]|0)*24|0)+8|0,e|0,16)|0;c[f>>2]=(c[f>>2]|0)+1;i=g;return}function Uu(a,b){a=a|0;b=b|0;var c=0;c=i;a=(Vu(a,b)|0)!=0;i=c;return a|0}function Vu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;e=i;m=i;i=i+8|0;l=m;j=a[b]|0;do{if((j&1)==0){k=c[b+16>>2]|0;if((k|0)<=31){break}a[b]=1;j=c[b+8>>2]|0;c[m>>2]=186;dv(j,j+(k*24|0)|0,l);j=a[b]|0}}while(0);if((j&1)==0){j=b+8|0;k=c[b+16>>2]|0;while(1){b=k+ -1|0;if((k|0)<=0){f=0;g=18;break}h=c[j>>2]|0;if((Qc(d|0,c[h+(b*24|0)>>2]|0)|0)==0){break}else{k=b}}if((g|0)==18){i=e;return f|0}m=h+(b*24|0)|0;i=e;return m|0}h=c[b+8>>2]|0;g=c[b+16>>2]|0;if((g|0)<1){m=0;i=e;return m|0}k=g+ -1|0;g=0;a:while(1){while(1){b=g+k|0;j=(b|0)/2|0;l=Qc(d|0,c[h+(j*24|0)>>2]|0)|0;if((l|0)==0){g=12;break a}if((l|0)<0){break}if((j|0)<(k|0)){g=j+1|0}else{f=0;g=18;break a}}k=j+ -1|0;if((g|0)>(k|0)){f=0;g=18;break}}if((g|0)==12){if((b+3|0)>>>0<2){m=0;i=e;return m|0}m=h+(j*24|0)|0;i=e;return m|0}else if((g|0)==18){i=e;return f|0}return 0}function Wu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;g=Vu(b,d)|0;if((g|0)!=0){k=g+8|0;Of(k);$W(k|0,e|0,16)|0;i=f;return}d=Ge(d)|0;if((a[b]&1)!=0){a[b]=0}g=b+16|0;k=c[g>>2]|0;h=b+12|0;do{if((k|0)==(c[h>>2]|0)){j=(k|0)==0?8:k<<1;c[h>>2]=j;b=b+8|0;j=Ce(c[b>>2]|0,j,24)|0;c[b>>2]=j;k=c[g>>2]|0;if((k|0)>=(c[h>>2]|0)){break}j=j+(k*24|0)+16|0;c[j>>2]=0;c[j+4>>2]=0;j=k+1|0;if((j|0)<(c[h>>2]|0)){do{k=(c[b>>2]|0)+(j*24|0)+16|0;c[k>>2]=0;c[k+4>>2]=0;j=j+1|0;}while((j|0)<(c[h>>2]|0))}k=c[g>>2]|0}else{b=b+8|0}}while(0);c[(c[b>>2]|0)+(k*24|0)>>2]=d;$W((c[b>>2]|0)+((c[g>>2]|0)*24|0)+8|0,e|0,16)|0;c[g>>2]=(c[g>>2]|0)+1;i=f;return}function Xu(a,b){a=a|0;b=b|0;var d=0;d=i;a=Vu(a,132488)|0;if((a|0)==0){a=0;i=d;return a|0}if((c[a+8>>2]|0)!=4){a=0;i=d;return a|0}a=(Qc(c[a+16>>2]|0,b|0)|0)==0;i=d;return a|0}function Yu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=i;b=Vu(a,b)|0;if((b|0)==0){b=d+8|0;c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=5;b=d;i=f;return b|0}else{b=Nf(b+8|0,c[a+4>>2]|0,d,e)|0;i=f;return b|0}return 0}function Zu(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;b=Vu(a,b)|0;if((b|0)==0){a=d+8|0;c[a>>2]=0;c[a+4>>2]=0;c[d>>2]=5;a=d;i=e;return a|0}else{a=Mf(b+8|0,d)|0;i=e;return a|0}return 0}function _u(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;f=i;j=i;i=i+16|0;h=j;c[j>>2]=13;g=h+8|0;c[g>>2]=0;k=g+4|0;c[k>>2]=0;b=Vu(a,b)|0;if((b|0)==0){c[g>>2]=0;c[k>>2]=0;c[j>>2]=5;b=5}else{Nf(b+8|0,c[a+4>>2]|0,h,0)|0;b=c[j>>2]|0}do{if(!((b|0)!=5|(d|0)==0)){Of(h);d=Vu
7329 vu(c[l>>2]|0,G,D,J);break i}}while(0);if(!(tf(c[834]|0)|0)){break}do{if(K){J=a[I]|0;if(J<<24>>24==0){break}else{L=0}while(1){c[D+(L<<2)>>2]=J<<24>>24;K=L+1|0;if(J<<24>>24==0){K=L;break}if((K|0)>=8){break}J=a[I+K|0]|0;L=K}vu(c[l>>2]|0,G,D,K);break i}}while(0);c[C>>2]=G;vu(c[l>>2]|0,G,D,1)}}while(0);G=G+1|0;}while((G|0)<256);G=c[l>>2]|0}_x(d,m,8,G)|0;C=c[E>>2]|0;do{if((C|0)!=0){C=yf(c[834]|0,C)|0;if((C|0)==0){break}bX(A|0,0,1024)|0;A=ku(B)|0;D=0;do{do{if((wu(c[l>>2]|0,D,y)|0)>0){B=wu(C,c[c[z>>2]>>2]|0,y)|0;if((B|0)<=0){break}vu(A,D,c[z>>2]|0,B)}}while(0);D=D+1|0;}while((D|0)<256);uu(C);y=c[l>>2]|0;if((y|0)!=0){su(y);HW(y)}c[l>>2]=A}}while(0);y=d+144|0;z=0;do{h[d+1464+(z<<3)>>3]=+h[y>>3]*.001;z=z+1|0;}while((z|0)<256);Yu(m,164304,q,0)|0;if((c[r>>2]|0)==1){y=c[g>>2]|0}else{y=0}Of(q);y=y>>>0>255?0:y;Yu(m,164320,q,0)|0;if((c[r>>2]|0)==1){z=c[g>>2]|0}else{z=255}Of(q);z=z>>>0>255?255:z;if((c[x>>2]|0)==4){oa=+h[Q>>3]}else{oa=.001}Yu(m,164336,q,0)|0;if((c[r>>2]|0)==6){m=d+44|0;c[m>>2]=c[m>>2]|1;x=c[(c[g>>2]|0)+12>>2]|0;if((x|0)<(1-y+z|0)){x=y+ -1+x|0}else{x=z}if((y|0)>(x|0)){Of(q);na=j;a[na]=1;i=p;return}z=d+1464+(y<<3)|0;A=6;l=y;while(1){if((A|0)!=6){G=193;break}ut(c[g>>2]|0,l-y|0,v)|0;A=c[s>>2]|0;do{if((A+ -1|0)>>>0<2){if((A|0)==1){pa=+(c[w>>2]|0)}else{pa=+h[w>>3]}pa=oa*pa;h[d+1464+(l<<3)>>3]=pa;if(pa==+h[z>>3]){break}c[m>>2]=c[m>>2]&-2}}while(0);Of(v);if((l|0)>=(x|0)){G=217;break}A=c[r>>2]|0;l=l+1|0}if((G|0)==193){c[u>>2]=A;c[t+4>>2]=6;Qe(0,166192,t);tc()}else if((G|0)==217){Of(q);na=j;a[na]=1;i=p;return}}if(F){r=k+20|0;if(BH(c[r>>2]|0,164344,n)|0){h[d+1720>>3]=+(e[o>>1]|0)*.001;s=0}else{s=0}do{t=c[d+176+(s<<2)>>2]|0;do{if((t|0)!=0){if(!(BH(c[r>>2]|0,t,n)|0)){break}h[d+1464+(s<<3)>>3]=+(e[o>>1]|0)*.001}}while(0);s=s+1|0;}while((s|0)<256);Of(q);na=j;a[na]=1;i=p;return}r=c[d+44>>2]|0;if((r&1|0)==0){s=(r<<1&4)+4|0}else{s=0}r=(c[73264+((r>>>17&2|s)+(r>>>6&1)<<2)>>2]|0)+20|0;if(BH(c[r>>2]|0,164344,n)|0){h[d+1720>>3]=+(e[o>>1]|0)*.001;s=0}else{s=0}do{t=c[d+176+(s<<2)>>2]|0;do{if((t|0)!=0){if(!(BH(c[r>>2]|0,t,n)|0)){break}h[d+1464+(s<<3)>>3]=+(e[o>>1]|0)*.001}}while(0);s=s+1|0;}while((s|0)<256);Of(q);na=j;a[na]=1;i=p;return}function cy(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=i;u=i;i=i+8|0;v=u;t=i;i=i+8|0;s=t;y=i;i=i+8|0;z=y;m=i;i=i+8|0;n=m;q=i;i=i+8|0;r=q;B=i;i=i+8|0;o=i;i=i+8|0;p=o;A=i;i=i+8|0;x=A;if((e|0)<1){c[B>>2]=b;Qe(-1,166264,B);B=0;i=l;return B|0}do{if(k){B=Fb(b|0,46)|0;if((B|0)==(b|0)){B=0;i=l;return B|0}if((B|0)==0){break}f=He(b,B-b|0)|0;B=cy(f,d,e,1,g,h,j,0)|0;Fe(f);i=l;return B|0}}while(0);do{if(g){if((Fb(b|0,95)|0)==0){break}m=Ge(b)|0;n=m;t=0;while(1){o=Fb(n|0,95)|0;p=(o|0)!=0;if(p){a[o]=0}do{if((a[n]|0)!=0){s=cy(n,d+(t<<2)|0,e-t|0,1,0,h,j,k)|0;if((s|0)==0){c[q>>2]=n;c[r+4>>2]=b;Qe(-1,166352,r);break}else{t=s+t|0;break}}}while(0);if(!p){break}if((t|0)<(e|0)){n=o+1|0}else{break}}Fe(m);B=t;i=l;return B|0}}while(0);do{if(f){k=cf(c[834]|0,b)|0;c[d>>2]=k;k=(k|0)!=0;if(k|h^1){k=k&1}else{break}i=l;return k|0}else{if(h){break}else{k=0}i=l;return k|0}}while(0);h=ZW(b|0)|0;do{if(h>>>0>6&(h&3|0)==3){if((vc(b|0,166424,3)|0)!=0){break}if((e|0)>0&h>>>0>3){k=0;j=3}else{B=0;i=l;return B|0}do{q=b+j|0;do{if((lc(a[q]|0)|0)!=0){if((lc(a[b+(j+1)|0]|0)|0)==0){break}if((lc(a[b+(j+2)|0]|0)|0)==0){break}if((lc(a[b+(j+3)|0]|0)|0)==0){break}c[m>>2]=p;Hc(q|0,166432,n|0)|0;q=c[o>>2]|0;if(!(q>>>0<55296|(q+ -57344|0)>>>0<8192)){break}c[d+(k<<2)>>2]=q;k=k+1|0}}while(0);j=j+4|0;}while((k|0)<(e|0)&j>>>0<h>>>0);i=l;return k|0}}while(0);a:do{if((h+ -5|0)>>>0<3){if((a[b]|0)!=117){w=44;break}e=b+1|0;if((lc(a[e]|0)|0)==0){w=44;break}if((lc(a[b+2|0]|0)|0)==0){w=44;break}if((lc(a[b+3|0]|0)|0)==0){w=44;break}if((lc(a[b+4|0]|0)|0)==0){w=44;break}do{if(h>>>0>=6){if((lc(a[b+5|0]|0)|0)==0){w=44;break a}if(h>>>0<7){break}if((lc(a[b+6|0]|0)|0)==0){break a}}}while(0);c[y>>2]=x;Hc(e|0,166440,z|0)|0;e=c[A>>2]|0;if(!(e>>>0<55296|(e+ -57344|0)>>>0<1056768)){w=44;break}c[d>>2]=e;B=1;i=l;return B|0}else{w=44}}while(0);do{if((w|0)==44){do{if((h|0)==3&j){if((Ab(a[b]|0)|0)==0){break}e=b+1|0;if((lc(a[e]|0)|0)==0){break}if((lc(a[b+2|0]|0)|0)==0){break}c[t>>2]=d;Hc(e|0,166440,s|0)|0;B=1;i=l;return B|0}}while(0);if(!((h|0)==2&j)){break}if((lc(a[b]|0)|0)==0){break}if((lc(a[b+1|0]|0)|0)==0){break}c[u>>2]=d;Hc(b|0,166440,v|0)|0;B=1;i=l;return B|0}}while(0);do{if(!j){if((h+ -2|0)>>>0>=3){break}if(((a[b]|0)+ -48|0)>>>0>=10){break}if(((a[b+1|0]|0)+ -48|0)>>>0>=10){break}c[d>>2]=ec(b|0)|0;B=1;i=l;return B|0}}while(0);do{if((h+ -3|0)>>>0<3){e=b+1|0;if(((a[e]|0)+ -48|0)>>>0>=10){break}if(((a[b+2|0]|0)+ -48|0)>>>0>=10){break}c[d>>2]=ec(e|0)|0;B=1;i=l;return B|0}}while(0);if((h+ -4|0)>>>0>=3){B=0;i=l;return B|0}e=b+2|0;if(((a[e]|0)+ -48|0)>>>0>=10){B=0;i=l;return B|0}if(((a[b+3|0]|0)+ -48|0)>>>0>=10){B=0;i=l;return B|0}c[d>>2]=ec(e|0)|0;B=1;i=l;return B|0}function dy(a){a=a|0;var b=0;b=i;ey(a);HW(a);i=b;return}function ey(b){b=b|0;var d=0,e=0,f=0;d=i;c[b>>2]=163592;e=0;do{do{if((a[b+1200+e|0]|0)!=0){f=c[b+176+(e<<2)>>2]|0;if((f|0)==0){break}Fe(f)}}while(0);e=e+1|0;}while((e|0)<256);uu(c[b+1456>>2]|0);e=b+3512|0;if((c[e>>2]|0)==7){Of(e)}e=b+3528|0;if((c[e>>2]|0)!=7){Wx(b);i=d;return}Of(e);Wx(b);i=d;return}function fy(a,b,e,f,g,j,k,l,m,n){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;e=i;b=d[b]|0;c[f>>2]=b;c[j>>2]=wu(c[a+1456>>2]|0,b,g)|0;h[k>>3]=+h[a+1464+(b<<3)>>3];h[n>>3]=0.0;h[m>>3]=0.0;h[l>>3]=0.0;i=e;return 1}function gy(a){a=a|0;var b=0;b=i;a=a+1456|0;tu(c[a>>2]|0);i=b;return c[a>>2]|0}function hy(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=i;h=i;i=i+8|0;j=h;g=ye(256,2)|0;bX(g|0,0,512)|0;if((Hn(e)|0)>0){k=0;m=-1;n=-1;l=-1;do{q=In(e,k)|0;o=Jn(e,k)|0;p=(q|0)==3;do{if(p&(o|0)==1|(q|0)==0){l=k}else{o=(o|0)==0;q=(q|0)==1&o;if(q|p^1){m=q?k:m;break}n=o?k:n}}while(0);k=k+1|0;}while((k|0)<(Hn(e)|0))}else{m=-1;n=-1;l=-1}do{if((a[d+1460|0]&1)==0){if((c[d+40>>2]|0)==1){k=8;break}if((n|0)>-1){m=n;k=15;break}m=(m|0)<0?0:m;k=15}else{k=8}}while(0);a:do{if((k|0)==8){o=(m|0)>-1;do{if(!((a[d+1461|0]&1)!=0&o)){if((l|0)<=-1){h=(c[d+44>>2]&4|0)!=0;if(h&(n|0)>-1){m=n;k=15;break a}if(h&o){k=15;break a}m=o?m:0;if(o){break}else{k=15;break a}}m=d+1456|0;n=0;while(1){o=c[d+176+(n<<2)>>2]|0;do{if((o|0)==0){k=25}else{o=cf(c[834]|0,o)|0;if((o|0)==0){k=25;break}b[g+(n<<1)>>1]=Kn(e,l,o)|0}}while(0);do{if((k|0)==25){k=0;if((wu(c[m>>2]|0,n,j)|0)<=0){break}b[g+(n<<1)>>1]=Kn(e,l,c[c[h>>2]>>2]|0)|0}}while(0);n=n+1|0;if((n|0)>=256){h=0;break a}}}}while(0);h=0;while(1){j=c[d+176+(h<<2)>>2]|0;do{if((j|0)!=0){j=bf(c[834]|0,j)|0;if((j|0)==0){break}b[g+(h<<1)>>1]=Kn(e,m,j)|0}}while(0);h=h+1|0;if((h|0)>=256){h=0;break}}}}while(0);if((k|0)==15){j=0;while(1){q=Kn(e,m,j)|0;h=g+(j<<1)|0;b[h>>1]=q;if(q<<16>>16==0){b[h>>1]=Kn(e,m,j+61440|0)|0}j=j+1|0;if((j|0)>=256){h=0;break}}}do{k=g+(h<<1)|0;do{if((b[k>>1]|0)==0){j=c[d+176+(h<<2)>>2]|0;if((j|0)==0){break}b[k>>1]=Ln(e,j)|0}}while(0);h=h+1|0;}while((h|0)<256);i=f;return g|0}function iy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=i;b=c[a+176+(b<<2)>>2]|0;do{if((b|0)!=0){if((c[a+3512>>2]|0)!=7){break}Yu(c[a+3520>>2]|0,b,d,0)|0;i=e;return d|0}}while(0);b=d+8|0;c[b>>2]=0;c[b+4>>2]=0;c[d>>2]=5;i=e;return d|0}function jy(a){a=a|0;var b=0;b=i;if((c[a+3528>>2]|0)!=7){a=0;i=b;return a|0}a=c[a+3536>>2]|0;i=b;return a|0}function ky(d,e,f,g,j,k){d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,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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=0;c[K>>2]=13;oa=Q+8|0;c[oa>>2]=0;c[oa+4>>2]=0;c[J>>2]=13;na=W+8|0;c[na>>2]=0;c[na+4>>2]=0;c[H>>2]=13;j=P+8|0;c[j>>2]=0;c[j+4>>2]=0;c[F>>2]=13;qa=O+8|0;c[qa>>2]=0;c[qa+4>>2]=0;c[D>>2]=13;ma=M+8|0;c[ma>>2]=0;c[ma+4>>2]=0;c[d+168>>2]=1;h[d+152>>3]=.95;h[d+160>>3]=-.35;vb=d+176|0;c[vb>>2]=0;yb=d+180|0;c[yb>>2]=0;fb=d+184|0;bX(d+112|0,0,32)|0;h[fb>>3]=1.0;va=d+192|0;h[va>>3]=-1.0;Aa=d+200|0;h[Aa>>3]=.88;Za=d+208|0;Ya=d+212|0;la=d+216|0;f=d+220|0;hb=d+224|0;ib=d+228|0;bX(Za|0,0,24)|0;if((c[(Yu(k,164384,l,0)|0)>>2]|0)!=6){Qe(-1,164400,Vb);Of(l);i=m;return}Vb=c[N>>2]|0;if((Vb|0)!=6){c[Sb>>2]=Vb;c[Tb+4>>2]=6;Qe(0,166192,Tb);tc()}a:do{if((c[(ut(c[pa>>2]|0,0,n)|0)>>2]|0)==7){Of(l);Rb=c[Ub>>2]|0;if((Rb|0)!=7){c[Qb>>2]=Rb;c[_a+4>>2]=7;Qe(0,166192,_a);tc()}_a=c[Wb>>2]|0;if((Yu(_a,162424,l,0)|0)==0){Qe(-1,164488,Pb);o=243;break}Pb=162512;do{if((c[N>>2]|0)==4){Pb=c[pa>>2]|0;if((Qc(Pb|0,164536)|0)==0){c[d+40>>2]=7}else{if((Qc(Pb|0,164552)|0)!=0){break}c[d+40>>2]=10}Of(l);Zx(d,e,_a);Mb=c[Db>>2]|0;do{if((Mb|0)!=0){Nb=c[d+40>>2]|0;if((Nb|0)==1){c[Ob>>2]=gf(c[834]|0,Mb,163456)|0;break}else if((Nb|0)==5){c[Ob>>2]=gf(c[834]|0,Mb,163512)|0;break}else{break}}}while(0);if((c[(Yu(_a,164616,l,0)|0)>>2]|0)!=7){Qe(-1,164632,Lb);o=243;break a}Lb=c[N>>2]|0;if((Lb|0)!=7){c[Jb>>2]=Lb;c[Kb+4>>2]=7;Qe(0,166192,Kb);tc()}Yu(c[pa>>2]|0,164696,Q,0)|0;Jb=c[N>>2]|0;if((Jb|0)!=7){c[Ib>>2]=Jb;c[Hb+4>>2]=7;Qe(0,166192,Hb);tc()}Yu(c[pa>>2]|0,164712,W,0)|0;do{if((c[K>>2]|0)==3){if((c[J>>2]|0)!=3){break}Hb=c[oa>>2]|0;Gb=FW(32)|0;ie(Gb,Hb);Gb=me(Gb,45)|0;Hb=c[J>>2]|0;if((Hb|0)!=3){c[Eb>>2]=Hb;c[Fb+4>>2]=3;Qe(0,166192,Fb);tc()}Eb=oe(Gb,c[na>>2]|0)|0;Of(W);Of(Q);Of(l);Wb=_x(d,k,16,0)|0;c[yb>>2]=Wb;do{if((Wb|0)==0){if((te(Eb,164792)|0)==0){break}if((te(Eb,164808)|0)==0){break}Wb=xf(c[834]|0,Eb)|0;c[yb>>2]=Wb;if((Wb|0)==0){Fb=0}else{break}while(1){Gb=Fb+1|0;if((te(Eb,c[164824+(Fb<<2)>>2]|0)|0)==0){break}if(Gb>>>0<5){Fb=Gb}else{o=40;break}}if((o|0)==40){c[Ab>>2]=c[Eb+28>>2];Qe(-1,164968,Bb);break}c[zb>>2]=c[Eb+28>>2];Qe(-1,164928,Cb);if((Eb|0)==0){break a}ke(Eb);HW(Eb);break a}}while(0);zb=c[Db>>2]|0;do{if((zb|0)!=0){zb=yf(c[834]|0,zb)|0;if((zb|0)==0){break}Bb=c[yb>>2]|0;if((Bb|0)==0){c[yb>>2]=zb;break}if((c[Bb+8>>2]|0)!=0){Ab=0;do{do{if((wu(Bb,Ab,xb)|0)>0){Bb=wu(zb,c[c[wb>>2]>>2]|0,xb)|0;if((Bb|0)<=0){break}vu
7333 =0;d=i;$W(a+4|0,b|0,28)|0;c[a+40>>2]=c[b+4>>2];c[a+44>>2]=c[b+12>>2];c[a+436>>2]=c[b+8>>2];c[a+440>>2]=c[b+16>>2];i=d;return}function lU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a+112>>2]=b;d=c[b+28>>2]|0;e=a+104|0;c[e>>2]=d;c[a+4>>2]=c[b+40>>2];c[a+8>>2]=c[b+44>>2];c[a+12>>2]=c[b+436>>2];c[a+16>>2]=c[b+440>>2];f=c[b+24>>2]|0;b=(f|0)==2;g=(f&-2|0)==2|0;g=b|(f|0)==4?g|2:g;f=(f|0)==1?g:g|4;c[e>>2]=d|4;c[a+108>>2]=b?f|8:f;i=i;return 0}function mU(d,f,g){d=d|0;f=f|0;g=g|0;var 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=0;g=i;j=xU(d,f)|0;if((j|0)!=0){A=j;i=g;return A|0}j=d+104|0;k=c[j>>2]|0;do{if((k&1|0)==0){k=yU(d,0)|0;if((k|0)==0){k=c[j>>2]|0;break}else{A=k;i=g;return A|0}}}while(0);do{if((k&2|0)==0){k=yU(d,1)|0;if((k|0)==0){break}i=g;return k|0}}while(0);k=d+108|0;l=d+112|0;m=0;a:while(1){do{if((m|0)==0){if((c[j>>2]&1|0)==0){h=12;break}m=m+1|0;continue a}else if((m|0)==1){if((c[j>>2]&2|0)==0){h=12}else{break a}}}while(0);if((h|0)==12){h=0;p=d+48+(m*28|0)+20|0;q=c[p>>2]|0;o=d+48+(m*28|0)+12|0;n=c[o>>2]|0;r=q+(n*48|0)|0;s=(n|0)>0;if(s){u=(m|0)!=1;w=0;x=0;v=q;t=0;do{z=v+12|0;A=a[z]|0;do{if((A&4)==0){y=c[v+24>>2]|0;if((y|0)==0){t=t+1|0;break}if(y>>>0<v>>>0){B=c[y+8>>2]|0;c[v+8>>2]=(DU(c[k>>2]|0,c[l>>2]|0,m,(c[v+4>>2]|0)-(c[y+4>>2]|0)|0)|0)+B;a[z]=A|4;break}if(u&(w|0)==0){x=CU(d,v,y,0,0)|0}else{CU(d,v,y,x,m)|0}a[z]=a[z]|4;w=y+12|0;a[w]=a[w]|4;w=v}}while(0);v=v+48|0;}while(v>>>0<r>>>0)}else{t=0}v=n*48|0;n=(m|0)==0;do{if(n){u=(v|0)==576;if((v|0)==288){A=q;z=q+96|0;w=q+192|0}else if((v|0)==576){A=q+48|0;z=q+240|0;w=q+432|0}else{break}y=c[z+4>>2]|0;y=y-(c[w+4>>2]|0)+(y-(c[A+4>>2]|0))|0;if((c[A+24>>2]|0)!=(A+48|0)){break}if((c[z+24>>2]|0)!=(z+48|0)){break}v=w+24|0;x=c[v>>2]|0;if(!((x|0)==(w+48|0)&(((y|0)<0?0-y|0:y)|0)<8)){break}B=w+8|0;A=(c[z+8>>2]<<1)-(c[A+8>>2]|0)|0;y=(c[B>>2]|0)-A|0;c[B>>2]=A;if((x|0)!=0){B=x+8|0;c[B>>2]=(c[B>>2]|0)-y}if(u){B=q+392|0;c[B>>2]=(c[B>>2]|0)-y;B=q+536|0;c[B>>2]=(c[B>>2]|0)-y}u=w+12|0;a[u]=a[u]|4;u=c[v>>2]|0;if((u|0)==0){break}B=u+12|0;a[B]=a[B]|4}}while(0);do{if(!((t|0)==0|s^1)){s=q;do{w=s+12|0;v=a[w]|0;do{if((v&4)==0){u=c[s+28>>2]|0;if((u|0)==0){break}c[s+8>>2]=(c[u+8>>2]|0)-(c[u+4>>2]|0)+(c[s+4>>2]|0);a[w]=v|4;t=t+ -1|0}}while(0);s=s+48|0;}while(s>>>0<r>>>0);if((t|0)==0){break}else{t=q}do{do{if((a[t+12|0]&4)==0){u=t;while(1){v=u+ -48|0;if(v>>>0<q>>>0){w=1;y=0;break}if((a[u+ -36|0]&4)==0){u=v}else{w=0;y=1;break}}s=t;while(1){x=s+48|0;if(x>>>0>=r>>>0){h=49;break}if((a[s+60|0]&4)==0){s=x}else{y=1;break}}if((h|0)==49){h=0;if(y){y=0}else{break}}if(w){c[t+8>>2]=(c[s+56>>2]|0)-(c[s+52>>2]|0)+(c[t+4>>2]|0);break}if(!y){c[t+8>>2]=(c[u+ -40>>2]|0)-(c[u+ -44>>2]|0)+(c[t+4>>2]|0);break}w=b[x>>1]|0;B=b[v>>1]|0;v=B<<16>>16;u=c[u+ -40>>2]|0;if(w<<16>>16==B<<16>>16){c[t+8>>2]=u;break}else{c[t+8>>2]=(_I((b[t>>1]|0)-v|0,(c[s+56>>2]|0)-u|0,(w<<16>>16)-v|0)|0)+u;break}}}while(0);t=t+48|0;}while(t>>>0<r>>>0)}}while(0);r=c[p>>2]|0;q=c[o>>2]|0;o=r+(q*48|0)|0;do{if(n){p=c[k>>2]&1}else{if((m|0)!=1){p=0;break}p=(c[k>>2]|0)>>>1&1}}while(0);if((q|0)>0){p=p<<24>>24==0;do{q=r+40|0;t=c[q>>2]|0;s=r+8|0;if(p){s=(c[s>>2]|0)-(c[r+4>>2]|0)|0;do{v=t+40|0;u=t+44|0;if(n){while(1){v=c[v>>2]|0;B=v+16|0;c[B>>2]=(c[B>>2]|0)+s;b[v>>1]=b[v>>1]|64;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}else{while(1){v=c[v>>2]|0;B=v+20|0;c[B>>2]=(c[B>>2]|0)+s;b[v>>1]=b[v>>1]|128;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}t=c[t+16>>2]|0;}while((t|0)!=(c[q>>2]|0))}else{do{v=t+40|0;u=t+44|0;if(n){while(1){v=c[v>>2]|0;c[v+16>>2]=c[s>>2];b[v>>1]=b[v>>1]|64;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}else{while(1){v=c[v>>2]|0;c[v+20>>2]=c[s>>2];b[v>>1]=b[v>>1]|128;if((v|0)==(c[u>>2]|0)){break}else{v=v+32|0}}}t=c[t+16>>2]|0;}while((t|0)!=(c[q>>2]|0))}r=r+48|0;}while(r>>>0<o>>>0)}zU(d,m);AU(d,m)}m=m+1|0;if((m|0)>=2){break}}B=c[d+28>>2]|0;j=c[d+32>>2]|0;d=j+(B*40|0)|0;if((B|0)<=0){B=0;i=g;return B|0}h=c[f+8>>2]|0;f=c[f+4>>2]|0;while(1){c[f>>2]=c[j+16>>2];c[f+4>>2]=c[j+20>>2];k=e[j>>1]|0;do{if((k&1|0)==0){if((k&2|0)==0){a[h]=1;break}else{a[h]=2;break}}else{a[h]=0}}while(0);j=j+40|0;if(j>>>0<d>>>0){h=h+1|0;f=f+8|0}else{k=0;break}}i=g;return k|0}function nU(a,b){a=a|0;b=b|0;var c=0;c=i;jU(a,b)|0;i=c;return 0}function oU(a,b){a=a|0;b=b|0;var d=0;d=i;$W(a+4|0,b|0,28)|0;c[a+40>>2]=c[b+4>>2];c[a+44>>2]=c[b+12>>2];c[a+436>>2]=c[b+8>>2];c[a+440>>2]=c[b+16>>2];i=d;return}function pU(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;c[a+112>>2]=b;d=c[b+28>>2]|0;e=a+104|0;c[e>>2]=d;c[a+4>>2]=c[b+40>>2];c[a+8>>2]=c[b+44>>2];c[a+12>>2]=c[b+436>>2];c[a+16>>2]=c[b+440>>2];f=c[b+24>>2]|0;b=(f|0)==2;g=(f&-2|0)==2|0;g=b|(f|0)==4?g|2:g;f=(f|0)==1?g:g|4;c[e>>2]=d|4;c[a+108>>2]=b?f|8:f;i=i;return 0}function qU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;a=mU(a,b,c)|0;i=d;return a|0}function rU(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var 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;e=i;l=i;i=i+8|0;m=l;t=i;i=i+8|0;s=t;q=i;i=i+8|0;k=i;i=i+32|0;h=k;j=b+20|0;d=c[d+4>>2]|0;n=c[d+88>>2]|0;if((n|0)==0){z=6;i=e;return z|0}bX(k|0,0,28)|0;c[k>>2]=d;c[h+4>>2]=c[n+16>>2];c[h+12>>2]=0;c[h+8>>2]=c[n+20>>2];c[h+16>>2]=0;c[h+20>>2]=g>>>16&15;c[h+24>>2]=0;c[j>>2]=d;n=d+116|0;o=b+24|0;c[o>>2]=c[n>>2];kJ(c[b+28>>2]|0);p=c[o>>2]|0;if((p|0)==0){r=d+16|0;p=jJ(c[d+100>>2]|0,(c[r>>2]|0)+28|0,q)|0;q=c[q>>2]|0;if((q|0)!=0){c[o>>2]=p;z=q;i=e;return z|0}c[p>>2]=d;z=c[r>>2]|0;r=p+4|0;c[r>>2]=z;y=p+28|0;c[p+8>>2]=y;q=c[d+92>>2]|0;bX(y|0,127,z|0)|0;if((cK(d,1970170211)|0)==0){v=0;while(1){w=c[(c[283296+(v<<2)>>2]|0)+4>>2]|0;do{if((w|0)!=0){y=c[w>>2]|0;if((y|0)==0){break}u=v&255;do{x=KJ(d,y)|0;c[t>>2]=x;do{if((x|0)!=0){if(x>>>0>=(c[r>>2]|0)>>>0){break}x=p+(x+28)|0;if((a[x]|0)!=127){break}a[x]=u}}while(0);x=w+4|0;z=fK(d,y,s)|0;y=c[t>>2]|0;a:do{if((y|0)!=0){do{if(z>>>0>(c[x>>2]|0)>>>0){break a}do{if(y>>>0<(c[r>>2]|0)>>>0){y=p+(y+28)|0;if((a[y]|0)!=127){break}a[y]=u}}while(0);z=fK(d,z,s)|0;y=c[t>>2]|0;}while((y|0)!=0)}}while(0);w=w+8|0;y=c[w>>2]|0;}while((y|0)!=0)}}while(0);v=v+1|0;if((v|0)==4){t=48;break}}do{s=KJ(d,t)|0;do{if((s|0)!=0){if(s>>>0>=(c[r>>2]|0)>>>0){break}z=p+(s+28)|0;a[z]=a[z]|-128}}while(0);t=t+1|0;}while(t>>>0<58)}t=c[r>>2]|0;if((t|0)>0){s=0;do{u=p+(s+28)|0;v=a[u]|0;if((v&127)==127){a[u]=v&-128|2;t=c[r>>2]|0}s=s+1|0;}while((s|0)<(t|0))}dK(d,q)|0;c[o>>2]=p;c[n>>2]=p;c[d+120>>2]=341;o=c[o>>2]|0}else{o=p}c[l>>2]=0;if((c[o+4>>2]|0)>>>0<=f>>>0){c[l>>2]=6;z=6;i=e;return z|0}n=c[283296+((a[(c[o+8>>2]|0)+f|0]&127)<<2)>>2]|0;d=c[o+12+(c[n>>2]<<2)>>2]|0;b:do{if((d|0)==0){d=c[(c[o>>2]|0)+100>>2]|0;m=jJ(d,c[n+8>>2]|0,m)|0;p=c[l>>2]|0;if((p|0)!=0){z=p;i=e;return z|0}c[m>>2]=n;p=c[n+12>>2]|0;do{if((p|0)!=0){z=Bd[p&255](m,c[o>>2]|0)|0;c[l>>2]=z;if((z|0)==0){break}n=c[n+20>>2]|0;if((n|0)!=0){fd[n&511](m)}lJ(d,m);m=0;break b}}while(0);c[o+12+(c[n>>2]<<2)>>2]=m}else{m=d}}while(0);l=c[l>>2]|0;if((l|0)!=0){z=l;i=e;return z|0}c[b+156>>2]=m;d=c[m>>2]|0;l=c[d+16>>2]|0;if((l|0)==0){$W(m+4|0,k|0,28)|0}else{hd[l&127](m,h);d=c[m>>2]|0}g=g&-2054|2049;k=c[d+24>>2]|0;do{if((k|0)!=0){b=Bd[k&255](b+32|0,m)|0;if((b|0)==0){break}i=e;return b|0}}while(0);z=vU(j,h,f,g,0)|0;i=e;return z|0}function sU(a){a=a|0;var b=0,d=0;b=i;d=c[c[a+4>>2]>>2]|0;bX(a+20|0,0,184)|0;c[a+32>>2]=d;a=iJ(d,a+28|0)|0;i=b;return a|0}function tU(a){a=a|0;var b=0;b=i;uU(a+32|0);c[a+20>>2]=0;c[a+24>>2]=0;a=a+28|0;mJ(c[a>>2]|0);c[a>>2]=0;i=b;return}function uU(a){a=a|0;var b=0,d=0,e=0;b=i;if((a|0)==0){i=b;return}d=c[a>>2]|0;if((d|0)==0){i=b;return}c[a+48>>2]=0;c[a+52>>2]=0;e=a+56|0;lJ(d,c[e>>2]|0);c[e>>2]=0;c[a+60>>2]=0;c[a+64>>2]=0;e=a+68|0;l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((g|0)==0){m=10}else{if(((b[o+22>>1]|0)+g+(b[o+58>>1]|0)|0)>>>0<=(c[o+4>>2]|0)>>>0){m=10;break}B=b[x>>1]|0;m=12}}while(0);do{if((m|0)==10){B=b[x>>1]|0;if(B<<16>>16==0){g=A;break}if(((b[o+20>>1]|0)+(B<<16>>16)+(b[o+56>>1]|0)|0)>>>0>(c[o+8>>2]|0)>>>0){m=12}else{g=A}}}while(0);do{if((m|0)==12){g=pJ(o,g,B<<16>>16)|0;if((g|0)==0){g=b[y>>1]|0;break}else{Z=g;i=j;return Z|0}}}while(0);A=o+56|0;$W(c[o+60>>2]|0,c[k+112>>2]|0,g<<16>>16<<3|0)|0;$W(c[o+68>>2]|0,c[k+120>>2]|0,b[x>>1]<<1|0)|0;$W(c[o+64>>2]|0,c[k+116>>2]|0,b[y>>1]|0)|0;b[o+58>>1]=b[y>>1]|0;b[A>>1]=b[x>>1]|0;X=d+20|0;g=d+168|0;c[g>>2]=c[X>>2];Z=d+28|0;c[d+172>>2]=c[Z>>2];Y=aJ(c[u>>2]|0,c[d+16>>2]|0)|0;x=d+176|0;c[x>>2]=(c[X>>2]|0)+Y;c[d+180>>2]=c[Z>>2];if((b[y>>1]|0)==0){e=0;break}y=c[(c[n>>2]|0)+28>>2]|0;if((y|0)!=0){sd[y&127](z,A,n)|0}b:do{if((c[e+20>>2]|0)==1){Y=c[g>>2]|0;Z=c[x>>2]|0;X=Y+32+(c[d+128>>2]|0)&-64;c[g>>2]=X;c[x>>2]=Z+32+(c[d+132>>2]|0)&-64;c[k+144>>2]=X-Y;c[k+148>>2]=(c[x>>2]|0)-Z}else{C=c[d+80>>2]|0;Z=c[d+72>>2]|0;A=Z+ -1|0;do{if((Z|0)>1){if((c[d+116>>2]&4|0)!=0){break}e=(c[x>>2]|0)-(c[C+(A*48|0)+4>>2]|0)|0;z=c[C+4>>2]|0;y=c[C+8>>2]|0;B=y-z|0;A=C+(A*48|0)+8|0;C=(c[A>>2]|0)+e|0;B=(z|0)<24?B+ -8|0:B;C=(e|0)<24?C+8|0:C;E=B+32&-64;c[g>>2]=E;D=C+32&-64;c[x>>2]=D;if((E|0)>=(y|0)&(z|0)>0){E=E+ -64|0;c[g>>2]=E}if((D|0)<=(c[A>>2]|0)&(e|0)>0){c[x>>2]=D+64}c[k+144>>2]=E-B;c[k+148>>2]=(c[x>>2]|0)-C;break b}}while(0);Y=c[g>>2]|0;Z=c[x>>2]|0;X=Y+32&-64;c[g>>2]=X;c[x>>2]=Z+32&-64;c[k+144>>2]=X-Y;c[k+148>>2]=(c[x>>2]|0)-Z}}while(0);sJ(o);e=0}else if((A|0)==1668246896){C=c[k+128>>2]|0;B=o+20|0;z=o+22|0;A=b[z>>1]|0;D=qJ(o,C)|0;if((D|0)!=0){Z=D;i=j;return Z|0}$W(c[o+88>>2]|0,c[k+132>>2]|0,C<<5|0)|0;c[o+84>>2]=C;O=c[o+48>>2]|0;if((C|0)==0){e=0;break}E=o+52|0;D=d+168|0;G=d+176|0;F=h+1|0;L=o+24|0;N=y+4|0;M=y+2|0;K=d+16|0;J=d+20|0;I=d+24|0;H=d+28|0;Q=0;while(1){R=Q+O|0;T=D;Z=c[T>>2]|0;T=c[T+4>>2]|0;X=G;W=c[X>>2]|0;X=c[X+4>>2]|0;V=b[z>>1]|0;P=V<<16>>16;S=vUVUVU(c[d>>2]|0);f=a+144|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+132|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+136|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+20|0;lJ(e,c[f>>2]|0);c[f>>2]=0;f=a+24|0;lJ(e,c[f>>2]|0);c[f>>2]=0;a=a+32|0;lJ(e,c[a>>2]|0);c[a>>2]=0;lJ(e,c[d>>2]|0);c[d>>2]=0;i=b;return}function SU(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;l=c[f>>2]|0;f=l+140|0;k=c[f>>2]|0;j=e[k+16518>>1]|0;if((l|0)==0){n=6;i=h;return n|0}if((c[l+16>>2]|0)>>>0<=g>>>0){n=6;i=h;return n|0}if((g|0)==0){n=c[l+164>>2]|0}else{n=g+ -1|0}r=c[k+56>>2]|0;k=b[r+(n*36|0)+10>>1]|0;q=b[r+(n*36|0)+12>>1]|0;m=b[r+(n*36|0)+16>>1]|0;g=b[r+(n*36|0)+20>>1]|0;o=c[r+(n*36|0)+24>>2]|0;p=c[r+(n*36|0)+28>>2]|0;l=d+76|0;c[l>>2]=e[r+(n*36|0)+14>>1]|0;n=d+80|0;c[n>>2]=q&65535;c[d+84>>2]=p;BJ(d,o);if((j|0)==4){a[d+94|0]=4}else if((j|0)==2){a[d+94|0]=3}else if((j|0)==8){a[d+94|0]=2;b[d+92>>1]=256}else if((j|0)==1){a[d+94|0]=1}c[d+72>>2]=1651078259;p=m<<16>>16;c[d+100>>2]=p;q=g<<16>>16;c[d+104>>2]=q;r=d+24|0;c[d+40>>2]=(k&65535)<<6;c[d+32>>2]=p<<6;c[d+36>>2]=q<<6;c[r>>2]=c[n>>2]<<6;c[d+28>>2]=c[l>>2]<<6;XJ(r,(e[(c[f>>2]|0)+6>>1]|0)<<6);r=0;i=h;return r|0}function TU(a,b){a=a|0;b=b|0;var d=0,f=0,g=0,h=0,j=0;g=i;d=c[a>>2]|0;f=c[d+140>>2]|0;h=c[b+16>>2]|0;j=c[b+8>>2]|0;if((h|0)!=0){j=((da(j,h)|0)+36|0)/72|0}h=j+32>>6;b=c[b>>2]|0;if((b|0)==0){b=(c[(c[d+32>>2]|0)+12>>2]|0)+32>>6}else if((b|0)==1){b=(c[f+44>>2]|0)+(c[f+40>>2]|0)|0}else{j=7;i=g;return j|0}b=(h|0)==(b|0);if(!b){j=b?0:23;i=g;return j|0}YJ(d,0);c[a+24>>2]=c[f+40>>2]<<6;c[a+28>>2]=0-(c[f+44>>2]|0)<<6;c[a+36>>2]=(e[f+4>>1]|0)<<6;j=0;i=g;return j|0}function UU(a,b){a=a|0;b=b|0;var d=0,f=0,g=0;d=i;g=c[a>>2]|0;f=c[g+140>>2]|0;YJ(g,b);c[a+24>>2]=c[f+40>>2]<<6;c[a+28>>2]=0-(c[f+44>>2]|0)<<6;c[a+36>>2]=(e[f+4>>1]|0)<<6;i=d;return 0}function VU