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P>>2]=G,z=e[Y>>2]|0,t0=z+-1|0,J=T7(t0)|0,W=W4(n,J)|0,e0=_+(D0<<2)|0,e[e0>>2]=W,H=W|G,X=(H|0)<0,U=(G|0)==(W|0),$1=U|X,$1||(a0=e[Y>>2]|0,Z=(G|0)<(a0|0),V=(W|0)<(a0|0),f1=Z&V,x=D0+1|0,!f1))break e;if(L=e[w>>2]|0,F=(x|0)<(L|0),F)T=a0,D0=x;else break}}if(n0=W4(n,2)|0,i0=(n0|0)==0,i0){if(r0=e[c>>2]|0,K=(r0|0)>1,K){if(g0=e[Y>>2]|0,s0=(g0|0)>0,s0)for(l0=c+4|0,i1=0;;){if(I0=W4(n,4)|0,S0=l0+(i1<<2)|0,e[S0>>2]=I0,K0=e[c>>2]|0,_0=(I0|0)>=(K0|0),L0=(I0|0)<0,g1=L0|_0,m0=i1+1|0,g1)break e;if(f0=e[Y>>2]|0,C0=(m0|0)<(f0|0),C0)i1=m0;else{j=K0,a1=17;break}}}else j=r0,a1=17;if((a1|0)==17&&($0=(j|0)>0,!$0))return A=c,A|0;for(h0=c+1028|0,y0=Q+16|0,E0=c+1092|0,w0=Q+20|0,c1=0;;){if(W4(n,8)|0,Q0=W4(n,8)|0,q0=h0+(c1<<2)|0,e[q0>>2]=Q0,x0=e[y0>>2]|0,b0=(Q0|0)>=(x0|0),M0=(Q0|0)<0,l1=M0|b0,l1||(J0=W4(n,8)|0,U0=E0+(c1<<2)|0,e[U0>>2]=J0,V0=e[w0>>2]|0,N0=(J0|0)>=(V0|0),O0=(J0|0)<0,s1=O0|N0,T0=c1+1|0,s1))break e;if(F0=e[c>>2]|0,G0=(T0|0)<(F0|0),G0)c1=T0;else{A=c;break}}return A|0}}}while(!1);return(a1|0)==24&&(r1=(c|0)==0,r1)?(A=0,A|0):(E2(c),A=0,A|0)}function IS(t){t=t|0;var n=0,A=0,a=0;a=C,n=(t|0)==0,n||E2(t)}function ES(t){t=t|0;var n=0,A=0,a=0,c=0,f=0,E=0,I=0,m=0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W5=X5*.3826834261417389,R3=f3*.9238795042037964,G3=R3+W5,s[K5>>2]=G3,h0=n9|26,a3=A+(h0<<2)|0,l3=+s[a3>>2],S=n9|10,c3=A+(S<<2)|0,C3=+s[c3>>2],H5=l3-C3,w=n9|27,G5=A+(w<<2)|0,O5=+s[G5>>2],y=n9|11,w5=A+(y<<2)|0,F5=+s[w5>>2],o6=O5-F5,e3=C3+l3,s[a3>>2]=e3,A3=F5+O5,s[G5>>2]=A3,x3=H5-o6,f6=x3*.7071067690849304,s[c3>>2]=f6,p3=o6+H5,k3=p3*.7071067690849304,s[w5>>2]=k3,D=n9|24,Q3=A+(D<<2)|0,r6=+s[Q3>>2],Q=n9|8,O3=A+(Q<<2)|0,V5=+s[O3>>2],v3=r6-V5,_=n9|25,g3=A+(_<<2)|0,P3=+s[g3>>2],L=n9|9,l6=A+(L<<2)|0,d3=+s[l6>>2],k6=P3-d3,v6=V5+r6,s[Q3>>2]=v6,S6=d3+P3,s[g3>>2]=S6,j3=v3*.3826834261417389,c6=k6*.9238795042037964,p6=j3-c6,R6=k6*.3826834261417389,Y6=v3*.9238795042037964,C6=R6+Y6,x=n9|22,S3=A+(x<<2)|0,X3=+s[S3>>2],F=n9|6,e6=A+(F<<2)|0,u6=+s[e6>>2],D3=X3-u6,M=n9|7,q3=A+(M<<2)|0,z3=+s[q3>>2],G=n9|23,D6=A+(G<<2)|0,A6=+s[D6>>2],t3=z3-A6,P6=u6+X3,s[S3>>2]=P6,s3=A6+z3,s[D6>>2]=s3,s[e6>>2]=t3,s[q3>>2]=D3,P=n9|4,a6=A+(P<<2)|0,d6=+s[a6>>2],z=n9|20,n6=A+(z<<2)|0,Q6=+s[n6>>2],x6=d6-Q6,Y=n9|5,V6=A+(Y<<2)|0,I6=+s[V6>>2],t0=n9|21,J6=A+(t0<<2)|0,L3=+s[J6>>2],W6=I6-L3,G6=Q6+d6,s[n6>>2]=G6,e9=L3+I6,s[J6>>2]=e9,L6=W6*.9238795042037964,U6=x6*.3826834261417389,b6=L6+U6,z6=W6*.3826834261417389,y6=x6*.9238795042037964,F6=z6-y6,J=n9|2,F3=A+(J<<2)|0,M6=+s[F3>>2],W=n9|18,t9=A+(W<<2)|0,A9=+s[t9>>2],f9=M6-A9,e0=n9|3,u9=A+(e0<<2)|0,d9=+s[u9>>2],H=n9|19,a9=A+(H<<2)|0,$9=+s[a9>>2],T9=d9-$9,E6=A9+M6,s[t9>>2]=E6,T6=$9+d9,s[a9>>2]=T6,i9=T9+f9,N9=i9*.7071067690849304,E4=T9-f9,o4=E4*.7071067690849304,h4=+s[p5>>2],X=n9|16,G9=A+(X<<2)|0,z9=+s[G9>>2],D9=h4-z9,Z=n9|1,E9=A+(Z<<2)|0,H6=+s[E9>>2],V=n9|17,r9=A+(V<<2)|0,m4=+s[r9>>2],A4=H6-m4,y9=z9+h4,s[G9>>2]=y9,D4=m4+H6,s[r9>>2]=D4,b4=A4*.3826834261417389,x4=D9*.9238795042037964,T4=b4+x4,j4=A4*.9238795042037964,C4=D9*.3826834261417389,N4=j4-C4,U9=N4-C6,a4=T4-p6,L4=T4+p6,f4=N4+C6,Ce=a4+U9,H9=U9-a4,m9=+s[w5>>2],Be=o4-m9,Ne=+s[c3>>2],Xe=Ne-N9,U4=Ne+N9,O4=m9+o4,X4=+s[h3>>2],De=X4-b6,e8=+s[K5>>2],Z9=e8-F6,Ae=X4+b6,u4=e8+F6,_6=De-Z9,P4=Z9+De,L9=+s[g5>>2],_4=L9-t3,ae=+s[W2>>2],W9=ae-D3,$e=t3+L9,le=D3+ae,B4=_4+Be,ee=_4-Be,F4=_6+Ce,ce=F4*.7071067690849304,C9=_6-Ce,Ue=C9*.7071067690849304,l4=ce+B4,s[e6>>2]=l4,pe=B4-ce,s[a6>>2]=pe,p4=P4-H9,c4=p4*.7071067690849304,O6=W9-Xe,be=c4+ee,s[p5>>2]=be,_e=ee-c4,s[F3>>2]=_e,t8=P4+H9,g4=t8*.7071067690849304,f8=W9+Xe,Y3=O6+Ue,s[u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5>>2]=1,G5=(c|0)<26e3;do if(G5)s[H5>>2]=0;else{if(O5=(c|0)<38e3,O5){s[H5>>2]=.9399999976158142;break}w5=(c|0)>46e3,w5&&(s[H5>>2]=1.274999976158142)}while(!1);U3=N0*2,F5=+(c|0),o6=(a|0)>0,p3=o6,z6=0,j6=0;e:for(;;){for(p=p3^1,y6=z6;;){if(Q3=y6+1|0,r6=+(Q3|0),W3=r6*.08664337545633316,O3=W3+2.7488713472395148,V5=+Gn(+O3),v3=U3*V5,P3=v3/F5,l6=+Ui(P3),d3=~~l6,m=(d3|0)<=(j6|0),V6=m|p,!V6){E=Q3,I=d3,F6=y6;break}if(k6=(Q3|0)<87,k6)y6=Q3;else{A9=j6;break e}}for(v6=1272+(F6<<2)|0,S6=+s[v6>>2],B6=1272+(E<<2)|0,j3=+s[B6>>2],c6=j3-S6,p6=I-j6|0,Y6=+(p6|0),C6=c6/Y6,S3=j6-I|0,X3=j6-a|0,e6=S3>>>0>X3>>>0,T9=e6?S3:X3,e3=j6-T9|0,x6=S6,f9=j6;u6=x6+100,H3=y3+(f9<<2)|0,s[H3>>2]=u6,D3=x6+C6,q3=f9+1|0,G6=(q3|0)==(e3|0),!G6;)x6=D3,f9=q3;if(x3=(e3|0)<(a|0),f6=(E|0)<87,f6)p3=x3,z6=E,j6=e3;else{A9=e3;break}}if(k3=(A9|0)<(a|0),k3)for(u9=A9;N6=u9+-1|0,n6=y3+(N6<<2)|0,Q6=e[n6>>2]|0,F=y3+(u9<<2)|0,e[F>>2]=Q6,M=u9+1|0,W6=(M|0)==(a|0),!W6;)u9=M;if(z3=(a|0)>0,z3){for(A6=a<<1,t3=(c|0)/(A6|0)&-1,P6=n+120|0,s3=e[P6>>2]|0,a6=n+124|0,d6=n+116|0,b3=n+112|0,L6=1,F3=0,d9=-99;;){Y=i5(t3,F3)|0,t0=+(Y|0),J=t0*.0007399999885819852,e0=J,H=+Ks(+e0),X=H*13.100000381469727,U=i5(Y,Y)|0,a0=+(U|0),Z=a0*18499999754340024e-24,V=Z,A0=+Ks(+V),n0=A0*2.240000009536743,i0=n0+X,K=t0*9999999747378752e-20,g0=K,s0=i0+g0,l0=s0,j=s3+d9|0,$0=(j|0)<(F3|0);e:do if($0)for(h0=+s[b3>>2],u0=l0-h0,y0=u0,$9=d9;;){if(E0=i5($9,t3)|0,f0=+(E0|0),m0=f0*.0007399999885819852,C0=m0,I0=+Ks(+C0),S0=I0*13.100000381469727,K0=i5(E0,E0)|0,_0=+(K0|0),p0=_0*18499999754340024e-24,L0=p0,F0=+Ks(+L0),G0=F0*2.240000009536743,Q0=f0*9999999747378752e-20,q0=Q0,x0=S0+q0,b0=x0+G0,M0=b0(a|0);e:do if(J0)U6=L6;else for(Y0=e[a6>>2]|0,U0=Y0+F3|0,b6=L6;;){if(P0=(b6|0)<(U0|0),!P0&&(X0=i5(b6,t3)|0,D0=+(X0|0),i1=D0*.0007399999885819852,c1=i1,$1=+Ks(+c1),f1=$1*13.100000381469727,g1=i5(X0,X0)|0,s1=+(g1|0),a1=s1*18499999754340024e-24,n1=a1,o1=+Ks(+n1),z0=o1*2.240000009536743,d1=D0*9999999747378752e-20,h1=d1,m1=f1+h1,u1=m1+z0,E1=+s[d6>>2],p1=E1+l0,Q1=p1,R1=u1>2]=F1,w1=F3+1|0,L3=(w1|0)==(a|0),L3)break;L6=U6,F3=w1,d9=a9}if(z3)for(T=F5*.5,N=e[x>>2]|0,G=N+1|0,P=1<>2]=O1,z1=M6+1|0,J6=(z1|0)==(a|0),J6){w=T;break}else M6=z1;else T6=19}else T6=19;if((T6|0)==19&&(Q=F5*.5,w=Q),f2=n+36|0,s2=w/N0,m2=s2,o2=n+24|0,V1=+s[o2>>2],h2=n+28|0,$2=+s[h2>>2],i2=vS(f2,m2,a,V1,$2)|0,A2=t+8|0,e[A2>>2]=i2,X1=S9(12)|0,n2=t+12|0,e[n2>>2]=X1,u2=S9(z5)|0,e[X1>>2]=u2,e2=S9(z5)|0,w2=X1+4|0,e[w2>>2]=e2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?Ye=$9:Ye=b9):(u9=b9>-30,u9?Ye=-30:Ye=b9),E6=Y3+(ie<<2)|0,s[E6>>2]=Ye,T6=ie+1|0,T8=(T6|0)==56,!T8;)ie=T6;if(l4=(p9+(k9*1792|0)|0)+448|0,M=2792+(k9*1344|0)|0,s4(l4|0,M|0,224)|0,H=(p9+(k9*1792|0)|0)+672|0,g0=(2792+(k9*1344|0)|0)+224|0,s4(H|0,g0|0,224)|0,m0=(p9+(k9*1792|0)|0)+896|0,Q0=(2792+(k9*1344|0)|0)+448|0,s4(m0|0,Q0|0,224)|0,r1=(p9+(k9*1792|0)|0)+1120|0,a1=(2792+(k9*1344|0)|0)+672|0,s4(r1|0,a1|0,224)|0,Q1=(p9+(k9*1792|0)|0)+1344|0,N1=(2792+(k9*1344|0)|0)+896|0,s4(Q1|0,N1|0,224)|0,c2=(p9+(k9*1792|0)|0)+1568|0,A2=(2792+(k9*1344|0)|0)+1120|0,s4(c2|0,A2|0,224)|0,G2=p9+(k9*1792|0)|0,s4(G2|0,M|0,224)|0,j2=(p9+(k9*1792|0)|0)+224|0,s4(j2|0,M|0,224)|0,v3)for(r8=0;;){if(o4)for(E8=0;h4=16-E8|0,v7=(h4|0)>-1,n7=0-h4|0,G9=v7?h4:n7,z9=+(G9|0),D9=z9*c,E9=D9+a,H6=E9<0,I=H6?0:E9,r9=I>0,f=r9?0:I,m4=((p9+(k9*1792|0)|0)+(r8*224|0)|0)+(E8<<2)|0,S4=+s[m4>>2],A4=S4+f,s[m4>>2]=A4,D4=E8+1|0,O8=(D4|0)==56,!O8;)E8=D4;else for(o8=0;g3=16-o8|0,e7=(g3|0)>-1,J8=0-g3|0,R6=e7?g3:J8,D6=+(R6|0),x6=D6*c,b6=x6+a,d9=b6<0,m=d9?0:b6,i9=((p9+(k9*1792|0)|0)+(r8*224|0)|0)+(o8<<2)|0,N9=+s[i9>>2],I9=N9+m,s[i9>>2]=I9,E4=o8+1|0,U8=(E4|0)==56,!U8;)o8=E4;if(e3=r8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t8;if(g4=H4+1|0,k7=(g4|0)==8,k7){Le=1;break}else H4=g4}for(;;){for(k4=Le+-1|0,xe=0;;)if(f8=(w9+(k4*224|0)|0)+(xe<<2)|0,T=+s[f8>>2],N=(w9+(Le*224|0)|0)+(xe<<2)|0,G=+s[N>>2],P=T>2]=T),z=xe+1|0,$7=(z|0)==56,$7){Oe=0;break}else xe=z;for(;Y=(w9+(Le*224|0)|0)+(Oe<<2)|0,t0=+s[Y>>2],J=((p9+(k9*1792|0)|0)+(Le*224|0)|0)+(Oe<<2)|0,W=+s[J>>2],e0=t0>2]=t0),X=Oe+1|0,te=(X|0)==56,!te;)Oe=X;if(U=Le+1|0,G8=(U|0)==8,G8)break;Le=U}if(a0=k9+1|0,v8=(a0|0)==17,v8)break;k9=a0}for(y9=n,L4=(A|0)>0,X4=A^-1,Qe=0;;){for(Z=S9(32)|0,V=i2+(Qe<<2)|0,e[V>>2]=Z,A0=+(Qe|0),n0=A0*.5,i0=A0*.34657350182533264,r0=i0+4.135165354540845,K=+Gn(+r0),s0=K/y9,l0=+zA(+s0),j=~~l0,$0=+(j|0),h0=$0*n,u0=h0+1,y0=u0,E0=+Jr(+y0),w0=E0*2.885390043258667,f0=w0+-11.931568145751953,C0=+aB(+f0),I0=~~C0,S0=j+1|0,K0=+(S0|0),_0=K0*n,p0=_0,L0=+Jr(+p0),F0=L0*2.885390043258667,T0=F0+-11.931568145751953,G0=+zA(+T0),q0=~~G0,x0=(I0|0)>(Qe|0),h7=x0?Qe:I0,b0=(h7|0)<0,B8=b0?0:h7,M0=(q0|0)>16,p=M0?16:q0,J0=(B8|0)>(p|0),Y0=Qe+1|0,U0=(Y0|0)<17,V0=n0+3.9657840728759766,re=0;;){if(N0=S9(232)|0,O0=Z+(re<<2)|0,e[O0>>2]=N0,L4)for(n8=0;P0=F+(n8<<2)|0,s[P0>>2]=999,X0=n8+1|0,B9=(X0|0)==(A|0),!B9;)n8=X0;if(!J0)for(he=B8;;){for(D0=+(he|0),i1=D0*.5,I8=0,ye=0;;){if(g1=+(I8|0),l1=g1*.125,s1=l1+i1,n1=s1+3.9032840728759766,o1=n1*.6931470036506653,z0=+Gn(+o1),d1=z0/y9,h1=~~d1,m1=s1+4.028284072875977,u1=m1*.6931470036506653,E1=+Gn(+u1),B1=E1/y9,p1=B1+1,R1=~~p1,x1=(h1|0)<0,B=x1?0:h1,y1=(B|0)>(A|0),i7=y1?A:B,v1=(i7|0)<(ye|0),q4=v1?i7:ye,L1=(R1|0)<0,j8=L1?0:R1,F1=(j8|0)>(A|0),Y8=F1?A:j8,G1=(q4|0)<(Y8|0),w1=(q4|0)<(A|0),K8=G1&w1,K8)for(U1=((p9+(he*1792|0)|0)+(re*224|0)|0)+(I8<<2)|0,Z1=+s[U1>>2],D1=(ye|0)<(A|0),K1=D1?ye:A,P1=K1^-1,H1=(h1|0)>0,_=h1^-1,q1=H1?_:-1,Y1=(q1|0)<(P1|0),Y4=Y1?P1:q1,j1=Y4^-1,r2=(R1|0)>0,L=R1^-1,W1=r2?L:-1,O1=(W1|0)<(X4|0),o7=O1?X4:W1,z1=o7-Y4|0,f2=Y4+A|0,s2=f2^-1,m2=z1>>>0>s2>>>0,R8=m2?z1:s2,o2=j1-R8|0,X9=q4;;)if(V1=F+(X9<<2)|0,h2=+s[V1>>2],$2=h2>Z1,$2&&(s[V1>>2]=Z1),t2=X9+1|0,u8=(t2|0)==(o2|0),u8){Pe=o2;break}else X9=t2;else Pe=q4;if(l2=I8+1|0,P8=(l2|0)==56,P8){He=Pe;break}else I8=l2,ye=Pe}if(c1=(He|0)<(A|0),c1)for($1=((p9+(he*1792|0)|0)+(re*224|0)|0)+220|0,f1=+s[$1>>2],Fe=He;X1=F+(Fe<<2)|0,n2=+s[X1>>2],u2=n2>f1,u2&&(s[X1>>2]=f1),e2=Fe+1|0,H8=(e2|0)==(A|0),!H8;)Fe=e2;if(w2=he+1|0,S2=(he|0)<(p|0),S2)he=w2;else break}if(U0){for(b8=0,fe=0;;){if(U2=+(b8|0),Y2=U2*.125,N2=Y2+n0,P2=N2+3.9032840728759766,V2=P2*.6931470036506653,s5=+Gn(+V2),H2=s5/y9,T1=~~H2,R5=N2+4.028284072875977,X2=R5*.6931470036506653,S5=+Gn(+X2),z2=S5/y9,u5=z2+1,k5=~~u5,U5=(T1|0)<0,v=U5?0:T1,$5=(v|0)>(A|0),I3=$5?A:v,v2=(I3|0)<(fe|0),qe=v2?I3:fe,m5=(k5|0)<0,X8=m5?0:k5,x2=(X8|0)>(A|0),u7=x2?A:X8,R2=(qe|0)<(u7|0),p2=(qe|0)<(A|0),a8=R2&p2,a8)for(C5=((p9+(Y0*1792|0)|0)+(re*224|0)|0)+(b8<<2)|0,x5=+s[C5>>2],d5=(fe|0)<(A|0),D5=d5?fe:A,N5=D5^-1,b5=(T1|0)>0,D=T1^-1,q2=b5?D:-1,o5=(q2|0)<(N5|0),$8=o5?N5:q2,l5=$8^-1,B5=(k5|0)>0,Q=k5^-1,M1=B5?Q:-1,v5=(M1|0)<(X4|0),_8=v5?X4:M1,c5=_8-$8|0,A5=$8+A|0,Z2=A5^-1,g2=c5>>>0>Z2>>>0,Je=g2?c5:Z2,p5=l5-Je|0,Q4=qe;;)if(n5=F+(Q4<<2)|0,g5=+s[n5>>2],J2=g5>x5,J2&&(s[n5>>2]=x5),h5=Q4+1|0,w7=(h5|0)==(p5|0),w7){A8=p5;break}else Q4=h5;else A8=qe;if(t5=b8+1|0,z8=(t5|0)==56,z8){we=A8;break}else b8=t5,fe=A8}if(_2=(we|0)<(A|0),_2)for(d2=((p9+(Y0*1792|0)|0)+(re*224|0)|0)+220|0,K2=+s[d2>>2],C8=we;_5=F+(C8<<2)|0,W2=+s[_5>>2],a5=W2>K2,a5&&(s[_5>>2]=K2),L2=C8+1|0,c7=(L2|0)==(A|0),!c7;)C8=L2}for(k2=Z+(re<<2)|0,B2=Z+(re<<2)|0,T2=Z+(re<<2)|0,ge=0;;){u3=+(ge|0),h3=u3*.125,J5=V0+h3,X5=J5*.6931470036506653,n3=+Gn(+X5),m3=n3/y9,L5=~~m3,K5=(L5|0)<0;do if(K5)f3=ge+2|0,B3=e[k2>>2]|0,V3=B3+(f3<<2)|0,s[V3>>2]=-999;else if(N3=(L5|0)<(A|0),N3){i6=F+(L5<<2)|0,R3=e[i6>>2]|0,G3=ge+2|0,l3=e[B2>>2]|0,c3=l3+(G3<<2)|0,e[c3>>2]=R3;break}else{z5=ge+2|0,y3=e[T2>>2]|0,W5=y3+(z5<<2)|0,s[W5>>2]=-999;break}while(!1);if(C3=ge+1|0,g7=(C3|0)==56,g7)break;ge=C3}Q5=N0+8|0,j5=+s[Q5>>2],E5=j5>-200;do if(E5)j9=0;else if(H5=N0+12|0,G5=+s[H5>>2],O5=G5>-200,O5)j9=1;else if(Q3=N0+16|0,r6=+s[Q3>>2],W3=r6>-200,W3)j9=2;else if(O3=N0+20|0,V5=+s[O3>>2],P3=V5>-200,P3)j9=3;else if(l6=N0+24|0,d3=+s[l6>>2],k6=d3>-200,k6)j9=4;else if(v6=N0+28|0,S6=+s[v6>>2],B6=S6>-200,B6)j9=5;else if(j3=N0+32|0,c6=+s[j3>>2],p6=c6>-200,p6)j9=6;else if(Y6=N0+36|0,C6=+s[Y6>>2],S3=C6>-200,S3)j9=7;else if(X3=N0+40|0,e6=+s[X3>>2],u6=e6>-200,u6)j9=8;else if(H3=N0+44|0,D3=+s[H3>>2],q3=D3>-200,q3)j9=9;else if(z3=N0+48|0,A6=+s[z3>>2],t3=A6>-200,t3)j9=10;else if(P6=N0+52|0,s3=+s[P6>>2],a6=s3>-200,a6)j9=11;else if(d6=N0+56|0,b3=+s[d6>>2],N6=b3>-200,N6)j9=12;else if(n6=N0+60|0,Q6=+s[n6>>2],V6=Q6>-200,V6)j9=13;else{if(I6=N0+64|0,J6=+s[I6>>2],L3=J6>-200,L3){j9=14;break}if(W6=N0+68|0,G6=+s[W6>>2],e9=G6>-200,e9){j9=15;break}j9=16}while(!1);for(s[N0>>2]=j9,q8=55;;){if(w5=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,Q0=0,q0=0,x0=0,b0=0,M0=0,J0=0,Y0=0,U0=0,V0=0,N0=0,O0=0,r1=0,P0=0,X0=0,D0=0,i1=0,c1=0,$1=0,f1=0,g1=0,l1=0,s1=0,a1=0,n1=0;n1=C,E=n4(1,2840)|0,I=t+28|0,L=e[I>>2]|0,J=W4(n,24)|0,e[E>>2]=J,i0=W4(n,24)|0,E0=E+4|0,e[E0>>2]=i0,F0=W4(n,24)|0,V0=F0+1|0,O0=E+8|0,e[O0>>2]=V0,r1=W4(n,6)|0,m=r1+1|0,p=E+12|0,e[p>>2]=m,B=W4(n,8)|0,v=E+20|0,e[v>>2]=B,S=(B|0)<0;e:do if(S)a1=26;else{if(w=(r1|0)>-1,w){for(y=E+24|0,X0=0,c1=0;;){if(_=W4(n,3)|0,x=W4(n,1)|0,F=(x|0)<0,F){a1=26;break e}if(M=(x|0)==0,M)D0=_;else{if(T=W4(n,5)|0,N=(T|0)<0,N){a1=26;break e}G=T<<3,P=G|_,D0=P}if(z=y+(c1<<2)|0,e[z>>2]=D0,Y=(D0|0)==0,Y)l1=0;else for(a=D0,s1=0;;)if(t0=a&1,W=t0+s1|0,e0=a>>>1,H=(e0|0)==0,H){l1=W;break}else a=e0,s1=W;if(X=l1+X0|0,U=c1+1|0,a0=e[p>>2]|0,Z=(U|0)<(a0|0),Z)X0=X,c1=U;else{f=X;break}}if(D=(f|0)>0,D)for(Q=E+280|0,$1=0;;){if(V=W4(n,8)|0,A0=(V|0)<0,A0)break e;if(n0=Q+($1<<2)|0,e[n0>>2]=V,r0=$1+1|0,K=(r0|0)<(f|0),K)$1=r0;else{N0=D,P0=f;break}}else N0=0,P0=f}else N0=0,P0=0;if(g0=e[v>>2]|0,s0=L+24|0,l0=e[s0>>2]|0,j=(g0|0)<(l0|0),j){if(N0)for($0=E+280|0,f1=0;;){if(y0=$0+(f1<<2)|0,w0=e[y0>>2]|0,f0=(w0|0)<(l0|0),!f0||(m0=(L+1824|0)+(w0<<2)|0,C0=e[m0>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1|0)/(u1|0)&-1,T0=i5(F0,u1)|0,G0=E1-T0|0,Q0=q0+(z0<<2)|0,e[Q0>>2]=F0,x0=z0+1|0,g1=(x0|0)==(w|0),!g1;)c=u1,z0=x0,E1=G0;if(_0=n1+1|0,p0=(_0|0)<(f0|0),p0)n1=_0;else break}return f|0}function FS(t,n,A,a,c){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0;var f=0,E=0,I=0,m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0,x=0,F=0,M=0;if(M=C,f=(c|0)>0,f)Q=0,_=0;else return 0;for(;;)if(E=a+(Q<<2)|0,I=e[E>>2]|0,m=(I|0)==0,m?L=_:(p=A+(Q<<2)|0,B=e[p>>2]|0,v=_+1|0,S=A+(_<<2)|0,e[S>>2]=B,L=v),w=Q+1|0,D=(w|0)==(c|0),D){x=L;break}else Q=w,_=L;return y=(x|0)==0,y||dQ(t,n,A,x,2),0}function MS(t,n,A,a,c,f,E,I){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0,f=f|0,E=E|0,I=I|0;var m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0,x=0,F=0,M=0,T=0,N=0,G=0;if(G=C,m=(f|0)>0,m)x=0,F=0;else return 0;for(;;)if(p=c+(x<<2)|0,B=e[p>>2]|0,v=(B|0)==0,v?M=F:(S=a+(x<<2)|0,w=e[S>>2]|0,y=F+1|0,D=a+(F<<2)|0,e[D>>2]=w,M=y),Q=x+1|0,L=(Q|0)==(f|0),L){T=M;break}else x=Q,F=M;return _=(T|0)==0,_||IQ(t,A,a,T,E),0}function TS(t,n,A,a,c){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0;var f=0,E=0,I=0,m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0,x=0,F=0,M=0,T=0,N=0,G=0,P=0,z=0,Y=0,t0=0,J=0,W=0,e0=0,H=0,X=0,U=0,a0=0,Z=0,V=0,A0=0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0:z0,l0=(s0|0)>(o1|0),E=l0?s0:o1,j=s0+N0|0,$0=l1+1|0,r1=($0|0)==(v|0),r1){V0=j,n1=E;break}else N0=j,l1=$0,o1=E;else V0=0,n1=0;h0=+(V0|0),u0=h0*G,y0=~~u0;e:do if(e0)for(a1=0;;){if(E0=(p+2328|0)+(a1<<2)|0,f0=e[E0>>2]|0,m0=(n1|0)>(f0|0),!m0&&(C0=(p+2584|0)+(a1<<2)|0,I0=e[C0>>2]|0,S0=(I0|0)<0,K0=(y0|0)<(I0|0),d1=S0|K0,d1)){s1=a1;break e}if(_0=a1+1|0,p0=(_0|0)<(J|0),p0)a1=_0;else{s1=_0;break}}else s1=0;while(!1);if(L0=M+(g1<<2)|0,F0=e[L0>>2]|0,G0=F0+($1<<2)|0,e[G0>>2]=s1,Q0=g1+1|0,P0=(Q0|0)==(u1|0),P0)break;g1=Q0}if(q0=$1+1|0,X0=(q0|0)==(L|0),X0)break;$1=q0}return x0=n+40|0,b0=e[x0>>2]|0,M0=b0+1|0,e[x0>>2]=M0,f=M,f|0}function NS(t,n,A,a,c){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0;var f=0,E=0,I=0,m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0,x=0,F=0,M=0;if(M=C,f=(c|0)>0,f)Q=0,_=0;else return 0;for(;;)if(E=a+(Q<<2)|0,I=e[E>>2]|0,m=(I|0)==0,m?L=_:(p=A+(Q<<2)|0,B=e[p>>2]|0,v=_+1|0,S=A+(_<<2)|0,e[S>>2]=B,L=v),w=Q+1|0,D=(w|0)==(c|0),D){x=L;break}else Q=w,_=L;return y=(x|0)==0,y||dQ(t,n,A,x,3),0}function GS(t,n,A,a,c){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0;var f=0,E=0,I=0,m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0,x=0,F=0,M=0,T=0,N=0,G=0,P=0,z=0,Y=0,t0=0,J=0,W=0,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)>0,!H))return 0;X=(D|0)>0,U=t+4|0,a0=I+16|0,Z=n+28|0,V=(w0|0)>0,A0=n+20|0,g1=e0,B1=0;e:for(;;){if(X){for(n0=(B1|0)==0,i0=1<>2]|0,g0=jm(K,U)|0,s0=(g0|0)==-1,s0){p1=23;break e}if(l0=e[a0>>2]|0,j=(g0|0)<(l0|0),!j){p1=23;break e}if($0=e[Z>>2]|0,h0=$0+(g0<<2)|0,u0=e[h0>>2]|0,y0=M+(m1<<2)|0,e[y0>>2]=u0,E0=(u0|0)==0,E0){p1=23;break e}}if(f0=(o1|0)<(D|0),E1=V&f0,E1)for(m0=M+(m1<<2)|0,d1=o1,h1=0;;){if(C0=e[m0>>2]|0,I0=C0+(h1<<2)|0,S0=e[I0>>2]|0,K0=(I+24|0)+(S0<<2)|0,_0=e[K0>>2]|0,p0=_0&i0,L0=(p0|0)==0,!L0&&(F0=e[A0>>2]|0,G0=F0+(S0<<2)|0,Q0=e[G0>>2]|0,q0=Q0+(B1<<2)|0,x0=e[q0>>2]|0,b0=(x0|0)==0,!b0&&(M0=i5(d1,x)|0,J0=e[I>>2]|0,Y0=J0+M0|0,U0=Kv(x0,A,Y0,c,U,x)|0,V0=(U0|0)==-1,V0))){p1=23;break e}if(O0=h1+1|0,r1=d1+1|0,P0=(O0|0)<(w0|0),X0=(r1|0)<(D|0),u1=P0&X0,u1)d1=r1,h1=O0;else{z0=r1;break}}else z0=o1;if(D0=m1+1|0,i1=(z0|0)<(D|0),i1)o1=z0,m1=D0;else break}E=e[J>>2]|0,f1=E}else f1=g1;if(c1=B1+1|0,$1=(c1|0)<(f1|0),$1)g1=f1,B1=c1;else{p1=23;break}}return(p1|0)==23,0}function dQ(t,n,A,a,c){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0;var f=0,E=0,I=0,m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0,x=0,F=0,M=0,T=0,N=0,G=0,P=0,z=0,Y=0,t0=0,J=0,W=0,e0=0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=25;break e}if(c1=e[e0>>2]|0,$1=c1+(P0<<2)|0,f1=e[$1>>2]|0,g1=L+(w1<<2)|0,l1=e[g1>>2]|0,s1=l1+(D1<<2)|0,e[s1>>2]=f1,n1=(f1|0)==0,V0=w1+1|0,n1){Y1=25;break e}if(N0=(V0|0)<(a|0),N0)w1=V0;else break}n0=(y1|0)<(Q|0),H1=X&n0;t:do if(H1){if(x)F1=y1,N1=0;else for(L1=y1,Z1=0;;)if(o1=Z1+1|0,z0=L1+1|0,d1=(o1|0)<(m0|0),h1=(z0|0)<(Q|0),K1=d1&h1,K1)L1=z0,Z1=o1;else{v1=z0;break t}for(;;){for($0=i5(F1,M)|0,U1=0;;){if(l0=e[p>>2]|0,j=l0+$0|0,h0=L+(U1<<2)|0,u0=e[h0>>2]|0,y0=u0+(D1<<2)|0,E0=e[y0>>2]|0,w0=E0+(N1<<2)|0,f0=e[w0>>2]|0,C0=(p+24|0)+(f0<<2)|0,I0=e[C0>>2]|0,S0=I0&A0,K0=(S0|0)==0,!K0&&(_0=e[U>>2]|0,p0=_0+(f0<<2)|0,L0=e[p0>>2]|0,F0=L0+(q1<<2)|0,T0=e[F0>>2]|0,G0=(T0|0)==0,!G0&&(q0=A+(U1<<2)|0,x0=e[q0>>2]|0,b0=x0+(j<<2)|0,M0=BB[c&3](T0,b0,J,M)|0,J0=(M0|0)==-1,J0))){Y1=25;break e}if(Y0=U1+1|0,U0=(Y0|0)<(a|0),U0)U1=Y0;else break}if(i0=N1+1|0,r0=F1+1|0,K=(i0|0)<(m0|0),s0=(r0|0)<(Q|0),P1=K&s0,P1)F1=r0,N1=i0;else{v1=r0;break}}}else v1=y1;while(!1);if(m1=D1+1|0,u1=(v1|0)<(Q|0),u1)y1=v1,D1=m1;else break}if(E1=q1+1|0,B1=e[P>>2]|0,p1=(E1|0)<(B1|0),p1)q1=E1;else{Y1=25;break}}if((Y1|0)==25){C=j1;return}}function IQ(t,n,A,a,c){t=t|0,n=n|0,A=A|0,a=a|0,c=c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<1,e[n0>>2]=j,P1=j1+1|0,$0=(P1|0)<33,$0)q1=j1,L1=i0,j1=P1,H1=q1;else{E=1;break}}else E=1}else E=O0;while(!1);if(Q1=p1+E|0,h0=w1+1|0,u0=(h0|0)<(n|0),u0)p1=Q1,w1=h0;else{R1=Q1,V1=16;break}}if((V1|0)==5)return E2(e0),a=0,C=h2,a|0;if((V1|0)==16){if(z1=(R1|0)==1,!z1){U1=1,V1=27;break}if(y0=O1+8|0,E0=e[y0>>2]|0,w0=(E0|0)==2,w0)break;U1=1,V1=27;break}}else U1=1,V1=27;while(!1);e:do if((V1|0)==27){for(;V1=0,V0=O1+(U1<<2)|0,N0=e[V0>>2]|0,r1=32-U1|0,P0=-1>>>r1,X0=N0&P0,D0=(X0|0)==0,Y0=U1+1|0,!!D0;)if(U0=(Y0|0)<33,U0)U1=Y0,V1=27;else break e;return E2(e0),a=0,C=h2,a|0}while(!1);if(!K)return a=e0,C=h2,a|0;if(m)y1=0,N1=0;else{for(x1=0,Z1=0;;){if(i1=t+Z1|0,c1=d[i1>>0]|0,$1=c1<<24>>24>0,$1)for(f1=e0+(x1<<2)|0,g1=e[f1>>2]|0,l1=c1<<24>>24,r2=0,m2=0;;)if(a1=m2<<1,n1=g1>>>r2,o1=n1&1,z0=o1|a1,d1=r2+1|0,h1=(d1|0)<(l1|0),h1)r2=d1,m2=z0;else{f2=z0;break}else f2=0;if(m1=x1+1|0,u1=e0+(x1<<2)|0,e[u1>>2]=f2,E1=Z1+1|0,F1=(E1|0)==(n|0),F1){a=e0;break}else x1=m1,Z1=E1}return C=h2,a|0}for(;;){if(m0=t+N1|0,C0=d[m0>>0]|0,I0=C0<<24>>24>0,I0)for(J0=e0+(y1<<2)|0,T0=e[J0>>2]|0,M0=C0<<24>>24,W1=0,o2=0;;)if(L0=o2<<1,F0=T0>>>W1,Q0=F0&1,q0=Q0|L0,x0=W1+1|0,b0=(x0|0)<(M0|0),b0)W1=x0,o2=q0;else{s2=q0;break}else s2=0;if(S0=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=g3+v3|0,d[P3>>0]=Q3,l6=e[i1>>2]|0,d3=l6+A6|0,k6=d[d3>>0]|0,v6=k6<<24>>24,S6=e[f6>>2]|0,B6=(v6|0)>(S6|0),B6?(e[f6>>2]=v6,x2=v6,R2=l6,G6=W3):(x2=S6,R2=l6,G6=W3)):(x2=r5,R2=k3,G6=W6),j3=A6+1|0,D=e[S>>2]|0,Q=(j3|0)<(D|0),Q)r5=x2,k3=R2,A6=j3,W6=G6;else{I=x2,e9=G6;break}if(_=(e9|0)==1,_){if(L=(I|0)==1,L)return x=t+36|0,e[x>>2]=1,F=n4(2,4)|0,M=t+32|0,e[M>>2]=F,T=F+4|0,e[T>>2]=1,e[F>>2]=1,a=0,C=F3,a|0;L3=1}else L3=e9}else L3=0;if(N=e[Z>>2]|0,G=(N|0)==0,G)L6=-4;else{for(c=N,U6=0;;)if(z=c>>>1,Y=U6+1|0,t0=(z|0)==0,t0){b6=U6;break}else c=z,U6=Y;s9=b6+-3|0,L6=s9}if(J=t+36|0,W=(L6|0)<5,A=W?5:L6,e0=(A|0)>8,z6=e0?8:A,e[J>>2]=z6,H=1<>2]=X,a0=(L3|0)>0,a0)for(r0=z6,t3=0;;){if(V=e[x3>>2]|0,A0=V+t3|0,n0=d[A0>>0]|0,i0=n0<<24>>24,K=(r0|0)<(i0|0),K)p2=r0;else if(g0=e[j5>>2]|0,s0=g0+(t3<<2)|0,l0=e[s0>>2]|0,j=l0>>>16,h0=l0<<16,u0=j|h0,y0=u0>>>8,E0=y0&16711935,w0=u0<<8,f0=w0&-16711936,m0=E0|f0,C0=m0>>>4,I0=C0&252645135,S0=m0<<4,_0=S0&-252645136,p0=I0|_0,L0=p0>>>2,F0=L0&858993459,T0=p0<<2,G0=T0&-858993460,Q0=F0|G0,q0=Q0>>>1,x0=q0&1431655765,b0=Q0<<1,J0=b0&-1431655766,Y0=x0|J0,U0=r0-i0|0,V0=(U0|0)==31,V0)p2=r0;else for(N0=t3+1|0,r1=i0,s3=0;;)if(O0=s3<>2]=N0,D0=s3+1|0,c1=e[J>>2]|0,$1=d[A0>>0]|0,f1=$1<<24>>24,g1=c1-f1|0,l1=1<>>16,p1=E1<<16,Q1=B1|p1,R1=Q1>>>8,x1=R1&16711935,y1=Q1<<8,L1=y1&-16711936,F1=x1|L1,G1=F1>>>4,w1=G1&252645135,U1=F1<<4,Z1=U1&-252645136,N1=w1|Z1,D1=N1>>>2,K1=D1&858993459,P1=N1<<2,q1=P1&-858993460,Y1=K1|q1,j1=Y1>>>1,r2=j1&1431655765,W1=Y1<<1,O1=W1&-1431655766,c2=r2|O1,z1=X+(c2<<2)|0,f2=e[z1>>2]|0,s2=(f2|0)==0,s2){for(d6=a6;;){if(V1=d6+1|0,h2=(V1|0)<(L3|0),!h2){b3=d6;break}if($2=e[j5>>2]|0,t2=$2+(V1<<2)|0,l2=e[t2>>2]|0,i2=l2>>>0>E1>>>0,i2){b3=d6;break}else d6=V1}A2=(L3|0)>(C6|0);e:do if(A2)for(X1=e[j5>>2]|0,X3=C6;;){if(n2=X1+(X3<<2)|0,u2=e[n2>>2]|0,w2=u2&z0,S2=E1>>>0>>0,S2){S3=X3;break e}if(k2=X3+1|0,B2=(L3|0)>(k2|0),B2)X3=k2;else{S3=k2;break}}else S3=C6;while(!1);T2=L3-S3|0,_2=b3>>>0>32767,G2=T2>>>0>32767,u6=G2?32767:T2,N6=b3<<15,n6=N6|-2147483648,d2=_2?-1073774592:n6,K2=d2|u6,e[z1>>2]=K2,e6=S3,Q6=b3}else e6=C6,Q6=a6;if(U2=P6+1|0,N2=(U2|0)<(H|0),!N2){a=0;break}v=e[J>>2]|0,u1=v,C6=e6,P6=U2,a6=Q6}return C=F3,a|0}function JS(t,n){t=t|0,n=n|0;var A=0,a=0,c=0,f=0,E=0,I=0,m=0,p=0,B=0,v=0,S=0;return S=C,A=e[t>>2]|0,a=e[A>>2]|0,c=e[n>>2]|0,f=e[c>>2]|0,E=a>>>0>f>>>0,I=E&1,m=a>>>0>>0,p=m&1,B=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,Mr=0,I$=0;;){if(jg=e[Ve>>2]|0,jE=jg+(I$<<4)|0,o$=e[jE>>2]|0,Xg=(o$|0)==0,XE=o$,Xg)ks=jg,$m=Mr;else{BA=e[xt>>2]|0,tm=(BA|0)>0;e:do if(tm)for(um=0;;){if(im=(y4+1824|0)+(um<<2)|0,rm=e[im>>2]|0,nm=(rm|0)==(o$|0),nm){L=um;break e}if(eh=um+1|0,sm=(eh|0)<(BA|0),sm)um=eh;else{t4=123;break}}else t4=123;while(!1);(t4|0)==123&&(t4=0,om=BA+1|0,e[xt>>2]=om,L=BA),Am=Mr+1|0,ei=v4+(Mr<<2)|0,e[ei>>2]=L,Qn=(y4+1824|0)+(L<<2)|0,e[Qn>>2]=XE,n0=e[Ve>>2]|0,ks=n0,$m=Am}if(A$=(ks+(I$<<4)|0)+4|0,vs=e[A$>>2]|0,X7=(vs|0)==0,Ss=vs,X7)m2=ks,J4=$m;else{K1=e[xt>>2]|0,P1=(K1|0)>0;e:do if(P1)for(gm=0;;){if(H1=(y4+1824|0)+(gm<<2)|0,Y1=e[H1>>2]|0,j1=(Y1|0)==(vs|0),j1){D=gm;break e}if(r2=gm+1|0,W1=(r2|0)<(K1|0),W1)gm=r2;else{t4=147;break}}else t4=147;while(!1);(t4|0)==147&&(t4=0,O1=K1+1|0,e[xt>>2]=O1,D=K1),c2=$m+1|0,z1=v4+($m<<2)|0,e[z1>>2]=D,f2=(y4+1824|0)+(D<<2)|0,e[f2>>2]=Ss,i0=e[Ve>>2]|0,m2=i0,J4=c2}if(s2=(m2+(I$<<4)|0)+8|0,V1=e[s2>>2]|0,h2=(V1|0)==0,$2=V1,h2)_2=m2,f$=J4;else{t2=e[xt>>2]|0,l2=(t2|0)>0;e:do if(l2)for(hm=0;;){if(i2=(y4+1824|0)+(hm<<2)|0,A2=e[i2>>2]|0,X1=(A2|0)==(V1|0),X1){Q=hm;break e}if(n2=hm+1|0,u2=(n2|0)<(t2|0),u2)hm=n2;else{t4=153;break}}else t4=153;while(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6)wA=g3;else{Kg=P3;break}else Kg=Ka;RE=(wi+(j7<<5)|0)+20|0,Ug=e[RE>>2]|0,ui=y4+24|0,lA=e[ui>>2]|0,Va=(lA|0)>0,Og=Ug;e:do if(Va)for(cm=0;;){if(Pg=(y4+1824|0)+(cm<<2)|0,LE=e[Pg>>2]|0,Hg=(LE|0)==(Ug|0),Hg){B=cm;break e}if(qg=cm+1|0,FE=(qg|0)<(lA|0),FE)cm=qg;else{t4=100;break}}else t4=100;while(!1);if((t4|0)==100&&(t4=0,Jg=lA+1|0,e[ui>>2]=Jg,B=lA),TE=Xt+20|0,e[TE>>2]=B,NE=(y4+1824|0)+(B<<2)|0,e[NE>>2]=Og,GE=(Kg|0)>0,!GE)break;for(Qs=(wi+(j7<<5)|0)+28|0,cA=Xt+280|0,xs=0,u$=0;;){if(gA=e[Qs>>2]|0,UE=gA+(u$<<4)|0,za=e[UE>>2]|0,PE=(za|0)==0,Vg=za,PE)ws=gA,kn=xs;else{ys=e[ui>>2]|0,HE=(ys|0)>0;e:do if(HE)for(mm=0;;){if(qE=(y4+1824|0)+(mm<<2)|0,Za=e[qE>>2]|0,Wa=(Za|0)==(za|0),Wa){y=mm;break e}if(hA=mm+1|0,ja=(hA|0)<(ys|0),ja)mm=hA;else{t4=107;break}}else t4=107;while(!1);(t4|0)==107&&(t4=0,Xa=ys+1|0,e[ui>>2]=Xa,y=ys),br=xs+1|0,_r=cA+(xs<<2)|0,e[_r>>2]=y,e$=(y4+1824|0)+(y<<2)|0,e[e$>>2]=Vg,H=e[Qs>>2]|0,ws=H,kn=br}if(t$=(ws+(u$<<4)|0)+4|0,or=e[t$>>2]|0,Cn=(or|0)==0,YE=or,Cn)_5=ws,yn=kn;else{B5=e[ui>>2]|0,M1=(B5|0)>0;e:do if(M1)for(dm=0;;){if(c5=(y4+1824|0)+(dm<<2)|0,A5=e[c5>>2]|0,Z2=(A5|0)==(or|0),Z2){v=dm;break e}if(g2=dm+1|0,p5=(g2|0)<(B5|0),p5)dm=g2;else{t4=171;break}}else t4=171;while(!1);(t4|0)==171&&(t4=0,e5=B5+1|0,e[ui>>2]=e5,v=B5),n5=kn+1|0,g5=cA+(kn<<2)|0,e[g5>>2]=v,J2=(y4+1824|0)+(v<<2)|0,e[J2>>2]=YE,V=e[Qs>>2]|0,_5=V,yn=n5}if(h5=(_5+(u$<<4)|0)+8|0,W2=e[h5>>2]|0,a5=(W2|0)==0,L2=W2,a5)f3=_5,wn=yn;else{Q5=e[ui>>2]|0,P5=(Q5|0)>0;e:do if(P5)for(Im=0;;){if(j5=(y4+1824|0)+(Im<<2)|0,E5=e[j5>>2]|0,u3=(E5|0)==(W2|0),u3){S=Im;break e}if(h3=Im+1|0,X5=(h3|0)<(Q5|0),X5)Im=h3;else{t4=177;break}}else t4=177;while(!1);(t4|0)==177&&(t4=0,n3=Q5+1|0,e[ui>>2]=n3,S=Q5),m3=yn+1|0,L5=cA+(yn<<2)|0,e[L5>>2]=S,K5=(y4+1824|0)+(S<<2)|0,e[K5>>2]=L2,A0=e[Qs>>2]|0,f3=A0,wn=m3}if(w3=(f3+(u$<<4)|0)+12|0,B3=e[w3>>2]|0,V3=(B3|0)==0,N3=B3,V3)F9=wn;else{y3=e[ui>>2]|0,W5=(y3|0)>0;e:do if(W5)for(Em=0;;){if(i6=(y4+1824|0)+(Em<<2)|0,R3=e[i6>>2]|0,G3=(R3|0)==(B3|0),G3){w=Em;break e}if(a3=Em+1|0,l3=(a3|0)<(y3|0),l3)Em=a3;else{t4=183;break}}else t4=183;while(!1);(t4|0)==183&&(t4=0,c3=y3+1|0,e[ui>>2]=c3,w=y3),C3=wn+1|0,H5=cA+(wn<<2)|0,e[H5>>2]=w,O5=(y4+1824|0)+(w<<2)|0,e[O5>>2]=N3,F9=C3}if(w5=u$+1|0,U3=e[ps>>2]|0,F5=(w5|0)<(U3|0),F5)xs=F9,u$=w5;else break}}while(!1);th=y4+3480|0,ih=+A1[th>>3],QA=ih*1e3,Ds=(y4+1056|0)+(di<<2)|0,_s=e[Ds>>2]|0,am=e[wg>>2]|0,Rs=+(am|0),ar=Rs*.5,rh=y4+(di<<2)|0,xr=e[rh>>2]|0,ti=xr>>1,a$=QA>ar,kB=a$?ar:QA,$$=kB/ar,qi=+(ti|0),c$=qi*$$,g$=~~c$,Lr=_s+1116|0,e[Lr>>2]=g$,$6=(wi+(j7<<5)|0)+4|0,yA=e[$6>>2]|0;do if((yA|0)==2)sh=250;else if((yA|0)==1){if(Fr=e[Fg>>2]|0,nh=(Fr|0)==0,ve=y4+2996|0,h$=y4+2968|0,zQ=nh?h$:ve,VQ=e[zQ>>2]|0,KQ=+(VQ|0),vB=KQ*1e3,Q8=vB>ar,!Q8){sh=vB;break}sh=ar}else sh=kB;while(!1);u0=e[Lg>>2]|0,y0=(u0|0)==2;do if(y0){if(E0=y4+12|0,w0=e[E0>>2]|0,f0=(w0|0)>0,f0)for(aC=0;;){if(m0=(y4+544|0)+(aC<<2)|0,C0=e[m0>>2]|0,I0=e[C0>>2]|0,S0=(I0|0)>0,S0)for(pm=0;;){K0=(C0+1092|0)+(pm<<2)|0,p0=e[K0>>2]|0,L0=(p0|0)==(j7|0);do if(L0){if(F0=e[kg>>2]|0,T0=(F0|0)>0,T0)wB=0,cC=0;else{lm=0;break}for(;;)if(G0=(C0+4|0)+(cC<<2)|0,Q0=e[G0>>2]|0,q0=(Q0|0)==(pm|0),x0=q0&1,P=x0+wB|0,b0=cC+1|0,FQ=(b0|0)==(F0|0),FQ){lm=P;break}else wB=P,cC=b0}else lm=0;while(!1);if(M0=pm+1|0,Y0=(M0|0)<(I0|0),U0=(lm|0)==0,V0=Y0&U0,V0)pm=M0;else{sC=lm;break}}else sC=0;if(N0=aC+1|0,O0=(N0|0)<(w0|0),r1=(sC|0)==0,P0=O0&r1,P0)aC=N0;else{nC=sC;break}}else nC=0;if(X0=sh/ar,D0=+(nC|0),i1=D0*qi,$1=i1*X0,f1=e[qa>>2]|0,g1=+(f1|0),l1=$1/g1,s1=l1+.9,a1=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1&2147483646,$1=r1<<31,f1=c1|$1,g1=f1^3,l1=P0>>>1,s1=W5+(X0<<2)|0,a1=e[s1>>2]|0,U3=a1+A|0,H=0-U3|0,n1=K5+H|0,o1=w5+-1|0,iC(n1,A,a,g1,l1,o1,1,W5),d1=l1<<1,h1=r1&1,m1=d1|h1,u1=g1<<1,E1=u1|1,B1=K5+a0|0,iC(B1,A,a,E1,m1,X0,1,W5),y0=E1,p0=m1,K5=B1,w5=X0;continue}u0=y0+-1|0,E0=(u0|0)==0;do if(E0)N0=32,A3=56;else{if(w0=u0&1,f0=(w0|0)==0,f0){for(S=u0,i6=0;;)if(m0=i6+1|0,C0=S>>>1,I0=C0&1,K0=(I0|0)==0,K0)S=C0,i6=m0;else{F=m0;break}_0=(F|0)==0,_0?A3=51:Y0=F}else A3=51;if((A3|0)==51){if(A3=0,L0=(p0|0)==0,L0){N0=64,A3=56;break}if(F0=p0&1,T0=(F0|0)==0,T0)w=p0,R3=0;else{I=0,Q1=y0,v1=p0,w1=0;break}for(;;)if(G0=R3+1|0,Q0=w>>>1,q0=Q0&1,x0=(q0|0)==0,x0)w=Q0,R3=G0;else{M=G0,G3=R3;break}if(M0=G3+33|0,J0=(M|0)==0,J0){I=0,Q1=y0,v1=p0,w1=0;break}else Y0=M0}U0=Y0>>>0>31,U0?(N0=Y0,A3=56):(I=Y0,Q1=y0,v1=p0,w1=Y0)}while(!1);if((A3|0)==56&&(A3=0,V0=N0+-32|0,I=V0,Q1=p0,v1=0,w1=N0),p1=Q1>>>I,R1=32-I|0,x1=v1<>>I,G1=w1+w5|0,G=K5+a0|0,U1=(G1|0)==1,Z1=(L1|0)==1,a3=Z1&U1,N1=(F1|0)==0,l3=N1&a3,l3)break;y0=L1,p0=F1,K5=G,w5=G1}C=x3}function iC(t,n,A,a,c,f,E,I){t=t|0,n=n|0,A=A|0,a=a|0,c=c|0,f=f|0,E=E|0,I=I|0;var m=0,p=0,B=0,v=0,S=0,w=0,y=0,D=0,Q=0,_=0,L=0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(w0=w+U|0,f0=T+-2|0,m0=I+(f0<<2)|0,C0=e[m0>>2]|0,S0=ft[A&15](w0,I0)|0,K0=(S0|0)>-1,K0){v=w,x=T,j2=S5;break e}if(m5=C0+n|0,H=0-m5|0,_0=w+H|0,L0=ft[A&15](_0,I0)|0,F0=(L0|0)>-1,F0){v=w,x=T,j2=S5;break e}}T0=S5+1|0,G0=N2+(S5<<2)|0,e[G0>>2]=I0,Q0=v2+-1|0,q0=(Q0|0)==0;do if(q0)o1=32,R2=15;else{if(x0=Q0&1,b0=(x0|0)==0,b0){for(Q=Q0,u5=0;;)if(M0=u5+1|0,J0=Q>>>1,U0=J0&1,V0=(U0|0)==0,V0)Q=J0,u5=M0;else{z=M0;break}N0=(z|0)==0,N0?R2=10:s1=z}else R2=10;if((R2|0)==10){if(R2=0,r1=(O0|0)==0,r1){o1=64,R2=15;break}if(P0=O0&1,X0=(P0|0)==0,X0)_=O0,k5=0;else{p=0,d1=v2,E1=O0,R1=0;break}for(;;)if(D0=k5+1|0,i1=_>>>1,c1=i1&1,f1=(c1|0)==0,f1)_=i1,k5=D0;else{Y=D0,U5=k5;break}if(g1=U5+33|0,l1=(Y|0)==0,l1){p=0,d1=v2,E1=O0,R1=0;break}else s1=g1}a1=s1>>>0>31,a1?(o1=s1,R2=15):(p=s1,d1=v2,E1=O0,R1=s1)}while(!1);if((R2|0)==15&&(R2=0,n1=o1+-32|0,p=n1,d1=O0,E1=0,R1=o1),z0=d1>>>p,h1=32-p|0,u1=E1<